MCPcopy Create free account
hub / github.com/google-research/language / remove_doc

Function remove_doc

language/orqa/preprocessing/wiki_preprocessor.py:92–96  ·  view source on GitHub ↗
(title)

Source from the content-addressed store, hash-verified

90
91
92def remove_doc(title):
93 return re.match(r"(List of .+)|"
94 r"(Index of .+)|"
95 r"(Outline of .+)|"
96 r"(.*\(disambiguation\).*)", title)
97
98
99def example_from_json_line(line, html_parser, preprocessor):

Callers 1

example_from_json_lineFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…