Extract Relationship Between two Entities using StanfordCoreNLP

别等时光非礼了梦想. 提交于 2019-12-07 17:42:28

You can train your own model using Stanford relation extraction toolkit. The model released with the code has only a few relations: Live_In, Located_In, OrgBased_In, Work_For, and None. To train your own model, look at "Training and specifying your own model" on its webpage. The existing model is trained on a small dataset so you will go a long way if you add more training data.

If you want to extract prominent words between two entities in sentences (that is, do not want to classify them into a given set of relations), you can also look at ReVerb.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!