about summary refs log tree commit diff stats
path: root/verbly/adjective.h
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2016-03-09 23:30:14 -0500
committerKelly Rauchenberger <fefferburbia@gmail.com>2016-03-09 23:30:14 -0500
commit41decb9a671e4d0fbbe12533372435ec6ede2246 (patch)
tree35cd3c7bc9ba623a62aefc7492ed6a5fd157e40d /verbly/adjective.h
parent4d8fd1c470c5f2c190f082683321b40a566cf1c9 (diff)
downloadfurries-41decb9a671e4d0fbbe12533372435ec6ede2246.tar.gz
furries-41decb9a671e4d0fbbe12533372435ec6ede2246.tar.bz2
furries-41decb9a671e4d0fbbe12533372435ec6ede2246.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 'verbly/adjective.h')
-rw-r--r--verbly/adjective.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/verbly/adjective.h b/verbly/adjective.h new file mode 100644 index 0000000..58c490e --- /dev/null +++ b/verbly/adjective.h
@@ -0,0 +1,21 @@
1#ifndef ADJECTIVE_H_87B3FB75
2#define ADJECTIVE_H_87B3FB75
3
4namespace 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 */