Skip to content

ja: read lim sup and lim inf as じょう極限 and か極限, like the limit - #1060

Merged
NSoiffer merged 1 commit into
daisy:mainfrom
yasumorishima:ja-limsup-v2
Nov 20, 2026
Merged

NSoiffer merged 1 commit into
daisy:mainfrom
yasumorishima:ja-limsup-v2

Conversation

@yasumorishima

Copy link
Copy Markdown
Contributor

lim sup of a_n as n goes to infinity was read limit sup n 右向き矢印 無限大; オブ エー 下付き n. The limit rule in Intent/general.yaml names lim sup and lim inf limit-sup and limit-inf, but ja only defined lim-sup and lim-inf, so the English intent name was spoken, the arrow was read as a plain 右向き矢印 because the ja arrow rules only look at m:limit, and the オブ of U+2061 stayed because the condition that drops it also only names m:limit. This adds limit-sup and limit-inf to ja/definitions.yaml, as pl has, and lets the ja conditions for →, ↗, ↘ and U+2061 take limit-sup and limit-inf as well, so the example now reads じょう極限 n 近づく 無限大; エー 下付き n, the same shape as the plain limit (極限 n 近づく 無限大; エー 下付き n), and lim inf as x approaches 0 from below reads か極限 x 下から近づく 0; f オブ x. じょう and か are written in kana because Open JTalk reads 上極限 as ウエキョクゲン and 下極限 as シモキョクゲン, and Terse uses the same words instead of リム サップ and リム インフ, as the Terse of the plain limit is 極限. The old lim-sup and lim-inf keys stay and get the same words. Intent and the other languages are not changed. The form MathJax gives for \limsup, an mo with lim, a thin space and sup, now also gets じょう極限 and 近づく but still keeps the オブ, because limsup with a space is not in FunctionNames in Rules/definitions.yaml, so the U+2061 lands in an added mrow; that is outside ja and is left for later. A new test covers lim sup and lim inf in SimpleSpeak, ClearSpeak and Terse. All language tests pass and audit-translations ja is unchanged (the three arrow rules carry an audit-ignore note for the extra condition).

The limit rule in Intent/general.yaml names lim sup and lim inf
limit-sup and limit-inf, but ja only defined lim-sup and lim-inf, so
lim sup (n→∞) a_n was read "limit sup n 右向き矢印 無限大; オブ エー 下付き n".
ja definitions now has limit-sup and limit-inf as pl does, and the ja
conditions for →, ↗, ↘ and U+2061 that looked only at m:limit also take
limit-sup and limit-inf, so it reads "じょう極限 n 近づく 無限大; エー 下付き n".
じょう and か are written in kana because Open JTalk reads 上極限 as
ウエキョクゲン and 下極限 as シモキョクゲン. lim-sup and lim-inf get the
same words.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PxieeSNJ9rQRp9RZet92V9
@github-actions

Copy link
Copy Markdown
Contributor
Linux library size: 0.60 MiB (0.00%)
Revision Release liblibmathcat.so
Base (4fd0f27) 0.60 MiB (624,928 bytes)
PR (625d935) 0.60 MiB (624,928 bytes)
Change 0 bytes (0.00%)

Built with default features, Rust 1.96.0, and Ubuntu 24.04. Workflow run.

@NSoiffer
NSoiffer merged commit 13a8b9b into daisy:main Nov 20, 2026
14 checks passed
@github-project-automation github-project-automation Bot moved this from Triage to Done in MathCAT Project Board Nov 20, 2026
@yasumorishima
yasumorishima deleted the ja-limsup-v2 branch November 20, 2026 03:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants