nlp - What programming language is most like natural language? -


I have got ideas for this question from many situations where I do not know what the person is talking about And when others don do not understand me.

So, a "smart" solution will speak a computer language. :)

I am interested in how far you can go to approach the natural language of a programming language (English) when I say, I mean not to use words and sentences only , But can "make" a natural language and to be able to "do" I mean that it can be used in a very limited way as a replacement for natural language.

I know that this is impossible (but?) But I think it might be interesting.

There is a programming language that has been informed that, in its most recent incarnation, 7 Indicate, like a natural language in a particular language, very looks, written language.

Text is specifically reported for creating adventure games, but there is no underlying cause that the concepts can not be extended to other places.

Here is a small snippet of 7 code notifying, taken from Game Glass by Emily Short.

  Stage is a room Old woman is a woman in stage, understand the "mother" or "step mother" in the form of an old woman The old woman is active The description of the woman "She looks surrounded : Skin opens with a thin neck, nose is nonsense, lips are white, and perhaps when its fate improves, it also improves cosmetics. " In the Rajkumar stage there is a man named Rajkumar, "He is attractively attractive in his flightless path, it is difficult to have little compassion." The prince keeps a glass slippers wear glass slippers, wear "shoe" or "heel" or "toe" or "foot" in the form of a shoe. Details of slippers "It is too small for an adult woman's feet. "  

The complete code can be found.

This is a very simple example ... it can actually control surprisingly strong thoughts.

It should be kept in mind that the code is not really a strange cyber where the meanings of construction are hidden ... this code makes more or less what you would expect. For example:

  The old woman is a woman in the stage. Understand "mother" or "step mother" in the form of an old woman,  

creates an object which is a female person, which is "old lady" objects and objects that "stage" "Occurs in the place of the room called", is in place of. Then the two nicknames ("mother" and "step mother") are made, which also make reference to both the "old woman" object.

Of course, as the complexity increases in the examples, the more necessary hoops becomes complicated. English, its nature is ambiguous, while computer code is not the most definitive, so we will never get "perfect marriage".


Comments