MCPcopy Create free account
hub / github.com/aboutcode-org/scancode-toolkit / demarkup_text

Function demarkup_text

src/textcode/markup.py:243–247  ·  view source on GitHub ↗

Return text lightly stripped from markup used in text preparation.

(text)

Source from the content-addressed store, hash-verified

241
242
243def demarkup_text(text):
244 """
245 Return text lightly stripped from markup used in text preparation.
246 """
247 return get_demarkuped_text(text, splitter=split_on_tags_and_entities, keeper=KEEPER)
248
249
250def demarkup(location, stripper=demarkup_text):

Callers 2

prepare_textFunction · 0.90
clean_textFunction · 0.90

Calls 1

get_demarkuped_textFunction · 0.85

Tested by

no test coverage detected