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-30 11:31:20 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2016-05-30 11:31:20 -0400
commit6c2aca03c89b37e136ab4c7ea58b485dadc85bcd (patch)
treea9e562aa7e55b02d789755c61bbc4e5c1a8fb383 /lib/noun_query.h
parentf94d32242380b23b361f66eb021cad17c35acd8c (diff)
downloadverbly-6c2aca03c89b37e136ab4c7ea58b485dadc85bcd.tar.gz
verbly-6c2aca03c89b37e136ab4c7ea58b485dadc85bcd.tar.bz2
verbly-6c2aca03c89b37e136ab4c7ea58b485dadc85bcd.zip
Added pronunciation syllable count and stress structure
Also updated CMakeLists.txt such that including projects don't have to include sqlite3.
Diffstat (limited to 'lib/noun_query.h')
-rw-r--r--lib/noun_query.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/noun_query.h b/lib/noun_query.h index eb4a57c..74df260 100644 --- a/lib/noun_query.h +++ b/lib/noun_query.h
@@ -17,6 +17,7 @@ namespace verbly {
17 noun_query& has_rhyming_adjective(); 17 noun_query& has_rhyming_adjective();
18 noun_query& has_rhyming_adverb(); 18 noun_query& has_rhyming_adverb();
19 noun_query& has_rhyming_verb(); 19 noun_query& has_rhyming_verb();
20 noun_query& with_stress(filter<std::vector<bool>> _arg);
20 21
21 noun_query& with_singular_form(std::string _arg); 22 noun_query& with_singular_form(std::string _arg);
22 noun_query& with_prefix(filter<std::string> _f); 23 noun_query& with_prefix(filter<std::string> _f);
@@ -100,6 +101,7 @@ namespace verbly {
100 bool _has_rhyming_adjective = false; 101 bool _has_rhyming_adjective = false;
101 bool _has_rhyming_adverb = false; 102 bool _has_rhyming_adverb = false;
102 bool _has_rhyming_verb = false; 103 bool _has_rhyming_verb = false;
104 filter<std::vector<bool>> _stress;
103 105
104 std::list<std::string> _with_singular_form; 106 std::list<std::string> _with_singular_form;
105 filter<std::string> _with_prefix; 107 filter<std::string> _with_prefix;