Configure How the Sentence Too Long Guideline Appears for Users

You can configure the Acrolinx Integration to display the number of words that a highlighted sentence contained so that users know how many words to remove. You can also configure an alternative name for the 'sentence too long' guideline in the Acrolinx Scorecard.

To configure the shortcut menu to display the number of words for 'sentence too long' issues, follow these steps:

To configure an alternative name for the 'sentence too long' guideline, follow these steps:

  1. Open your overlay of the relevant language configuration file.

    If you haven't yet created an overlay of this file, create a new version of the file at the following location:

    %ACROLINX_CONFIGURATION_ROOT%\data\<LANG_ID>\configuration.properties

    If this location doesn’t yet exist, create the required subdirectories first.

  2. Locate the group of properties for your desired writing guide.
  3. Add the following property:

    <RULE_SET>.lengthChecker.sentenceTooLongPhrase=<PHRASE>

    You can use the variable $words to display the number of words in the highlighted sentence.

    Example
    Standard.lengthChecker.sentenceTooLongPhrase=Sentence too long: Counted $words words

    You can also define this property for all writing guides by entering the property without the writing guide prefix.

    lengthChecker.sentenceTooLongPhrase=Sentence too long: Counted $words words
  4. (Optional) To configure an alternative name for the 'sentence too long' guideline, add the following property:

    <RULE_SET>.lengthChecker.sentenceTooLongRuleName=<RULE_NAME>
    Example
    StandardDE.lengthChecker.sentenceTooLongRuleName=Satz zu lang

    You can also define this property for all writing guides by entering the property without the writing guide prefix.

    Example
    lengthChecker.sentenceTooLongRuleName=Satz zu lang
  5. Save your changes and reload the language configuration on the relevant language servers. 

    The new name appears in the Scorecard.