docs/source/templates/html_document.md
Perform named entity recognition for HTML documents. Use this template to display text with HTML markup and label spans.
<!--Removing interactive template because it doesn't work due to the outdated version of LSF in playground--><View>
<Labels name="ner" toName="text">
<Label value="Person"></Label>
<Label value="Organization"></Label>
</Labels>
<HyperText name="text" value="$text"></HyperText>
</View>
All labeling configurations must be wrapped in View tags.
Use the Labels control tag to specify the entities that you want annotators to annotate on the HTML document:
<Labels name="ner" toName="text">
<Label value="Person"></Label>
<Label value="Organization"></Label>
</Labels>
Use the HyperText object tag to display the text containing HTML markup:
<HyperText name="text" value="$text"></HyperText>