Annotate in detail view
Portion of text annotation
To annotate a portion of text:
- Select the text portion to be annotated.
-
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:
- Select the Entities tab or the Tokens one in the right panel.
- Select an item to highlight all the occurrences in the document.
- Click the single occurrence.
- 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:
-
Hover over the side you want to resize.
-
Drag the outline in the desired position.
Fast annotation
To annotate a document with the Fast annotation tool:
- Select Toggle fast mode to display the fast annotation toolbar.
- Select the class you want to annotate.
- 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:
- In the fast annotation bar, select
ING
that is the chip that represents the Ingredients class. -
Select the ingredients in the document and they will automatically be annotated as ingredients and displayed in the Resources tab.
Or:
- In the fast annotation bar, select
ING
that is the chip that represents the Ingredients class. - In the right panel, select Tokens, then Lemmas
-
Select onion that is a potential ingredient, its occurrences will be highlighted in the document.
-
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:
- Select or select Settings , then Annotations.
- Switch on or off the Fast annotation radio button to enable or disable the feature.
Annotate by propagation
To annotate a document by propagation:
- Select an annotation in the text: a pop-up toolbar will appear.
-
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:
- Select or select Settings , then Annotations
-
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
- If not displayed, show the extractions.
- Select the extraction that you want to annotate.
- 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
- Select the Resources tab in the right panel.
- Select the extractions to annotate.
- 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:
- If not displayed, select the annotation from the Resources tab or show it with the Ann button.
- Select the annotation and select Remove from the pop-up toolbar.
To remove an annotation from the document:
- Select the Resources tab in the right panel.
- Expand the class.
- Select the value.
- Select Remove selected annotations from the panel toolbar.
To remove all the annotations of a class from the document:
- Select the Resources tab in the right panel.
- Select the class.
- Select Remove selected annotations from the panel toolbar.
Change the class of an annotation
To change the class of an annotation:
- If not displayed, select the annotation from the Resources tab or show it with the Ann button.
-
Select the annotation in the text and then select Replace from the pop-up toolbar.
-
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:
- If not displayed, select the annotation from the Resources tab or show it with the Ann button.
-
Select the annotation in the text and then select Edit from the pop-up toolbar.
-
Edit the value in the dialog box.
-
Select Save.
Or:
- Select the Resources tab in the right panel.
- Select the annotation to edit.
- Select Edit .
- Edit the value in the dialog box.
- Select Save.
The change has effect on the annotation but not on the document.
Move annotations
To move annotations from a class to another:
- If the advanced annotations utilities are not enabled, select the ellipsis , then Enable advanced annotations utilities.
- Select the class in the right panel, Resources tab.
- Select Shift selected class .
- Select the target class from the Class dropdown menu in the Shift class annotations dialog.
- Select Save to confirm.
Clone annotations
To clone annotations from a class to another:
- If the advanced annotations utilities are not enabled, select the ellipsis , then Enable advanced annotations utilities.
- Select the class in the right panel, Resources tab.
- Select Clone selected class .
- Select the target class from the Class dropdown menu in the Shift class annotations dialog.
- 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:
- In the Resources tab on the right, select the class values you want.
- 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:
- Select a text portion that you want to annotate.
-
In the Class tab, select the metadata class from the pop-up list,
the metadata annotation is displayed in the upper part.
Or:
- Select Create metadata annotation .
- Select the metadata class from the pop-up list.
-
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:
- Select .
- Switch off or on the Normalize annotations radio button to disable or enable the normalization.
Or:
- Select Project settings , then the Annotation tab.
- 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.