The invention relates to a
system for ensuring a computer to understand natural languages, comprising a
database, a related command set, a string creating unit, a subject-predicate recognizing unit, a key word recognizing unit and a logic
processing unit, wherein the
database is used for storing the categories of language
material resources and application programs; the related command set is used for logical operation and
program control of input natural languages; the string creating unit is used for generating input strings according to the input natural languages; the subject-predicate recognizing unit is used for recognizing the subject and predicate character fields in the input strings and respectively acquiring the subject and predicate
object code segments matched with the subject and predicate character fields by retrieving the
database; the key word recognizing unit is used for recognizing the key words / phrases in the input strings and acquiring corresponding logical operation or
program control commands from the command set according to the key words / phrases; and the logic
processing unit is used for combining the subject and predicate
object code segments into an integral program file. The invention also provides a method for ensuring the computer to understand natural languages. The method realizes integral recognition and understanding of the natural languages by recognizing the subjects and predicates and the logical connectives thereof in the natural languages.