diff options
| author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2018-09-26 21:40:44 -0400 |
|---|---|---|
| committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2018-09-26 21:40:44 -0400 |
| commit | 3a8bfa95a5df04d97f05545d5bb8df5f3c3f96a3 (patch) | |
| tree | e4478f57fe5e3faa57274d3b79c636ea657ab3a0 /generator/generator.h | |
| parent | a9188cbc6b3b9d26e675213e3834afdbd06296f6 (diff) | |
| download | verbly-3a8bfa95a5df04d97f05545d5bb8df5f3c3f96a3.tar.gz verbly-3a8bfa95a5df04d97f05545d5bb8df5f3c3f96a3.tar.bz2 verbly-3a8bfa95a5df04d97f05545d5bb8df5f3c3f96a3.zip | |
Removed unnecessary ROWIDs from database schema
The generator also now sorts and uniq's the WordNet files for antonymy, classification, and pertainymy/mannernymy, because those files contained duplicate rows, and the join tables without ROWIDs now enforce a uniqueness constraint. This constitutes a minor database update -- the new database is compatible with d1.0, but is ~12MB smaller. refs #6
Diffstat (limited to 'generator/generator.h')
| -rw-r--r-- | generator/generator.h | 2 |
1 files changed, 1 insertions, 1 deletions
| diff --git a/generator/generator.h b/generator/generator.h index cd99f88..1547b7c 100644 --- a/generator/generator.h +++ b/generator/generator.h | |||
| @@ -94,7 +94,7 @@ namespace verbly { | |||
| 94 | 94 | ||
| 95 | // Helpers | 95 | // Helpers |
| 96 | 96 | ||
| 97 | std::list<std::string> readFile(std::string path); | 97 | std::list<std::string> readFile(std::string path, bool uniq = false); |
| 98 | 98 | ||
| 99 | inline part_of_speech partOfSpeechByWnid(int wnid); | 99 | inline part_of_speech partOfSpeechByWnid(int wnid); |
| 100 | 100 | ||
