about summary refs log tree commit diff stats
path: root/sentence.h
diff options
context:
space:
mode:
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,