Skip to content

Tagger

Introduction

The Tagger tool window shows the tags generated by tagging rules or by script during the analysis of the test document specified in the context bar. This tool window is visible after the first text analysis.

The tool window contains these panels:

  • Tags
  • Rule Details / Tag Details
  • Rule preview

A context menu command is available on the file name:

Name Description
Copy File name Copy the file name
Copy File full path Copy the file full path

Tags panel

This panel shows rule-generated tags, grouped by level with a row for each one, and script-generated tags. The first tag type is recognized by curly brackets ({}), while the second tag type by a red gear icon .

Info

The default level for tags by rules is 10000.

The expand/collapse toggle switch on the left displays or hides the tags.

The columns are:

Column Description
Level/Tag Level number or tag label
Value (Only for tags) Underlying value

The toolbar contains:

Icon Name Description
Expand All Expand all the level rows, showing tags
Collapse All Collapse all the level rows, hiding tags
Search box Search criteria
Reset Reset the search criteria
Find Next Display the results matching the search criteria in the Find Results tool window
Show TAGS Show script-generated tags
Show UNTAG Show tags untagged through script

The info bar shows the number of tags.

The available context menu commands are:

Name Description
Copy Tag Name Copy the tag name
Copy Tagged Text Copy the tagged text

Available mouse commands are:

Command Description
Click a tag Update the other panels with information about the tag
Double-click a rule-made tag Toggle action: highlight the tagging rule hits in the text file inside the editor or highlight the rule in the source file inside the editor
Double-click a script-made tag Highlight the tag hits in the text file inside the editor

Note

If you click a tag with a text file opened in the editor, all hits of the tag will be highlighted.

Rule Details / Tag Details panel

The Rule Details panel shows—for rule-generated tags—the blocks, namely the satisfied rule's conditions that generated the tag plus the rule label if specified in the rule. The sub-panel is empty when selecting script-generated tags.

Note

Rule labels are optional. See the language reference documentation to learn how to insert rule labels in a rule.

The Tag Details panel shows—for both tag types—tag's detail info.

The Tag Details panel columns are:

Column Description
Text Underlying text
Syncon ID Syncon ID
Begin Starting position of the underlying text in the document
End Ending position of the underlying text in the document

The context menu has the following commands:

Name Description
Find lemma in Knowledge Graph Open the Knowledge Graph tool window and find the selected lemma
Copy Text Copy the text

Available mouse commands are:

Command Description
(Only in the Tag Details sub-panel) Click a column header Change sort order
Double-click a rule-made block Toggle action: highlight the tagging rule hits in the test file text inside the editor or highlight the rule in the source file inside the editor
Double-click a script-made block Highlight the tag hits in the text file inside the editor
Double-click the textual entry in the Tag Details sub-panel Toggle action: highlight the tagging rule hits in the text file inside the editor or highlight the rule in the source file inside the editor

Note

  • Double-clicking the textual entry in the Tag Details sub-panel in case of tags by script, only the hit in the text file will be highlighted with no toggle action.

Rule preview panel

This panel shows—for rule-generated tags—the rule that generated the selected tag, without the need to open the rules file in the editor. For tags generated by script, you can read Tag by Script.

Note

Text selection is available.

A context menu is available in case of tagging rules:

Command Description
Copy All Text Copy the entire rule
Select All Text Select the entire rule
Copy Selected Text Copy the selected text