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/adjective_query.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'lib/adjective_query.h') diff --git a/lib/adjective_query.h b/lib/adjective_query.h index e7755cb..b2859dc 100644 --- a/lib/adjective_query.h +++ b/lib/adjective_query.h @@ -17,6 +17,11 @@ namespace verbly { adjective_query& requires_superlative_form(); adjective_query& position(adjective::positioning pos); + adjective_query& with_prefix(filter _f); + adjective_query& with_suffix(filter _f); + + adjective_query& with_complexity(int _arg); + adjective_query& is_variant(); adjective_query& variant_of(filter _f); @@ -57,6 +62,11 @@ namespace verbly { bool _requires_superlative_form = false; adjective::positioning _position = adjective::positioning::undefined; + filter _with_prefix; + filter _with_suffix; + + int _with_complexity = unlimited; + bool _is_variant = false; filter _variant_of; -- cgit 1.4.1