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
Release history Release notifications | RSS feed
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.4.tar.gz
(2.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mt-thresholds-0.0.4.tar.gz.
File metadata
- Download URL: mt-thresholds-0.0.4.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
456446500d2067c429f94781bb956ac7c310c12b1b79d9c2659c2810efcbd3f4
|
|
| MD5 |
901ad65243269600cf7ed8d3cf6ca193
|
|
| BLAKE2b-256 |
12d199c5ff7c95578d0f739b3cf12ac2c0665d8069ee8a1f41b0d062d8226b7f
|
File details
Details for the file mt_thresholds-0.0.4-py3-none-any.whl.
File metadata
- Download URL: mt_thresholds-0.0.4-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2b15f526c7c4707cf6ba24aa28f73c0d2eeb273d12c34d540bd23af1d748baf7
|
|
| MD5 |
903035161f3e6df1fd2fb78b6dbeb2fb
|
|
| BLAKE2b-256 |
0eafd28b0b3bc66cc64a3d025694af32abed042607a8b73c05b0b819891fe38d
|