summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2013-01-16 11:48:12 +0800
committerPeng Wu <alexepico@gmail.com>2013-01-16 12:23:36 +0800
commit4e36f08dce2034fcf9a813313c1653e5ae725e58 (patch)
tree5f6090ddc22c6265e194f44976218a65cbaa64bc /lib
parentaaef9f0739a6b1db53f26baaaed28be053fa3bf6 (diff)
downloadtrainer-4e36f08dce2034fcf9a813313c1653e5ae725e58.tar.gz
trainer-4e36f08dce2034fcf9a813313c1653e5ae725e58.tar.xz
trainer-4e36f08dce2034fcf9a813313c1653e5ae725e58.zip
improves populatebigram.py
Diffstat (limited to 'lib')
-rw-r--r--lib/myconfig.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/myconfig.py b/lib/myconfig.py
index c0b3ad2..df9c746 100644
--- a/lib/myconfig.py
+++ b/lib/myconfig.py
@@ -141,6 +141,9 @@ class MyConfig:
def getMaximumIteration(self):
return 20 # roughly around N
+ def getBigramFileName(self):
+ return "bigram.db"
+
def getWordsListFileName(self):
return "words.txt"