MCPcopy
hub / github.com/zjy-ucas/ChineseNER / f

Function f

loader.py:101–102  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

99 none_index = tag_to_id["O"]
100
101 def f(x):
102 return x.lower() if lower else x
103 data = []
104 for s in sentences:
105 string = [w[0] for w in s]

Callers 1

prepare_datasetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected