From a4d7e8bd6e562864a67a17372c1a004329af91e4 Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Tue, 22 Jan 2013 12:23:57 +0800 Subject: update myconfig.py --- lib/myconfig.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') 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): -- cgit