lxaAddSalienceConfiguration

<< lxaGetDefaultSalienceLocation | Back to Salience 6 C API Index | lxaRemoveSalienceConfiguration >>

Summary

Supports the analysis of content through multiple user directories.
This method adds the specified user directory, with the customizations and tuning it contains, to the specified Salience session. After adding a configuration to the Salience session, additional processing options and results from various API methods can be retrieved by using the identifier provided in acConfigurationID.
Calling this method with a value for acConfigurationID that has been previously added will result in an error code returned.

Syntax

int lxaAddSalienceConfiguration(SalienceSession *pSession, 
                                const char *acUserDir,
                                const char *acConfigurationID);

Parameters

pSession Pointer to a SalienceSession structure previously returned by a call to lxaOpenSalienceSession
acUserDir Path to a user directory to use for this configuration
acConfigurationID Character string specifying a unique identifier for this configuration

Returns

Integer return code. LXA_OK indicates success, LXA_CONFIG_IN_USE indicates the provided configuration ID has already been added to the session.

<< lxaGetDefaultSalienceLocation | Back to Salience 6 C API Index | lxaRemoveSalienceConfiguration >>