diff options
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 | ||
