MCPcopy Create free account
hub / github.com/AutoViML/AutoViz / remove_URL

Function remove_URL

autoviz/AutoViz_NLP.py:203–205  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

201#
202# remove entire URL
203def remove_URL(text):
204 url = re.compile(r'https?://\S+|www\.\S+')
205 return url.sub(r'', text)
206
207
208# Remove just HTML markup language

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected