Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OrangeInSouth/DeePEn
/ remove_punc
Function
remove_punc
utils/evaluate/utils/eval_utils.py:33–35 ·
view source on GitHub ↗
(text)
Source
from the content-addressed store, hash-verified
31
return
" "
.join(text.split())
32
33
def
remove_punc(text):
34
exclude = set(string.punctuation)
35
return
""
.join(ch
for
ch in text
if
ch not in exclude)
36
37
def
lower(text):
38
return
text.lower()
Callers
1
normalize_answer
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected