Salience 6 - Basic Language options

<<Classification options | Back to Options index

Basic Language support is provided via a third party library. These options allow you to configure that library.

Basic Port

A port number to run the basic languages server on. This does not require outside access: Salience communicates directly to the basic languages server on this machine via this port.
Min/Max range 1024-49151
Default value 9000
C API
SalienceOption oOption;
oOption.nOption = SALIENCEOPTION_BASICPORT;
oOption.nValue = <integer value>;
lxaSetSalienceOption(pSession,&oOption);
.NET SalienceEngine.BasicPort= integer value
Java Salience.Options.BasicLanguage.setBasicLanguagePort(integer value)
Python salience.setOption_BasicPort(session,integer value, configuration ID)

Back to top

Manual Basic Management

By default, Salience will launch the basic languages support server when you first use it and close it after the last Salience session is closed. Even if you use multiple processes, the server will go up and down correctly. If for whatever reason you want to manage the lifespan of the Basic Languages server yourself set this option to true. Note that in this case it's your responsibility to ensure the session is always running when a Salience session is trying to process Basic Languages text.
Min/Max range 0 or 1
Default value 0
C API
SalienceOption oOption;
oOption.nOption = SALIENCEOPTION_MANUALBASICMANAGEMENT;
oOption.nValue = <integer value>;
lxaSetSalienceOption(pSession,&oOption);
.NET SalienceEngine.ManualBasicManagement= boolean value
Java Salience.Options.BasicLanguage.setManualBasicLanguageMangement(boolean value)
Python salience.setOption_ManualBasicManagement(session,boolean value, configuration ID)

Back to top