Excluded elements in your segmentation settings can prevent Acrolinx from analyzing the grammatical structure of a sentence correctly. Normally, this behavior occurs when you exclude elements that appear inline within a sentence.
You have the sentence:
<para>See the topic 'customizing your server' in the <emphasis>administration guide</emphasis> for more information.</para>
You have set the element <emphasis> to be excluded.
As a result, the plug-in sends the following text to the server:
See the topic 'customizing your server' in the for more information.
The text administration guide is removed and Acrolinx flags the text in the for more information as a grammar issue.
To avoid this problem, you can configure the Batch Checker to insert placeholder characters for excluded elements when sending text to the server. Acrolinx interprets these placeholder characters as nouns so that the grammatical structure of the original sentence is retained.
However, in version 2.6 or earlier of Acrolinx Server, the sentence counts might be inaccurate if your documents contain entire sentences that are enclosed within excluded elements. Entire sentences that are excluded still contribute toward the sentence count. This behavior can also produce a different checking score even if the number of flags in the document does not change after the setting is activated.
This configuration applies to XML files only and supersedes the soft exclusion feature that is described in the Acrolinx Linguistic Administration Guide . To achieve similar results for HTML or SGML files you can define empty elements in a CSD file .
To configure the Batch Checker to insert placeholders for excluded elements, follow these steps:
Open your system properties file or a CSD file:
- You edit your system properties file to define this setting globally.
You edit a CSD file to apply this setting only to specific documents.
When checking a document you can select the CSD profile that contains this setting.
You can you use this property in both a CSD and the system properties, but the CSD always overrides the system properties when this setting is evaluated. You might use the configuration if you want to enable this setting globally, but have one CSD where the setting is disabled.
Add the following line:
- Save the file and restart the Batch Checker.