logofirst
logofirst GitHub

HTML Entity Recognition


Perform named entity recognition for HTML documents. Use this template to display text with HTML markup and label spans.

Labeling Configuration

<View>
  <Labels name="ner" toName="text">
    <Label value="Person"></Label>
    <Label value="Organization"></Label>
  </Labels>
  <HyperText name="text" value="$text"></HyperText>
</View>

About the labeling configuration

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>