Extraction
The Extraction tool window shows the extraction results of the last analysis carried out on the test document specified in the context bar.
Its panels are:
- Records/Fields
- Rule Details/Extraction Details
- Rule preview
Record/Fields panel
This panel shows the extracted records and their fields.
There's a row for each record.
The expand/collapse toggle switch on the left displays or hides the record's fields.
The columns are:
Column | Description |
---|---|
Record/Fields | Record or field name |
Value | (Only for fields) Extracted value |
Count | (Only for fields) Number of instances of the same value that were extracted |
Rules | (Only for fields) Number of rules that determined the extraction |
Quality | (Only for fields) Quality check result |
The quality check result appears only if the record/field value has been set as an extraction target for the test file through annotation.
These are the icon used to describe quality check results:
Icon | Name | Description |
---|---|---|
TP | True positive, the annotated target was matched | |
FP | False positive, unexpected result, no annotation for this result | |
FN | False negative, there were no results for the annotated target | |
Quality undefined | Incomplete match between actual extractions and targets: some values match annotations, other values don't |
The toolbar contains:
Icon | Name | Description |
---|---|---|
Expand All | Expand all the records, showing fields | |
Collapse All | Collapse all the records, hiding fields | |
Search: | Search criteria | |
Reset | Reset the search criteria | |
Find Next | Display the results matching the search criteria in the Find Results tool windows | |
Toggle Annotations Visibility | Display or hide the annotation toolbar |
The drop-down menu on the right allows changing the sort order choosing between Sort by label, which sorts records based on their template name, and Sort by first hit position, which sorts record based on the position of extractions in the text of the document.
The counter at the bottom of the panel shows the number of records.
This context menu is available for records:
Command | Description |
---|---|
Copy Template name | Copy the record's template name to the clipboard |
Expand All | Expand all the nodes |
Collapse All | Collapse all the nodes |
Expand "XXXX" node | Expand all the XXXX template records |
Collapse "XXXX" node | Collapse all the XXXX template records |
This context menu is available for fields:
Command | Description |
---|---|
Copy Template name | Copy the record's template name to the clipboard |
Copy Field name | Copy the field name to the clipboard |
Copy Value | Copy the field value to the clipboard |
Expand All | Expand all the nodes |
Collapse All | Collapse all the nodes |
Expand "XXXX" node | Expand all the XXXX template records |
Collapse "XXXX" node | Collapse all the XXXX template records |
Available mouse commands are:
Command | Description |
---|---|
Click a column header except Quality | Change sort order |
Click a record | Highlight all hits in the test document inside the editor |
Click a field | Highlight all hits in the test document inside the editor and update the other panels |
Double-click a field | Like single click plus a toggle action if the command is repeated: highlight the extraction rule in the source file inside the editor or highlight the rule's hits in the test document inside the editor |
Annotation toolbar
This toolbar allows annotating results as extraction targets for future quality checks.
Name | Description |
---|---|
Annotate | A list to choose the template-field couple from and a box to specify the field value to annotate |
Annotate | Annotate the specified extraction |
Rule Details/Extraction Details panel
This panel has these sub-panels:
- Rule Details
- Extraction Details
Rule Details
This panel shows the blocks, that is, the rule's sub-conditions that were satisfied and thus determining the hit.
Clicking the rule block opens the rules file in the editor with the extraction rule highlighted. Double-click has a toggle action if the command is repeated: highlight the extraction rule or highlight the rule's hits in the test document.
Extraction Details
This panel contains a table listing all the hits for the selected field.
Table columns are:
Name | Description |
---|---|
Text | Field value |
Syncon ID | ID of the syncon that determined the hit |
Ancestor ID | ID of the ancestor syncon that determined the hit |
Begin | Starting position |
End | Ending position |
Sentence | Sentence number |
Quality | Quality check result |
Context menu commands are:
Name | Description |
---|---|
View Syncon in Knowledge Graph | (Only for syncons) Open the Knowledge Graph tool window and display the syncon |
Find lemma in Knowledge Graph | Open the Knowledge Graph tool window and display lemma information |
Copy Text | Copy the extracted field value to che clipboard |
Copy Syncon ID | Copy the syncon ID to the clipboard |
Available mouse commands are:
Command | Description |
---|---|
Click a column header | Change sort order |
Click a row | If the editor focus is on the test document, highlight the hit |
Double-click a row | Toggle action if the command is repeated: highlight the extraction rule in the rules file inside the editor or highlight the rule's hits in the test document inside the editor |
Rule preview panel
This panel allows the user to see the rule code without the need to open the source file in the editor.