Editor's Pick

ZHTW Open-Source Tool Test: How Should You Choose Simplified-to-Taiwan-Traditional Conversion?

🌏 閱讀中文版本

This article is for engineering, content, and localization decision-makers responsible for Simplified-to-Taiwan-Traditional workflows. It covers an initial selection among ZHTW, OpenCC, and zhconv. It does not declare any tool categorically better across every Chinese-language context. Delaying the choice means versions, dictionaries, settings, and exception rules cannot be pinned early, while later maintenance still has to address output differences and workflow reproducibility.

Start by comparing the three tools against the same deployment and operational fields. ZHTW’s workflow support is explicitly documented in its official README. Fields not verified in this source set for OpenCC and zhconv are marked unknown. Project quality beyond the blind-test results, maintenance cost, and real-world performance should all be decided using project data.

Toolblind-v2 pinned version/configurationStrict sentence-level acceptance rateTaiwan vocabulary positioningOffline executionCLI/CI integrationPython integrationReproducible rulesThis project’s Golden Set resultThis project’s maintenance costBounded initial screening position
ZHTWv4.4.233.72%Supported by official documentationSupported by official documentationSupported by official documentationSupported by official documentationSupported by official documentationUnknownUnknownEvaluate first when Taiwan vocabulary, offline execution, CLI/CI, and reproducible rules are the primary criteria
OpenCCs2twp 1.4.130.82%UnknownUnknownUnknownUnknownUnknownUnknownUnknownKeep when the existing workflow has passed the Golden Set and migration costs are high
zhconvzh-tw 1.4.328.57%UnknownUnknownUnknownUnknownUnknownUnknownUnknownEvaluate when Python is the primary workflow

Tool Positioning and Core Differences

All three tools belong on the candidate list for Simplified-to-Taiwan-Traditional conversion, but their selection criteria differ.

OpenCC: A Continuity Option for Existing Workflows

OpenCC (Open Chinese Convert) performs Chinese conversion using dictionaries and rules. This article does not use a single external benchmark ranking to dismiss an existing workflow: if OpenCC has passed the project Golden Set and migration costs are high, keeping OpenCC is a sound bounded choice.

zhconv: A Candidate for Python Workflows

zhconv can be evaluated in Python workflows. Whether it fits a particular product still needs validation using the same project data, scoring method, version, and configuration.

ZHTW: A Priority Candidate for Taiwan Traditional Workflows

According to the ZHTW official README, the tool focuses on localized Simplified-to-Taiwan-Traditional conversion and provides versioned dictionaries and fixed conversion rules to keep results reproducible. For deployment, the README documents fully offline local execution, removing dependence on external network APIs. For engineering integration, it provides a CLI, CI checks such as zhtw check, and a native Python API, making it easier to include in software build and version-control workflows.

When a team prioritizes Taiwan vocabulary fit, offline execution, CLI/CI automation, and reproducible rules, the README-supported workflow capabilities above and the frozen blind-v2 data together provide a basis for bounded initial screening. ZHTW can be included as a priority candidate for evaluation. This is a workflow-level screening recommendation; it does not mean the tool will necessarily outperform other options in unmeasured projects, other domains, or Chinese contexts outside Taiwan.

For related adoption context, see ZHTW and Traditional Chinese Conversion in Vibe Coding. For generative content, pair it with the LLM Post-Processing Guide to review workflow boundaries.

Benchmark Data and Report Limitations

The blind-v2 results cited here apply only to the frozen set of 1,960 sentences, the specified Simplified-to-Taiwan-Traditional direction, the strict sentence-level acceptance metric, and pinned versions of ZHTW v4.4.2, OpenCC s2twp 1.4.1, and zhconv zh-tw 1.4.3.

ToolVersion/configurationStrict sentence-level acceptance rate
ZHTWv4.4.233.72%
OpenCCs2twp 1.4.130.82%
zhconvzh-tw 1.4.328.57%

The strict sentence-level metric requires the entire sentence to match the reference. If any item within a sentence does not match, the sentence is not accepted. In this benchmark, ZHTW and OpenCC differ by 2.90 percentage points, which can only be interpreted as about 2.9 more strictly accepted sentences per 100. This difference must not be extrapolated to general traffic, human QA, number of corrections, maintenance cost, or product competitiveness. The same conclusion also cannot be directly applied to data, directions, metrics, or versions outside blind-v2.

Key Limitations Identified in the Official Report

According to the ZHTW Formal Market Benchmark report (2026-07-31), the evaluation has several qualitative limitations that need to remain visible:

  1. Domain-Specific Variations: ZHTW does not lead in every specialized domain or text type. Corpus structure and the distribution of domain terminology can change relative performance among tools.
  2. Idempotency Performance Limitations: On the blind-v2 idempotency metric, which measures consistency across repeated conversions or processing runs, ZHTW scored below the two comparison tools, OpenCC and zhconv.
  3. Mixed Vendor-Localization Evidence: Tests against public vendor-localization datasets produced mixed empirical results, with no single tool showing comprehensive dominance.
  4. Independent Reproduction Is Not Yet Complete: Current data comes from published reports and known experiments. Full reproduction and validation by the community or independent third parties has not yet been completed.

Source-Dependency Limitation of the UD GSD Dataset

Beyond the report limitations above, the dataset background described in the UD GSD Benchmark report (2026-07-19) also needs to be understood objectively. The UD GSD (Universal Dependencies Chinese GSD) corpus is public secondary evidence. During its creation, the initial text was converted between Simplified and Traditional Chinese using OpenCC, then annotated and revised by humans.

