#159 · Primary category: NLP Tools & Text Processing

stanford-openie-python

extraction nlp python-wrapper stanford stanford-openie

Stanford Open Information Extraction made simple!

Project last updated:01/11/24

GitHub Stars

682

Forks

102

Contributors

8

License

Other

Why we included this project

Stanford's OpenIE engine pulls subject-relation-object triples out of plain text, and this wrapper makes it callable from Python without wrestling with the Java CoreNLP machinery yourself. Feed it a sentence like 'Barack Obama was born in Hawaii' and you get back structured triples you can load into a knowledge graph or a database. It manages the CoreNLP server lifecycle, lets you tweak properties such as the affinity probability cap, and can render the relations as a Graphviz graph. The engine only handles English, and you'll need Java installed, but for teams that want a quick scriptable route to OpenIE output, this is a pragmatic shortcut rather than a full NLP framework.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category