When server-side segmentation is used, the Acrolinx Server generates an annotated copy of the checked document in the server output directory.
By default, the document is annotated with processing instructions which indicate flagged text. This function is useful if you have an automated workflow which can process documents based on meta content.
You can change how the server generates the annotated output file with the core server property xml.annotationType .
To configure annotated output, follow these steps:
- Open your overlay of the relevant language configuration file.
Add the following property:
Save your changes and reload the language configuration on the relevant language servers.
Tip: If you are using the Acrolinx Java API, you can get the location of the annotated output file by calling the method getAnnotatedXmlUri() in the interface CheckResult .