summary refs log tree commit diff stats
path: root/lib/verb_query.cpp
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2016-05-16 22:51:22 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2016-05-16 22:51:22 -0400
commitb849e98358555e8fc18ce226d8b310bf45d72dce (patch)
tree6be6c568791c985f2f9f3344a6a0f1f50a86af28 /lib/verb_query.cpp
parente7299f7bf66df7e62bf36ef42ab7810086d088c5 (diff)
downloadverbly-b849e98358555e8fc18ce226d8b310bf45d72dce.tar.gz
verbly-b849e98358555e8fc18ce226d8b310bf45d72dce.tar.bz2
verbly-b849e98358555e8fc18ce226d8b310bf45d72dce.zip
Added rhymes_with predicate based on rhymes rather than words
Diffstat (limited to 'lib/verb_query.cpp')
-rw-r--r--lib/verb_query.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/verb_query.cpp b/lib/verb_query.cpp index 654bc33..d871f83 100644 --- a/lib/verb_query.cpp +++ b/lib/verb_query.cpp
@@ -46,6 +46,13 @@ namespace verbly {
46 return *this; 46 return *this;
47 } 47 }
48 48
49 verb_query& verb_query::rhymes_with(rhyme _r)
50 {
51 _rhymes.push_back(_r);
52
53 return *this;
54 }
55
49 verb_query& verb_query::has_pronunciation() 56 verb_query& verb_query::has_pronunciation()
50 { 57 {
51 this->_has_prn = true; 58 this->_has_prn = true;