There are two groupings of configuration files.
The system configuration files are found in config
. These are the files for overall service configuration. These are files whose names end in .cfg
. These files are in Java property file syntax, and define name-value pairs.
The more complex Endpoint and Transport Rules Configuration Files are found in config/rosapi
. These are the files you need to edit to change the input parameters, transport rules, and configuration requirements of the individual endpoints.
System Configuration Files
These are the configuration files for overall service operation. The perceptive reader may notice that there are endpoint specific configuration files here as well, e.g. dedupe, rni, rnt. The architecture is still evolving.
Server Location: server/launcher/config
Server Embedded Location: /config
Endpoint and Transport Rules Configuration Files
The following files contain configuration parameters for Rosette Server, individual endpoints, and transport rules.
Server Location: /server/launcher/config/rosapi
Server Embedded Location: /config/rosapi
Factory Configuration Files
The worker-config.yaml
file details component factories and the pipelines for each endpoint. A single endpoint may use multiple factories. Use this file to determine which factories you may have to modify to set the configuration values for a task. Some factories, such as rbl-factory-config.yaml
are used by multiple endpoints.
Table 3. Factory Files
File Name |
Primary Endpoint |
analyze-factory-config.yaml
|
topics |
cat-factory-config.yaml
|
categories |
dp-factory-config.yaml
|
syntax/dependencies |
rbl-factory-config.yaml
|
morphology
sentences
|
rct-factory-config.yaml
|
transliteration |
relax-factory-config.yaml
|
relationships |
rex-factory-config.yaml
|
entities |
rex-no-resolution-factory-config.yaml
|
topics
entities
|
rli-factory-config.yaml
|
language |
rni-dedup-factory-config.yaml
|
name-deduplication |
rni-factory-config.yaml
|
name-similarity |
rnt-factor-config.yaml
|
name-translation |
semantic-vectors-factory-config.yaml
|
semantics/vector |
sent-factory-config.yaml
|
sentiment |
similar-terms-factory-config.yaml
|
semantics/similar |
tokenization-factory-config.yaml
|
tokens |
topics-factory-config.yaml
|
topics |
Name Similarity Configuration Files
There are two .yaml
files located in the installDirectory/roots/rni-rnt/<version>/rlpnc/data/etc
directory to guide you in configuring the name-similarity endpoint, parameter_defs.yaml
and parameter_profiles.yaml
. The parameter_defs.yaml
file lists the default value for all parameters, along with a short description. This file should not be modified.
To configure the name-similarity results, change the values of the parameters in the parameter_defs.yaml
file. Parameter values can be for all language pairs, or for a specific language pair. If the change is for all languages, use the any:
profile. If a parameter change is for a specific language pair, use the appropriate language code pair. The two language codes are always written in alphabetical order, except for eng
, which always comes last.
Example 1. Add a parameter for all languages
Edit the installDirectory/roots/rni-rnt/<version>/rlpnc/data/etc/parameter_defs.yaml
file.
Search for any:
Add parameterName: parameter value
Save
Example 2. Add a parameter for Spanish-English matching
Edit the installDirectory/roots/rni-rnt/<version>/rlpnc/data/etc/parameter_defs.yaml
file.
Search for the language combination spa_eng:
Add parameterName: parameter value
Save