(
text: str,
ignore_word_regex: Optional[Pattern[str]],
)
| 863 | |
| 864 | |
| 865 | def _ignore_word_sub( |
| 866 | text: str, |
| 867 | ignore_word_regex: Optional[Pattern[str]], |
| 868 | ) -> str: |
| 869 | if ignore_word_regex: |
| 870 | text = ignore_word_regex.sub(" ", text) |
| 871 | return text |
| 872 | |
| 873 | |
| 874 | def extract_words( |
no outgoing calls
no test coverage detected
searching dependent graphs…