diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-10-16 11:19:23 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-10-16 11:19:23 -0400 |
commit | 1fd518d1c2b1d4e88ad88218b606a284b7128107 (patch) | |
tree | 220bbea3845cdd8058c3a4c44b8acb6687803cc3 /generator/form.h | |
parent | 59eab842de02b2b2ba8bf53e2214b558457e6356 (diff) | |
download | verbly-1fd518d1c2b1d4e88ad88218b606a284b7128107.tar.gz verbly-1fd518d1c2b1d4e88ad88218b606a284b7128107.tar.bz2 verbly-1fd518d1c2b1d4e88ad88218b606a284b7128107.zip |
Added length field to form table
This commit contains a database update.
Diffstat (limited to 'generator/form.h')
-rw-r--r-- | generator/form.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/generator/form.h b/generator/form.h index 5576035..5a2de30 100644 --- a/generator/form.h +++ b/generator/form.h | |||
@@ -43,6 +43,11 @@ namespace verbly { | |||
43 | return proper_; | 43 | return proper_; |
44 | } | 44 | } |
45 | 45 | ||
46 | int getLength() const | ||
47 | { | ||
48 | return length_; | ||
49 | } | ||
50 | |||
46 | std::set<const pronunciation*> getPronunciations() const | 51 | std::set<const pronunciation*> getPronunciations() const |
47 | { | 52 | { |
48 | return pronunciations_; | 53 | return pronunciations_; |
@@ -56,6 +61,7 @@ namespace verbly { | |||
56 | const std::string text_; | 61 | const std::string text_; |
57 | const int complexity_; | 62 | const int complexity_; |
58 | const bool proper_; | 63 | const bool proper_; |
64 | const int length_; | ||
59 | 65 | ||
60 | std::set<const pronunciation*> pronunciations_; | 66 | std::set<const pronunciation*> pronunciations_; |
61 | 67 | ||