From ab254bd182ed8cfbec5782610cb9d72b60071dc5 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sat, 11 Feb 2017 14:23:26 -0500 Subject: Fixed sentences only using top level nouns --- sentence.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sentence.cpp b/sentence.cpp index ae485c0..812c0b9 100644 --- a/sentence.cpp +++ b/sentence.cpp @@ -177,7 +177,7 @@ verbly::word sentence::generateStandardNoun( if (selection.compact().getType() != verbly::filter::type::empty) { - condition &= std::move(selection); + condition &= (verbly::notion::fullHypernyms %= std::move(selection)); } else if (role == "Attribute") { condition &= (verbly::notion::fullHypernyms %= (verbly::notion::wnid == 100024264)); // attribute -- cgit 1.4.1