fix a tiny bug

This commit is contained in:
ChenXin 2020-03-16 18:57:21 +08:00
parent 918a413784
commit 9577a9acc4

View File

@ -45,7 +45,7 @@ class TestRunClassificationPipe(unittest.TestCase):
'dbpedia': ('test/data_for_tests/io/dbpedia', DBPediaPipe, (5, 14), (496, 14), False),
'ChnSentiCorp': ('test/data_for_tests/io/ChnSentiCorp', ChnSentiCorpPipe, (6, 6, 6), (529, 1296, 1483, 2), False),
'Chn-THUCNews': ('test/data_for_tests/io/THUCNews', THUCNewsPipe, (9, 9, 9), (1864, 9), False),
'Chn-WeiboSenti100k': ('test/data_for_tests/io/WeiboSenti100k', WeiboSenti100kPipe, (7, 6, 6), (452, 2), False),
'Chn-WeiboSenti100k': ('test/data_for_tests/io/WeiboSenti100k', WeiboSenti100kPipe, (6, 6, 7), (452, 2), False),
}
for k, v in data_set_dict.items():
path, pipe, data_set, vocab, warns = v