From 4489d875509224377453bb9189ad8e5b5003c15d Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Wed, 29 Apr 2015 14:23:13 +0200 Subject: [PATCH] * Add cluster=0 by default in init_model --- bin/init_model.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/init_model.py b/bin/init_model.py index 3e8c08d1b..0680e55cd 100644 --- a/bin/init_model.py +++ b/bin/init_model.py @@ -50,6 +50,8 @@ def _read_clusters(loc): # unreliable. if int(freq) >= 3: clusters[word] = cluster + else: + clusters[word] = '0' return clusters