diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-02-05 09:24:03 -0500 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-02-05 09:24:03 -0500 |
commit | 83920acda89b086f9484fdd2907f819451c0610f (patch) | |
tree | f1a1ae03fbf3964d3a5df9222193fe4e9d045f63 /sentence.h | |
parent | d0cc294174f65781c2b946d01db01b3638b48dc1 (diff) | |
download | furries-83920acda89b086f9484fdd2907f819451c0610f.tar.gz furries-83920acda89b086f9484fdd2907f819451c0610f.tar.bz2 furries-83920acda89b086f9484fdd2907f819451c0610f.zip |
Updated verbly (flattened selrestrs)
Diffstat (limited to 'sentence.h')
-rw-r--r-- | sentence.h | 7 |
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 | ||
8 | class sentence { | 9 | class sentence { |
9 | public: | 10 | public: |
@@ -16,11 +17,9 @@ public: | |||
16 | 17 | ||
17 | private: | 18 | private: |
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, |