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.2.tar.gz
(3.1 kB
view hashes)
Built Distribution
Close
Hashes for mt_thresholds-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef9079dfca1176deb6fbac41f522d4e13b50cfc017c1f0e451b13f9ba79388cc |
|
MD5 | 843d409549d4ce9e10a8bf0843ea2517 |
|
BLAKE2b-256 | d99969b38a956d5f2062eeaefa9ce8aa8b82331591b36f34afbeaecfa233acf1 |