Skip to content

Commit

Permalink
fuzzy_matching [FIX] typos and import in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
remiadon committed Jun 13, 2019
1 parent 7a4190d commit 6a0aaaf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion test/test_extract_fuzzy.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def test_correct_keyword_on_substitution(self):

def test_extract_cost_spread_over_multiple_words(self):
"""
Here we try to extract a keyword make of different words
Here we try to extract a keyword made of different words
the current cost should be decreased by one when encountering 'maade' (1 insertion)
and again by one when encountering 'multple' (1 deletion)
"""
Expand Down
4 changes: 0 additions & 4 deletions test/test_kp_next_word.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
from collections import defaultdict
from flashtext import KeywordProcessor
import logging
import unittest
import json
import re
import sys

logger = logging.getLogger(__name__)

Expand Down

0 comments on commit 6a0aaaf

Please sign in to comment.