removeConfiguration

<< addConfiguration | Back to Salience 6 python Index | getVersion >>

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 sConfigurationID that has not been previously added by a call to addConfiguration 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.
This method provides a wrapper around the underlying C API method lxaRemoveSalienceConfiguration.

Syntax

salience6.removeConfiguration(oSession, sConfigurationID)

Parameters

oSession A SalienceSession object previously created via openSession
sConfigurationID Character string specifying a unique identifier for this configuration

Returns

If successful, returns 0. If unsuccessful, returns LXA_INVALID_CONFIG to indicate the provided configuration ID has not been added to the session or cannot be removed.

<< addConfiguration | Back to Salience 6 python Index | getVersion >>