addSection

<< prepareTextFromFile | Back to Salience 6 python Index | addSectionFromFile >>

Summary

Adds the supplied text into a section of the document for analysis. The supplied text should be UTF-8 encoded, not UTF-16.
This method provides a wrapper around the underlying C API method lxaAddSection.

Syntax

salience6.addSection(oSession, sHeader, sText, nProcess)

Parameters

oSession A SalienceSession object previously created via openSession
sHeader A text string specifying the header for the section
sText A text string for the section
nProcess

Returns

Returns an integer return code. Possible error return codes are specified on the Errors and Warning Codes page.

<< prepareTextFromFile | Back to Salience 6 python Index | addSectionFromFile >>