From 09312b93532b59ce2b8e9565e2d3ad63cd903572 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Sun, 26 Jul 2015 13:55:47 +0200 Subject: [PATCH] * Fix init_model for travis tests --- 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 f63a13ced..1d6b73a12 100644 --- a/bin/init_model.py +++ b/bin/init_model.py @@ -91,7 +91,7 @@ def _read_probs(loc): 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 + return None, None counts = PreshCounter() total = 0 for i, line in enumerate(loc.open()):