Skip to content
Snippets Groups Projects
Unverified Commit b4c5c0e1 authored by zhuqi's avatar zhuqi Committed by GitHub
Browse files

Maintenance (#129)

* add test set example for dstc9 (multiwoz_zh, crosswoz_en)

* update new_goal_model.pkl

* update crosswoz auto_sys_template_nlg

* add postcode as special case for NLU tokenization

* fix lower case for int value in nlg.py
parent 1895814d
No related branches found
No related tags found
No related merge requests found
......@@ -200,6 +200,7 @@ class TemplateNLG(NLG):
sentences += sentence
else:
for slot, value in slot_value_pairs:
if isinstance(value, str):
value_lower = value.lower()
if value in ["do nt care", "do n't care", "dontcare"]:
sentence = 'I don\'t care about the {} of the {}'.format(slot, dialog_act.split('-')[0])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment