logofirst
logofirst GitHub

HyperTextLabels

The HyperTextLabels tag creates labeled hyper text (HTML). Use with the HyperText object tag to annotate HTML text or HTML elements for named entity recognition tasks.

Use with the following data types: HTML

Parameters

Param Type Default Description
name string Name of the element
toName string Name of the HTML element to label
[choice] single | multiple single Configure if you can select one or multiple labels
[maxUsages] number Maximum number of times a label can be used per task
[showInline] boolean true Show labels in the same visual line

Example

<!--Basic semantic text labeling configuration-->
<View>
  <HyperTextLabels name="labels" toName="ht">
    <Label value="Header" />
    <Label value="Body Text" />
  </HyperTextLabels>
  <HyperText name="ht" value="$html" />
</View>