Skip to content

Annotate target categories

Annotating the target categories for a test document means indicating the expected categorization results for that document.

There are several areas of Studio IDE where you can annotate target categories:

  • The Project tool window.
  • The editor.
  • The Classes tool window, in the Taxonomy tab.
  • The Categorization tool window.

It is then possible to manage—modify or delete—the annotations using the Annotation tool window.

Set the list of categories to choose from

In the Project tool window and in the editor you use the context menu to annotate categories.
The context menu allows you to directly choose the category from a list or have a dialog in which you can insert any category.

Determine which categories appear in the list by checking them in the Taxonomy panel of the Classes tool window.
If you don't check any category, the list will show the one currently selected in the Taxonomy panel.

Categories that have already been annotated for the document are displayed in the list, but with gray ink, and cannot be selected.

To these categories, Studio adds other suggestions based on the results of analysis and user activities.

Annotate in the Project tool window

To annotate target categories using the Project tool window, right-click the test document in the test folder (multiple selection is allowed) and select Annotate Category.

Then:

  1. Select the category form the list. Categories that have already been annotated for the document are displayed with gray ink and cannot be selected.

Or:

  1. Select Annotate...
  2. In Taxonomy node enter the target category name or select from the drop-down menu.
  3. Select OK.

Annotate in the editor

In the editor you can annotate expected categorization results for the current test document:

  1. Right-click anywhere in the text of the file.
  2. Choose Annotate Category.
  3. Select the category from the list. Categories that have already been annotated for the document are displayed with gray ink and cannot be selected.

Or:

  1. Right-click anywhere in the text of the file.
  2. Select Annotate...
  3. In Taxonomy node enter the target category name or select from the drop-down menu.
  4. Select OK.

Annotate in the Classes tool window

  1. Open the test document or select it in the editor if it is already open.
  2. In the Taxonomy panel of the Classes tool window, right-click the target category and choose Annotate "XXXX" for file: YYYY, where XXXX is the name of the category and YYYY is the name of the document file.

Annotate in the Categorization tool window

Annotating in the Categorization tool window is useful because you can easily indicate if the categorization results you already obtained for a test document are correct or not.

First select Toggle Annotations on the left panel toolbar to display the annotation toolbar, then use the annotation toolbar controls at the bottom of the left panel.

Annotate a category

  1. Select the category you want to annotate from the list of results.
  2. In the annotation toolbar choose Annotate.

Annotate all the categories

  • In the annotation toolbar choose Annotate All.