From 82fd96fe471ecc41cf5c62d635f19869d515fad0 Mon Sep 17 00:00:00 2001 From: felixzhuologist Date: Tue, 9 Jun 2015 19:50:46 -0400 Subject: [PATCH] Change generator to list to allow multiple iterations while labeling --- parserator/manual_labeling.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parserator/manual_labeling.py b/parserator/manual_labeling.py index 03b720b..a3688ae 100644 --- a/parserator/manual_labeling.py +++ b/parserator/manual_labeling.py @@ -36,7 +36,7 @@ def consoleLabel(raw_strings, labels, module): print('-'*50) print('STRING: %s' %raw_sequence) - preds = module.parse(raw_sequence) + preds = list(module.parse(raw_sequence)) user_input = None while user_input not in valid_responses :