diff options
Diffstat (limited to 'lib/lemma.h')
-rw-r--r-- | lib/lemma.h | 27 |
1 files changed, 1 insertions, 26 deletions
diff --git a/lib/lemma.h b/lib/lemma.h index 407fa3c..56cfc56 100644 --- a/lib/lemma.h +++ b/lib/lemma.h | |||
@@ -74,31 +74,7 @@ namespace verbly { | |||
74 | 74 | ||
75 | static const field word; | 75 | static const field word; |
76 | 76 | ||
77 | class inflection_field { | 77 | static field form(inflection category); |
78 | public: | ||
79 | |||
80 | inflection_field(inflection category) : category_(category) | ||
81 | { | ||
82 | } | ||
83 | |||
84 | const inflection getCategory() const | ||
85 | { | ||
86 | return category_; | ||
87 | } | ||
88 | |||
89 | operator filter() const; | ||
90 | |||
91 | private: | ||
92 | |||
93 | const inflection category_; | ||
94 | }; | ||
95 | |||
96 | static const inflection_field form(inflection category) | ||
97 | { | ||
98 | return inflection_field(category); | ||
99 | } | ||
100 | |||
101 | friend filter operator%=(lemma::inflection_field check, filter joinCondition); | ||
102 | 78 | ||
103 | private: | 79 | private: |
104 | 80 | ||
@@ -112,7 +88,6 @@ namespace verbly { | |||
112 | 88 | ||
113 | const database* db_; | 89 | const database* db_; |
114 | 90 | ||
115 | static const field formJoin; | ||
116 | static const field inflectionCategory; | 91 | static const field inflectionCategory; |
117 | 92 | ||
118 | }; | 93 | }; |