summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2013-01-22 12:23:57 +0800
committerPeng Wu <alexepico@gmail.com>2013-01-22 12:23:57 +0800
commita4d7e8bd6e562864a67a17372c1a004329af91e4 (patch)
tree28c4fe997b5afecf4dba63d7373e54cd31f70829 /lib
parentee5956baedf9713896c576925648768e360af92c (diff)
downloadtrainer-a4d7e8bd6e562864a67a17372c1a004329af91e4.tar.gz
trainer-a4d7e8bd6e562864a67a17372c1a004329af91e4.tar.xz
trainer-a4d7e8bd6e562864a67a17372c1a004329af91e4.zip
update myconfig.py
Diffstat (limited to 'lib')
-rw-r--r--lib/myconfig.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/myconfig.py b/lib/myconfig.py
index 0ccd55c..bcbc3de 100644
--- a/lib/myconfig.py
+++ b/lib/myconfig.py
@@ -13,7 +13,7 @@ class MyConfig:
'PopulateEpoch': 3, \
'PartialWordThresholdEpoch': 4, \
'PartialWordEpoch': 5, \
- 'PopulateBigramEpoch': 6, \
+ 'NewWordEpoch': 6, \
}
def getEpochs(self):
@@ -132,7 +132,7 @@ class MyConfig:
assert N >= 2, 'at least bi-gram'
return N
- def getPruneMinimumOccurence(self):
+ def getPruneMinimumOccurrence(self):
return 1 # prune minimum occurrence
def getWordMinimumOccurrence(self):