Add Traditional Chinese translations for distance measurements#1075
Merged
Add Traditional Chinese translations for distance measurements#1075
Conversation
Fixes #988. The character 里 (lǐ, unit of distance) was being incorrectly converted to 裏 when preceded by 几万/几千/几百, because the MMSEG segmenter matched the shorter phrase (e.g. 几万) leaving 里 to fall through to STCharacters where it becomes 裏. Adding 几万里, 几千里, and 几百里 as phrase entries ensures correct segmentation. https://claude.ai/code/session_014CsUdYoZ7k5YCvdijwaeDP
Verifies that "几万里" correctly converts to "幾萬里" (not "幾萬裏") in S2T conversion, ensuring the distance unit 里 is not mistakenly converted to 裏 when preceded by quantity phrases like 几万. https://claude.ai/code/session_014CsUdYoZ7k5YCvdijwaeDP
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds three new entries to the Simplified-to-Traditional Chinese phrase dictionary for distance-related measurements.
Key Changes
几万里→幾萬里(tens of thousands of li, a traditional Chinese unit of distance)几千里→幾千里(thousands of li)几百里→幾百里(hundreds of li)#988