Skip to content

Commit

Permalink
Merge branch 'master' of github.com:jfjlaros/dict-trie
Browse files Browse the repository at this point in the history
  • Loading branch information
jfjlaros committed Mar 31, 2019
2 parents b22a9c9 + 8c7c227 commit 0cb9d01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dict_trie/dict_trie.py
Expand Up @@ -120,7 +120,7 @@ def _hamming(path, node, word, distance, cigar):
:arg str word: Query word.
:arg int distance: Amount of allowed errors.
:returns iter: All word in a trie that have Hamming distance of at most
:returns iter: All words in a trie that have Hamming distance of at most
{distance} to {word}.
"""
if distance < 0:
Expand Down Expand Up @@ -154,7 +154,7 @@ def _levenshtein(path, node, word, distance, cigar):
:arg str word: Query word.
:arg int distance: Amount of allowed errors.
:returns iter: All word in a trie that have Hamming distance of at most
:returns iter: All words in a trie that have Hamming distance of at most
{distance} to {word}.
"""
if distance < 0:
Expand Down

0 comments on commit 0cb9d01

Please sign in to comment.