File tree Expand file tree Collapse file tree 4 files changed +3
-2
lines changed
Expand file tree Collapse file tree 4 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -158,7 +158,8 @@ def filter_string(input_str: str):
158158
159159
160160def spell_check_words (spell_checker : SpellChecker , words : list [str ]):
161- """Check each word and report False if at least one has an spelling error."""
161+ """Check each word and report False if at least one has an spelling
162+ error."""
162163 for word in words :
163164 if not (word in spell_checker or word .lower () in spell_checker ):
164165 return False
@@ -187,7 +188,7 @@ def remove_contractions(word: str, verbose: bool = False):
187188 if word .endswith (contraction ):
188189 print (
189190 (
190- f" Stripping contraction : { word } -> { word [: - len (contraction )]} \n "
191+ f" Contraction : { word } -> { word [: - len (contraction )]} \n "
191192 if verbose
192193 else ""
193194 ),
File renamed without changes.
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments