From 90ad717dc40448111c50a33e46c5134ee3659366 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Sun, 26 Jul 2015 01:41:17 +0200 Subject: [PATCH] * Update default freq thresholds in init_model --- bin/init_model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/init_model.py b/bin/init_model.py index 7be5cef2f..f63a13ced 100644 --- a/bin/init_model.py +++ b/bin/init_model.py @@ -88,7 +88,7 @@ def _read_probs(loc): return probs, probs['-OOV-'] -def _read_freqs(loc, max_length=100, min_doc_freq=5, min_freq=10): +def _read_freqs(loc, max_length=100, min_doc_freq=5, min_freq=100): if not loc.exists(): print("Warning: Frequencies file not found") return None