MCPcopy Create free account
hub / github.com/THUDM/GLM / lower

Function lower

tasks/superglue/evaluate.py:30–31  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

28 return ''.join(ch for ch in text if ch not in exclude)
29
30 def lower(text):
31 return unidecode.unidecode(text.lower())
32
33 return white_space_fix(remove_articles(remove_punc(lower(s))))
34

Callers 1

normalize_answerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected