datawords
This is a library oriented to common and uncommon NLP tasks.
Datawords emerge after two years of solving different projects that required NLP techniques like training and saving Word2Vec (Gensim) models, finding entities on text (Spacy), ranking texts (scikit-network), indexing it (Spotify Annoy), translating it (Hugging Face).
Then to use those libraries some pre-processing, post-processing tasks and transformations were also required. For this reasons, datawords exists.
Sometimes it’s very opinated (Indexing happens over text, and not over vectors besides Annoy allows it), and sometimes gives you freedom and provide you with helper classes and functions to use freely.
Another way to see this library is as an agreggator of all that excellent libraries mentioned before.
In a nutshell, Datawords let’s you:
- Train Word2Vec models (Gensim)
- Build Indexes for texts (Annoy, SQLite)
- Translate texts (Transformers)
- Rank texts (PageRank)
Table of Contents
Installation
pip install datawords
To use transformes from HuggingFace please do:
pip install datawords[transformers]
Quickstart
deepnlp:
from datawords.deepnlp import translators
mn = translators.build_model_name("es", "en")
rsp = transform_mp("es", "en", model_path=fp, texts=["hola mundo", "adios mundo", "notias eran las de antes", "Messi es un dios para muchas personas"])
License
datawords is distributed under the terms of the MPL-2.0 license.
Metadata
Release files for datawords 0.7.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| datawords-0.7.4.tar.gz | 56.1 kB | Without provenance | Details for datawords-0.7.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| datawords-0.7.4-py3-none-any.whl | Python 3 | none | any | Details for datawords-0.7.4-py3-none-any.whl |
Total release size: 92.7 kB
Release files / datawords-0.7.4.tar.gz
| Download URL | datawords-0.7.4.tar.gz |
|---|---|
| Size | 56.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5611c4d8b1728037ad9ce9b944ab204abdcf948e63a4cbf427a5aae1de717624
|
|
BLAKE2b-256 checksum How to use checksums |
1b34348900699491f43aadbcab62968d19b052747d50720aeb00f28962dfe55b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.23.0
|
Release files / datawords-0.7.4-py3-none-any.whl
| Download URL | datawords-0.7.4-py3-none-any.whl |
|---|---|
| Size | 36.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
580c7a5ad3d65ad1d2c574ee17acaf7ed39680d746ef23937754ea8097624b70
|
|
BLAKE2b-256 checksum How to use checksums |
2ae0ab518224b2d7a75959cad0259410ab878186df866882d3afd84c70528e46
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.23.0
|
Security for datawords 0.7.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.