Text parser

Text parser

In an Adventure game, 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 author to react on input. The game author does not have to check whether the command is "get the gem", "take the gem", "get gem", "take gem", "take the precious gem", and so on, because the Parser has already stripped that down to something like "take gem".

For the player, the game is more flexible. The player does not have to hunt for the right words, because the game understands more words.

Parsers were used in early Interactive Fiction like the Zork series and games by Sierra On-Line.

See also Parser in general computer science.


Wikimedia Foundation. 2010.

Игры ⚽ Нужно сделать НИР?

Look at other dictionaries:

  • Text-Parser — Ein Parser [ˈpɑːɹsɚ] (engl. to parse „analysieren“ bzw. von lateinisch pars „Teil“; im Deutschen gelegentlich auch Zerteiler) ist ein Computerprogramm, das in der Computertechnik für die Zerlegung und Umwandlung einer beliebigen Eingabe in ein… …   Deutsch Wikipedia

  • Parser — Ein Parser [ˈpɑːʁzɐ] (engl. to parse, „analysieren“, bzw. lateinisch pars, „Teil“; im Deutschen gelegentlich auch Zerteiler) ist ein Computerprogramm, das in der Computertechnik für die Zerlegung und Umwandlung einer beliebigen Eingabe in ein für …   Deutsch Wikipedia

  • Text-Adventure — Adventures oder Abenteuerspiele bezeichnen ein bestimmtes Genre von Computerspielen. In einem Adventure löst der Spieler typischerweise verschiedene Rätsel, findet Gegenstände oder Informationen, redet mit anderen Figuren und treibt so die im… …   Deutsch Wikipedia

  • Text Executive Programming Language — In 1979, Honeywell Information Systems announced a new programming language for their time sharing service named TEX, an acronym for the Text Executive processor. TEX was a first generation scripting language, developed around the time of AWK and …   Wikipedia

  • Text-Mining — Der Begriff Text Mining (engl. für „Textschürfen“) bezeichnet die automatisierte Entdeckung relevanter Informationen aus Textdaten. Mit statistischen und linguistischen Mitteln erschließt Text Mining Software aus Texten Informationen, die die… …   Deutsch Wikipedia

  • Parser Grammar Engine — The Parser Grammar Engine (originally Parrot Grammar Engine) or PGE is a compiler and runtime for a Perl 6 rules for the Parrot virtual machine. [cite web | url=http://search.cpan.org/ ltoetsch/parrot 0.2.2/compilers/pge/README | title=Parrot… …   Wikipedia

  • Parser — Analyse syntaxique Pour les articles homonymes, voir Analyseur. L analyse syntaxique consiste à mettre en évidence la structure d un texte, généralement un programme informatique ou du texte écrit dans une langue naturelle. Un analyseur… …   Wikipédia en Français

  • parser — parse ► VERB 1) analyse (a sentence) into its component parts and describe their syntactic roles. 2) Computing analyse (text) into logical syntactic components. DERIVATIVES parser noun. ORIGIN perhaps from Old French pars parts …   English terms dictionary

  • parser — noun Date: circa 1864 one that parses; specifically a computer program that breaks down text into recognized strings of characters for further analysis …   New Collegiate Dictionary

  • Validierender Parser — Vorlage:Infobox Dateiformat/Wartung/magic fehltVorlage:Infobox Dateiformat/Wartung/website fehlt Extensible Markup Language Dateiendung …   Deutsch Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”