From 0801fae5aa3b83380da403c86ba80a7de657a07a Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Tue, 6 Feb 2018 13:34:20 -0500 Subject: Increased canonical maxK to 5 --- ebooks.cpp | 2 +- gen.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ebooks.cpp b/ebooks.cpp index 1dfd474..8582919 100644 --- a/ebooks.cpp +++ b/ebooks.cpp @@ -64,7 +64,7 @@ int main(int argc, char** args) std::cout << "Preprocessing corpus..." << std::endl; rawr kgramstats; kgramstats.addCorpus(corpus); - kgramstats.compile(4); + kgramstats.compile(5); kgramstats.setTransformCallback([&] (std::string, std::string form) { size_t pos = form.find("$name$"); if (pos != std::string::npos) diff --git a/gen.cpp b/gen.cpp index d802b14..4e19f84 100644 --- a/gen.cpp +++ b/gen.cpp @@ -68,7 +68,7 @@ int main(int argc, char** args) std::cout << "Preprocessing corpus..." << std::endl; rawr kgramstats; kgramstats.addCorpus(corpus); - kgramstats.compile(4); + kgramstats.compile(5); kgramstats.setTransformCallback([&] (std::string, std::string form) { size_t pos = form.find("$name$"); if (pos != std::string::npos) -- cgit 1.4.1