|Acrolinx Server||4.3, 4.4, 4.5, 4.6 only|
CSD files store the segmentation and filter settings for a document type. To get the server to recognize a new CSD, you have to associate it with a language or a rule set. You do this by updating the language configuration files for your supported languages.
contextSegmentationDefinitions../csd/mycsd1.properties,../csd/mycsd2.properties,../csd/mycsd3.propertiesIf you want to add more CSDs, you have to update this line in your language configuration file.
To associate a server-side CSD file with a language or rule set, follow these steps:
Open your overlay of the relevant language configuration file.
If you have not yet created an overlay of this file, create a new version of the file at the following location:
If this location does not yet exist, create the required subdirectories first.
Add one or more the following properties:
Add this line to associate a CSD file or set of CSD files with a specific rule set.
Add this line to associate a CSD file or set of CSD files with all checks in your selected language. If a user selects a rule set that is not associated with any CSD files, the server falls back to the CSD files that are defined in this property.
The CSD location is relative to the location of the language configuration file.For example, if your CSD file is stored in the directory %ACROLINX_CONFIGURATION_ROOT%\data\ <LANG_ID> , you would enter the property as follows:
Standard.contextSegmentationDefinitions=default.propertiesIf you want to keep your CSDs together in the "common" directory , you would enter the property as follows:
If you want to associate several CSDs with different document types, you can also add a comma-separated list of CSD files.
- Save your changes and reload the language configuration on the relevant language servers.