about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2017-02-11 14:23:26 -0500
committerKelly Rauchenberger <fefferburbia@gmail.com>2017-02-11 14:23:26 -0500
commitab254bd182ed8cfbec5782610cb9d72b60071dc5 (patch)
treeba3d4d7b0386357a48c893281415f48efab73768
parentc6dff4916fff3d9e8f63257e3b60e773a27c32f8 (diff)
downloadfurries-ab254bd182ed8cfbec5782610cb9d72b60071dc5.tar.gz
furries-ab254bd182ed8cfbec5782610cb9d72b60071dc5.tar.bz2
furries-ab254bd182ed8cfbec5782610cb9d72b60071dc5.zip
Fixed sentences only using top level nouns
-rw-r--r--sentence.cpp2
1 files changed, 1 insertions, 1 deletions
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(
177 177
178 if (selection.compact().getType() != verbly::filter::type::empty) 178 if (selection.compact().getType() != verbly::filter::type::empty)
179 { 179 {
180 condition &= std::move(selection); 180 condition &= (verbly::notion::fullHypernyms %= std::move(selection));
181 } else if (role == "Attribute") 181 } else if (role == "Attribute")
182 { 182 {
183 condition &= (verbly::notion::fullHypernyms %= (verbly::notion::wnid == 100024264)); // attribute 183 condition &= (verbly::notion::fullHypernyms %= (verbly::notion::wnid == 100024264)); // attribute