lxaGetDocumentClasses

<< lxaGetDocumentCategories | Back to Salience 6 C API Index | lxaGetIntentions >>

Summary

Retrieves the classifications for a document based on the provided classification model. The classification model is set using the ClassificationModel option.
The acConfigurationID parameter specifies the configuration for the results, which are returned in a SalienceTopicList structure. Configurations are defined using the method lxaAddSalienceConfiguration.
After use you should free the allocated memory by calling lxaFreeTopicList.

Syntax

int lxaGetDocumentClasses(SalienceSession *pSession,
                          SalienceTopicList *pResult,
                          const char *acConfigurationID);

Parameters

pSession Pointer to a SalienceSession structure previously returned by a call to lxaOpenSalienceSession
pResult Pointer to a SalienceTopicList structure
acConfigurationID Character string specifying the configuration for the results, blank for the default configuration

Returns

This function returns an integer return code.

<< lxaGetDocumentCategories | Back to Salience 6 C API Index | lxaGetIntentions >>