summary refs log tree commit diff stats
path: root/lib/noun_query.h
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2016-05-02 22:44:08 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2016-05-02 22:44:08 -0400
commit499dbc410174602a5985bd75b600fbec5cd086f1 (patch)
tree62c611c74156d16072051eb5378ef1303c27a1b5 /lib/noun_query.h
parent3a225f5eb709262b9d44d49519136ea9a2a71000 (diff)
downloadverbly-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.h4
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;