ja: use the Japanese names for the elementary functions and the parts of a complex number - #733
Open
yasumorishima wants to merge 1 commit into
Open
ja: use the Japanese names for the elementary functions and the parts of a complex number#733yasumorishima wants to merge 1 commit into
yasumorishima wants to merge 1 commit into
Conversation
… of a complex number
yasumorishima
force-pushed
the
ja-elementary-functions
branch
from
August 30, 2026 07:18
8a5c938 to
6fcf656
Compare
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.
The Japanese seed data reached the elementary functions and the complex-number
parts through machine translation, and most of the names came out as either a
different mathematical object or an ordinary Japanese word. This replaces them
with the terms Japanese mathematics actually uses.
Only strings change. No rule is added, removed, or restructured, and
audit-translations jareports the same 28 rule differences before and after.Names that were a different object
tansecsec(terse)sinhcoshreal-partimaginary-partcomplex-conjugatepolar-coordinateNames that were not Japanese words at all
種目(secant),アークシネ(arcsine),アルコシン(arccosine),アーク-コタント(arccotangent),コタント(cotangent),ピンチ(sinh, terse),タンチ(tanh),コシュネック(csch),コタンチ(coth),シーメール(sech, terse — this one is an offensive word inJapanese),
フラクショナルパーツ(fractional part),アーグ(complex arg).Terms used
All of them are the standard Japanese names and are the ones the Japanese
Wikipedia articles use:
The inverse hyperbolic functions keep katakana only. Japanese sources do not
use a 逆双曲線正弦 form, so there was nothing to put there; the change is limited
to spelling
アークコッシュasアークハイパーボリックコサイン.Verbosity
definitions.yamlalready usedkatakana: kanjiforsine,cosecantand thehyperbolic entries, so the rest of the block now follows it: terse says the
abbreviation the way it is read aloud (コサイン, タンジェント), medium and verbose
say the formal name (余弦, 正接).
The
mirules ingeneral.yamlkeep katakana in both branches, matching thecosrule that was already there andsin, which — as inen— has noverbosity test and always says サイン. Splitting only some of the six would make
one formula say サイン and 余弦 side by side.
Tests
22 assertions in
tests/Languages/ja/ja.rs: the six trigonometric and sixhyperbolic functions as
mi, one terse reading, the four complex-numberintents, and the six inverse trigonometric intents.