ja: read brackets and absolute value in Japanese - #725
Merged
Conversation
The seeded wording transliterated the English cues and kept the English word
order, which puts the closing cue before the group it closes.
Japanese names the shape when the group opens and postposes the closing cue
(Yamaguchi, Kawane and Sawazaki 1996, item 8):
( 括弧 / 丸括弧 ) 括弧閉じ / 丸括弧閉じ
[ 角括弧 ] 角括弧閉じ
{ 中括弧 } 中括弧閉じ
The Terse/Verbose split is kept where en has one: 丸 (the shape) drops out in
Terse the same way "paren" does in English.
Absolute value: 「絶対値 の x」 is ungrammatical because の attaches the other
way round in Japanese, so "the absolute value of x" would have to be 「x の絶対値」.
The cited reading keeps the written order and simply drops the preposition, so
|x| is 絶対値 x. With AbsEnd the closing cue moves after the contents and the
transliteration リリース ("release", from "end") becomes 閉じ.
audit-translations ja: Rule differences unchanged at 22, untranslated 3681 to 3680.
This was referenced Aug 29, 2026
Collaborator
|
looks good. |
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.
Follows #720, #721 and #722 on the
jabranch.Brackets
The seeded wording transliterated the English cues and kept the English word order, so the closing cue was spoken before the group it closes (
閉じ丸括弧, literally "close paren"). Japanese names the shape when the group opens and postposes the closing cue (Yamaguchi, Kawane and Sawazaki 1996, item 8):()[]{}The Terse/Verbose split is the one
enalready has: 丸, the word for the shape, drops out in Terse exactly as "paren" does in English.This also fixes three machine-translation slips:
クローズ ブラス(from "close brace"),オープンブレイス, and左の括弧for{.Absolute value
|x|was read絶対値 の x. That is ungrammatical: Japaneseのattaches the other way round, so "the absolute value of x" would have to bex の絶対値. Item 1 of the same paper says not to reorder into Japanese word order, and item 8 gives the reading for|…|, so the fix is to keep the written order and drop the preposition:|x|is now絶対値 x.With
ClearSpeak_AbsoluteValue = AbsEndthe closing cue is a closing delimiter, so it now comes after the contents instead of before them, andリリース("release", a transliteration of "end") becomes閉じ.Checks
audit-translations ja: Rule differences unchanged at 22, untranslated 3681 to 3680. I measured the baseline onjafirst, so the 22 is pre-existing and this branch does not widen the structural gap.square_and_curly_bracketsandabsolute_value_abs_end.Deliberately not in this PR
unicode-full.yamlhas roughly 107 more bracket names in the same shape (トップ亀甲シェルブラケットand so on), and⟨/⟩are左角ブラケット/直角ブラケット— the second translated the direction word "right" as "right angle". I have left that file alone because NSoiffer mentioned in #715 that MathPlayer Japanese data could seed the unicode files, and hand-editing a table that is about to be replaced seemed wasteful. Happy to do it now instead if you would rather not wait.