mirror of https://github.com/explosion/spaCy.git
* Add cluster=0 by default in init_model
This commit is contained in:
parent
ed8e8c3bd0
commit
4489d87550
|
@ -50,6 +50,8 @@ def _read_clusters(loc):
|
|||
# unreliable.
|
||||
if int(freq) >= 3:
|
||||
clusters[word] = cluster
|
||||
else:
|
||||
clusters[word] = '0'
|
||||
return clusters
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue