首先,使用句子分割器将该文档的原始文本分割成句,使用分词器将每个句子进一步分词。接下来,对每个句子进行词性标注POS。下一步,我们寻找每个句子中提到的潜在的有趣的实体。In named entity detection, we segment and label the entities that might participate in interesting relations with one another。
最后, we search for specific patterns between pairs of entities that occur near one another in the text, and use those patterns to build tuples recording the relationships between the entities.