MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / normalize_phrase_text

Function normalize_phrase_text

experiments/baselines/scinup_strict/runner.py:128–129  ·  view source on GitHub ↗
(value: Any)

Source from the content-addressed store, hash-verified

126
127
128def normalize_phrase_text(value: Any) -> str:
129 return " ".join(re.sub(r"[^a-z0-9]+", " ", str(value or "").casefold()).split())
130
131
132def tokenize(text: Any) -> List[str]:

Callers 1

paper_identityFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected