diff options
Diffstat (limited to 'lib/noun_query.h')
| -rw-r--r-- | lib/noun_query.h | 8 |
1 files changed, 8 insertions, 0 deletions
| diff --git a/lib/noun_query.h b/lib/noun_query.h index e95e0c0..5b73f8d 100644 --- a/lib/noun_query.h +++ b/lib/noun_query.h | |||
| @@ -14,6 +14,10 @@ namespace verbly { | |||
| 14 | noun_query& has_pronunciation(); | 14 | noun_query& has_pronunciation(); |
| 15 | 15 | ||
| 16 | noun_query& with_singular_form(std::string _arg); | 16 | noun_query& with_singular_form(std::string _arg); |
| 17 | noun_query& with_prefix(filter<std::string> _f); | ||
| 18 | noun_query& with_suffix(filter<std::string> _f); | ||
| 19 | |||
| 20 | noun_query& with_complexity(int _arg); | ||
| 17 | 21 | ||
| 18 | noun_query& is_hypernym(); | 22 | noun_query& is_hypernym(); |
| 19 | noun_query& hypernym_of(filter<noun> _f); | 23 | noun_query& hypernym_of(filter<noun> _f); |
| @@ -84,6 +88,10 @@ namespace verbly { | |||
| 84 | bool _has_prn = false; | 88 | bool _has_prn = false; |
| 85 | 89 | ||
| 86 | std::list<std::string> _with_singular_form; | 90 | std::list<std::string> _with_singular_form; |
| 91 | filter<std::string> _with_prefix; | ||
| 92 | filter<std::string> _with_suffix; | ||
| 93 | |||
| 94 | int _with_complexity = unlimited; | ||
| 87 | 95 | ||
| 88 | bool _is_hypernym = false; | 96 | bool _is_hypernym = false; |
| 89 | filter<noun> _hypernym_of; | 97 | filter<noun> _hypernym_of; |
