Skip to content

BabelBee QA CLI v0.1.0

Choose a tag to compare

@frankwzh4633 frankwzh4633 released this 24 Nov 07:06

BabelBee QA CLI v0.1.0

BabelBee QA CLI checks an existing translation using a model endpoint you configure. It runs from the command line and exports local HTML and Excel reports. The CLI is licensed under MIT.

Main features

  • Import aligned bilingual XLSX, UTF-8 CSV, XLIFF 1.2, 2.0 and 2.1, and SDLXLIFF files.
  • Review the full document for context, check each segment, and compare recurring terminology across segments.
  • Check supported placeholders, blank translations, and unsupported additions where the source ends mid-thought. Reports include source and translation evidence, related segments, and terminology coverage gaps.
  • Export report.html and report.xlsx in English or Simplified Chinese. Issue counts and review advisories are shown separately.

Installation

Use Python 3.10–3.14. Download the wheel or source distribution from the release assets. On macOS or Linux:

python -m venv .venv
. .venv/bin/activate
python -m pip install ./babelbee_qa-0.1.0-py3-none-any.whl
babelbee-qa --help

On Windows PowerShell, activate with .\.venv\Scripts\Activate.ps1. For a source install, run python -m pip install ./babelbee_qa-0.1.0.tar.gz in the activated environment.

Configure BABELBEE_QA_BASE_URL and BABELBEE_QA_MODEL for an endpoint that supports OpenAI-compatible /chat/completions. Set BABELBEE_QA_API_KEY in the environment if the endpoint requires a key. The source archive includes synthetic examples. Extract it and run the following from its root:

babelbee-qa examples/sensor-guide.csv --source-language en --target-language zh-CN --output-dir demo-csv-qa

Known limitations

  • Each run takes one already-aligned file. The limits are 5 MiB, 500 usable pairs, 60,000 combined source and translation characters, and 8,000 characters per pair. For Excel, convert formulas in the input columns to values first.
  • The configured model must fit the entire bilingual document in a single context window and return valid JSON. If a required stage fails after the applicable retry, the CLI stops before writing reports.
  • Terminology coverage describes selected recurring terms. Findings, advisories, and gaps require human review. Reports provide issue counts and evidence. The hosted BabelBee QA score is outside the CLI.
  • The CLI sends the bilingual content to the configured endpoint. Provider costs and data terms apply. Local reports contain the original text.

SHA-256 checksums

Download SHA256SUMS.txt alongside both package files. Run sha256sum -c SHA256SUMS.txt on Linux or shasum -a 256 -c SHA256SUMS.txt on macOS.

197b72a08e65aca3ecd7d803981cee657607ef0d5be75f5fa22d92f89fd8b462  babelbee_qa-0.1.0-py3-none-any.whl
be67848995a7f16d98c6ed649f6d4e95b628b7c2cdac0e6de43ee858564d4dc0  babelbee_qa-0.1.0.tar.gz