From 3a8bfa95a5df04d97f05545d5bb8df5f3c3f96a3 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Wed, 26 Sep 2018 21:40:44 -0400 Subject: 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 --- generator/generator.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'generator/generator.h') 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 { // Helpers - std::list readFile(std::string path); + std::list readFile(std::string path, bool uniq = false); inline part_of_speech partOfSpeechByWnid(int wnid); -- cgit 1.4.1