Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Extracting triplets from a sentence in Python

I am trying to extract triplets (subject - Predicate - object) from a given sentence using stanford dependency parser in Python. Can someone guide me through this.

Thanks in advance

like image 363
Deepa Huddar Avatar asked Aug 14 '15 04:08

Deepa Huddar


1 Answers

You can refer to the following links for triples extraction from sentences.

  • https://github.com/tdpetrou/RDF-Triple-API
  • http://nlp.stanford.edu/software/openie.html
  • https://github.com/philipperemy/Stanford-OpenIE-Python
like image 53
Anish Avatar answered Oct 31 '22 02:10

Anish