tatk.nlu package

Submodules

tatk.nlu.nlu module

Natural language understanding interface.

class tatk.nlu.nlu.NLU

Bases: tatk.util.module.Module

NLU module interface.

predict(utterance, context=[])

Predict the dialog act of a natural language utterance.

Args:
utterance (string):

A natural language utterance.

context (list of string):

Previous utterances.

Returns:
action (list of list):

The dialog act of utterance.