Salience 6 - Concept options

<<Base options | Back to Options index | Entity 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 = <integer value>;
lxaSetSalienceOption(pSession,&oOption);
.NET SalienceEngine.MaxConceptHits = integer value
Java Salience.Options.Concepts.setMaxConceptHits(integer value)
Python salience.setOption_MaxConceptHits(session,integer value, configuration ID)

Back to top

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 = <float value>;
lxaSetSalienceOption(pSession,&oOption);
.NET SalienceEngine.MinConceptScore = float value
Java Salience.Options.Concepts.setMinConceptScore(float value)
Python salience.setOption_MinConceptScore(session,float value, configuration ID)

Back to top

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 = <integer value>;
lxaSetSalienceOption(pSession,&oOption);
.NET SalienceEngine.ConceptWindowSize = integer value
Java Salience.Options.Concepts.setConceptWindowSize(integer value)
Python salience.setOption_ConceptWindowSize(session,integer value, configuration ID)

Back to top

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 = <integer value>;
lxaSetSalienceOption(pSession,&oOption);
.NET SalienceEngine.ConceptWindowJump = integer value
Java Salience.Options.Concepts.setConceptWindowJump(integer value)
Python salience.setOption_ConceptWindowJump(session,integer value, configuration ID)

Back to top

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 = <integer value>;
lxaSetSalienceOption(pSession,&oOption);
.NET SalienceEngine.NongrammaticalTopics = boolean value
Java Salience.Options.Concepts.setNongrammaticalTopics(integer value)
Python salience.setOption_NongrammaticalTopics(session,integer value, configuration ID)

Back to top

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 = <string value>;
lxaSetSalienceOption(pSession,&oOption);
.NET SalienceEngine.ConceptTopics = string value
Java Salience.Options.Concepts.setConceptList(string value)
Python salience.setOption_ConceptTopicList(session,string value, configuration ID)

Back to top