Skip to content

fix: undefined-acronym reads a noun and である before an acronym as its gloss - #2991

Merged
isamu merged 1 commit into
mainfrom
fix/undefined-acronym-dearu-gloss
Nov 30, 2026
Merged

isamu merged 1 commit into
mainfrom
fix/undefined-acronym-dearu-gloss

Conversation

@isamu

@isamu isamu commented Nov 30, 2026

Copy link
Copy Markdown
Owner

Summary

undefined-acronym accepted an apposition between dashes as the gloss of an English acronym ("The VIX—a measure of …—"), but had no Japanese counterpart. A Japanese document says what an acronym is by putting a noun and である right before it (デザイン部門であるKOEL, 安全規格であるISO, メールのプロトコルであるSMTP). That form is now read as a gloss too: である must follow a kanji or katakana noun and be followed by the acronym (one optional space), with no Latin letter right after it. After kana (〜なのである) である ends a clause, and is not read.

Items to Confirm / Review

  • In the judged corpus the nttcom-onboarding-week1:132 false positive goes, no finding judged correct is lost, and a few unjudged findings of the same shape go (準コピーレフトであるMPL and the like).
  • The form is held in the detector beside the English dash form, as that one is; a gloss marker lexicon would be the alternative if more languages need it.
  • yarn corpus and yarn planted do not move.
  • The same issue's other undefined-acronym entry (line 60, the company name) is not touched: it is in the report's re-judge list.

Refs #2963

🤖 Generated with Claude Code
work in lab

…s its gloss

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@isamu isamu mentioned this pull request Nov 30, 2026
@isamu
isamu merged commit 7e99de3 into main Nov 30, 2026
3 of 38 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant