Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenBitSys/BitDistiller
/ remove_punc
Function
remove_punc
test/general/lm_eval/tasks/qasper.py:55–57 ·
view source on GitHub ↗
(text)
Source
from the content-addressed store, hash-verified
53
return
" "
.join(text.split())
54
55
def
remove_punc(text):
56
exclude = set(string.punctuation)
57
return
""
.join(ch
for
ch in text
if
ch not in exclude)
58
59
def
lower(text):
60
return
text.lower()
Callers
1
normalize_answer
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected