(text: str, phrase: str)
| 144 | |
| 145 | |
| 146 | def contains_phrase(text: str, phrase: str) -> bool: |
| 147 | normalized_phrase = normalize_phrase_text(phrase) |
| 148 | if not normalized_phrase: |
| 149 | return False |
| 150 | return f" {normalized_phrase} " in f" {text} " |
| 151 | |
| 152 | |
| 153 | def tokenize(text: Any) -> List[str]: |
no test coverage detected