Skip to content

fix: max-kanji-continuous breaks a run at a 別 that breaks things down - #2931

Merged
isamu merged 1 commit into
mainfrom
fix/max-kanji-continuous-breakdown-suffix
Nov 30, 2026
Merged

isamu merged 1 commit into
mainfrom
fix/max-kanji-continuous-breakdown-suffix

Conversation

@isamu

@isamu isamu commented Nov 29, 2026

Copy link
Copy Markdown
Owner

Summary

max-kanji-continuous counted 年齢階級別消費支出額 (a fixed statistical term in a glossary) as one run. A 別 that the analyser splits off as its own word ("broken down by") shows where a word ends, just as 等 and 以外 already do. A new lexicon, breakdown-suffix (別), is read the same way as list-suffix and range-suffix: in the middle of a run it splits the run, at the end it is not counted. 別 inside one word (特別, 区別) is not split off by the analyser, so it does not break a run.

Items to Confirm / Review

  • Whether 別 belongs with 等 and the range words. A run such as 都道府県別市区町村別人口推計値 is now read as three pieces and no longer flagged.
  • The judged corpus loses no correct finding; yarn corpus and yarn planted do not move.

Closes #1495

🤖 Generated with Claude Code
work in lab

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@isamu isamu mentioned this pull request Nov 30, 2026
@isamu
isamu merged commit 7a1ab40 into main Nov 30, 2026
40 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.

chaff-corpus: stat-kakei-yougo — max-kanji-continuous

1 participant