From d64d827209ec59a8886b5fb8bde949813d602cae Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Wed, 23 Jan 2013 13:26:34 +0800 Subject: write computeThreshold --- lib/myconfig.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib/myconfig.py') diff --git a/lib/myconfig.py b/lib/myconfig.py index bcbc3de..161088e 100644 --- a/lib/myconfig.py +++ b/lib/myconfig.py @@ -147,6 +147,9 @@ class MyConfig: def getNewWordThreshold(self): return 0.10 / 2 # the first 5% in position + def getMinimumEntropy(self): + return 1. + def getMaximumIteration(self): return 20 # roughly around N @@ -161,3 +164,6 @@ class MyConfig: def getPartialWordFileName(self): return "partialword.txt" + + def getNewWordFileName(self): + return "newword.txt" -- cgit