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.0.tar.gz (5.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.0-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tibetan_wer-0.0.0.tar.gz
  • Upload date:
  • Size: 5.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.0.tar.gz
Algorithm Hash digest
SHA256 58eaba24c19d9daece93c1f4e3732871eb3e46a3a2d3bf53eb1c1dedf073f63b
MD5 ea00be4ea2ea5d46e76363dd4ee91d02
BLAKE2b-256 2291d933b68a02f53050c1923f12f70c1cb82e05cab9696c8247ba3d972825fa

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tibetan_wer-0.0.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 79bd2044b887057ff333006ce27667cb62014dad55464dcf66ef7ae309efcfc5
MD5 2dc48c022deb807d782851e8db9ba839
BLAKE2b-256 e475b3866bc2485a808453555fe0a49fe7d0982298986d58488e78ae4437ee80

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