#ifndef SENTENCE_H_81987F60 #define SENTENCE_H_81987F60 #include #include #include #include class sentence { public: sentence( const verbly::database& database, std::mt19937& rng); std::string generate() const; private: bool chooseSelrestr(std::set selrestrs, std::set choices) const; verbly::word generateStandardNoun(std::string role, std::set selrestrs) const; verbly::token generateStandardNounPhrase( const verbly::word& noun, std::string role, bool plural, bool definite) const; verbly::token generateClause(const verbly::token& it) const; void visit(verbly::token& it) const; const verbly::database& database_; std::mt19937& rng_; }; #endif /* end of include guard: SENTENCE_H_81987F60 */