addConfiguration

<< closeSession | Back to Salience 6 python Index | removeConfiguration >>

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 sConfigurationID.
This method provides a wrapper around the underlying C API method lxaAddSalienceConfiguration.

Syntax

salience6.addConfiguration(oSession, sUserDir, sConfigurationID)

Parameters

oSession A SalienceSession object previously created via openSession
sUserDir Path to a user directory to use for this configuration
sConfigurationID Character string specifying a unique identifier for this configuration

Returns

If successful, returns 0. If unsuccessful, returns LXA_CONFIG_IN_USE to indicate the provided configuration ID has already been added to the session.

<< closeSession | Back to Salience 6 python Index | removeConfiguration >>