(text)
| 226 | def whitespace_fix(text): |
| 227 | return ' '.join(text.split()) |
| 228 | def lower(text): |
| 229 | return text.lower() |
| 230 | return whitespace_fix(remove_articles(remove_punctuation(lower(s)))) |
| 231 | def extract_candidate_answers_strict(llm_output): |
| 232 | # 检查输入合法性 |