Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
gurunathparasaram authored Jan 27, 2020
1 parent 9df09ad commit dcd1555
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lmproof/candidate_generators.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def load(cls, language: str) -> "SpellCorrectGenerator":
/ "resources"
/ "frequency_dictionary_en_82_765.txt"
)
symspell.load_dictionary(str(dict_path), term_index=0, count_index=1)
sym_spell.load_dictionary(str(dict_path), term_index=0, count_index=1)
spacy_model = spacy.load("en_core_web_sm", disable=["parser", "ner"])
else:
raise RuntimeError(f"The language {language} is currently not language.")
Expand Down

0 comments on commit dcd1555

Please sign in to comment.