Skip to main content


Project description

TEXTA Torch Tagger Python Package


From Git

pip install git+


python -m pytest -v tests


>>>  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.")

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

texta-torch-tagger-3.0.0.tar.gz (21.3 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page