lxaAddSection

<< lxaPrepareTextFromFile | Back to Salience 6 C API Index | lxaAddSectionFromFile >>

Summary

Adds the supplied text into a section of the document for analysis. The supplied text should be UTF-8 encoded, not UTF-16.

Syntax

int lxaAddSection(SalienceSession *pSession, 
                  const char *acHeader,
                  const char *acText,
                  int nProcess);

Parameters

pSession Pointer to a SalienceSession structure previously returned by a call to lxaOpenSalienceSession
acHeader Pointer to a char* buffer containing the header for the section
acText Pointer to a char* buffer containing the text for the section
nProcess

Returns

This function returns an integer return code.

<< lxaPrepareTextFromFile | Back to Salience 6 C API Index | lxaAddSectionFromFile >>