From 4c94e100e87a09284f0e0a5bc0df688672492a1e Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sun, 27 Mar 2016 14:28:54 -0400 Subject: Added prefix/suffix search, and word complexity search for nouns, adjectives, and adverbs Word complexity refers to the number of words in a noun, adjective, or adverb. --- lib/adverb_query.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'lib/adverb_query.h') diff --git a/lib/adverb_query.h b/lib/adverb_query.h index 20f9ce5..e9354bb 100644 --- a/lib/adverb_query.h +++ b/lib/adverb_query.h @@ -16,6 +16,11 @@ namespace verbly { adverb_query& requires_comparative_form(); adverb_query& requires_superlative_form(); + adverb_query& with_prefix(filter _f); + adverb_query& with_suffix(filter _f); + + adverb_query& with_complexity(int _arg); + adverb_query& has_antonyms(); adverb_query& antonym_of(filter _f); @@ -43,6 +48,11 @@ namespace verbly { bool _requires_comparative_form = false; bool _requires_superlative_form = false; + filter _with_prefix; + filter _with_suffix; + + int _with_complexity = unlimited; + bool _has_antonyms = false; filter _antonym_of; -- cgit 1.4.1