- getAdditionalStopWords() - Method in interface org.nlpcraft.model.NCModel
-
Gets an optional list of stopwords to add to the built-in ones.
- getAdditionalStopWords() - Method in class org.nlpcraft.model.NCModelFileAdapter
-
- getAs(String) - Method in interface org.nlpcraft.model.NCMetadata
-
Gets typed mandatory metadata value.
- getBody() - Method in class org.nlpcraft.model.NCQueryResult
-
Gets result body.
- getBoolean(String) - Method in interface org.nlpcraft.model.NCMetadata
-
Gets mandatory boolean metadata value.
- getBooleanOpt(String) - Method in interface org.nlpcraft.model.NCMetadata
-
Gets optional boolean metadata value.
- getBooleanOrElse(String, boolean) - Method in interface org.nlpcraft.model.NCMetadata
-
Gets optional boolean metadata value.
- getClause() - Method in interface org.nlpcraft.model.utils.NCTokenSqlAdapter
-
Gets part of SQL syntax with '?' for each parameter.
- getClauseParameters() - Method in interface org.nlpcraft.model.utils.NCTokenSqlAdapter
-
- getConversationContext() - Method in interface org.nlpcraft.model.NCQueryContext
-
Gets current conversation context.
- getCoordinateLatitude(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Gets coordinate latitude for this nlpcraft:coordinate
token.
- getCoordinateLongitude(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Gets coordinate longitude for this nlpcraft:coordinate
token.
- getData() - Method in interface org.nlpcraft.model.NCSentence
-
Gets optional JSON data passed in with user input.
- getDateFrom(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Gets start timestamp of the date range nlpcraft:date
token.
- getDateTo(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Gets end timestamp of the date range nlpcraft:date
token.
- getDescription() - Method in interface org.nlpcraft.model.NCElement
-
Gets optional element description.
- getDescription() - Method in interface org.nlpcraft.model.NCModel
-
Gets optional short model description.
- getDescription() - Method in class org.nlpcraft.model.NCModelFileAdapter
-
- getDouble(String) - Method in interface org.nlpcraft.model.NCMetadata
-
Gets mandatory double metadata value.
- getDoubleOpt(String) - Method in interface org.nlpcraft.model.NCMetadata
-
Gets optional double metadata value.
- getDoubleOrElse(String, double) - Method in interface org.nlpcraft.model.NCMetadata
-
Gets optional double metadata value.
- getDownLink() - Method in interface org.nlpcraft.model.NCProbeContext
-
Gets downlink endpoint for this probe.
- getElementId() - Method in interface org.nlpcraft.model.parsing.NCCustomElement
-
Gets ID of the detected model element.
- getElementMetadata() - Method in interface org.nlpcraft.model.NCToken
-
Gets model element metadata when this token corresponds to the user element.
- getElements() - Method in interface org.nlpcraft.model.NCModel
-
Gets a set of model elements.
- getElements() - Method in class org.nlpcraft.model.NCModelFileAdapter
-
- getEnabledTokens() - Method in interface org.nlpcraft.model.NCModel
-
Gets set of IDs for built-in tokens that should be enabled and detected for this model.
- getEnabledTokens() - Method in class org.nlpcraft.model.NCModelFileAdapter
-
- getEndCharIndex() - Method in interface org.nlpcraft.model.parsing.NCCustomWord
-
Gets end character index of this token.
- getExamples() - Method in interface org.nlpcraft.model.NCModel
-
Gets an optional list of example sentences demonstrating what can be asked with this model.
- getExamples() - Method in class org.nlpcraft.model.NCModelFileAdapter
-
- getExcludedStopWords() - Method in interface org.nlpcraft.model.NCModel
-
Gets an optional list of stopwords to exclude from the built-in list of stopwords.
- getExcludedStopWords() - Method in class org.nlpcraft.model.NCModelFileAdapter
-
- getExcludedSynonyms() - Method in interface org.nlpcraft.model.NCElement
-
- getFunIndexes(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Gets indexes of the element(s) given @code nlpcraft:function} token is referencing.
- getFunLimit(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Gets limit value if given nlpcraft:function
token represents LIMIT
function.
- getGeoCity(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Gets city for given nlpcraft:geo
token.
- getGeoContinent(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Gets continent for given nlpcraft:geo
token.
- getGeoCountry(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Gets country for given nlpcraft:geo
token.
- getGeoLatitude(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Gets optional latitude of the given nlpcraft:geo
token.
- getGeoLongitude(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Gets optional longitude of the given nlpcraft:geo
token.
- getGeoMetro(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Gets metro area code for given nlpcraft:geo
token.
- getGeoRegion(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Gets region for given nlpcraft:geo
token.
- getGeoSubcontinent(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Gets subcontinent for given nlpcraft:geo
token.
- getGoogleMentionsBeginOffsets(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Gets Google Natural Language mentions begin offsets for given google:
token.
- getGoogleMentionsContents(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Gets Google Natural Language mentions contents for given google:
token.
- getGoogleMentionsTypes(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Gets Google Natural Language mentions types for given google:
token.
- getGoogleMeta(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Gets Google Natural Language meta data for given google:
token.
- getGoogleSalience(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Gets Google Natural Language salience for given google:
token.
- getGroups() - Method in interface org.nlpcraft.model.NCElement
-
Gets the list of groups this elements belongs to.
- getGroups() - Method in interface org.nlpcraft.model.NCToken
-
Gets the list of groups this token belongs to.
- getId() - Method in class org.nlpcraft.model.intent.NCIntentSolver.INTENT
-
Gets ID of this intent.
- getId() - Method in class org.nlpcraft.model.intent.NCIntentSolver.TERM
-
Gets optional term ID.
- getId() - Method in interface org.nlpcraft.model.NCElement
-
Gets unique ID of this element.
- getId() - Method in interface org.nlpcraft.model.NCModel
-
Gets unique, immutable ID of this model.
- getId() - Method in class org.nlpcraft.model.NCModelAdapter
-
- getId() - Method in class org.nlpcraft.model.NCModelFileAdapter
-
- getId() - Method in interface org.nlpcraft.model.NCProbeContext
-
Gets ID of the probe.
- getId() - Method in interface org.nlpcraft.model.NCToken
-
If this token represents user defined model element this method returns
the ID of that element.
- getInteger(String) - Method in interface org.nlpcraft.model.NCMetadata
-
Gets mandatory integer metadata value.
- getIntegerOpt(String) - Method in interface org.nlpcraft.model.NCMetadata
-
Gets optional integer metadata value.
- getIntegerOrElse(String, int) - Method in interface org.nlpcraft.model.NCMetadata
-
Gets optional integer metadata value.
- getIntentId() - Method in interface org.nlpcraft.model.intent.NCIntentSolverContext
-
Gets ID of the matched intent.
- getIntents() - Method in class org.nlpcraft.model.intent.NCIntentSolver
-
Gets all added intents.
- getIntentTokens() - Method in interface org.nlpcraft.model.intent.NCIntentSolverContext
-
Gets a subset of tokens representing matched intent.
- getJarsFolder() - Method in interface org.nlpcraft.model.NCProbeContext
-
Gets optional folder to scan for model JARs.
- getJiggleFactor() - Method in interface org.nlpcraft.model.NCModel
-
Measure of how much sparsity is allowed when user input words are reordered in attempt to
match the multi-word synonyms.
- getJiggleFactor() - Method in class org.nlpcraft.model.NCModelFileAdapter
-
- getLemma() - Method in interface org.nlpcraft.model.parsing.NCCustomWord
-
Gets the lemma of this token, i.e.
- getLemma(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Gets lemma of the given token.
- getLong(String) - Method in interface org.nlpcraft.model.NCMetadata
-
Gets mandatory long metadata value.
- getLongOpt(String) - Method in interface org.nlpcraft.model.NCMetadata
-
Gets optional long metadata value.
- getLongOrElse(String, long) - Method in interface org.nlpcraft.model.NCMetadata
-
Gets optional long metadata value.
- getMacros() - Method in interface org.nlpcraft.model.NCModel
-
Gets an optional map of macros to be used in this model.
- getMacros() - Method in class org.nlpcraft.model.NCModelFileAdapter
-
- getMax() - Method in class org.nlpcraft.model.intent.NCIntentSolver.TERM
-
Gets max quantifier for this term.
- getMaxFreeWords() - Method in interface org.nlpcraft.model.NCModel
-
Gets maximum number of free words until automatic rejection.
- getMaxFreeWords() - Method in class org.nlpcraft.model.NCModelFileAdapter
-
- getMaxIndex(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Gets index of the last word in the given token.
- getMaxSuspiciousWords() - Method in interface org.nlpcraft.model.NCModel
-
Gets maximum number of suspicious words until automatic rejection.
- getMaxSuspiciousWords() - Method in class org.nlpcraft.model.NCModelFileAdapter
-
- getMaxTokens() - Method in interface org.nlpcraft.model.NCModel
-
Gets maximum number of all tokens (system and user defined) above which user input will be
automatically rejected as too long.
- getMaxTokens() - Method in class org.nlpcraft.model.NCModelFileAdapter
-
- getMaxTotalSynonyms() - Method in interface org.nlpcraft.model.NCModel
-
Total number of synonyms allowed per model.
- getMaxTotalSynonyms() - Method in class org.nlpcraft.model.NCModelFileAdapter
-
- getMaxUnknownWords() - Method in interface org.nlpcraft.model.NCModel
-
Gets maximum number of unknown words until automatic rejection.
- getMaxUnknownWords() - Method in class org.nlpcraft.model.NCModelFileAdapter
-
- getMaxWords() - Method in interface org.nlpcraft.model.NCModel
-
Gets maximum word count (including stopwords) above which user input will be automatically
rejected as too long.
- getMaxWords() - Method in class org.nlpcraft.model.NCModelFileAdapter
-
- getMetadata() - Method in interface org.nlpcraft.model.NCElement
-
Gets optional user-defined element's metadata.
- getMetadata() - Method in interface org.nlpcraft.model.NCModel
-
Gets optional user specific model metadata can be set by the developer and accessed later.
- getMetadata() - Method in class org.nlpcraft.model.NCModelFileAdapter
-
- getMetadata() - Method in interface org.nlpcraft.model.NCToken
-
Gets token metadata.
- getMetadata() - Method in interface org.nlpcraft.model.parsing.NCCustomElement
-
- getMin() - Method in class org.nlpcraft.model.intent.NCIntentSolver.TERM
-
Gets min quantifier for this term.
- getMinIndex(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Gets index of the first word in the given token.
- getMinNonStopwords() - Method in interface org.nlpcraft.model.NCModel
-
Gets minimum word count (excluding stopwords) below which user input will be automatically rejected
as ambiguous sentence.
- getMinNonStopwords() - Method in class org.nlpcraft.model.NCModelFileAdapter
-
- getMinTokens() - Method in interface org.nlpcraft.model.NCModel
-
Gets minimum number of all tokens (system and user defined) below which user input will be
automatically rejected as too short.
- getMinTokens() - Method in class org.nlpcraft.model.NCModelFileAdapter
-
- getMinWords() - Method in interface org.nlpcraft.model.NCModel
-
Gets minimum word count (including stopwords) below which user input will be automatically
rejected as too short.
- getMinWords() - Method in class org.nlpcraft.model.NCModelFileAdapter
-
- getModel() - Method in interface org.nlpcraft.model.NCQueryContext
-
Gets model instance for this query.
- getModelId() - Method in interface org.nlpcraft.model.test.NCTestResult
-
Gets model ID the test sentence was sent with.
- getModels() - Method in interface org.nlpcraft.model.NCProbeContext
-
Gets model classes, potentially empty.
- getName() - Method in class org.nlpcraft.model.intent.NCIntentSolver
-
Gets solver name.
- getName() - Method in interface org.nlpcraft.model.NCElement.NCValue
-
Gets value name.
- getName() - Method in interface org.nlpcraft.model.NCModel
-
Gets descriptive name of this model.
- getName() - Method in class org.nlpcraft.model.NCModelAdapter
-
- getName() - Method in class org.nlpcraft.model.NCModelFileAdapter
-
- getNormalizedText() - Method in interface org.nlpcraft.model.NCSentence
-
Gets normalized text of the user input.
- getNormalizedText(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Gets normalized user input text for given token.
- getNormText() - Method in interface org.nlpcraft.model.parsing.NCCustomWord
-
Gets normalized user input text for this token.
- getNumFrom(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Gets the start of the numeric range that satisfies the condition of given nlpcraft:num
token.
- getNumIndex(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Gets optional index of another token in the sentence that this nlpcraft:num
token is referring to.
- getNumTo(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Gets the end of numeric range that satisfies the condition of given nlpcraft:num
token.
- getNumUnit(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Gets optional unit for this nlpcraft:num
token, e.g.
- getNumUnitType(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Gets optional unit type for this nlpcraft:num
token, e.g.
- getOp() - Method in class org.nlpcraft.model.intent.NCIntentSolver.RULE
-
Gets binary operation of this rule.
- getOpenNlpProbability(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Gets OpenNLP probability value for given opennlp:
token.
- getOptAs(String) - Method in interface org.nlpcraft.model.NCMetadata
-
Gets typed optional metadata value.
- getOriginalText(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Gets original user input text for given token.
- getOrigText() - Method in interface org.nlpcraft.model.parsing.NCCustomWord
-
Gets original user input text for this token.
- getParameter() - Method in class org.nlpcraft.model.intent.NCIntentSolver.RULE
-
Gets left-side parameter of this rule.
- getParentId() - Method in interface org.nlpcraft.model.NCElement
-
Gets optional ID of the immediate parent element.
- getParentId() - Method in interface org.nlpcraft.model.NCToken
-
Gets the optional parent ID of the model element this token represents.
- getParser() - Method in interface org.nlpcraft.model.NCModel
-
Gets optional custom user parser for model elements.
- getPos() - Method in interface org.nlpcraft.model.parsing.NCCustomWord
-
Gets Penn Treebank POS tag for this token.
- getPosDescription() - Method in interface org.nlpcraft.model.parsing.NCCustomWord
-
Gets description of Penn Treebank POS tag.
- getPosDescription(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Gets description of Penn Treebank POS tag.
- getPosTag(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Gets Penn Treebank POS tag for given token.
- getPredicate() - Method in class org.nlpcraft.model.intent.NCIntentSolver.TERM
-
Gets term's predicate.
- getProcessingTime() - Method in interface org.nlpcraft.model.test.NCTestResult
-
Gets total sentence processing time in milliseconds.
- getQueryContext() - Method in interface org.nlpcraft.model.intent.NCIntentSolverContext
-
- getReceiveTimestamp() - Method in interface org.nlpcraft.model.NCSentence
-
Gets UTC/GMT timestamp in ms when user input was received.
- getRemoteAddress() - Method in interface org.nlpcraft.model.NCSentence
-
Gets optional address of the remote client.
- getResult() - Method in interface org.nlpcraft.model.test.NCTestResult
-
Gets optional execution result.
- getResultError() - Method in interface org.nlpcraft.model.test.NCTestResult
-
Gets optional execution error.
- getResultType() - Method in interface org.nlpcraft.model.test.NCTestResult
-
Gets optional execution result type.
- getSentence() - Method in interface org.nlpcraft.model.NCQueryContext
-
Gets fully parsed, canonical representation of user input.
- getServerRequestId() - Method in interface org.nlpcraft.model.NCQueryContext
-
Gets ID of the current request.
- getServerRequestId() - Method in interface org.nlpcraft.model.NCSentence
-
Gets globally unique server ID of the current request.
- getServerRequestId() - Method in interface org.nlpcraft.model.NCToken
-
Gets ID of the server request this token is part of.
- getSolver() - Method in class org.nlpcraft.model.NCModelAdapter
-
Gets previously set intent solver for this model or null
.
- getSparsity(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Gets numeric value of how sparse the given token is.
- getStanfordConfidence(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Gets Stanford CoreNLP confidence value for given stanford:
token.
- getStanfordNne(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Gets optional Stanford CoreNLP Normalized Named Entity (NNE) value for given stanford:
token.
- getStartCharIndex() - Method in interface org.nlpcraft.model.parsing.NCCustomWord
-
Gets start character index of this token.
- getStem() - Method in interface org.nlpcraft.model.parsing.NCCustomWord
-
Gets the stem of this token.
- getStem(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Gets stem of the given token.
- getString(String) - Method in interface org.nlpcraft.model.NCMetadata
-
Gets mandatory string metadata value.
- getStringOpt(String) - Method in interface org.nlpcraft.model.NCMetadata
-
Gets optional string metadata value.
- getStringOrElse(String, String) - Method in interface org.nlpcraft.model.NCMetadata
-
Gets optional string metadata value.
- getSuspiciousWords() - Method in interface org.nlpcraft.model.NCModel
-
Gets an optional list of suspicious words.
- getSuspiciousWords() - Method in class org.nlpcraft.model.NCModelFileAdapter
-
- getSynonyms() - Method in interface org.nlpcraft.model.NCElement
-
Gets the list of synonyms by which this semantic element will be recognized by.
- getSynonyms() - Method in interface org.nlpcraft.model.NCElement.NCValue
-
Gets optional list of value's synonyms.
- getTerms() - Method in class org.nlpcraft.model.intent.NCIntentSolver.INTENT
-
Gets list of terms defining this intent.
- getTermTokens(int) - Method in interface org.nlpcraft.model.intent.NCIntentSolverContext
-
Gets tokens for given term.
- getTermTokens(String) - Method in interface org.nlpcraft.model.intent.NCIntentSolverContext
-
Gets tokens for given term.
- getText() - Method in interface org.nlpcraft.model.test.NCTestResult
-
Gets test sentence text.
- getToken() - Method in interface org.nlpcraft.model.NCProbeContext
-
Gets probe token.
- getTokenIndex(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Gets index of the given token in the sentence.
- getTokens() - Method in interface org.nlpcraft.model.NCConversationContext
-
Gets an ordered list of tokens stored in the current conversation STM for current
user (i.e.
- getTokens() - Method in class org.nlpcraft.model.NCQueryResult
-
Gets tokens that were used to produce this query result.
- getType() - Method in class org.nlpcraft.model.NCQueryResult
-
Gets result type.
- getUnid(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Gets internal globally unique system ID of the given token.
- getUpLink() - Method in interface org.nlpcraft.model.NCProbeContext
-
Gets uplink endpoint for this probe.
- getUserAvatarUrl() - Method in interface org.nlpcraft.model.NCSentence
-
Gets user avatar URL (data:
or http:
scheme URLs).
- getUserClientAgent() - Method in interface org.nlpcraft.model.NCSentence
-
Gets string representation of the user client agent that made the call with
this sentence.
- getUserEmail() - Method in interface org.nlpcraft.model.NCSentence
-
Gets email of the user that made the request.
- getUserFirstName() - Method in interface org.nlpcraft.model.NCSentence
-
Gets first name of the user that made the request.
- getUserLastName() - Method in interface org.nlpcraft.model.NCSentence
-
Gets last name of the user that made the request.
- getUserProperties() - Method in interface org.nlpcraft.model.NCSentence
-
Gets properties associated with the current user that made the call with this sentence.
- getUserSignupDate() - Method in interface org.nlpcraft.model.NCSentence
-
Gets signup date of the user that made the request.
- getValue() - Method in class org.nlpcraft.model.intent.NCIntentSolver.RULE
-
Gets right-side value of this rule.
- getValue() - Method in interface org.nlpcraft.model.NCToken
-
Gets the value if this token was detected via element's value (or its synonyms).
- getValues() - Method in interface org.nlpcraft.model.NCElement
-
Gets optional map of
values
for this element.
- getVariants() - Method in interface org.nlpcraft.model.NCSentence
-
Gets collection of all parsing variants for this sentence.
- getVariantTokens() - Method in interface org.nlpcraft.model.intent.NCIntentSolverContext
-
Gets sentence parsing variant that produced the matching for this intent.
- getVersion() - Method in interface org.nlpcraft.model.NCModel
-
Gets the version of this model using semantic versioning.
- getVersion() - Method in class org.nlpcraft.model.NCModelAdapter
-
- getVersion() - Method in class org.nlpcraft.model.NCModelFileAdapter
-
- getWordIndexes(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Gets list of word indexes in the given token.
- getWordLength(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Gets number of individual words in the given token.
- getWords() - Method in interface org.nlpcraft.model.parsing.NCCustomElement
-
Gets custom tokens that comprise detected model element.
- initialize(Map<String, String>) - Method in class org.nlpcraft.model.factories.basic.NCBasicModelFactory
-
- initialize(Map<String, String>) - Method in class org.nlpcraft.model.factories.spring.NCSpringModelFactory
-
- initialize(NCProbeContext) - Method in interface org.nlpcraft.model.NCModel
-
Probe calls this method to initialize the model when it gets deployed in the probe.
- initialize(Map<String, String>) - Method in interface org.nlpcraft.model.NCModelFactory
-
Initializes this factory with properties from probe.config
file.
- INTENT(String, boolean, boolean, NCIntentSolver.TERM...) - Constructor for class org.nlpcraft.model.intent.NCIntentSolver.INTENT
-
Creates new intent with given parameters.
- isAdjective(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Tests whether POS tag for given token is one of JJ
, JJR
, or JJS
.
- isAdverb(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Tests whether POS tag for given token is one of RB
, RBR
, RBS
or WRB
.
- isAscendingFun(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Optional value of whether this limit or sort nlpcraft:function
token is ascending or descending.
- isAvgFun(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Tests if given nlpcraft:function
token represents AVG
function of some elements.
- isBracketed() - Method in interface org.nlpcraft.model.parsing.NCCustomWord
-
Gets whether or not this token is surrounded by any of '[', ']', '{', '}', '(', ')'
brackets.
- isBracketed(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Tests whether or not this token is surrounded by any of '[', ']', '{', '}', '(', ')'
brackets.
- isCompareFun(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Tests if given nlpcraft:function
token represents COMPARE
function of some elements.
- isContiguous(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Tests whether or not the given token has zero sparsity.
- isConversational() - Method in class org.nlpcraft.model.intent.NCIntentSolver.INTENT
-
Gets conversation policy flag.
- isCoordinate(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Whether or not this token has
nlpcraft:coordinate
ID
.
- isCorrelationFun(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Tests if given nlpcraft:function
token represents CORRELATION
function of some elements.
- isDate(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Whether or not this token has
nlpcraft:date
ID
.
- isDateAfter(NCToken, long) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Tests if given timestamp is after the date range for given nlpcraft:date
token.
- isDateBefore(NCToken, long) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Tests if given timestamp is before the date range for given nlpcraft:date
token.
- isDateIntersect(NCToken, long, long) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Tests if given from and to timestamps intersect (inclusively) with the date range for
given nlpcraft:date
token.
- isDateWithin(NCToken, long) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Tests if given timestamp is within (inclusively) the date range for given nlpcraft:date
token.
- isDeterminer(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Tests whether POS tag for given token is one of DT
, PDT
, or WDT
.
- isDirectSynonym(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Whether or not this token was matched on direct (nor permutated) synonym.
- isDupSynonymsAllowed() - Method in interface org.nlpcraft.model.NCModel
-
Whether or not duplicate synonyms are allowed.
- isDupSynonymsAllowed() - Method in class org.nlpcraft.model.NCModelFileAdapter
-
- isEnglish(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Tests whether the given token represents an English word.
- isExactMatch() - Method in interface org.nlpcraft.model.intent.NCIntentSolverContext
-
Indicates whether or not the intent match was exact.
- isFailed() - Method in interface org.nlpcraft.model.test.NCTestResult
-
Tests whether or not this result corresponds to a failed execution.
- isFreeWord(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Tests whether or not given token represents a free word.
- isFunction(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Whether or not this token has
nlpcraft:function
ID
.
- isGeo(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Whether or not this token has
nlpcraft:geo
ID
.
- isGeoCity(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Tests if given nlpcraft:geo
token represents a city
.
- isGeoContinent(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Tests if given nlpcraft:geo
token represents a continent
.
- isGeoCountry(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Tests if given nlpcraft:geo
token represents a country
.
- isGeoMetro(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Tests if given nlpcraft:geo
token represents a metro
.
- isGeoRegion(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Tests if given nlpcraft:geo
token represents a region
.
- isGeoSubcontinent(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Tests if given nlpcraft:geo
token represents a subcontinent
.
- isGroupFun(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Tests if given nlpcraft:function
token represents GROUP
function of some elements.
- isKnownWord(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Tests whether or not this token is found in Princeton WordNet database.
- isLimitFun(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Tests if given nlpcraft:function
token represents LIMIT
function of some elements.
- isMaxFun(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Tests if given nlpcraft:function
token represents MAX
function of some elements.
- isMinFun(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Tests if given nlpcraft:function
token represents MIN
function of some elements.
- isNlp(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Whether or not this token has
nlpcraft:nlp
ID
.
- isNonEnglishAllowed() - Method in interface org.nlpcraft.model.NCModel
-
Whether or not to allow non-English language in user input.
- isNonEnglishAllowed() - Method in class org.nlpcraft.model.NCModelFileAdapter
-
- isNoNounsAllowed() - Method in interface org.nlpcraft.model.NCModel
-
Whether or not to allow user input without a single noun.
- isNoNounsAllowed() - Method in class org.nlpcraft.model.NCModelFileAdapter
-
- isNotLatinCharsetAllowed() - Method in interface org.nlpcraft.model.NCModel
-
Whether or not to allow non-Latin charset in user input.
- isNotLatinCharsetAllowed() - Method in class org.nlpcraft.model.NCModelFileAdapter
-
- isNoun(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Tests whether POS tag for given token is one of NN
, NNS
, NNP
, or NNPS
.
- isNoUserTokensAllowed() - Method in interface org.nlpcraft.model.NCModel
-
Whether or not to allow the user input with no user token detected.
- isNoUserTokensAllowed() - Method in class org.nlpcraft.model.NCModelFileAdapter
-
- isNumEqualCondition(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Whether given nlpcraft:num
token represents a equality condition or single numeric value.
- isNumeric(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Whether or not this token has
nlpcraft:num
ID
.
- isNumFractional(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Whether this token's value (single numeric value of a range) is a whole or a fractional number
for given nlpcraft:num
token.
- isNumFromInclusive(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Whether or not start of the numeric range is inclusive for given nlpcraft:num
token.
- isNumFromNegativeInfCondition(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Whether given nlpcraft:num
token represents a range to negative infinity.
- isNumNotEqualCondition(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Whether given nlpcraft:num
token represents a not-equality condition.
- isNumRangeCondition(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Whether given nlpcraft:num
token represents a range condition.
- isNumToInclusive(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Whether or not end of the numeric range is inclusive for given nlpcraft:num
token.
- isNumToPositiveInfCondition(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Whether given nlpcraft:num
token represents a range to positive infinity.
- isOk() - Method in interface org.nlpcraft.model.test.NCTestResult
-
Tests whether or not this result corresponds to a successful execution.
- isOrdered() - Method in class org.nlpcraft.model.intent.NCIntentSolver.INTENT
-
Whether or not this intent is ordered, i.e.
- isOwnerOf(NCToken) - Method in interface org.nlpcraft.model.NCSentence
-
Tests if given token is part of this sentence.
- isPermutateSynonyms() - Method in interface org.nlpcraft.model.NCModel
-
Whether or not to permutate multi-word synonyms.
- isPermutateSynonyms() - Method in class org.nlpcraft.model.NCModelFileAdapter
-
- isPreposition(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Tests whether POS tag for given token is IN
.
- isPronoun(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Tests whether POS tag for given token is one of PRP
or PRP$
.
- isQuoted() - Method in interface org.nlpcraft.model.parsing.NCCustomWord
-
Gets whether or not this token is surrounded by single or double quotes.
- isQuoted(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Tests whether or not given token is surrounded by single or double quotes.
- isSortFun(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Tests if given nlpcraft:function
token represents SORT
function of some elements.
- isStopword() - Method in interface org.nlpcraft.model.parsing.NCCustomWord
-
Gets whether or not this token is a stopword.
- isStopWord(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Tests whether or not the given token is a stopword.
- isSumFun(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Tests if given nlpcraft:function
token represents SUM
function of some elements.
- isSwearWord(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Tests whether or not the given token is a swear word.
- isSwearWordsAllowed() - Method in interface org.nlpcraft.model.NCModel
-
Whether or not to allow known English swear words in user input.
- isSwearWordsAllowed() - Method in class org.nlpcraft.model.NCModelFileAdapter
-
- isSynthetic(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Tests whether given token's POS tag is a synthetic one (for multiword token).
- isSystemDefined() - Method in interface org.nlpcraft.model.NCToken
-
Checks whether or not this token represents a built-in named entity token.
- isUserAdmin() - Method in interface org.nlpcraft.model.NCSentence
-
Tests whether or not the user has administrative privileges.
- isUserDefined() - Method in interface org.nlpcraft.model.NCToken
-
Checks whether or not this token represents a user defined model element.
- isVerb(NCToken) - Static method in class org.nlpcraft.model.utils.NCTokenUtils
-
Tests whether POS tag for given token is one of VB
, VBD
, VBG
,
VBN
, VBP
, or VBZ
.