Skip to content
Snippets Groups Projects
Commit c21c7a36 authored by Michael Heck's avatar Michael Heck
Browse files

Update dataset_woz2.py

parent 732944e2
Branches
No related tags found
No related merge requests found
...@@ -69,6 +69,7 @@ def check_label_existence(label, usr_utt_tok, sys_utt_tok): ...@@ -69,6 +69,7 @@ def check_label_existence(label, usr_utt_tok, sys_utt_tok):
def get_turn_label(label, sys_utt_tok, usr_utt_tok, slot_last_occurrence): def get_turn_label(label, sys_utt_tok, usr_utt_tok, slot_last_occurrence):
usr_utt_tok_label = [0 for _ in usr_utt_tok] usr_utt_tok_label = [0 for _ in usr_utt_tok]
in_sys = False
if label == 'none' or label == 'dontcare': if label == 'none' or label == 'dontcare':
class_type = label class_type = label
else: else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment