MCPcopy Create free account
hub / github.com/Yang-Li-2000/Touch-Line-Transformer / normalize_whitespace

Function normalize_whitespace

scripts/utils/text.py:124–135  ·  view source on GitHub ↗

This function normalizes whitespaces, removing duplicates and converting all to standard spaces

(text)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

preprocess_regionFunction · 0.90
normalize_sentenceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected