summary refs log tree commit diff stats
path: root/lib/adverb_query.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/adverb_query.h')
-rw-r--r--lib/adverb_query.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/adverb_query.h b/lib/adverb_query.h index 20f9ce5..e9354bb 100644 --- a/lib/adverb_query.h +++ b/lib/adverb_query.h
@@ -16,6 +16,11 @@ namespace verbly {
16 adverb_query& requires_comparative_form(); 16 adverb_query& requires_comparative_form();
17 adverb_query& requires_superlative_form(); 17 adverb_query& requires_superlative_form();
18 18
19 adverb_query& with_prefix(filter<std::string> _f);
20 adverb_query& with_suffix(filter<std::string> _f);
21
22 adverb_query& with_complexity(int _arg);
23
19 adverb_query& has_antonyms(); 24 adverb_query& has_antonyms();
20 adverb_query& antonym_of(filter<adverb> _f); 25 adverb_query& antonym_of(filter<adverb> _f);
21 26
@@ -43,6 +48,11 @@ namespace verbly {
43 bool _requires_comparative_form = false; 48 bool _requires_comparative_form = false;
44 bool _requires_superlative_form = false; 49 bool _requires_superlative_form = false;
45 50
51 filter<std::string> _with_prefix;
52 filter<std::string> _with_suffix;
53
54 int _with_complexity = unlimited;
55
46 bool _has_antonyms = false; 56 bool _has_antonyms = false;
47 filter<adverb> _antonym_of; 57 filter<adverb> _antonym_of;
48 58