Version: 0.0.6 (stable)
agrag.schema.shorthand.split_list
split_list(items:Sequence[object], issues:Issues) -> JsonObject
Split a native list into entity labels and relations.
Parameters:
- items (
Sequence[object]) – Labels,Source-LABEL->Targetstrings and(source, label, target)triples, in any order. - issues (
Issues) – Receives every item that is none of these.
Returns:
JsonObject– A dict with the keysentitiesandrelations.