The invention relates to the computer field, in particular to a method for translating natural languages into a computer language, a semantic analyzer and a human-machine conversation system. The method comprises the steps of inputting the natural languages into a computer; extracting grammatical items, logic connection words and logical semantics through the computer; translating the grammatical items, the logic connection words and the logical semantics into character string codes, instruction codes and binary codes respectively; splicing the codes into a computer-recognizable programmable language. The technical process is performed on the grammatical items according to a mapping and splicing method of a computer program, therefore, any natural language can be translated into the computer-recognizable programmable language, understanding on the natural languages of the computer can be achieved, the technological base is established for developing deep intelligent electronic products, and dialogue and conversation between human and machine can be achieved.
Method for translating natural languages into computer language, semantic analyzer and human-machine conversation system