diff options
Diffstat (limited to 'lib/noun_query.h')
-rw-r--r-- | lib/noun_query.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/noun_query.h b/lib/noun_query.h index 8768f5d..6b5733f 100644 --- a/lib/noun_query.h +++ b/lib/noun_query.h | |||
@@ -12,6 +12,10 @@ namespace verbly { | |||
12 | noun_query& except(const noun& _word); | 12 | noun_query& except(const noun& _word); |
13 | noun_query& rhymes_with(const word& _word); | 13 | noun_query& rhymes_with(const word& _word); |
14 | noun_query& has_pronunciation(); | 14 | noun_query& has_pronunciation(); |
15 | noun_query& has_rhyming_noun(); | ||
16 | noun_query& has_rhyming_adjective(); | ||
17 | noun_query& has_rhyming_adverb(); | ||
18 | noun_query& has_rhyming_verb(); | ||
15 | 19 | ||
16 | noun_query& with_singular_form(std::string _arg); | 20 | noun_query& with_singular_form(std::string _arg); |
17 | noun_query& with_prefix(filter<std::string> _f); | 21 | noun_query& with_prefix(filter<std::string> _f); |
@@ -86,9 +90,13 @@ namespace verbly { | |||
86 | const data& _data; | 90 | const data& _data; |
87 | int _limit = unlimited; | 91 | int _limit = unlimited; |
88 | bool _random = false; | 92 | bool _random = false; |
89 | std::list<std::string> _rhymes; | 93 | std::list<rhyme> _rhymes; |
90 | std::list<noun> _except; | 94 | std::list<noun> _except; |
91 | bool _has_prn = false; | 95 | bool _has_prn = false; |
96 | bool _has_rhyming_noun = false; | ||
97 | bool _has_rhyming_adjective = false; | ||
98 | bool _has_rhyming_adverb = false; | ||
99 | bool _has_rhyming_verb = false; | ||
92 | 100 | ||
93 | std::list<std::string> _with_singular_form; | 101 | std::list<std::string> _with_singular_form; |
94 | filter<std::string> _with_prefix; | 102 | filter<std::string> _with_prefix; |