xiangrongzeng / copy_re

Release for acl18 paper "Extracting Relational Facts by an End-to-End Neural Model with Copy Mechanism"
197 stars 36 forks source link

数据集处理问题 #10

Closed yin-hong closed 5 years ago

yin-hong commented 5 years ago

您好! 请问你在处理数据时先过滤所有仅包含None关系的句子吗?

xiangrongzeng commented 5 years ago

处理数据时,如果句子标注的某个三元组的实体无法在句子中找到,就会丢弃这个三元组;如果最后这个句子没有对应的三元组了,就会丢弃整个句子,认为它不包含三元组。