From 6746da6edd7d9d50efe374eabbb79a3cac882d81 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Mon, 16 Jan 2017 18:02:50 -0500 Subject: Started structural rewrite The new object structure was designed to build on the existing WordNet structure, while also adding in all of the data that we get from other sources. More information about this can be found on the project wiki. The generator has already been completely rewritten to generate a datafile that uses the new structure. In addition, a number of indexes are created, which does double the size of the datafile, but also allows for much faster lookups. Finally, the new generator is written modularly and is a lot more readable than the old one. The verbly interface to the new object structure has mostly been completed, but has not been tested fully. There is a completely new search API which utilizes a lot of operator overloading; documentation on how to use it should go up at some point. Token processing and verb frames are currently unimplemented. Source for these have been left in the repository for now. --- lib/adverb.h | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 lib/adverb.h (limited to 'lib/adverb.h') diff --git a/lib/adverb.h b/lib/adverb.h deleted file mode 100644 index 56d4e28..0000000 --- a/lib/adverb.h +++ /dev/null @@ -1,35 +0,0 @@ -#ifndef ADVERB_H_86F8302F -#define ADVERB_H_86F8302F - -namespace verbly { - - class adverb : public word { - private: - std::string _base_form; - std::string _comparative_form; - std::string _superlative_form; - - friend class adverb_query; - - public: - adverb(); - adverb(const data& _data, int _id); - - std::string base_form() const; - std::string comparative_form() const; - std::string superlative_form() const; - - bool has_comparative_form() const; - bool has_superlative_form() const; - - adverb_query antonyms() const; - adverb_query synonyms() const; - adjective_query anti_mannernyms() const; - - adverb_query& derived_from(const word& _w); - adverb_query& not_derived_from(const word& _w); - }; - -}; - -#endif /* end of include guard: ADVERB_H_86F8302F */ -- cgit 1.4.1