I want to extract the complete relationship between two entities using Stanford CoreNLP (or maybe other tools).
For example:
Windows is more popular than Linux.
This tool requires Java.
Football is the most popular game in the World.
What is the fastest way? And what is the best practice for that?
Thanks in advance
Relation Extraction is the task of predicting attributes and relations for entities in a sentence. For example, given a sentence “Barack Obama was born in Honolulu, Hawaii.”, a relation classifier aims at predicting the relation of “bornInCity”.
ReVerb focuses on Open IE. You can start by reading their paper "Identifying Relations for Open Information Extraction" and checking the demo site.
You are probably looking for dependency relations between nouns. Stanford Parser provides such output. Have a look here. You can combine what Pete said (i.e. the POS graph) with the dependency graph to identify what relationship (for example, direct object or nominal subject, etc.) a pair of nouns (or noun phrases) share.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With