about summary refs log tree commit diff stats
path: root/sentence.h
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2017-02-05 09:24:03 -0500
committerKelly Rauchenberger <fefferburbia@gmail.com>2017-02-05 09:24:03 -0500
commit83920acda89b086f9484fdd2907f819451c0610f (patch)
treef1a1ae03fbf3964d3a5df9222193fe4e9d045f63 /sentence.h
parentd0cc294174f65781c2b946d01db01b3638b48dc1 (diff)
downloadfurries-83920acda89b086f9484fdd2907f819451c0610f.tar.gz
furries-83920acda89b086f9484fdd2907f819451c0610f.tar.bz2
furries-83920acda89b086f9484fdd2907f819451c0610f.zip
Updated verbly (flattened selrestrs)
Diffstat (limited to 'sentence.h')
-rw-r--r--sentence.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/sentence.h b/sentence.h index abf6860..02674cf 100644 --- a/sentence.h +++ b/sentence.h
@@ -4,6 +4,7 @@
4#include <verbly.h> 4#include <verbly.h>
5#include <random> 5#include <random>
6#include <string> 6#include <string>
7#include <set>
7 8
8class sentence { 9class sentence {
9public: 10public:
@@ -16,11 +17,9 @@ public:
16 17
17private: 18private:
18 19
19 verbly::filter parseSelrestrs(verbly::selrestr selrestr) const; 20 bool chooseSelrestr(std::set<std::string> selrestrs, std::set<std::string> choices) const;
20 21
21 bool requiresSelrestr(std::string restriction, verbly::selrestr selrestr) const; 22 verbly::word generateStandardNoun(std::string role, std::set<std::string> selrestrs) const;
22
23 verbly::word generateStandardNoun(std::string role, verbly::selrestr selrestrs) const;
24 23
25 verbly::token generateStandardNounPhrase( 24 verbly::token generateStandardNounPhrase(
26 const verbly::word& noun, 25 const verbly::word& noun,