Chinese-Portuguese Machine Translation: A Study on Building Parallel Corpora from Comparable Texts

Siyou Liu, Longyue Wang, Chao-Hong Liu

Abstract

Despite the global significance of Chinese and Portuguese, they remain a "low-resource" language pair in Machine Translation (MT) due to a lack of high-quality parallel data. This study introduces a new parallel corpus of over 800,000 sentence pairs curated from Macao government websites. By employing a hierarchical alignment strategy to extract parallel sentences from comparable texts, the research evaluates the performance of Statistical (SMT) and Neural Machine Translation (NMT) architectures. Results indicate that while NMT excels in informal contexts, traditional Phrase-Based SMT maintains a performance edge in formal, domain-specific, low-resource settings.

Introduction

The "data hunger" of modern artificial intelligence presents a significant hurdle for language pairs that lack massive amounts of translated text. Chinese and Portuguese belong to entirely different language families (Sino-Tibetan vs. Romance), making direct translation linguistically complex. Existing datasets are often either too small or too niche (e.g., movie subtitles), hindering the development of general-purpose translators. This research taps into the unique administrative landscape of Macao, where both languages are official, to build a robust, formal-domain corpus.

Methodology: Hierarchical Alignment

To transform comparable articles from Macao government archives into a structured parallel corpus, the authors developed a multi-stage pipeline. This hierarchical approach ensures that semantic equivalence is maintained from the document level down to individual sentences.

The hierarchical alignment pipeline for document, paragraph, and sentence levels.
  1. Document Alignment: Initial matching utilized URL heuristics. For pages without clear patterns, a Vector Space Model (VSM) with TF-IDF weighting and word embeddings was used to identify semantically similar documents.
  2. Paragraph & Sentence Alignment: When document structures matched, one-to-one alignment was applied. For more complex cases, a "mini" MT system translated source text to allow for BLEU-score-based similarity matching in the target language.

Datasets and Benchmarking

The study compared two primary datasets:

  • OpenSubtitles2018: A large (6.7M sentences) but noisy dataset of movie transcripts characterized by short, informal sentences.
  • The Curated Corpus (Our Corpus): Over 800,000 sentence pairs from Macao government sources (GCS, Macao Law, and the Printing Bureau), covering formal domains like law, news, and tourism.

Three architectures were benchmarked: Phrase-Based SMT, RNNsearch (attention-based neural), and the Transformer architecture.

Key Results and Analysis

The performance was evaluated using BLEU scores, revealing a distinct split based on the nature of the data. While the Transformer model dominated the informal OpenSubtitles dataset, the results on the formal government corpus were more nuanced.

BLEU score comparison between SMT, RNNsearch, and Transformer models across datasets.

On the curated government corpus, the SMT system achieved the highest score (27.42), outperforming the standard Transformer (25.11). This suggests that neural models struggle more with "Out-of-Vocabulary" (OOV) words and the high linguistic diversity found in formal documents when training data is relatively limited. However, the application of Byte-Pair Encoding (BPE)—which decomposes words into sub-units—narrowed this gap, improving the Transformer's performance to 26.55 BLEU points.

Furthermore, the study demonstrated that direct Chinese-Portuguese translation using this parallel corpus significantly outperformed "pivot" methods (using English as an intermediate language), which typically only reached scores between 11–14 BLEU.

Conclusion

This research highlights that in low-resource, domain-specific contexts, traditional statistical methods remain highly competitive with state-of-the-art neural architectures. The newly created Macao corpus provides a vital resource for improving Chinese-Portuguese MT. Future work will focus on Universal Low-Resource NMT and discourse-aware approaches to better capture document-level context.

Summary updated

BibTeX
@inproceedings{liu2018chinese,
  author = {Siyou Liu and Longyue Wang and Chao-Hong Liu},
  title = {{Chinese-Portuguese Machine Translation: A Study on Building Parallel Corpora from Comparable Texts}},
  booktitle = {LREC},
  year = {2018},
}
Figure