things look better in threes.
This commit is contained in:
parent
d5a5237fb8
commit
4b4541dd99
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ def spell(inp):
|
||||||
for x in words:
|
for x in words:
|
||||||
is_correct = dictionary.check(x)
|
is_correct = dictionary.check(x)
|
||||||
suggestions = dictionary.suggest(x)
|
suggestions = dictionary.suggest(x)
|
||||||
s_string = '/'.join(suggestions[:2])
|
s_string = '/'.join(suggestions[:3])
|
||||||
if is_correct:
|
if is_correct:
|
||||||
out.append(x)
|
out.append(x)
|
||||||
else:
|
else:
|
||||||
|
|
Reference in a new issue