* Add cluster=0 by default in init_model

This commit is contained in:
Matthew Honnibal 2015-04-29 14:23:13 +02:00
parent ed8e8c3bd0
commit 4489d87550
1 changed files with 2 additions and 0 deletions

View File

@ -50,6 +50,8 @@ def _read_clusters(loc):
# unreliable.
if int(freq) >= 3:
clusters[word] = cluster
else:
clusters[word] = '0'
return clusters