Skip to main content

Compute Word Error Rate for Tibetan language text.

Project description

Tibetan-WER

This module provides a means to calculate Word Error Rate for Tibetan language text.

Install

Install the library to get started:

pip install --upgrade tibetan_wer

Usage

from tibetan_wer.wer import wer

prediction = 'འཇམ་དཔལ་གཞོན་ནུར་གྱུར་པ་ལ་ཕྱག་འཚལ་ལོ༔'
reference = 'གཞོན་ནུར་གྱུར་པ་ལ་ཕྱག་འཚལ་ལོ༔'

wer_score = wer(prediction, reference)

print(f'WER Score: {wer_score}')

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

tibetan_wer-0.0.1.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tibetan_wer-0.0.1-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file tibetan_wer-0.0.1.tar.gz.

File metadata

  • Download URL: tibetan_wer-0.0.1.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for tibetan_wer-0.0.1.tar.gz
Algorithm Hash digest
SHA256 d2f7eaa7cb9a8b1948d1fd2e138322fb53518f2bfc67808556e19dfdd2c8f800
MD5 dcc60409d6ea6aa89f6d3a8f7c76b06b
BLAKE2b-256 2628b89316e8c3b3872708e9d151b6547c9b6a28e4b09e37f62cce915a251ae8

See more details on using hashes here.

File details

Details for the file tibetan_wer-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: tibetan_wer-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 6.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for tibetan_wer-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d5c58b6d937c083931e472185d01f19a2f8bc88219bb921bea6948b328f1c4f3
MD5 d08a0a1faf2097d30cc312d64238432b
BLAKE2b-256 ae24d3791560189ed4edea3df87bf05a4995f590212a5eb4cdb97f01ba7b72e4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page