MCPcopy Create free account
hub / github.com/allenai/scibert / _convert

Function _convert

scripts/sciie_to_conll2003.py:16–57  ·  view source on GitHub ↗

Args: data_in: a list of dictionaries each dict has several fields including `sentences` and `ner` `ner` data are list of tuples corresponding to sentences with following format: #[[0, 0, 'Material'], [10, 11, 'Method'], ...] Returns:

(data_in: List[dict])

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

convertFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected