Skip to main content

<HyperTextLabels>

Category: Control tag

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.

Attributes​

AttributeTypeRequiredDefaultDescription
namestringyes—Name of the element
toNamestringyes—Name of the HTML element to label
choicesingle,multiplenosingleConfigure if you can select one or multiple labels
maxUsagesnumberno—Maximum number of times a label can be used per task
showInlinetrue,falsenotrueShow labels in the same visual line

Examples​

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>