rnlp

Relational NLP Preprocessing: A Python package and tool for converting text into a set of relational facts.

Source Code:GitHub
Bugtracker:GitHub Issues
https://img.shields.io/pypi/pyversions/rnlp.svg?style=flat-square https://img.shields.io/pypi/v/rnlp.svg?style=flat-square https://img.shields.io/pypi/l/rnlp.svg?style=flat-square

Overview

_images/commandline.gif

The U.S. Declaration of Independence is available in the corpus submodule for demonstration. Here it is converted to a set of facts using the imported Python package.

rnlp is intended to be a general-purpose tool for converting text into relational facts for use with relational reasoning systems (such as BoostSRL).

Text is converted into relational facts, built around the basic building blocks of Words, Sentences, and Blocks.

Words are individual units of text, such as the words you are currently reading. Sentences are a collection of words, often separated by punctuation. Blocks are a collection of sentences.