encyclopegia.org

Text parser

In adventure games, a text parser takes typed input (a command) from the player and simplifies it to something the game can understand. Usually, words with the same meaning are turned into the same word (e.g. "take" and "get") and certain filler words are dropped (e.g. articles, or the "at" in "look at rock"). The parser makes it easier for the game's author to react on input. The author does not have to write special code to process the commands "get ye flask", "take ye flask", "get flask", "take flask", "take ye precious flask", etc. separately, as the parser will have stripped the input down to something like "take flask". For the player, the game is more flexible, as the game has a larger vocabulary, and there are fewer guess-the-verb and guess-the-noun problems. Parsers are used in early interactive fiction games like the Zork series, and more recently in games created by systems like Inform and TADS.

In adventure games, a text parser takes typed input (a command) from the player and simplifies it to something the game can understand. Usually, words with the same meaning are turned into the same word (e.g. "take" and "get") and certain filler words are dropped (e.g. articles, or the "at" in "look at rock"). The parser makes it easier for the game's author to react on input. The author does not have to write special code to process the commands "get ye flask", "take ye flask", "get flask", "take flask", "take ye precious flask", etc. separately, as the parser will have stripped the input down to something like "take flask". For the player, the game is more flexible, as the game has a larger vocabulary, and there are fewer guess-the-verb and guess-the-noun problems. Parsers are used in early interactive fiction games like the Zork series, and more recently in games created by systems like Inform and TADS. ==See also== Natural language parsing

References

No reference rows published for this article.

Cite this article

MLA

"Text parser." encyclopegia.org, 2026, https://encyclopegia.org/wiki/text-parser. Accessed 24 November 2026.

Chicago

"Text parser." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/text-parser.

APA

encyclopegia.org. (2026). Text parser. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/text-parser

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Ninety Mile Beach, Victoria

enwiki · references available

Puckeys Estate Reserve

enwiki · references available

Vinyl composition tile

enwiki · references available

Kingswood Country

enwiki · references available

Zest (brand)

enwiki · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1368494672 · 0.5 · snapshot enwiki-001368494672

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.