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

fix template nlg dialog act order (#206)

* fixed spacy load en_core_web_sm when using BERTNLU for MultiWOZ

* fix template nlg dialog act order, #204
parent c51ea88e
No related branches found
No related tags found
No related merge requests found
...@@ -99,7 +99,7 @@ class TemplateNLG(NLG): ...@@ -99,7 +99,7 @@ class TemplateNLG(NLG):
new_action += new_action_group['general']['other'] new_action += new_action_group['general']['other']
del new_action_group['general'] del new_action_group['general']
for domain in new_action_group: for domain in new_action_group:
for k in ['nooffer', 'inform-name', 'inform-other', 'request', 'other']: for k in ['other', 'request', 'inform-other', 'inform-name', 'nooffer']:
new_action = new_action_group[domain][k] + new_action new_action = new_action_group[domain][k] + new_action
return new_action return new_action
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment