From ce9f818a468ebdbfdfd1b8b2d46f881d8fe4d5b7 Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Mon, 21 Jan 2013 17:06:00 +0800 Subject: fixes partialword.py --- lib/myconfig.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib') diff --git a/lib/myconfig.py b/lib/myconfig.py index 353266c..8874fe0 100644 --- a/lib/myconfig.py +++ b/lib/myconfig.py @@ -135,6 +135,9 @@ class MyConfig: def getMinimumOccurrence(self): return 3 # minimum word occurrence + def getNgramMinimumOccurrence(self): + return 9 # minimum word occurrence in n-gram table + def getPartialWordThreshold(self): return 0.10 # the first 10% in position -- cgit