From c21c7a360cdf3d30a2a6a84f3ad402e6c8f2f7ef Mon Sep 17 00:00:00 2001
From: Michael Heck <michael.heck@hhu.de>
Date: Fri, 13 Nov 2020 17:48:13 +0100
Subject: [PATCH] Update dataset_woz2.py

---
 dataset_woz2.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dataset_woz2.py b/dataset_woz2.py
index fcb802f..ef0a1ef 100644
--- a/dataset_woz2.py
+++ b/dataset_woz2.py
@@ -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):
     usr_utt_tok_label = [0 for _ in usr_utt_tok]
+    in_sys = False
     if label == 'none' or label == 'dontcare':
         class_type = label
     else:
-- 
GitLab