about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ebooks.cpp2
-rw-r--r--gen.cpp2
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)
64 std::cout << "Preprocessing corpus..." << std::endl; 64 std::cout << "Preprocessing corpus..." << std::endl;
65 rawr kgramstats; 65 rawr kgramstats;
66 kgramstats.addCorpus(corpus); 66 kgramstats.addCorpus(corpus);
67 kgramstats.compile(4); 67 kgramstats.compile(5);
68 kgramstats.setTransformCallback([&] (std::string, std::string form) { 68 kgramstats.setTransformCallback([&] (std::string, std::string form) {
69 size_t pos = form.find("$name$"); 69 size_t pos = form.find("$name$");
70 if (pos != std::string::npos) 70 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)
68 std::cout << "Preprocessing corpus..." << std::endl; 68 std::cout << "Preprocessing corpus..." << std::endl;
69 rawr kgramstats; 69 rawr kgramstats;
70 kgramstats.addCorpus(corpus); 70 kgramstats.addCorpus(corpus);
71 kgramstats.compile(4); 71 kgramstats.compile(5);
72 kgramstats.setTransformCallback([&] (std::string, std::string form) { 72 kgramstats.setTransformCallback([&] (std::string, std::string form) {
73 size_t pos = form.find("$name$"); 73 size_t pos = form.find("$name$");
74 if (pos != std::string::npos) 74 if (pos != std::string::npos)