lxaRemoveSalienceConfiguration

<< lxaAddSalienceConfiguration | Back to Salience 6 C API Index | lxaPrepareText >>

Summary

This method removes the specified configuration from those used in processing content in the the current Salience session.
Calling this method with a value for acConfigurationID that has not been previously added by a call to lxaAddSalienceConfiguration will result in an error code returned. Additionally, calling this method with an empty string (which identifies the default configuration) will result in an error.

Syntax

int lxaRemoveSalienceConfiguration(SalienceSession *pSession,
                                   const char *acConfigurationID);

Parameters

pSession Pointer to a SalienceSession structure previously returned by a call to lxaOpenSalienceSession
acConfigurationID Character string specifying a unique identifier for a configuration previously added to the session

Returns

Integer return code. LXA_OK indicates success, LXA_INVALID_CONFIG indicates the provided configuration ID has already been added to the session, also returned if this method is called with an empty string for acConfigurationID.

<< lxaAddSalienceConfiguration | Back to Salience 6 C API Index | lxaPrepareText >>