MCPcopy Create free account
hub / github.com/RUC-NLPIR/WebThinker / lower

Function lower

scripts/evaluate/evaluate.py:193–194  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

191 exclude = set(string.punctuation)
192 return "".join(ch for ch in text if ch not in exclude)
193 def lower(text):
194 return text.lower()
195 return white_space_fix(remove_articles(remove_punc(lower(s))))
196 normalized_pred_answer = normalize_answer_qa(pred_answer_new)
197

Callers 1

normalize_answer_qaFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected