convlab2.nlg.template.multiwoz package¶
Submodules¶
convlab2.nlg.template.multiwoz.nlg module¶
-
class
convlab2.nlg.template.multiwoz.nlg.
TemplateNLG
(is_user, mode='manual')¶ Bases:
convlab2.nlg.nlg.NLG
-
generate
(dialog_acts)¶ NLG for Multiwoz dataset
- Args:
dialog_acts
- Returns:
generated sentence
-
sorted_dialog_act
(dialog_acts)¶
-
-
convlab2.nlg.template.multiwoz.nlg.
example
()¶
-
convlab2.nlg.template.multiwoz.nlg.
lower_keys
(x)¶
-
convlab2.nlg.template.multiwoz.nlg.
read_json
(filename)¶