By default, all span values from all output views that are generated
from a launch configuration are displayed in the Annotation Explorer.
About this task
From the
Annotation
Explorer, you can do the following actions:
- Navigate from the results to the input document
or input document collection from which the results were derived.
- Display the results in the Result Tree View.
- Navigate to the View
Definition.
A
span
is a built-in type of Text Analytics. The span type represents a
contiguous range of characters in a text field of the document. For
example, the Span output
Document.text[1665-1673]: '466-9196'
represents Characters 1665-1673
of the text field of Document. This range of characters corresponds
to the string
466-9196
in the original document.
Procedure
- Navigate
to an input document from the Annotation
Explorer.
- Double-click
a row of output, or select a row in the output, and click Open Selected Span in Text Editor on
the Annotation Explorer toolbar.
The selected span is highlighted in the Result Editor, and the Result Tree View displays the
selected span. By using the Result
Tree View, you can see other spans that are extracted from the
text.
- To
display results in the Result
Tree View from the Annotation
Explorer, double-click a row of output. Each input document opens
in a Result Tree View, where
you can view all of the output views and their attributes in a tree
format for a selected input document.
- Display
results in the Result Table
View from the Annotation
Explorer. The Result Table View displays the tuples of an output
view in a table.
The data model of AQL is similar to the standard relational model
used by SQL databases like DB2®. All data in AQL is stored in
tuples, which are data records of one or more columns or fields. A
collection of tuples forms a
relation
. Similar to SQL, a tuple is like a row and relation is like a
table.
- Click
the Select Output Views to
Display in Result Table View menu on the Annotation Explorer toolbar, and select
an output view. The Result
Table View opens. You can also right-click a row of output and
select Show Span in Result Table
to open the Result Table View.
- Navigate
to the view definition from the Annotation
Explorer.
- Right-click
a row in the Annotation
Explorer view, and select Show
view in AQL Editor. The corresponding View
Definition opens in the AQL editor.