- getAdditionalStopWords() - Method in class org.nlpcraft.model.NCModelFileAdapter
-
- getAdditionalStopWords() - Method in interface org.nlpcraft.model.NCModelView
-
Gets an optional list of stopwords to add to the built-in ones.
- getAddress() - Method in interface org.nlpcraft.model.NCCompany
-
Gets optional postal address of the company.
- getAncestors() - Method in interface org.nlpcraft.model.NCToken
-
Gets the list of all parent IDs from this token up to the root.
- getAvatarUrl() - Method in interface org.nlpcraft.model.NCUser
-
Gets optional user avatar URL (data:
or http:
scheme URLs).
- getBody() - Method in class org.nlpcraft.model.NCQueryResult
-
Gets result body.
- getBody() - Method in interface org.nlpcraft.probe.embedded.NCEmbeddedResult
-
Gets optional result body.
- getCity() - Method in interface org.nlpcraft.model.NCCompany
-
Gets optional city of the company.
- getClientAgent() - Method in interface org.nlpcraft.model.NCRequest
-
Gets string representation of the user client agent that made the call with
this request.
- getCompany() - Method in interface org.nlpcraft.model.NCRequest
-
Gets descriptor of the user's company on behalf of which this request was submitted.
- getConversation() - Method in interface org.nlpcraft.model.NCQueryContext
-
Gets current conversation.
- getCountry() - Method in interface org.nlpcraft.model.NCCompany
-
Gets optional country of the company.
- getData() - Method in interface org.nlpcraft.model.NCRequest
-
Gets optional JSON data passed in with user request.
- getDescription() - Method in interface org.nlpcraft.model.NCElement
-
Gets optional element description.
- getDescription() - Method in class org.nlpcraft.model.NCModelFileAdapter
-
- getDescription() - Method in interface org.nlpcraft.model.NCModelView
-
Gets optional short model description.
- getElementId() - Method in interface org.nlpcraft.model.NCCustomElement
-
Gets ID of the detected model element.
- getElements() - Method in class org.nlpcraft.model.NCModelFileAdapter
-
- getElements() - Method in interface org.nlpcraft.model.NCModelView
-
Gets a set of model elements or named entities.
- getEmail() - Method in interface org.nlpcraft.model.NCUser
-
Gets email of the user.
- getEnabledTokens() - Method in class org.nlpcraft.model.NCModelFileAdapter
-
- getEnabledTokens() - Method in interface org.nlpcraft.model.NCModelView
-
Gets a set of IDs for built-in named entities (tokens) that should be enabled and detected for this model.
- getEndCharIndex() - Method in interface org.nlpcraft.model.NCCustomWord
-
Gets end character index of this word in the original text.
- getEndCharIndex() - Method in interface org.nlpcraft.model.NCToken
-
Gets end character index of this token in the original text.
- getErrorCode() - Method in interface org.nlpcraft.probe.embedded.NCEmbeddedResult
-
Gets optional error code.
- getErrorMessage() - Method in interface org.nlpcraft.probe.embedded.NCEmbeddedResult
-
Gets optional error message.
- getExamples() - Method in class org.nlpcraft.model.NCModelFileAdapter
-
- getExamples() - Method in interface org.nlpcraft.model.NCModelView
-
Gets an optional list of example sentences demonstrating what can be asked with this model.
- getExcludedStopWords() - Method in class org.nlpcraft.model.NCModelFileAdapter
-
- getExcludedStopWords() - Method in interface org.nlpcraft.model.NCModelView
-
Gets an optional list of stopwords to exclude from the built-in list of stopwords.
- getFirstName() - Method in interface org.nlpcraft.model.NCUser
-
Gets first name of the user.
- 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 interface org.nlpcraft.model.NCCompany
-
Gets ID of the company.
- getId() - Method in interface org.nlpcraft.model.NCElement
-
Gets unique ID of this element.
- getId() - Method in class org.nlpcraft.model.NCModelAdapter
-
- getId() - Method in class org.nlpcraft.model.NCModelFileAdapter
-
- getId() - Method in interface org.nlpcraft.model.NCModelView
-
Gets unique, immutable ID of this model.
- getId() - Method in interface org.nlpcraft.model.NCToken
-
If this token represents user defined model element this method returns
the ID of that element.
- getId() - Method in interface org.nlpcraft.model.NCUser
-
Gets ID of this user.
- getIntentId() - Method in interface org.nlpcraft.model.NCIntentContext
-
Gets ID of the matched intent.
- getIntents() - Method in class org.nlpcraft.model.NCModelFileAdapter
-
Gets list of intents declared in JSON/YML model definition, if any.
- getIntentTokens() - Method in interface org.nlpcraft.model.NCIntentContext
-
Gets a subset of tokens representing matched intent.
- getJiggleFactor() - Method in class org.nlpcraft.model.NCModelFileAdapter
-
- getJiggleFactor() - Method in interface org.nlpcraft.model.NCModelView
-
Measure of how much sparsity is allowed when user input words are reordered in attempt to
match the multi-word synonyms.
- getLastName() - Method in interface org.nlpcraft.model.NCUser
-
Gets last name of the user.
- getLemma() - Method in interface org.nlpcraft.model.NCCustomWord
-
Gets the lemma of this word, a canonical form of this word.
- getLogHolder() - Method in interface org.nlpcraft.probe.embedded.NCEmbeddedResult
-
Gets request processing log holder as JSON string.
- getMacros() - Method in class org.nlpcraft.model.NCModelFileAdapter
-
- getMacros() - Method in interface org.nlpcraft.model.NCModelView
-
Gets an optional map of macros to be used in this model.
- getMaxFreeWords() - Method in class org.nlpcraft.model.NCModelFileAdapter
-
- getMaxFreeWords() - Method in interface org.nlpcraft.model.NCModelView
-
Gets maximum number of free words until automatic rejection.
- getMaxSuspiciousWords() - Method in class org.nlpcraft.model.NCModelFileAdapter
-
- getMaxSuspiciousWords() - Method in interface org.nlpcraft.model.NCModelView
-
Gets maximum number of suspicious words until automatic rejection.
- getMaxTokens() - Method in class org.nlpcraft.model.NCModelFileAdapter
-
- getMaxTokens() - Method in interface org.nlpcraft.model.NCModelView
-
Gets maximum number of all tokens (system and user defined) above which user input will be
automatically rejected as too long.
- getMaxTotalSynonyms() - Method in class org.nlpcraft.model.NCModelFileAdapter
-
- getMaxTotalSynonyms() - Method in interface org.nlpcraft.model.NCModelView
-
Total number of synonyms allowed per model.
- getMaxUnknownWords() - Method in class org.nlpcraft.model.NCModelFileAdapter
-
- getMaxUnknownWords() - Method in interface org.nlpcraft.model.NCModelView
-
Gets maximum number of unknown words until automatic rejection.
- getMaxWords() - Method in class org.nlpcraft.model.NCModelFileAdapter
-
- getMaxWords() - Method in interface org.nlpcraft.model.NCModelView
-
Gets maximum word count (including stopwords) above which user input will be automatically
rejected as too long.
- getMetadata() - Method in interface org.nlpcraft.model.NCCustomElement
-
- getMetadata() - Method in interface org.nlpcraft.model.NCElement
-
Gets optional user-defined element's metadata.
- getMetadata() - Method in class org.nlpcraft.model.NCModelFileAdapter
-
- getMetadata() - Method in interface org.nlpcraft.model.NCModelView
-
Gets optional user defined model metadata that can be set by the developer and accessed later.
- getMetadata() - Method in interface org.nlpcraft.model.NCToken
-
Gets token metadata.
- getMinNonStopwords() - Method in class org.nlpcraft.model.NCModelFileAdapter
-
- getMinNonStopwords() - Method in interface org.nlpcraft.model.NCModelView
-
Gets minimum word count (excluding stopwords) below which user input will be automatically rejected
as ambiguous sentence.
- getMinTokens() - Method in class org.nlpcraft.model.NCModelFileAdapter
-
- getMinTokens() - Method in interface org.nlpcraft.model.NCModelView
-
Gets minimum number of all tokens (system and user defined) below which user input will be
automatically rejected as too short.
- getMinWords() - Method in class org.nlpcraft.model.NCModelFileAdapter
-
- getMinWords() - Method in interface org.nlpcraft.model.NCModelView
-
Gets minimum word count (including stopwords) below which user input will be automatically
rejected as too short.
- 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.
- getModelId() - Method in interface org.nlpcraft.probe.embedded.NCEmbeddedResult
-
Gets the ID of the model that produced this result.
- getName() - Method in interface org.nlpcraft.model.NCCompany
-
Gets name of the company.
- getName() - Method in class org.nlpcraft.model.NCModelAdapter
-
- getName() - Method in class org.nlpcraft.model.NCModelFileAdapter
-
- getName() - Method in interface org.nlpcraft.model.NCModelView
-
Gets descriptive name of this model.
- getName() - Method in interface org.nlpcraft.model.NCValue
-
Gets value name.
- getNormalizedText() - Method in interface org.nlpcraft.model.NCCustomWord
-
Gets normalized text for this word.
- getNormalizedText() - Method in interface org.nlpcraft.model.NCRequest
-
Gets normalized text of the user input.
- getOriginalText() - Method in interface org.nlpcraft.model.NCCustomWord
-
Gets original text for this word.
- getOriginalText() - Method in interface org.nlpcraft.probe.embedded.NCEmbeddedResult
-
Gets original text of the request that produced this result.
- 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.
- getParsers() - Method in class org.nlpcraft.model.NCModelFileAdapter
-
- getParsers() - Method in interface org.nlpcraft.model.NCModelView
-
Gets optional user-defined model element parsers for custom NER implementations.
- getPartTokens() - Method in interface org.nlpcraft.model.NCToken
-
Gets the list of tokens this tokens is composed of.
- getPos() - Method in interface org.nlpcraft.model.NCCustomWord
-
Gets Penn Treebank POS tag for this word.
- getPosDescription() - Method in interface org.nlpcraft.model.NCCustomWord
-
Gets description of Penn Treebank POS tag.
- getPostalCode() - Method in interface org.nlpcraft.model.NCCompany
-
Gets optional postal code of the company.
- getProbeId() - Method in interface org.nlpcraft.probe.embedded.NCEmbeddedResult
-
Gets ID of the probe this result was generated by.
- getProcessingTime() - Method in interface org.nlpcraft.model.test.NCTestResult
-
Gets total sentence processing time in milliseconds.
- getProperties() - Method in interface org.nlpcraft.model.NCUser
-
Gets properties associated with the user.
- getQueryContext() - Method in interface org.nlpcraft.model.NCIntentContext
-
- getReceiveTimestamp() - Method in interface org.nlpcraft.model.NCRequest
-
Gets UTC/GMT timestamp in ms when user input was received.
- getRegion() - Method in interface org.nlpcraft.model.NCCompany
-
Gets optional region of the company.
- getRemoteAddress() - Method in interface org.nlpcraft.model.NCRequest
-
Gets optional address of the remote client.
- getRequest() - Method in interface org.nlpcraft.model.NCQueryContext
-
Gets supplemental information about user request.
- 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.
- getServerRequestId() - Method in interface org.nlpcraft.model.NCQueryContext
-
Gets ID of the current request.
- getServerRequestId() - Method in interface org.nlpcraft.model.NCRequest
-
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.
- getServerRequestId() - Method in interface org.nlpcraft.probe.embedded.NCEmbeddedResult
-
Gets ID of the request that produced this result.
- getSignupTimestamp() - Method in interface org.nlpcraft.model.NCUser
-
Gets signup timestamp of the user.
- getStartCharIndex() - Method in interface org.nlpcraft.model.NCCustomWord
-
Gets start character index of this word in the original text.
- getStartCharIndex() - Method in interface org.nlpcraft.model.NCToken
-
Gets start character index of this token in the original text.
- getStem() - Method in interface org.nlpcraft.model.NCCustomWord
-
Gets the stem of this word.
- getSuspiciousWords() - Method in class org.nlpcraft.model.NCModelFileAdapter
-
- getSuspiciousWords() - Method in interface org.nlpcraft.model.NCModelView
-
Gets an optional list of suspicious words.
- 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.NCValue
-
Gets optional list of value's synonyms.
- getTermTokens(int) - Method in interface org.nlpcraft.model.NCIntentContext
-
Gets tokens for given term.
- getTermTokens(String) - Method in interface org.nlpcraft.model.NCIntentContext
-
Gets tokens for given term.
- getText() - Method in interface org.nlpcraft.model.test.NCTestResult
-
Gets test sentence text.
- getTokens() - Method in interface org.nlpcraft.model.NCConversation
-
Gets an ordered list of tokens stored in the conversation STM for the current
user and data model.
- 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.
- getType() - Method in interface org.nlpcraft.probe.embedded.NCEmbeddedResult
-
Gets optional result type.
- getUser() - Method in interface org.nlpcraft.model.NCRequest
-
Gets descriptor of the user on behalf of which this request was submitted.
- getUserId() - Method in interface org.nlpcraft.probe.embedded.NCEmbeddedResult
-
Gets ID of the user that made the request this result is for.
- getValue() - Method in interface org.nlpcraft.model.NCToken
-
Gets the value if this token was detected via element's value (or its synonyms).
- getValueLoader() - Method in interface org.nlpcraft.model.NCElement
-
Gets optional dynamic value loader.
- getValues() - Method in interface org.nlpcraft.model.NCElement
-
Gets optional map of
values
for this element.
- getVariants() - Method in interface org.nlpcraft.model.NCQueryContext
-
Gets collection of all parsing variants for this query.
- getVariantTokens() - Method in interface org.nlpcraft.model.NCIntentContext
-
Gets sentence parsing variant that produced the matching for this intent.
- getVersion() - Method in class org.nlpcraft.model.NCModelAdapter
-
- getVersion() - Method in class org.nlpcraft.model.NCModelFileAdapter
-
- getVersion() - Method in interface org.nlpcraft.model.NCModelView
-
Gets the version of this model using semantic versioning.
- getWebsite() - Method in interface org.nlpcraft.model.NCCompany
-
Gets optional website of the company.
- getWords() - Method in interface org.nlpcraft.model.NCCustomElement
-
Gets a list of NLP custom words that matched detected model element.
- NCBaseTraceExporter - Class in org.nlpcraft.model.opencensus
-
Base class for OpenCensus trace exporters.
- NCBaseTraceExporter(String) - Constructor for class org.nlpcraft.model.opencensus.NCBaseTraceExporter
-
New base tracer with given name.
- NCBasicModelFactory - Class in org.nlpcraft.model.factories.basic
-
- NCBasicModelFactory() - Constructor for class org.nlpcraft.model.factories.basic.NCBasicModelFactory
-
- NCCompany - Interface in org.nlpcraft.model
-
Descriptor of the user company.
- NCConversation - Interface in org.nlpcraft.model
-
Conversation container.
- NCCustomElement - Interface in org.nlpcraft.model
-
Detected model element returning from custom parser.
- NCCustomParser - Interface in org.nlpcraft.model
-
Custom model element parser for programmatic NER implementations.
- NCCustomWord - Interface in org.nlpcraft.model
-
A partially enriched token with a basic set of NLP properties used by custom NER parser.
- NCElement - Interface in org.nlpcraft.model
-
Data model element.
- NCEmbeddedProbe - Class in org.nlpcraft.probe.embedded
-
Embedded probe controller.
- NCEmbeddedProbe() - Constructor for class org.nlpcraft.probe.embedded.NCEmbeddedProbe
-
- NCEmbeddedResult - Interface in org.nlpcraft.probe.embedded
-
Result container for the embedded probe.
- NCIntent - Annotation Type in org.nlpcraft.model
-
Annotation to define an intent on the method serving as its callback.
- NCIntentContext - Interface in org.nlpcraft.model
-
A context that can be passed passed into the callback of the matched intent.
- NCIntentRef - Annotation Type in org.nlpcraft.model
-
Annotations referencing an intent defined externally in JSON or YAML model declaration.
- NCIntentSkip - Exception in org.nlpcraft.model
-
Control flow exception to skip current intent.
- NCIntentSkip() - Constructor for exception org.nlpcraft.model.NCIntentSkip
-
Creates new intent skip exception.
- NCIntentSkip(String) - Constructor for exception org.nlpcraft.model.NCIntentSkip
-
Creates new intent skip exception with given debug message.
- NCIntentTerm - Annotation Type in org.nlpcraft.model
-
Annotation to mark callback parameter to receive intent term's tokens.
- NCJaegerExporter - Class in org.nlpcraft.model.opencensus
-
Probe lifecycle component that manages OpenCensus
Jaeger trace exporter.
- NCJaegerExporter() - Constructor for class org.nlpcraft.model.opencensus.NCJaegerExporter
-
Creates new Jaeger OpenCensus trace export lifecycle component.
- NCLifecycle - Interface in org.nlpcraft.model
-
NLPCraft lifecycle component.
- NCModel - Interface in org.nlpcraft.model
-
User-defined semantic data model.
- NCModelAdapter - Class in org.nlpcraft.model
-
Adapter for data models.
- NCModelAdapter(String, String, String) - Constructor for class org.nlpcraft.model.NCModelAdapter
-
Creates new model with the given mandatory parameters.
- NCModelFactory - Interface in org.nlpcraft.model
-
Optional factory for data models.
- NCModelFileAdapter - Class in org.nlpcraft.model
-
Adapter for data models that can load model configuration from external JSON/YAML file.
- NCModelFileAdapter(String) - Constructor for class org.nlpcraft.model.NCModelFileAdapter
-
Creates new model loading its configuration from given file path.
- NCModelFileAdapter(URI) - Constructor for class org.nlpcraft.model.NCModelFileAdapter
-
Creates new model loading its configuration from given URI.
- NCModelView - Interface in org.nlpcraft.model
-
Read-only view on data model.
- NCPrometheusExporter - Class in org.nlpcraft.model.opencensus
-
Probe lifecycle component that manages OpenCensus
Prometheus stats exporter.
- NCPrometheusExporter() - Constructor for class org.nlpcraft.model.opencensus.NCPrometheusExporter
-
- NCQueryContext - Interface in org.nlpcraft.model
-
Data model query context.
- NCQueryResult - Class in org.nlpcraft.model
-
Data model result returned from model query method.
- NCQueryResult(String, String) - Constructor for class org.nlpcraft.model.NCQueryResult
-
Creates new result with given body and type.
- NCQueryResult() - Constructor for class org.nlpcraft.model.NCQueryResult
-
No-arg constructor.
- NCQueryState - Enum in org.nlpcraft.model
-
This enumeration defines state of the query processing.
- NCRejection - Exception in org.nlpcraft.model
-
Exception to indicate that user input cannot be processed as is.
- NCRejection(String) - Constructor for exception org.nlpcraft.model.NCRejection
-
Creates new rejection exception with given message.
- NCRejection(String, Throwable) - Constructor for exception org.nlpcraft.model.NCRejection
-
Creates new rejection exception with given message and cause.
- NCRequest - Interface in org.nlpcraft.model
-
Supplemental information about the user request.
- NCSpringModelFactory - Class in org.nlpcraft.model.factories.spring
-
Factory that delegates construction of
NCModel
s to the Spring Framework.
- NCSpringModelFactory() - Constructor for class org.nlpcraft.model.factories.spring.NCSpringModelFactory
-
- NCSqlModelGenerator - Class in org.nlpcraft.model.tools
-
Command line utility to generate NLPCraft model stub from given SQL RDBMS.
- NCSqlModelGenerator() - Constructor for class org.nlpcraft.model.tools.NCSqlModelGenerator
-
- NCStackdriverStatsExporter - Class in org.nlpcraft.model.opencensus
-
Probe lifecycle component that manages OpenCensus
Stackdriver stats exporter.
- NCStackdriverStatsExporter() - Constructor for class org.nlpcraft.model.opencensus.NCStackdriverStatsExporter
-
- NCStackdriverTraceExporter - Class in org.nlpcraft.model.opencensus
-
Probe lifecycle component that manages OpenCensus
Stackdriver trace exporter.
- NCStackdriverTraceExporter() - Constructor for class org.nlpcraft.model.opencensus.NCStackdriverTraceExporter
-
Creates new Stackdriver OpenCensus trace export lifecycle component.
- NCTestClient - Interface in org.nlpcraft.model.test
-
Model testing client.
- NCTestClientBuilder - Class in org.nlpcraft.model.test
-
- NCTestClientBuilder() - Constructor for class org.nlpcraft.model.test.NCTestClientBuilder
-
- NCTestClientException - Exception in org.nlpcraft.model.test
-
Test client exception.
- NCTestResult - Interface in org.nlpcraft.model.test
-
Result of the test sentence processing.
- NCToken - Interface in org.nlpcraft.model
-
Detected model element.
- NCUser - Interface in org.nlpcraft.model
-
Descriptor of the user.
- NCValue - Interface in org.nlpcraft.model
-
Model element's value.
- NCValueLoader - Interface in org.nlpcraft.model
-
Dynamic value loader that can be used by JSON/YAML model declarations.
- NCZipkinExporter - Class in org.nlpcraft.model.opencensus
-
Probe lifecycle component that manages OpenCensus
Zipkin trace exporter.
- NCZipkinExporter() - Constructor for class org.nlpcraft.model.opencensus.NCZipkinExporter
-
Creates new Zipkin OpenCensus trace export lifecycle component.
- newBuilder() - Method in class org.nlpcraft.model.test.NCTestClientBuilder
-
Creates new builder instance with all defaults set.