Analyze test documents
Analyzing the test documents is the key activity to:
- Check how your project performs.
- Examine the results.
- Decide how to keep developing and fine-tuning the rules and any script.
- Check if the project is ready to be deployed.
Each analysis operation submits the single document to the entire processing pipeline, excluding the preparation.
When it involves multiple documents, the analysis produces reports that can be compared to determine if the quality of the project improves, gets worse or is stable as the rules change.
Info
The analysis operation automatically determines whether the code has changed since the last run and in case performs a build. Check the Console and Notifications for any possible compilation errors.
Note
Maximum analyzed text size is 50 KB (50,000 chars), or 200 KB for the Enterprise Edition.
Analyze the document in focus in the editing area
To analyze the document in focus in the editing area:
- In the main toolbar, select Analyze Document .
Or:
- From the main menu, select Studio > Analyze Document.
Or:
- Press
F5
.
Or:
- Right-click anywhere in the text and choose Analyze Document.
A notification is displayed in lower right corner.
You cannot analyze test files in the documents folder. Such a folder is used for document preparation. If you perform an analysis, a warning will appear asking you to start the document preparation.
Analyze a selection of documents in the module or project
To analyze a selection of documents in the module or project:
- Select a file or a set of files (
CTRL+click
is allowed) or a folder. - Select Analyze Selection in the context menu.
- Type a report name under Analysis label or confirm the suggested one.
- Select Cache analysis results on disk to cache results on disk.
- Select Yes or press
Enter
.
Tip
If you have the Enterprise Edition, you can also use Platform for more detailed quality metrics.
Analyze all the documents in the module or project
To analyze all the documents in the module or project:
- In the main toolbar, select Analyze All Documents .
Or:
- From the main menu, select Studio > Analyze All Documents.
Or:
- In the Project tool window, from context menu, select Analyze All Documents.
- Type a report name under Analysis label or confirm the suggested one.
- Select Cache analysis results on disk to cache results on disk.
- Select Yes or press
Enter
.
Select View Report in the notification at the right bottom corner, to display the analysis report in the Report tool window.
While multiple documents are analyzed, select Abort Analysis on the toolbar to stop the analysis. A dialog will appear for confirmation.
Tool windows and analysis output
The tool windows affected by the analysis process are:
- Categorization: displays categorization results.
- Extraction: displays extraction results.
- Semantic Analysis: displays the semantic analysis of the test document.
- Sentence Hits: displays sentence hits for categorization and extraction rules.
- Disambiguation Info: displays disambiguation information in addition to semantic analysis.
- Console: displays abalysis messages.
- Notifications: displays analysis events notifications.
- Tagger: displays tags.
- Segments: displays segments.
- Report: displays multi-document analysis reports.
- Statistics: displays troubleshooting statistics.