From c8a553fe91413a5ff3107767f49f3b7d4ea30b55 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Sun, 31 May 2015 15:21:28 +0200 Subject: [PATCH] * Fix cluster initialization --- 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 5314c55ee..a75bd9827 100644 --- a/bin/init_model.py +++ b/bin/init_model.py @@ -58,7 +58,7 @@ def _read_clusters(loc): clusters[word.lower()] = cluster if word.title() not in clusters: clusters[word.title()] = cluster - if word.upper() not in clusters + if word.upper() not in clusters: clusters[word.upper()] = cluster return clusters