diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2016-03-09 23:30:14 -0500 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2016-03-09 23:30:14 -0500 |
commit | 8455e8badc80aa018a982102ffff71d5a6b1940c (patch) | |
tree | 24f92ed6afd227d38d4c4755be16d5ea0125aef6 /adjective.h | |
download | verbly-8455e8badc80aa018a982102ffff71d5a6b1940c.tar.gz verbly-8455e8badc80aa018a982102ffff71d5a6b1940c.tar.bz2 verbly-8455e8badc80aa018a982102ffff71d5a6b1940c.zip |
Started verbly rewrite
verbly is intended to be a general use natural language generation library. Here, I'm using it to simply generate random verbs or adjectives. A schema for the sqlite database is provided, and for testing I manually added data. A generator program is being written that will generate a database from WordNet, VerbNet, PropBank, and AGID data.
Diffstat (limited to 'adjective.h')
-rw-r--r-- | adjective.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/adjective.h b/adjective.h new file mode 100644 index 0000000..58c490e --- /dev/null +++ b/adjective.h | |||
@@ -0,0 +1,21 @@ | |||
1 | #ifndef ADJECTIVE_H_87B3FB75 | ||
2 | #define ADJECTIVE_H_87B3FB75 | ||
3 | |||
4 | namespace verbly { | ||
5 | |||
6 | class adjective { | ||
7 | private: | ||
8 | int id; | ||
9 | |||
10 | public: | ||
11 | std::string value; | ||
12 | |||
13 | adjective(int id) : id(id) | ||
14 | { | ||
15 | |||
16 | } | ||
17 | }; | ||
18 | |||
19 | }; | ||
20 | |||
21 | #endif /* end of include guard: ADJECTIVE_H_87B3FB75 */ | ||