lxaFreeDocument

<< lxaFreeTopicList | Back to Salience 6 C API Index | lxaFreeSummaryResult >>

Summary

This function frees the memory associated with a SalienceDocument structure. This structure is filled in by calls to retrieve markup text such as lxaGetNamedEntityMarkup, lxaGetUserEntityMarkup, lxaGetPOSMarkup, and lxaGetSentimentMarkup and must be called to free memory allocated by these results.

Syntax

int lxaFreeDocument(SalienceDocument* pDocument);

Parameters

pDocument Pointer to a SalienceDocument to be freed

Returns

This method returns an integer return code.

Example

See example code in lxaGetNamedEntityMarkup for usage.

<< lxaFreeTopicList | Back to Salience 6 C API Index | lxaFreeSummaryResult >>