Skip to main content

Tool to check how metric deltas for machine translation reflect on system-level human accuracies.

Project description

MT-Thresholds

Local version of the online tool. Use either from the command-line:

# accuracy is 63.989%
mt-thresholds bleu 1.00

# ChrF needs 0.710 difference for the same accuracy as BLEU
mt-thresholds chrf 0.63989 --delta

Or it can be used from Python:

import mt_thresholds

mt_thresholds.accuracy(1.0, "bleu") # 0.63989
mt_thresholds.delta(0.63989, "chrf") # 0.665

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

mt-thresholds-0.0.1.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

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

mt_thresholds-0.0.1-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

Details for the file mt-thresholds-0.0.1.tar.gz.

File metadata

  • Download URL: mt-thresholds-0.0.1.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.0

File hashes

Hashes for mt-thresholds-0.0.1.tar.gz
Algorithm Hash digest
SHA256 8aa627d9d376a9e6bb692a2af7a50b5b12e318cd2def243bd694bf13cd707021
MD5 8975b4fd967961395043d55186a87d2e
BLAKE2b-256 50d2527edab630f1c8045d9f8e563537c040685b0e3b7557eec87b09b7f5c6e4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mt_thresholds-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 2.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.0

File hashes

Hashes for mt_thresholds-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 466ed2a3add9fc069dce62d5dd4b1da716d090a577be5e508a4b6b958dcac19d
MD5 a60a5992baf144b56e5ed1303f1730b0
BLAKE2b-256 2bc8d4f60e7ba1ed51502a7bcf90724e89e6fb02ab81c380227823e623826ff0

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