4 lines
178 B
Python
4 lines
178 B
Python
|
|
class InputCleaner:
|
||
|
|
async def run(self, text: str) -> str:
|
||
|
|
cleaned = " ".join(text.strip().split())
|
||
|
|
return cleaned.replace(" äh ", " ").replace(" hm ", " ")
|