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 and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page