Skip to main content

%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

Method Inventory

Properties

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

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

Inherited Members

Inherited Methods

FeedbackOpens in a new tab