mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 18:06:29 +03:00
* 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
Block a user