Remove stop words from a list of word strings
(words)
| 160 | |
| 161 | |
| 162 | def remove_stop_words(words): |
| 163 | """Remove stop words from a list of word strings""" |
| 164 | return [w for w in words if w.lower() not in _STOP_WORDS] |
| 165 | |
| 166 | |
| 167 | def strip_punctuation(line): |
no outgoing calls
no test coverage detected