术忽 → 朮忽 should be the s2t mapping (currently 術忽)

Open Beginner friendly
#1,523 0 comments 0 reactions 0 assignees View on GitHub

@MOCCMO is already working on this.

Since Nov 25, 2026.

  • #1526 by @MOCCMO — open

Assessment

Difficulty
1/5
Estimated time
1-3 hours
Newbie friendliness
85/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
cpp

Research direction

The issue identifies data/dictionary/STPhrases.txt and the existing 术赤 → 朮赤 entry as a precedent. Read that entry and the related character mapping in data/dictionary/STCharacters.txt; add the phrase mapping for 术忽 → 朮忽. Run OpenCC with s2t, s2tw, s2twp, s2hk, and s2hkp to confirm 术忽 converts to 朮忽 while the 手术忽然中断。 example remains unchanged in meaning.

Written by the indexing model from the issue text.

Description

Reproduction

Tested with OpenCC 1.4.2 and master at fae2a0a, both built from upstream source.

printf '%s\n' '术忽' '元代称犹太人为术忽。' '手术忽然中断。' | opencc -c s2t.json
Input Actual output Expected output
术忽 術忽 朮忽
元代称犹太人为术忽。 元代稱猶太人爲術忽。 元代稱猶太人爲朮忽。
手术忽然中断。 手術忽然中斷。 手術忽然中斷。

The same conversion of 术忽 to 術忽 also occurs with s2tw, s2twp, s2hk and s2hkp.

Dictionary entry

朮忽 is a historical Chinese term for Jewish people. Its first character is 朮 (U+672E). Institute of Jewish Studies, Nanjing University

The character dictionary lists 術 first and 朮 second for 术. A phrase entry for 术忽 → 朮忽 would follow the existing 术赤 → 朮赤 entry. I verified with a temporary phrase dictionary on master that this mapping produces the expected s2t outputs above. Character dictionary · Phrase dictionary

Dominant language
C++
Stars
10.1k
Forks
1.1k
Avg merge
47m
Merged PRs (30d)
3

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from BYVoid/OpenCC

All issues in BYVoid/OpenCC

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.