From e1be2716746e75cf6ed37e86461a7f580a964564 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Thu, 10 Mar 2016 21:34:55 -0500 Subject: Started implementing verbly data generator Currently, the generator: - Uses AGID to create entries for verb words and their inflections - Uses WordNet to create entries for adjective, adverb, and noun senses --- verbly/token.h | 21 ++++++--------------- 1 file changed, 6 insertions(+), 15 deletions(-) (limited to 'verbly/token.h') diff --git a/verbly/token.h b/verbly/token.h index bbe7c2d..2848fd0 100644 --- a/verbly/token.h +++ b/verbly/token.h @@ -24,7 +24,8 @@ namespace verbly { enum class fillin_type { noun_phrase, participle_phrase, - adjective + adjective, + adverb }; class token { @@ -128,14 +129,14 @@ namespace verbly { return it != other.it; } - token* operator*() + token& operator*() { - return *it->get(); + return **it; } - token* operator->() + token& operator->() { - return *it->get(); + return **it; } };*/ @@ -189,16 +190,6 @@ namespace verbly { return std::end(utterance); } - const iterator begin() const - { - return std::begin(utterance); - } - - const iterator end() const - { - return std::end(utterance); - } - void erase(iterator it) { utterance.erase(it); -- cgit 1.4.1