Skip to content
Snippets Groups Projects
Commit 3ddcc20f authored by Michał Pogoda's avatar Michał Pogoda
Browse files

Even better pep8

parent fe72fa11
Branches
No related tags found
No related merge requests found
Pipeline #3777 passed
......@@ -7,7 +7,9 @@ class WordSplit(object):
self.sym_spell = SymSpell(
max_dictionary_edit_distance=0, prefix_length=7
)
self.sym_spell.load_dictionary("vocab.txt", term_index=0, count_index=1)
self.sym_spell.load_dictionary(
"vocab.txt", term_index=0, count_index=1
)
def load_data(self, path):
with open(path, "r", encoding="utf8") as f:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment