Spaces:
Sleeping
Sleeping
File size: 653 Bytes
05922fb |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
## Mapping
If a file is passed to the predictor,
the predicted spans will be converted into a new ontology.
The file format should be
`<original parent label>\t<original label>\t<new label>`
If the predicted span is labeled as `<original label>`,
and its parent is labeled as `<orignal parent label>`,
it will be re-labeled as `<new label>`.
If no rules match, the span and all of its descendents will be ignored.
The `<original parent label>` is optional.
If the parent label is `@@VIRTUAL_ROOT@@`, then this rule matches the first layer of spans.
In semantic parsing, it matches events.
If the parent label is `*`, it means it can match anything.
|