提交 a1953685 编写于 作者: M MRXLT

fix lac reader

上级 ac547c57
......@@ -101,7 +101,7 @@ class LACReader(object):
return word_ids
def parse_result(self, words, crf_decode):
tags = [self.id2label_dict[str(x)] for x in crf_decode]
tags = [self.id2label_dict[str(x[0])] for x in crf_decode]
sent_out = []
tags_out = []
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册