This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRIS, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions page (login required).

Home > Class Reference > %SYS namespace > %iKnow.Model.configuration


class %iKnow.Model.configuration extends %iKnow.Model.node

Model representation of the %iKnow.Configuration object. See its class documentation for more details on specific properties.

Property Inventory (Including Private)

Method Inventory (Including Private)

Properties (Including Private)

property detectLanguage as %Boolean (XMLPROJECTION = "attribute") [ InitialExpression = 0 ];
Whether or not to let the iKnow engine automatically detect which of the languages listed in languages each sentence is in.
Property methods: detectLanguageDisplayToLogical(), detectLanguageGet(), detectLanguageIsValid(), detectLanguageLogicalToDisplay(), detectLanguageLogicalToXSD(), detectLanguageNormalize(), detectLanguageSet(), detectLanguageXSDToLogical()
property languages as %String (MAXLEN = 250, XMLPROJECTION = "attribute");
The language models to load in the engine when processing text. If the engine is to decide which language each sentence / source is in, also set detectLanguage to 1
Property methods: languagesDisplayToLogical(), languagesGet(), languagesIsValid(), languagesLogicalToDisplay(), languagesLogicalToOdbc(), languagesNormalize(), languagesSet()
property maxConceptLength as %Integer (XMLPROJECTION = "attribute");
The maximum number of words in a concept. Concepts with more words will be interpreted as noise and split into single-word concepts. Use this property to override the language model default. Advanced use only!
Property methods: maxConceptLengthDisplayToLogical(), maxConceptLengthGet(), maxConceptLengthIsValid(), maxConceptLengthLogicalToDisplay(), maxConceptLengthNormalize(), maxConceptLengthSet(), maxConceptLengthXSDToLogical()
property name as %String (MAXLEN = 150, XMLPROJECTION = "attribute");
Name of the configuration. Must be unique within the namespace (across domains)
Property methods: nameDisplayToLogical(), nameGet(), nameIsValid(), nameLogicalToDisplay(), nameLogicalToOdbc(), nameNormalize(), nameSet()
property summarize as %Boolean (XMLPROJECTION = "attribute") [ InitialExpression = 1 ];
Whether or not to produce summary information while indexing text.
Property methods: summarizeDisplayToLogical(), summarizeGet(), summarizeIsValid(), summarizeLogicalToDisplay(), summarizeLogicalToXSD(), summarizeNormalize(), summarizeSet(), summarizeXSDToLogical()
property userDictionary as %String (MAXLEN = 1000, XMLPROJECTION = "attribute");
If defined, uses this user dictionary to rewrite text fed into the engine.
Property methods: userDictionaryDisplayToLogical(), userDictionaryGet(), userDictionaryIsValid(), userDictionaryLogicalToDisplay(), userDictionaryLogicalToOdbc(), userDictionaryNormalize(), userDictionarySet()

Methods (Including Private)

method %Validate(pDomainId As %Integer, pDomainDefinition As %iKnow.Model.domain) as %Status

Inherited Members

Inherited Methods (Including Private)