Clever Geek Handbook
📜 ⬆️ ⬇️

Pseudo-natural language

Pseudo-natural language is a computer language whose constructions are intentionally made similar to the constructions of a natural language ( English , Russian , etc.)

Pseudo-test languages ​​are designed for an inexperienced user. In some pseudo-natural languages ​​(for example, SQL ), only the simplest constructions are similar to a natural language; complex queries are clearly “computerized”.

The syntax of most pseudo-natural languages ​​is very simple, which makes it easy to write a language parsing program.

Content

  • 1 Examples
  • 2 Features of a pseudo-natural language (for example, a text quest)
  • 3 disadvantages
  • 4 See also
  • 5 Links

Examples

  • Text quests , MUDs .
  • SQL
  • Bot Management Language in Quake 3 .

Features of a pseudo-natural language (for example, a text quest)

Consider the text quest command:

  > hit the bell with a stick

For example, if the interpreter first omits the prepositions (“by”, “by”, “k”, etc.), and then parses the resulting text in the form

  > action [inventory] [furnishings]

then the following commands will pass:

  > hit the stick with a bell
 > hit the stick under the bells

but will fail:

  > hit the bell with a stick

Weaknesses

Some pseudo-natural languages ​​are poorly documented. This does not allow one to find out why the design, which a person considers correct, "does not suit" the computer.

Pseudo-natural languages ​​have very long designs; in most quests there are reductions like "osm" - look around; “Take” - to take, “inv” - inventory .

Finally, complex constructions in a pseudo-natural language have a clearly “computer” look.

See also

  • Interactive fiction
  • SQL
  • Virtual Interlocutor
  • Natural Language Processing

Links

  • "Building Expert Systems" HayesRoth F., 1987
  • MUD game in Russian pseudo-natural language: “telnet aladon.sovintel.ru 9000”
  • About the Foul language in the Lingvo dictionary (inaccessible link)
  • “Pseudo language” at www.ommadawn.dk/libellus
  • A chapter from a scientist's article on programming
Source - https://ru.wikipedia.org/w/index.php?title= Pseudo - natural language &oldid = 102594692


More articles:

  • Cheryomushkinsky tram
  • Vorovskoless
  • Benzotriazole
  • Lesnaya Polyana (Yaroslavl Region)
  • Holmenkollen
  • Analytical Mechanics (Lagrange Book)
  • Lestadianism
  • Podljaschuk, Pavel Isaakovich
  • Rabin, Joseph Izrailevich
  • Radvolina, Ida Markovna

All articles

Clever Geek | 2019