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

Concept Options

Max Concept Topic Hits

Limit of concept topic results to return.

Min/Max range

0 - MAX INT

Default value

5

C API

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

.NET

SalienceEngine.MaxConceptHits = integer value

Java

Salience.Options.Concepts.setMaxConceptHits(integer value)

Python

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

Min Concept Topic Score

Minimum score to accept a concept topic to document link.

Min/Max range

0 - 1

Default value

0.45

C API

SalienceOption oOption;
oOption.nOption = SALIENCEOPTION_MINCONCEPTTOPICSCORE;
oOption.fValue = ;
lxaSetSalienceOption(pSession,&oOption);

.NET

SalienceEngine.MinConceptScore = float value

Java

Salience.Options.Concepts.setMinConceptScore(float value)

Python

salience.setOption_MinConceptScore(session,float value, configuration ID)

Concept Topic Window Size

Smaller values allow small, on-topic text to match concepts for the whole document. (0=do not use this feature)

Min/Max range

0 - MAX INT

Default value

0

C API

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

.NET

SalienceEngine.ConceptWindowSize = integer value

Java

Salience.Options.Concepts.setConceptWindowSize(integer value)

Python

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

Concept Topic Window Jump

Smooths out the window feature, at a slight performance hit. Should never be larger than window size, unless window size is set to 0.

Min/Max range

0 - MAX INT

Default value

1

C API

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

.NET

SalienceEngine.ConceptWindowJump = integer value

Java

Salience.Options.Concepts.setConceptWindowJump(integer value)

Python

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

Nongrammatical Topics

Set to 0 if your concept topics are defined by sentences, 1 if they are collections of words.

Min/Max range

0 or 1

Default value

1

C API

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

.NET

SalienceEngine.NongrammaticalTopics = boolean value

Java

Salience.Options.Concepts.setNongrammaticalTopics(integer value)

Python

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

Concept Topic List

Sets path to file containing concept topic definitions. An example file is provided in the Salience distribution, further information on the structure and syntax is provided on the wiki page "Concept Grammar".

Min/Max range

N/A

Default value

No default value

C API

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

.NET

SalienceEngine.ConceptTopics = string value

Java

Salience.Options.Concepts.setConceptList(string value)

Python

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

Updated 7 months ago

Concept Options


Suggested Edits are limited on API Reference Pages

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