mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 01:16:28 +03:00
Fixed typo
This commit is contained in:
parent
cf558e37c3
commit
a9469c8173
|
@ -95,7 +95,7 @@ def read_clusters(clusters_path):
|
||||||
return clusters
|
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.
|
# Ensure probs has entries for all words seen during clustering.
|
||||||
for word in clusters:
|
for word in clusters:
|
||||||
if word not in probs:
|
if word not in probs:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user