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-1.0.1.tar.gz (2.9 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-1.0.1-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file mt_thresholds-1.0.1.tar.gz.

File metadata

  • Download URL: mt_thresholds-1.0.1.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.8

File hashes

Hashes for mt_thresholds-1.0.1.tar.gz
Algorithm Hash digest
SHA256 85f1937da414775622e6ec65ace10a8ce6c25e048dbed791862de9a2a398f443
MD5 aed6cf6b98e73963d9246b888fce1ee7
BLAKE2b-256 866f82e5624f17a70505052df29ab1e42c16bf8ec3f3b3ca764767e469880248

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mt_thresholds-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.8

File hashes

Hashes for mt_thresholds-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 126f1274dd89e74b86735048180ebb1d5e7d79f9b80732f8887e7ef2a64ee127
MD5 cca392df081ae4c12b116b19a60a18f7
BLAKE2b-256 f6f299a1c1a39136e5f93022d2b7f0295356d40124977bcaeefe9a51d9eb4115

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