weizhepei / CasRel

A Novel Cascade Binary Tagging Framework for Relational Triple Extraction. Accepted by ACL 2020.
https://arxiv.org/abs/1909.03227
MIT License
767 stars 141 forks source link

data_loader.py 78行代码有问题 #59

Closed xlli-2 closed 3 years ago

xlli-2 commented 3 years ago

第78行代码: text = ' '.join(line['text'].split()[:self.maxlen]) 应该是 text = ' '.join(line['text'].split())[:self.maxlen]