Salience

The Salience Developer Hub

Welcome to the Salience developer hub. You'll find comprehensive guides and documentation to help you start working with Salience as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started

Classification Options

These options have been added in order to provide control over classification functionality.

Classification Threshold

A value from 1 to 100 controlling the threshold that classification results must meet in order to be reported.

Min/Max range

0-100

Default value

55

C API

SalienceOption oOption;
oOption.nOption = SALIENCEOPTION_CLASSIFICATIONTHRESHOLD;
oOption.nValue = ;
lxaSetSalienceOption(pSession,&oOption);

.NET

SalienceEngine.ClassificationThreshold = integer value

Java

Salience.Options.Classifications.setClassificationThreshold(integer value)

Python

salience.setOption_ClassificationThreshold(session,integer value, configuration ID)

Classification Model

A path to a Salience 6 compatible model for use in document classification.

Min/Max range

N/A

Default value

None

C API

SalienceOption oOption;
oOption.nOption = SALIENCEOPTION_CLASSIFICATIONMODEL;
oOption.acValue = ;
lxaSetSalienceOption(pSession,&oOption);

.NET

SalienceEngine.ClassificationModel = string value

Java

Salience.Options.Classifications.setClassificationModel(string value)

Python

salience.setOption_ClassificationModel(session,string value, configuration ID)

Updated 8 months ago

Classification Options


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.