Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TIGER-AI-Lab/LongRAG
/ remove_punc
Function
remove_punc
utils/eval_util.py:40–42 ·
view source on GitHub ↗
(text)
Source
from the content-addressed store, hash-verified
38
39
40
def
remove_punc(text):
41
exclude = set(puncs)
42
return
''
.join(ch
for
ch in text
if
ch not in exclude)
43
44
45
def
lower(text):
Callers
1
normalize_answer
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected