MCPcopy 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
129def _clean_whitespace(x):
130 """Basic, remove whitespace."""
131 return whitespace_clean(basic_clean(x))
132
133
134def get_clean_fn(clean_type: str):

Callers

nothing calls this directly

Calls 2

whitespace_cleanFunction · 0.85
basic_cleanFunction · 0.85

Tested by

no test coverage detected