Merge pull request #980 from oroszgy/cli_model_fix

Fixed typo in `spacy model` CLI
This commit is contained in:
Ines Montani 2017-04-13 21:44:36 +02:00 committed by GitHub
commit 0c73af6943
1 changed files with 1 additions and 1 deletions

View File

@ -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: