Warning
Acrolinx has started to phase out support for this configuration option. If you’ve already enabled Targets, you won't be able to use it. Reach out to your Acrolinx contact if you have any questions, or view our Sunset Policy for more specific details.
The "paragraph too long" guideline highlights paragraphs that contain too many sentences and is included in some sets of style guidelines such as Simplified Technical English (STE). The "paragraph too long" guideline highlights sentences that contain more than the default maximum of 6 sentences. However, it's possible to configure a different maximum number of sentences when users check with specific writing guides.
To configure the maximum number of sentences in a paragraph, follow these steps:
-
Open your overlay of the relevant language configuration file.
If this location doesn’t yet exist, create the required subdirectories first.
-
Add the following property:
<RULE_SET>.structuralChecker.paragraphTooLong.maxLength=<NUMBER_OF_SENTENCES>
For example, to restrict the maximum number of sentences in a paragraph to 4 sentences when users check with the writing guide "techpubs", add the property as follows:
techpubs.structuralChecker.paragraphTooLong.maxLength=4
If the writing guide contains a space, make sure to add a backslash before the space:
Acrolinx\Essentials.structuralChecker.paragraphTooLong.maxLength=4
Tip
You can also define this property for all writing guides by entering the property without the writing guide prefix as in the following example:
structuralChecker.paragraphTooLong.maxLength=4
For this guideline to work, the "Structural Checker" component must be enabled. If you see the line "
structuralChecker.enabled=false
" in your language configuration, change the value to "true
". -
Save your changes and reload the language configuration on the relevant language servers.