Skip to content

Annotate in detail view

Portion of text annotation

To annotate a portion of text:

  1. Select the text portion to be annotated.
  2. In the Classes tab, select the class from the pop-up list.

Note

Classes marked as favorite are placed at the top of the list and they are recognizable by the star next to the class name.

To annotate an occurrence of an entity or token:

  1. Select the Entities tab or the Tokens one in the right panel.
  2. Select an item to highlight all the occurrences in the document.
  3. Click the single occurrence.
  4. Select the class from the list of the popup.

After an annotation or a change, an icon suggests to refresh the page.

Annotation look

Annotations can have these looks:

The first example represents a false negative, the second one represents a false positive, while the third one represents a true positive.

The annotation text is colored based on the annotation quality:

  • Violet for false negatives
  • Orange for false positives
  • Green for true positives

The annotation text is underlined in a color corresponding to the class chip one, defined in the Resources tab.

Below the underlining, the class name abbreviation is reported. Hover over it to see the full name of the class.

The default annotation color is violet which indicates the annotation is a false negative because it does not—or does not yet—correspond to an extraction.

This color is meaningful inside the documents of test libraries and after experiments, when you check extraction results. If, after an experiment, the annotated text is extracted as expected, the text color will be green, indicating the annotation was matched (true positive).

The orange indicates a false positive, that is a result that was not annotated but needs confirmation.

This is how the annotations look when you double click a value in the Resources panel on the right to perform a search:

The annotation is highlighted with the corresponding quality color and the class name is surrounded by its chip. The annotation text turns bold.

In case of multiple quality results on a single annotation, this is what you see:

The value 2 quarts belonging to the Quantity class, is both a false positive and a false negative. This is visible thanks to the two colored dots beside the class name.

Widen or narrow the annotation chip

To widen or narrow the annotation chip:

  1. Hover over the side you want to resize.

  2. Drag the outline in the desired position.

Fast annotation

To annotate a document with the Fast annotation tool:

  1. Select Toggle fast mode to display the fast annotation toolbar.
  2. Select the class you want to annotate.
  3. Select the portion of text or, if you have highlighted the occurrence of entities and/or tokens, click them in the document.

Example

If you want to fast annotate all the ingredients in a recipe:

  1. In the fast annotation bar, select ING that is the chip that represents the Ingredients class.
  2. Select the ingredients in the document and they will automatically be annotated as ingredients and displayed in the Resources tab.

Or:

  1. In the fast annotation bar, select ING that is the chip that represents the Ingredients class.
  2. In the right panel, select Tokens, then Lemmas
  3. Select onion that is a potential ingredient, its occurrences will be highlighted in the document.

  4. Select the occurrences of the lemma highlighted in the text to annotate them as ingredients

Set Fast annotation by default when opening a document

To set the Fast annotation tool by default when opening a document:

  1. Select or select Settings , then Annotations.
  2. Switch on or off the Fast annotation radio button to enable or disable the feature.

Annotate by propagation

To annotate a document by propagation:

  1. Select an annotation in the text: a pop-up toolbar will appear.
  2. Select Propagate on the toolbar.

As a result, all the portions of text that are deemed similar to the annotation will tentatively be annotated and the propagation toolbar will be displayed.

Use the propagation toolbar to:

  • Browse tentative annotations (A)
  • Confirm individual tentative annotations (B)
  • Delete a tentative annotation (C)
  • Confirm all tentative annotations (D)
  • Close the toolbar and delete all the tentative annotations (E)

Set the propagation suggestions types

To set the propagation suggestion types:

  1. Select or select Settings , then Annotations
  2. Select or deselect the suggestion types you need among:

    • Entities
    • Syncons
    • Lemmas
    • Keywords

Annotate extracted values

Annotations and extractions are listed in the Resources tab of the right panel.

Extractions are available after experiments.

Annotate an extracted value in the text

  1. If not displayed, show the extractions.
  2. Select the extraction that you want to annotate.
  3. Select Annotate .

The quality color turns from orange (FP = False Positive) into green (TP = True Positive) and the extraction becomes an annotation.

.

Note

It is possible to use Fast annotation and Annotation by propagation.

Annotate an extracted value in the right panel

  1. Select the Resources tab in the right panel.
  2. Select the extractions to annotate.
  3. Select Annotate selected items .

