[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 553686d: Deprecate database glosses
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 553686d: Deprecate database glosses |
Date: |
Thu, 14 Feb 2019 21:15:42 -0500 (EST) |
branch: master
commit 553686d6e86253a0e3f6415902e3578cc47fa603
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Deprecate database glosses
Comments in C++ code are preferable.
---
dbdict.cpp | 11 +++--------
dbvalue.hpp | 1 +
2 files changed, 4 insertions(+), 8 deletions(-)
diff --git a/dbdict.cpp b/dbdict.cpp
index cf55639..5c33bb9 100644
--- a/dbdict.cpp
+++ b/dbdict.cpp
@@ -818,14 +818,9 @@ void DBDictionary::write_database_files()
// 1960 CSG (which does not distinguish gender).
z.Add({DB_GroupProxyRateTable , 305});
- double T83Gam[3] = {825, 826, 826,};
- z.Add
- ({DB_PartialMortTable
- ,e_number_of_axes
- ,dims311
- ,T83Gam
- ,"1983 GAM, using male rates for unisex because no unisex table was
published."
- });
+ // 1983 GAM; unisex=male because no unisex table was published.
+ double T83Gam[3] = {825, 826, 826,}; // f, m, u
+ z.Add({DB_PartialMortTable, e_number_of_axes, dims311, T83Gam});
z.Add({DB_AllowWd , true});
z.Add({DB_AllowLoan , true});
diff --git a/dbvalue.hpp b/dbvalue.hpp
index cfc21b9..aef220c 100644
--- a/dbvalue.hpp
+++ b/dbvalue.hpp
@@ -104,6 +104,7 @@ class LMI_SO database_entity final
int key_;
std::vector<int> axis_lengths_;
std::vector<double> data_values_;
+ // Glosses are deprecated.
std::string gloss_;
};
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lmi-commits] [lmi] master 553686d: Deprecate database glosses,
Greg Chicares <=