mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-24 17:06:29 +03:00
Fixed typo
This commit is contained in:
parent
cf558e37c3
commit
a9469c8173
|
@ -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