(self, dirty_string: str)
| 198 | ) |
| 199 | |
| 200 | def clean_cpp(self, dirty_string: str) -> List[str]: |
| 201 | contamination_indices = janitor_util.clean_ngram_with_indices( |
| 202 | dirty_string, self.delete_chars, self.ngram_n |
| 203 | ) |
| 204 | return self._split_chunks(dirty_string, contamination_indices) |
| 205 | |
| 206 | ############## |
| 207 | # Slow python |