NCContext

trait NCContext

A context containing a fully parsed data from the input query.

See also:
Source:
NCContext.scala
class Object
trait Matchable
class Any

Value members

Abstract methods

Gets current conversation for this context.

Gets current conversation for this context.

Returns:

Current conversation.

Source:
NCContext.scala

Gets configuration of the model this context is associated with.

Gets configuration of the model this context is associated with.

Returns:

Model.

Source:
NCContext.scala

Gets user request container.

Gets user request container.

Returns:

User request.

Source:
NCContext.scala

Gets the list of all tokens for the input query this context is associated with.

Gets the list of all tokens for the input query this context is associated with.

Returns:

List of tokens for this context. Can be empty but never null.

Source:
NCContext.scala

Gets the list of parsing variants. Returned list always contains as least one parsing variant.

Gets the list of parsing variants. Returned list always contains as least one parsing variant.

Returns:

A non-empty list of parsing variants.

See also:

NCModel.onVariant()

Source:
NCContext.scala

Tests if given entity is part of the query this context is associated with.

Tests if given entity is part of the query this context is associated with.

Value parameters:
ent

Entity to check.

Source:
NCContext.scala