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/verbly.h | 36 +++++++++--------------------------- 1 file changed, 9 insertions(+), 27 deletions(-) (limited to 'lib/verbly.h') diff --git a/lib/verbly.h b/lib/verbly.h index cfaf5bc..6dfc01a 100644 --- a/lib/verbly.h +++ b/lib/verbly.h @@ -1,35 +1,17 @@ #ifndef VERBLY_H_5B39CE50 #define VERBLY_H_5B39CE50 -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - #include "util.h" -#include "data.h" +#include "database.h" +#include "filter.h" +#include "field.h" +#include "query.h" +#include "notion.h" #include "word.h" -#include "verb.h" -#include "adverb.h" -#include "adjective.h" -#include "noun.h" +#include "group.h" #include "frame.h" -#include "preposition.h" -#include "token.h" -#include "noun_query.h" -#include "adverb_query.h" -#include "adjective_query.h" -#include "verb_query.h" -#include "frame_query.h" +#include "lemma.h" +#include "form.h" +#include "pronunciation.h" #endif /* end of include guard: VERBLY_H_5B39CE50 */ -- cgit 1.4.1