MCPcopy Create free account
hub / github.com/MeiGen-AI/MultiTalk / basic_clean

Function basic_clean

wan/modules/tokenizers.py:12–15  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

10
11
12def basic_clean(text):
13 text = ftfy.fix_text(text)
14 text = html.unescape(html.unescape(text))
15 return text.strip()
16
17
18def whitespace_clean(text):

Callers 1

_cleanMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected