stanleylsx / entity_extractor_by_ner

基于Tensorflow2.3开发的NER模型,都是CRF范式,包含Bilstm(IDCNN)-CRF、Bert-Bilstm(IDCNN)-CRF、Bert-CRF,可微调预训练模型,可对抗学习,用于命名实体识别,配置后可直接运行。
393 stars 74 forks source link

文章出现\t 和空格时会报错 #30

Closed tyn513 closed 2 years ago

tyn513 commented 3 years ago

文章出现\t 和空格时会报错

token, token_id = row.split('\t')[0], int(row.split('\t')[1]) IndexError: list index out of range

stanleylsx commented 2 years ago

文章出现\t 和空格时会报错

token, token_id = row.split('\t')[0], int(row.split('\t')[1]) IndexError: list index out of range

已解决

2506791459 commented 1 year ago

怎样解决的呀

guo-xiaomeng commented 1 year ago

同样的问题,没有解决