mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-24 17:06:29 +03:00
Merge pull request #980 from oroszgy/cli_model_fix
Fixed typo in `spacy model` CLI
This commit is contained in:
commit
0c73af6943
|
@ -95,7 +95,7 @@ def read_clusters(clusters_path):
|
|||
return clusters
|
||||
|
||||
|
||||
def populate_vocab(vocab, clusters, probs, oov_probs):
|
||||
def populate_vocab(vocab, clusters, probs, oov_prob):
|
||||
# Ensure probs has entries for all words seen during clustering.
|
||||
for word in clusters:
|
||||
if word not in probs:
|
||||
|
|
Loading…
Reference in New Issue
Block a user