summaryrefslogtreecommitdiffstats
path: root/lib/myconfig.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/myconfig.py')
-rw-r--r--lib/myconfig.py3
1 files changed, 3 insertions, 0 deletions
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