diff --git a/spacy/cli/model.py b/spacy/cli/model.py index 4cfd9a6f6..d697df05b 100644 --- a/spacy/cli/model.py +++ b/spacy/cli/model.py @@ -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: