Skip to main content

A translation quality package

Project description

Installation:

pip install dataframetranslationscoring

Usage:

Given two folder paths , the translation_quantitative_scoring() function will return a dictionary with translation quality scores. Example:

import pandas as pd
import dataframetranslationscoring.scoring import translation_quantitative_scoring
metrics = translation_quantitative_scoring(original_dataframe_path="folder1/*.csv", translated_dataframe_path="folder2/*.csv")

This will return a dictionary with the following keys:

{'words_percentage': 'X%',
 'characters_percentage': 'X%',
 'non_null_percentage': 'X%',
 'total_characters': X,
 'total_words_translated': 'X',
 'total_words_available': 'X'}

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

dataframetranslationscoring-0.0.6.tar.gz (52.7 kB view details)

Uploaded Source

Built Distribution

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

dataframetranslationscoring-0.0.6-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file dataframetranslationscoring-0.0.6.tar.gz.

File metadata

File hashes

Hashes for dataframetranslationscoring-0.0.6.tar.gz
Algorithm Hash digest
SHA256 5fdcad91e659e119f2d7906166bb851dcafee4b04cd5968f30a2ae979c11adf3
MD5 69494adea55a05340d2f50128dac3563
BLAKE2b-256 ee28ef8e589555ca1dd43789de86faaddc0be34d4075f06f5a3a7961e82391fc

See more details on using hashes here.

File details

Details for the file dataframetranslationscoring-0.0.6-py3-none-any.whl.

File metadata

File hashes

Hashes for dataframetranslationscoring-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 dfd6364371e34e1e015dd669145badbfdedec64d9493bbf4a9322c1258252fe9
MD5 6bd5c34b25037701106a7a03919e24e3
BLAKE2b-256 2f3396c8000d97f6f9ccf66e71cc9620212e26b32a26718461c072a3bee8a31d

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