The extraction indicator in the right panel and the quality color in the text change from orange (FP = False Positive) to green (TP = True Positive).

Remove annotations

To remove an annotation from the text:

  1. If not displayed, select the annotation from the Resources tab or show it with the Ann button.
  2. Select the annotation and select Remove from the pop-up toolbar.

To remove an annotation from the document:

  1. Select the Resources tab in the right panel.
  2. Expand the class.
  3. Select the value.
  4. Select Remove selected annotations from the panel toolbar.

To remove all the annotations of a class from the document:

  1. Select the Resources tab in the right panel.
  2. Select the class.
  3. Select Remove selected annotations from the panel toolbar.

Change the class of an annotation

To change the class of an annotation:

  1. If not displayed, select the annotation from the Resources tab or show it with the Ann button.
  2. Select the annotation in the text and then select Replace from the pop-up toolbar.

  3. In the pop-up menu, select the new class.

Edit the value of an annotation

This operation is useful in case you need to change a class value.

For example, if you have two different persons with the same name, it will be possible to discriminate by varying the value or to consider a different measure of the same value.

To edit the value of an annotation:

  1. If not displayed, select the annotation from the Resources tab or show it with the Ann button.
  2. Select the annotation in the text and then select Edit from the pop-up toolbar.

  3. Edit the value in the dialog box.

  4. Select Save.

Or:

  1. Select the Resources tab in the right panel.
  2. Select the annotation to edit.
  3. Select Edit .
  4. Edit the value in the dialog box.
  5. Select Save.

The change has effect on the annotation but not on the document.

Move annotations

To move annotations from a class to another:

  1. If the advanced annotations utilities are not enabled, select the ellipsis , then Enable advanced annotations utilities.
  2. Select the class in the right panel, Resources tab.
  3. Select Shift selected class .
  4. Select the target class from the Class drop-down menu in the Shift class annotations dialog.
  5. Select Save to confirm.

Clone annotations

To clone annotations from a class to another:

  1. If the advanced annotations utilities are not enabled, select the ellipsis , then Enable advanced annotations utilities.
  2. Select the class in the right panel, Resources tab.
  3. Select Clone selected class .
  4. Select the target class from the Class drop-down menu in the Shift class annotations dialog.
  5. Select Save to confirm.

Show annotations in a document

See how to show annotations in the document in the detail view page.

Show annotations or extractions in condensed document view

If you want to focus on the annotations and/or extractions in their sentences and remove the remaining redundant text:

  1. In the Resources tab on the right, select the class values you want.
  2. Select the ellipsis , then Show condensed document.

Annotate in immersive view

Annotation management in the immersive view is the same as in the detail view. Just some collateral tools are missing.

Annotate in PDF document view

Annotation management in PDF document view is the same as in detail view. Just there are some light graphical differences.

To display the class short name, hover over the annotation.

Non-positional annotation

The non-positional annotations don't depend on position in the text.

As first you have to create metadata classes in the resources.

To annotate:

  1. Select a text portion that you want to annotate.
  2. In the Class tab, select the metadata class from the pop-up list,

    the metadata annotation is displayed in the upper part .

Or:

  1. Select Create metadata annotation .
  2. Select the metadata class from the pop-up list.
  3. Enter the hit value in the Metadata annotation window, then Save. The metadata annotation is displayed in the upper part .

Open the Settings Annotation tab

To open directly the Annotation tab in the Settings, select

Normalize annotations to their base form

To normalize annotations to their base form:

  1. Select .
  2. Switch off or on the Normalize annotations radio button to disable or enable the normalization.

Or:

  1. Select Project settings , then the Annotation tab.
  2. Switch off or on the Normalize annotations radio button to disable or enable the normalization.

Manage grouped classes

In case you have annotated classes belonging to a group, this is what you see in the Resources tab.

The group is expanded by default with the annotated classes and the respective values.

  • Select the expanding arrow and the collapsing arrow to expand and collapse the group classes.
  • Select the expanding arrow and the collapsing arrow to expand and collapse a specific group.
  • Select Expand all groups from the Resources tab toolbar to expand all groups.
  • Select Collapse all groups from the Resources tab toolbar to collapse all groups.