diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-01-16 18:02:50 -0500 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-01-16 18:02:50 -0500 |
commit | 6746da6edd7d9d50efe374eabbb79a3cac882d81 (patch) | |
tree | ff20917e08b08d36b9541c1371106596e7bec442 /lib/verbly.h | |
parent | 4af7e55733098ca42f75a4ffaca1b0f6bab4dd36 (diff) | |
download | verbly-6746da6edd7d9d50efe374eabbb79a3cac882d81.tar.gz verbly-6746da6edd7d9d50efe374eabbb79a3cac882d81.tar.bz2 verbly-6746da6edd7d9d50efe374eabbb79a3cac882d81.zip |
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.
Diffstat (limited to 'lib/verbly.h')
-rw-r--r-- | lib/verbly.h | 36 |
1 files changed, 9 insertions, 27 deletions
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 @@ | |||
1 | #ifndef VERBLY_H_5B39CE50 | 1 | #ifndef VERBLY_H_5B39CE50 |
2 | #define VERBLY_H_5B39CE50 | 2 | #define VERBLY_H_5B39CE50 |
3 | 3 | ||
4 | #include <string> | ||
5 | #include <list> | ||
6 | #include <sstream> | ||
7 | #include <algorithm> | ||
8 | #include <cassert> | ||
9 | #include <set> | ||
10 | #include <stdexcept> | ||
11 | #include <vector> | ||
12 | #include <map> | ||
13 | #include <iterator> | ||
14 | #include <sstream> | ||
15 | #include <functional> | ||
16 | #include <iostream> | ||
17 | #include <new> | ||
18 | |||
19 | #include "util.h" | 4 | #include "util.h" |
20 | #include "data.h" | 5 | #include "database.h" |
6 | #include "filter.h" | ||
7 | #include "field.h" | ||
8 | #include "query.h" | ||
9 | #include "notion.h" | ||
21 | #include "word.h" | 10 | #include "word.h" |
22 | #include "verb.h" | 11 | #include "group.h" |
23 | #include "adverb.h" | ||
24 | #include "adjective.h" | ||
25 | #include "noun.h" | ||
26 | #include "frame.h" | 12 | #include "frame.h" |
27 | #include "preposition.h" | 13 | #include "lemma.h" |
28 | #include "token.h" | 14 | #include "form.h" |
29 | #include "noun_query.h" | 15 | #include "pronunciation.h" |
30 | #include "adverb_query.h" | ||
31 | #include "adjective_query.h" | ||
32 | #include "verb_query.h" | ||
33 | #include "frame_query.h" | ||
34 | 16 | ||
35 | #endif /* end of include guard: VERBLY_H_5B39CE50 */ | 17 | #endif /* end of include guard: VERBLY_H_5B39CE50 */ |