MCPcopy
hub / github.com/Gracker/awesome-android-ai-dev-sources / norm_text

Function norm_text

process_candidates.py:94–95  ·  view source on GitHub ↗
(value: Any)

Source from the content-addressed store, hash-verified

92
93
94def norm_text(value: Any) -> str:
95 return re.sub(r"\s+", " ", str(value or "").strip()).casefold()
96
97
98def slug(value: str) -> str:

Callers 7

slugFunction · 0.85
normalize_urlFunction · 0.85
bool_valueFunction · 0.85
same_sourceFunction · 0.85
duplicate_reasonFunction · 0.85
candidate_decisionFunction · 0.85
readme_update_decisionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected