Skip to main content

TEXTA Torch Tagger Python Package

Installation

From Git

pip install git+https://git.texta.ee/texta/texta-torch-tagger-python.git

Testing

python -m pytest -v tests

Usage

>>>  from texta_tools.embedding import W2VEmbedding
>>>  from texta_torch_tagger.tagger import TorchTagger
>>>  
>>>  data = {"good": ["Täna on ilus ilm.", "Kuidas käsi käib?"], "bad": ["Arno on loll.", "ei"]}
>>>  
>>>  embedding = W2VEmbedding()
>>>  embedding.train([y for x in data.values() for y in x])
>>>  
>>>  tagger = TorchTagger(embedding, model_arch="TextRNN")
>>>  
>>>  report = t.train(data, num_epochs=3)
>>>  
>>>  tagger.tag_text("Ei hooli.")
"bad"

Metadata

Release files for texta-torch-tagger 3.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for texta-torch-tagger 3.0.0
File Size Uploaded Provenance
texta-torch-tagger-3.0.0.tar.gz 21.3 kB Without provenance Details

Release files / texta-torch-tagger-3.0.0.tar.gz

Download URL texta-torch-tagger-3.0.0.tar.gz
Size 21.3 kB
Tags Source
SHA-256 checksum
How to use checksums
fd68446da3bd1042aaa2c62fa536394e1914be7486865d8a578997a9f528b775
BLAKE2b-256 checksum
How to use checksums
e4dbc8472ba985bf275c2351bd90bba6386a4321ff32aa91c5b900d05669280b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.7

Security for texta-torch-tagger 3.0.0

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page