From b849e98358555e8fc18ce226d8b310bf45d72dce Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Mon, 16 May 2016 22:51:22 -0400 Subject: Added rhymes_with predicate based on rhymes rather than words --- lib/verb_query.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'lib/verb_query.cpp') 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 { return *this; } + verb_query& verb_query::rhymes_with(rhyme _r) + { + _rhymes.push_back(_r); + + return *this; + } + verb_query& verb_query::has_pronunciation() { this->_has_prn = true; -- cgit 1.4.1