Nifigator is a pure Python package for working with NLP in RDF/NIF
Project description
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file nifigator-0.2.1.tar.gz
.
File metadata
- Download URL: nifigator-0.2.1.tar.gz
- Upload date:
- Size: 101.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12ed7f0df61d18e435dcea6e995a45f191115c14cfcfe93894251eba286d2a7d |
|
MD5 | a2c71999d3dd680269c220c7ca4cfa99 |
|
BLAKE2b-256 | 1fe40f00ee9534cb51a4bdb01f4e42a22b73cf708de1d4d4ff22b6d3fe9e540a |
File details
Details for the file nifigator-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: nifigator-0.2.1-py3-none-any.whl
- Upload date:
- Size: 62.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea4bace73f0efa7672b4b8bc6a73e88dc740ba0634e9d0ee01401e8cdf78776c |
|
MD5 | cc8793fb12b439974319d6bc1660b817 |
|
BLAKE2b-256 | 963fae2f46b489f03b887f3d79f9c9c2792f0e311d50cf180583f9da364b705f |