PyPI-Server ReadTheDocs License: MIT Code style: black

Nifigator#

Nifigator is a pure Python package for working with NLP in RDF. It uses the NLP Interchange Format (NIF) and the Lexicon Model for Ontologies and is build on top of RDFLib.

Here is what is does:

  • Convert data from text documents to NIF data in RDF

    • Currently supported formats: txt, PDF (text, page and paragraph offsets)

  • Add linguistic annotations from NLP processors

    • Currently supported processor: Stanza

  • Create NifVector graphs that work like language models, this allow you to

    • create explainable word vectors without random results, and to

    • combine word vectors with lexical and linguistic annotations

  • RDFLib is used to serialize and deserialize NIF data.

See the documentation built from the code.

Installation#

To install Nifigator, run this command in your terminal:

$ pip install nifigator

To install the package from Github

$ pip install -e git+https://github.com/denederlandschebank/nifigator.git