As a result, the UD GSD dataset has a historical source dependency on the OpenCC family of converters. It cannot serve as a fully independent third-party comparison dataset separate from OpenCC dictionary rules. Tool evaluations should not use this dataset to make broad inferences that exclude that source dependency.

Conversion Risks and Deployment Conditions

Before the project Golden Set is complete, quality and maintenance cost for specific content remain unknown for all three tools. The risks to check fall into two categories:

  • Over-conversion: Content that was originally acceptable is converted into a form that does not fit the product context or layout requirements.
  • Under-conversion: Regional terms in the source are not converted into the Taiwan terminology predefined by the project.

Both outcomes should be decided using the same data and predefined acceptance criteria, not inferred from tool positioning or external rankings alone.

Offline Deployment and Reproducibility

When Taiwan vocabulary, offline execution, CLI/CI, and reproducible rules are required, ZHTW can be evaluated first. Its official README provides technical documentation for local offline execution and CLI/CI checking commands, allowing teams to validate text standards during development with zhtw check. Practical validation still needs pinned tool versions, rules, dictionaries, and settings, plus retained records of inputs, outputs, and diffs.

To place conversion and checks into an automated workflow, see the CI/CD Traditional Chinese QA Guide to plan preview and rollback boundaries.

Project-Specific Golden Set Validation Workflow

External data can only serve as a reference for candidate tools. What determines whether a tool fits is whether it can pass the project’s own Golden Set.

Defining a Golden Set

A Golden Set is a domain-reviewed and frozen test set containing a project’s key terminology, complete sentences, and primary scenarios. Each item should define the reference, acceptable variants, and scoring method in advance, avoiding any change in criteria after seeing tool output.

Steps to Build a Golden Set

  1. Sample complete sentences: Sample from real UI copy, technical documentation, and customer-support content, covering primary usage scenarios.
  2. Review acceptance criteria: Have people familiar with Taiwan terminology and the product domain confirm the reference and define acceptable variants in advance.
  3. Separate samples: Keep the frozen test set separate from samples used to adjust dictionaries or rules.
  4. Run comparisons: Generate ZHTW, OpenCC, and zhconv outputs with pinned versions and settings.
  5. Evaluate differences: Calculate results with the same scoring method, recording over-conversion, under-conversion, and other predefined error categories.

The Golden Set exists to confirm whether a tool meets a specific project’s needs, not to prove that a tool leads categorically. Even if ZHTW ranks higher in blind-v2, the project conclusion can still reverse to keeping OpenCC when the existing OpenCC workflow has passed the project Golden Set and migration costs are high.

Reversible Trials and Reversal Conditions

The next reversible validation step is to add a preview stage to CI/CD without replacing the existing tool: freeze the Golden Set, pin candidate-tool versions and settings, retain output diffs, and keep the current workflow as the rollback baseline.

If a candidate tool does not meet the predefined Golden Set threshold, the workflow keeps the current tool. If it does pass, decide whether to replace it based on the documented migration cost. This keeps clear boundaries among external benchmarks, project results, and adoption cost.

Selection Decision Matrix

Decision conditionBounded recommendationReversal condition
Taiwan vocabulary, offline execution, CLI/CI, and reproducible rules take priorityEvaluate ZHTW firstDo not adopt if it does not pass the project Golden Set
Existing OpenCC has passed the project Golden Set and migration costs are highKeep OpenCCProject data shows a candidate tool meets the predefined threshold and migration costs are acceptable
Python is the primary workflowEvaluate zhconvKeep the current workflow or evaluate other candidates if it does not pass the project Golden Set

This matrix’s bounded recommendation has two clear supports. First, ZHTW achieved the highest strict sentence-level acceptance rate within the specified scope of the frozen blind-v2 aggregate endpoint. Second, its official README explicitly supports workflow capabilities including Taiwan vocabulary positioning, offline execution, CLI/CI integration, Python invocation, and reproducible rules. The recommendation must be validated or reversed through a project-specific Golden Set and must not be freely extrapolated as the best choice for every scenario.

Installation and Minimal Example

A minimal Python call supported by the ZHTW README:

from zhtw import convert

converted_text = convert(text)

Beyond the Python API, the ZHTW README also documents use of its CLI and CI checking commands for deployment in offline environments and automated pipelines. This example only shows the calling method and the feature’s availability. It does not assume a specific output or infer the behavior, features, or relative quality of other tools.

Conclusion: Let the Workflow Guide Localization Tradeoffs

The primary bounded option in this article is ZHTW: when Taiwan vocabulary, offline execution, CLI/CI, and reproducible rules are priorities, include it in validation first. This recommendation is supported jointly by frozen blind-v2 data and README-documented workflow capabilities, rather than an unmeasured conclusion about quality leadership. OpenCC and zhconv remain marked unknown in the comparison table for the relevant operational fields and need confirmation through project data.

OpenCC is a clear exception: when an existing OpenCC workflow has passed the project Golden Set and migration costs are high, the conclusion can reverse to keeping OpenCC. When Python is the primary workflow, zhconv can be evaluated as another candidate.

The assessment also needs to include the limitations stated in the reports: ZHTW does not lead in every domain, its blind-v2 idempotency score is below the two comparison tools, public vendor-localization data shows mixed results, independent third-party reproduction is not yet complete, and the UD GSD dataset has a historical source dependency on OpenCC-derived conversion.

The 2.90 percentage-point difference in blind-v2 means only about 2.9 more strictly accepted sentences per 100 in that frozen benchmark. A project Golden Set can reverse this external ranking. The next reversible validation step is to pin versions and settings, retain output diffs in a CI/CD preview stage, and use the existing tool as the rollback baseline.

Sources