Metadata-Version: 2.1
Name: nifigator
Version: 0.2.1
Summary: Nifigator is a pure Python package for working with NLP in RDF/NIF
Home-page: https://github.com/DeNederlandscheBank/nifigator/
Author: Willem Jan Willemse
Author-email: w.j.willemse@dnb.nl
License: MIT/X
Project-URL: Documentation, https://nifigator.readthedocs.io/en/latest/
Project-URL: Source, https://github.com/DeNederlandscheBank/nifigator/
Platform: any
Classifier: Development Status :: 4 - Beta
Classifier: Programming Language :: Python
Requires-Python: >=3.8
Description-Content-Type: text/x-rst; charset=UTF-8
License-File: LICENSE.txt
Requires-Dist: importlib-metadata
Requires-Dist: python-version<3.8
Requires-Dist: Click>=7.0
Requires-Dist: rdflib>=6.2.0
Requires-Dist: lxml>=4.9.2
Requires-Dist: unidecode>=1.3.6
Requires-Dist: iribaker>=0.2
Requires-Dist: pdfminer.six>=20221105
Requires-Dist: regex>=2022.10.31
Requires-Dist: syntok>=1.4.4
Requires-Dist: pandas
Provides-Extra: testing
Requires-Dist: setuptools; extra == "testing"
Requires-Dist: pytest; extra == "testing"
Requires-Dist: pytest-cov; extra == "testing"
Requires-Dist: rdflib>=6.2.0; extra == "testing"
Requires-Dist: lxml>=4.9.2; extra == "testing"
Requires-Dist: unidecode>=1.3.6; extra == "testing"
Requires-Dist: iribaker>=0.2; extra == "testing"
Requires-Dist: pdfminer.six>=20221105; extra == "testing"
Requires-Dist: stanza>=1.4.2; extra == "testing"
Requires-Dist: syntok>=1.4.4; extra == "testing"
Requires-Dist: pandas; extra == "testing"


.. image:: https://img.shields.io/pypi/v/nifigator.svg
    :alt: PyPI-Server
    :target: https://pypi.org/project/nifigator/

.. image:: https://readthedocs.org/projects/nifigator/badge/?version=latest
    :alt: ReadTheDocs
    :target: https://nifigator.readthedocs.io/en/latest/

.. image:: https://img.shields.io/badge/License-MIT-yellow.svg
        :target: https://opensource.org/licenses/MIT
        :alt: License: MIT

.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
        :target: https://github.com/psf/black
        :alt: Code style: black

=========
Nifigator
=========

Nifigator is a pure Python package for working with NLP in RDF. It uses the `NLP Interchange Format (NIF) <https://persistence.uni-leipzig.org/nlp2rdf/ontologies/nif-core/nif-core.html>`_ and the `Lexicon Model for Ontologies <https://www.lemon-model.net/>`_ and is build on top of `RDFLib <https://github.com/RDFLib/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 <https://stanfordnlp.github.io/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 <https://nifigator.readthedocs.io>`_ built from the code.


Installation
------------

To install Nifigator, run this command in your terminal:

.. code-block:: console

    $ pip install nifigator

To install the package from Github

.. code-block:: console

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