summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2013-01-29 14:40:25 +0800
committerPeng Wu <alexepico@gmail.com>2013-01-29 14:41:08 +0800
commit93037fada3ffffa0d0d0db8aaa85970fe6fbe95d (patch)
tree2fec8ee4d7572d87a2604f2dce75064350ca02c8 /lib
parenta508523904d2f42783b83be5b23be63f3fe3b521 (diff)
downloadtrainer-93037fada3ffffa0d0d0db8aaa85970fe6fbe95d.tar.gz
trainer-93037fada3ffffa0d0d0db8aaa85970fe6fbe95d.tar.xz
trainer-93037fada3ffffa0d0d0db8aaa85970fe6fbe95d.zip
write markPinyin
Diffstat (limited to 'lib')
-rw-r--r--lib/myconfig.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/myconfig.py b/lib/myconfig.py
index 9a98852..ea02f79 100644
--- a/lib/myconfig.py
+++ b/lib/myconfig.py
@@ -171,3 +171,9 @@ class MyConfig:
def getRecognizedWordFileName(self):
return "recognized.txt"
+
+ def getDefaultPinyinTotalFrequency(self):
+ return 100
+
+ def getMinimumPinyinFrequency(self):
+ return 3