Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TIGER-AI-Lab/LongRAG
/ white_space_fix
Function
white_space_fix
utils/eval_util.py:36–37 ·
view source on GitHub ↗
(text)
Source
from the content-addressed store, hash-verified
34
35
36
def
white_space_fix(text):
37
return
' '
.join(text.split())
38
39
40
def
remove_punc(text):
Callers
1
normalize_answer
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected