Skip to content

Help: @PRE conditions on the rule element itself (engine 4.2.26) - #238

Merged
ddehilster merged 1 commit into
VisualText:mainfrom
ddehilster:docs/element-pre-438
Oct 14, 2026
Merged

ddehilster merged 1 commit into
VisualText:mainfrom
ddehilster:docs/element-pre-438

Conversation

@ddehilster

Copy link
Copy Markdown
Member

Documents VisualText/nlp-engine#782 (#438): a PRE Action can be written as a key on the rule element it applies to.

  • PRE.md: a new section, "Conditions on the Element Itself". It explains the key form, shows it next to the equivalent @PRE region, lists every action that can be written this way, and notes that it combines with a PRE region on the same rule.
  • Phrase_element_modifiers.md: a new row in the table of element keys, for the PRE action names.

The examples follow cases in the engine's element-pre fixture, where each is checked against the @PRE form.

Merge after nlp-engine#782; a visualtext-files release (v3.13.23) then ships it.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ddehilster
ddehilster merged commit 19e74cf into VisualText:main Oct 14, 2026
1 check 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