From b7c34c6f019a67f159b325d83000db9d04e8a270 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Mon, 23 Jan 2017 12:04:44 -0500 Subject: Added ability to filter on existence of inflection --- lib/form.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'lib/form.cpp') diff --git a/lib/form.cpp b/lib/form.cpp index 778e5d3..ef9703a 100644 --- a/lib/form.cpp +++ b/lib/form.cpp @@ -33,7 +33,12 @@ namespace verbly { { return (form::lemmaJoin %= (joinCondition && (form::inflectionCategory == check.getCategory()))); } - + + form::inflection_field::operator filter() const + { + return (form::lemmaJoin %= (form::inflectionCategory == category_)); + } + const std::vector& form::getPronunciations() const { if (!valid_) -- cgit 1.4.1