Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MiniMax-AI/VTP
/ _clean_whitespace
Function
_clean_whitespace
vtp/tokenizers/text_tokenizer.py:129–131 ·
view source on GitHub ↗
Basic, remove whitespace.
(x)
Source
from the content-addressed store, hash-verified
127
128
129
def
_clean_whitespace(x):
130
""
"Basic, remove whitespace."
""
131
return
whitespace_clean(basic_clean(x))
132
133
134
def
get_clean_fn(clean_type: str):
Callers
nothing calls this directly
Calls
2
whitespace_clean
Function · 0.85
basic_clean
Function · 0.85
Tested by
no test coverage detected