Skip to content

feat: agreement-slip reports a noun where a second verb belongs after to - #2998

Merged
isamu merged 1 commit into
mainfrom
fix/agreement-slip-infinitive-noun-conjunct
Nov 30, 2026
Merged

isamu merged 1 commit into
mainfrom
fix/agreement-slip-infinitive-noun-conjunct

Conversation

@isamu

@isamu isamu commented Nov 30, 2026

Copy link
Copy Markdown
Owner

Summary

agreement-slip gains a conjunct variant: after to, a plain verb (adverbs between allowed) and and, a noun made from a verb whose plain form is spelled differently, followed by an object, is reported with the verb meant ("to safely watch and photography wildlife" → "photograph"). A noun cannot take an object, so the shape has one reading.

  • The nouns and the verbs they stand for live in a new lang-en lexicon, noun-for-verb.yaml (pattern / rewrite). It starts with photography only; nouns that often begin a compound ("management team") are kept out on purpose.
  • Without an object after the noun ("to hike and photography.") nothing is reported: that may be a second noun phrase.
  • Rule YAML (why / how_to_fix / not_flagged / message, ja and en) and the rule's sample screens are updated.

Items to Confirm / Review

  • A compound object after the noun ("time to plan and photography skills") still reads as the slip. It needs the infinitive and a separate noun phrase coordinated at a higher level, which no judged or pinned document shows; please confirm that residual risk is acceptable.
  • Checked: yarn corpus and yarn planted unchanged; the judged corpus gains the missed case with no correct finding lost for this rule and no new finding; yarn rules:measure leaves agreement-slip's measurement unchanged (status and levels untouched).

Closes #1864

🤖 Generated with Claude Code
work in lab

… to (to watch and photography wildlife)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@isamu isamu mentioned this pull request Nov 30, 2026
@isamu
isamu merged commit 9b14257 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: nps-article-stewardship-in-recreation — agreement-slip

1 participant