From cceeda0bcb355dd6420eff51e3cdd79f6ba5f62a Mon Sep 17 00:00:00 2001 From: Hoai-Thu Vuong Date: Sat, 30 Oct 2021 11:01:55 +0700 Subject: [PATCH] fix typo (#501) --- underthesea/utils/col_script.py | 1 - 1 file changed, 1 deletion(-) diff --git a/underthesea/utils/col_script.py b/underthesea/utils/col_script.py index c5fc9d79..607f72ea 100644 --- a/underthesea/utils/col_script.py +++ b/underthesea/utils/col_script.py @@ -96,7 +96,6 @@ def __len__(self): def load(ud_file): sentences = open(ud_file).read().split("\n\n") sentences = [UDSentence.load(s) for s in sentences] - sentences = sentences dataset = UDDataset(sentences) return dataset