ja: read a leading minus as マイナス - #722
Merged
Merged
Conversation
A unary + or - was spoken 正の / 負の. Those name a kind of number -- 負の数 is "the negative numbers" as a category -- and are not how -5 is read aloud. Japanese says マイナス 5, with the same word used for the binary operator; the reference's worked example reads -b as マイナス b, and its symbol table gives ± as プラス・オア・マイナス. Three pairs in ClearSpeak_Rules.yaml (the two PosNegSqRoot rules and negative_and_positive) and the prefix forms of "plus" and "minus" in definitions.yaml. Not touched: SharedRules/general.yaml, where 正の / 負の are correct -- there they modify 整数 in "the set of all positive integers".
This was referenced Aug 29, 2026
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.
Third of the small PRs from #715, independent of #720 and #721.
What is wrong
A unary
+or-was spoken 正の / 負の. Those name a kind of number — 負の数 is "the negative numbers" as a category — and they are not how −5 is read aloud. Japanese reads it マイナス 5, using the same word as the binary operator; there is no separate "negative" word the way English distinguishes "negative five" from "five minus".The reference this series follows agrees: its worked example reads −b as 「マイナス b」, and the symbol table in its appendix gives ± as 「プラス・オア・マイナス」. 負の does not appear anywhere in it.
Changes
Three pairs in
ClearSpeak_Rules.yaml— the twoPosNegSqRootrules andnegative_and_positive— and theprefix=forms ofplusandminusindefinitions.yaml.Deliberately not touched:
SharedRules/general.yaml, where 正の / 負の are correct. There they modify 整数 in "the set of all positive integers", which is exactly the categorical sense that makes them wrong as a reading of −5. A blanket replacement would have broken that, so the patch asserts that file is unchanged.Tests
negative_number(−5 → 「マイナス 5」) in both styles.Related
This is what #721 left out. There, x⁻² came out as 「x の 負の 2 乗」; with this change it reads 「x の マイナス 2 乗」. I did not add that test to either PR because it needs both changes; it belongs in whichever of the two merges second, or in a follow-up.
Also spotted while here, for a later PR rather than this one:
general.yamlrenders ℂ as 「複雑な数字」 ("complicated numbers") and ℕ as 「自然な数字」. The mathematical terms are 複素数 and 自然数.