(self, text, uncased=False)
| 21 | ) |
| 22 | |
| 23 | def tokenize(self, text, uncased=False): |
| 24 | matches = [m for m in self._regexp.finditer(text)] |
| 25 | if uncased: |
| 26 | tokens = [m.group().lower() for m in matches] |
| 27 | else: |
| 28 | tokens = [m.group() for m in matches] |
| 29 | return tokens |
| 30 | |
| 31 | |
| 32 | def remove_articles(text): |
no outgoing calls
no test coverage detected