Language Components
In this section we describe means to tune the language component resources in the REST API (DCS).
The Java API language components section already introduced the role and importance of tuning language components properly. It also introduced standard conventions for naming stop word resources and dictionaries.
In the REST API, all language resources are pulled out from Java JAR files and reside under the
dcs/web/service/resources
path, relative to DCS distribution package.
To tune the stop words for the English language, for example, you'd modify the
english.stopwords.utf8
file. To tweak corresponding label exclusion dictionaries,
you'd modify the english.stoplabels.utf8
file.
Changes to language resource files are not automatically detected or reloaded, a server restart is required for changes to take effect.