lxaAddSectionFromFile

<< lxaAddSection | Back to Salience 6 C API Index | lxaPrepareCollection >>

Summary

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

Syntax

int lxaAddSectionFromFile(SalienceSession *pSession, 
                          const char *acHeader,
                          const char *acFile,
                          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
acFile Pointer to a char* buffer containing the path to a text file for the section
nProcess

Returns

This function returns an integer return code.

<< lxaAddSection | Back to Salience 6 C API Index | lxaPrepareCollection >>