diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2016-05-02 22:44:08 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2016-05-02 22:44:08 -0400 |
commit | 499dbc410174602a5985bd75b600fbec5cd086f1 (patch) | |
tree | 62c611c74156d16072051eb5378ef1303c27a1b5 /lib/noun_query.h | |
parent | 3a225f5eb709262b9d44d49519136ea9a2a71000 (diff) | |
download | verbly-499dbc410174602a5985bd75b600fbec5cd086f1.tar.gz verbly-499dbc410174602a5985bd75b600fbec5cd086f1.tar.bz2 verbly-499dbc410174602a5985bd75b600fbec5cd086f1.zip |
Added "requires plural form" noun query predicate
Diffstat (limited to 'lib/noun_query.h')
-rw-r--r-- | lib/noun_query.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/noun_query.h b/lib/noun_query.h index 5b73f8d..44a1c70 100644 --- a/lib/noun_query.h +++ b/lib/noun_query.h | |||
@@ -17,6 +17,8 @@ namespace verbly { | |||
17 | noun_query& with_prefix(filter<std::string> _f); | 17 | noun_query& with_prefix(filter<std::string> _f); |
18 | noun_query& with_suffix(filter<std::string> _f); | 18 | noun_query& with_suffix(filter<std::string> _f); |
19 | 19 | ||
20 | noun_query& requires_plural_form(); | ||
21 | |||
20 | noun_query& with_complexity(int _arg); | 22 | noun_query& with_complexity(int _arg); |
21 | 23 | ||
22 | noun_query& is_hypernym(); | 24 | noun_query& is_hypernym(); |
@@ -93,6 +95,8 @@ namespace verbly { | |||
93 | 95 | ||
94 | int _with_complexity = unlimited; | 96 | int _with_complexity = unlimited; |
95 | 97 | ||
98 | bool _requires_plural_form = false; | ||
99 | |||
96 | bool _is_hypernym = false; | 100 | bool _is_hypernym = false; |
97 | filter<noun> _hypernym_of; | 101 | filter<noun> _hypernym_of; |
98 | filter<noun> _full_hypernym_of; | 102 | filter<noun> _full_hypernym_of; |