Skip to reading
The Text Parser

Prepositions and ignored words

Edition 0.86.3.4

Teach your adventure verbs and synonyms, add command input and connect typed instructions to real game actions.

Download PDFView illustrations

Figure 26. The two-object sentence reaches the lantern's response for the clock.

It is normal for on to appear in Words to Ignore. The running two-object route reads the configured separator from the original command before applying ignored-word cleanup to the two noun phrases.

Use a clear verb-first sentence for this feature: use the lantern on the clock. In this release, a leading filler phrase before the verb can fail in the two-object route even when that phrase is ignored for ordinary commands. Do not use please use… as your first pair test.

Each side needs to name a complete target after filler words are removed. Use lantern on is incomplete. Extra unmatched noun words can also make the pair fail rather than silently selecting a partial target.

Preview is not the pair test#

The designer's three-line preview does not display a complete source-and-target pair. It may show one ordinary target for this sentence. Use the running game to verify the second-target response, source opt-in, enabled targets and the action result.

If no specific second-target rule matches, the first object's ordinary verb actions can receive the pair context. Keep the rules explicit while learning the feature so a fallback does not hide a missing target selection.

Page 31 of 41Permalink
Go to page