Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenBitSys/BitDistiller
/ remove_articles
Function
remove_articles
test/general/lm_eval/tasks/qasper.py:49–50 ·
view source on GitHub ↗
(text)
Source
from the content-addressed store, hash-verified
47
""
"
48
49
def
remove_articles(text):
50
return
re.sub(r
"\b(a|an|the)\b"
,
" "
, text)
51
52
def
white_space_fix(text):
53
return
" "
.join(text.split())
Callers
1
normalize_answer
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected