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

Better pep8

parent 3b8104e8
No related branches found
No related tags found
No related merge requests found
Pipeline #3776 failed
......@@ -4,7 +4,9 @@ import os
class WordSplit(object):
def __init__(self):
self.sym_spell = SymSpell(max_dictionary_edit_distance=0, prefix_length=7)
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)
def load_data(self, path):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment