tatk.nlg package

Submodules

tatk.nlg.nlg module

Natural Language Generation Interface

class tatk.nlg.nlg.NLG

Bases: tatk.util.module.Module

Base class for NLG model.

generate(action)

Generate a natural language utterance conditioned on the dialog act.

Args:
action (list of list):

The dialog action produced by dialog policy module, which is in dialog act format.

Returns:
utterance (str):

A natural langauge utterance.