Skip to content

Semantic Analysis

The Semantic Analysis tool window shows part of the results produced by the disambiguator when analyzing a test document. It is the output of deep linguistic analysis, which includes:

  • Text subdivision
  • Part-of-speech tagging
  • Morphological analysis
  • Lemmatization
  • Syntactic analysis
  • Semantic analysis

tw

Areas

The window contains these panels:

  • Analysis view
  • Details panel

Analysis view

This panel shows the deep linguistic analysis for a selected portion of text—whether sentence or paragraph—based on the Scope option chosen on the toolbar.

It is a layered representation. The lower layer is the text, the layers above correspond to subdivisions of the text of decreasing granularity or to syntactic elements and phrases. Layer items are represented by colored tiles.

Layers are, from top to bottom:

Color Description Tile contents
L1.jpg Sentences SENTENCE label
L2.jpg Clauses Clause type
L3.jpg Phrases Phrase type abbreviation
L4.jpg Syntactic elements (hidden by default) Element type
L5.jpg Words Part-of-speech
L6.jpg Atoms Part-of-speech
L7.jpg Text elements Text

All tiles are actionable through mouse clicks.
Single click has two effects:

  • The text corresponding to the selected tile is highlighted in the editor.
  • Selected tile details are shown in the details panel.

In the case of syntax element (yellow tiles), the contents of the tiles relating to the same structure are framed with a dashed line.

Double-click is effective only on word and atom tiles having an associated syncon. In this case, double-clicking a tile opens the Knowledge Graph tool window and the syncon associated with the tile is displayed together with the other syncons that are linked to it.

The context menu is available on every tile. The main commands are:

Name Description
Copy Label Copy the tile label to the clipboard
Copy ID (Only for tiles associated to a syncon) Copy the syncon ID to the clipboard

The context menu shows the tile label and, in case of tiles associated with a syncon, the syncon ID between parentheses.

Toolbar

The toolbar provides toggle switches and options to customize the view.

Icon Name Description
Clear selection Deselect all selected tiles
2_2.jpg Toggle Sentence Tiles Display or hide sentences tiles
2_3.jpg Toggle Clause Tiles Display or hide clauses tiles
2_4.jpg Toggle Phrases Tiles Display or hide phrases tiles
2_5.jpg Toggle Logic Tiles Display or hide syntactic elements tiles
2_6.jpg Toggle Syncon Ids Display or hide syncon IDs inside the tiles
Toggle Syncon Multiple Ids For syncons having more than one ID, display or hide all the IDs inside the tiles. It is effective only if Toggle Syncon Ids has been activated.
Tagger list Control tags display
Scope list Set the display scope

The Tagger list allows controlling the display of tags. Available options are:

Name Description
No Tags Tags display is turned off
All Tags All tags are displayed
By Rules Only tags that have been defined with rules are displayed
By Script Only tags that have been defined with script are displayed
Level # Only tags at the specified level are displayed

When the tag display is turned on, tags label replace the atom tiles labels.

Details panel

The details panel shows information about the selected tile.
The information differs depending on the layer the tile belongs to.

Tile layer Description
Sentences Sentence text
Clauses Clause text, identification number and type
Phrases Phrase text and type
Syntactic elements The text and the elements of the syntax structure the tile refers to
Words, atoms, text elements Text, base form (the lemma), part-of-speech, morphology and grammar info, semantic info (syncon, parent syncons)

The context menu is available for tiles in the words, atoms and text elements layers. Commands vary based on the type of element.

Name Description
View Syncon in Knowledge Graph Open the Knowledge Graph tool window to show the syncon together with the other syncons that are linked to it
Find lemma in Knowledge Graph Open the Knowledge Graph tool window and perform a search using the lemma
Copy Base Form Copy the base form to the clipboard
Copy Syncon ID Copy the syncon ID to the clipboard
Copy Type Copy the part-of-speech label to the clipboard
View parent #n in Knowledge Graph Open the Knowledge Graph tool window to show the parent syncon number n together with the other syncons that are linked to it
Copy parent #n ID Copy the ID of parent syncon number n to the clipboard