Fix phonetics for 折 - #727
Conversation
The concise dictionary prefers `折騰 ㄓㄜ ㄊㄥˊ` Ref: https://dict.concised.moe.edu.tw/search.jsp?md=1&word=%E6%8A%98&size=-1
Summary of ChangesHello @xatier, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request addresses the phonetic transcription for the Chinese character "折" by adding its correct entry to the Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Pull Request Overview
This PR adds five new Chinese phrases to the dictionary data files: "將功折罪", "損兵折將", "東折西繞", "不折不扣" (alternate reading), and "折騰" (alternate reading). It also adds a new heterophony reading for the character 折 (ㄓㄜ) to BPMFBase.txt.
Key Changes
- Added 5 phrase entries with their Bopomofo mappings
- Added a new heterophony reading for the character 折 (ㄓㄜ, first tone)
- All phrases added with frequency value of 0 in phrase.occ
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| Source/Data/phrase.occ | Added 3 new phrases (將功折罪, 損兵折將, 東折西繞) with frequency 0 |
| Source/Data/BPMFMappings.txt | Added 5 phrase mappings including 2 alternate readings for existing phrases (不折不扣, 折騰) and the 3 new phrases |
| Source/Data/BPMFBase.txt | Added heterophony reading for 折 (ㄓㄜ, first tone) alongside existing reading (ㄓㄜˊ, second tone) |
|
/gemini review |
There was a problem hiding this comment.
Code Review
This pull request correctly adds two additional pronunciations for the character '折' based on the provided dictionary reference. The changes in BPMFBase.txt look good. However, there's a small inconsistency in the ordering of the new pronunciations within the heterophony list files compared to the dictionary reference. I've left specific comments with suggestions to align the data with the reference. Overall, a good data update.
|
/gemini review |
lukhnos
left a comment
There was a problem hiding this comment.
Left one comment with a change suggested by automated review.
The concise dictionary prefers
折騰 ㄓㄜ ㄊㄥˊRef: https://dict.concised.moe.edu.tw/search.jsp?md=1&word=%E6%8A%98&size=-1