Skip to main content

Nifigator is a pure Python package for working with NLP in RDF/NIF

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nifigator-0.2.1.tar.gz (101.3 kB view hashes)

Uploaded Source

Built Distribution

nifigator-0.2.1-py3-none-any.whl (62.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page