resetThemes

<< dumpEnvironment | Back to Salience 6 python Index | prepareText >>

Summary

Reinitializes theme processing within Salience 6 without the need to reinitialize the entire session. This allows modifications to be made to data files that affect theme extraction, and that portion of the Salience 6 engine to be reloaded with the updated data files.

Syntax

salience6.resetThemes()

Parameters

None.

Returns

TODO: document return from method

Example

    import salience6 as se6
    session = se6.openSession('/path/to/license.v5','/path/to/data')
    ...check if external modifications have been to theme data files...
    se6.resetThemes()
    ...
    se6.closeSession(session)

<< dumpEnvironment | Back to Salience 6 python Index | prepareText >>