CN1493980A - Manual intelligent machine and method of realizing natural speech understanding - Google Patents

Manual intelligent machine and method of realizing natural speech understanding Download PDF

Info

Publication number
CN1493980A
CN1493980A CNA021333009A CN02133300A CN1493980A CN 1493980 A CN1493980 A CN 1493980A CN A021333009 A CNA021333009 A CN A021333009A CN 02133300 A CN02133300 A CN 02133300A CN 1493980 A CN1493980 A CN 1493980A
Authority
CN
China
Prior art keywords
instruction
operand
ifxx
register
content
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CNA021333009A
Other languages
Chinese (zh)
Other versions
CN100428162C (en
Inventor
伟 王
王伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to CNB021333009A priority Critical patent/CN100428162C/en
Publication of CN1493980A publication Critical patent/CN1493980A/en
Application granted granted Critical
Publication of CN100428162C publication Critical patent/CN100428162C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

An artificial intelligence computer and its method for understanding natural language feature that the natural language is directly used to describe the knowledge in its knowledge base, and a natural language understanding system based on natural language oriented assembler language ANL is used to understand the natural language prescription input externally. As a result, it has higher intelligent level.

Description

The method of artificial intelligence machine and realization natural language understanding thereof
Technical field the invention belongs to the computer intelligence field, is specifically related to the method for a kind of artificial intelligence machine and realization natural language understanding thereof.
Background technology artificial intelligence, the front subject that " allows machine have class people thinking " as a research, after putting forward first summer in 1956, up to now, attracted countless researchers to work hard for it, when having proposed many important correlation theories, also set up some corresponding systems, there are some systems progressively to enter certain practical stage.Such as all obtaining the achievement that attracts people's attention aspect expert system, mechanical translation, the simple interactive system that is used for information inquiry, mechanical theorem proving or the like.
But, though the artificial intelligence machine of having built at present can help people to solve certain problem in one aspect, but the level of intelligence from people's expectation still is that gap is very far away, also be difficult to and accomplish: after having carried out " dialogue " smoothly of one section nature with the people, just the light expressed wish of " understanding " people goes to finish some relevant task according to people's wish then.If machine can not be accomplished fully well " understanding " problem that people explained, just be difficult to good problem-solving ability.Studies show that:, at first must allow machine have knowledge if allow machine have advanced level of intelligence; Secondly machine must have continuous learning ability.Only on the disposal system based on knowledge, artificial intelligence machine can have stronger problem-solving ability, and from this point, present expert system should be based on typical case's representative of the disposal system of knowledge.Though expert system has the knowledge of expert's level in one aspect, and can solve the problem in certain field, but machine can not be accomplished veritably the content of " understanding " its inner knowledge base, to just simple true and regular " coupling " process of the visit of knowledge base, and regular quantity is many more in knowledge base, then can cause system huge, searches for time-consuming, operational efficiency descends, thereby has limited the raising of expert system ability.Although taked " RETE " algorithm, to knowledge base compile, various measures such as parallel processing improve performance, all can not fundamentally solve the problem of carrying out blind search in whole knowledge base.
This shows, influence the problem that its integral level improves below existing intelligence system exists: artificial intelligence machine adopts language representation's knowledge of rudimentary level mostly at present, the expression ability of knowledge has certain limitation, be difficult to more intactly represent real world, cause the knowledge base of being set up with existing representation of knowledge form thus, be subjected to the restriction of having only the professional to operate, the huge knowledge base that the knowledge representation language that adopts rudimentary level is set up also is difficult to maintenance management simultaneously.Owing to do not adopt good representation of knowledge form, just do not know where to begin naturally based on the understanding system of senior level language representation form, at all levels problem of coordination mutually when being difficult to solve the machine perception language effectively yet yet.
Summary of the invention is at the problems referred to above, the purpose of this invention is to provide a kind of artificial intelligence machine based on natural language understanding, and the method for realization natural language understanding, this artificial intelligence machine can be understood human problem with natural language expressing, and can understand by background knowledge from the context and general knowledge, thereby can solve the problem of more complicated, have higher level of intelligence.
For realizing this purpose, technical scheme of the present invention is as follows:
A kind of artificial intelligence machine is realized the method for natural language understanding, it is characterized in that: it is based on the assembly language towards natural language---the ANL language, mode with the expansion word instruction is understood the content of text of the natural language description of outside input, expansion word instruction is the description body that is made of several ANL sound instructions at speech, sentence, sentence formula, and the course of work is as follows:
(1) to the knowledge of artificial intelligence machine input, builds ANL language description storehouse, mainly comprise three parts, the ANL language description storehouse of sentence, the ANL language description storehouse of sentence formula, the ANL language description storehouse of speech with the relevant natural language of ANL language description;
(2) the various contents of directly describing with natural language to the artificial intelligence machine input, build the natural language description storehouse, comprise the natural language description storehouse of sentence, the natural language description storehouse of sentence formula, natural language description storehouse three parts of speech, organize by the knowledge blocks form in these storehouses, each knowledge blocks comprises head title and body, and body is the explanation of the correct division header that is made of several natural language sentences;
(3) artificial intelligence machine synthesizes former sentence after the sentence of sending here through behind the participle is temporarily removed the participle separator earlier;
(4) in the ANL of sentence language description storehouse, search this synthetic former sentence, if search successfully, just the ANL content of this expansion word instruction is accessed from the ANL language description storehouse of sentence, carry out every instruction one by one since first row, be finished when these all relevant ANL that describe this expansion word instruction instruct, artificial intelligence machine finishes the understanding process of this sentence so;
(5), just carry out routinely the understanding mode of speech one by one if in the ANL of sentence language description storehouse, search failure; At first take out send here through first speech in the sentence behind the participle, if this speech is a numeral, machine can automatically generate the corresponding ANL language description about numeral; If this speech is not a numeral, then in the natural language description storehouse of speech, search this speech of coupling,, then directly carry out the sentence to the natural language explanation of this speech of knowledge blocks body if search successfully, otherwise, then enter in the ANL language description storehouse of speech and search;
(6) if in the description storehouse of the ANL of speech language, search successfully, just the ANL content of this expansion word instruction is described from the ANL of speech and accessed the storehouse, carry out one by one by instruction, be finished when all relevant ANL of this expansion word instruction instruct, artificial intelligence machine finishes the understanding process of this speech in this sentence; If search failure, artificial intelligence machine then stops current processing procedure, must set up the description of corresponding speech earlier in dictionary, and system could handle;
(7) set by step 5, read the next speech of current sentence successively and carry out, until all speech of current sentence, comprise that punctuate all is finished, so current sentence finishes according to the understanding of speech one by one; Next step carries out a formula and handles;
(8) the corresponding sentence formula that part of speech generated of each speech of the sentence that above-mentioned speech is one by one understood, in the natural language description storehouse of sentence formula, search earlier, if search successfully, so directly carry out the sentence in the knowledge blocks body to the natural language explanation of this formula, otherwise, then in the ANL of sentence formula language description storehouse, search this formula, if search successfully, just the content of the ANL language description of this expansion word instruction is accessed, carry out one by one by instruction, when all relevant ANL instructions of this operation were finished, artificial intelligence machine finished the understanding process of the additional sentence formula of this sentence; If search failure in the ANL of sentence formula language description storehouse, sentence formula processing procedure finishes; This moment, artificial intelligence machine finished the understanding of current sentence.
Wherein the instruction of ANL language is as follows:
DEFINER
The self-defined register title of form: DEFINER (operand 1) internal register number (MEMxx) (operand 2)
This instruction is the register to self-defined title, sets up corresponding mapping with space, the register district numbering of inside;
TEXT
The literal (operand 1) that form: TEXT is descriptive
This instruction is to state that this is illustrative content of statement, does not carry out any operation, just is convenient to prehension program setting;
IF
Form: the content of IF directly address (operand 1) operational symbol is counted (operand 2) redirect-Zhen redirect-vacation immediately
This instruction is one the content of current directly address and number immediately carried out the instruction of logic determines, if condition be true, so just jumps to this specified address in being listed as of redirect-Zhen of this instruction; If condition is false, so just jump to this specified address in being listed as of redirect-vacation of this instruction;
IFR
Form: the content of IFR directly address (operand 1) operational symbol register (operand 2) redirect-Zhen redirect-vacation
This instruction is that a content and a content of registers to current directly address is carried out the instruction of logic determines, if condition is true, so just jumps to the specified address in these row of redirect-Zhen of this instruction; If condition is false, so just jump to this specified address in being listed as of redirect-vacation of this instruction;
IFRK
Form: IFRK register (operand 1) operational symbol is counted (operand 2) redirect-Zhen redirect-vacation immediately
This instruction is one the content of current register and number immediately carried out the instruction of logic determines, if condition be true, just jumps to this specified address in being listed as of redirect-Zhen of this instruction;
IFRR
Form: IFRR register (operand 1) operational symbol register (operand 2) redirect-Zhen redirect-vacation
This instruction is that a content and a content of registers to current register is carried out the instruction of logic determines, if condition is true, so just jumps to the specified address in these row of redirect-Zhen of this instruction; If condition is false, just jump to this specified address in being listed as of redirect-vacation of this instruction;
AND
Form: the content of AND directly address (operand 1) operational symbol is counted (operand 2) redirect-Zhen redirect-vacation immediately
This instruction is followed after the instruction of IFxx class, finish instruction a plurality of and judgement side by side by a plurality of these instructions, function is equivalent to the IF instruction, be one the content of current directly address and number immediately carried out the instruction of logic determines, if condition is true, so just jump to the specified address in these row of redirect-Zhen of this instruction; If condition is false, so just jump to this specified address in being listed as of redirect-vacation of this instruction;
ANDR
Form: the content of ANDR directly address (operand 1) operational symbol register (operand 2) redirect-Zhen redirect-vacation
This instruction is followed after the instruction of IFxx class, finish instruction a plurality of and judgement side by side by a plurality of these instructions, function is equivalent to the IFR instruction, be one the content of current directly address and number immediately carried out the instruction of logic determines, if condition is true, so just jump to the specified address in these row of redirect-Zhen of this instruction; If condition is false, just jump to this specified address in being listed as of redirect-vacation of this instruction;
ANDRK
Form: ANDRK register (operand 1) operational symbol is counted (operand 2) redirect-Zhen redirect-vacation immediately
This instruction is followed after the instruction of IFxx class, finish instruction a plurality of and judgement side by side by a plurality of these instructions, function is equivalent to the IFRK instruction, be one the content of current register and number immediately carried out the instruction of logic determines, if condition is true, just jump to the specified address in these row of redirect-Zhen of this instruction; If condition is false, so just jump to this specified address in being listed as of redirect-vacation of this instruction;
ANDRR
Form: ANDRR register (operand 1) operational symbol register (operand 2) redirect-Zhen redirect-vacation
This instruction is followed after the instruction of IFxx class, finish instruction a plurality of and judgement side by side by a plurality of these instructions, function is equivalent to the IFRR instruction, be that a content and a content of registers to current register is carried out the instruction of logic determines, if condition is true, so just jump to the specified address in these row of redirect-Zhen of this instruction; If condition is false, just jump to this specified address in being listed as of redirect-vacation of this instruction:
OR
Form: the content of OR directly address (operand 1) operational symbol is counted (operand 2) redirect-Zhen redirect-vacation immediately
This instruction is followed after the instruction of IFxx class, finish instruction a plurality of or that judge side by side by a plurality of these instructions, function is equivalent to the IF instruction, be one the content of current directly address and number immediately carried out the instruction of logic determines, if condition is true, just jump to the specified address in these row of redirect-Zhen of this instruction; If condition is false, so just jump to this specified address in being listed as of redirect-vacation of this instruction;
Form: the content of ORR directly address (operand 1) operational symbol register (operand 2) redirect-Zhen redirect-vacation
This instruction is followed after the instruction of IFxx class, finish instruction a plurality of or that judge side by side by a plurality of these instructions, function is equivalent to the IFR instruction, be one the content of current directly address and number immediately carried out the instruction of logic determines, if condition is true, just jump to this instruction redirect-Zhen this row in specified address; If condition is false, so just jump to this specified address in being listed as of redirect-vacation of this instruction;
ORRK
Form: ORRK register (operand 1) operational symbol is counted (operand 2) redirect-Zhen redirect-vacation immediately
This instruction is followed after the instruction of IFxx class, finish instruction a plurality of or that judge side by side by a plurality of these instructions, function is equivalent to the IFRK instruction, be one the content of current register and number immediately carried out the instruction of logic determines, if condition is true, just jump to the specified address in these row of redirect-Zhen of this instruction; If condition is false, so just jump to this specified address in being listed as of redirect-vacation of this instruction;
ORRR
Form: ORRR register (operand 1) operational symbol register (operand 2) redirect-Zhen redirect-vacation
This instruction is followed after the instruction of IFxx class, finish instruction a plurality of or that judge side by side by a plurality of these instructions, function is equivalent to the IFRR instruction, be that a content and a content of registers to current register is carried out the instruction of logic determines, if condition is true, just jump to the specified address in these row of redirect-Zhen of this instruction; If condition is false, just jump to this specified address in being listed as of redirect-vacation of this instruction;
ENDIF
Form: ENDIF label (operand 1)
This instruction is followed after the instruction of IFxx class, finishes an IFxx ... THEN_xx ... ELSE_xx ... ENDIF shows the end of such IFxx quasi-sentence body;
END
Form: END
Illustrate: this instruction is the instruction that shows the end of the ANL language description body that a description expansion word is instructed, and each ANL describes body must an END instruction; When carrying out this instruction, system just from current expansion word instruction is carried out, withdraws from;
LET
Form: the content of LET directly address (operand 1) operational symbol is counted (operand 2) immediately
This instruction is that a content to current directly address is carried out the instruction of assignment by counting immediately;
LETR
Form: the content of LETR directly address (operand 1) operational symbol register (operand 2)
This instruction is an instruction of the content of current directly address being carried out assignment by register;
LETRK
Form: LETRK register (operand 1) operational symbol is counted (operand 2) immediately
This instruction is one the content in the current register is carried out the instruction of assignment by number immediately;
LETRR
Form: LETRR register (operand 1) operational symbol register (operand 2)
This instruction is an instruction of the content in the current register being carried out assignment by register;
TRIM_LEFT
Form: the content of TRIM_LEFT directly address (operand 1) operational symbol is counted (operand 2) immediately
This instruction is that a content to current directly address (character string) is from left side deletion and the operational order of counting (operand 2) identical part immediately;
TRIM_LEFTR
Form: the content of TRIM_LEFTR directly address (operand 1) operational symbol register (operand 2)
This instruction is the operational order of a content to current directly address (character string) from the left side deletion part identical with content the register (operand 2);
TRIM_LEFTRK
Form: TRIM_LEFTRK register (operand 1) operational symbol is counted (operand 2) immediately
This instruction is that a content to current register addressing (character string) is from left side deletion and the operational order of counting (operand 2) part that content is identical immediately;
TRIM_LEFTRR
Form: TRIM_LEFTRR register (operand 1) operational symbol register (operand 2)
This instruction is the operational order of a content to current register addressing (character string) from the left side deletion part identical with content the register (operand 2);
TRIM_RIGHT
Form: the content of TRIM_RIGHT directly address (operand 1) operational symbol is counted (operand 2) immediately
This instruction is that a content to current directly address (character string) is from the right deletion and the operational order of counting (operand 2) identical part immediately;
TRIM_RIGHTR
Form: the content of TRIM_RIGHTR directly address (operand 1) operational symbol register (operand 2)
This instruction is the operational order of a content to current directly address (character string) from the right deletion part identical with content the register (operand 2);
TRIM_RIGHTRK
Form: TRIM_RIGHTRK register (operand 1) operational symbol is counted (operand 2) immediately
This instruction is that a content to current register addressing (character string) is from the right deletion and the operational order of counting (operand 2) part that content is identical immediately;
TRIM_RIGHTRR
Form: TRIM_RIGHTRR register (operand 1) operational symbol register (operand 2)
This instruction is the operational order of a content to current register addressing (character string) from the right deletion part identical with content the register (operand 2);
GET_LEFT
Form: the content of GET_LEFT directly address (operand 1) operational symbol is counted (operand 2) immediately
This instruction is that a content to current directly address (character string) is truncated to the operational order of counting the part of (operand 2) individual character length immediately from the left side;
GET_LEFTR
Form: the content of GET_LEFTR directly address (operand 1) operational symbol register (operand 2)
This instruction is a content to current directly address (character string) is truncated to the part of the character length of numerical value appointment the register (operand 2) from the left side a operational order;
GET_LEFTRK
Form: GET_LEFTRK register (operand 1) operational symbol is counted (operand 2) immediately
This instruction is a content to current register addressing (character string) is truncated to the part of the character length of counting the numerical value appointment (operand 2) immediately from the left side a operational order;
GET_LEFTRR
Form: GET_LEFTRR register (operand 1) operational symbol register (operand 2)
This instruction is the operational order of the part of a content to current register addressing (character string) character length that is truncated to the numerical value appointment the register (operand 2) from the left side;
GET_RIGHT
Form: the content of GET_RIGHT directly address (operand 1) operational symbol is counted (operand 2) immediately
This instruction is that a content to current directly address (character string) is truncated to the operational order of counting the part of (operand 2) individual character length immediately from the right;
GET_RIGHTR
Form: the content of GET_RIGHTR directly address (operand 1) operational symbol register (operand 2)
This instruction is a content to current directly address (character string) is truncated to the part of the character length of numerical value appointment the register (operand 2) from the right a operational order;
GET_RIGHTRK
Form: GET_RIGHTRK register (operand 1) operational symbol is counted (operand 2) immediately
This instruction is a content to current register addressing (character string) is truncated to the part of the character length of counting the numerical value appointment (operand 2) immediately from the right a operational order;
GET_RIGHTRR
Form: GET_RIGHTRR register (operand 1) operational symbol register (operand 2)
This instruction is the operational order of the part of a content to current register addressing (character string) character length that is truncated to the numerical value appointment the register (operand 2) from the right;
GOTO
Form: GOTO label (operand 1)
This instruction is to finish the operation that unconditional jump directly begins to carry out to the position of nominated bank number;
GOTOR
Form: GOTOR register (operand 1)
This instruction is to finish the operation that unconditional jump directly begins to carry out to the position of the value nominated bank of the register of register addressing number;
CALL
Form: CALL label (operand 1)
This instruction is used with RETURN instruction, finishes the operation that the subroutine with row number name of directly unconditionally calling appointment is carried out jointly, and turns back to the position of the next instruction of this instruction from subroutine by RETURN;
RETURN
Form: RETURN label (operand 1)
This instruction is used with the CALL instruction; Finish the operation that the subroutine with row number name of directly unconditionally calling appointment is carried out jointly, and from subroutine, turn back to the position of the next instruction of this instruction by RETURN;
PUSH
Form: PUSH register (operand 1)
This instruction is used with the POP instruction; Finish the content of the register of current register addressing is carried out push operation;
POP
Form: POP register (operand 1)
This instruction is used with the PUSH instruction; The content of finishing the register of current register addressing goes out stack operation;
SETON
Form: the content of SETON directly address (operand 1)
This instruction is that current floating pointer is established to the position of current floating pointer is the specified locational operational order of content (operand 1) of the directly address of reference;
SETONR
Form: SETONR register (operand 1)
This instruction is that current floating pointer is established to the position of current floating pointer is the specified locational operational order of content (operand 1) of the register addressing of reference;
GOBACK
Form: GOBACK
This instruction be with current may be the locational operational order that the floating pointer that has access to contextual other certain positions returns to the owner pointer of current expansion word instruction
SEND
Form: the content of SEND directly address (operand 1) operational symbol register (operand 2)
This instruction is that a content to current directly address sends to the operational order in the register (operand 2);
SENDPOS
Form: the content of SENDPOS directly address (operand 1) operational symbol register (operand 2)
This instruction is that a position with the content place of current directly address sends to the operational order in the register (operand 2);
SENDLENGTH
Form: the content of SENDLENGTH directly address (operand 1) operational symbol register (operand 2)
This instruction is that the number of a character that the content of current directly address is shared sends to the operational order in the register (operand 2);
SENDLENGTHR
Form: SENDLENGTHR register (operand 1) operational symbol register (operand 2)
This instruction is that a number to the shared character of the content of current register sends to the operational order in the register (operand 2);
FIND
Form: FIND counts (operand 1) operational symbol register (operand 2) immediately
This instruction is that a basis is counted the operational order that the content in (operand 1) is searched each speech of the sentence at the content place of the directly address of the floating pointer of current expansion word instruction immediately;
FINDR
Form: FINDR register (operand 1) operational symbol register (operand 2)
This instruction is an operational order of each speech of the sentence at the content place of the directly address of the floating pointer of current expansion word instruction being searched according to the content in the register (operand 1);
NOP
Form: NOP
This instruction is a non-operation instruction of not carrying out any operation, only is to occupy a dos command line DOS; This instruction is mainly used in debugging and uses, or aims at and be on the waiting list the instruction that disappears temporarily with this instruction replacement, and can not change the number of dos command line DOS;
ERROR
The literal (operand 1) that form: ERROR is descriptive
This instruction is with according to operand 1 content (descriptive literal), generates a miscue window, and the window content displayed is exactly the content of the operand 1 of this instruction back;
ILET_RAM
Form: the content of ILET_RAM directly address (operand 1) operational symbol register (operand 2)
This instruction is the operational order that a content by the current directly address of register pair of register indirect addressing is carried out assignment;
ILET_REG
Form: ILET_REG register (operand 1) operational symbol register (operand 2)
This instruction is the operational order that the content of a current register of the register pair by register indirect addressing (operand 1) is carried out assignment;
MAKE_OUTPUT
Form: the literal (operand 2) that MAKE_OUTPUT attribute-name (operand 1) operational symbol is descriptive
This instruction is the operational order that a content the operand 2 of this instruction back is written to the output window of system;
MAKE_OUTPUTR
Form: MAKE_OUTPUTR attribute-name (operand 1) operational symbol register (operand 2)
This instruction is the operational order that a content register (operand 2) is written to the output window of system;
MAKE_ROM
Form: MAKE_ROM label (operand 1)
This instruction is to finish processing is hung in the current expansion word instruction of carrying out, and also is about to the scene that current expansion word instruction is carried out, and preserves to advance to hang in the buffer memory of workspace, so that carry out this expansion word instruction that is in the suspension next time;
MAKE_ROMR
Form: MAKE_ROMR label (operand 1)
Temporarily stored instruction, expansion after being used for;
MAKE_KNOWS
The literal (operand 1) that form: MAKE_KNOWS is descriptive
This instruction is that a content of (operand 1) of number immediately by this instruction back produces operational order new natural language sentences and that search coupling and carry out in the knowledge base;
MAKE_KNOWSR
Form: MAKE_KNOWSR register (operand 1)
This instruction is that a content by (operand 1) of the register of this instruction back produces operational order new natural language sentences and that search coupling and carry out in the knowledge base;
READ_RESULT
Form: READ_RESULT attribute-name (operand 1) operational symbol register (operand 2)
This instruction is that a handle is by the MAKE_KNOWS of ANL language or the sentence of MAKE_KNOWSR instruction generation, after executing, the result who generates in generation sentence workspace, by this instruction the attribute-name (operand 1) of content corresponding by appointment read the operational order of delivering to register (operand 2), be used with MAKE_KNOWS or MAKE_KNOWSR instruction;
THEN_LET
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be LET in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the LET instruction;
THEN_LETR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be LETR in first instruction of THEN position, then uses this instruction;
THEN_LETRK
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be LETRK in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the LETRK instruction;
THEN_LETRR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be LETRR in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the LETRR instruction;
THEN_TRIM_LEFT
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_LEFT in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the TRIM_LEFT instruction;
THEN_TRIM_LEFTR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_LEFTR in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the TRIM_LEFTR instruction;
THEN_TRIM_LEFTRK
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_LEFTRK in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the TRIM_LEFTRK instruction;
THEN_TRIM_LEFTRR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_LEFTRR in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the TRIM_LEFTRR instruction;
THEN_TRIM_RIGHT
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_RIGHT in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the TRIM_RIGHT instruction;
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_RIGHTR in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the TRIM_RIGHTR instruction;
THEN_TRIM_RIGHTRK
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_RIGHTRR in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the TRIM_RIGHTRR instruction;
THEN_TRIM_RIGHTRR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_RIGHTRR in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the TRIM_RIGHTRR instruction;
THEN_GET_LEFT
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_LEFT in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the GET_LEFT instruction;
THEN_GET_LEFTR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_LEFTR in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the GET_LEFTR instruction;
THEN_GET_LEFTRK
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_LEFTRK in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the GET_LEFTRK instruction;
THEN_GET_LEFTRR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_LEFTRR in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the GET_LEFTRR instruction;
THEN_GET_RIGHT
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_RIGHT in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the GET_RIGHT instruction;
THEN_GET_RIGHTR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_RIGHTR in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the GET_RIGHTR instruction;
THEN_GET_RIGHTRK
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_RIGHTRK in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the GET_RIGHTRK instruction;
THEN_GET_RIGHTRR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_RIGHTRR in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the GET_RIGHTRR instruction;
THEN_GOTO
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GOTO in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the GOTO instruction;
THEN_GOTOR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GOTOR in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the GOTOR instruction;
THEN_CALL
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be CALL in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the CALL instruction;
THEN_RETURN
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be RETURN in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the RETURN instruction;
THEN_PUSH
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be PUSH in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the PUSH instruction;
THEN_POP
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be POP in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the POP instruction;
THEN_SETON
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be SETON in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the SETON instruction;
THEN_SETONR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be SETONR in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the SETONR instruction;
THEN_GOBACK
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GOBACK in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the GOBACK instruction;
THEN_SEND
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be SEND in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the SEND instruction;
THEN_SENDPOS
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be SENDPOS in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the SENDPOS instruction;
THEN_SENDLENGTH
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be SENDLENGTH in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the SENDLENGTH instruction;
THEN_SENDLENGTHR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be SENDLENGTHR in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the SENDLENGTHR instruction;
THEN_FIND
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be FIND in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the FIND instruction;
THEN_FINDR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be FINDR in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the FINDR instruction;
THEN_NOP
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be NOP in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the NOP instruction;
THEN_ERROR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be ERROR in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the ERROR instruction;
THEN_ILET_RAM
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be ILET_RAM in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the ILET_RAM instruction;
THEN_ILET_REG
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be ILET_REG in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the ILET_REG instruction;
THEN_MAKE_OUTPUT
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be MAKE_OUTPUT in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the MAKE_OUTPUT instruction;
THEN_MAKE_OUTPUTR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be MAKE_OUTPUTR in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the MAKE_OUTPUTR instruction;
THEN_MAKE_ROM
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be MAKE_ROM in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the MAKE_ROM instruction;
THEN_MAKE_ROMR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be MAKE_ROMR in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the MAKE_ROMR instruction;
THEN_MAKE_KNOWS
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be MAKE_KNOWS in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the MAKE_KNOWS instruction;
THEN_MAKE_KNOWSR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be MAKE_KNOWSR in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the MAKE_KNOWSR instruction;
THEN_READ_RESULT
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be READ_RESULT in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the READ_RESULT instruction;
ELSE_LET
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be LET in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the LET instruction;
ELSE_LETR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be LETR in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the LETR instruction;
ELSE_LETRK
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be LETRK in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the LETRK instruction;
ELSE_LETRR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be LETRR in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the LETRR instruction;
ELSE_TRIM_LEFT
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_LEFT in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the TRIM_LEFT instruction;
ELSE_TRIM_LEFTR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_LEFTR in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the TRIM_LEFTR instruction;
ELSE_TRIM_LEFTRK
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_LEFTRK in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the TRIM_LEFTRK instruction;
ELSE_TRIM_LEFTRR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_LEFTRR in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the TRIM_LEFTRR instruction;
ELSE_TRIM_RIGHT
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_RIGHT in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the TRIM_RIGHT instruction;
ELSE_TRIM_RIGHTR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_RIGHTR in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the TRIM_RIGHTR instruction;
ELSE_TRIM_RIGHTRK
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_RIGHTRK in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the TRIMVRIGHTRK instruction;
ELSE_TRIM_RIGHTRR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_RIGHTRR in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the TRIM_RIGHTRR instruction;
ELSE_GET_LEFT
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_LEFT in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the GET_LEFT instruction;
ELSE_GET_LEFTR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_LEFTR in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the GET_LEFTR instruction;
ELSE_GET_LEFTRK
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_LEFTRK in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the GET_LEFTRK instruction;
ELSE_GET_LEFTRR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_LEFTRR in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the GET_LEFTRR instruction;
ELSE_GET_RIGHT
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_RIGHT in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the GET_RIGHT instruction;
ELSE_GET_RIGHTR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_RIGHTR in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the GET_RIGHTR instruction;
ELSE_GET_RIGHTRK
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_RIGHTRK in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the GET_RIGHTRK instruction;
ELSE_GET_RIGHTRR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_RIGHTRR in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the GET_RIGHTRR instruction;
ELSE_GOTO
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GOTO in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the GOTO instruction;
ELSE_GOTOR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GOTOR in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the GOTOR instruction;
ELSE_CALL
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be CALL in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the CALL instruction;
ELSE_RETURN
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be RETURN in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the RETURN instruction;
ELSE_PUSH
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be PUSH in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the PUSH instruction;
ELSE_POP
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be POP in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the POP instruction;
ELSE_SETON
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be SETON in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the SETON instruction;
ELSE_SETONR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be SETONR in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the SETONR instruction;
ELSE_GOBACK
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GOBACK in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the GOBACK instruction;
ELSE_SEND
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be SEND in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the SEND instruction;
ELSE_SENDPOS
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be SENDPOS in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the SENDPOS instruction;
ELSE_SENDLENGTH
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be SENDLENGTH in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the SENDLENGTH instruction;
ELSE_SENDLENGTHR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be SENDLENGTHR in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the SENDLENGTHR instruction;
ELSE_FIND
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be FIND in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the FIND instruction;
ELSE_FINDR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be FINDR in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the FINDR instruction;
ELSE_NOP
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be NOP in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the NOP instruction;
ELSE_ERROR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be ERROR in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the ERROR instruction;
ELSE_ILET_RAM
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be ILET_RAM in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the ILET_RAM instruction;
ELSE_ILET_REG
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be ILET_REG in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the ILET_REG instruction;
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be MAKE_OUTPUT in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the MAKE_OUTPUT instruction;
ELSE_MAKE_OUTPUTR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be MAKE_OUTPUTR in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the MAKE_OUTPUTR instruction;
ELSE_MAKE_ROM
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be MAKE_ROM in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the MAKE_ROM instruction;
ELSE_MAKE_ROMR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be MAKE_ROMR in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the MAKE_ROMR instruction;
ELSE_MAKE_KNOWS
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be MAKE_KNOWS in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the MAKE_KNOWS instruction;
ELSE_MAKE_KNOWSR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be MAKE_KNOWS in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the MAKE_KNOWSR instruction;
ELSE_READ_RESULT
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be READ_RESULT in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the READ_RESULT instruction.
A kind of artificial intelligence machine is characterized in that: it mainly comprises towards the CPU (central processing unit) NLPU of natural language processing with as the peripherals of core, comprising:
CPU (central processing unit) NLPU is its assembly language with the ANL language, handles towards symbol, supports the contextual access to natural language text, supports multiple buses such as symbolic address bus, symbol data bus;
Text input interface: be used for the outside input text that word segmentation processing is in advance crossed is received;
The text output interface: the intermediate result and the net result that are used for handling are outwards exported with the form of lteral data stream:
Input-output apparatus expansion interface: be used to import outside heat transfer agent and drive external unit;
The knowledge base of natural language description: storage medium is a hard disk, comprises three of natural language description storehouse of natural language description storehouse, the speech of the natural language description storehouse of storing sentence respectively, sentence formula; Every hard disk has hardware searching machine separately respectively;
Dual port RAM is as text buffer: be used for the temporary text data that obtains by the text input interface;
Framework buffer: be the RAM storer that distributes by forms mode, content wherein comprises the physical space of sentence, speech title, location sequence number, association attributes name and property value, CPU (central processing unit) NLPU can directly pass through the symbolic address bus, is that this storer is directly visited in the address with the sequence number of character string forms;
The address decoder of framework buffer: be used for CPU (central processing unit) NLPU and come the coding of operation address code translator, directly the sequence number of frame-type buffer memory is decoded into the physical address of framework buffer by direct data bus and read-write control;
Sentence buffer: deposit the sentence that CPU (central processing unit) NLPU extracts from the framework buffer according to the value of the sequence number form of sentence pointer, this sentence buffer directly outputs to the natural language description storehouse of the sentence that connects by hardware searching machine, with the ANL language description storehouse of the sentence that is connected by address decoder;
Sentence formula buffer: deposit the sentence formula that CPU (central processing unit) NLPU extracts from the framework buffer in the value of the sequence number form of foundation sentence pointer, this formula buffer directly outputs to the natural language description storehouse of the sentence formula that connects by hardware searching machine, with the ANL language description storehouse of the sentence formula that is connected by address decoder;
Speech buffer: deposit the speech that CPU (central processing unit) NLPU extracts from the frame-type buffer memory in the value of the sequence number form of foundation speech pointer, this speech buffer directly outputs to the natural language description storehouse of the speech that connects by hardware searching machine, with the ANL language description storehouse of the speech that is connected by address decoder;
Synthetic operation district buffer memory: be the RAM storer, comprise that the working site of expansion word instruction of current execution is temporary, hang the workspace, generate the workspace of sentence;
Generate a sentence workspace buffer memory: preserve the content of the sentence that generates, comprise the value of attribute-name correspondence of title, sequence number, the generation sentence of sentence;
Generate the address decoder of sentence: when NLPU output some generates the sequence number of character string forms of sentence, directly in generating sentence workspace buffer memory, navigate to the beginning physical address of this generations;
Generate sentence attribute address generator: will carry out sum operation with the relative address of the numbering that generates the sentence attribute-name at the beginning physical address in generating sentence workspace buffer memory, and obtain the absolute physical address that this generation generates the sentence attribute-name;
The address decoder of sentence: be direct content adressable memory CAM, the character string decoding that this address decoder directly will come from the sentence in the sentence impact damper becomes the beginning physical address of this sentence of mapping in the ANL language description storehouse of sentence, and the operation of its coding is finished by direct data bus and read-write control by NLPU;
The address decoder of sentence formula: be direct content adressable memory CAM, the character string decoding that this address decoder directly will come from the sentence formula in the formula impact damper becomes the beginning physical address that shines upon this formula in the ANL of sentence formula language description storehouse, and the operation of its coding is finished by direct data bus and read-write control by NLPU;
The address decoder of speech: be direct content adressable memory CAM, the character string decoding that this address decoder directly will come from the speech in the speech impact damper becomes the beginning physical address that shines upon this speech in the ANL of speech language description storehouse, and the operation of its coding is finished by direct data bus and read-write control by NLPU;
ANL pointer address generator: will be by shining upon the beginning physical address of the character string of sentence, sentence formula, speech in the corresponding description storehouse after the address decoder decoding of sentence, sentence formula, speech for the sentence in the ANL language description, sentence formula, speech, with the ANL line pointer data addition of CPU (central processing unit) NLPU, obtain the address of their ANL dos command line DOSs in the ANL of correspondence language description storehouse;
ANL language description storehouse: be erasable ROM storer, mainly comprise three parts, the ANL language description storehouse of sentence, the ANL language description storehouse of sentence formula, the ANL language description storehouse of speech directly provide ANL sound instruction for CPU (central processing unit) NLPU;
The symbolic address bus: directly transmission is with the sequence number of the character string forms data as the address, finishes visit to the framework buffer by the position data of text context;
The symbol data bus: mainly be to finish CPU (central processing unit) NLPU and framework buffer, and the information transmission with the data of symbol string form that also has other peripheral buffer memory device;
The first level address bus: what be used for NLPU visit periphery is the device of the first level address addressing of address with 2 system data directly;
Direct data bus: directly transmit 2 system data, be used for the visit that CPU (central processing unit) NLPU finishes the device that need transmit with immediate data;
ANL director data bus: this bus mainly is to be used for CPU (central processing unit) NLPU directly to read the ANL instruction from ANL language description storehouse, whenever reads the information in an ANL storehouse, and this bus has just loaded an ANL instruction;
ANL line pointer data line: the respective physical address that is mainly used in needed ANL dos command line DOS when producing CPU (central processing unit) NLPU ANL language description storehouse being conducted interviews.
Wherein the instruction of ANL language is as follows:
DEFINER
The self-defined register title of form: DEFINER (operand 1) internal register number (MEMxx) (operand 2)
This instruction is the register to self-defined title, sets up corresponding mapping with space, the register district numbering of inside;
TEXT
The literal (operand 1) that form: TEXT is descriptive
This instruction is to state that this is illustrative content of statement, does not carry out any operation, just is convenient to prehension program setting;
IF
Form: the content of IF directly address (operand 1) operational symbol is counted (operand 2) redirect-Zhen redirect-vacation immediately
This instruction is one the content of current directly address and number immediately carried out the instruction of logic determines, if condition be true, so just jumps to this specified address in being listed as of redirect-Zhen of this instruction; If condition is false, so just jump to this specified address in being listed as of redirect-vacation of this instruction;
IFR
Form: the content of IFR directly address (operand 1) operational symbol register (operand 2) redirect-Zhen redirect-vacation
This instruction is that a content and a content of registers to current directly address is carried out the instruction of logic determines, if condition is true, so just jumps to the specified address in these row of redirect-Zhen of this instruction; If condition is false, so just jump to this specified address in being listed as of redirect-vacation of this instruction;
IFRK
Form: IFRK register (operand 1) operational symbol is counted (operand 2) redirect-Zhen redirect-vacation immediately
This instruction is one the content of current register and number immediately carried out the instruction of logic determines, if condition be true, just jumps to this specified address in being listed as of redirect-Zhen of this instruction;
IFRR
Form: IFRR register (operand 1) operational symbol register (operand 2) redirect-Zhen redirect-vacation
This instruction is that a content and a content of registers to current register is carried out the instruction of logic determines, if condition is true, so just jumps to the specified address in these row of redirect-Zhen of this instruction; If condition is false, just jump to this specified address in being listed as of redirect-vacation of this instruction;
AND
Form: the content of AND directly address (operand 1) operational symbol is counted (operand 2) redirect-Zhen redirect-vacation immediately
This instruction is followed after the instruction of IFxx class, finish instruction a plurality of and judgement side by side by a plurality of these instructions, function is equivalent to the IF instruction, be one the content of current directly address and number immediately carried out the instruction of logic determines, if condition is true, so just jump to the specified address in these row of redirect-Zhen of this instruction; If condition is false, so just jump to this specified address in being listed as of redirect-vacation of this instruction;
ANDR
Form: the content of ANDR directly address (operand 1) operational symbol register (operand 2) redirect-Zhen redirect-vacation
This instruction is followed after the instruction of IFxx class, finish instruction a plurality of and judgement side by side by a plurality of these instructions, function is equivalent to the IFR instruction, be one the content of current directly address and number immediately carried out the instruction of logic determines, if condition is true, so just jump to the specified address in these row of redirect-Zhen of this instruction; If condition is false, just jump to this specified address in being listed as of redirect-vacation of this instruction;
ANDRK
Form: ANDRK register (operand 1) operational symbol is counted (operand 2) redirect-Zhen redirect-vacation immediately
This instruction is followed after the instruction of IFxx class, finish instruction a plurality of and judgement side by side by a plurality of these instructions, function is equivalent to the IFRK instruction, be one the content of current register and number immediately carried out the instruction of logic determines, if condition is true, just jump to the specified address in these row of redirect-Zhen of this instruction; If condition is false, so just jump to this specified address in being listed as of redirect-vacation of this instruction;
ANDRR
Form: ANDRR register (operand 1) operational symbol register (operand 2) redirect-Zhen redirect-vacation
This instruction is followed after the instruction of IFxx class, finish instruction a plurality of and judgement side by side by a plurality of these instructions, function is equivalent to the IFRR instruction, be that a content and a content of registers to current register is carried out the instruction of logic determines, if condition is true, so just jump to the specified address in these row of redirect-Zhen of this instruction; If condition is false, just jump to this specified address in being listed as of redirect-vacation of this instruction;
OR
Form: the content of OR directly address (operand 1) operational symbol is counted (operand 2) redirect-Zhen redirect-vacation immediately
This instruction is followed after the instruction of IFxx class, finish instruction a plurality of or that judge side by side by a plurality of these instructions, function is equivalent to the IF instruction, be one the content of current directly address and number immediately carried out the instruction of logic determines, if condition is true, just jump to the specified address in these row of redirect-Zhen of this instruction; If condition is false, so just jump to this specified address in being listed as of redirect-vacation of this instruction;
Form: the content of ORR directly address (operand 1) operational symbol register (operand 2) redirect-Zhen redirect-vacation
This instruction is followed after the instruction of IFxx class, finish instruction a plurality of or that judge side by side by a plurality of these instructions, function is equivalent to the IFR instruction, be one the content of current directly address and number immediately carried out the instruction of logic determines, if condition is true, just jump to this instruction redirect-Zhen this row in specified address; If condition is false, so just jump to this specified address in being listed as of redirect-vacation of this instruction;
ORRK
Form: ORRK register (operand 1) operational symbol is counted (operand 2) redirect-Zhen redirect-vacation immediately
This instruction is followed after the instruction of IFxx class, finish instruction a plurality of or that judge side by side by a plurality of these instructions, function is equivalent to the IFRK instruction, be one the content of current register and number immediately carried out the instruction of logic determines, if condition is true, just jump to the specified address in these row of redirect-Zhen of this instruction; If condition is false, so just jump to this specified address in being listed as of redirect-vacation of this instruction;
ORRR
Form: ORRR register (operand 1) operational symbol register (operand 2) redirect-Zhen redirect-vacation
This instruction is followed after the instruction of IFxx class, finish instruction a plurality of or that judge side by side by a plurality of these instructions, function is equivalent to the IFRR instruction, be that a content and a content of registers to current register is carried out the instruction of logic determines, if condition is true, just jump to the specified address in these row of redirect-Zhen of this instruction; If condition is false, just jump to this specified address in being listed as of redirect-vacation of this instruction;
ENDIF
Form: ENDIF label (operand 1)
This instruction is followed after the instruction of IFxx class, finishes an IFxx ... THEN_xx ... ELSE_xx ... ENDIF shows the end of such IFxx quasi-sentence body;
END
Form: END
Illustrate: this instruction is the instruction that shows the end of the ANL language description body that a description expansion word is instructed, and each ANL describes body must an END instruction; When carrying out this instruction, system just from current expansion word instruction is carried out, withdraws from;
LET
Form: the content of LET directly address (operand 1) operational symbol is counted (operand 2) immediately
This instruction is that a content to current directly address is carried out the instruction of assignment by counting immediately;
LETR
Form: the content of LETR directly address (operand 1) operational symbol register (operand 2)
This instruction is an instruction of the content of current directly address being carried out assignment by register;
LETRK
Form: LETRK register (operand 1) operational symbol is counted (operand 2) immediately
This instruction is one the content in the current register is carried out the instruction of assignment by number immediately;
LETRR
Form: LETRR register (operand 1) operational symbol register (operand 2)
This instruction is an instruction of the content in the current register being carried out assignment by register;
TRIM_LEFT
Form: the content of TRIM_LEFT directly address (operand 1) operational symbol is counted (operand 2) immediately
This instruction is that a content to current directly address (character string) is from left side deletion and the operational order of counting (operand 2) identical part immediately;
TRIM_LEFTR
Form: the content of TRIM_LEFTR directly address (operand 1) operational symbol register (operand 2)
This instruction is the operational order of a content to current directly address (character string) from the left side deletion part identical with content the register (operand 2);
TRIM_LEFTRK
Form: TRIM_LEFTRK register (operand 1) operational symbol is counted (operand 2) immediately
This instruction is that a content to current register addressing (character string) is from left side deletion and the operational order of counting (operand 2) part that content is identical immediately;
TRIM_LEFTRR
Form: TRIM_LEFTRR register (operand 1) operational symbol register (operand 2)
This instruction is the operational order of a content to current register addressing (character string) from the left side deletion part identical with content the register (operand 2);
TRIM_RIGHT
Form: the content of TRIM_RIGHT directly address (operand 1) operational symbol is counted (operand 2) immediately
This instruction is that a content to current directly address (character string) is from the right deletion and the operational order of counting (operand 2) identical part immediately;
TRIM_RIGHTR
Form: the content of TRIM_RIGHTR directly address (operand 1) operational symbol register (operand 2)
This instruction is the operational order of a content to current directly address (character string) from the right deletion part identical with content the register (operand 2);
TRIM_RIGHTRK
Form: TRIM_RIGHTRK register (operand 1) operational symbol is counted (operand 2) immediately
This instruction is that a content to current register addressing (character string) is from the right deletion and the operational order of counting (operand 2) part that content is identical immediately;
TRIM_RIGHTRR
Form: TRIM_RIGHTRR register (operand 1) operational symbol register (operand 2)
This instruction is the operational order of a content to current register addressing (character string) from the right deletion part identical with content the register (operand 2);
GET_LEFT
Form: the content of GET_LEFT directly address (operand 1) operational symbol is counted (operand 2) immediately
This instruction is that a content to current directly address (character string) is truncated to the operational order of counting the part of (operand 2) individual character length immediately from the left side;
GET_LEFTR
Form: the content of GET_LEFTR directly address (operand 1) operational symbol register (operand 2)
This instruction is a content to current directly address (character string) is truncated to the part of the character length of numerical value appointment the register (operand 2) from the left side a operational order;
GET_LEFTRK
Form: GET_LEFTRK register (operand 1) operational symbol is counted (operand 2) immediately
This instruction is a content to current register addressing (character string) is truncated to the part of the character length of counting the numerical value appointment (operand 2) immediately from the left side a operational order;
GET_LEFTRR
Form: GET_LEFTRR register (operand 1) operational symbol register (operand 2)
This instruction is the operational order of the part of a content to current register addressing (character string) character length that is truncated to the numerical value appointment the register (operand 2) from the left side;
GET_RIGHT
Form: the content of GET_RIGHT directly address (operand 1) operational symbol is counted (operand 2) immediately
This instruction is that a content to current directly address (character string) is truncated to the operational order of counting the part of (operand 2) individual character length immediately from the right;
GET_RIGHTR
Form: the content of GET_RIGHTR directly address (operand 1) operational symbol register (operand 2)
This instruction is a content to current directly address (character string) is truncated to the part of the character length of numerical value appointment the register (operand 2) from the right a operational order;
GET_RIGHTRK
Form: GET_RIGHTRK register (operand 1) operational symbol is counted (operand 2) immediately
This instruction is a content to current register addressing (character string) is truncated to the part of the character length of counting the numerical value appointment (operand 2) immediately from the right a operational order;
GET_RIGHTRR
Form: GET_RIGHTRR register (operand 1) operational symbol register (operand 2)
This instruction is the operational order of the part of a content to current register addressing (character string) character length that is truncated to the numerical value appointment the register (operand 2) from the right;
GOTO
Form: GOTO label (operand 1)
This instruction is to finish the operation that unconditional jump directly begins to carry out to the position of nominated bank number;
GOTOR
Form: GOTOR register (operand 1)
This instruction is to finish the operation that unconditional jump directly begins to carry out to the position of the value nominated bank of the register of register addressing number;
CALL
Form: CALL label (operand 1)
This instruction is used with RETURN instruction, finishes the operation that the subroutine with row number name of directly unconditionally calling appointment is carried out jointly, and turns back to the position of the next instruction of this instruction from subroutine by RETURN;
RETURN
Form: RETURN label (operand 1)
This instruction is used with the CALL instruction; Finish the operation that the subroutine with row number name of directly unconditionally calling appointment is carried out jointly, and from subroutine, turn back to the position of the next instruction of this instruction by RETURN;
PUSH
Form: PUSH register (operand 1)
This instruction is used with the POP instruction; Finish the content of the register of current register addressing is carried out push operation;
POP
Form: POP register (operand 1)
This instruction is used with the PUSH instruction; The content of finishing the register of current register addressing goes out stack operation;
SETON
Form: the content of SETON directly address (operand 1)
This instruction is that current floating pointer is established to the position of current floating pointer is the specified locational operational order of content (operand 1) of the directly address of reference;
SETONR
Form: SETONR register (operand 1)
This instruction is that current floating pointer is established to the position of current floating pointer is the specified locational operational order of content (operand 1) of the register addressing of reference;
GOBACK
Form: GOBACK
This instruction be with current may be the locational operational order that the floating pointer that has access to contextual other certain positions returns to the owner pointer of current expansion word instruction
SEND
Form: the content of SEND directly address (operand 1) operational symbol register (operand 2)
This instruction is that a content to current directly address sends to the operational order in the register (operand 2);
SENDPOS
Form: the content of SENDPOS directly address (operand 1) operational symbol register (operand 2)
This instruction is that a position with the content place of current directly address sends to the operational order in the register (operand 2);
SENDLENGTH
Form: the content of SENDLENGTH directly address (operand 1) operational symbol register (operand 2)
This instruction is that the number of a character that the content of current directly address is shared sends to the operational order in the register (operand 2);
SENDLENGTHR
Form: SENDLENGTHR register (operand 1) operational symbol register (operand 2)
This instruction is that a number to the shared character of the content of current register sends to the operational order in the register (operand 2);
FIND
Form: FIND counts (operand 1) operational symbol register (operand 2) immediately
This instruction is that a basis is counted the operational order that the content in (operand 1) is searched each speech of the sentence at the content place of the directly address of the floating pointer of current expansion word instruction immediately;
FINDR
Form: FINDR register (operand 1) operational symbol register (operand 2)
This instruction is an operational order of each speech of the sentence at the content place of the directly address of the floating pointer of current expansion word instruction being searched according to the content in the register (operand 1);
NOP
Form: NOP
This instruction is a non-operation instruction of not carrying out any operation, only is to occupy a dos command line DOS; This instruction is mainly used in debugging and uses, or aims at and be on the waiting list the instruction that disappears temporarily with this instruction replacement, and can not change the number of dos command line DOS;
ERROR
The literal (operand 1) that form: ERROR is descriptive
This instruction is with according to operand 1 content (descriptive literal), generates a miscue window, and the window content displayed is exactly the content of the operand 1 of this instruction back;
ILET_RAM
Form: the content of ILET_RAM directly address (operand 1) operational symbol register (operand 2)
This instruction is the operational order that a content by the current directly address of register pair of register indirect addressing is carried out assignment;
ILET_REG
Form: ILET_REG register (operand 1) operational symbol register (operand 2)
This instruction is the operational order that the content of a current register of the register pair by register indirect addressing (operand 1) is carried out assignment;
MAKE_OUTPUT
Form: the literal (operand 2) that MAKE_OUTPUT attribute-name (operand 1) operational symbol is descriptive
This instruction is the operational order that a content the operand 2 of this instruction back is written to the output window of system;
MAKE_OUTPUTR
Form: MAKE_OUTPUTR attribute-name (operand 1) operational symbol register (operand 2)
This instruction is the operational order that a content register (operand 2) is written to the output window of system;
MAKE_ROM
Form: MAKE_ROM label (operand 1)
This instruction is to finish processing is hung in the current expansion word instruction of carrying out, and also is about to the scene that current expansion word instruction is carried out, and preserves to advance to hang in the buffer memory of workspace, so that carry out this expansion word instruction that is in the suspension next time;
MAKE_ROMR
Form: MAKE_ROMR label (operand 1)
Temporarily stored instruction, expansion after being used for;
MAKE_KNOWS
The literal (operand 1) that form: MAKE_KNOWS is descriptive
This instruction is that a content of (operand 1) of number immediately by this instruction back produces operational order new natural language sentences and that search coupling and carry out in the knowledge base;
MAKE_KNOWSR
Form: MAKE_KNOWSR register (operand 1)
This instruction is that a content by (operand 1) of the register of this instruction back produces operational order new natural language sentences and that search coupling and carry out in the knowledge base;
READ_RESULT
Form: READ_RESULT attribute-name (operand 1) operational symbol register (operand 2)
This instruction is that a handle is by the MAKE_KNOWS of ANL language or the sentence of MAKE_KNOWSR instruction generation, after executing, the result who generates in generation sentence workspace, by this instruction the attribute-name (operand 1) of content corresponding by appointment read the operational order of delivering to register (operand 2), be used with MAKE_KNOWS or MAKE_KNOWSR instruction;
THEN_LET
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be LET in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the LET instruction;
THEN_LETR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be LETR in first instruction of THEN position, then uses this instruction;
THEN_LETRK
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be LETRK in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the LETRK instruction;
THEN_LETRR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be LETRR in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the LETRR instruction;
THEN_TRIM_LEFT
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_LEFT in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the TRIM_LEFT instruction;
THEN_TRIM_LEFTR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_LEFTR in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the TRIM_LEFTR instruction;
THEN_TRIM_LEFTRK
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_LEFTRK in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the TRIM_LEFTRK instruction;
THEN_TRIM_LEFTRR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_LEFTRR in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the TRIM_LEFTRR instruction;
THEN_TRIM_RIGHT
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_RIGHT in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the TRIM_RIGHT instruction;
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_RIGHTR in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the TRIM_RIGHTR instruction;
THEN_TRIM_RIGHTRK
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_RIGHTRR in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the TRIM_RIGHTRR instruction;
THEN_TRIM_RIGHTRR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_RIGHTRR in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the TRIM_RIGHTRR instruction;
THEN_GET_LEFT
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_LEFT in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the GET_LEFT instruction;
THEN_GET_LEFTR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_LEFTR in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the GET_LEFTR instruction;
THEN_GET_LEFTRK
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_LEFTRK in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the GET_LEFTRK instruction;
THEN_GET_LEFTRR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_LEFTRR in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the GET_LEFTRR instruction;
THEN_GET_RIGHT
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_RIGHT in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the GET_RIGHT instruction;
THEN_GET_RIGHTR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_RIGHTR in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the GET_RIGHTR instruction;
THEN_GET_RIGHTRK
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_RIGHTRK in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the GET_RIGHTRK instruction;
THEN_GET_RIGHTRR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_RIGHTRR in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the GET_RIGHTRR instruction;
THEN_GOTO
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GOTO in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the GOTO instruction;
THEN_GOTOR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GOTOR in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the GOTOR instruction;
THEN_CALL
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be CALL in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the CALL instruction;
THEN_RETURN
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be RETURN in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the RETURN instruction;
THEN_PUSH
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be PUSH in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the PUSH instruction;
THEN_POP
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be POP in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the POP instruction;
THEN_SETON
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be SETON in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the SETON instruction;
THEN_SETONR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be SETONR in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the SETONR instruction;
THEN_GOBACK
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GOBACK in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the GOBACK instruction;
THEN_SEND
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be SEND in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the SEND instruction;
THEN_SENDPOS
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be SENDPOS in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the SENDPOS instruction;
THEN_SENDLENGTH
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be SENDLENGTH in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the SENDLENGTH instruction;
THEN_SENDLENGTHR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be SENDLENGTHR in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the SENDLENGTHR instruction;
THEN_FIND
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be FIND in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the FIND instruction;
THEN_FINDR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be FINDR in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the FINDR instruction;
THEN_NOP
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be NOP in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the NOP instruction;
THEN_ERROR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be ERROR in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the ERROR instruction;
THEN_ILET_RAM
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be ILET_RAM in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the ILET_RAM instruction;
THEN_ILET_REG
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be ILET_REG in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the ILET_REG instruction;
THEN_MAKE_OUTPUT
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be MAKE_OUTPUT in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the MAKE_OUTPUT instruction;
THEN_MAKE_OUTPUTR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be MAKE_OUTPUTR in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the MAKE_OUTPUTR instruction;
THEN_MAKE_ROM
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be MAKE_ROM in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the MAKE_ROM instruction;
THEN_MAKE_ROMR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be MAKE_ROMR in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the MAKE_ROMR instruction;
THEN_MAKE_KNOWS
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be MAKE_KNOWS in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the MAKE_KNOWS instruction;
THEN_MAKE_KNOWSR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be MAKE_KNOWSR in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the MAKE_KNOWSR instruction;
THEN_READ_RESULT
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be READ_RESULT in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the READ_RESULT instruction;
ELSE_LET
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be LET in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the LET instruction;
ELSE_LETR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be LETR in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the LETR instruction;
ELSE_LETRK
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be LETRK in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the LETRK instruction;
ELSE_LETRR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be LETRR in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the LETRR instruction;
ELSET_RIM_LEFT
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_LEFT in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the TRIM_LEFT instruction;
ELSE_TRIM_LEFTR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_LEFTR in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the TRIM_LEFTR instruction;
ELSE_TRIM_LEFTRK
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_LEFTRK in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the TRIM_LEFTRK instruction;
ELSE_TRIM_LEFTRR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_LEFTRR in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the TRIM_LEFTRR instruction;
ELSE_TRIM_RIGHT
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_RIGHT in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the TRIM_RIGHT instruction;
ELSE_TRIM_RIGHTR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_RIGHTR in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the TRIM_RIGHTR instruction;
ELSE_TRIM_RIGHTRK
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_RIGHTRK in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the TRIM_RIGHTRK instruction;
ELSE_TRIM_RIGHTRR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_RIGHTRR in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the TRIM_RIGHTRR instruction;
ELSE_GET_LEFT
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_LEFT in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the GET_LEFT instruction;
ELSE_GET_LEFTR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_LEFTR in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the GET_LEFTR instruction;
ELSE_GET_LEFTRK
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_LEFTRK in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the GET_LEFTRK instruction;
ELSE_GET_LEFTRR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_LEFTRR in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the GET_LEFTRR instruction;
ELSE_GET_RIGHT
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_RIGHT in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the GET_RIGHT instruction;
ELSE_GET_RIGHTR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_RIGHTR in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the GET_RIGHTR instruction;
ELSE_GET_RIGHTRK
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_RIGHTRK in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the GET_RIGHTRK instruction;
ELSE_GET_RIGHTRR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_RIGHTRR in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the GET_RIGHTRR instruction;
ELSE_GOTO
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GOTO in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the GOTO instruction;
ELSE_GOTOR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GOTOR in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the GOTOR instruction;
ELSE_CALL
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be CALL in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the CALL instruction;
ELSE_RETURN
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be RETURN in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the RETURN instruction;
ELSE_PUSH
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be PUSH in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the PUSH instruction;
ELSE_POP
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be POP in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the POP instruction;
ELSE_SETON
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be SETON in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the SETON instruction;
ELSE_SETONR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be SETONR in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the SETONR instruction;
ELSE_GOBACK
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GOBACK in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the GOBACK instruction;
ELSE_SEND
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be SEND in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the SEND instruction;
ELSE_SENDPOS
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be SENDPOS in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the SENDPOS instruction;
ELSE_SENDLENGTH
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be SENDLENGTH in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the SENDLENGTH instruction;
ELSE_SENDLENGTHR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be SENDLENGTHR in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the SENDLENGTHR instruction;
ELSE_FIND
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be FIND in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the FIND instruction;
ELSE_FINDR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be FINDR in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the FINDR instruction;
ELSE_NOP
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be NOP in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the NOP instruction;
ELSE_ERROR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be ERROR in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the ERROR instruction;
ELSE_ILET_RAM
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be ILET_RAM in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the ILET_RAM instruction;
ELSE_ILET_REG
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be ILET_REG in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the ILET_REG instruction;
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be MAKE_OUTPUT in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the MAKE_OUTPUT instruction;
ELSE_MAKE_OUTPUTR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be MAKE_OUTPUTR in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the MAKE_OUTPUTR instruction;
ELSE_MAKE_ROM
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be MAKE_ROM in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the MAKE_ROM instruction;
ELSE_MAKE_ROMR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be MAKE_ROMR in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the MAKE_ROMR instruction;
ELSE_MAKE_KNOWS
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be MAKE_KNOWS in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the MAKE_KNOWS instruction;
ELSE_MAKE_KNOWSR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be MAKE_KNOWS in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the MAKE_KNOWSR instruction;
ELSE_READ_RESULT
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be READ_RESULT in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the READ_RESULT instruction.
Described CPU (central processing unit) NLPU towards natural language processing mainly finishes the symbol of natural language and handles, and its inside comprises:
The buffer of ANL director data: deposit the ANL sound instruction data that NLPU reads from the ANL language description storehouse of outside by ANL director data bus;
Command decoder: the order code of delivering in the order code impact damper by ANL director data bus is deciphered, and directly controlled all service parts relevant of whole NLPU with the ANL execution process instruction;
Timing control unit: the time clock with the outside is driving, for the operation of command decoder and other the time sequence control parts that need in operating process provide the time sequential routine;
Arithmetic unit: mainly finish arithmetical operation operation, comprise add, subtract, multiplication and division, and with or, non-etc. logic fundamental operation;
Character operation device: be used for finishing the various operations of character operation, comprise the judgement of compare string string, the character of the appointment number of the add operation of character string, the character string of extracting the appointment number, a certain end of clear character string, calculating character string length etc.;
Arithmetic operation number register 1: be used for temporarily depositing first arithmetic operation number that carries out numerical value or symbolic operation;
Arithmetic operation number register 2: be used for temporarily depositing second the arithmetic operation number that carries out numerical value or symbolic operation;
Result register: be used for temporarily depositing the numerical value or the result of symbolic operation and the information in processing procedure of keeping in other of carrying out;
Character-numerical transformation device 1: when carrying out arithmetical operation, to leaving the data that character type data in the arithmetic operation number register 1 is converted to numeric type in;
Character-numerical transformation device 2: when carrying out arithmetical operation, to leaving the data that character type data in the arithmetic operation number register 2 is converted to numeric type in;
Numerical value-lteralizer: when carrying out arithmetical operation, the numeric type data after the computing are converted to again the data of character type;
Row codec: when recovering at the scene that the expansion word instruction that produces suspension or generation generation sentence is protected, the data decode of the character type that the pointer of the expansion word instruction of protection is expert at is the data of numeric type, and is loaded in the ANL dos command line DOS pointer generator;
MUX 1: this MUX is controlled by command decoder, to the data on the character type data line of delivering to NLPU, selects the result of arithmetic unit or character operation device to export;
Sentence pointer generator:, generate the value of next sentence pointer according to the pointer value of current sentence;
Sentence pointer buffer: this buffer is directly deposited the effective sentence pointer value that is generated by the sentence pointer generator;
Speech pointer generator:, generate the value of the pointer of next speech according to the value of current speech pointer;
Speech pointer buffer: this buffer is directly deposited the effective speech pointer value that is generated by the speech pointer generator;
The target code translator: the operand 1 in the ANL instruction of needs visits framework buffer is deciphered, and the address value of the sentence position of based on context visit, lexeme is put and attribute-name synthesize content generation symbolic address bus;
Owner pointer: be a buffer unit in the target code translator, preserve the sequence number of current handled expansion word instruction;
Floating pointer: be a buffer unit in the target code translator, dynamically preserve the sequence number based on owner pointer of current handled expansion word instruction;
First level address bus cache device: when register addressing was operated, directly the first level address of register number was specified in output, and the needs of depositing other carry out the address date that first level address drives operation;
Direct data bus buffer: temporarily deposit 2 system data;
Symbolic address bus cache device: deposit NLPU in the symbolic address information of carrying out external reference with the character type data as the address;
Symbol data bus cache device: mainly be to deposit NLPU in the symbol data information of carrying out external reference with the character type data as data;
Output text interface: the handle in processing procedure needs the information of produce output result by this interface output;
External communication interface: be used for the information transmission with sensor external and driver, and the operation information of output artificial intelligence machine;
ANL dos command line DOS pointer generator: add 1 row address information that produces when carrying out the ANL instruction automatically successively, its content is the address of numerical value;
Main flow/suspension flow process control assembly: the execution that the expansion word that is used to switch main flow and hang flow process instructs;
The text camera lucida: be used for the content of the text buffer memory of artificial intelligence machine is written in the framework buffer according to the sequence number of sentence sequence number, speech and the form of framework buffer, and to the coding work of address decoder;
Sentence extraction apparatus:, from the framework buffer, extract the sentence of this pointer appointment according to the pointer value in the current sentence pointer generator;
Sentence formula extraction apparatus:, from the framework buffer, extract the sentence formula of this pointer appointment according to the pointer value in the current sentence pointer generator;
Speech extraction apparatus:, from the framework buffer, extract the speech of this pointer appointment according to the pointer value in the current speech pointer generator;
The coding write device of address decoding: to different sentence sequence numbers, different speech sequence number and be written in the address decoder at the framework buffer or after generating the physical address encoding operation of sentence workspace buffer memory;
Current flow state sign: show that current treatment state is in main flow process or the suspension execution flow process carried out;
Current Notation Of Content: show when the expansion word of pre-treatment instruction ANL describe body to as if sentence, sentence formula or speech;
Generate the sentence sign: the generation sentence that shows current execution is by sentence, sentence formula or speech guiding;
The workspace address pointer of current expansion word instruction: show current expansion word instruction in the main flow at the physical address in synthetic operation district, and carry out the expansion word instruction of hanging the generation sentence that produces in the flow process physical address in the synthetic operation district;
The length parameter amount unit, workspace of expansion word instruction: preserve each expansion word instruction shared physical space length in the synthetic operation district in this unit;
Totalizer 1: this totalizer obtains the workspace pointer of the next expansion word instruction of the workspace pointer that current expansion word instructs in the synthetic operation district by the content addition of the value of the workspace address pointer of current expansion word instruction with the length parameter amount unit, workspace of expansion word instruction;
Totalizer 2:, obtain the value of the absolute physical address of register in the synthetic operation district with current expansion word instruction works regional address pointer value and value addition from different side-play amounts unit;
IF side-play amount unit: preserve the start address in IF stack area in the shared physical space in the synthetic operation district of expansion word instruction with respect to the side-play amount that begins most physical address of this expansion word instruction;
CALL side-play amount unit: preserve the start address in CALL stack area in the shared physical space in the synthetic operation district of expansion word instruction with respect to the side-play amount that begins most physical address of this expansion word instruction;
PUSH side-play amount unit: preserve the start address in PUSH stack area in the shared physical space in the synthetic operation district of expansion word instruction with respect to the side-play amount of the physical address that begins most of this expansion word instruction;
Self-defined register side-play amount unit: the start address in self-defined register district in the shared physical space in synthetic operation district that is used for preserving the expansion word instruction is with respect to the side-play amount of the physical address that begins most of this expansion word instruction;
General-purpose register side-play amount unit: preserve the expansion word instruction in the synthetic operation district in the shared physical space the start address in general-purpose register district with respect to the side-play amount of the physical address that begins most of this expansion word instruction;
IF turns the address stack pointer generator: the pointer value that produces IF stack area required in the current expansion word instruction execution;
CALL turns the address stack pointer generator: the pointer value that produces CALL stack area required in the current expansion word instruction execution;
PUSH turns the address stack pointer generator: the pointer value that produces PUSH stack area required in the current expansion word instruction execution;
The remainder is according to generator: to the data assignment from stack pointer on the totalizer 2 is zero;
Produce the expansion word instruction address stack district that hangs: this stack area is a memory block of supporting stack manipulation of NLPU inside, preserves to produce the physical address of expansion word instruction in synthetic operation district buffer memory that hangs;
Produce the expansion word instruction address stack pointer that hangs: this stack pointer is used for indicating the position of the unit, place, address that produces that expansion word instruction that enters the storehouse preservation at last current in the expansion word instruction address stack district that hangs;
Produce the expansion word instruction counter that hangs: the number that is recorded in the expansion word instruction of the suspension that produces in the entire process process;
Comparer: this comparer is used for when carry out hanging the content of workspace, judges to produce the expansion word instruction address stack pointer that hangs by constantly adding 1 value, whether equals to produce the value in the expansion word instruction counter of suspension;
Produce the expansion word instruction address stack district that generates sentence: be the storage area of NLPU internal support stack manipulation, be used for preserving the physical address of the expansion word instruction of appearance generation sentence at synthetic operation district buffer memory;
Produce the expansion word instruction address stack pointer of generation sentence: indicate the position of the unit, place, address of that expansion word instruction that enters the storehouse preservation at last current in the expansion word instruction address stack district that produces the generation sentence, and the next cell position of the unit, place, address of that expansion word instruction of last storehouse ejection;
Root sentence comparer: be used to judge whether the content of current outside input text all is finished;
Current Notation Of Content buffer: be used to enter the Notation Of Content of preserving current sentence, sentence formula, speech when hanging the execution flow process;
Hang and eliminate control assembly: be used for hanging flow process and write clear flag to the corresponding address unit in execution.
After adopting technique scheme, because the knowledge in the knowledge base of artificial intelligence machine of the present invention is directly to be described with natural language, and by various knowledge in next " understanding " knowledge base of the natural language understanding system in this artificial intelligence machine, thereby machine can be constantly in " study " process, enrich the content in the machine its knowledge storehouse gradually, thereby the machine problem-solving ability is enhanced, and can be in construction, use, expansion and the modification of knowledge base, accomplish simple and easy to doly, everybody can be.
Description of drawings
Fig. 1 is a hardware configuration synoptic diagram of the present invention.
Fig. 2 is the structural representation of CPU (central processing unit) NLPU among the present invention.
Fig. 3 is the overview flow chart of work of the present invention.
Fig. 4 is the structural representation of knowledge blocks among the present invention.
Fig. 5 is the internal frame diagram of natural language understanding system among the present invention.
Fig. 6 is the cut-away view of center posture buffer memory of the present invention.
Fig. 7 is the dynamic expansion synoptic diagram of attribute-name among the present invention.
Fig. 8---Figure 17 is the view of synthetic operation district buffer memory when carrying out a sentence among the present invention.
Figure 18 is the cut-away view of the ANL language description body of expansion word instruction among the present invention.
Figure 19 is the content flowchart that hangs the workspace among the present invention.
Figure 20 is the process flow diagram that has the execution of hanging the workspace of a sentence among the present invention.
The embodiment artificial intelligence machine based on natural language understanding of the present invention can be divided into the two large divisions in principle: the knowledge base of natural language description and natural language understanding system.
1, the knowledge base of natural language description is called for short knowledge base here, and this knowledge base comprises the natural language description storehouse of speech, the natural language description storehouse of sentence, natural language description storehouse three parts of sentence formula.Its content comprises certain knowledge and World Affairs about human language, and World Affairs comprise general knowledge and professional knowledge again.Knowledge in this knowledge base is to organize by the form of " knowledge blocks ", all comprises " head " and " body " two parts in each knowledge blocks.As shown in Figure 4, arrow points is the head of knowledge blocks, " } " be oriented to the body of knowledge blocks." head " also promptly illustrates the title of this knowledge blocks, can be declarative sentence, such as " step that manuscript is checked "; Also can be interrogative sentence, such as " what is a carp? " or the sentence of other types, can also be senior vocabulary such as " consciousness ", " philosophy " etc.; Can also be the sentence formula of directly explaining with natural language, such as " name+moving+name+number+amount++? " Deng." body " then is the overall process with the direct described problem of describing of concrete solution " head " of natural language.For Chinese, the sentence in the body content is to fill in the result behind " manually " participle, such as " AABBCC." write as " AA BB CC."; because the accuracy of machine " participle " can't reach absolutely at present; if certain word segmentation result of sentence is incorrect; will cause machine to be made mistakes in the process of the sentence of the natural language description of " understanding " knowledge blocks body; so; when building knowledge base, need artificially sentence to be carried out participle, such as indicating with space or other separator, during with the content in assurance machine " understanding " knowledge base, mistake can not appear because participle is inaccurate, simultaneously owing to there is not this process of machine participle during the content of machine in " understanding " knowledge base yet, therefore, also avoid the time loss that when word segmentation processing, causes, improved operational efficiency.
The natural language description storehouse of sentence, mainly be with the sentence of describing relevant issues or " decompositions " explain for several natural language sentences of low one deck again be the sentence of knowledge base build division header, body then be directly with natural language to this head topic sentence state, explain, the description body of several natural language sentences formations of answer or process processing.The natural language description storehouse of speech, being mainly used in senior vocabulary is the head title, body then is the description body that direct several natural language sentences that this head title vocabulary made an explanation, illustrate with natural language constitute.The natural language description storehouse of sentence formula, the sentence formula (sentence pattern) that is mainly used in to constitute sentence is the head title, body then is the description body that directly with natural language this taglines formula is carried out several natural language sentences formations of analyzing and processing.
2, natural language understanding system is used for finishing the sentence to natural language description, the content of chapter is carried out " understanding ".Natural language understanding system is understood some corresponding knowledge in the knowledge base that suitably " call " natural language description in understanding process, guarantee the correctness of " understanding " process.The natural language of natural language understanding system institute " understanding " had both comprised by the text sentence of external interface input, had also comprised the natural language sentences in its knowledge storehouse.This natural language understanding system is the core of whole artificial intelligence machine.
Having only natural language to be only best knowledge representation method, because people are for the obtaining of knowledge, much all is that the form by spoken and written languages realizes.Natural language itself is with different levels, from rudimentary to senior, increases progressively gradually, and layer overlaps, senior level is always comprising the language of rudimentary level.The natural language of machine " understanding " must be from the natural language of rudimentary level.Consider for different purposes, division to natural language level also may be diversified, here just from how to adopt natural language to carry out representation of knowledge this point and come, be divided into two levels: senior level, rudimentary level in order to realize the machine perception natural language.The natural language of senior level can be by successively being " demoted " to the natural language of rudimentary level.The use of the natural language in the reality is the various mixing of these two levels, not obvious limit.Here defining rudimentary level is basic layer, level except basic layer all is called senior level without exception, and no longer senior level is further divided into the one-level high level again, the secondary high level, three grades of high levels ... or the like, although there is this implication relation in people, just for convenience of explanation, and be referred to as senior level here." understanding " of the natural language of rudimentary level is to realize by carrying out " expansion word instruction ".The expansion word instruction comprises speech, sentence, sentence formula; The content of expansion word instruction is some instruction micro-operation that speech, sentence, sentence formula are made an explanation.
The sentence of natural language we can say all by different speech and forms, and about the definition of speech different sayings arranged also, for Chinese, is that the mode of dictionary is routinely distinguished here basically, and a word that has is a speech, such as " beat ", " putting "; Have plenty of two words,, also have the speech of four words, such as " Genghis khan ", " diligently " (Chinese idiom) such as " rose ", " grape "; And the speech of multiword more, such as " Ethiopia " etc.Here the definition of speech is divided according to treatable mode on machine.
" speech instruction " speech is amplified by computerese " instruction ".The meaning is meant the sentence of a natural language of machine perception, carries out a bit of program as computing machine.The external presentation of " speech instruction " is the character string of a speech just, but can finish some associative operation of the sentence of " understanding " natural language when carrying out.Machine is exactly to carry out the process of this sentence all " speech instructions " for the understanding process of a sentence basically.
Most of sentences can " decompose " for speech instructs to be carried out, but some sentence itself belongs to the special case situation, if the words that this sentence is carried out for speech instructs by " decomposition ", just mistake might appear, or very bother, be that the speech instruction mode that is not suitable for is routinely carried out for such sentence.Such sentence or be the sentence that belongs to one integrated mass should be handled as a fixing special sentence, is equivalent to one grand " speech instruction " in other words; Itself does not belong to special sentence, and can instruct " decomposition " to carry out by speech yet, but but can not finish understanding process well.Such as " 4 canoes are arranged in the river; " because " a having " word is arranged, so, can be by carrying out " decomposition " speech instruction process, still for the sentence as " 4 canoes in the river " by " xx has xx ", because there be not " having ", if the mode according to carrying out the speech instruction one by one is certain to cause information incomplete, even mistake can occur.So introduced the notion of " sentence formula " here, earlier with the mode of current sentence " decomposition " for the speech instruction, and carry out these speech one by one and instruct, and then after last the speech instruction that executes this sentence, the part of speech result who carries out according to these speech instructions generates corresponding " sentence formula ", in sentence formula storehouse, mate, such as execute last speech instruction ", " when " 4 canoes in the river, " this sentence after, the sentence formula that generates be exactly " name+Jie+number+amount+name+; ", also suppose here in sentence formula storehouse, to have matched this formula, the particular content of this formula, the function of " having " with " 4 canoes are arranged in the river, " is close.Like this, earlier sentence " decomposition " is carried out for the speech instruction, and then, can be accomplished more reasonably allocating task, and what can not omitted again the mode that the sentence formula of this sentence is mated and carried out in sentence formula storehouse.So, the process of sentence formula matching treatment be sentence " decompositions " for the speech instruction carry out strong additional, also avoided independent and instructed the inconvenience handled and the problem of intractable by speech.For the above-mentioned special sentence and the situation of sentence formula, all be the expansion of on the basis of speech instruction, carrying out, they are referred to as " expansion word instruction " with the speech instruction.
Natural language understanding system is to carry out according to such order of " sentence by sentence " or " by speech " when carrying out, each expansion word instruction all has the pointer position of a correspondence when carrying out, to show current expansion word instruction is to belong to which layer sentence, which sentence, the information which speech is such, this is unique location in the omnidistance implementation, determines by " sequence number ".This pointer of current expansion word instruction position of indicating is referred to as " owner pointer " of this expansion word instruction.When carrying out some microoperation of this expansion word instruction, other other positions may can " be run " in some visit of this expansion word instruction again, and this pointer of change at any time just is referred to as " floating pointer ".The visit of contextual information is also finished in expansion word instruction just by floating pointer, when system has just carried out the instruction of some expansion words, the value of floating pointer is initialized as the value of owner pointer earlier, when carrying out the microoperation of this expansion word instruction afterwards, may be along with different instructions, the floating pointer value can change, and in the implementation, also can return the position at first of oneself again, also be the value that its value equals the owner pointer of this expansion word instruction.
More than narrated the sentence of understanding natural language by the pattern of expansion word instruction, the operation of expansion word instruction depends on corresponding running environment, mainly is that the metadata cache structure according to frame-type realizes.
As shown in Figure 6, the frame-type representation of knowledge is a kind of of representation of knowledge form in the artificial intelligence field.Generally have object, attribute, be worth this basic tlv triple.Here prolong notion, be used for representing the state of related data in the artificial intelligence machine course of work with object, attribute, value.When whole artificial intelligence machine was worked, except some status datas employing storehouse forms preservations, most in addition intermediate data all was to deposit in this " internal memory ", so be referred to as " framework buffer memory ".The value of the attribute of depositing in the framework buffer memory is to be made of " value address code " two parts, 4 kinds of situations can be arranged, comprise " null value (void value does not have address code) " yet, " have only value and do not have address code ", " void value but address code is arranged ", " existing value has address code again ".
(1) object in the framework buffer memory mainly is meant the content that can list at " title " those row of object, comprises speech, punctuate.
(2) " sequence number " in the framework buffer memory is the level number, sentence number at the sentence place at indicated object place and speech number.Sequence number such as object A01 (speech) is " 1/1 ", shows it is first speech in first sentence, and the sequence number of object B 03 (speech) is " 2/3 ", shows it is the 3rd speech in second sentence.The content that other sequence numbers show, the rest may be inferred.
(3) attribute-name of the object in the framework buffer memory is divided into two kinds of base attribute name and extended attribute names.The base attribute name is those attribute-name commonly used that each run all exists, such as picture " title ", " quantity ", " color " ... or the like; Attribute-name except the base attribute name all is referred to as the extended attribute name.
(4) line number of framework form:
Line number in the framework buffer memory form is dynamically to increase, and the content of the sentence in the sentence content of different input texts and the different knowledge base in service will be occupied different line numbers, such as the sentence number, and the number of the speech that comprises in the sentence.Simultaneously different processing also can make the line number in the form of framework buffer change, such as the complicated nested execution of body sentence in the knowledge blocks in the knowledge base etc.
(5) " sequence number " in the framework buffer memory can make each object that unique address code is all arranged, and also is " registered permanent residence " of object.This sequence number makes object can both find oneself " family " in the entire process process, also be the basic guarantee that can move without any confusion of machine such as " he " of first speech of three of " he 3/1 " expression, " he " of the 3rd speech that " he 5/3 " expression is the 5th or the like." unique address sign indicating number " can make machine accomplish to carry out " addressing " on the position of contextual " which sentence, which speech ", can also expand to the addressing capability of " which chapter, which section " certainly later on.
Description body in the ANL language description storehouse realizes by carrying out in the microoperation of expansion word instruction, and ANL language description storehouse is an important component part in the natural language understanding system, mainly comprises three with ANL language description storehouse.Be respectively the ANL language description storehouse of speech, the ANL language description storehouse of sentence, the ANL language description storehouse of sentence formula.
The ANL language description storehouse of speech: the most of basicvocabulary in the natural language all is described with the ANL language in this dictionary, the description of the senior vocabulary of other then is in the natural language description storehouse of speech, describes by natural language sentences at the body of knowledge blocks.
The ANL language description storehouse of sentence: the sentence that some can not be carried out for speech by " decomposition ", but whole sentence belongs to those special case sentences that needs are directly described with the ANL language, and every so special sentence all is to be described in the ANL of sentence language description storehouse.
The ANL language description storehouse of sentence formula: about the various sentence formulas (sentence pattern) of formation natural language sentences, such as " name+be situated between+have+name+, " etc., all be in the ANL of sentence formula language description storehouse, to describe by the ANL language.
The microoperation of expansion word instruction is in respective environment, realizes what the bottom level was operated by carrying out " ANL language ".The operation of carrying out each expansion word instruction in the natural language understanding system is to be undertaken by carrying out the corresponding description body with the ANL language description of this expansion word instruction.
The ANL language, it is the abb. of assembly language (Assembly for Natural Language) towards natural language, this language is to be the special a kind of language created of machine perception natural language, and the ANL language is to finish the basic foundation of machine perception natural language with relevant running environment.
The form of ANL language is:
Title Capable number Label Order code Operand 1 Operational symbol Operand 2 … … … …
Wherein " ... " part is the additive term of instruction manipulation, except note, and the part that remaining then generates automatically for the compiling back.
The ANL language characteristic:
(1), by the difference of " operand 1 " content in the ANL instruction, can have different access abilities.Such as, can between each speech, conduct interviews, as " this sentence. this sentence. a last speech. title ", this sentence. this sentence. next speech. quantity ", this sentence. this sentence. last speech. title " etc.; The visit of can between each sentence, being correlated with, as " this sentence. last one. the most preceding speech. title ", " this sentence. next sentence. last speech. title ", " this layer. last. the most preceding speech. title " or the like; Can also between different nesting levels, (comprise senior level sentence ...-second advanced level sentence ...-basic layer sentence-speech instruction-ANL instruction) conduct interviews, as " last layer. the most preceding sentence. the most preceding speech. title " or the like.
Simply introduce several important instructions below, SETON, SETONR, GOBACK;
SETON instruction is the floating pointer position based on current expansion word instruction, according to the content (operand 1) of current directly address carry out the setting of new access location.Such as " this sentence of SETON. this sentence. last speech. title "--the position of-direct floating pointer that just the current expansion word of carrying out can be instructed, temporarily be set on the position of last speech of this sentence, can carry out the accessing operation of all properties of this speech then, even can put or other addressable position conducts interviews according to the last lexeme that this temporary transient position enters into this speech, this is the contextual access process by floating pointer just.
The same SETON of SETONR instruction effect is nothing but the set positions of carrying out floating pointer according to the content of register.Such as register " position REG " (random set-up register title, the register number of each speech instruction is 40 at present, also can adjust to bigger scope) position of having write down the some speech in some sentences, just can temporarily set floating pointer by " SETONR position REG " instruction and enter into the specified sentence of this " position REG " register or the position of speech, thereby carry out various relevant " visits ".
The GOBACK instruction then is to be set to the floating pointer of other executing location, the position of the current expansion word instruction of carrying out of " recalling " again.It also is the value of the owner pointer of the value of the floating pointer expansion word instruction that is assigned current ANL language description again.
SETON, SETONR, the GOBACK instruction can make the floating pointer of the current expansion word instruction of carrying out temporarily be set to other other positions, be convenient to carry out various contextual " visit ", also has FIND, the FINDR instruction also is the position of current floating pointer temporarily to be set to other other positions.The ANL sound instruction of in addition other, all be under the situation of the invariant position of current floating pointer, visit the information of other positions, such as " this sentence of LET. last one. the most preceding speech. quantity=100 ", only be with last one the quantitative attribute assignment of preceding speech be " 100 ", and the position of self floating pointer still is current position, be not reconfigured to the position of first speech of a sentence, certainly also instructing without GOBACK and turn back to the owner pointer position that current expansion word instructs, also is that the ANL instruction of the type can not make the value of floating pointer change.
Owing to carry out " visit " in the such gamut of this text sentence that can externally import of ANL language and the knowledge blocks body sentence in the knowledge base, cause the ANL language to have the characteristic of " can handle natural language easily " by contextual information.
(2). whether can pass through MAKE_ROM, " suspension " processing is carried out in the expansion word of the carrying out instruction that MAKE_ROMR instruction will be current, and all cause the factor of generation " suspension " to change in " observation " when per.Because in a lot of situations, " understanding " sentence is not that each speech that executes in the sentence in proper order successively simply just comes to an end, but " understanding " of current this speech needs the explanation of speech of the back of this sentence probably, or even the explanation of the sentence of back, the part of back does not also have enough time to carry out at this moment, this just needs the part of " wait " current this speech back all to obtain after the processing, come then to continue to handle current this speech again, only in this way could guarantee the correctness of " understanding ", this " wait " process is exactly to pass through current this speech temporary transient " suspension ", and the implementation status of " observation " aft section is determined the execution that the speech of current " suspension " instructs at any time, certainly also can exist the execution of the speech of back may need the processing of the speech of " observation " front, and the execution of this speech of the quilt of front " observation " may need " wait " more collaborative " observation " situation of such complexity of the processing of the speech of back, and these are also all handled by " suspension " mechanism.If just belong to the merely speech of the speech of back " observation " front, so,, handle and there is no need to enter " suspension " as long as just can realize by the contextual access function of speech instruction.Handling this part function about " suspension " mainly is to finish by " hanging the workspace buffer memory " (part of " synthetic operation district buffer memory "), this buffer memory is used to preserve the various information of the expansion word instruction of all generations " suspension ", the line position (line pointer of ANL language) that comprises the ANL sound instruction place that current expansion word instruction is being carried out, field datas such as the data of various registers.(the expansion word instruction of " suspension " when the content of current if " hanging the workspace buffer memory " is not empty, number mostly is 100 most at present, also can be) by being set to bigger scope, so, whenever carry out an expansion word instruction backward, all will with in " hang workspace buffer memory " from first, the expansion word instruction of backward each " suspension ", information during according to the generation " suspension " of preserving at that time, again access and carry out, cause the assigned address of the ANL instruction of generation " suspension " to continue to carry out from that, if in the process of carrying out new change is arranged, factor such as the generation " suspension " of instructing when the speech of " suspensions " is cancelled, then will be somebody's turn to do the speech instruction of " suspension ", remove from " hanging the workspace buffer memory ", though or continuation produces " suspension ", but producing the factor that hangs changes to some extent, such as the ANL dos command line DOS number (MAKE_ROM that hangs from original generation, the MAKE_ROMR instruction) be " 20 ", be changed to " 50 " now, the execution of " synthetic operation district buffer memory " so, then will be again begin to carry out from the expansion word instruction of first " suspension " again, all there is not new change in the implementation of the expansion word instruction of each " suspension " in " hanging the workspace buffer memory ", so, end is just calculated in the execution of " suspension " expansion word instruction of this " hanging the workspace buffer memory ".The process whether this process is just all caused the factor of generation " suspension " to change in " observation " by those expansion word instructions of " suspension " at any time.Because need " observation " each other sometimes and carry out the situation of this collaborative work each other, as long as the content of working as " hanging the workspace buffer memory " is not for empty, in outside input text of so every execution or the knowledge base text in expansion word instruction after, all the expansion word instruction that enters each " suspension " of " hanging the workspace buffer memory " will be carried out one time, the expansion word of each " suspension " in " hanging the workspace buffer memory " instructs till all new never again in the process of implementation change.Hang the content implementation status of workspace and see Figure 19.We can say, always be the state that is in a kind of " observation " own needed information in the processing procedure of expansion word instruction at whole input text of each " suspension " in " hanging the workspace buffer memory ".Certainly, when input text complete edition execution end, also can there be the expansion word instruction of " suspension " in possible ROM problem array area, on the one hand, the description block of the ANL language of expansion word instruction may also need further to revise and be perfect, and correct result's output can be arranged; On the other hand, may have correct result to export, but still still have some unnecessary problems that do not solved (causing the factor of generation " suspension "), these problems can be considered as redundance, ignore.
Owing in the processing procedure of expansion word instruction at whole input text of " hanging the workspace buffer memory " each " suspension ", all be in a kind of " observation " " work " state always, so, this " suspension " latency function can make system when carrying out contextual access, can be incomplete because of current information, such as, possible system does not also carry out the position of needs association, cause the relevant information of the position that is associated current for empty, after can " waiting until " that always follow-up processing is all finished so, go again to handle, and be to handle at any time at any time " observation ", can make the instruction of each expansion word can obtain corresponding complete information with other the contact of part of context, thereby make the language ambience information of contextual generation complete, the information of removing non-sentence itself is incomplete, the perhaps ANL language description imperfection of expansion word instruction, be to belong to outside unnecessary " suspension " problem perhaps to the problem of describing in the current input text, can be by setting up to " mutually " influence a relevant language ambience information each other, the speech of front at any time the speech of " observation " this speech back or back sentence for information about, the information of the sentence of the speech of front or front can " be observed " in the speech of back, and making it can both " collaborative advancing ".The information that needs the penult speech such as the execution of first speech, third from the bottom speech then needs the information of first speech of beginning again, also all can make first speech always " observation " also " wait " behind the information completely of penult speech, third from the bottom speech " observation " always handled after also " waiting until " information completely of first speech again, thereby the operational process that makes total system can both be accomplished to carry out without any confusion, though do not get information for the moment, but wait for by " suspension " and can both get information needed separately, with the problem of avoiding system can't true(-)running because information is imperfect to go down.
(3). pass through MAKE_KNOWS, the MAKE_KNOWSR instruction can be finished in the ANL execution process instruction, at any time visit the direct content in the knowledge base with natural language description, can be human knowledge and World Affairs (general knowledge and professional knowledge) about natural language, this process be exactly " generation of problem sentence " automatically.If make machine " understanding " natural language well, must possess some background knowledges so, and further determine some pragmatic information, to guarantee natural language processing more accurately with this.The explanation of giving an example, such as " 4 canoes being arranged; 5 big ships in the river; total how many ships in the river? " if, will " total how many ships in the river? " " bar " change into " only " just become " total how many ships in the river? " our general knowledge is that the measure word of conduct " canoe " can be that " bar " also can be " only ".Here " bar " and " only " is equal to.Nature, machine handle " total how many ships in the river? " the time, just needing a judgement " bar " is the process that is equal to " only ", otherwise system can't carry out later operation.When system carries out here, system generates problem sentence in the knowledge base automatically by instruction " MAKE_KNOWSR problem _ REG ", the register here " problem register _ REG " be preserved in the process of implementation pass through measure word register REG1 (its value is " bar ") and measure word register _ REG 2 (its value is " only ") generation " bar be what relation? " such sentence character string.The generation of this character string is such: owing to need know the relation of the two, so must pass through to instruct " LETRR register X ~ +=register Y " addition of realization character string, until obtain " problem register _ REG=measure word register _ REG 1+ " with "+measure word register _ REG 2+ " being what relation? " be that " only " is preceding in addition, still " bar is " preceding, also to determine by inner basis " unified precedence standard " automatically, such as pinyin order, or the code clerk in standard Chinese character storehouse order, because " bar and what relation just? " perhaps the sentence in knowledge base itself just can retrieve, if but " only and bar be what relation? " just can not in knowledge base, retrieve, although content is the same, but the process of retrieval is the process of the string matching of a strictness, must be that strictness is equal to, machine is in when retrieval and do not know " although out of order this; but still same problem " situation, so to the three, Rankine-Hugoniot relations more than four just has more combined situation, must be to carry out sequentially according to " unified standard ", can can be expressed as a kind of order that can be unique in knowledge base to various order by unified standard, like this can not can to originally being same problem, only be because the sequencing of content description former thereby cause the retrieval failure; In addition, also there is no need all various sentences that are combined into all as the content of knowledge base, strengthened the expense on the unnecessary capacity on the one hand, also can strengthen the workload of maintenance on the other hand, certainly the topic sentence of just content that belongs to coordination in the knowledge base being arranged is here carried out " unified standard ", because this process is the matched and searched to sentence, rather than sentence is carried out " understanding ".The implementation of " MAKE_KNOWSR problem _ REG " instruction is such, at first according to " bar and what relation just? " sentence enter in the knowledge base and search, if do not have, then output " ' bar and just what relation? ' do not known by system; can not continue to carry out, and carries out after please setting up such knowledge base again! " such prompting.If in knowledge base, set up such problem sentence and answer, so just can in knowledge base, retrieve, and carry out the sentence of this answer knowledge base, it may be a sentence, also may be several sentences, it also may be senior level sentence, also may be rudimentary level sentence (basic layer sentence), after all executing, just have result's output, by OUTPUT, OUIPUTR instruction output to the sentence that the above-mentioned MAKE_KNOWSR instruction in " generating a sentence workspace buffer memory " generated " bar and what relation just? " the zone of attribute-name correspondence of workspace carry out assignment.Here need illustrate a bit, OUTPUT, OUIPUTR instruction when the sentence of judging current place be by MAKE_KNOWS, when MAKE_KNOWSR instruction and the sentence that generates, will be to the corresponding attribute-name area assignment in the workspace that generates sentence, rather than directly output to the output window of system.Otherwise, then directly output in the output window " RESULT OUTPUT " of system, because this is OUTPUT, the sentence at the expansion word instruction place at OUTPUTR place is directly as text input sentence, or the direct execution sentence of knowledge base, rather than by MAKE_KNOWS, the MAKE_KNOWSR instruction generates.Mention a bit, by MAKE_KNOWS, the workspace attribute-name of the sentence that MAKE_KNOWSR generates is also undertaken by " unified standard ", comprises attribute-name again.Because have only unified, system is gone on without any confusion according to this " unified standard ", otherwise can cause entanglement, is such attribute-name a standard attribute name? when compiling, system can both check out, with the correctness of assurance system operation.Previous example for another example, OUTPUT, the OUTPUTR instruction is "Yes" in the assignment of the attribute-name of corresponding " being equal to ".Explanation simultaneously a bit, OUTPUT, the OUTPUTR instruction is at MAKE_KNOWS, when MAKE_KNOWSR generates sentence output always assignment generate the attribute-name zone at sentence place to nearest that, because may also have MAKE_KNOWS, MAKE_KNOWSR generates the nested of sentence, this situation is successively finished, a bit be in addition, must be number corresponding with the ANL dos command line DOS of the expansion word of appointment instruction, have several MAKE_KNOWS of place because also can exist in the execution of same expansion word instruction, MAKE_KNOWSR generates the situation of sentence, in order not cause entanglement, row number appointment is necessary.Although they may have the situation of " wait " and " observation " again.Must guarantee that the instruction of those expansion words that are in " suspension " can both find oneself " home to return to " exactly in processing procedure, and the situation of " going to the wrong way the door " can not occur.System can be each MAKE_KNOWS, and MAKE_KNOWSR generates sentence and set up corresponding stack area, all can empty automatically during each start-up system.Remain valid in processing procedure in workspace for the sentence that generates always, not picture hang expansion word instruction in the buffer memory of workspace need " removing " and situation, its content size also is adjustable simultaneously, maximum is 50 MAKE_KNOWS at present, MAKE_KNOWSR generates the zone of sentence, can be provided with again in case of necessity, each generates in the sentence workspace and comprises the various relevant informations that generate sentence, and very important attribute-name zone is also arranged again.When MAKE_KNOWS has been carried out in the expansion word instruction, after MAKE_KNOWSR generates sentence, back to back subsequently instruction just should be " READ_RESULT attribute-name: register REGx " instruction, this instruction is read the value of the attribute-name of appointment among the self-defining register REGx, so that handle, if the value of this register is empty, also can " suspension " be carried out in the processing of this expansion word instruction by " MAKE_ROM " instruction, directly waited until till the result.With regard to top example, when after " MAKE_KNOWSR problem _ REG " instruction, and then just should be instruction " READ_RESULT is equal to: register REGx ", " MAKE_ROM " instruction is preferably also arranged then with this expansion word instruction, be used for judging and carry out " suspension " when value when this register " register REGx " is for null value, so that up to there being the result down to carry out again, that supposes " READ_RESULT is equal to: register REGx " here reads the result for not empty, and the content of " register REGx " equals "Yes".So machine handle " total how many ships in the river? " the time, because " analysis " " bar and what relation just? " also promptly having introduced common sense knowledge handles, known that " bar " and " only " is equal to here, so also just can carry out the processing of back very at leisure, so that draw correct answer.
ANL language this can in time be introduced linguistry, general knowledge and professional knowledge as required and handle, " understanding " thereby that makes machine has had the ability of handling under the situation of certain background knowledge, reduced the limitation that on the aspect of linguistic knowledge, to handle, along with the continuous expansion of World Affairs is perfect, " understanding " ability of machine will be more powerful; And the description of this knowledge is the natural language form, so be more convenient for revising, safeguards and development, has also avoided all using pure ANL language because of all knowledge and has been described the complicacy that is caused, and be difficult to safeguard.Therefore, thisly directly describe the mode of representing of knowledge with natural language, it is huge more to have solved knowledge base to a great extent, safeguards difficult more problem.
(4). can in operational process, carry out automatically " dynamically " expansion by the ANL language to the attribute-name of expansion word instruction, also promptly can expand as required at any time, (can not be close to arbitrarily and go number to attribute-name to limit, as long as the memory capacity of system allows), can make system when handling, processing procedure can not make the mistake, thereby guarantee the relevant information integrality, so that can correctly be carried out because lacking corresponding attribute-name.With reference to Fig. 7.Be that next line at the will that do of the corresponding base attribute name of object " A04 " begins, two new row of an extended attribute name have been inserted, promptly from going up most line number the 6th row, in order to show that this is the new attribute-name expansion row of object " A04 ", added " ■ " in the front of the title row content " A04 " of this object " A04 " and be called " ■ A04 ", and can expand other the attribute-name except that the base attribute name in the attribute column of this row, such as " process time " here, " material ", " tolerance level " these extended attribute names.The next line that is right after this row then is the row of extended attribute value, has added " " in the title " A04 " of this object and has been called " A04 ", can write the value of the new extended attribute name of corresponding lastrow at the corresponding unit of this row.Such as, the value of the corresponding extended attribute name " process time " here is " 2002 ", the value of corresponding extended attribute name " material " is " brass ", the value of corresponding extended attribute name " tolerance level " is " 2 ", if a provisional capital of the row of the attribute-name of some new expansions is write full, so can be again insert these two row of the value of new extended attribute name row and extended attribute name again at back to back two row down of this extended attribute name (because next line is the row that is used to write the respective value of this row extension name), by that analogy, all expand up to all attribute-name that need of this speech and to finish, name for the extended attribute name of an object, system also supports the form that adds numeral of the same name, such as " existence 1 ", " existence 2 ", " existence 3 " or the like.Such as dynamic attribute two row are just arranged in object " D02 " expansion, one is that delegation with extended attribute name " lot number " beginning, another then is that delegation with extended attribute name " checking number " beginning, show it is the row at extended attribute name place, extended attribute name row be right after the row that next line is exactly the place of corresponding property value, the value corresponding such as the extended attribute name " lot number " of object " D02 " is " CC0088 ", and the value of the correspondence of object " D02 " extended attribute name " checking number " is " 10 " or the like." dynamically " of object properties name expansion is according to the concrete condition of carrying out different expansion word instructions, and the content of describing the storehouse by the microoperation of operation expansion word instruction realizes the insertion of row of the value of the row of extended attribute name and corresponding extended attribute name.Here, the framework buffer area is just for realizing that this " dynamically " extended operation provides a physical platform.
(5) the .ANL language passes through compilation process, each bar instruction in the ANL language can be translated into " corresponding one by one " machine instruction of CPU hardware configuration (back detailed description) towards natural language, it also is the bottom machine language of system, this language that directly is positioned the hardware execution, on processing speed, be more suitable for machine processing people natural language, if because on the traditional C PU with the words of the machine code of the traditional C PU that obtain of ANL language after by the several times conversion of certain computer programming language (intermediate language), so, whole execution efficient will inevitably reduce because of too many time conversion.Compilation process is except checking that the ANL grammer is whether correct, mainly be with order code, operand, operational symbol, also have the address of transfer and the binary number that can directly decipher that the such memonic symbol of label changes the hardware correspondence into, can directly support the speech as " computer science " in the operand of instruction, even the operation of little short sentence, only binary mode is represented.This ANL language is directly to realize customized for hardware, such as " IF ... THEN ... ELSE ... " in the description, directly be to adopt " THEN_ " prefix and " ELSE_ " prefix form to describe instruction, though Zhi Ling number has increased like this, but the efficient of carrying out has improved, because one assembly instruction has just been finished " THEN " or " ELSE " back to back that instruction, rather than be divided into two steps and carry out.In addition, also have order code, operand, the position of operational symbol in instruction all to determine in order to consider hardware to realize.
(6) the .ANL language must depend on corresponding running environment and could carry out.Each expansion word instruction all has the description of the ANL language of a correspondence, and the execution of the nested situation of various levels of complexity can be finished in the ANL language in the running environment of system.The crucial main line that total system is carried out is a sequence number, this sequence number is unique in whole implementation always, also just be based on such unique address to each speech instruction, just make the operation of system all can be well arranged, the operation of sentence and speech all has unique location and unlikely entanglement, although have identical speech, identical sentence, but owing to be positioned at different spaces, so can both well make a distinction, the assurance system carries out without any confusion.System supports the processing of various nested levels, senior level sentence ...-second advanced level sentence ...-rudimentary level sentence (basic layer sentence)-expansion word instruction-ANL sound instruction.The basic comprehension process is this order, but may can generate senior level sentence again in the execution of ANL instruction, and then the process of nested front is carried out.In a word, being one various levels ofly nestedly all can respectively have its position, even has " wait " of various " suspensions " between this again.However, system also can both work organically coordinated with each otherly, thereby provides the support of complex process as much as possible for " understandings " of natural language understanding system processing.
ANL dos command line DOS pointer is exactly when an ANL instructs in the ANL language description body of carrying out an expansion word instruction, shows the position at the instruction place of current execution.The value of ANL dos command line DOS pointer is that the row by ANL instruction place number is determined, because the description of each expansion word instruction, all be to have comprised several ANL by one to instruct the description body that constitutes to finish, so when the ANL language description body of expansion word of every execution instruction, line pointer by the ANL instruction is carried out line by line from beginning the first row beginning, if the branch transition do not run into redirect and call and so on instruction, this ANL dos command line DOS pointer value can increase progressively line by line and carries out so.Otherwise the row that just directly jumps to appointment number goes to begin to carry out.When beginning to carry out the ANL language description body of an expansion word instruction, system is initialized as the position of first row in ANL language description body always with the value of ANL dos command line DOS pointer.
According to above analysis, the executive mode of " expansion word instruction " by adopting the ANL language description, system can be to carrying out " understanding " that belongs to the simple sentence of rudimentary level (basic layer).Then after, " understanding " more senior a little senior level sentence (perhaps only than the high level of basic layer sentence) again, because such sentence can " decompose " sentence for some simple rudimentary levels (basic layer), and the sentence of these rudimentary levels all is to belong to the sentence that machine can " have been understood ".The senior level sentence of high one deck so again, can " decompose " again and be the sentence of several second advanced levels, the sentence of several second advanced levels again again " decomposition " be again the sentence of the second advanced level of low one deck, until to the end, all " decomposition " arrived the sentence of the expansion word instruction description that can describe by ANL of lowermost level level (basic layer), these sentences may be to belong to by " decomposition " to carry out for the speech mode of ANL description one by one, also may be that a so direct whole sentence of special sentence that belongs to the ANL description is carried out.Because the content of ANL language description all is that machine reality is exercisable, therefore, machine also just can have been realized by natural language is carried out constantly successively " decomposition " " understanding " of whole natural language.
In sum, bottom layer treatment by the ANL language under corresponding natural language operation platform, can finish needed each condition of machine " understanding " natural language effectively, comprise and adopt the senior representation of knowledge, get involved general knowledge and professional knowledge, extended attribute name dynamically, and management maintenance knowledge base etc. well.Because of natural language have nature, flexibly, everybody characteristics such as understands, system can extend in the process of constantly development gradually so, rather than rest on single narrow field, can adapt to different task, can have how comprehensive knowledge, so that solve more complicated problems, make artificial intelligence machine have more and more higher level of intelligence.
As shown in Figure 1, the present invention mainly comprises towards the CPU (central processing unit) NLPU of natural language processing with as the peripherals of core from hardware aspect.Outer periphery has the text input interface, text buffer memory (dual port RAM), the framework buffer, address decoder (framework buffer memory), the knowledge base of natural language description, the sentence buffer, sentence formula buffer, the speech buffer, the text output interface, the input-output apparatus expansion interface, synthetic operation district buffer memory, generate sentence workspace buffer memory, address decoder (generating sentence), generate sentence attribute address generator, address decoder (sentence), address decoder (sentence formula), address decoder (speech), ANL pointer address generator, ANL language description storehouse.Bus comprises symbolic address bus, symbol data bus, first level address bus, direct data bus, ANL director data bus, ANL pointer data line.
Existing traditional C PU structure all is towards numerical evaluation, rather than handles towards symbol.Because the restriction of its structure itself, when being handled, symbol is difficult to reach very high work efficiency, therefore will inevitably be because of the irrationality when handler's speech like sound information of existing C PU existence itself, thus cause as the working level of the whole intelligence system of core not high.
CPU (central processing unit) NLPU among the present invention, it is a kind of CPU structure of brand-new type of the processing requirements design according to natural language towards natural language processing, the present invention adopts new name to come to show with traditional CPU difference, be referred to as NLPU (Natural Language Processing Unit, natural language processing unit).It is the core component of whole artificial intelligence machine work.Its characteristics are:
1, with the ANL language directly as the assembly language of NLPU, can visit the locational information of the linguistic units such as sentence, speech and section in the natural language text, can directly support contextual processing, can support " suspension " in the ANL instruction, processing such as " generating sentence ".
2, has wideer data width, in the processing of Chinese, can once directly handle the data width that comprises the speech of length as " Buenos Aires " in the ANL instruction, the overall width of order code can be 320Bit above (figure place of data width has relation with different languages).
3, directly support multiple bus operation, such as the symbolic address bus, symbol data bus, first level address bus, direct data bus, ANL line pointer data bus, ANL director data bus.
4, because the data width of the bus that NLPU supported all is very big, so, total number of pins of entire chip may be above 1000, for the technology of Chip Packaging is considered, also support to add the mode that latchs by bus, come timesharing to finish the data manipulation of bus, number of pins can significantly reduce, to support the existing chip packaging technology.
Text input interface: be used for receiving lteral data stream with the outside input text of set form by this interface, the content of outside input must be to carry out the text that word segmentation processing is in advance crossed, so, also will add the link of an artificial check and correction to belonging to the text of machine participle.
The text buffer memory: this buffer memory is a dual port RAM, and this is cached with two purposes.First, temporary in this buffer area text data by the input of input text interface, so that natural language processing unit (NLPU) by first level address bus and direct data bus the content of text of text buffer memory, being unit with sentence, speech is written in the storer of framework buffer (RAM) according to the array format of framework buffer.Second, also be used for system in natural language " understanding " process, after the match is successful in the natural language description storehouse for the sentence of certain natural language, sentence formula, speech, during several natural language sentences in carrying out its corresponding body, temporarily deposit the sentence in these bodies, so that NLPU is written to these sentences in the body in the knowledge base of natural language description in the framework buffer.Text buffer memory is to use dual port RAM to realize, writing in the process of text to the text buffer memory guaranteeing, NLPU also can read out the content that is written in the text buffer memory and write in the framework buffer, to avoid the sort of waits for too long that is caused because of " after waiting text to write all, just can write " and influence the problem of operational efficiency to the framework buffer.
The framework buffer: mainly be the RAM storer that distributes by forms mode, content wherein comprises sentence, speech title, location sequence number, association attributes name, also has the physical space of property value.Here the state of directly representing related data in the artificial intelligence machine course of work with the notion of object, attribute, value.When whole artificial intelligence machine was worked, except some status datas employing storehouse forms preservations, the most intermediate data of other all was to deposit in this " internal memory ".Simultaneously the value of the attribute of depositing in " internal memory " here is by " value address code " two parts formation, 4 kinds of situations can be arranged, comprise " null value (void value does not have address code yet) ", " have only value and do not have address code ", " void value but address code is arranged ", " existing value has address code again ".
The data width of this framework buffer is to set according to the width of a speech or short sentence, for Chinese, the word length of a storage unit may be 256Bit (length of 16 Chinese characters), long data width is in order to improve the speed of deal with data, if the 64Bit word length, the handling capacity of 256Bit will improve four times so.Though this storer uses general RAM to realize, needs the physical address bus of 2 systems, mix address decoder (framework buffer memory) after, NLPU can be that the framework buffer is directly visited in the address by the symbolic address bus with sequence number (character string) directly just.Suppose, the speech Tiger of certain sentence is " 1-2-3/1 " in the sequence number of framework buffer, so, if NLPU visits the words of this speech Tiger " quantity " attribute, directly output " 1-2-3/1. quantity " on the symbolic address bus, after the cycle, NLPU just can obtain the value of " quantity " attribute of Tiger from the symbol data bus, such as obtaining " 100 " a memory read operation.Like this, NLPU just can be regarded as directly addressing operation based on sequence number (character string) to the read-write operation of framework buffer, thus the processing of the NLPU that is more convenient for.
The address decoder of framework buffer: i.e. address decoder (framework buffer), this code translator adopts direct content adressable memory (CAM) to realize, directly the sequence number of framework buffer is decoded into the physical address of framework buffer, the coding of this code translator is just in NPLU random writing just when the framework buffer writes the sentence that increases newly, because along with each outside input text difference (is noted, the sentence of outside input text write writing of nested sentence in the knowledge base that is different from the processing procedure, the former is when handling new outside input text, again write new coding after will removing all codings earlier, the latter then just increases new coding on an existing basis), so the correspondence of the title of speech and sequence number and physical address is all different, not fixing, is at random.Operation for the address decoder coding is finished by direct data bus and read-write control by NLPU.In addition, when the pattern end of this code translator is " 0 ", then be used for input end and output terminal direct " leading directly to ", without the decoding link, this is specifically designed to when the pattern of NLPU is set to " 00 " (external reference), directly finish visit with the address pattern of 2 systems to each storage unit in the framework buffer by the symbolic address bus, this is mainly used in when debugging, and the information in the framework buffer is finished " observation " to the framework buffer by the I/O expansion interface of NLPU.
The knowledge base of natural language description: mainly comprise three parts.The natural language description storehouse of the natural language description storehouse of sentence, sentence formula, the natural language description storehouse of speech.They all with hard disk as storage medium because the knowledge base of natural language needs constantly to increase jumbo knowledge content, and should be non-volatile.Certainly, for higher speed, adopt the semiconductor memory of huge capacity also to be fine.They itself all are respectively to finish searching of sentence fast, sentence formula, speech by hardware searching machine separately, hardware searching machine is a kind of by linking to each other with storer, characteristic with " when retrieving information; information content is irrelevant in retrieval rate and the storer ", thereby solved the bottleneck problem of " information content is many more; retrieval rate is slow more ", this hardware searching machine is granted patent (98108581.4).Each hard-disk interface is finished the locating function except linking to each other with hardware searching machine, also carries out communication by this interface and outside, to finish the content in the knowledge base of hard disk is carried out maintenance update.
ANL language description storehouse: mainly comprise three parts, the ANL language description storehouse of sentence, the ANL language description storehouse of sentence formula, the ANL language description storehouse of speech.These storehouses all are to realize with erasable ROM form storer.Can be various non-volatile semiconductor memories, such as EPROM, EPROM, FLASH, FRAM or the like.Here why with the ROM appellation, be, also promptly do not upgrade that the effect of being played is the effect of read-only type storer ROM because write operation never takes place the content in this storer when system works.Just when NLPU is arranged on mode of operation " 01 " (external write storehouse), just the renewal that these storeies carries out the storehouse content by external interface is revised, or even perfect through the some time, the content of the storer in this ANL language description storehouse with mask ROM form as unified application standard.Short-term does not remake change in the time, and just in use only the content in the natural language description storehouse is constantly revised.Because this storer is directly directly to provide the ANL sound instruction for NLPU, and can directly comprise a speech or little short sentence in an ANL instruction, so the word length of the storer in this ANL language description storehouse has very long data width, for Chinese, except comprising operand 2 (the speech or short sentence of 16 Chinese characters), also have order code, operand 1 (context target and attribute) also has the jump address of Rule of judgment etc., and total data width may surpass 320Bit.This just considers in order to improve system handles efficient, is not to increase in order to increase word length, moreover is not that the longer the better, should be that the utilization factor with the best is a benchmark, and for different language, data width also has certain difference.Here the processing data width of NLPU mainly is the data width of 64Bit than common CPU at present, is an apparent in view difference.
Sentence buffer: mainly be the sentence that the value (sequence number form) of depositing the sentence pointer of NLPU in the foundation internal processes is extracted from the framework buffer, such as a sentence in the framework buffer memory be comprise six speech " 1/1 (cat); 1/2 (love); 1/3 (eating); 1/4 (fish); 1/5 (); 1/6 (?) "; for system; the sentence pointer always points to first speech of each sentence; as being " 1/1 " here, so NLPU can according to this sentence pointer directly extract sentence for " cat likes to eat fish? ", and it is write the sentence buffer.The output of sentence buffer then directly outputs to the natural language description storehouse of the sentence that connects by hardware searching machine, ANL language description storehouse with the sentence that is connected by address decoder, be used for handling when after the failure of the natural language description storehouse of sentence matched and searched, the situation of matched and searched is carried out in the ANL language description storehouse that directly enters into sentence again.
Sentence formula buffer: mainly be the sentence formula that the value (sequence number form) of depositing the sentence pointer of NLPU in the foundation internal processes is extracted from the framework buffer, such as a sentence in the framework buffer memory is to comprise six speech " 1/1 (cat); 1/2 (love); 1/3 (eating), 1/4 (fish), 1/5 (); 1/6 (?) " because of the sentence pointer always points to first speech of sentence, " 1/1 " here, so according to this sentence pointer can directly extract a formula for " name+moving+moving+name++? "The output of sentence formula buffer then directly outputs to the natural language description storehouse of the sentence formula that connects by hardware searching machine, ANL language description storehouse with the sentence formula, be used for handling when after the failure of the natural language description storehouse of sentence formula matched and searched, the situation of matched and searched is carried out in the ANL language description storehouse that directly enters into a formula again.
Speech buffer: mainly be the value (sequence number form) of depositing the speech pointer of NLPU in the foundation internal processes, the speech that extracts from the framework buffer is to comprise six speech " 1/1 (cat), 1/2 (love); 1/3 (eating); 1/4 (fish), 1/5 (), 1/6 (?) such as a sentence in the framework buffer memory " current speech pointer is the 3rd speech that points to sentence, here be " 1/3 ", so, can directly extract speech according to this speech pointer and be " eating ".The output of speech buffer then directly outputs to the natural language description storehouse of the speech that connects by hardware searching machine, ANL language description storehouse with speech, be used for handling when after the failure of the natural language description storehouse of speech matched and searched, the situation of matched and searched is carried out in the ANL language description storehouse that directly enters into speech again.
The text output interface: intermediate result and net result that this interface is used for artificial intelligence machine is handled are outwards exported with the form of lteral data stream, are convenient to watch running status and result or according to other equipment of the direct driving of this output by miscellaneous equipment.
The input-output apparatus expansion interface: this interface is used for the outside heat transfer agent of artificial intelligence machine input, such as temperature, date, humidity etc.In addition, also to finish driving by this interface to some external units.
Synthetic operation district buffer memory: this workspace comprises the working site buffer area of the expansion word instruction of current execution, the workspace that hangs workspace, generation sentence.The working site buffer area of the expansion word instruction of current execution (is noted; register when the instruction of the expansion word of pre-treatment; IF; the stack region of CALL etc.; not in NLPU; this is a reason of considering the suspension operational scene of needing protection; because after current expansion word instruction suspension operational is intact; as long as just can do the perform region of next current expansion word instruction again at a mobile perform region address size; therefore the on-the-spot of previous zone just protected naturally; need not do the operation of too many transcription field data in order to keep the scene intact; so just directly improve operational efficiency; for this point; with the register of the CPU of routine all be to be to be very different within cpu chip) with hang the workspace; also have the workspace that generates sentence to exist jointly in the same RAM buffer memory, so this workspace is referred to as synthetic operation district buffer memory.When an expansion word instruction has produced new generation sentence again in processing procedure; current scene so also needs protection; after the generation sentence that produces is handled; also to follow again the next instruction that produces that instruction that generates sentence was carried out; so the scene of generation sentence also needs protection and recovers, and this process is the same with the scene protection of hanging the workspace.
Generate a sentence workspace buffer memory: this workspace is preserved the content of the sentence of those generations specially, comprises the unit of attribute-name respective value of title, sequence number, the generation sentence of sentence.Because under most of situation, after the sentence of a generation executes, be that the unit of result's output in the respective value of the attribute-name of appointment will be arranged, such as generate sentence is " whale is a fish? " if the match is successful in knowledge base this topic sentence and execute after, " judgement " attribute of this generation sentence just should be assigned " not being ", for another example, generate sentence is " where the Britain capital is? ", " place " attribute of this generation sentence should be assigned " London " so.So each generates the workspace that sentence all has an attribute, carried out the result who generates behind the sentence to show.The region of this generation sentence can not eliminated in system carries out the processing procedure of current this outside input text, up to system when handling next new outside input text, just can remove till the workspace of all generation sentences, this is because the sentence that generates may also have the expansion word instruction of " suspension " in processing procedure, during afterwards output attribute operation of those expansion words instruction that is necessary for " suspension ", find the position of writing attribute of appointment.So in processing procedure, do not remove the workspace that generates sentence.
Generate the address decoder of sentence: the function of this code translator is to finish NLPU when the sequence number (character string) of some generation sentences of output, can directly navigate to the start address of this generation sentence in generating sentence workspace buffer memory, NLPU also is the addressing that belongs to based on symbol to the visit that generates sentence workspace buffer memory.Encoding setting about this code translator also carries out at random, and its operation can be referring to the content of the address decoder of framework buffer.
Generate sentence attribute address generator: in " synthetic operation district buffer memory ", having told about each generation sentence all has a fixing attribute area, so that will generate the attribute-name unit that the execution result of sentence outputs to appointment.In fact this generation sentence address generator is exactly a totalizer, with the beginning physical address of generation sentence in generating a workspace buffer memory after its sequence number process address decoder (generating sentence) decoding, carry out sum operation with the relative address of the numbering that generates the sentence attribute-name, addition result is exactly the absolute physical address of this generation sentence attribute-name.Illustrate: because the numbering of the attribute-name of the generation sentence of system is unified management, so the data of its numbering can directly be indicated by the first level address bus, by the beginning physical address during generating sentence workspace buffer memory of address decoder (generate sentence) after to the sequence number decoding that generates sentence, the relative address of adding attribute number just can be finished the visit of attribute of the generation sentence of appointment in generating a workspace buffer memory.
The address decoder of sentence: i.e. address decoder (sentence), this code translator can adopt direct content adressable memory (CAM) to realize, but need guarantee that its content can not lose, can adopt backup battery, or directly adopt the CAM of nonvolatile memory, or hardware searching machine realizes jointly with the non-volatile ram storer, preferably is not each start-up system, all needs to transfer again the internal data of this code translator.The address decoder of this sentence directly will come from the character string of the sentence in the sentence impact damper, the physical address of the beginning of this sentence of mapping in the storer in the ANL language description storehouse that is decoded at sentence, the coding of this code translator just is operated in mode of operation " 01 " (external write storehouse) at NPLU, when external interface increases new content by NLPU in ANL language description storehouse, also promptly write increase newly with the sentence of ANL language description the time write simultaneously, because the coding of this address decoder writes, must be to build with the ANL language description storehouse of sentence to finish the same period, could guarantee the mapping one by one of the two, the operation of address decoder coding is that NLPU finishes by direct data bus and read-write control.
The address decoder of sentence formula: i.e. address decoder (sentence formula), 26S Proteasome Structure and Function is similar with the address decoder of sentence, only this address decoder is the character string at the sentence formula, finishes the decoding of the beginning physical address of mapping sentence formula in the ANL of sentence formula language description storehouse memorizer.
The address decoder of speech: i.e. address decoder (this), its 26S Proteasome Structure and Function is similar with the address decoder of sentence, and only this code translator is the character string at speech, the decoding of the beginning physical address of mapping speech in the ANL language description storehouse memorizer of finishing at speech.
ANL pointer address generator: 26S Proteasome Structure and Function is similar with generating sentence attribute address generator, only finish beginning physical address by their character string of middle mapping in the corresponding ANL language description of the sentence after address decoder (sentence, sentence formula, the speech) decoding, sentence formula, speech, with the ANL line pointer data addition of NLPU, obtain the address of the ANL dos command line DOS of their expansion word instructions in the ANL of correspondence language description.When beginning to carry out an expansion word instruction, ANL line pointer data are zero, this moment ANL pointer address generator to finish the result of addition be exactly the sentence of appointment, the sentence formula, speech is at the ANL dos command line DOS that begins most of the knowledge base memory of ANL language description, it also is the 0th row (BEGIN is capable), afterwards, NLPU is along with the continuous execution of ANL instruction, ANL line pointer data also can constantly change, automatically add one, jump to the line data of ANL instruction appointment, like this, ANL pointer address generator will constantly produce the sentence of current description, the sentence formula, the dos command line DOS that the ANL of speech describes is described actual physical address in the storehouse memorizer at ANL.Thereby finish execution to the relevant ANL language description body of an expansion word instruction.In other words, address decoder (sentence, sentence formula, speech) output be the high-order sector address at the storer in ANL language description storehouse of expansion word instruction, and the output of ANL line pointer data line is remaining low level sector address, the two acting in conjunction has been finished the generation at the physical address of ANL language description storehouse mapping of all ANL language description bodies of expansion word instruction.
Symbolic address bus: directly come addressing as the address, thereby can position data based on context directly carry out the visit of information to the framework buffer with sequence number (character string).
The symbol data bus: mainly be to finish NLPU and framework buffer, and the information transmission with the data of symbol string form that also has other peripheral buffer memory device.
The first level address bus: being used for the peripheral direct data with 2 system numbers of NLPU visit is the device of the first level address addressing of address, such as, the register in synthetic operation district buffer memory with the numbered address visit, and peripheral components is carried out supplemental characteristic be provided with, such as, the coding of address decoder is write etc.
Direct data bus: directly transmit the data of 2 system numbers, be used for the form visit related device of NLPU with immediate data.
ANL director data bus: this bus mainly is to finish directly to read the ANL instruction from ANL language description storehouse, whenever read the information in an ANL storehouse, this bus has just loaded an ANL instruction, and this data width compares broad, for Chinese processing, this data width will be above 320Bit.In addition, when NLPU is set at mode of operation " 01 " (writing the storehouse pattern), data transfer when this bus is used for that also the ANL storehouse added content.
ANL pointer data line: the corresponding physical address that is mainly used in needed ANL dos command line DOS when producing NLPU ANL language description storehouse being conducted interviews.
As shown in Figure 3, workflow of the present invention is as follows:
1. after external text at first carries out participle through the participle link, send in the text buffer memory (dual port RAM) by the text input interface again and temporarily deposit.Consider that present participle technique can't reach hundred-percent accuracy rate, so, add an artificial link of proofreading here, so that the word segmentation result of a spot of content of text is proofreaded
2. the text buffer memory has received through behind the text of participle, and NLPU just passes through first level address bus and direct data bus with the content in the text buffer memory, is that unit one by one is written in the framework buffer by sentence, speech.Before the framework buffer being write at every turn, all will be with sequence number and corresponding one by one the physical address that generates automatically according to NLPU inside at the framework buffer, come write operation that address decoder (framework buffer) is encoded, the system of being convenient to can directly carry out the symbolic address addressing according to sequence number (character string) when work.
NLPU is when writing the content in the text buffer memory to the framework buffer, can produce corresponding sequence number automatically to the position of current sentence or speech, sequence number such as the 5th speech of the 3rd sentence in the text is " 3/5 ", nested sequence number can also be arranged certainly, and (situation that writes of this nested sequence number is mainly finished in processing procedure such as " 1-2-4-8/5 " etc., rather than in the ablation process of when beginning external text sentence, because the external text sentence is to belong to " root sentence ", its sequence number can only be " x/x ", and can not be " x-x-x/x "), NLPU is the array format according to the framework buffer, with sentence, speech is written in the address location of framework buffer appointment.
NLPU also will carry out the encoding setting operation to address decoder (framework buffer) except finishing by the form of appointment to framework buffer (RAM) writes content in the text buffer memory.This address decoder is to adopt CAM (directly content adressable memory), finish decoding, write fashionable from the text buffer memory to the framework buffer at every turn, or when the sentence that NLPU in the processing procedure automatically generates is written to the framework buffer, all to carry out the encoding setting of code translator, to set up the one by one mapping of sequence number with the physical address of storer, be " 00022400H " such as " 1-2-4-3-6/5 " corresponding address sign indicating number, " 3-4/6 " corresponding address sign indicating number is " 00022800H " or the like.Like this at NLPU when carrying out by the symbolic address addressing, just can be directly with hardware mode by decoding immediately, can visit the designating unit in the framework buffer of appointment apace, rather than the program search procedure more consuming time by software.Because each outside input text content difference of handling, so putting of sentence, word structure is also inequality, the coding of when handling an outside input text, setting up, will be utterly useless when handling next outside input text, so, when new outside input text being handled at every turn, all to set up new encoding operation simultaneously, certainly, writing of nested sentence in processing procedure, be to belong to the replenishing of existing coding, rather than to the rewriting that refreshes of the coding in the current code translator.The number of the coding correspondence in some moment is 200 during such as operation, afterwards because the reason of nested sentence is arranged, replenish on original 200 basis again and set up 300, so, the number that carry out symbolic address decoding to sequence number in the framework buffer this moment is exactly 500.
3. after outside input text write the framework buffer with the specified format of framework buffer, the value of the sentence pointer of the inner auto-initiation of NLPU was " 1/1 ", also promptly points to first speech of first.Then according to this sentence pointer from the framework buffer, extract a sentence.The work of sentence extraction apparatus is to finish by the current sentence pointer of NLPU inside, such as, current sentence pointer is " 1/1 ", the sentence extraction apparatus then extracts according to the just digital situation in the back of every " 1/ " prefix successively, such as have only " 1/2 " that meets current prefix " 1/ ", " 1/3 ", " 1/4 ", " 1/5 " such five objects, the sentence that extracts this moment is exactly to be made of these five speech respectively so, and the sentence of extraction is " A01 A02 A03A04.", and this is according to corresponding situation " A01 (1/1) ", and " A02 (1/2) ", " A03 (1/3) " " A04 (1/4) ", ".(1/5) " extracts.
4. for the sentence that extracts, at first enter in " the natural language description storehouse of sentence " in the knowledge base of natural language description and carry out the topic sentence coupling by hardware searching machine, if the match is successful, the sentence of the body of this topic sentence correspondence can be write again in text buffer memory (dual port RAM) again so, NLPU then writes the content in the text buffer memory to the framework buffer again, this process and step 2 are similar, only again address decoder (framework buffer) and framework buffer (RAM) have been write new content.Then, the sentence pointer value of NLPU is just pointed to the nested clause's of current sentence the position of first sentence, such as " 1-1/1 ".Here, all be to belong to the content of importing in advance before the system works about the content in the knowledge base of natural language description, hard disk cooperates the decoding address of finishing with hardware searching machine all be to set up well in advance, rather than in system's operational process, set up.Similarly " the natural language description storehouse of sentence formula " and " the natural language description storehouse of speech " in addition.
5., so directly enter in " the ANL language description storehouse of sentence " in ANL language description storehouse and carry out matched and searched by address decoder (sentence) if the natural language description storehouse of sentence of Ti Quing and sentence coupling is unsuccessful.The address decoder here (sentence) also can be taken on non-volatile directly address storer (CAM), also can finish work decoding jointly with non-volatile semiconductor memory with hardware searching machine.The difference of this address decoder (sentence) and address decoder (framework buffer): the coding of this code translator is all finished in advance, need not carry out encoding operation in operational process.Because if there are words in the ANL language description storehouse of sentence to the description of current sentence ANL language, this start address that is described in this storehouse is almost fixed, be not to look like address decoder (framework buffer) along with the different outside input text of operation, decoding address is also along with changing.Even, also be to follow the increase of original usage space on remaining space because in the ANL of sentence language description storehouse, increase new sentence; Or content in the storehouse made amendment, that also is that the coding of address decoder (sentence) is together made amendment, however, these operations are also all carried out when building the storehouse, rather than carry out when moving in system.
Similarly, also has address decoder (sentence formula), address decoder (speech).The in-line coding of these code translators all is to be provided with in advance, and in service use gets final product, and only NLPU is arranged on mode of operation " 01 " (external write storehouse) and builds the storehouse operation.
6. if the match is successful in the ANL of sentence language description storehouse, the description body to the explanation of current sentence of directly operation usefulness ANL language description just.ANL sound instruction process with the execution speech of step 8 is the same, can be referring to step 8.Only behind the sentence that executes the ANL language description, the value of the sentence pointer among the NLPU is the pointer that is written into the next sentence that is generated automatically by the sentence pointer generator, such as current sentence pointer is " 1-2/1 ", and the next sentence pointer then is " 1-3/1 " so; And behind the speech of carrying out the ANL language description, if current speech is not last speech of sentence, so, the value of speech pointer is the next speech pointer that is written into the current sentence that is generated automatically by the speech pointer generator, such as current speech pointer is " 1-2/1 ", so, next speech pointer is " 1-2/2 ".And, if the current speech that executes is the last speech of current sentence, so also to carries out a formula and handle.
7., will carry out current sentence by the mode of speech one by one if it fails to match in the ANL of sentence language description storehouse.At first directly extracting the speech of current sequence number correspondence from the framework buffer according to current speech pointer, is " 1/3 " such as current speech pointer (sequence number), so directly extracts " A03 " from the framework buffer, delivers in the speech buffer temporary then.
8. the speech title of current extraction is directly mated in the natural language description storehouse of speech by hardware searching machine, if the match is successful, this speech belongs to senior vocabulary so, directly the sentence in the body of the corresponding title of this speech of knowledge base is written to (dual port RAM) in the text buffer memory, and then the content in the text buffer memory write in the framework buffer, this process is similar with the step of telling about previously 2, sentence in the body of the knowledge base only here, being the form that belongs to nested, all is (x-x/1 such as sequence number ... .) and so on.The value of sentence pointer is the clause's pointer (such as 1/1W-1/1) that is written into the current sentence that is generated automatically by the sentence pointer generator afterwards, the speech pointer also is the sequence number (such as 1/1W-1/1) that is written into first speech of this clause, the capitalization here " W ", the sentence that is the expression current sequence number are by the caused nested sentence of the heading in the natural language description storehouse of speech (also promptly being come current speech is made an explanation by the sentence of natural language).It fails to match if current speech is in the natural language description storehouse of speech, so directly enter in the ANL language description storehouse of speech and mate by address decoder (speech), it fails to match if also continue this moment, illustrate that this speech does not all have associated description in the whole storehouse of artificial intelligence machine, prompting " do not set up current speech in the Current Library, can not continue to carry out! ".At this moment, no matter be in the description storehouse or the description storehouse of ANL language of natural language, the description of correspondence that must be by setting up this speech, system could work.For the speech of the unknown, system need come the situation of analyzing and processing by " reasoning ", not within this paper tells about.
9. if the match is successful in the ANL of speech language description storehouse for this speech, address decoder (speech) is described the beginning physical address that the ANL to should speech in the storehouse describes body with regard to the ANL that exports speech so; Then, directly export the ANL dos command line DOS pointer data that this describes body by ANL line pointer data line, generally, when beginning to carry out the expansion word instruction, NLPU is that the data with ANL dos command line DOS pointer are output as zero, so that carry out since first row, be the specified ANL dos command line DOS of ANL instruction for carrying out " suspensions " and making the sign on line pointer that produces the expansion word instruction that generates sentence, differing, to establish a capital be to go execution since first.
10.ANL the pointer address generator is the beginning physical address of this speech of address decoder (speech) output in " the ANL language description storehouse of speech ", the result that the common addition of data that instruction is expert at the ANL of ANL pointer data line appointment obtains, as the current absolute physical address of reading ANL language description storehouse of NLPU, read the ANL instruction of this row by read operation, and decipher and carry out this instruction by NLPU
The end of the storehouse in the ANL language description storehouse of speech choosing at this moment is set to effectively, to choose the ANL language description storehouse of speech.Similarly, for reading sentence ANL language description storehouse, or when reading a formula ANL language description storehouse, all be that corresponding storehouse choosing end is provided with effectively no longer explanation later on.
11.NLPU when carrying out the ANL sound instruction, mainly be to finish framework buffer (RAM) is carried out various accessing operations, in addition, also comprise all possible operations to other, such as produce to hang, generate sentence, by output text interface output text, by equipment I/O mouth input heat transfer agent or opertaing device operation etc.Because the content difference of execution command, the operation of operation is also just different naturally.
12.NLPU after whenever executing an ANL instruction, normal conditions, the ANL line pointer generator of NLPU inside automatically " adds 1 ", produce the numerical value that next ANL instruction is expert at, and deliver on the ANL line pointer data line by ANL line pointer impact damper, ANL pointer address generator carries out addition to the start address of the output in data on the ANL line pointer data line and the address decoder (speech) again, obtain the absolute physical address in the ANL language description storehouse of the speech that the ANL instruction of next line is expert at, and then the command content and the execution of then reading this row, after executing, the ANL pointer generator more automatically " adds 1 ", ANL pointer address generator produces the absolute physical address of the instruction of next line again, NLPU reads next bar instruction again and carries out then, until executing " END " instruction, with regard to the ANL that has finished the instruction of current expansion word the execution of body is described, referring to Figure 18.Then, after this speech ANL language description body is carried out, and then carry out the content (this operation is referring to the description of the working condition of synthetic operation district buffer memory) that hangs in the buffer memory of workspace.When all hang after content in the buffer memorys of workspace executes, the speech pointer generator can produce the sequence number of next speech again, is " 1/4 " such as the sequence number of the current speech that executes, and the sequence number of so next speech then is " 1/5 "; System comes to this by the execution of a complete sentence of the ANL language description body of speech one by one.
Generally speaking, ANL line pointer generator automatically " " operation all is ongoing to add 1, if but carried out instructions such as " CALL call, GOTO redirect, IF relatively judge the back redirect ", then direct row number with redirect writes in the ANL pointer buffer, begins to carry out so that jump to the dos command line DOS position of appointment.
13. when all ANL language description bodies that as step 12, execute an expansion word instruction and after hanging all the elements of workspace buffer memory, the speech pointer generator of NLPU produces the sequence number of next speech automatically and is written in the speech pointer, then, in turn carry out the similar operations of the speech of back again, up to when the newly-generated speech pointer of speech pointer maker when carrying out the extraction of speech by the framework buffer, the result does not exist, the previous value (sequence number) of promptly representing this speech pointer generator is last speech of the sentence of current sentence pointed, at this moment, this sentence is carried out the sentence process according to the mode of speech one by one and is finished, and need enter into the processing procedure of the sentence formula of this sentence.
14.NLPU in sentence formula extraction apparatus according to current sentence pointer in the framework buffer, extract the sentence formula, this process mainly is to finish by the part of speech of the speech in this, if all speech of this sentence are after carrying out the expansion word order fulfillment by speech one by one, each speech all has definite part of speech, the sentence formula of Sheng Chenging is the arrangement of these parts of speech so, such as " name+moving+appearance+name+." (punctuate is also calculated interior), if having do not have a part of speech, replace with title so, such as "+name+be situated between+have+name+.”。
15. after the part of speech according to speech generates the sentence formula, with the sentence formula of this generation matched and searched in the natural language description storehouse of sentence formula at first, if success, directly the sentence in the body corresponding with this taglines formula in the natural language description storehouse of sentence formula is written in the text buffer memory, NLPU writes the content in the text buffer memory in the framework buffer more then, this process is similar to " principle of work----step 2 ", the sentence pointer value is refreshed then, it is worth first sentence of body in the natural language description storehouse of this formula that corresponding sentence pointer generator points to, it also is first speech of clause, such as: " 1-2/1F-1/1 ", the capitalization here " F " shows that this clause is the nested sentence that is caused by the body sentence in the natural language description storehouse of sentence formula.Then, carry out the sentence of the body of these taglines formula correspondences in the natural language description storehouse of a formula again by the execution in step of sentence, about carrying out the process of a sentence, this had done in front and had told about, and no longer repeated here.
16. it fails to match if in the natural language description storehouse of sentence formula, directly in the ANL of sentence formula language description storehouse, mate by address decoder (sentence formula), if the match is successful, to obtain the physical address that begins most the ANL of sentence formula language description storehouse of this formula from address decoder (sentence formula) by ANL pointer address generator so, obtain the absolute physical address that the dependent instruction of the ANL of this formula is expert at data addition on the ANL line pointer data line, read ANL sound instruction and execution, all be finished until ANL language description body to whole sentence formula.The ANL that this process is similar to speech describes the execution of body, the process that can tell about with reference to step 12.
17. after the ANL of sentence formula describes body and all executes, the sentence pointer generator of NLPU produces the pointer (sequence number) of next sentence automatically, in two kinds of situation: a kind of is the root sentence, value such as current sentence pointer is " 2/1 " (second sentence), and the value of the pointer of next sentence is exactly " 3/1 " (the 3rd sentence) so; Directly enter the execution of next root sentence, above step is exactly the implementation of a sentence; Another kind is the clause, and such as being clause " 2-3-4/1 ", the sentence pointer of Sheng Chenging is " 2-3-5/1 " so; Also have a kind of clause's situation that generates sentence, such as being clause " 3-3/3W-2/1 ", the sentence pointer " 3-3/3W-3/1 " of generation directly enters clause's execution.The process of a sentence execution is referring to step 3-step 16.
It fails to match in the storehouse if this formula is described at the ANL of sentence formula, then produces the next sentence pointer automatically, and the execution that enters next sentence no longer includes the process that a formula is carried out.
18. work as according to the above step of telling about, sentence pointer maker by NLPU automatically produces the pointer of next sentence and finishes the implementation of sentence one by one, just can finish an outside input text all sentences or the some bodies of knowledge base in the execution of sentence of natural language description, below do not consider to produce the disposition that hangs, the each execution after a sentence, speech, the sentence formula in the actual motion, all there is one to carry out the process that hangs the workspace, as shown in figure 20.When if the result who comes to extract from the framework buffer according to the sentence pointer of sentence pointer generator when the sentence extraction apparatus among the NLPU does not exist, show or be that all sentences of current outside input text all are finished, if by judging current newly-generated not existing, and the sentence pointer before the sentence pointer is that (the sentence pointer is the root sentence for last sentence of outside input text, the value of this pointer must be " x/x ") sequence number the time, always have five sentences such as current input text sentence, last sentence pointer is " 5/1 ", sentence pointer " 6/1 " according to this pointer regeneration is non-existent, and artificial intelligence machine just has been all over to the processing of whole outside input text so at this moment.
If the sentence pointer that current sentence pointer maker generates does not exist, and not again the sequence number " x/x " of root sentence, must be other clause's the sequence number that generates by the root sentence so, as front " principle of work---step 17 " for example, sentence pointer maker so, can enter into the next sentence pointer of the father's sentence that causes this clause according to current clause's pointer, also might be the speech pointer.Such as current sentence pointer " 2-3-6/1 ", and this sentence do not exist in the framework buffer, and the next sentence pointer of Sheng Chenging is " 2-4/1 " so; If current sentence pointer is " 3-3/3W-2/1 ", so directly enter into sentence pointer " 3-3/1 ", speech pointer " 3-3/4 ", this is a situation by the clause of speech guiding.The operation of total system, come to this by clause's sequence number, enter the sentence pointer of next sentence of father's sentence and the position of speech pointer gradually layer by layer, carry out sentence more unceasingly, do not exist until generating a pointer to last the sentence pointer according to the root sentence of outside input text, the sentence of so whole outside input text so far is finished.Afterwards, can carry out processing next time by the new outside input text of input to outside input text.
When the ANL that instructs at certain expansion word of execution when system instructs, may generate new sentence, cause the execution of nested sentence, the course of work that produces a generation processing thus is as follows:
1.NLPU at first the content of the sentence that generated by MAKE_KNOWS class instruction in the processing procedure is sent into the sentence buffer, then, by with the natural language description storehouse of sentence in topic sentence mate, if the match is successful, directly the sentence with the body of this topic sentence correspondence in the knowledge base is written in the text buffer memory, and then to be the content in the text buffer memory unit with sentence, speech by NLPU be written in the framework buffer according to the array format of framework buffer, certainly, yet comprise and be written to the coding that increases newly in the address decoder (framework buffer).Then, NLPU directly enters first clause's at this topic sentence place pointer, begins to carry out clauses all in the body of this taglines, has told about about the processing principle of work in front for sentence, repeats no more here.When execute all by this caused clause of generation sentence after, the next line instruction that returns the ANL dos command line DOS that makes that expansion word instruction that produces this generations sentence continues then execution.Illustrate that some sequence number of the sentence that generates is with " s " sign, such as " 1-2/1s-1/1 in the process of the sentence of carrying out the ANL description; The sequence number of the sentence that generates in the process of the speech of carrying out the ANL description is with " w " sign, such as " 1-2/1w-1/1; The sentence sequence number that generates in the process of the sentence formula of carrying out the ANL description is with " f " sign, such as " 1-2/1f-1/1.In addition, for be not generate sentence nested sentence sign by the way, clause's sequence number of nested sentence is with " W ", such as " 1-2/1W-1/1 in the implementation of the speech of natural language description; In the clause's of the nested sentence of the implementation of the sentence formula of natural language description sequence number with " F ", such as " 1-2/1F-1/1; Then do not add sign for clause's sequence number, such as " 1-2-3-4/1 " at the nested sentence of implementation of the sentence of natural language description.
2. if it fails to match in the description storehouse of natural language, will arrive in the ANL language description storehouse of sentence and mate, if the match is successful, the ANL to this topic sentence that so just carries out in the ANL language description storehouse of sentence describes body.After executing all this sentences by the ANL language description, the next line instruction that returns the ANL dos command line DOS that makes that expansion word instruction that produces this generation sentence continues then to carry out.
3. so, system then produces and " after must building the storehouse to the sentence that generates, could carry out generation if all it fails to match in the ANL language description storehouse of the natural language description storehouse of sentence and sentence for this topic sentence! " prompting, at first need build the storehouse at this sentence this moment, and then carry out.The fundamental difference of the processing procedure of this and non-generation sentence is exactly no longer to carry out by the implementation of speech one by one.
4. when the sentence (clause) in the body of this title correspondence in the knowledge base of carrying out the generation sentence, when outside output object command OUTPUT or OUTPUTR, this instruction meeting is judged according to the label of sentence, if newly-generated sentence in carrying out, so, the result of output will directly output to the attribute-name designating unit at newly-generated sentence place.Concrete operations: the sequence number of this generation sentence is at first exported in NLPU inside in the symbolic address bus, be decoded into current generation sentence sequence number physical address corresponding through address decoder (generating sentence), again by generating sentence attribute address generator, just obtained the specific address of unit in a generation workspace buffer memory of the value correspondence of attribute-name that should generations sentence both additions of relative address of this direct physical address with the attribute-name numbering of sending by the first level address bus.NLPU writes the value of attribute-name correspondence again to this specific address, also just finished the ablation process of the value that generates the sentence attribute-name.This generates the value of sentence attribute-name, be mainly used in to make and produce the value that the later instruction of that dos command line DOS that generates sentence can be read this generation sentence attribute-name, this finishes by the READ_RESUIT instruction, detailed process is the inverse process of OUTPUT class instruction, most address decoding process all is the same, only one is to read the result, and one is to write results operation.
The sequence number of generation sentence generates when being instructed by the different expansion word of execution respectively, owing to instruct when carrying out ANL language description body for same expansion word, can on different dos command line DOS number, carry out and generate the sentence instruction, for fear of causing entanglement, also to add up number, in " 1-2/6s*5 ", " * 5 " show it is to carry out the generation sentence that the 5th generation instruction (instruction of MAKE_KNOW class) of going is generated.Occur when nested for generating sentence, to generating the operation of sentence workspace buffer memory, then always operating from that nearest sequence number that generates sentence of current expansion word instruction sequence number, such as a sequence number that generates the clause of the sentence OUTPUT class instruction manipulation that is the expansion word instruction of " 1-2/3w*5-1/3w*8-2-3/1 " always can be that the attribute-name unit of the generation sentence of " 1-2/3w*5-1/3w*8 " writes results operation to sequence number, and can not be to be that the attribute-name unit of the generation sentence of " 1-2/3w*5 " writes to sequence number.Certainly READ_RESUIT instruction ground is carried out also similar.If produced cycling for the generation sentence instruction (instruction of MAKE_KNOW class) in the ANL instruction of carrying out identical delegation, such as always repeatedly carrying out this instruction of this row, so also on the sequence number that generates sentence, add " #x " again, which time circulation to show is, such as " 1-2/3w*5#2 ", show it is that this instruction has circulated 2 times exactly, such sequence number is not in order to can cause confusion in execution separately.Such processing especially be used in each circulating register content not simultaneously, generate the instruction " MAKE_KNOWR " of the also different situation of the content of sentence.For READ_RESUIT instruction because itself can't to specify be the sentence which the MAKE_KNOW class instruction at same ANL language description body generates, so, always specify by up-to-date sequence number in the generation sentence sequence number impact damper in each expansion word order register district.This generates sentence sequence number impact damper when a MAKE_KNOW class instruction of every execution, all can refreshing content, so the content that the READ_RESUIT instruction is read generates the sequence number that the sequence number of sentence is always upgraded by the instruction of MAKE_KNOW class for the last time.
In synthetic operation district buffer memory, comprised the current expansion word instruction of carrying out workspace, suspension the expansion word instruction the workspace, produce expansion word instruction works district that generates sentence and the suspension workspace (clear area) that is eliminated.NLPU is as follows to the access process of synthetic operation district buffer memory:
Working condition about synthetic operation district buffer memory still illustrates by way of example.
Carry out a sentence " A01 A02 A03 A04 A05 A06, " when just having begun to start referring to Fig. 8 such as artificial intelligence machine.
1. when just having started, all pointers of total system all are to be set to initial value, and major part all is zero.Referring to the current expansion word instruction works zone position pointer=000000H among Fig. 8, point to the address that begins most of synthetic operation district buffer memory, here suppose that each expansion word instructs employed workspace to take 00H-FFH (256 address locations), IF storehouse, CALL storehouse, PUSH storehouse, self-defined register district and the general-purpose register workspace (comprising an important generation sentence sequence number impact damper) etc. that comprise expansion word instruction self, instruct the inside distribution situation of employed workspace about each expansion word, referring to the description among the figure.Expansion word instruction address stack pointer (produce and hang)=0000H, expansion word instruction address stack pointer (produce and generate sentence)=0000H;
2. carry out first speech " A01 ", see Fig. 9.The current expansion word instruction works district that this expansion word instruction " A01 " is used is (00-FFH).Also be the value=000000H of current expansion word instruction works zone position pointer.Owing to both do not produced when carrying out " A01 " " suspension ", do not produced new generation sentence yet, so the value of all pointers all still is an initial value.Used when only the content of (00-FFH) unit of current expansion word instruction works zone position pointer (000000H) beginning may be performed " A01 ".
3. carry out second speech " A02 ", see Figure 10.Because current expansion word instruction works zone position pointer is still " 000000H " still, so the workspace of speech instruction of carrying out " A02 " employed current expansion is still in (00-FFH) zone of (000000H) beginning.The expansion word instruction of only carrying out this moment is " A02 ", rather than just now " A01 ".
4. carry out the 3rd speech " A03 ", see Figure 11, suppose that this expansion word instruction has produced " suspension " in the process of implementation.Although the workspace of the so current current expansion word instruction of when carrying out " A03 ", using or (00-FFH) zone that begins at (000000H).But; when executing this expansion word instruction; the execution of current expansion word instruction is promptly also temporarily withdrawed from this workspace by " suspension ", the workspace of next expansion word instruction can not re-use this workspace exactly, also is that the scene, workspace of " A03 " has been protected.This moment, current expansion word instruction works zone position pointer then pointed to next workspace by the space length (00-FFH) that adds an expansion word instruction area, the space of (00H-FFH) of " 000100H " beginning just, and the value of current expansion word instruction works zone position pointer is also changed into (000100H) by original (000000H); In addition, " A03 " address (000000H) in synthetic operation district buffer memory has also been preserved in the unit that the current pointer (0000) of the stack pointer of the workspace of the expansion word instruction of hanging points to, simultaneously, this pointer " adds 1 ", and back (0001H) has been pointed in synthetic operation district buffer memory, may preserve the address of the unit of the expansion word instruction address that produces next " suspension ", referring to each value among the figure.
5. carry out the 4th speech " A04 ", see Figure 12, suppose that this expansion word instruction has produced " suspension " in the process of implementation.The workspace of the current expansion word instruction of using when carrying out " A04 " so is in (000100H) beginning (00-FFH) zone.When executing this expansion word instruction, this workspace is promptly by " suspension ", and the workspace of next expansion word instruction then can not re-use this workspace, and the scene, workspace of " A04 " has been protected.This moment, current expansion word instruction works zone position pointer then pointed to the start address of next workspace by the space length (00-FFH) that adds an expansion word instruction works district, was the space of (00H-FFH) of " 000200H " beginning now.The value of current expansion word instruction works zone position pointer is changed into (000200H) by original (000100H); " A04 " address (000100H) in synthetic operation district buffer memory has been preserved in the unit that the stack pointer current pointer (0001) of the workspace of the expansion word instruction of hanging in addition points to, simultaneously, pointer adds 1 back (0002H) and has pointed in synthetic operation district buffer memory, may preserve the address of the unit of the expansion word instruction address that produces next " suspension ", referring to each value among the figure.
6. carry out the 5th speech " A05 ", see Figure 13, suppose that this expansion word instruction has produced the generation sentence in the process of implementation.So, when carrying out " A05 ", the workspace that employed current expansion word instructs is in (000200H) beginning (00-FFH) zone.When executing this expansion word instruction; though this workspace is not by " suspension " but also belong to the protected location; so that after the sentence that generates executes, also will recover current scene, then carry out making the next line instruction that produces that ANL dos command line DOS that generates sentence.This moment, the workspace of next expansion word instruction can not re-use this workspace, and the scene, workspace of " A05 " has been protected.This moment, current expansion word instruction works zone position pointer then pointed to next workspace by the space length (00-FFH) that adds an expansion word instruction works district, then was the space of (00H-FFH) of " 000300H " beginning now.The value of current expansion word instruction works zone position pointer is changed into (000300H) by original (000200H); In addition owing to not producing " suspension ", so the current pointer of the stack pointer of the workspace of the expansion word instruction of suspension remains unchanged.Here hypothesis is carried out the process that generates sentence does not all have to produce " suspension ", or again generates the complicated like this nested procedure of new generation sentence in the process of implementation, referring to each value among the figure.
7. carry out that the 5th speech " A05 " generate sentence " AA01 AA02 AA03; " see Figure 14, suppose that this sentence is to belong to the topic sentence that the match is successful in the ANL language description storehouse of sentence (belong to the expansion word instruction herein and be the situation of sentence), and hypothesis had not both produced " suspension " in the process of implementation, do not produce the complicated so nested situation of sentence that generates yet, so, the current workspace that employed current expansion word instructs when carrying out " AA01 AA02 AA03, " then still is in (00-FFH) zone of (000300H) beginning.Owing to describe and both do not produced " suspensions " in the sentence process carrying out this ANL, also produce and generate sentence, so the current pointer of the stack pointer of the workspace that the expansion word that hangs instructs still remain unchanged, referring to each value among the figure.
8. carry out to generate sentence " AA01 AA02 AA03; " after being performed; also to then carry out " A05 " in next line that makes that row ANL instruction that produces the generation sentence and later instruction; all execute up to the instruction of " A05 " expansion word; need this moment the value of " the workspace position indicator pointer of current expansion word instruction " is saved in " the workspace position indicator pointer protection buffer memory of current expansion word instruction "; value with expansion word instruction address stack pointer (produce and generate sentence) indication is written in the workspace position indicator pointer of current expansion word instruction then; and after execution, also will be in returning to current expansion word instruction works zone position pointer the value of " the workspace position indicator pointer protection buffer memory of current expansion word instruction ".See Figure 15, and hypothesis both do not produced " suspensions " in the process of implementation, and produced yet and generate sentence, thus the current pointer of the stack pointer of the workspace that the expansion word that hangs instructs still remain unchanged, referring to each value among the figure.
9. carry out the 6th speech " A06 ", see Figure 16, suppose in carrying out this expansion word instruction process, to have produced certain information, the judgement information that this information is carried out the decision instruction of " A03 " is known, and again when the workspace content is hung in subsequently execution, " suspension " of " A03 " eliminated from the synthetic operation district.Current when carrying out " A06 ", the workspace that employed current expansion word instructs is in (000200H) beginning (00-FFH) zone, after executing this expansion word instruction, " suspension " address from storehouse of " A3 " has been eliminated, but, the space of (00H-FFH) that then still still present " 000300H " of current expansion word instruction works zone position pointer this moment begins.Rather than move to the start address of that workspace that " suspension " eliminate, this moment " A03 " is though the workspace is to belong to memory block " fragment ", but the memory block " fragment " from " suspension " to elimination to the synthetic operation district not dealing with, why doing like this, mainly is the taking into account system processing speed.In addition, do not generate sentence, remain unchanged so produce the stack pointer current pointer of the workspace of the expansion word instruction that generates sentence owing in processing procedure, produce yet.Referring to each value among the figure.
10. carry out the 7th speech ".", see Figure 17, this expansion word instruction "." employed current expansion word instruction works district then is (00-FFH) zone that the value=000300H from current expansion word instruction works zone position pointer begins.Owing to carry out "." time both do not produced " suspensions ", do not produce new generation sentence yet, so the value of all pointers all still is an initial value, the content of (00-FFH) unit that only current expansion word instruction works zone position pointer (000300H) begins may be performed "." time used.
Synthetic operation district buffer memory is exactly various situations in as above such processing expansion word execution process instruction: produce and hang the workspace, remove and hang the workspace, protection makes the working site that produces that expansion word instruction works district that generates sentence.Particularly, artificial intelligence machine in the course of the work, the workspace of performed current expansion word instruction, always " float " constantly, along with when producing " suspension " or produce the generation sentence, moving backward of expansion word instruction, current expansion word instruction works district pointer always moves backward, only then carry out next line and instruction later on that generation generates that ANL instruction of sentence again, just return again and make the workspace that produces that expansion word instruction that generates sentence, after executing, still to get back to last that in synthetic operation district and specify current expansion word instruction works district pointer.Current expansion word instruction works district pointer whenever moves to the position of next workspace from a workspace, with regard to the protection of hardware " suspension " the expansion word instruction the working site and produce the working site of the expansion word instruction that generates sentence.
Introduce the inner structure of CPU (central processing unit) NLPU among the present invention below, as shown in Figure 2, it comprises:
1.ANL during the buffer of director data: NLPU work, must read ANL sound instruction data to the corresponding cache device from the ANL language description storehouse of outside by the ANL data bus.Because director data comprises: order code, instruction operands 1, ordering calculation symbol, instruction manipulation symbol 2, Rule of judgment are the jump address of " vacation " for " very " jump address and Rule of judgment.So naturally Dui Ying Command Data Buffer just comprises: order code impact damper, operand 1 impact damper, operational symbol impact damper, operand 2 impact dampers, Rule of judgment are that " very " impact damper and Rule of judgment are " vacation " impact damper.Here, because instruction operands 2 can directly be supported the speech or the data width of short sentence, so, for Chinese, only the data of operand 2 almost are exactly the data width that approximately takies 256Bit, so the data width of operand 2 impact dampers just may surpass 256Bit.
2. command decoder: the order code of delivering in the order code impact damper by the ANL instruction bus being deciphered, and directly controlled all service parts relevant with the ANL execution process instruction of whole NLPU, also is very important parts among the NLPU.
3. timing control unit: the time clock with the outside is driving, for the operation of command decoder and other the time sequence control parts that need in operating process provide the time sequential routine.The dominant frequency of time clock depends on the frequency of external clock oscillator, also depends on the maximum operation frequency (highest frequency depends on chip complexity and chip manufacture technological level) of the chip of NLPU own simultaneously.
4. arithmetic unit: mainly finish the arithmetical operation operation, comprise add, subtract, multiplication and division, and with or, non-etc. logic fundamental operation.Because the data that NLPU handles are all represented with sign format, so, when carrying out arithmetical operation, need be to carry out computing behind the numerical value again with sign reversing, calculated result also will be converted to symbol again, for the most symbolic operation of NLPU in whole process.Arithmetic unit the task here belongs to complementary, the character operation device then is a main task of taking on natural language processing, so for the disposition that requires complicated at a high speed numerical operation, traditional still selection of the best of CPU towards the numerical value processing.
5. character operation device: be used for finishing the various operations of character operation, comprise the judgement of compare string string, the character of the appointment number of the add operation of character string (merging character string), the character string of extracting the appointment number, a certain end of clear character string, calculating character string length or the like.
6. the arithmetic operation number register 1: be used for temporarily depositing first arithmetic operation number that carries out numerical value or symbolic operation.
7. the arithmetic operation number register 2: be used for temporarily depositing second the arithmetic operation number that carries out numerical value or symbolic operation.
8. result register: be used for temporarily depositing and carry out the numerical value or the result of symbolic operation, and temporary other the information in processing procedure, such as the data of operand 2 buffers are delivered to the symbol data bus buffer, then to pass through the result register transfer.
9. character-numerical transformation device 1: when carrying out arithmetical operation, the character type data that leaves in the arithmetic operation number register 1 is converted to the data of numeric type, so that carry out computing at arithmetic unit.
10. character-numerical transformation device 2: when carrying out arithmetical operation, the character type data that leaves in the arithmetic operation number register 2 is converted to the data of numeric type, so that carry out computing at arithmetic unit.
11. numerical value-lteralizer: be used for when carrying out arithmetical operation, the numeric type data after the computing be converted to the data of character type again, so that the data transfer of the character type in whole NLPU.
12. row codec: be used for to producing " suspensions " or produce the expansion word that generates sentence when instructing the scene protected to recover, after also having the data decode of the character type of carrying out of being expert to be the data of numeric type to the pointer (sequence number) of the expansion word instruction of protection, be loaded in the ANL dos command line DOS pointer generator, scene such as protection be " 1-2-3/3w*8 ", and can decode so at that time and to produce a dos command line DOS pointer that generates is " 8 " OK; Otherwise, when carrying out scene protection, can combine the pointer (sequence number) of current ANL dos command line DOS pointer data with current expansion word instruction, produce the respective coding data and preserve.
13. MUX 1: this MUX is controlled by command decoder, for the data on the character type data line of delivering to NLPU, or is the result who selects arithmetic unit, or is the result who selects the character operation device.
14. sentence pointer generator: mainly be pointer value according to current sentence, calculate the value of next sentence pointer, have two kinds of situations: first, when writing the content in the text buffer memory in the framework buffer by NLPU, automatically produce the sentence pointer of next, such as the current pointer value is " 2-3/1 ", and the value of the pointer of the next sentence of Chan Shenging is " 2-4/1 " so; Or the value of newly-generated clause's pointer, be " 2-3/1 " such as the pointer of current parent's sentence, the clause's of Chan Shenging pointer is " 2-3-1/1 " so; Or even according to the pointer of current operation sentence, the pointer value of the generation sentence that produces when carrying out the instruction of " MAKE_KNOW " class when carrying out expansion word instruction (can be sentence, speech, the sentence formula of ANL language description), such as " 1/2w-1/1 ", " 1-2-3/1f-1/1 ", " 3-3/1s-1/1 " and generation sentence clause's of corresponding body in the natural language description storehouse of sentence thereof pointer value (sequence number), such as " 1/2w-1-1/1 ", " 1-2-3/1f-1-1/1 ", " 3-3/1s-1-1/1 " etc.The second, when NLPU just merely carries out content in the framework buffer, and the sentence of current sentence pointer had not both entered next clause in the process of implementation, did not produce new generation sentence yet.This moment, the course of work of sentence pointer generator was such: when the pointer value of new generation again by the symbolic address bus by address decoder (framework buffer memory) when deciphering, if when existence end output " 0 " (not existing) signal of address decoder (framework buffer memory), then return to the pointer value of father's sentence next sentence pointer step by step.Such as, current pointer is " 1/2s-1-5/1 ", if being the result that " 1/2s-1-6/1 " this pointer value is exported when deciphering at code translator (framework buffer memory), the new sentence pointer that produces is " 0 " (not existing), so, return to the position " 1/2s-2/1 " of the next sentence of father's sentence pointer this moment according to current pointer value; For the clause who anticipates by speech, produce the pointer value of the father's sentence that generates that speech place of sentence in the time of then will returning to by expansion word instruction (speech) execution, produced a generation sentence pointer " 1/2w-4/1 " such as the sentence pointer generator by the speech guiding, the result who exports when deciphering at code translator (framework buffer memory) is " 0 " (not existing), so just returns to the pointer value " 1/1 " of father's sentence.
15. sentence pointer buffer: this buffer is directly deposited the effective sentence pointer value that is generated by the sentence pointer generator, be mainly used in and in carrying out the process that hangs flow process, produce when generating sentence, need temporarily preserve the content in the current sentence pointer generator, when the generation sentence content that executes suspension, and when turning back to main flow, give the sentence pointer generator with the value of this sentence pointer buffer assignment again again.
16. speech pointer generator: main effect is the value according to current speech pointer, directly produce the value of the pointer of next speech, such as, current speech pointer is " 2-4-5/1 ", the value of so next speech pointer is exactly " 2-4-5/2 ", during an expansion word instruction of every execution (sentence), the initial value of this speech pointer is all by sentence pointer generator assignment.
17. speech pointer buffer: this buffer is directly deposited the effective speech pointer value that is generated by the speech pointer generator, be mainly used in when generation generation sentence is carried out in carrying out the process that hangs flow process, need temporarily preserve the content in the current speech pointer generator, when the generation sentence content that executes suspension, and when turning back to main flow, give the speech pointer generator with the value of this speech pointer buffer assignment again again.
18. target code translator: be specifically designed to " operand 1 " in those ANL order codes of needs visit framework buffer deciphered, based on context sentence position, the lexeme of visit are put, and the content of being synthesized of attribute produces the address value of symbolic address bus.Such as " this sentence. next sentence. the most preceding speech. size ", suppose that current speech pointer is " 1-3-4/4 ", the value of the symbolic address bus after the decoding then is " a 1-3-5/1. size " so.For the visit of " last speech " and " last sentence ", decoding is wanted reference address code translator (framework buffer) repeatedly, and for confirmation to final value, this needs expensive clock period to finish the decoding task.There is a temporary pointer generator target code translator inside, is used for producing middle nonce more needed in the decode procedure.This inside also has an owner pointer to be used to obtain the speech pointer of current speech instruction, may come from the main speech pointer of carrying out flow process, also may be to hang the speech pointer of carrying out in the flow process.Floating pointer in the code translator is mainly used in the execution contextual access, when beginning to carry out the expansion word instruction of a main execution flow process, all refreshes the value of floating pointer with the value of owner pointer at every turn.The decode results of target code translator is directly delivered in the symbolic address bus cache device, by the value of symbolic address bus output symbol address.When entering suspension or producing the generation sentence, owner pointer and floating pointer all can be protected.
19. owner pointer: be a buffer unit in the target code translator, special sequence number of preserving current handled expansion word instruction, in the entire process process of each expansion word instruction, remain unchanged always, only produce the situation that hangs and generate sentence, temporarily replaced by new owner pointer, but after executing, also to return original value again.
20. floating pointer: be a buffer unit in the target code translator, it is all other the sequence number of dynamically preserving current handled expansion word instruction based on owner pointer, in the entire process process of expansion word instruction, all can change at any time, so that finish owner pointer based on current expansion word instruction, in the framework buffer all visits everywhere also promptly can be finished contextual processing.When beginning most to carry out the expansion word instruction, this pointer is only in commission produced and hangs or produce the generation sentence by the owner pointer assignment; And also can come back to the position of owner pointer in the process of implementation by execution command " GOBACK " again, can carry out the visit of other position more again.
21. first level address bus cache device: so be mainly used in operation to register addressing, directly the first level address of register number is specified in output, also comprises other the operation that needs first level address to drive.The employed register of NLPU is that the RAM storer by the synthetic operation district buffer memory of outside provides; this mainly is in order to consider; the execution of the expansion word instruction of natural language processing process will be preserved the scene of expansion word instruction at that time when hanging; each expansion word instruction all has a scene; mainly whether foundation hangs and keeps the scene intact; so; the relevant register of each expansion word instruction is when preserving; only otherwise use the overhang region of that expansion word instruction; just reach the purpose of protection; again applying for other zone again, then is exactly the new register district that new expansion word instructs.Also be used for the coding of address decoder (the framework buffer generates sentence etc.) is write, the data of text buffer memory (dual port RAM) are being written in the framework buffer process, also be used for the address date of transmission output text buffer memory (dual port RAM).
22. direct data bus buffer: be used for temporarily depositing the data that NLPU transmits to the outside with immediate data (non-character type data).
23. symbolic address bus cache device: mainly be to deposit NLPU in the symbolic address information of carrying out external reference with the character type data as the address.Comprise and the framework buffer read-write operation of synthetic operation district buffer memory etc.
24. symbol data bus cache device: mainly be to deposit NLPU in the symbol data information of carrying out external reference with the character type data as data.Comprise and the framework buffer read-write operation of synthetic operation district buffer memory etc.
25. output text interface: mainly be that the handle of finishing in the natural language processing process needs the information of produce output result by this interface output.
26. external communication interface: be used to control the information transmission of visit sensor external and driver, also have operation information concurrently by this interface accessing artificial intelligence machine, such as visit ANL language description storehouse, framework buffer, synthetic operation district buffer memory, generation sentence workspace buffer memory etc., so that observe the whole information state of operation; In addition, when building the storehouse operation, can make amendment or additions and deletions to the content in ANL language description storehouse by this interface.
27.ANL dos command line DOS pointer generator: in normal circumstances, row address information when the ANL instruction is carried out in generation that automatic sequence " adds 1 ", its content is the address of numerical value, is 000034H such as current address, and the so next address that produces is exactly 000035H.In fact be exactly a counter that can preset, the data that preset may be the addresses that the redirect in the ANL execution process instruction takes place.All can refresh the value of this instruction pointer generator such as instructions such as carrying out " GOTO ", " CALL ", " IF ", " AND ", " OR ".Also be used to accept Rule of judgment and be the impact damper of " very " redirect row or the Rule of judgment output information for the impact damper of " vacation " redirect row, passing through ANL pointer data bus, the ANL sound instruction that is read by NLPU is specified the information of jump address.
28. main flow/suspension flow process control assembly: mainly be the execution that is used to switch main flow and the expansion word instruction of hanging flow process, after the expansion word instruction of all suspensions in executing suspension workspace buffer memory, the next expansion word instruction of automatically following the current expansion word instruction of handling of original main flow continues execution.So that the operation of two flow processs is independent mutually, entanglement can not take place.
29. text camera lucida: be used for the content of the text buffer memory of artificial intelligence machine is written in the framework buffer according to the sequence number of sentence sequence number, speech and the form of framework buffer, in the transcription process, also finish writing of address decoder (framework buffer memory) coding to artificial intelligence machine by coding write device (address decoding).Text camera lucida visits (dual port RAM) of the text buffer memory of artificial intelligence machine by first level address bus and direct data bus, by symbolic address bus and symbol data bus access framework buffer.About the encoding operation that writes of the address decoder (framework buffer memory) of artificial intelligence machine, referring to " coding write device ".
30. sentence extraction apparatus:, from the framework buffer, extract the sentence of this pointer appointment according to the pointer value in the current sentence pointer generator.Such as the pointer in the sentence pointer generator " 1/1 ", and five speech of this sentence are " 1/1 " (apple), " 1/2 " (length), " 1/3 " (), " 1/4 " (where), " 1/5 " (?), so, the sentence of extraction is exactly " apple is long where? "Need repeatedly to visit the framework buffer in the leaching process.After leaching process finishes, and the sentence buffer of artificial intelligence machine delivered in a sentence that extracts by the symbol data bus.
31. sentence formula extraction apparatus:, from the framework buffer, extract the sentence formula of this pointer appointment according to the pointer value in the current sentence pointer generator.Such as the pointer in the sentence pointer generator " 1/1 ", and the part of speech of five speech of this sentence is " 1/1 " (noun), " 1/2 " (verb), " 1/3 " (preposition), " 1/4 " (where, * * hypothesis does not have lex pos), " 1/5 " (?), so, the sentence formula of extraction be exactly " name+moving+be situated between+where+? "Need repeatedly to visit the framework buffer in the leaching process.After leaching process finishes, and a sentence formula of extracting is delivered to the sentence formula buffer of artificial intelligence machine by the symbol data bus.
32. speech extraction apparatus:, from the framework buffer, extract the speech of this pointer appointment according to the pointer value in the current speech pointer generator.Such as, the pointer in the speech pointer generator " 1/4 ", and the 4th speech of this sentence is " 1/4 " (where), and the speech that is extracted is exactly " where " so.Leaching process only need be visited the framework buffer one time.After leaching process finishes, and the speech buffer of artificial intelligence machine delivered in a speech that extracts by the symbol data bus.
33. coding write device (address decoding): be used for when writing the content of the text buffer memory of artificial intelligence machine to the framework buffer, need be to different sentence sequence numbers, different speech sequence number and directly write in the address decoder (framework buffer memory) of artificial intelligence machine at the physical address of framework buffer.So that NLPU can directly pass through symbolic address bus access framework buffer later on.This scrambler is to write work by the coding that direct data bus and symbolic address bus are finished address decoder (framework buffer).In addition, also finish coding write operation, such as address decoder (generating sentence) to other address decoder.
34. current flow state sign: show that current treatment state is to be in the main flow process of carrying out, still hang and carry out flow process, when being used for NLPU and carrying out some operation, according to some operation that this sign carried out.
35. current Notation Of Content (sentence, sentence formula, speech): show that when the expansion word instruction ANL of pre-treatment describes body be about sentence, still sentence formula or speech.
Indicate (sentence, sentence formula, speech) 36. generate sentence: the generation sentence that shows current execution is by the sentence guiding, and still the sentence formula guides, even guided by speech.
37. the workspace address pointer of current expansion word instruction: show that current expansion word instruction in the current main-stream journey at the physical address in synthetic operation district, is also included within to carry out and hangs the physical address in the synthetic operation district that produces the expansion word instruction that generates sentence in the flow process.Reset when beginning most, this value is 000.Point to the physical address at the expansion word instruction place that begins most in the synthetic operation district.
38. the length parameter amount unit, workspace of expansion word instruction: preserve each expansion word instruction shared physical space length in the synthetic operation district in this unit, determine with the sum of shared unit, such as being 256 address spaces (00H-FFH).The parameter of this unit generally occurs with the constant form, unless select this parameter of making amendment when mode of operation " 10 ".
39. totalizer 1: this totalizer is by the content addition of a value of " the workspace address pointer of current expansion word instruction " with " the length parameter amount unit, workspace of expansion word instruction ", thereby the workspace pointer that the next expansion word that obtains the workspace pointer of current expansion word instruction in the synthetic operation district instructs, the up-to-date physical address at the place of the workspace of each new expansion word instruction obtains by the result of this totalizer in synthetic operation district buffer memory.
40. totalizer 2: be used for when carrying out some register manipulation, obtain the value in the absolute physical address in synthetic operation district of register, and output on the first level address bus by first level address bus cache device by this totalizer.Such as when executing instruction " LETRR temporary register 1=temporary register 2 ", the data of delivering to totalizer at first are the values of " the workspace address pointer of current expansion word instruction ", to determine the physical address that begins most of current expansion word instruction in synthetic operation district buffer memory; Next is the value from " self-defined register side-play amount unit ", with the physical address according to the workspace of current expansion word instruction come by side-play amount determine this expansion word instruction self-defining register begin physical address most.Simultaneously, owing to be register manipulation, so gating " remainder is according to generator " does not have the output of pointer to stack value this moment.Subsequently, register " temporary register 1 " the place register district numbering (supposing it is 03H) that indicates according to " operand 1 buffer " of this instruction, " 03H " of the output of operand 1 buffer delivers to this totalizer 2 and carries out after the add operation so, and the result is exactly the absolute physical address at synthetic operation district buffer memory at the register " temporary register 1 " of this expansion word instruction.In like manner, then also be in " operand 2 impact dampers ", " temporary register 2 " (supposing 04H) to be delivered to totalizer 2 additions for register " temporary register 2 ", obtain the physical address in synthetic operation district buffer memory of this register.
41.IF side-play amount unit: in carrying out each expansion word instruction " IF ... THEN ... " in ANL when instruction,, this unit is used for preserving the side-play amount of the start address in the IF stack area in the shared physical space in synthetic operation district of this expansion word instruction with respect to the physical address that begins most of this expansion word instruction.Such as some expansion word instructions shared beginning physical address in the synthetic operation district is 000200H.If the IF side-play amount is 10H, the absolute physical address in the synthetic operation district that begins most of the IF stack area of this expansion word instruction is exactly (000200H+10H=000210H) so.The parameter of this unit generally occurs with the constant form, unless when mode of operation " 10 ", carry out this parameter modification.
42.CALL side-play amount unit: in carrying out each expansion word instruction " CALL ... " in ANL when instruction,, this unit is used for preserving the side-play amount of the start address in the CALL stack area in the shared physical space in synthetic operation district of this expansion word instruction with respect to the physical address that begins most of this expansion word instruction.Such as some expansion word instructions shared beginning physical address in the synthetic operation district is 000200H.If the CALL side-play amount is 20H, the absolute physical address in the synthetic operation district that begins most of the CALL stack area of this expansion word instruction is exactly (000200H+20H=000220H) so.The parameter of this unit generally occurs with the constant form, unless when mode of operation " 10 ", carry out this parameter modification.
43.PUSH side-play amount unit: in carrying out each expansion word instruction " PUSH ... " in ANL when instruction,, this unit is used for preserving the side-play amount of the start address in the PUSH stack area in the shared physical space in synthetic operation district of this expansion word instruction with respect to the physical address that begins most of this expansion word instruction.Such as some expansion word instructions shared beginning physical address in the synthetic operation district is 000200H.If the PUSH side-play amount is 30H, the absolute physical address in the synthetic operation district that begins most of the PUSH stack area of this expansion word instruction is exactly (000200H+30H=000230H) so.The parameter of this unit generally occurs with the constant form, unless when mode of operation " 10 ", this parameter of making amendment.
44. self-defined register side-play amount unit: in carrying out each expansion word instruction " DEFINER ... " ANL when instruction, this unit is used for preserving the start address in self-defined register district in the shared physical space in synthetic operation district of expansion word instruction with respect to the side-play amount of the physical address that begins most of this expansion word instruction.Such as, some expansion word instructions shared beginning physical address in the synthetic operation district is 000200H, if self-defined register side-play amount is 40H, so, the absolute physical address in the synthetic operation district that begins most at the place, self-defining register district of this expansion word instruction is exactly (000200H+40H=000240H), also is that first is numbered the register absolute physical address of " 00 ".The parameter of this unit generally occurs with the constant form, unless when mode of operation " 10 ", select to carry out the modification of this parameter.
45. general-purpose register side-play amount unit: the general-purpose register (i that in carrying out each expansion word instruction, contains unified title, j, k ... Deng) ANL when instruction, this unit is used for preserving the start address in general-purpose register district in the shared physical space in synthetic operation district of expansion word instruction with respect to the side-play amount of the physical address that begins most of this expansion word instruction.Such as some expansion word instructions shared beginning physical address in the synthetic operation district is 000200H.If the general-purpose register side-play amount is 50H, so, the absolute physical address in the synthetic operation district that begins most at the place, self-defining register district of this expansion word instruction is exactly (000200H+50H=000250H), the parameter of this unit generally occurs with the constant form, unless when mode of operation " 10 ", this parameter of making amendment.
Above definition for example just can be CALL side-play amount-IF side-play amount=20H-10H=10H by the scope that calculates the IF stack area of side-play amount.Because after the IF stack area is exactly the CALL stack area, in like manner can calculate the size in other zones, certainly, be to suppose that for example each regional scope all is 10H here.Before system works, can be by mode of operation " 10 " be set, the size of these side-play amounts is set, the workspace length parameter that also has the expansion word instruction, thereby finish the setting of each subregion of the workspace of expansion word instruction, these parameters are kept at (such as the FLASH storage class) in non-volatile storage unit, but these parameters then can not be changed in the time of system works.
46.IF turn the address stack pointer generator: when the IF instruction is carried out in the expansion word instruction, automatically the row of this IF instruction number is write the IF stack area of this expansion word instruction, when IF occurring ... THEN ... when nested, then constantly the row of corresponding IF instruction number is written in this stack area, when carrying out " ENDIF " instruction, according to the operand of ENDIF instruction, constantly carry out out stack operation, thereby finish nested entering and withdrawing from.Pointer added 1 when this pointer generator pushed at execution IF, preserved data; When execution ENDIF pops, eject data earlier, stack pointer subtracts 1 then.When beginning most to carry out the expansion word instruction, this pointer value is 000 at every turn.
47.CALL turn the address stack pointer generator: when the CALL instruction is carried out in the expansion word instruction, automatically the row of this CALL instruction number is write the CALL stack area of this expansion word instruction, when CALL occurring when nested, then constantly the row of corresponding CALL instruction number is written in this stack area, when carrying out " RETURN " instruction, according to the operand of RETURN instruction, then constantly carry out out stack operation, thereby finish nested entering and withdrawing from.And this pointer generator pointer when execution CALL pushes on adds 1, preserves data; When execution POP pops, eject data earlier, stack pointer subtracts 1 then.When beginning most to carry out the expansion word instruction, this pointer value is 000 at every turn.
48.PUSH turn the address stack pointer generator: when the PUSH instruction was carried out in the expansion word instruction, the content of the operand (register) of the appointment that this PUSH is instructed write the PUSH stack area of this expansion word instruction automatically.When continuous P USH occurring, then constantly the content of the operand (register) of corresponding PUSH instruction appointment is written in this stack area, when carrying out " POP " instruction, operand according to the POP instruction, constantly carry out out stack operation, with the data in the storehouse pop the instruction appointment operand (register).And this pointer generator pointer when execution PUSH pushes on adds 1, preserves data; When execution POP pops, eject data earlier, stack pointer subtracts 1 then.When beginning most to carry out the expansion word instruction, this pointer value is 000 at every turn;
49. the remainder is according to generator: this generator just produces the data output of a 0000H, is used for when instructions such as the non-IF, the CALL that carry out the expansion word instruction, PUSH, and the data from stack pointer that make it on the totalizer 2 are zero.At this moment, close the output of each pointer to stack generator, a gating remainder is output as 0000 according to generator.Attention: all stack pointer generators; picture IF stack pointer generator, CALL stack pointer generator, PUSH stack pointer generator etc.; when keeping the scene intact; their value all will be written to the designating unit of the workspace of expansion word instruction; be used for behind the recovery scene, then continue original execution again.
Expansion word instruction address stack district 50. (produce and hang): this stack area is a memory block of supporting stack manipulation of NLPU inside, be used for when the MAKE_ROM instruction of carrying out the expansion word instruction, preserving the physical address in synthetic operation district buffer memory of these expansion word instructions of generation " suspension ".So that " main flow/suspension flow process control assembly " is when carrying out the suspension flow process, directly return to the scene that produces that expansion word instruction when hanging at that time again according to the physical address of these preservations, so that the specified delegation's instruction of that ANL dos command line DOS that produces suspension is re-executed, produce by judging whether the unknown message that hangs is known, hang with decision or continuation, or withdraw from suspension.
51. expansion word instruction address stack pointer (produce and hang): this stack pointer is used for indicating the position of the unit, place, address of current that expansion word instruction that enters the storehouse preservation at last in " expansion word instruction address stack district (producing suspension) ", when NLPU resets, the bottom of this pointed stack area (000H), when push operation, this pointer adds 1 earlier automatically, then, preservation information enters the unit of the position of this pointer; This stack pointer is dull 1 operation that adds, also promptly has only push operation, for belonging to suspension is arranged earlier, the address of the expansion word instruction that was eliminated afterwards then is to set up clear flag, so that when hanging the execution flow process, when this unit of pointed, be when belonging to the address that has been eliminated by judgement, then directly add 1 and enter next pointer, this pointer is the directed bottom (000H) when at every turn beginning to carry out the beginning of hanging flow process always.
52. expansion word instruction counter (produce hang): the number that is used for being recorded in the expansion word instruction of the suspension that the entire process process produces, whenever the expansion word instruction that produces a suspension, this counter just adds 1, and this value is not eliminated along with the expansion word instruction suspension in commission of hanging and changes.This counter mainly is in carry out hanging flow process, and the expansion word instruction of the suspension in the expansion word instruction address stack district when carrying out one by one, if the number of carrying out equals the value of this counter, is just finished the execution of once hanging the workspace buffer memory.
53. comparer: this comparer is specifically designed to when carrying out the content that hangs the workspace, judge that expansion word instruction address stack pointer (produce and hang) is by constantly adding 1 value, whether equal the value in the expansion word instruction counter (produce and hang), if equate, finish the execution of once hanging the workspace buffer memory so.
54. expansion word instruction address stack district (produce and generate sentence): this stack area is a storage area of supporting stack manipulation of NLPU inside, when being used to be kept at the MAKE_KNOWS/R instruction of carrying out the expansion word instruction, the generation sentence that occurs, even a plurality of generate sentence when the situation of nested execution, the physical address of these expansion words instructions in synthetic operation district buffer memory.So that when " main flow/suspension flow process control assembly " carries out rollback at the generation sentence pointer that produces according to the sentence pointer generator; when returning back to the pointer at that expansion word instruction place that produces this generation sentence; directly at the scene of recovering at that time; then carry out with the next line instruction that then makes that ANL dos command line DOS that produce to generate sentence, and for the protection at the scene that generates the sentence place be by in this stack area directly protection expansion word instruction at that time at the physical address of synthetic operation district buffer memory.Such as: when carrying out rollback according to sentence pointer " 1-2-3/2w*3-2/1 ", the sentence pointer of generation is " 1-2-3/1 ", and the speech pointer is " 1-2-3/2w ", and the row demoder is " 3 " OK according to the ANL line pointer of " * 3 " decoding.Generation at that time generates the scene of the expansion word instruction of sentence, comprise sequence number, register, the IF storehouse, CALL storehouse, PUSH storehouse etc. just can recover at the physical address of synthetic operation district buffer memory by this expansion word instruction of leaving in " expansion word instruction address stack district (produce and generate sentence) ".For nested situation, then be by recovery successively, execution is successively finished.
55. expansion word instruction address stack pointer (producing the generation sentence): this stack pointer indicates the position of the unit, place, address of current that expansion word instruction that enters the storehouse preservation at last in " expansion word instruction address stack district (produce and generate sentence) ", or the next cell position of the unit, place, address of that expansion word instruction of last pop-up a stack.When NLPU resets, the bottom of this pointed stack area (000H), when push operation, this pointer adds 1 earlier automatically, and preservation information then enters the unit of the position of this pointer; When going out stack operation, eject the content that current pointer points to the unit earlier, pointer subtracts 1 automatically then.
56. root sentence comparer: be used to judge whether the content of current outside input text all is finished.The sentence pointer (sequence number) that is produced when the sentence pointer generator is by address decoder (framework buffer) when deciphering, if the result of decoding is " not existing ", when the signal that also is " there be not (framework buffer) in address decoding " end is effective, and, sentence pointer in the sentence pointer generator also is to be judged as " root sentence " at " root sentence comparer " at this moment, so, " root sentence comparer " directly output " the omnidistance end " signal, this signal controlling " main flow/suspension flow process control assembly " produces the operation of whole NLPU end of run, and at " end of run " end output useful signal, to show this NLPU end of run.
57. current Notation Of Content buffer (sentence, sentence formula, speech): be used for when entering suspension execution flow process, temporarily preserve earlier the content of current Notation Of Content (sentence, sentence formula, speech), when when hang carrying out flow process and turn back to the master instruction flow process, the content with this buffer turns back in the current Notation Of Content (sentence, sentence formula, speech) again.
Eliminate control assembly 58. hang: be used for carrying out the suspension flow process, for in expansion word instruction address stack district (produce hang), being not " suspension " by original " suspension " state exchange, also promptly from expansion word instruction address stack district (produce hang) during clear operation, these suspension elimination parts are finished the respective handling to the stack area, mainly be that the original address contents that is eliminated is removed, clear operation is finished by writing clear flag to the corresponding address unit.
For NLPU, after outside input text is delivered to text buffer by outer input interface, start the work schedule of NLPU immediately.Whole process is divided into two flow processs: main flow process and the suspension execution flow process carried out.
The main flow process of carrying out: mainly be the directly expansion word instruction (sentence, sentence formula, speech) of the content in the execution contexts (the sentence text in outside input text or the knowledge base in the body) one by one in the normal order, carry out the process that finishes up to all texts, carry out in the flow process main, after expansion word instruction of every execution, all to carry out once to hang and carry out flow process.
Hang to carry out flow process: according to the order of the expansion word instruction (sentence, sentence formula, speech) of those suspensions of in hanging the workspace buffer memory, depositing, carrying out those one by one once carried out main the execution in the flow process, but temporarily incomplete because of some information in processing procedure, and the process that the expansion word of " suspension " those " suspension " in hanging the workspace buffer memory instructs.In addition, in hang carrying out flow process, also can produce the execution that generates sentence again by the instruction of MAKE_KNOWS class, this process belongs to the main flow process of carrying out in the suspension, but main in this hangs carried out no longer to carry out in the flow process to hang and carried out flow process.
The overall work process of NLPU is as follows:
1. at first, all parts in the NLPU inside are carried out initialization, be initialized to zero such as most register; The value of sentence pointer generator is " 1/1 " (sentence pointer value of a root sentence that begins most), simultaneously, the value that the speech pointer generator also can be set is " 1/1 " (pointer value of first speech of a root sentence that begins most), because, the value of each sentence pointer generator changes, and all can directly refresh the value of speech pointer generator; Simultaneously directly according to the variation of the value or the value of speech pointer generator of sentence pointer generator, and refresh the owner pointer of the current expansion word instruction in the target code translator and the value of floating pointer; Flow state sign initialization in main flow/suspension flow process parts is set to " main flow " state.In addition, ANL dos command line DOS pointer generator also is initialized to zero, because carry out in the flow process main, so long as the value of sentence pointer generator, or the value of speech pointer generator changes, zero clearing is directly carried out to ANL dos command line DOS pointer generator in the capital, only in hanging the execution flow process, value to ANL dos command line DOS pointer generator then is to carry out assignment by the scene of protecting, because protected various scenes at that time when the instruction of " suspension " expansion word enters " suspension ", comprised the ANL pointer value; In addition, when the scene is returned in that expansion word instruction of generation generation sentence, also be field data recovery ANL pointer value originally by protection.
2. by the text camera lucida among the NLPU content in the text buffer memory (dual port RAM) of artificial intelligence machine is written in the framework buffer, this process is to read data in the text buffer memory (dual port RAM) by first level address bus and direct data bus.Then, again by symbolic address bus and symbol data bus,, be written in the framework buffer according to the form of framework buffer with the data in the text buffer memory (dual port RAM).Certainly, comprise also during this that according to current content of text to address decoder (framework buffer memory) write operation of encoding, this part task is to be finished by the coding write device (address decoding) in the text camera lucida.
3. according to the value of current sentence pointer generator, the sentence extraction apparatus constantly produces the sequence number of the speech that increases progressively with the prefix of current sentence pointer, such as, current sentence value is " 1-2/1 ", the prefix of sentence pointer is " 1-2/ " so, constantly the sequence number of the speech that increases progressively that produces may be exactly " 1-2/2 ", " 1-2/3 ", " 1-2/4 ", " 1-2/5 " or the like, deliver on the symbolic address bus by symbolic address bus cache device then, and convert the physical address of framework buffer to by address decoder (framework buffer memory), thereby finish the title that from the framework buffer, reads corresponding speech, and by address decoder (framework buffer memory) to the speech sequence number that increases progressively that produces when deciphering, whether send " not existing " sign, decide the leaching process of a sentence to finish, such as this sentence of previous example 4 speech altogether, " 1-2/5 " that produces is through decoding the time, address decoder (framework buffer memory) must be exported non-existent signal, and the sentence of being made up of four speech that also shows this has extracted and finished.Afterwards, the sentence in the sentence extraction apparatus that then will extract is sent in the sentence buffer of artificial intelligence machine by the symbol data bus again.
4. the sentence buffer is after reading the sentence that NLPU sends here, " the knowledge base coupling starts " end of main flow/suspension flow process control assembly then sends useful signal, directly start " the natural language description storehouse of sentence " and carry out matched and searched at the sentence in this sentence buffer, directly the result that will mate send " knowledge base matching result " signal wire of NLPU, this signal wire is made of 2 lines, when mating the initial stage, what send NLPU to is " 00 " (in coupling); After coupling finished, " 01 " of transmission showed that the match is successful, and " 10 " of transmitting show that then it fails to match.
5. when knowledge base when the match is successful, main flow/suspension flow process control assembly is directly controlled the pointer value that the sentence pointer generator produces the clause of this sentence pointer, such as current be " 1/1 ", clause's pointer is " 1-1/1 " so, simultaneously also directly is worth the value that refreshes the speech pointer generator with this.Meanwhile, all sentences in the natural language description storehouse of sentence in the body of this sentence correspondence, also write in text buffer memory (dual port RAM), the situation that NLPU has write according to the text buffer memory, data wherein are written in the framework buffer by the text camera lucida, the pointer that write framework buffer institute foundation this moment is according to the value in the sentence pointer generator, and also the clause's who promptly produced just now pointer value is carried out.About the text cache contents being write operation, tell about in front, referring to " the NLPU course of work--overall process-step 2 " to the framework buffer.
6. all write behind the framework buffer when the content of text buffer memory, then continue again to repeat " the NLPU course of work--overall process-step 3-5 ", be based on the operation of different sentence pointers only at every turn, till it fails to match in knowledge base, also be to occur " 10 " on " knowledge base matching result " signal wire, at this moment, " ANL storehouse coupling start " end of main flow/suspension flow process control assembly then sends useful signal, directly starts " the ANL language description storehouse of sentence " that content in the sentence buffer enters ANL language description storehouse and carries out matched and searched.Matching process with knowledge base is similar, directly matching result is sent " ANL storehouse matching result " signal wire of NLPU, and this signal wire is made of 2 lines, and during the initial stage, what send NLPU to is " 00 " (in coupling) in coupling; After coupling finished, " 01 " of transmission showed that the match is successful, and " 10 " of transmitting show that then it fails to match.Only here, be the coupling in address decoder (sentence), rather than in the knowledge base of natural language description, mate.
7., so just directly carry out description body, referring to " the NLPU course of work---instruction is carried out " about the ANL language description of this sentence if the match is successful in ANL language description storehouse.If it fails to match, so also to pass through the speech extraction apparatus by the pointer value of current speech pointer generator, extract the title of current speech, this process with the extraction operation of sentence is similar, then speech is delivered in the speech buffer, mate in the natural language description storehouse that arrives first speech, if success, be similar to so sentence from of the operation of text buffer memory to the framework buffer, repeat no more.If it fails to match, directly enter in the ANL language description storehouse of speech and mate, if the match is successful, so just carry out the ANL language description body about this speech in the ANL language description storehouse of speech, referring to " the NLPU course of work---instruction is carried out ".So, in the text output interface, output " does not have corresponding the description in this dictionary if it fails to match! " information, system carries out and directly to be terminated, and could carry out after must having this dictionary earlier.
8. describe after body has been performed as an ANL, if " the current flow state sign " of current main-stream journey/suspension flow process control assembly is the main state of carrying out flow process, then be directly switch to hang and carry out flow state, and " current flow state sign " is set for hanging execution flow process sign, carry out the expansion word instruction of hanging " suspension " in the buffer memory of workspace, referring to " the NLPU course of work---instruction is carried out ".After content in hanging the workspace buffer memory executed, switching to " current flow state sign " again was the main flow process sign of carrying out.
9. to decide next procedure according to wherein " current Notation Of Content (sentence, sentence formula, speech) " state be to carry out next sentence for main flow/suspension flow process control assembly, next speech, the still execution of sentence formula.This sign is not draped and carries out flow process and influence, just for main carry out flow process or hang in master's execution flow process use.Such as " current Notation Of Content " is sentence or sentence formula, and so, directly control " sentence pointer generator " produces the pointer of next sentence; If " current Notation Of Content " is speech, so, directly control " speech pointer generator " produces the pointer of next speech.Suppose to be according to the extraction of speech and execution, when the speech pointer that produces is carrying out speech when extracting, if " there be not (framework buffer memory) in address decoding " end effectively, then enter the operation that a formula is extracted, extract and carry out roughly the same about the sentence formula with the operating process of sentence, if the match is successful in the knowledge base of natural language description, or the match is successful in ANL language description storehouse, and its concrete implementation is carried out referring to the sentence of step " the NLPU course of work--overall process---step 3---8 ".
10. in the process of implementation, if the pointer that the sentence pointer generator produces is at address decoder (framework buffer memory) when deciphering, " there be not (framework buffer memory) in address decoding " end effectively, and the output that the root sentence of main flow " root sentence comparer " is judged is (current sentence pointer is the root sentence) also effectively, so, the operation to external text of whole artificial intelligence machine all is finished.Can be used for entering the execution of next new outside input text.Otherwise, finish if not whole execution, so just continue sentence pointer according to the sentence pointer generator, or the speech pointer of speech pointer generator, then carry out according to the process of telling about previously with keeping, finish until the execution of carrying out omnidistance input text.
NLPU is as follows to the implementation of instruction:
1.ANL the value of dos command line DOS pointer generator; when in main execution flow process, carrying out an expansion word instruction usually; all be that variation with sentence pointer generator and speech pointer generator is cleared; it also promptly all is the ANL language description body of carrying out expansion word instruction since the 0th row (BEGIN); for the execution of hanging the expansion word instruction in the flow process, then be the value that reads the pointer of the ANL dos command line DOS at that time that the expansion word instruction in the suspension workspace buffer memory in the synthetic operation district write down by direct data bus when keeping the scene intact.And by the row codec row data-switching of character type is written in the ANL dos command line DOS pointer generator to numeric data again.Certainly when the expansion word instruction of writing " suspension " on-the-spot; also be the row data-switching of the numeric type in the current ANL dos command line DOS pointer generator to be become the data of character type, be written in the unit of protection ANL dos command line DOS pointer of correspondence of expansion word instruction of this suspension in the synthetic operation district buffer memory by the row codec.
2.NLPU when reading an ANL instruction from ANL language description storehouse, at first, the order format according to the ANL instruction enters respectively and carries out buffer memory in the corresponding buffers, such as order code impact damper, operand 1 impact damper, operational symbol impact damper, operand 2 impact dampers etc.The order code code translator is at first deciphered the order code in the order code impact damper, then, produces the work schedule of NLPU at all associated components of this instruction manipulation by command decoder.Along with the difference of order code content, the operating process that command decoder produced is also inequality.
Below the ANL sound instruction is elaborated.
The form of the ANL language description of an expansion word instruction is:
Expansion word instruction title Capable number Label Order code Operand 1 Operational symbol Operand 2 … … … …
Annotate: " ... " part be instruction manipulation additive term, except note, (explain row), remaining then is the part of the automatic generation in compiling back.
Be the content of concrete row relevant below with carrying out the ANL instruction.
CASE There is not the row of turning number (address) in target IF instruction condition is " very " redirect row number (address) IF instruction condition is " vacation " redirect row number (address) Explain row--to the note of instruction
There is not the row of turning number (address) in the target here, and--------can artificially be provided with, IF instruction condition is " very " redirect row number (address), the corresponding jump address that IF instruction condition generates when all being system's compiling for " vacation " redirect row number (address) automatically, so the target that is provided with is not artificially existed the row of turning number (address), then system is according to artificial capable (generally all the expression with the label form of label that is provided with, as " LP1 ", " NN2 " etc., rather than absolute row address is as " 1000 ", " 2500 " etc.) compile.
DEFINER
The self-defined register title of form: DEFINER (operand 1) internal register number (MEMxx)
(operand 2)
For example: DEFINER location register MEM01
Illustrate: this instruction is the register to self-defined title, sets up corresponding mapping with space, the register district numbering of inside, such as, the inner register " MEM01 " of " location register " mapping in the example.
Attention: self-defining register title can not have duplication of name, and internal register number can not have repetition, otherwise causes the mistake in the execution easily.Have, internal register number all can not go beyond the scope again, such as, the value that is provided with is 40 at present, also promptly can have 40 registers that use can be provided at most, when increasing more really, should reset value range.In addition, system also can both check out the mistake that duplication of name and super scope are arranged when compiling.
TEXT
The literal (operand 1) that form: TEXT is descriptive
For example: this is the program of a test for TEXT!
Illustrate: this instruction is to state that this is illustrative content of statement, does not carry out any operation, just is convenient to prehension program setting.Such as, " this is the program of a test in the example! " be exactly to illustrate that the content of present procedure is the program of a test.
Attention: general only the time where necessary of this instruction used, and the statement literal about interpretation of programs in the time of usually preferably is provided with in the explanation row of instruction.Though, but take the instruction time because do not carry out any operation, because operate, and, then be the content of " ignoring " when belonging to the machine execution for the content of explaining in the row as an instruction, only be convenient to program reading and understanding.The content in explaining row simultaneously, more can be conveniently to each bar ANL instruction explanation that makes an explanation.Have, the number of characters in the operand 1 in this instruction is too much unsuitable, is limited in usually in 20 words again.
IF
Form: the content of IF directly address (operand 1) operational symbol is counted (operand 2) redirect-Zhen redirect-vacation immediately
For example: IF This sentence. this sentence. this speech. the place of production = Shanghai Jump01 20 Jump02 30
Illustrate: this instruction is one the content of current directly address and number is immediately carried out the instruction of logic determines, if condition is " very ", so just jump to this instruction " redirect-Zhen " this row in specified address, such as " jump01 20 " in the example.Generalized case be " redirect " to current this IF instruction corresponding " THEN_ ... " and then this dos command line DOS only has " ANDx " or " ORx " and so on instruction after this IF instruction; If condition is " vacation ", so just jump to the specified address in " redirect-vacation " these row of this instruction, such as " jump02 30 " in the example.Generally speaking, be " redirect " to current this IF instruction corresponding " ELSE_ ... " this dos command line DOS, do not have corresponding " ELSE_ ... " after this IF instruction only the class instruction, directly jump to this row instruction of this IF instruction corresponding " ENDIF " this moment, so that finish the decision operation of this time IF instruction.
Attention: 1. the operand 1 of this instruction must be the content that belongs to directly address, or say so directly and to carry out addressing with the value of the floating pointer of current expansion word instruction, such as this instruction in " this sentence. this sentence. this speech. the place of production ", if the content of addressing does not exist, be meant on the position of first speech of current sentence such as the floating pointer of this expansion word instruction, if carry out again " this sentence. this sentence. a last speech. the place of production " this operand, wherein " a last speech " is illegal, and be non-existent.At this moment, system could automatically perform address of indicating in " there is not the row of turning number (address) in target " these row, and this address is when compile in system, and " target does not exist in a generation that generates automatically! " the address of dos command line DOS of this miscue.Certainly, the content of the address that indicates in " there is not the row of turning number (address) in target " these row also can be made amendment artificially, continues to carry out such as jumping to artificial appointed positions, and can not produce miscue.When modified address content artificially, system will be according to capable compiling of label of people's appointment when compiling, and that of automatic generation that generates redirect no longer automatically produces that " target does not exist! " address of dos command line DOS of miscue.
2. the operand 2 of this instruction must be to belong to the content of counting immediately, such as numeral, character, short sentence all is fine, and can not be the content of register addressing exactly, also is that operand 2 contents can not be to adopt the register name of DEFINER instruction statement in this expansion word instruction description, certainly can not be the common register i of this expansion word instruction, j, k ... although, not with DEFINER instruction statement.
3. the operational symbol of this instruction can be: "=" (equaling), "!=" (being not equal to), ">" (greater than), ">=" (more than or equal to), "<" (less than), "<=" (smaller or equal to).
This instruction can also use " △ " (existence) and " ¢ " (not existing) operand, operand judges whether the target of current addressing exists, such as:
" this sentence of IF. this sentence. a last speech. the place of production=△ " be exactly to show if current addressing target exists ...,
" this sentence of IF. this sentence. a last speech. the place of production=¢ " be exactly to show if current addressing target does not exist ...,
Certainly, adopt "!=" (being not equal to) can finish judgement too, such as:
" this sentence of IF. this sentence. a last speech. a place of production!=△ " be exactly to show if current addressing target does not exist ...,
IFR
Form: the content of IFR directly address (operand 1) operational symbol register (operand 2) redirect-Zhen redirect-vacation
For example: IFR This sentence. this sentence. this speech. the place of production = Location register Jump01 20 Jump02 30
Illustrate: this instruction is that a content and a content of registers to current directly address is carried out the instruction of logic determines, if condition is " very ", so just jump to this instruction " redirect-Zhen " this row in specified address, such as " jump01 20 " in the example.Generalized case be " redirect " to current this IFR instruction corresponding " THEN_ ... " and then this dos command line DOS only has " ANDxx " or " ORxx " and so on instruction after this IFR instruction; If condition is " vacation ", so just jump to the specified address in " redirect-vacation " these row of this instruction, such as " jump02 30 " in the example.Generally speaking, be " redirect " to current this IFR instruction corresponding " ELSE_ ... " this dos command line DOS, do not have corresponding " ELSE_ ... " after this IFR instruction only the class instruction, this moment directly redirect be this row instruction of this IFR instruction corresponding " ENDIF " so that finish the decision operation of this time IFR instruction.
Attention: 1. the operand 1 of this instruction must be the content that belongs to directly address, or say so directly and to carry out addressing with the value of the floating pointer of current expansion word instruction, such as this instruction in " this sentence. this sentence. this speech. the place of production ", if the content of addressing does not exist, be meant in first lexeme of current sentence such as the floating pointer of this expansion word instruction and put, if carry out " this sentence. this sentence. a last speech. the place of production " this operand, at this moment " a last speech " operation then is illegal, is non-existent.At this moment, system can automatically perform address of indicating in " there is not the row of turning number (address) in target " these row, this address be system when compiling, generate automatically one produces that " target does not exist! " address of dos command line DOS of this miscue.Certainly, the content of the address that indicates in " there is not the row of turning number (address) in target " these row also can be made amendment artificially, continues to carry out such as jumping to artificial appointed positions, and can not produce miscue.When modified address content artificially, system will be according to capable compiling of label of people's appointment when compiling, and that of automatic generation that generates redirect no longer automatically produces that " target does not exist! " address of dos command line DOS of miscue.
2. the operand 2 of this instruction must be a register, cannot be numeral, character, and short sentence also is that operand 2 contents must be the register names that adopts the DEFINER instruction to be stated in this expansion word instruction description.In example, " location register " just can be after instruction " DEFINER location register MEM01 " is carried out, the register of statement.Certainly, also can be the common register i of this expansion word instruction, j, k ... although, not with DEFINER instruction statement.
3. the operational symbol of this instruction can be: "=" (equaling), "!=" (being not equal to), ">" (greater than), ">=" (more than or equal to), "<" (less than), "<=" (smaller or equal to).
IFRK
Form: IFRK register (operand 1) operational symbol is counted (operand 2) redirect-Zhen redirect-vacation immediately
For example: IFRK Location register = Shanghai Jump01 20 Jump02 30
Illustrate: this instruction is one the content of current register and number is immediately carried out the instruction of logic determines, if condition is " very ", so, just jump to this instruction " redirect-Zhen " this row in specified address, such as " jump01 20 " in the example.Generally speaking, be " redirect " to current this IFRK instruction corresponding " THEN_ ... " and then this dos command line DOS only has " ANDxx " or " ORxx " and so on instruction after this IFRK instruction; If condition is " vacation ", so, just jump to the specified address in " redirect-vacation " these row of this instruction, such as " jump02 30 " in the example.Generally speaking, be " redirect " to current this IFRK instruction corresponding " ELSE_ ... " this dos command line DOS, do not have corresponding " ELSE_ ... " after this IFRK instruction only the class instruction, this moment directly redirect be this row instruction of this IFRK instruction corresponding " ENDIF " so that finish the decision operation of this time IFRK instruction.
Attention: 1. the operand 1 of this instruction must be a register, cannot be numeral, character, and short sentence also is that operand 1 content must be the register name that adopts the DEFINER instruction to be stated in this expansion word instruction description.In example, " location register " just can be after instruction " DEFINER location register MEM01 " is carried out, the register of statement.Certainly, also can be the common register i of this expansion word instruction, j, k ... although, not with DEFINER instruction statement.
2. the operand 2 of this instruction must be to belong to the content of counting immediately, such as numeral, character, short sentence all is fine, can not be the content of register addressing exactly, also be that operand 2 contents can not be to adopt the register name of DEFINER instruction statement in this expansion word instruction description, can not be the common register i of this expansion word instruction certainly, j, k ...Such as " Shanghai " in the example is exactly that a character type is counted immediately.
3. the operational symbol of this instruction can be: "=" (equaling), "!=" (being not equal to), ">" (greater than), ">=" (more than or equal to),
"<" (less than), "<=" (smaller or equal to).
IFRR
Form: IFRR register (operand 1) operational symbol register (operand 2) redirect-Zhen redirect-vacation
For example: IFRR Location register 1 = Location register 2 Jump01 20 Jump02 30
Illustrate: this instruction is that a content and a content of registers to current register is carried out the instruction of logic determines, if condition is " very ", so just jump to this instruction " redirect-Zhen " this row in specified address, such as " jump01 20 " in the example.Generally speaking, be " redirect " to current this IFRR instruction corresponding " THEN_ ... " and then this dos command line DOS only has " ANDxx " or " ORxx " and so on instruction after this IFRR instruction; If condition is " vacation ", so, just jump to the specified address in " redirect-vacation " these row of this instruction, such as " jump02 30 " in the example.Generally speaking, be " redirect " to current this IFRR instruction corresponding " ELSE_ ... " this dos command line DOS, do not have corresponding " ELSE_ ... " after this IFRR instruction only the class instruction, this moment directly redirect be this row instruction of this IFRR instruction corresponding " ENDIF " so that finish the decision operation of this time IFRR instruction.
Attention: 1. the operand 1 of this instruction must be a register, cannot be numeral, character, and short sentence also is that operand 1 content must be the register name that adopts the DEFINER instruction to be stated in this expansion word instruction description.In example, " location register 1 " just can be the register of execution command " DEFINER location register 1 MEM15 " statement.Certainly, also can be the common register i of this expansion word instruction, j, k ... although, not with DEFINER instruction statement.
2. the operand 2 of this instruction must be a register, require with 1, and just can be to instruct such as here " location register 2 "
After " DEFINER location register 2 MEM25 " carry out, the register of statement.
3. the operational symbol of this instruction can be: "=" (equaling), "!=" (being not equal to), ">" (greater than), ">=" (more than or equal to), "<" (less than), "<=" (smaller or equal to).
AND
Form; The content of AND directly address (operand 1) operational symbol is counted (operand 2) redirect-Zhen redirect-vacation immediately
For example: AND This sentence. this sentence. this speech. the place of production = Shanghai Jump01 20 Jump02 30
Illustrate: this instruction is followed after the instruction of IFxx class, by a plurality of these instructions finish side by side a plurality of " with " instruction judged, function is equivalent to the IF instruction, be one the content of current directly address and number immediately carried out the instruction of logic determines, if condition is " very ", so just jump to this instruction " redirect-Zhen " this row in specified address, such as " jump01 20 " in the example.Directly be " redirect " to current this AND instruct the IFxx class instruction of pairing front corresponding " THEN_ ... " this dos command line DOS; If condition is " vacation ", so just jump to the specified address in " redirect-vacation " these row of this instruction, such as " jump02 30 " in the example.Generalized case be " redirect " to the IFxx class instruction of the corresponding front of current this AND instruction corresponding " ELSE_ ... " this dos command line DOS, do not have corresponding " ELSE_ ... " after this IFxx class instruction only the class instruction, this moment then directly redirect be this row instruction of this IFxx class instruction corresponding " ENDIF " so that finish the decision operation of this time IFxx class instruction.
Attention: 1. the operand 1 of this instruction must be the content that belongs to directly address, or say so directly and to carry out addressing with the value of the floating pointer of current expansion word instruction, such as this instruction in " this sentence. this sentence. this speech. the place of production ", if the content of addressing does not exist, be meant at first speech of current sentence such as, the floating pointer of this expansion word instruction, if carry out " this sentence. this sentence. a last speech. the place of production " this operand, " the last speech " carried out then is illegal, non-existent.At this moment, system could automatically perform the address that indicates in " there is not the row of turning number (address) in target " these row, and when this address was system's compiling, " target did not exist in a generation that generates automatically! " address of dos command line DOS of this miscue.Certainly, the content of the address that indicates in " there is not the row of turning number (address) in target " these row also can be made amendment artificially, such as, jump to artificial appointed positions and continue to carry out, and can not produce miscue.When modified address content artificially, will be during the system compiling according to capable compiling of label of people's appointment, that of automatic generation that generates redirect no longer automatically produces that " target does not exist! " address of dos command line DOS of miscue.
2. the operand 2 of this instruction must be to belong to the content of counting immediately, such as numeral, character, short sentence all is fine, and can not be the content of register addressing exactly, also is that operand 2 contents can not be to adopt the register name of DEFINER instruction statement in this expansion word instruction description, certainly can not be the common register i of this expansion word instruction, j, k ... although, not with DEFINER instruction statement.
3. the operational symbol of this instruction can be: "=" (equaling), "!=" (being not equal to), ">" (greater than), ">=" (more than or equal to), "<" (less than), "<=" (smaller or equal to).
This instruction can also use " △ " (existence) and " ¢ " (not existing) operand, operand judges whether the target of current addressing exists, such as:
" this sentence of AND. this sentence. a last speech. the place of production=△ " be exactly to show if current addressing target exists ...,
" this sentence of AND. this sentence. a last speech. the place of production=¢ " be exactly to show if current addressing target does not exist ...,
Certainly, adopt "!=" (being not equal to) can finish judgement too, such as:
" this sentence of AND. this sentence. a last speech. a place of production!=△ " be exactly to show if current addressing target does not exist ...,
This instruction can be after IFxx class instruction a plurality of use side by side this instruct finish a plurality of " with " judgement, also can be ANDR, ANDRK, ANDRR.
Such as:
This sentence of IF. this sentence. this speech. the place of production=Shanghai
This sentence of AND. this sentence. this speech. quantity=100
This sentence of AND. this sentence. this speech. color=redness
This sentence of ANDR. this sentence. this speech. color=color register
ANDR
Form: the content of ANDR directly address (operand 1) operational symbol register (operand 2) redirect-Zhen redirect-vacation
For example: ANDR This sentence. this sentence. this speech. the place of production = Shanghai Jump01 20 Jump02 30
Illustrate: this instruction is followed after the instruction of IFxx class, by a plurality of these instructions finish side by side a plurality of " with " instruction judged, function is equivalent to the IFR instruction, be one the content of current directly address and number immediately carried out the instruction of logic determines, if condition is " very ", so just jump to this instruction " redirect-Zhen " this row in specified address, such as " jump01 20 " in the example.Directly be " redirect " to the IFxx class instruction of the corresponding front of current this ANDR instruction corresponding " THEN_ ... " this dos command line DOS; If condition is " vacation ", so just jump to the specified address in " redirect-vacation " these row of this instruction, such as " jump02 30 " in the example.Generalized case be " redirect " to the IFxx class instruction of the corresponding front of current this ANDR instruction corresponding " ELSE_ ... " this dos command line DOS, only after the instruction of this IFxx class, do not have correspondence " ELSE_ ... " the class instruction, this moment directly redirect be this row instruction of this IFxx class instruction corresponding " ENDIF " so that finish the decision operation of this time IFxx class instruction.
Attention: 1. the operand 1 of this instruction must be the content that belongs to directly address, or say so directly and to carry out addressing with the value of the floating pointer of current expansion word instruction, such as this instruction in " this sentence. this sentence. this speech. the place of production ", if the content of addressing does not exist, be meant at first speech of current sentence such as, the floating pointer of this expansion word instruction, if carry out " this sentence. this sentence. a last speech. the place of production " this operand, " the last speech " carried out then is illegal, non-existent.At this moment, system could automatically perform the address that indicates in " there is not the row of turning number (address) in target " these row, and when this address was system's compiling, " target did not exist in a generation that generates automatically! " address of dos command line DOS of this miscue.Certainly, the content of the address that indicates in " there is not the row of turning number (address) in target " these row also can be made amendment artificially, such as, jump to artificial appointed positions and continue to carry out, and can not produce miscue.When modified address content artificially, will be during the system compiling according to capable compiling of label of people's appointment, that of automatic generation that generates redirect no longer automatically produces that " target does not exist! " address of dos command line DOS of miscue.
2. the operand 2 of this instruction must be a register, cannot be numeral, character, and short sentence also is that operand 2 contents must be to adopt the register name of DEFINER instruction statement in this expansion word instruction description.In example, " location register " just can be after instruction " DEFINER location register MEM01 " is carried out, the register of statement.Certainly, also can be the common register i of this expansion word instruction, j, k ... although, not with DEFINER instruction statement.
3. the operational symbol of this instruction can be: "=" (equaling), "!=" (being not equal to), ">" (greater than), ">=" (more than or equal to), "<" (less than), "<=" (smaller or equal to).
Instruction can be after IFxx instruction a plurality of be used to complete side by side a plurality of " with " judgement, also can be AND, ANDRK, ANDRR.
Such as:
This sentence of IF. this sentence. this speech. the place of production=Shanghai
This sentence of ANDR. this sentence. this speech. quantity=quantity register
This sentence of ANDR. this sentence. this speech. color=color register
ANDRK
Form: ANDRK register (operand 1) operational symbol is counted (operand 2) redirect-Zhen redirect-vacation immediately
For example: ANDRK Location register = Shanghai Jump01 20 Jump02 30
Illustrate: this instruction is followed after the instruction of IFxx class, by a plurality of these instructions finish side by side a plurality of " with " instruction judged, function is equivalent to the IFRK instruction, be one the content of current register and number immediately carried out the instruction of logic determines, if condition is " very ", so, just jump to this instruction " redirect-Zhen " this row in specified address, such as " jump01 20 " in the example.Generalized case be " redirect " to current this IFxx instruction corresponding " THEN_ ... " this dos command line DOS; If condition is " vacation ", so just jump to the specified address in " redirect-vacation " these row of this instruction, such as " jump02 30 " in the example.In generalized case, be " redirect " to current this IFxx instruction corresponding " ELSE_ ... " this dos command line DOS, do not have corresponding " ELSE_ ... " after this IFxx instruction only the class instruction, this moment directly redirect be this row instruction of this IFxx instruction corresponding " ENDIF " so that finish the decision operation of this time IFxx instruction.
Attention: 1. the operand 1 of this instruction must be a register, cannot be numeral, character, and short sentence also is that operand 1 content must be to adopt the register name of DEFINER instruction statement in this expansion word instruction description.In example, " location register " just can be after instruction " DEFINER location register MEM01 " is carried out, the register of statement.Certainly, also can be the common register i of this expansion word instruction, j, k ... although, not with DEFINER instruction statement.
2. the operand 2 of this instruction must be to belong to the content of counting immediately, such as numeral, character, short sentence all is fine, can not be the content of register addressing exactly, also be that operand 2 contents can not be to adopt the register name of DEFINER instruction statement in this expansion word instruction description, can not be the common register i of this expansion word instruction certainly, j, k ...Such as " Shanghai " in the example is exactly that a character type is counted immediately.
3. the operational symbol of this instruction can be: "=" (equaling), "!=" (being not equal to), ">" (greater than), ">=" (more than or equal to),
"<" (less than), "<=" (smaller or equal to).
ANDRR
Form: ANDRR register (operand 1) operational symbol register (operand 2) redirect-Zhen redirect-vacation
For example: ANDRR Location register 1 = Location register 2 Jump01 20 Jump02 30
Illustrate: this instruction is followed after the instruction of IFxx class, by a plurality of these instructions finish side by side a plurality of " with " instruction judged, function is equivalent to the IFRR instruction, be that a content and a content of registers to current register is carried out the instruction of logic determines, if condition is " very ", so just jump to this instruction " redirect-Zhen " this row in specified address, such as " jump01 20 " in the example.Generalized case be " redirect " to current this IFxx instruction corresponding " THEN_ ... " this dos command line DOS; If condition is " vacation ", so just jump to the specified address in " redirect-vacation " these row of this instruction, such as " jump02 30 " in the example.Generalized case be " redirect " to current this IFxx instruction corresponding " ELSE_ ... " this dos command line DOS, only after this IFxx instruction, do not have correspondence " ELSE_ ... " the class instruction, this moment directly redirect be this row instruction of this IFxx instruction corresponding " ENDIF " so that finish the decision operation of this time IFxx instruction.
Attention: 1. the operand 1 of this instruction must be a register, cannot be numeral, character, and short sentence also is that operand 1 content must be to adopt the register name of DEFINER instruction statement in this expansion word instruction description.Such as in example, " location register 1 " just can be the register that execution command " DEFINER location register 1 MEM15 " is stated.Certainly, also can be the common register i of this expansion word instruction, j, k ... although, not with DEFINER instruction statement.
2. the operand 2 of this instruction must be a register, require with 1, and just can be to instruct such as here " location register 2 "
After " DEFINER location register 2 MEM25 " carry out, the register of statement.
3. the operational symbol of this instruction can be: "=" (equaling), "!=" (being not equal to), ">" (greater than), ">=" (more than or equal to), "<" (less than), "<=" (smaller or equal to).
OR
Form: the content of OR directly address (operand 1) operational symbol is counted (operand 2) redirect-Zhen redirect-vacation immediately
For example: OR This sentence. this sentence. this speech. the place of production = Shanghai Jump01 20 Jump02 30
Illustrate: this instruction is followed after the instruction of IFxx class, by a plurality of these instructions finish side by side a plurality of " or " instruction judged, function is equivalent to the IF instruction, be one the content of current directly address and number immediately carried out the instruction of logic determines, if condition is " very ", so, just jump to this instruction " redirect-Zhen " this row in specified address, such as " jump01 20 " in the example.Directly be " redirect " to current this OR instruct the IFxx class instruction of pairing front corresponding " THEN_ ... " this dos command line DOS; If condition is " vacation ", so just jump to the specified address in " redirect-vacation " these row of this instruction, such as " jump02 30 " in the example.Generalized case should " redirect " be to point to the dos command line DOS of current this OR instruction back, so as to continue to carry out the back possible ORxx class instruction or run into till the THEN_xx.
Attention: 1. the operand 1 of this instruction must be the content that belongs to directly address, or say so directly and to carry out addressing with the value of the floating pointer of current expansion word instruction, such as this instruction in " this sentence. this sentence. this speech. the place of production ", if the content of addressing does not exist, be meant at first speech of current sentence such as, the floating pointer of this expansion word instruction, if carry out " this sentence. this sentence. a last speech. the place of production " this operand, " the last speech " carried out then is illegal, non-existent.At this moment, system can automatically perform address of indicating in " there is not the row of turning number (address) in target " these row, this address be system when compiling, generate automatically one produces that " target does not exist! " address of dos command line DOS of this miscue.Certainly, the content of the address that indicates in " there is not the row of turning number (address) in target " these row also can be made amendment artificially, such as, jump to artificial appointed positions and continue to carry out, and can not produce miscue.When modified address content artificially, will be during the system compiling according to capable compiling of label of people's appointment, that of automatic generation that generates redirect no longer automatically produces that " target does not exist! " address of dos command line DOS of miscue.
2. the operand 2 of this instruction must be to belong to the content of counting immediately, such as numeral, character, short sentence all is fine, and can not be the content of register addressing exactly, also is that operand 2 contents can not be to adopt the register name of DEFINER instruction statement in this expansion word instruction description, certainly can not be the common register i of this expansion word instruction, j, k ... although, not with DEFINER instruction statement.
3. the operational symbol of this instruction can be: "=" (equaling), "!=" (being not equal to), ">" (greater than), ">=" (more than or equal to), "<" (less than), "<=" (smaller or equal to).
This instruction can also use " △ " (existence) and " ¢ " (not existing) operand, operand judges whether the target of current addressing exists, such as:
" this sentence of OR. this sentence. a last speech. the place of production=△ " be exactly to show if current addressing target exists ...,
" this sentence of OR. this sentence. a last speech. the place of production=¢ " be exactly to show if current addressing target does not exist ...,
Certainly, adopt "!=" (being not equal to) can finish judgement too, such as:
" this sentence of OR. this sentence. a last speech. a place of production!=△ " be exactly to show if current addressing target does not exist ...,
This instruction can be after IFxx class instruction a plurality of use side by side this instruct finish a plurality of " or " judgement, also can be ORR, ORRK, ORRR.
Such as:
This sentence of IF. this sentence. this speech. the place of production=Shanghai
This sentence of OR. this sentence. this speech. quantity=100
This sentence of OR. this sentence. this speech. color=redness
This sentence of ORR. this sentence. this speech. color=color register
ORR
Form: the content of ORR directly address (operand 1) operational symbol register (operand 2) redirect-Zhen redirect-vacation
For example: ORR This sentence. this sentence. this speech. the place of production = Shanghai Jump01 20 Jump02 30
Illustrate: this instruction is followed after the instruction of IFxx class, by a plurality of these instructions finish side by side a plurality of " or " instruction judged, function is equivalent to the IFR instruction, be one the content of current directly address and number immediately carried out the instruction of logic determines, if condition is " very ", so just jump to this instruction " redirect-Zhen " this row in specified address, such as " jump01 20 " in the example.Directly be " redirect " to current this ORR instruct the IFxx class instruction of pairing front corresponding " THEN_ ... " this dos command line DOS; If condition is " vacation ", so just jump to the specified address in " redirect-vacation " these row of this instruction, such as " jump02 30 " in the example.Generalized case should " redirect " be to point to the dos command line DOS of current this ORR instruction back, so as to continue to carry out the back possible ORxx class instruction or run into till the THEN_xx.
Attention: 1. the operand 1 of this instruction must be the content that belongs to directly address, or say so directly and to carry out addressing with the value of the floating pointer of current expansion word instruction, such as this instruction in " this sentence. this sentence. this speech. the place of production ", if the content of addressing does not exist, be meant at first speech of current sentence such as, the floating pointer of this expansion word instruction, if carry out " this sentence. this sentence. a last speech. the place of production " this operand, " the last speech " carried out then is illegal, non-existent.At this moment, system can automatically perform address of indicating in " there is not the row of turning number (address) in target " these row, this address be system when compiling, generate automatically one produces that " target does not exist! " address of dos command line DOS of this miscue.Certainly, the content of the address that indicates in " there is not the row of turning number (address) in target " these row also can be made amendment artificially, such as, jump to artificial appointed positions and continue to carry out, and can not produce miscue.When modified address content artificially, will be during the system compiling according to capable compiling of label of people's appointment, that of automatic generation that generates redirect no longer automatically produces that " target does not exist! " address of dos command line DOS of miscue.
2. the operand 2 of this instruction must be a register, cannot be numeral, character, and short sentence also is that operand 2 contents must be to adopt the register name of DEFINER instruction statement in this expansion word instruction description.Such as in example, " location register " just can be after instruction " DEFINER location register MEM01 " is carried out, the register of statement.Certainly, also can be the common register i of this expansion word instruction, j, k ... although, not with DEFINER instruction statement.
3. the operational symbol of this instruction can be: "=" (equaling), "!=" (being not equal to), ">" (greater than), ">=" (more than or equal to), "<" (less than), "<=" (smaller or equal to).
Instruction can be after IFxx instruction a plurality of be used to complete side by side a plurality of " or " judgement, also can be OR, ORRK, ORRR.
Such as:
This sentence of IF. this sentence. this speech. the place of production=Shanghai
This sentence of ORR. this sentence. this speech. quantity=quantity register
This sentence of ORR. this sentence. this speech. color=color register
ORRK
Form: ORRK register (operand 1) operational symbol is counted (operand 2) redirect-Zhen redirect-vacation immediately
For example: ORRK Location register = Shanghai Jump01 20 Jump02 30
Illustrate: this instruction is followed after the instruction of IFxx class, by a plurality of these instructions finish side by side a plurality of " or " instruction judged, function is equivalent to the IFRK instruction, be one the content of current register and number immediately carried out the instruction of logic determines, if condition is " very ", so, just jump to this instruction " redirect-Zhen " this row in specified address, such as " jump01 20 " in the example.Generally speaking, be " redirect " to current this IFxx instruction corresponding " THEN_ ... " this dos command line DOS; If condition is " vacation ", so just jump to the specified address in " redirect-vacation " these row of this instruction, such as " jump02 30 " in the example.Generalized case should " redirect " be to point to the dos command line DOS of current this ORR instruction back, so as to continue to carry out the back possible ORxx class instruction or run into till the THEN_xx.
Attention: 1. the operand 1 of this instruction must be a register, cannot be numeral, character, and short sentence also is that operand 1 content must be to adopt the register name of DEFINER instruction statement in this expansion word instruction description.In example, " location register " just can be after instruction " DEFINER location register MEM01 " is carried out, the register of statement.Certainly, also can be the common register i of this expansion word instruction, j, k ... although, not with DEFINER instruction statement.
2. the operand 2 of this instruction must be to belong to the content of counting immediately, such as numeral, character, short sentence all is fine, can not be the content of register addressing exactly, also be that operand 2 contents can not be to adopt the register name of DEFINER instruction statement in this expansion word instruction description, can not be the common register i of this expansion word instruction certainly, j, k ...Such as " Shanghai " in the example is exactly that a character type is counted immediately.
3. the operational symbol of this instruction can be: "=" (equaling), "!=" (being not equal to), ">" (greater than), ">=" (more than or equal to),
"<" (less than), "<=" (smaller or equal to).
ORRR
Form: ORRR register (operand 1) operational symbol register (operand 2) redirect-Zhen redirect-vacation
For example: ORRR Location register 1 = Location register 2 Jump01 20 Jump02 30
Illustrate: this instruction is followed after the instruction of IFxx class, by a plurality of these instructions finish side by side a plurality of " or " instruction judged, function is equivalent to the IFRR instruction, be that a content and a content of registers to current register is carried out the instruction of logic determines, if condition is " very ", so just jump to this instruction " redirect-Zhen " this row in specified address, such as " jump01 20 " in the example.Generalized case be " redirect " to current this IFxx instruction corresponding " THEN_ ... " this dos command line DOS; If condition is " vacation ", so just jump to the specified address in " redirect-vacation " these row of this instruction, such as " jump02 30 " in the example.Generally speaking, should " redirect " be the dos command line DOS that points to current this ORRR instruction back so that continue to carry out the back possible ORxx class instruction or run into till the THEN_xx.
Attention: 1. the operand 1 of this instruction must be a register, cannot be numeral, character, and short sentence also is that operand 1 content must be to adopt the register name of DEFINER instruction statement in this expansion word instruction description.Such as in example, " location register 1 " just can be the register that execution command " DEFINER location register 1 MEM15 " is stated.Certainly, also can be the common register i of this expansion word instruction, j, k ... although, not with DEFINER instruction statement.
2. the operand 2 of this instruction must be a register, require with 1, and just can be to instruct such as here " location register 2 "
After " DEFINER location register 2 MEM25 " carry out, the register of statement.
3. the operational symbol of this instruction can be: "=" (equaling), "!=" (being not equal to), ">" (greater than), ">=" (more than or equal to), "<" (less than), "<=" (smaller or equal to).
ENDIF
Form: ENDIF label (operand 1)
For example: ENDIF Tt00
Illustrate: this instruction is followed after the instruction of IFxx class, finishes one " IFxx ... THEN_xx ... ELSE_xx ... ENDIF ", shows the end of such IFxx quasi-sentence body.
Attention: the operand 1 (label) of this instruction must be the title that exists in label row, can be certain combination of numeral and character, and this label just in time is the row that instructs of the corresponding IFxx of this ENDIF instruction number.
Such as: tt00:IFxx
THEN_xx…
ELSE_xx…
ENDIF?tt00
Here " tt00 " is exactly the row number of corresponding IFxx instruction.
END
Form: END
Illustrate: this instruction is the instruction that shows the end of the ANL language description body that a description expansion word is instructed, and each ANL describes body must one " END " instruction.When carrying out this instruction, system just from current expansion word instruction is carried out, withdraws from.
Attention: the operand part of this instruction all is complete empty.This instruction also can be used for directly withdrawing from certain " midway " position in the appearance midway of ANL language description, uses when being mainly used in debugging.
LET
Form: the content of LET directly address (operand 1) operational symbol is counted (operand 2) immediately
For example: LET This sentence. this sentence. this speech. the place of production = Shanghai
Illustrate: this instruction is that a content to current directly address is carried out the instruction of assignment by counting immediately, such as in example, finish exactly with count immediately " Shanghai " (character type) assignment give current expansion word instruction current floating pointer institute directly address " this sentence. this sentence. this speech. the place of production " operand 1 appointed positions, after this instruction executed, " place of production " attribute of the current speech of floating pointer indication was endowed " Shanghai " such value.
Attention: 1. the operand 1 of this instruction must be the content that belongs to directly address, or say so directly and to carry out addressing with the value of the floating pointer of current expansion word instruction, such as this instruction in " this sentence. this sentence. this speech. the place of production ", if the content of addressing does not exist, be meant at first speech of current sentence such as, the floating pointer of this expansion word instruction, if carry out " this sentence. this sentence. a last speech. the place of production " this operand, " the last speech " carried out then is illegal, non-existent.At this moment, system can automatically perform address of indicating in " there is not the row of turning number (address) in target " these row, this address be system when compiling, generate automatically one produces that " target does not exist! " address of dos command line DOS of this miscue.Certainly, the content of the address that indicates in " there is not the row of turning number (address) in target " these row also can be made amendment artificially, such as, jump to artificial appointed positions and continue to carry out, and can not produce miscue.When modified address content artificially, will be during the system compiling according to capable compiling of label of people's appointment, that of automatic generation that generates redirect no longer automatically produces that " target does not exist! " address of dos command line DOS of miscue.
2. the operand 2 of this instruction must be to belong to the content of counting immediately, such as numeral, character, short sentence all is fine, and can not be the content of register addressing exactly, also is that operand 2 contents can not be to adopt the register name of DEFINER instruction statement in this expansion word instruction description, certainly can not be the common register i of this expansion word instruction, j, k ... although, not with DEFINER instruction statement.
3. the operational symbol of this instruction can be: "=" (equaling), " ~ +=" (add operation of character string), "+" (add operation that counts), " " (reducing of arithmetic), " * " (arithmetic take advantage of operation), "/" (arithmetic remove operation).
LETR
Form: the content of LETR directly address (operand 1) operational symbol register (operand 2)
For example: LETR This sentence. this sentence. this speech. the place of production = Location register
Illustrate: this instruction is an instruction of the content of current directly address being carried out assignment by register, such as in example, suppose that value current in " location register " is " Shanghai ", so, will pass through register (location register) " Shanghai " (character type) assignment is given current expansion word instruction current floating pointer institute directly address " this sentence. this sentence. this speech. the place of production " operand 1 appointed positions, after this instruction executed, " place of production " attribute of the current speech of floating pointer indication was endowed " Shanghai " such value.
Attention: 1. the operand 1 of this instruction must be the content that belongs to directly address, or say so directly and to carry out addressing with the value of the floating pointer of current expansion word instruction, such as this instruction in " this sentence. this sentence. this speech. the place of production ", if the content of addressing does not exist, be meant at first speech of current sentence such as, the floating pointer of this expansion word instruction, if carry out " this sentence. this sentence. a last speech. the place of production " this operand, " the last speech " carried out then is illegal, non-existent.At this moment, system can automatically perform address of indicating in " there is not the row of turning number (address) in target " these row, this address be system when compiling, generate automatically one produces that " target does not exist! " address of dos command line DOS of this miscue.Certainly, the content of the address that indicates in " there is not the row of turning number (address) in target " these row also can be made amendment artificially, such as, jump to artificial appointed positions and continue to carry out, and can not produce miscue.When modified address content artificially, will be during the system compiling according to capable compiling of label of people's appointment, that of automatic generation that generates redirect no longer automatically produces that " target does not exist! " address of dos command line DOS of miscue.
2. the operand 2 of this instruction must be a register, cannot be numeral, character, and short sentence also is that operand 2 contents must be to adopt the register name of DEFINER instruction statement in this expansion word instruction description.Such as in example, " location register " just can be after instruction " DEFINER location register MEM01 " is carried out, the register of statement.Certainly, also can be the common register i of this expansion word instruction, j, k ... although, not with DEFINER instruction statement.
3. the operational symbol of this instruction can be: "=" (equaling), " ~ +=" (add operation of character string), "+" (add operation that counts),
"-" (reducing of arithmetic), " * " (arithmetic take advantage of operation), "/" (arithmetic remove operation).
LETRK
Form: LETRK register (operand 1) operational symbol is counted (operand 2) immediately
For example: LETRK Location register = Shanghai
Illustrate: this instruction is one the content in the current register is carried out the instruction of assignment by number immediately, such as in example, finish exactly and will count immediately in the register " location register " of " Shanghai " (character type) assignment to the current register addressing of current expansion word instruction, after this instruction executed, " location register " was endowed " Shanghai " such value.
Attention: 1. the operand 1 of this instruction must be a register, cannot be numeral, character, and short sentence also is that operand 1 content must be to adopt the register name of DEFINER instruction statement in this expansion word instruction description.Such as in example, " location register " just can be after instruction " DEFINER location register MEM01 " is carried out, the register of statement.Certainly, also can be the common register i of this expansion word instruction, j, k ... although, not with DEFINER instruction statement.
2. the operand 2 of this instruction must be to belong to the content of counting immediately, such as numeral, character, short sentence all is fine, can not be the content of register addressing exactly, also be that operand 2 contents can not be to adopt the register name of DEFINER instruction statement in this expansion word instruction description, can not be the common register i of this expansion word instruction certainly, j, k ...Such as " Shanghai " in the example is exactly that a character type is counted immediately.
3. the operational symbol of this instruction can be: "=" (equaling), " ~ +=" (add operation of character string), "+" (add operation that counts),
"-" (reducing of arithmetic), " * " (arithmetic take advantage of operation), "/" (arithmetic remove operation).
LETRR
Form: LETRR register (operand 1) operational symbol register (operand 2)
For example: LETRR Location register 1 = Location register 2
Illustrate: this instruction is an instruction of the content in the current register being carried out assignment by register, in example, be exactly in the register " location register 1 " of content assignment with register " location register 2 " to the current register addressing of current expansion word instruction, if the value of " location register 2 " is " Shanghai ", after this instruction executed, " location register 1 " was endowed " Shanghai " such value so.
Attention: 1. the operand 1 of this instruction must be a register, cannot be numeral, character, and short sentence also is that operand 1 content must be to adopt the register name of DEFINER instruction statement in this expansion word instruction description.Such as in example, " location register 1 " just can be the register that execution command " DEFINER location register 1 MEM15 " is stated.Certainly, also can be the common register i of this expansion word instruction, j, k ... although, not with DEFINER instruction statement.
2. the operand 2 of this instruction must be a register, require with 1, and just can be to instruct such as here " location register 2 "
After " DEFINER location register 2 MEM25 " carry out, the register of statement.
3. the operational symbol of this instruction can be: "=" (equaling), " ~ +=" (add operation of character string), "+" (add operation that counts),
"-" (reducing of arithmetic), " * " (arithmetic take advantage of operation), "/" (arithmetic remove operation).
TRIM_LEFT
Form: the content of TRIM_LEFT directly address (operand 1) operational symbol is counted (operand 2) immediately
For example: TRIM_LEFT This sentence. this sentence. this speech. the place = Shanghai
Illustrate: this instruction is that a content to current directly address (character string) is from left side deletion and the operational order of counting (operand 2) identical part immediately, in example, suppose the instruction of current expansion word current floating pointer institute directly address " this sentence. this sentence. this speech. the position " its content of (operand 1) appointed positions is " Shanghai high-tech park ", the value of " place " attribute that is the current speech of floating pointer is " a Shanghai high-tech park ", so, after this instruction executed, the value of " place " attribute of the current speech of floating pointer indication just was trimmed to " high-tech park " such value.
Attention: 1. the operand 1 of this instruction must be the content that belongs to directly address, or say so directly and to carry out addressing with the value of the floating pointer of current expansion word instruction, such as this instruction in " this sentence. this sentence. this speech. the place of production ", if the content of addressing does not exist, be meant at first speech of current sentence such as, the floating pointer of this expansion word instruction, if carry out " this sentence. this sentence. a last speech. the place of production " this operand, " the last speech " carried out then is illegal, non-existent.At this moment, system could automatically perform address of indicating in " there is not the row of turning number (address) in target " these row, and this address is when compile in system, and " target does not exist in a generation that generates automatically! " address of dos command line DOS of this miscue.Certainly, the content of the address that indicates in " there is not the row of turning number (address) in target " these row also can be made amendment artificially, such as, jump to artificial appointed positions and continue to carry out, and can not produce miscue.When modified address content artificially, will be during the system compiling according to capable compiling of label of people's appointment, that of automatic generation that generates redirect no longer automatically produces that " target does not exist! " address of dos command line DOS of miscue.
2. the operand 2 of this instruction must be to belong to the content of counting immediately, such as numeral, character, short sentence all is fine, and can not be the content of register addressing exactly, also is that operand 2 contents can not be to adopt the register name of DEFINER instruction statement in this expansion word instruction description, certainly can not be the common register i of this expansion word instruction, j, k ... although, not with DEFINER instruction statement.
3. the operational symbol of this instruction can be: "=" (equaling).
TRIM_LEFTR
Form: the content of TRIM_LEFTR directly address (operand 1) operational symbol register (operand 2)
For example: TRIM_LEFTR This sentence. this sentence. this speech. the place = Location register
Illustrate: this instruction is the operational order of a content to current directly address (character string) from the left side deletion part identical with content the register (operand 2), such as in example, suppose the instruction of current expansion word current floating pointer institute directly address " this sentence. this sentence. this speech. the position " its content of (operand 1) appointed positions is " Shanghai high-tech park ", the value of " place " attribute that is the current speech of floating pointer is " a Shanghai high-tech park ", and the value in the assumed position register is " Shanghai ", after this instruction executed, the value of " place " attribute of the current speech of floating pointer indication just was trimmed to " high-tech park " such value so.
Attention: 1. the operand 1 of this instruction must be the content that belongs to directly address, or say so directly and to carry out addressing with the value of the floating pointer of current expansion word instruction, such as this instruction in " this sentence. this sentence. this speech. the place of production ", if the content of addressing does not exist, be meant at first speech of current sentence such as, the floating pointer of this expansion word instruction, if carry out " this sentence. this sentence. a last speech. the place of production " this operand, " the last speech " carried out then is illegal, non-existent.At this moment, system can automatically perform address of indicating in " there is not the row of turning number (address) in target " these row, this address be system when compiling, generate automatically one produces that " target does not exist! " address of dos command line DOS of this miscue.Certainly, the content of the address that indicates in " there is not the row of turning number (address) in target " these row also can be made amendment artificially, such as, jump to artificial appointed positions and continue to carry out, and can not produce miscue.When modified address content artificially, will be during the system compiling according to capable compiling of label of people's appointment, that of automatic generation that generates redirect no longer automatically produces that " target does not exist! " address of dos command line DOS of miscue.
2. the operand 2 of this instruction must be a register, cannot be numeral, character, and short sentence also is that operand 2 contents must be to adopt the register name of DEFINER instruction statement in this expansion word instruction description.Such as in example, " location register " just can be after instruction " DEFINER location register MEM01 " is carried out, the register of statement.Certainly, also can be the common register i of this expansion word instruction, j, k ... although, not with DEFINER instruction statement.
3. the operational symbol of this instruction can be: "=" (equaling).
TRIM_LEFTRK
Form: TRIM_LEFTRK register (operand 1) operational symbol is counted (operand 2) immediately
For example: TRIM_LEFTRK Location register = Shanghai
Illustrate: this instruction is that a content to current register addressing (character string) is from left side deletion and the operational order of counting (operand 2) part that content is identical immediately, such as in example, the content of supposing " location register " (operand 1) of the current register addressing that current expansion word instructs is " a Shanghai high-tech park ", so, after this instruction executed, the value of " location register " just was trimmed to " high-tech park " such value.
Attention: 1. the operand 1 of this instruction must be a register, cannot be numeral, character, and short sentence also is that operand 1 content must be to adopt the register name of DEFINER instruction statement in this expansion word instruction description.Such as in example, " location register " just can be after instruction " DEFINER location register MEM01 " is carried out, the register of statement.Certainly, also can be the common register i of this expansion word instruction, j, k ... although, not with DEFINER instruction statement.
2. the operand 2 of this instruction must be to belong to the content of counting immediately, such as numeral, character, short sentence all is fine, can not be the content of register addressing exactly, also be that operand 2 contents can not be to adopt the register name of DEFINER instruction statement in this expansion word instruction description, can not be the common register i of this expansion word instruction certainly, j, k ...Such as " Shanghai " in the example is exactly that a character type is counted immediately.
3. the operational symbol of this instruction can be: "=" (equaling).
TRIM_LEFTRR
Form: TRIM_LEFTRR register (operand 1) operational symbol register (operand 2)
For example: TRIM_LEFTRR Location register 1 = Location register 2
Illustrate: this instruction is the operational order of a content to current register addressing (character string) from the left side deletion part identical with content the register (operand 2), such as, in example, the content of supposing the register " location register 1 " (operand 1) of the current register addressing that current expansion word instructs is " a Shanghai high-tech park ", and the content of cutting hypothesis " location register 2 " is " Shanghai ", after this instruction was carried out, the value of " location register 1 " just was trimmed to " high-tech park " such value so.
Attention: 1. the operand 1 of this instruction must be a register, cannot be numeral, character, and short sentence also is that operand 1 content must be to adopt the register name of DEFINER instruction statement in this expansion word instruction description.In example, " location register 1 " just can be after instruction " DEFINER location register 1 MEM15 " is carried out, the register of statement.Certainly, also can be the common register i of this expansion word instruction, j, k ... although, not with DEFINER instruction statement.
2. the operand 2 of this instruction must be a register, require with 1, and just can be to instruct such as here " location register 2 "
After " DEFINER location register 2 MEM25 " carry out, the register of statement.
3. the operational symbol of this instruction can be: "=" (equaling).
TRIM_RIGHT
Form: the content of TRIM_RIGHT directly address (operand 1) operational symbol is counted (operand 2) immediately
For example: TRIM_RIGHT This sentence. this sentence. this speech. the place = High-tech park
Illustrate: this instruction is that a content to current directly address (character string) is from the right deletion and the operational order of counting (operand 2) identical part immediately, in example, suppose the instruction of current expansion word current floating pointer institute directly address " this sentence. this sentence. this speech. the position " its content of (operand 1) appointed positions is " Shanghai high-tech park ", the value of " place " attribute that is the current speech of floating pointer is " a Shanghai high-tech park ", after this instruction was carried out, the value of " place " attribute of the current speech of floating pointer indication just was trimmed to " Shanghai " such value so.
Attention: 1. the operand 1 of this instruction must be the content that belongs to directly address, or say so directly and to carry out addressing with the value of the floating pointer of current expansion word instruction, such as this instruction in " this sentence. this sentence. this speech. the place of production ", if the content of addressing does not exist, be meant at first speech of current sentence such as, the floating pointer of this expansion word instruction, if carry out " this sentence. this sentence. a last speech. the place of production " this operand, " the last speech " carried out then is illegal, non-existent.At this moment, system can automatically perform address of indicating in " there is not the row of turning number (address) in target " these row, this address be system when compiling, generate automatically one produces that " target does not exist! " address of dos command line DOS of this miscue.Certainly, the content of the address that indicates in " there is not the row of turning number (address) in target " these row also can be made amendment artificially, such as, jump to artificial appointed positions and continue to carry out, and can not produce miscue.When modified address content artificially, will be during the system compiling according to capable compiling of label of people's appointment, that of automatic generation that generates redirect no longer automatically produces that " target does not exist! " address of dos command line DOS of miscue.
2. the operand 2 of this instruction must be to belong to the content of counting immediately, such as numeral, character, short sentence all is fine, and can not be the content of register addressing exactly, also is that operand 2 contents can not be to adopt the register name of DEFINER instruction statement in this expansion word instruction description, certainly can not be the common register i of this expansion word instruction, j, k ... although, not with DEFINER instruction statement.
3. the operational symbol of this instruction can be: "=" (equaling).
TRIM_RIGHTR
Form: the content of TRIM_RIGHTR directly address (operand 1) operational symbol register (operand 2)
For example: TRIM_RIGHTR This sentence. this sentence. this speech. the place = Location register
Illustrate: this instruction is the operational order of a content to current directly address (character string) from the right deletion part identical with content the register (operand 2), in example, suppose the instruction of current expansion word current floating pointer institute directly address " this sentence. this sentence. this speech. the position " its content of (operand 1) appointed positions is " Shanghai high-tech park ", the value of " place " attribute that is the current speech of floating pointer is " a Shanghai high-tech park ", and the value in the assumed position register is " high-tech park ", so, after this instruction executed, the value of " place " attribute of the current speech of floating pointer indication just was trimmed to " Shanghai " such value.
Attention: 1. the operand 1 of this instruction must be the content that belongs to directly address, or say so directly and to carry out addressing with the value of the floating pointer of current expansion word instruction, such as this instruction in " this sentence. this sentence. this speech. the place of production ", if the content of addressing does not exist, be meant at first speech of current sentence such as, the floating pointer of this expansion word instruction, if carry out " this sentence. this sentence. a last speech. the place of production " this operand, " the last speech " carried out then is illegal, non-existent.At this moment, system can automatically perform address of indicating in " there is not the row of turning number (address) in target " these row, this address be system when compiling, generate automatically one produces that " target does not exist! " address of dos command line DOS of this miscue.Certainly, the content of the address that indicates in " there is not the row of turning number (address) in target " these row also can be made amendment artificially, such as, jump to artificial appointed positions and continue to carry out, and can not produce miscue.When modified address content artificially, will be during the system compiling according to capable compiling of label of people's appointment, that of automatic generation that generates redirect no longer automatically produces that " target does not exist! " address of dos command line DOS of miscue.
2. the operand 2 of this instruction must be a register, cannot be numeral, character, and short sentence also is that operand 2 contents must be to adopt the register name of DEFINER instruction statement in this expansion word instruction description.In example, the register of being stated when " location register " just can be execution command " DEFINER location register MEM01 ".Certainly, also can be the common register i of this expansion word instruction, j, k ... although, not with DEFINER instruction statement.
3. the operational symbol of this instruction can be: "=" (equaling).
TRIM_RIGHTRK
Form: TRIM_RIGHTRK register (operand 1) operational symbol is counted (operand 2) immediately
For example: TRIM_ RIGHTRK Location register = High-tech park
Illustrate: this instruction is that a content to current register addressing (character string) is from the right deletion and the operational order of counting (operand 2) part that content is identical immediately, such as in example, the content of supposing " location register " (operand 1) of the current register addressing that current expansion word instructs is " a Shanghai high-tech park ", after this instruction executed, the value of " location register " just was trimmed to " Shanghai " such value so.
Attention: 1. the operand 1 of this instruction must be a register, cannot be numeral, character, and short sentence also is that operand 1 content must be to adopt the register name of DEFINER instruction statement in this expansion word instruction description.In example, " location register " just can be after instruction " DEFINER location register MEM01 " is carried out, the register of statement.Certainly, also can be the common register i of this expansion word instruction, j, k ... although, not with DEFINER instruction statement.
2. the operand 2 of this instruction must be to belong to the content of counting immediately, such as numeral, character, short sentence all is fine, can not be the content of register addressing exactly, also be that operand 2 contents can not be to adopt the register name of DEFINER instruction statement in this expansion word instruction description, can not be the common register i of this expansion word instruction certainly, j, k ...Such as " Shanghai " in the example is exactly that a character type is counted immediately.
3. the operational symbol of this instruction can be: "=" (equaling).
TRIM_RIGHTRR
Form: TRIM_RIGHTRR register (operand 1) operational symbol register (operand 2)
For example: TRIM_RIGHTRR Location register 1 = Location register 2
Illustrate: this instruction is the operational order of a content to current register addressing (character string) from the right deletion part identical with content the register (operand 2), such as in example, the content of supposing " location register 1 " (operand 1) of the current register addressing that current expansion word instructs is " a Shanghai high-tech park ", and the content of hypothesis " location register 2 " is " high-tech park ", after this instruction executed, the value of " location register 1 " just was trimmed to " Shanghai " such value so.
Attention: 1. the operand 1 of this instruction must be a register, cannot be numeral, character, and short sentence also is that operand 1 content must be to adopt the register name of DEFINER instruction statement in this expansion word instruction description.Such as in example, " location register 1 " just can be the register that execution command " DEFINER location register 1 MEM15 " is stated.Certainly, also can be the common register i of this expansion word instruction, j, k ... although, not with DEFINER instruction statement.
2. the operand 2 of this instruction must be a register, require with 1, and just can be to instruct such as here " location register 2 "
After " DEFINER location register 2 MEM25 " carry out, the register of statement.
3. the operational symbol of this instruction can be: "=" (equaling).
GET_LEFT
Form: the content of GET_LEFT directly address (operand 1) operational symbol is counted (operand 2) immediately
For example: GET_LEFT This sentence. this sentence. this speech. the place = 2
Illustrate: this instruction is that a content to current directly address (character string) is truncated to the operational order of counting the part of (operand 2) individual character length immediately from the left side, in example, suppose the instruction of current expansion word current floating pointer institute directly address " this sentence. this sentence. this speech. the position " its content of (operand 1) appointed positions is " Shanghai high-tech park ", the value of " place " attribute that is the current speech of floating pointer is " a Shanghai high-tech park ", so, after this instruction executed, the value of " place " attribute of the current speech of floating pointer indication just was trimmed to " Shanghai " such value.
Attention: 1. the operand 1 of this instruction must be the content that belongs to directly address, or say so directly and to carry out addressing with the value of the floating pointer of current expansion word instruction, such as this instruction in " this sentence. this sentence. this speech. the place of production ", if the content of addressing does not exist, be meant at first speech of current sentence such as, the floating pointer of this expansion word instruction, if carry out " this sentence. this sentence. a last speech. the place of production " this operand, " the last speech " carried out then is illegal, non-existent.At this moment, system can automatically perform address of indicating in " there is not the row of turning number (address) in target " these row, this address be system when compiling, generate automatically one produces that " target does not exist! " address of dos command line DOS of this miscue.Certainly the address contents that indicates in " there is not the row of turning number (address) in target " these row also can be made amendment artificially, continues to carry out such as jumping to artificial appointed positions, and can not produce miscue.When modified address content artificially, system's compiling will be according to the label of people's appointment capable the compiling, that of automatic generation that generates redirect no longer automatically produces that " target does not exist! " address of dos command line DOS of miscue.
2. the operand 2 of this instruction must be to belong to the content of counting immediately, can only be numeral here, can not be other content.
3. the operational symbol of this instruction can be: "=" (equaling).
GET_LEFTR
Form: the content of GET_LEFTR directly address (operand 1) operational symbol register (operand 2)
For example: GET_LEFTR This sentence. this sentence. this speech. the place = Location register
Illustrate: this instruction is a content to current directly address (character string) is truncated to the part of the character length of numerical value appointment the register (operand 2) from the left side a operational order, such as in example, suppose the instruction of current expansion word current floating pointer institute directly address " this sentence. this sentence. this speech. the position " its content of (operand 1) appointed positions is " Shanghai high-tech park ", the value of " place " attribute that also is the current speech of floating pointer is " a Shanghai high-tech park ", and the value of cutting in the assumed position register is " 2 ", after this instruction was carried out, the value of " place " attribute of the current speech of floating pointer indication just was trimmed to " Shanghai " such value so.
Attention: 1. the operand 1 of this instruction must be the content that belongs to directly address, or say so directly and to carry out addressing with the value of the floating pointer of current expansion word instruction, such as this instruction in " this sentence. this sentence. this speech. the place of production ", if the content of addressing does not exist, be meant at first speech of current sentence such as, the floating pointer of this expansion word instruction, if carry out " this sentence. this sentence. a last speech. the place of production " this operand, " the last speech " carried out then is illegal, non-existent.At this moment, system can automatically perform address of indicating in " there is not the row of turning number (address) in target " these row, this address be system when compiling, generate automatically one produces that " target does not exist! " address of dos command line DOS of this miscue.Certainly, the content of the address that indicates in " there is not the row of turning number (address) in target " these row also can be made amendment artificially, continues to carry out such as jumping to artificial appointed positions, and can not produce miscue.When modified address content artificially, will be during the system compiling according to capable compiling of label of people's appointment, that of automatic generation that generates redirect no longer automatically produces that " target does not exist! " address of dos command line DOS of miscue.
2. the operand 2 of this instruction must be a register, and its content can only be numerical value, can not be other guide.
3. the operational symbol of this instruction can be: "=" (equaling).
GET_LEFTRK
Form: GET_LEFTRK register (operand 1) operational symbol is counted (operand 2) immediately
For example: GET_LEFTRK Location register = 2
Illustrate: this instruction is a content to current register addressing (character string) is truncated to the part of the character length of counting the numerical value appointment (operand 2) immediately from the left side a operational order, such as in example, the content of supposing " location register " (operand 1) of the current register addressing that current expansion word instructs is " a Shanghai high-tech park ", after this instruction executed, the value of " location register " just was trimmed to " Shanghai " such value so.
Attention: 1. the operand 1 of this instruction must be a register, cannot be numeral, character, and short sentence also is that operand 1 content must be to adopt the register name of DEFINER instruction statement in this expansion word instruction description.Such as in example, " location register " just can be after instruction " DEFINER location register MEM01 " is carried out, the register of statement.Certainly, also can be the common register i of this expansion word instruction, j, k ... although, not with DEFINER instruction statement.
2. the operand 2 of this instruction must be to belong to the content of counting immediately, and can only be numerical value, can not be other guide.
3. the operational symbol of this instruction can be: "=" (equaling).
GET_LEFTRR
Form: GET_LEFTRR register (operand 1) operational symbol register (operand 2)
For example: GET_LEFTRR Location register 1 = Location register 2
Illustrate: this instruction is the operational order of the part of a content to current register addressing (character string) character length that is truncated to the numerical value appointment the register (operand 2) from the left side, such as in example, the content of supposing " location register 1 " (operand 1) of the current register addressing that current expansion word instructs is " a Shanghai high-tech park ", and the content of hypothesis " location register 2 " is " 2 ", after this instruction executed, the value of " location register 1 " just was trimmed to " Shanghai " such value so.
Attention: 1. the operand 1 of this instruction must be a register, cannot be numeral, character, and short sentence also is that operand 1 content must be to adopt the register name of DEFINER instruction statement in this expansion word instruction description.Such as in example, " location register 1 " just can be the register that execution command " DEFINER location register 1 MEM15 " is stated.Certainly, also can be the common register i of this expansion word instruction, j, k ... although, not with DEFINER instruction statement.
2. the operand 2 of this instruction must be a register, requires with 1, and the content of register must be a numerical value, can not be other guide.
3. the operational symbol of this instruction can be: "=" (equaling).
GET_RIGHT
Form: the content of GET_RIGHT directly address (operand 1) operational symbol is counted (operand 2) immediately
For example: GET_RIGHT This sentence. this sentence. this speech. the place = 4
Illustrate: this instruction is that a content to current directly address (character string) is truncated to the operational order of counting the part of (operand 2) individual character length immediately from the right, in example, suppose the instruction of current expansion word current floating pointer institute directly address " this sentence. this sentence. this speech. the position " its content of (operand 1) appointed positions is " Shanghai high-tech park ", the value of " place " attribute that is the current speech of floating pointer is " a Shanghai high-tech park ", so, after this instruction executed, the value of " place " attribute of the current speech of floating pointer indication just was trimmed to " high-tech park " such value.
Attention: 1. the operand 1 of this instruction must be the content that belongs to directly address, or say so directly and to carry out addressing with the value of the floating pointer of current expansion word instruction, such as this instruction in " this sentence. this sentence. this speech. the place of production ", if the content of addressing does not exist, be meant at first speech of current sentence such as, the floating pointer of this expansion word instruction, if carry out " this sentence. this sentence. a last speech. the place of production " this operand, " the last speech " carried out then is illegal, non-existent.At this moment, system can automatically perform address of indicating in " there is not the row of turning number (address) in target " these row, this address be system when compiling, generate automatically one produces that " target does not exist! " address of dos command line DOS of this miscue.Certainly, the content of the address that indicates in " there is not the row of turning number (address) in target " these row also can be made amendment artificially, such as, jump to artificial appointed positions and continue to carry out, and can not produce miscue.When modified address content artificially, will be during the system compiling according to capable compiling of label of people's appointment, that of automatic generation that generates redirect no longer automatically produces that " target does not exist! " address of dos command line DOS of miscue.
2. the operand 2 of this instruction must be to belong to the content of counting immediately, can only be numeral here, can not be other content.
3. the operational symbol of this instruction can be: "=" (equaling).
GET_RIGHTR
Form: the content of GET_RIGHTR directly address (operand 1) operational symbol register (operand 2)
For example: GET_RIGHTR This sentence. this sentence. this speech. the place = Location register
Illustrate: this instruction is a content to current directly address (character string) is truncated to the part of the character length of numerical value appointment the register (operand 2) from the right a operational order, such as in example, suppose the instruction of current expansion word current floating pointer institute directly address " this sentence. this sentence. this speech. the position " its content of (operand 1) appointed positions is " Shanghai high-tech park ", the value of " place " attribute that also is the current speech of floating pointer is " a Shanghai high-tech park ", and the value in the assumed position register is " 4 ", after this instruction executed, the value of " place " attribute of the current speech of floating pointer indication just was trimmed to " high-tech park " such value so.
Attention: 1. the operand 1 of this instruction must be the content that belongs to directly address, or say so directly and to carry out addressing with the value of the floating pointer of current expansion word instruction, such as this instruction in " this sentence. this sentence. this speech. the place of production ", if the content of addressing does not exist, be meant at first speech of current sentence such as, the floating pointer of this expansion word instruction, if carry out " this sentence. this sentence. a last speech. the place of production " this operand, wherein " a last speech " then is illegal, non-existent.At this moment, system can automatically perform address of indicating in " there is not the row of turning number (address) in target " these row, this address be system when compiling, generate automatically one produces that " target does not exist! " address of dos command line DOS of this miscue.Certainly, the content of the address that indicates in " there is not the row of turning number (address) in target " these row also can be made amendment artificially, such as, jump to artificial appointed positions and continue to carry out, and can not produce miscue.When modified address content artificially, will be during the system compiling according to capable compiling of label of people's appointment, that of automatic generation that generates redirect no longer automatically produces that " target does not exist! " address of dos command line DOS of miscue.
2. the operand 2 of this instruction must be a register, and its content can only be numerical value, can not be other guide.
3. the operational symbol of this instruction can be: "=" (equaling).
GET_RIGHTRK
Form: GET_RIGHTRK register (operand 1) operational symbol is counted (operand 2) immediately
For example: GET_RIGHTRK Location register = 4
Illustrate: this instruction is a content to current register addressing (character string) is truncated to the part of the character length of counting the numerical value appointment (operand 2) immediately from the right a operational order, such as in example, the content of supposing " location register " (operand 1) of the current register addressing that current expansion word instructs is " a Shanghai high-tech park ", after this instruction executed, the value of " location register " just was trimmed to " high-tech park " such value so.
Attention: 1. the operand 1 of this instruction must be a register, cannot be numeral, character, and short sentence also is that operand 1 content must be to adopt the register name of DEFINER instruction statement in this expansion word instruction description.Such as in example, " location register " just can be after instruction " DEFINER location register MEM01 " is carried out, the register of statement.Certainly, also can be the common register i of this expansion word instruction, j, k ... although, not with DEFINER instruction statement.
2. the operand 2 of this instruction must be to belong to the content of counting immediately, and can only be numerical value, can not be other guide.
3. the operational symbol of this instruction can be: "=" (equaling).
GET_RIGHTRR
Form: GET_RIGHTRR register (operand 1) operational symbol register (operand 2)
For example: GET_RIGHTRR Location register 1 = Location register 2
Illustrate: this instruction is the operational order of the part of a content to current register addressing (character string) character length that is truncated to the numerical value appointment the register (operand 2) from the right, such as in example, the content of supposing " location register 1 " (operand 1) of the current register addressing that current expansion word instructs is " a Shanghai high-tech park ", and the content of hypothesis " location register 2 " is " 4 ", after this instruction executed, the value of " location register 1 " just was trimmed to " high-tech park " such value so.
Attention: 1. the operand 1 of this instruction must be a register, cannot be numeral, character, and short sentence also is that operand 1 content must be to adopt the register name of DEFINER instruction statement in this expansion word instruction description.Such as in example, " location register 1 " just can be the register that execution command " DEFINER location register 1 MEM15 " is stated.Certainly, also can be the common register i of this expansion word instruction, j, k ... although, not with DEFINER instruction statement.
2. the operand 2 of this instruction must be a register, requires with 1, and the content of register must be a numerical value, can not be other guide.
3. the operational symbol of this instruction can be: "=" (equaling).
GOTO
Form: GOTO label (operand 1)
For example: GOTO Loop1
Illustrate: this instruction is to finish the operation that unconditional jump directly begins to carry out to the position of nominated bank number.
Attention: the operand 1 (label) of this instruction must be the title that exists in the label row, also can be certain combination of numeral and character, but label can not be the name that repetition is arranged.
Such as: loop1:LETxx
LETxx…
GOTO?loop1
Here " loop1 " is exactly the row number of a redirect.
GOTOR
Form: GOTOR register (operand 1)
For example: GOTOR Carry out register
Illustrate: this instruction is to finish the operation that unconditional jump directly begins to carry out to the position of the value nominated bank of the register of register addressing number.
Attention: the value in the register of this instruction (operand 1) must be a numerical value, and in the scope of current expansion word instruction ANL description block appointment.
CALL
Form: CALL label (operand 1)
For example: CALL Loop1
Illustrate: this instruction is used with the RETURN instruction.Finish the operation that the subroutine with row number name of directly unconditionally calling appointment is carried out jointly, and from subroutine, turn back to the position of the next instruction of this instruction by RETURN.
Attention: the operand 1 (label) of this instruction must be the title that exists in the label row, can be certain combination of numeral and character, but label can not be the name that repetition is arranged.Calling can be nested, but the nested number of plies is conditional, can not unlimited call operation, be 40 grades to the maximum such as being provided with at present, also i.e. call operation 40 times continuously, big again will overflowing.If think to want again the nested of more level, should adjust the scope of setting in advance.
Such as: CALL loop1
loop1:LETxx…
RETURN?loop1
Here " CALL loop1 " is exactly an operation of calling with the subroutine of begin column number name.
RETURN
Form: RETURN label (operand 1)
For example: RETURN Loop1
Illustrate: this instruction is used with the CALL instruction.Finish the operation that the subroutine with row number name of directly unconditionally calling appointment is carried out jointly, and from subroutine, turn back to the position of the next instruction of this instruction by RETURN.
Attention: the operand 1 (label) of this instruction must be the title that exists in the label row, also can be certain combination of numeral and character, but label can not be the name that repetition is arranged.
Such as: CALL loop1
loop1:LETxx…
RETURN?loop1
Here " RETURN loop1 " is exactly an operation of returning with the subroutine of begin column number name.
PUSH
Form: PUSH register (operand 1)
For example: PUSH Location register
Illustrate: this instruction is used with the POP instruction.Finish the content of the register of current register addressing is carried out push operation, in for example, content in the current location register is pressed into the current pointer position of storehouse, suppose that the value in " location register " is " Shanghai ", so, after this instruction was carried out, the location conten of stack pointer was " Shanghai ", then, the stack pointer one-level that moves up again.
Attention: the operand 1 of this instruction must be a title of having stated register.The degree of depth of storehouse is conditional, and infinitely push operation is 40 grades to the maximum such as being provided with at present, also i.e. push operation 40 times continuously, big again will overflowing.If think again will be darker stack depth, should adjust the scope of setting in advance.
POP
Form: POP register (operand 1)
For example: POP Location register
Illustrate: this instruction is used with the PUSH instruction.The content of finishing the register of current register addressing goes out stack operation.In for example, the content bullet stack of current stack pointer appointment is entered the register " location register " of register addressing, if the content of current stack pointer appointed positions is " Shanghai ".Should instruct so after the execution, the content of location register is " Shanghai ", and then, stack pointer moves down one-level again.
Attention: the operand 1 of this instruction must be a title of having stated register.The degree of depth of storehouse is conditional, can not infinitely go out stack operation, is 40 grades to the maximum such as being provided with at present, also promptly can go out stack operation 40 times continuously, big again will overflowing.If think again will be darker stack depth, should adjust the scope of setting in advance.
SETON
Form: the content of SETON directly address (operand 1)
For example: SETON This sentence. this sentence. next speech. title
Illustrate: this instruction is that current floating pointer is established to the position of current floating pointer is the specified locational operational order of content (operand 1) of the directly address of reference, in example, the content of supposing the current floating pointer appointed positions of current expansion word instruction is on the position of first speech " we " of " we possess a fondness for science ", so after this instruction executes, the position that floating pointer is specified, the position of the next speech " love " of first speech " we " of this sentence " we possess a fondness for science " exactly.
Attention: 1. the operand 1 of this instruction must be the content that belongs to directly address, or say so directly and to carry out addressing with the value of the floating pointer of current expansion word instruction, such as this instruction in " this sentence. this sentence. this speech. the place of production ", if the content of addressing does not exist, be meant at first speech of current sentence such as, the floating pointer of this expansion word instruction, if carry out " this sentence. this sentence. a last speech. the place of production " this operand, " the last speech " carried out then is illegal, non-existent.At this moment, system could automatically perform the address that indicates in " there is not the row of turning number (address) in target " these row, and when this address was system's compiling, " target did not exist in a generation that generates automatically! " address of dos command line DOS of this miscue.Certainly, the content of the address that indicates in " there is not the row of turning number (address) in target " these row also can be made amendment artificially, such as, jump to artificial appointed positions and continue to carry out, and can not produce miscue.When modified address content artificially, will be during the system compiling according to capable compiling of label of people's appointment, that of automatic generation that generates redirect no longer automatically produces that " target does not exist! " address of dos command line DOS of miscue.
2. the attribute-name in the operand 1 of this instruction must be located with " title ", it also is the title of object, such as: " this sentence. last one. the most preceding speech. title ", be established to exactly current sentence the position of first speech of a last sentence, what attribute-name was used here is " title ".
SETONR
Form: SETONR register (operand 1)
For example: SETONR The speech location register
Illustrate: this instruction is that current floating pointer is established to the position of current floating pointer is the specified locational operational order of content (operand 1) of the register addressing of reference, such as in example, the content of supposing the current floating pointer appointed positions of current expansion word instruction is on the position of first speech " we " of " we possess a fondness for science ", and what cut that hypothesis preserves in register " speech location register " is the position of the 3rd speech " science ", so after this instruction is carried out, the position that floating pointer is specified, the position of the 3rd of this sentence " we possess a fondness for science " the speech " science " exactly.
Attention: the operand 1 of this instruction must be a title of having stated register.And this register must be to have write down or the position of certain speech of a certain sentence.This content is by carrying out the SENDPOS instruction, with at that time floating pointer location records in the register.
GOBACK
Form: GOBACK
For example: GOBACK
Illustrate: this instruction be with current may be " visit " returns to the owner pointer of current expansion word instruction to the floating pointer of contextual other certain positions locational operational order, in example, the expansion word of supposing current execution instructs the pairing speech to be the position of first speech " we ", and the content of the owner pointer appointed positions of current expansion word instruction is on the position of the 3rd speech " science " of " we possess a fondness for science ", after this instruction executed, the specified position of floating pointer of current expansion word instruction will " be got back to " position of first speech " we " of this sentence " we possess a fondness for science " more so.
Attention: this instruction has only order code, without any other operand.
SEND
Form: the content of SEND directly address (operand 1) operational symbol register (operand 2)
For example: SEND This sentence. this sentence. this speech. the place = Location register
Illustrate: this instruction is that a content to current directly address sends to the operational order in the register (operand 2), such as in example, suppose the instruction of current expansion word current floating pointer institute directly address " this sentence. this sentence. this speech. the position " its content of (operand 1) appointed positions is " Shanghai high-tech park ", so, after this instruction executed, register " location register " just was assigned " Shanghai " such value.
Attention: 1. the operand 1 of this instruction must be the content that belongs to directly address, or say so directly and to carry out addressing with the value of the floating pointer of current expansion word instruction, such as this instruction in " this sentence. this sentence. this speech. the place ", if the content of addressing does not exist, be meant at first speech of current sentence such as the floating pointer of this expansion word instruction, if carry out " this sentence. this sentence. a last speech. the place " this operand, wherein " a last speech " is illegal, and be non-existent.At this moment, system could automatically perform the address that indicates in " there is not the row of turning number (address) in target " these row, and when this address was system's compiling, " target did not exist in a generation that generates automatically! " address of dos command line DOS of this miscue.Certainly, the content of the address that indicates in " there is not the row of turning number (address) in target " these row also can be made amendment artificially, such as, jump to artificial appointed positions and continue to carry out, and can not produce miscue.When modified address content artificially, will be during the system compiling according to capable compiling of label of people's appointment, that of automatic generation that generates redirect no longer automatically produces that " target does not exist! " address of dos command line DOS of miscue.
2. the operand 2 of this instruction must be a register, and it can be a numerical value by the content of assignment, character string etc.
3. the operational symbol of this instruction can be: "=" (equaling).
SENDPOS
Form: the content of SENDPOS directly address (operand 1) operational symbol register (operand 2)
For example: SENDPOS This sentence. this sentence. this speech. title = Location register
Illustrate: this instruction is that a position with the content place of current directly address sends to the operational order in the register (operand 2), such as in example, suppose the instruction of current expansion word current floating pointer institute directly address " this sentence. this sentence. this speech. the position " (operand 1) appointed positions, its content is " Shanghai high-tech park " position " 2/5 " (the 5th speech of second sentence), so, after this instruction was carried out, register " location register " just was assigned " 2/5 " so locative value.
Attention: 1. the operand 1 of this instruction must be the content that belongs to directly address, or say so directly and to carry out addressing with the value of the floating pointer of current expansion word instruction, such as this instruction in " this sentence. this sentence. this speech. title ", if the content of addressing does not exist, be meant at first speech of current sentence such as the floating pointer of this expansion word instruction, if carry out " this sentence. this sentence. a last speech. title " this operand, " a last speech " of execution then is illegal, non-existent.At this moment, system can automatically perform address of indicating in " there is not the row of turning number (address) in target " these row, this address be system when compiling, generate automatically one produces that " target does not exist! " address of dos command line DOS of this miscue.Certainly, the content of the address that indicates in " there is not the row of turning number (address) in target " these row also can be made amendment artificially, such as, jump to artificial appointed positions and continue to carry out, and can not produce miscue.When modified address content artificially, will be during the system compiling according to capable compiling of label of people's appointment, that of automatic generation that generates redirect no longer automatically produces that " target does not exist! " address of dos command line DOS of miscue.
2. the operand 2 of this instruction must be a register, and its content by assignment is locative value.
3. the operational symbol of this instruction can be: "=" (equaling).
SENDLENGTH
Form: the content of SENDLENGTH directly address (operand 1) operational symbol register (operand 2)
For example: SENDLENGTH This sentence. this sentence. this speech. title = The quantity register
Illustrate: this instruction is that the number of a character that the content of current directly address is shared sends to the operational order in the register (operand 2), such as in example, suppose the instruction of current expansion word current floating pointer institute directly address " this sentence. this sentence. this speech. the position " its content of (operand 1) appointed positions is " Shanghai high-tech park ", the number of the character that it is shared is " 6 " (totally 6 Chinese characters) here, so, after this instruction executed, register " location register " just was assigned the value of " 6 " such expression character number.
Attention: 1. the operand 1 of this instruction must be the content that belongs to directly address, or say so directly and to carry out addressing with the value of the floating pointer of current expansion word instruction, such as this instruction in " this sentence. this sentence. this speech. title ", if the content of addressing does not exist, be meant at first speech of current sentence such as the floating pointer of this expansion word instruction, if carry out " this sentence. this sentence. a last speech. title " this operand, " a last speech " of execution then is illegal, non-existent.At this moment, system can automatically perform address of indicating in " there is not the row of turning number (address) in target " these row, this address be system when compiling, generate automatically one produces that " target does not exist! " address of dos command line DOS of this miscue.Certainly, the content of the address that indicates in " there is not the row of turning number (address) in target " these row also can be made amendment artificially, such as, jump to artificial appointed positions and continue to carry out, and can not produce miscue.When modified address content artificially, will be during the system compiling according to capable compiling of label of people's appointment, that of automatic generation that generates redirect no longer automatically produces that " target does not exist! " address of dos command line DOS of miscue.
2. the operand 2 of this instruction must be a register, and its content by assignment is the value of expression character number.
3. the operational symbol of this instruction can be: "=" (equaling).
SENDLENGTHR
Form: SENDLENGTHR register (operand 1) operational symbol register (operand 2)
For example: SENDLENGTHR Color register = The quantity register
Illustrate: this instruction is that a number to the shared character of the content of current register sends to the operational order in the register (operand 2), such as in example, the content of supposing the current register " color register " of current expansion word instruction is " redness ", the number of the character that this content is shared is " 2 " (totally 2 Chinese characters) here, so, after this instruction executed, register " quantity register " just was assigned the value of " 2 " such expression character number.
Attention: 1. being somebody's turn to do the operand 1 of instruction, must be the title of having stated register.
2. the operand 2 of this instruction must be the operand 1 of this instruction, must be the register of having stated, its content by assignment is the value of expression character number.
3. the operational symbol of this instruction can be: "=" (equaling).
FIND
Form: FIND counts (operand 1) operational symbol register (operand 2) immediately
For example: FIND Development = Location register
Illustrate: this instruction is that a basis is counted the operational order that the content in (operand 1) is searched each speech of the sentence at the content place of the directly address of the floating pointer of current expansion word instruction immediately, such as in example, suppose that the sentence content at content place of the current floating pointer institute directly address appointment of current expansion word instruction is " development of Shanghai high-tech park is rapidly! ", and hypothesis " development " is that the lexeme at the 3rd speech place of second sentence puts is " 2/3 ", so, after this instruction execution, register " location register " just is assigned " 2/3 " so locative value.If the speech of being searched does not exist, write " 1 " to register (operand 2) so.
Attention: 1. the operand 1 of this instruction must be one to be counted immediately, can be numerical value or character.
2. the operand 2 of this instruction must be a register, and its content by assignment is locative value.
3. the operational symbol of this instruction can be: "=" (equaling).
FINDR
Form: FINDR register (operand 1) operational symbol register (operand 2)
For example: FINDR Content register = Location register
Illustrate: this instruction is an operational order of each speech of the sentence at the content place of the directly address of the floating pointer of current expansion word instruction being searched according to the content in the register (operand 1), such as in example, suppose that the sentence content at content place of the current floating pointer institute directly address appointment of current expansion word instruction is " development of Shanghai high-tech park is rapidly! "; and suppose that the content of register " content register " is " development "; and " development " be that the lexeme at the 3rd speech place of second sentence puts is " 2/3 "; so; after this instruction was carried out, register " location register " just was assigned " 2/3 " so locative value.If the speech of being searched does not exist, write " 1 " to register (operand 2) so.
Attention: 1. the operand 1 of this instruction must be a register, can be numerical value or character.
2. the operand 2 of this instruction must be a register, and its content by assignment is locative value.
3. the operational symbol of this instruction can be: "=" (equaling).
NOP
Form: NOP
For example: NOP
Illustrate: this instruction is a non-operation instruction of not carrying out any operation, only is to occupy a dos command line DOS.This instruction is mainly used in debugging and uses, or aims at and be on the waiting list the instruction that disappears temporarily with this instruction replacement, and can not change the number of dos command line DOS.
Attention: this instruction does not have other operand.
ERROR
The literal (operand 1) that form: ERROR is descriptive
For example: ERROR Mistake, this operation is illegal!
Illustrate: this instruction is with according to operand 1 content (descriptive literal), generates a miscue window, and the window content displayed is exactly the content of the operand 1 of this instruction back.Such as in example, when executing this instruction, will produce a miscue window so, the content of window is exactly that " mistake, this operation is illegal! ", be convenient to carry out related commissioning according to information.
Attention: this instruction generally is used in some possible illegal operations, points out, or show intermediate information in debugging.And the number of characters in the operand 1 in should instructing is too much unsuitable, is limited in usually in 20 words.
ILET_RAM
Form: the content of ILET_RAM directly address (operand 1) operational symbol register (operand 2)
For example: ILET_RAM This sentence. this sentence. this speech. quantity = The quantity register
Illustrate: this instruction is the operational order that a content by the current directly address of register pair of register indirect addressing is carried out assignment, such as in example, the value of supposing register " quantity register " is " 20 ", and the content of No. 20 register of the statement of this expansion word instruction is " 100 " at this moment, so, after this instruction executes, the current floating pointer institute directly address of current expansion word instruction " this sentence. this sentence. this speech. quantity " property value of attribute-name " quantity " of (operand 1) is " 100 ".
Attention: 1. the operand 1 of this instruction must be the content that belongs to directly address, or say so directly and to carry out addressing with the value of the floating pointer of current expansion word instruction, such as this instruction in " this sentence. this sentence. this speech. title ", if the content of addressing does not exist, be meant at first speech of current sentence such as the floating pointer of this expansion word instruction, if carry out " this sentence. this sentence. a last speech. title " this operand, " a last speech " of execution then is illegal, non-existent.At this moment, system can automatically perform address of indicating in " there is not the row of turning number (address) in target " these row, this address be system when compiling, generate automatically one produces that " target does not exist! " address of dos command line DOS of this miscue.Certainly, the content of the address that indicates in " there is not the row of turning number (address) in target " these row also can be made amendment artificially, such as, jump to artificial appointed positions and continue to carry out, and can not produce miscue.When modified address content artificially, will be during the system compiling according to capable compiling of label of people's appointment, that of automatic generation that generates redirect no longer automatically produces that " target does not exist! " address of dos command line DOS of miscue.
2. the operand 2 of this instruction must be a register, and its content by assignment is the value that is illustrated in the register number of having stated in the ANL language description piece of expansion word instruction.
3. the operational symbol of this instruction can be: "=" (equaling).
ILET_REG
Form: ILET_REG register (operand 1) operational symbol register (operand 2)
For example: ILET_REG Temporary register = The quantity register
Illustrate: this instruction is the operational order that the content of a current register of the register pair by register indirect addressing (operand 1) is carried out assignment, such as in example, the value of supposing register " quantity register " is " 20 ", and the instruction of this expansion word the content of No. 20 register of statement be " 100 " at this moment, so, after this instruction executed, the content of the current register " temporary register " (operand 1) of current expansion word instruction was assigned " 100 ".
Attention: 1. the operand 2 of this instruction must be a register, the register that must state in the expansion word instruction.
2. the operand 2 of this instruction must be a register, and its content by assignment is the value that is illustrated in the register number of having stated in the ANL language description piece of expansion word instruction.
3. the operational symbol of this instruction can be: "=" (equaling).
MAKE_OUTPUT
Form: the literal (operand 2) that MAKE_OUTPUT attribute-name (operand 1) operational symbol is descriptive
For example: MAKE_OUTPUT Title = All end of runs!
Illustrate: 1. this instruction is the operational order that a content the operand 2 of this instruction back is written to the output window of system.Such as in example,, will in output window, show " all end of runs so when executing this instruction! ", be used for the information of display process process.
2. if the sentence of current expansion word instruction or speech or sentence formula are the sentence words that generated by MAKE_KNOWS or MAKE_KNOWSR instruction, so, the content of its operand 2 is not write to output window, but writes the property value zone of attribute-name corresponding in the workspace of the generation sentence correspondence of the sentence that is generated by MAKE_KNOWS or MAKE_KNOWSR instruction.Such as in example,, will in the value of " title " attribute-name in generating the corresponding workspace of sentence, write " all end of runs so when executing this instruction! ", and be not then written to the output window of system.
3. attribute-name (operand 1) must be those attribute-name that generate the defined in the sentence workspace, and its content can edit and revise in the attribute-name storehouse that generates sentence.
Attention: the effect of this instruction is similar to the ERROR instruction, also can be used in some possible illegal operations, point out, or in debugging, show intermediate information, but the ERROR instruction is to generate the information indicating window, and being not written into the output window of system, the MAKE_OUTPUT instruction does not then generate the information indicating window yet.And the number of characters in the operand 2 in should instructing is too much unsuitable, is limited in usually in 20 words.
MAKE_OUTPUTR
Form: MAKE_OUTPUTR attribute-name (operand 1) operational symbol register (operand 2)
For example: MAKE_OUTPUTR Title= Result register
Illustrate: 1. this instruction is the operational order that a content register (operand 2) is written to the output window of system.The content of supposing register " result register " is " all end of runs such as in example! ", when executing this instruction, will in output window, show " all end of runs so! ", be used for the information of display process process.
2. if the sentence of current expansion word instruction or speech or sentence formula are the sentence words that generated by MAKE_KNOWS or MAKE_KNOWSR instruction, so, the content of its operand 2 is not write to output window, but writes the property value zone of attribute-name corresponding in the workspace of the generation sentence correspondence of the sentence that is generated by MAKE_KNOWS or MAKE_KNOWSR instruction.Such as in example,, will in the value of " title " attribute-name in generating the corresponding workspace of sentence, write " all end of runs so when executing this instruction! ", and be not then written to the output window of system.
3. attribute-name (operand 1) must be those attribute-name that generate the defined in the sentence workspace, and its content can edit and revise in the attribute-name storehouse that generates sentence.
Attention: the effect of this instruction also can be used in some possible illegal operation promptings, or in debugging, show intermediate information, but the more effect of this instruction still is used for exporting operation result by register, comprises outputing to output window or writing a property value zone to the attribute-name that generates sentence workspace correspondence.。
MAKE_ROM
Form: MAKE_ROM label (operand 1)
For example: MAKE_ROM Loop1
Illustrate: this instruction is to finish " suspension " processing is carried out in the current expansion word instruction of carrying out, also be about to the scene that current expansion word instruction is carried out, preserve to advance to hang in the buffer memory of workspace, so that carry out this expansion word instruction that is in " suspension " next time.The scene of preserving then comprises the various IF_THEN_ of this expansion word instruction ... CALL ... all relevant contents such as the value of nested environment, the value of register, owner pointer, floating pointer, certainly also to preserve the row number of the label (operand 1) of this instruction, come to instruct the line pointer that begins to carry out as carry out the ANL that is in this expansion word instruction in " suspensions " next time.After entering " suspension " (preserved on-the-spot), also promptly withdraw from the execution of this expansion word instruction, so that begin to carry out next expansion word instruction.The label here (operand 1) generally all is a label of carrying out the begin column of certain judgement, because the reason of generation " suspension " is that the condition of certain judgement is " the unknown ", so carry out the content of " suspension " next time be, still to judge whether this condition is " known ", if words, may will hang the buffer memory of workspace and eliminate,, or produce new " suspension " at new ANL dos command line DOS because there is not to produce the condition of " suspension " from this; If still " the unknown " continues " suspension " so, wait for this instruction of execution " suspension " next time.This also just should instruction purpose, so the row at label (operand 1) place number, be one to causing row that condition that generation should " suspension " constantly judges number, otherwise " suspension " just lost meaning.
Attention: the operand 1 (label) of this instruction must be the title that exists in the label row, also can be certain combination of numeral and character, but label can not be the name that repetition is arranged.
Such as: lp1:IFxx
MAKE_ROM?lp1
Here " lp1 " is exactly the begin column number of an instruction that the condition that produces " suspension " is judged.
MAKE_ROMR
Form: MAKE_ROMR label (operand 1)
For example: MAKE_ROMR Loop1
Illustrate: temporarily stored instruction, expansion after being used for.
MAKE_KNOWS
The literal (operand 1) that form: MAKE_KNOWS is descriptive
For example: MAKE_KNOWS Is whale fish?
Illustrate: this instruction is that a content of (operand 1) of number immediately by this instruction back produces operational order new natural language sentences and that search coupling and carry out in the knowledge base.Such as in example, when executing this instruction, will produce so one " whale is fish? " sentence, then, in knowledge base, match this sentence, if such sentence is arranged in the knowledge base, so just carry out this corresponding knowledge blocks body in the knowledge base with natural language sentences to " being fish? " all decision operation.After executing, withdraw from the operation that this " calls the knowledge base sentence ", carrying out this then instructs next ANL to instruct, it generally all is the READ_RESULT instruction, because reading the result of judgement by this instruction is "Yes" or "No", decide the certain operations of back, if there is not the READ_RESULT instruction, so, the result of the judgement that this instruction is carried out is just nonsensical, judge to be exactly because why carry out in order to instruct the result of judgement, otherwise why will carry out judgement, other is the operation of certain process in addition, just in order to carry out a process, may there be intermediate result, such as may " changing the capitalization of all English into small letter." sentence, so do not need the result, but, the result must be arranged for the sentence of judging.This result instructs by READ_RESULT and reads, as for generate sentence carry out in the result of output be the zone that is written to this generations sentence workspace correspondence attribute-name by MAKE_OUTPUT or MAKE_OUTPUTR instruction, generate sentence because be, so the output of MAKE_OUTPUT in the generation sentence or MAKE_OUTPUTR instruction is to directly write to generate a sentence workspace, rather than writes the output window of system.
If the content sentence of descriptive literal (operand 1) is not searched in knowledge base and is matched, so, can generate information " should the correspondence sentence in the knowledge base, system can not continue! ", information is incomplete, can't carry out, and need write corresponding knowledge and enter into knowledge base.
Attention: this instruction finished some the time, understand the natural language process by relying on common sense knowledge and professional knowledge.The content of descriptive literal (operand 1) must be the sentence of having been crossed with natural language description that exists in the knowledge base, otherwise, can not finish the process of " calling the sentence in the knowledge base ", and the number of characters in the operand 1 in should instructing is too much unsuitable, is limited in usually in 20 words.
MAKE_KNOWSR
Form: MAKE_KNOWSR register (operand 1)
For example: MAKE_KNOWSR The problem register
Illustrate: this instruction is that a content by (operand 1) of the register of this instruction back produces operational order new natural language sentences and that search coupling and carry out in the knowledge base.In example, suppose in the register " problem register " content is " whale is fish? " when executing this instruction, will produce so one " whale is fish? " sentence, in knowledge base, match this sentence then, if such sentence is arranged in the knowledge base, so just carry out this corresponding knowledge blocks body in the knowledge base with natural language sentences to " being fish? " all decision operation.After executing, then withdraw from the operation that this " calls the knowledge base sentence ", carrying out this then instructs next ANL to instruct, it generally all is the READ_RESULT instruction, because reading the result of judgement by this instruction is "Yes" or "No", decide the certain operations of back, if there is not the READ_RESULT instruction, the result of the judgement of so should instruction carrying out is just nonsensical, judges to be exactly in order to instruct the result of judgement because why carry out, otherwise why will carry out judgement, other is the operation of certain process in addition, just, may there be intermediate result, such as may " changing the capitalization of all English into small letter in order to carry out a process." sentence, so do not need the result, but, the result must be arranged for the sentence of judging.This result instructs by READ_RESULT and reads, as for the result who generates output in the sentence execution, it is the zone that is written to this generations sentence workspace correspondence attribute-name by MAKE_OUTPUT or MAKE_OUTPUTR instruction, generate sentence because be, generate a sentence workspace so the output of MAKE_OUTPUT in the generation sentence or MAKE_OUTPUTR instruction directly writes to, rather than write the output window of system.
If the sentence of the content of register (operand 1) is not searched in knowledge base and is matched, will generate so information " should the correspondence sentence in the knowledge base, system can not continue! ", information is incomplete, can't carry out, and need write corresponding knowledge and enter into knowledge base.
Attention: this instruction finished some the time, understand the natural language process by relying on common sense knowledge and professional knowledge.Content at register (operand 1) must be the sentence of having been crossed with natural language description that exists in the knowledge base, otherwise, can not finish the process of " calling the sentence in the knowledge base ", and the number of characters in the operand 1 in should instructing is too much unsuitable, is limited in usually in 20 words.
READ_RESULT
Form: READ_RESULT attribute-name (operand 1) operational symbol register (operand 2)
For example: READ_RESULT Title= Result register
Illustrate: this instruction is that a handle is by the MAKE_KNOWS of the ANL language of this expansion word instruction or the sentence of MAKE_KNOWSR instruction generation, after executing, generate the result who generates the sentence workspace (generally being that write operation is finished in MAKE_OUTPUT or the MAKE_OUTPUTR instruction that moves when carrying out sentence), by this instruction the attribute-name (operand 1) of content corresponding by appointment read the operational order of delivering to register (operand 2), be used with MAKE_KNOWS or MAKE_KNOWSR instruction, generally all be and then after them, this independent instruction is nonsensical.Such as in example, the property value of supposing attribute " title " by name in generating the sentence workspace is " computing machine ", when executing this instruction, so, the content of register " result register " will be written into " computing machine ", also is that result's read operation is finished.
Attention: attribute-name (operand 1) must be those attribute-name that generate the defined in the sentence workspace, and its content can edit and revise in the attribute-name storehouse that generates sentence, and operand 2 must be the register name of having stated.
THEN_LET
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be LET in first instruction of THEN position, so, uses this instruction.Other form and function are all just the same with " LET " instruction.Specifically instruct referring to LET.
THEN_LETR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be LETR in first instruction of THEN position, so, uses this instruction.Other form and function are all just the same with " LETR " instruction.Specifically instruct referring to LETR.
THEN_LETRK
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be LETRK in first instruction of THEN position, uses this instruction so.Other form and function are all just the same with " LETRK " instruction.Specifically instruct referring to LETRK.
THEN_LETRR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be LETRR in first instruction of THEN position, uses this instruction so.Other form and function are all just the same with " LETRR " instruction.Specifically instruct referring to LETRR.
THEN_TRIM_LEFT
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_LEFT in first instruction of THEN position, uses this instruction so.Other form and function are all just the same with " TRIM_LEFT " instruction.Specifically instruct referring to TRIM_LEFT.
THEN_TRIM_LEFTR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_LEFTR in first instruction of THEN position, uses this instruction so.Other form and function are all just the same with " TRIM_LEFTR " instruction.Specifically instruct referring to TRIM_LEFTR.
THEN_TRIM_LEFTRK
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_LEFTRK in first instruction of THEN position, so, uses this instruction.Other form and function are all just the same with " TRIM_LEFTRK " instruction.Specifically instruct referring to TRIM_LEFTRK.
THEN_TRIM_LEFTRR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_LEFTRR in first instruction of THEN position, so, uses this instruction.Other form and function are all just the same with " TRIM_LEFTRR " instruction.Specifically instruct referring to TRIM_LEFTRR.
THEN_TRIM_RIGHT
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_RIGHT in first instruction of THEN position, uses this instruction so.Other form and function are all just the same with " TRIM_RIGHT " instruction.Specifically instruct referring to TRIM_RIGHT.
THEN_TRIM_RIGHTR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_RIGHTR in first instruction of THEN position, so, uses this instruction.Other form and function are all just the same with " TRIM_RIGHTR " instruction.Specifically instruct referring to TRIM_RIGHTR.
THEN_TRIM_RIGHTRK
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_RIGHTRR in first instruction of THEN position, uses this instruction so.Other form and function are all just the same with " TRIM_RIGHTRR " instruction.Specifically instruct referring to TRIM_RIGHTRR.
THEN_TRIM_RIGHTRR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_RIGHTRR in first instruction of THEN position, uses this instruction so.Other form and function are all just the same with " TRIM_RIGHTRR " instruction.Specifically instruct referring to TRIM_RIGHTRR.
THEN_GET_LEFT
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_LEFT in first instruction of THEN position, uses this instruction so.Other form and function are all just the same with " GET_LEFT " instruction.Specifically instruct referring to GET_LEFT.
THEN_GET_LEFTR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_LEFTR in first instruction of THEN position, uses this instruction so.Other form and function are all just the same with " GET_LEFTR " instruction.Specifically instruct referring to GET_LEFTR.
THEN_GET_LEFTRK
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_LEFTRK in first instruction of THEN position, uses this instruction so.Other form and function are all just the same with " GET_LEFTRK " instruction.Specifically instruct referring to GET_LEFTRK.
THEN_GET_LEFTRR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_LEFTRR in first instruction of THEN position, uses this instruction so.Other form and function are all just the same with " GET_LEFTRR " instruction.Specifically instruct referring to GET_LEFTRR.
THEN_GET_RIGHT
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_RIGHT in first instruction of THEN position, uses this instruction so.Other form and function are all just the same with " GET_RIGHT " instruction.Specifically instruct referring to GET_RIGHT.
THEN_GET_RIGHTR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_RIGHTR in first instruction of THEN position, uses this instruction so.Other form and function are all just the same with " GET_RIGHTR " instruction.Specifically instruct referring to GET_RIGHTR.
THEN_GET_RIGHTRK
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_RIGHTRK in first instruction of THEN position, uses this instruction so.Other form and function are all just the same with " GET_RIGHTRK " instruction.Specifically instruct referring to GET_RIGHTRK.
THEN_GET_RIGHTRR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_RIGHTRR in first instruction of THEN position, uses this instruction so.Other form and function are all just the same with " GET_RIGHTRR " instruction.Specifically instruct referring to GET_RIGHTRR.
THEN_GOTO
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GOTO in first instruction of THEN position, uses this instruction so.Other form and function are all just the same with " GOTO " instruction.Specifically instruct referring to GOTO.
THEN_GOTOR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GOTOR in first instruction of THEN position, uses this instruction so.Other form and function are all just the same with " GOTOR " instruction.Specifically instruct referring to GOTOR.
THEN_CALL
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be CALL in first instruction of THEN position, uses this instruction so.Other form and function are all just the same with " CALL " instruction.Specifically instruct referring to CALL.
THEN_RETURN
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be RETURN in first instruction of THEN position, uses this instruction so.Other form and function are all just the same with " RETURN " instruction.Specifically instruct referring to RETURN.
THEN_PUSH
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be PUSH in first instruction of THEN position, uses this instruction so.Other form and function are all just the same with " PUSH " instruction.Specifically instruct referring to PUSH.
THEN_POP
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be POP in first instruction of THEN position, uses this instruction so.Other form and function are all just the same with " POP " instruction.Specifically instruct referring to POP.
THEN_SETON
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be SETON in first instruction of THEN position, uses this instruction so.Other form and function are all just the same with " SETON " instruction.Specifically instruct referring to SETON.
THEN_SETONR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be SETONR in first instruction of THEN position, uses this instruction so.Other form and function are all just the same with " SETONR " instruction.Specifically instruct referring to SETONR.
THEN_GOBACK
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GOBACK in first instruction of THEN position, uses this instruction so.Other form and function are all just the same with " GOBACK " instruction.Specifically instruct referring to GOBACK.
THEN_SEND
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be SEND in first instruction of THEN position, uses this instruction so.Other form and function are all just the same with " SEND " instruction.Specifically instruct referring to SEND.
THEN_SENDPOS
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be SENDPOS in first instruction of THEN position, uses this instruction so.Other form and function are all just the same with " SENDPOS " instruction.Specifically instruct referring to SENDPOS.
THEN_SENDLENGTH
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be SENDLENGTH in first instruction of THEN position, uses this instruction so.Other form and function are all just the same with " SENDLENGTH " instruction.Specifically instruct referring to SENDLENGTH.
THEN_SENDLENGTHR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be SENDLENGTHR in first instruction of THEN position, uses this instruction so.Other form and function are all just the same with " SENDLENGTHR " instruction.Specifically instruct referring to SENDLENGTHR.
THEN_FIND
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be FIND in first instruction of THEN position, so, uses this instruction.Other form and function are all just the same with " FIND " instruction.Specifically instruct referring to FIND.
THEN_FINDR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be FINDR in first instruction of THEN position, uses this instruction so.Other form and function are all just the same with " FINDR " instruction.Specifically instruct referring to FINDR.
THEN_NOP
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be NOP in first instruction of THEN position, so, uses this instruction.Other form and function are all just the same with " NOP " instruction.Specifically instruct referring to NOP.
THEN_ERROR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be ERROR in first instruction of THEN position, uses this instruction so.Other form and function are all just the same with " ERROR " instruction.Specifically instruct referring to ERROR.
THEN_ILET_RAM
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be ILET_RAM in first instruction of THEN position, uses this instruction so.Other form and function are all just the same with " ILET_RAM " instruction.Specifically instruct referring to ILET_RAM.
THEN_ILET_REG
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be ILET_REG in first instruction of THEN position, uses this instruction so.Other form and function are all just the same with " ILET_REG " instruction.Specifically instruct referring to ILET_REG.
THEN_MAKE_OUTPUT
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be MAKE_OUTPUT in first instruction of THEN position, so, uses this instruction.Other form and function are all just the same with " MAKE_OUTPUT " instruction.Specifically instruct referring to MAKE_OUTPUT.
THEN_MAKE_OUTPUTR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be MAKE_OUTPUTR in first instruction of THEN position, uses this instruction so.Other form and function are all just the same with " MAKE_OUTPUTR " instruction.Specifically instruct referring to MAKE_OUTPUTR.
THEN_MAKE_ROM
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be MAKE_ROM in first instruction of THEN position, uses this instruction so.Other form and function are all just the same with " MAKE_ROM " instruction.Specifically instruct referring to MAKE_ROM.
THEN_MAKE_ROMR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be MAKE_ROMR in first instruction of THEN position, uses this instruction so.Other form and function are all just the same with " MAKE_ROMR " instruction.Specifically instruct referring to MAKE_ROMR.
THEN_MAKE_KNOWS
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be MAKE_KNOWS in first instruction of THEN position, uses this instruction so.Other form and function are all just the same with " MAKE_KNOWS " instruction.Specifically instruct referring to MAKE_KNOWS.
THEN_MAKE_KNOWSR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be MAKE_KNOWSR in first instruction of THEN position, so, uses this instruction.Other form and function are all just the same with " MAKE_KNOWSR " instruction.Specifically instruct referring to MAKE_KNOWSR.
THEN_READ_RESULT
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be READ_RESULT in first instruction of THEN position, so, uses this instruction.Other form and function are all just the same with " READ_RESULT " instruction.Specifically instruct referring to READ_RESULT.
===================================the instruction ELSE_LET of ELSE beginning
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be LET in first instruction of ELSE position, so, uses this instruction.Other form and function are all just the same with " LET " instruction.Specifically instruct referring to LET.
ELSE_LETR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be LETR in first instruction of ELSE position, so, uses this instruction.Other form and function are all just the same with " LETR " instruction.Specifically instruct referring to LETR.
ELSE_LETRK
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be LETRK in first instruction of ELSE position, so, uses this instruction.Other form and function are all just the same with " LETRK " instruction.Specifically instruct referring to LETRK.
ELSE_LETRR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be LETRR in first instruction of ELSE position, so, uses this instruction.Other form and function are all just the same with " LETRR " instruction.Specifically instruct referring to LETRR.
ELSE_TRIM_LEFT
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_LEFT in first instruction of ELSE position, uses this instruction so.Other form and function are all just the same with " TRIM_LEFT " instruction.Specifically instruct referring to TRIM_LEFT.
ELSE_TRIM_LEFTR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_LEFTR in first instruction of ELSE position, uses this instruction so.Other form and function are all just the same with " TRIM_LEFTR " instruction.Specifically instruct referring to TRIM_LEFTR.
ELSE_TRIM_LEFTRK
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_LEFTRK in first instruction of ELSE position, so, uses this instruction.Other form and function are all just the same with " TRIM_LEFTRK " instruction.Specifically instruct referring to TRIM_LEFTRK.
ELSE_TRIM_LEFTRR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_LEFTRR in first instruction of ELSE position, so, uses this instruction.Other form and function are all just the same with " TRIM_LEFTRR " instruction.Specifically instruct referring to TRIM_LEFTRR.
ELSE_TRIM_RIGHT
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_RIGHT in first instruction of ELSE position, uses this instruction so.Other form and function are all just the same with " TRIM_RIGHT " instruction.Specifically instruct referring to TRIM_RIGHT.
ELSE_TRIM_RIGHTR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_RIGHTR in first instruction of ELSE position, uses this instruction so.Other form and function are all just the same with " TRIM_RIGHTR " instruction.Specifically instruct referring to TRIM_RIGHTR.
ELSE_TRIM_RIGHTRK
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_RIGHTRK in first instruction of ELSE position, uses this instruction so.Other form and function are all just the same with " TRIM_RIGHTRK " instruction.Specifically instruct referring to TRIM_RIGHTRK.
ELSE_TRIM_RIGHTRR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_RIGHTRR in first instruction of ELSE position, uses this instruction so.Other form and function are all just the same with " TRIM_RIGHTRR " instruction.Specifically instruct referring to TRIM_RIGHTRR.
ELSE_GET_LEFT
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_LEFT in first instruction of ELSE position, uses this instruction so.Other form and function are all just the same with " GET_LEFT " instruction.Specifically instruct referring to GET_LEFT.
ELSE_GET_LEFTR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_LEFTR in first instruction of ELSE position, uses this instruction so.Other form and function are all just the same with " GET_LEFTR " instruction.Specifically instruct referring to GET_LEFTR.
ELSE_GET_LEFTRK
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_LEFTRK in first instruction of ELSE position, uses this instruction so.Other form and function are all just the same with " GET_LEFTRK " instruction.Specifically instruct referring to GET_LEFTRK.
ELSE_GET_LEFTRR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_LEFTRR in first instruction of ELSE position, uses this instruction so.Other form and function are all just the same with " GET_LEFTRR " instruction.Specifically instruct referring to GET_LEFTRR.
ELSE_GET_RIGHT
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_RIGHT in first instruction of ELSE position, uses this instruction so.Other form and function are all just the same with " GET_RIGHT " instruction.Specifically instruct referring to GET_RIGHT.
ELSE_GET_RIGHTR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_RIGHTR in first instruction of ELSE position, uses this instruction so.Other form and function are all just the same with " GET_RIGHTR " instruction.Specifically instruct referring to GET_RIGHTR.
ELSE_GET_RIGHTRK
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_RIGHTRK in first instruction of ELSE position, uses this instruction so.Other form and function are all just the same with " GET_RIGHTRK " instruction.Specifically instruct referring to GET_RIGHTRK.
ELSE_GET_RIGHTRR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_RIGHTRR in first instruction of ELSE position, uses this instruction so.Other form and function are all just the same with " GET_RIGHTRR " instruction.Specifically instruct referring to GET_RIGHTRR.
ELSE_GOTO
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GOTO in first instruction of ELSE position, so, uses this instruction.Other form and function are all just the same with " GOTO " instruction.Specifically instruct referring to GOTO.
ELSE_GOTOR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GOTOR in first instruction of ELSE position, uses this instruction so.Other form and function are all just the same with " GOTOR " instruction.Specifically instruct referring to GOTOR.
ELSE_CALL
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be CALL in first instruction of ELSE position, so, uses this instruction.Other form and function are all just the same with " CALL " instruction.Specifically instruct referring to CALL.
ELSE_RETURN
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be RETURN in first instruction of ELSE position, uses this instruction so.Other form and function are all just the same with " RETURN " instruction.Specifically instruct referring to RETURN.
ELSE_PUSH
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be PUSH in first instruction of ELSE position, so, uses this instruction.Other form and function are all just the same with " PUSH " instruction.Specifically instruct referring to PUSH.
ELSE_POP
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be POP in first instruction of ELSE position, so, uses this instruction.Other form and function are all just the same with " POP " instruction.Specifically instruct referring to POP.
ELSE_SETON
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be SETON in first instruction of ELSE position, uses this instruction so.Other form and function are all just the same with " SETON " instruction.Specifically instruct referring to SETON.
ELSE_SETONR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be SETONR in first instruction of ELSE position, uses this instruction so.Other form and function are all just the same with " SETONR " instruction.Specifically instruct referring to SETONR.
ELSE_GOBACK
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GOBACK in first instruction of ELSE position, uses this instruction so.Other form and function are all just the same with " GOBACK " instruction.Specifically instruct referring to GOBACK.
ELSE_SEND
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be SEND in first instruction of ELSE position, so, uses this instruction.Other form and function are all just the same with " SEND " instruction.Specifically instruct referring to SEND.
ELSE_SENDPOS
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be SENDPOS in first instruction of ELSE position, uses this instruction so.Other form and function are all just the same with " SENDPOS " instruction.Specifically instruct referring to SENDPOS.
ELSE_SENDLENGTH
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be SENDLENGTH in first instruction of ELSE position, uses this instruction so.Other form and function are all just the same with " SENDLENGTH " instruction.Specifically instruct referring to SENDLENGTH.
ELSE_SENDLENGTHR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be SENDLENGTHR in first instruction of ELSE position, so, uses this instruction.Other form and function are all just the same with " SENDLENGTHR " instruction.Specifically instruct referring to SENDLENGTHR.
ELSE_FIND
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be FIND in first instruction of ELSE position, so, uses this instruction.Other form and function are all just the same with " FIND " instruction.Specifically instruct referring to FIND.
ELSE_FINDR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be FINDR in first instruction of ELSE position, uses this instruction so.Other form and function are all just the same with " FINDR " instruction.Specifically instruct referring to FINDR.
ELSE_NOP
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be NOP in first instruction of ELSE position, so, uses this instruction.Other form and function are all just the same with " NOP " instruction.Specifically instruct referring to NOP.
ELSE_ERROR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be ERROR in first instruction of ELSE position, uses this instruction so.Other form and function are all just the same with " ERROR " instruction.Specifically instruct referring to ERROR.
ELSE_ILET_RAM
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be ILET_RAM in first instruction of ELSE position, uses this instruction so.Other form and function are all just the same with " ILET_RAM " instruction.Specifically instruct referring to ILET_RAM.
ELSE_ILET_REG
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be ILET_REG in first instruction of ELSE position, uses this instruction so.Other form and function are all just the same with " ILET_REG " instruction.Specifically instruct referring to ILET_REG.
ELSE_MAKE_OUTPUT
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be MAKE_OUTPUT in first instruction of ELSE position, so, uses this instruction.Other form and function are all just the same with " MAKE_OUTPUT " instruction.Specifically instruct referring to MAKE_OUTPUT.
ELSE_MAKE_OUTPUTR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be MAKE_OUTPUTR in first instruction of ELSE position, uses this instruction so.Other form and function are all just the same with " MAKE_OUTPUTR " instruction.Specifically instruct referring to MAKE_OUTPUTR.
ELSE_MAKEROM
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be MAKE_ROM in first instruction of ELSE position, uses this instruction so.Other form and function are all just the same with " MAKE_ROM " instruction.Specifically instruct referring to MAKE_ROM.
ELSE_MAKE_ROMR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be MAKE_ROMR in first instruction of ELSE position, uses this instruction so.Other form and function are all just the same with " MAKE_ROMR " instruction.Specifically instruct referring to MAKE_ROMR.
ELSE_MAKE_KNOWS
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be MAKE_KNOWS in first instruction of ELSE position, uses this instruction so.Other form and function are all just the same with " MAKE_KNOWS " instruction.Specifically instruct referring to MAKE_KNOWS.
ELSE_MAKE_KNOWSR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be MAKE_KNOWS in first instruction of ELSE position, so, uses this instruction.Other form and function are all just the same with " MAKE_KNOWSR " instruction.Specifically instruct referring to MAKE_KNOWSR.
ELSE_READ_RESULT
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be READ_RESULT in first instruction of ELSE position, so, uses this instruction.Other form and function are all just the same with " READ_RESULT " instruction.Specifically instruct referring to READ_RESULT.

Claims (3)

1, a kind of artificial intelligence machine is realized the method for natural language understanding, it is characterized in that: it is based on the assembly language towards natural language---the ANL language, mode with the expansion word instruction is understood the content of text of the natural language description of outside input, expansion word instruction is the description body that is made of several ANL sound instructions at speech, sentence, sentence formula, and the course of work is as follows:
(1) to the knowledge of artificial intelligence machine input, builds ANL language description storehouse, mainly comprise three parts, the ANL language description storehouse of sentence, the ANL language description storehouse of sentence formula, the ANL language description storehouse of speech with the relevant natural language of ANL language description;
(2) the various contents of directly describing with natural language to the artificial intelligence machine input, build the natural language description storehouse, comprise the natural language description storehouse of sentence, the natural language description storehouse of sentence formula, natural language description storehouse three parts of speech, organize by the knowledge blocks form in these storehouses, each knowledge blocks comprises head title and body, and body is the explanation of the correct division header that is made of several natural language sentences;
(3) artificial intelligence machine synthesizes former sentence after the sentence of sending here through behind the participle is temporarily removed the participle separator earlier;
(4) in the ANL of sentence language description storehouse, search this synthetic former sentence, if search successfully, just the ANL content of this expansion word instruction is accessed from the ANL language description storehouse of sentence, carry out every instruction one by one since first row, be finished when these all relevant ANL that describe this expansion word instruction instruct, artificial intelligence machine finishes the understanding process of this sentence so;
(5), just carry out routinely the understanding mode of speech one by one if in the ANL of sentence language description storehouse, search failure; At first take out send here through first speech in the sentence behind the participle, if this speech is a numeral, machine can automatically generate the corresponding ANL language description about numeral; If this speech is not a numeral, then in the natural language description storehouse of speech, search this speech of coupling,, then directly carry out the sentence to the natural language explanation of this speech of knowledge blocks body if search successfully, otherwise, then enter in the ANL language description storehouse of speech and search;
(6) if in the description storehouse of the ANL of speech language, search successfully, just the ANL content of this expansion word instruction is described from the ANL of speech and accessed the storehouse, carry out one by one by instruction, be finished when all relevant ANL of this expansion word instruction instruct, artificial intelligence machine finishes the understanding process of this speech in this sentence; If search failure, artificial intelligence machine then stops current processing procedure, must set up the description of corresponding speech earlier in dictionary, and system could handle;
(7) set by step 5, read the next speech of current sentence successively and carry out, until all speech of current sentence, comprise that punctuate all is finished, so current sentence finishes according to the understanding of speech one by one; Next step carries out a formula and handles;
(8) the corresponding sentence formula that part of speech generated of each speech of the sentence that above-mentioned speech is one by one understood, in the natural language description storehouse of sentence formula, search earlier, if search successfully, so directly carry out the sentence in the knowledge blocks body to the natural language explanation of this formula, otherwise, then in the ANL of sentence formula language description storehouse, search this formula, if search successfully, just the content of the ANL language description of this expansion word instruction is accessed, carry out one by one by instruction, when all relevant ANL instructions of this operation were finished, artificial intelligence machine finished the understanding process of the additional sentence formula of this sentence; If search failure in the ANL of sentence formula language description storehouse, sentence formula processing procedure finishes; This moment, artificial intelligence machine finished the understanding of current sentence.
Wherein the instruction of ANL language is as follows:
DEFINER
The self-defined register title of form: DEFINER (operand 1) internal register number (MEMxx) (operand 2)
This instruction is the register to self-defined title, sets up corresponding mapping with space, the register district numbering of inside;
TEXT
The literal (operand 1) that form: TEXT is descriptive
This instruction is to state that this is illustrative content of statement, does not carry out any operation, just is convenient to prehension program setting;
IF
Form: the content of IF directly address (operand 1) operational symbol is counted (operand 2) redirect-Zhen redirect-vacation immediately
This instruction is one the content of current directly address and number immediately carried out the instruction of logic determines, if condition be true, so just jumps to this specified address in being listed as of redirect-Zhen of this instruction; If condition is false, so just jump to this specified address in being listed as of redirect-vacation of this instruction;
IFR
Form: the content of IFR directly address (operand 1) operational symbol register (operand 2) redirect-Zhen redirect-vacation
This instruction is that a content and a content of registers to current directly address is carried out the instruction of logic determines, if condition is true, so just jumps to the specified address in these row of redirect-Zhen of this instruction; If condition is false, so just jump to this specified address in being listed as of redirect-vacation of this instruction;
IFRK
Form: IFRK register (operand 1) operational symbol is counted (operand 2) redirect-Zhen redirect-vacation immediately
This instruction is one the content of current register and number immediately carried out the instruction of logic determines, if condition be true, just jumps to this specified address in being listed as of redirect-Zhen of this instruction;
IFRR
Form: IFRR register (operand 1) operational symbol register (operand 2) redirect-Zhen redirect-vacation
This instruction is that a content and a content of registers to current register is carried out the instruction of logic determines, if condition is true, so just jumps to the specified address in these row of redirect-Zhen of this instruction; If condition is false, just jump to this specified address in being listed as of redirect-vacation of this instruction;
AND
Form: the content of AND directly address (operand 1) operational symbol is counted (operand 2) redirect-Zhen redirect-vacation immediately
This instruction is followed after the instruction of IFxx class, finish instruction a plurality of and judgement side by side by a plurality of these instructions, function is equivalent to the IF instruction, be one the content of current directly address and number immediately carried out the instruction of logic determines, if condition is true, so just jump to the specified address in these row of redirect-Zhen of this instruction; If condition is false, so just jump to this specified address in being listed as of redirect-vacation of this instruction;
ANDR
Form: the content of ANDR directly address (operand 1) operational symbol register (operand 2) redirect-Zhen redirect-vacation
This instruction is followed after the instruction of IFxx class, finish instruction a plurality of and judgement side by side by a plurality of these instructions, function is equivalent to the IFR instruction, be one the content of current directly address and number immediately carried out the instruction of logic determines, if condition is true, so just jump to the specified address in these row of redirect-Zhen of this instruction; If condition is false, just jump to this specified address in being listed as of redirect-vacation of this instruction;
ANDRK
Form: ANDRK register (operand 1) operational symbol is counted (operand 2) redirect-Zhen redirect-vacation immediately
This instruction is followed after the instruction of IFxx class, finish instruction a plurality of and judgement side by side by a plurality of these instructions, function is equivalent to the IFRK instruction, be one the content of current register and number immediately carried out the instruction of logic determines, if condition is true, just jump to the specified address in these row of redirect-Zhen of this instruction; If condition is false, so just jump to this specified address in being listed as of redirect-vacation of this instruction;
ANDRR
Form: ANDRR register (operand 1) operational symbol register (operand 2) redirect-Zhen redirect-vacation
This instruction is followed after the instruction of IFxx class, finish instruction a plurality of and judgement side by side by a plurality of these instructions, function is equivalent to the IFRR instruction, be that a content and a content of registers to current register is carried out the instruction of logic determines, if condition is true, so just jump to the specified address in these row of redirect-Zhen of this instruction; If condition is false, just jump to this specified address in being listed as of redirect-vacation of this instruction;
OR
Form: the content of OR directly address (operand 1) operational symbol is counted (operand 2) redirect-Zhen redirect-vacation immediately
This instruction is followed after the instruction of IFxx class, finish instruction a plurality of or that judge side by side by a plurality of these instructions, function is equivalent to the IF instruction, be one the content of current directly address and number immediately carried out the instruction of logic determines, if condition is true, just jump to the specified address in these row of redirect-Zhen of this instruction; If condition is false, so just jump to this specified address in being listed as of redirect-vacation of this instruction;
Form: the content of ORR directly address (operand 1) operational symbol register (operand 2) redirect-Zhen redirect-vacation
This instruction is followed after the instruction of IFxx class, finish instruction a plurality of or that judge side by side by a plurality of these instructions, function is equivalent to the IFR instruction, be one the content of current directly address and number immediately carried out the instruction of logic determines, if condition is true, just jump to this instruction redirect-Zhen this row in specified address; If condition is false, so just jump to this specified address in being listed as of redirect-vacation of this instruction;
ORRK
Form: ORRK register (operand 1) operational symbol is counted (operand 2) redirect-Zhen redirect-vacation immediately
This instruction is followed after the instruction of IFxx class, finish instruction a plurality of or that judge side by side by a plurality of these instructions, function is equivalent to the IFRK instruction, be one the content of current register and number immediately carried out the instruction of logic determines, if condition is true, just jump to the specified address in these row of redirect-Zhen of this instruction; If condition is false, so just jump to this specified address in being listed as of redirect-vacation of this instruction;
ORRR
Form: ORRR register (operand 1) operational symbol register (operand 2) redirect-Zhen redirect-vacation
This instruction is followed after the instruction of IFxx class, finish instruction a plurality of or that judge side by side by a plurality of these instructions, function is equivalent to the IFRR instruction, be that a content and a content of registers to current register is carried out the instruction of logic determines, if condition is true, just jump to the specified address in these row of redirect-Zhen of this instruction; If condition is false, just jump to this specified address in being listed as of redirect-vacation of this instruction;
ENDIF
Form: ENDIF label (operand 1)
This instruction is followed after the instruction of IFxx class, finishes an IFxx ... THEN_xx ... ELSE_xx ... ENDIF shows the end of such IFxx quasi-sentence body;
END
Form: END
Illustrate: this instruction is the instruction that shows the end of the ANL language description body that a description expansion word is instructed, and each ANL describes body must an END instruction; When carrying out this instruction, system just from current expansion word instruction is carried out, withdraws from;
LET
Form: the content of LET directly address (operand 1) operational symbol is counted (operand 2) immediately
This instruction is that a content to current directly address is carried out the instruction of assignment by counting immediately;
LETR
Form: the content of LETR directly address (operand 1) operational symbol register (operand 2)
This instruction is an instruction of the content of current directly address being carried out assignment by register;
LETRK
Form: LETRK register (operand 1) operational symbol is counted (operand 2) immediately
This instruction is one the content in the current register is carried out the instruction of assignment by number immediately;
LETRR
Form: LETRR register (operand 1) operational symbol register (operand 2)
This instruction is an instruction of the content in the current register being carried out assignment by register;
TRIM_LEFT
Form: the content of TRIM_LEFT directly address (operand 1) operational symbol is counted (operand 2) immediately
This instruction is that a content to current directly address (character string) is from left side deletion and the operational order of counting (operand 2) identical part immediately;
TRIM_LEFTR
Form: the content of TRIM_LEFTR directly address (operand 1) operational symbol register (operand 2)
This instruction is the operational order of a content to current directly address (character string) from the left side deletion part identical with content the register (operand 2);
TRIM_LEFTRK
Form: TRIM_LEFTRK register (operand 1) operational symbol is counted (operand 2) immediately
This instruction is that a content to current register addressing (character string) is from left side deletion and the operational order of counting (operand 2) part that content is identical immediately;
TRIM_LEFTRR
Form: TRIM_LEFTRR register (operand 1) operational symbol register (operand 2)
This instruction is the operational order of a content to current register addressing (character string) from the left side deletion part identical with content the register (operand 2);
TRIM_RIGHT
Form: the content of TRIM_RIGHT directly address (operand 1) operational symbol is counted (operand 2) immediately
This instruction is that a content to current directly address (character string) is from the right deletion and the operational order of counting (operand 2) identical part immediately;
TRIM_RIGHTR
Form: the content of TRIM_RIGHTR directly address (operand 1) operational symbol register (operand 2)
This instruction is the operational order of a content to current directly address (character string) from the right deletion part identical with content the register (operand 2);
TRIM_RIGHTRK
Form: TRIM_RIGHTRK register (operand 1) operational symbol is counted (operand 2) immediately
This instruction is that a content to current register addressing (character string) is from the right deletion and the operational order of counting (operand 2) part that content is identical immediately;
TRIM_RIGHTRR
Form: TRIM_RIGHTRR register (operand 1) operational symbol register (operand 2)
This instruction is the operational order of a content to current register addressing (character string) from the right deletion part identical with content the register (operand 2);
GET_LEFT
Form: the content of GET_LEFT directly address (operand 1) operational symbol is counted (operand 2) immediately
This instruction is that a content to current directly address (character string) is truncated to the operational order of counting the part of (operand 2) individual character length immediately from the left side;
GET_LEFTR
Form: the content of GET_LEFTR directly address (operand 1) operational symbol register (operand 2)
This instruction is a content to current directly address (character string) is truncated to the part of the character length of numerical value appointment the register (operand 2) from the left side a operational order;
GET_LEFTRK
Form: GET_LEFTRK register (operand 1) operational symbol is counted (operand 2) immediately
This instruction is a content to current register addressing (character string) is truncated to the part of the character length of counting the numerical value appointment (operand 2) immediately from the left side a operational order;
GET_LEFTRR
Form: GET_LEFTRR register (operand 1) operational symbol register (operand 2)
This instruction is the operational order of the part of a content to current register addressing (character string) character length that is truncated to the numerical value appointment the register (operand 2) from the left side;
GET_RIGHT
Form: the content of GET_RIGHT directly address (operand 1) operational symbol is counted (operand 2) immediately
This instruction is that a content to current directly address (character string) is truncated to the operational order of counting the part of (operand 2) individual character length immediately from the right;
GET_RIGHTR
Form: the content of GET_RIGHTR directly address (operand 1) operational symbol register (operand 2)
This instruction is a content to current directly address (character string) is truncated to the part of the character length of numerical value appointment the register (operand 2) from the right a operational order;
GET_RIGHTRK
Form: GET_RIGHTRK register (operand 1) operational symbol is counted (operand 2) immediately
This instruction is a content to current register addressing (character string) is truncated to the part of the character length of counting the numerical value appointment (operand 2) immediately from the right a operational order;
GET_RIGHTRR
Form: GET_RIGHTRR register (operand 1) operational symbol is posted at device (operand 2)
This instruction is the operational order of the part of a content to current register addressing (character string) character length that is truncated to the numerical value appointment the register (operand 2) from the right;
GOTO
Form: GOTO label (operand 1)
This instruction is to finish the operation that unconditional jump directly begins to carry out to the position of nominated bank number;
GOTOR
Form: GOTOR register (operand 1)
This instruction is to finish the operation that unconditional jump directly begins to carry out to the position of the value nominated bank of the register of register addressing number;
CALL
Form: CALL label (operand 1)
This instruction is used with RETURN instruction, finishes the operation that the subroutine with row number name of directly unconditionally calling appointment is carried out jointly, and turns back to the position of the next instruction of this instruction from subroutine by RETURN;
RETURN
Form: RETURN label (operand 1)
This instruction is used with the CALL instruction; Finish the operation that the subroutine with row number name of directly unconditionally calling appointment is carried out jointly, and from subroutine, turn back to the position of the next instruction of this instruction by RETURN;
PUSH
Form: PUSH register (operand 1)
This instruction is used with the POP instruction; Finish the content of the register of current register addressing is carried out push operation;
POP
Form: POP register (operand 1)
This instruction is used with the PUSH instruction; The content of finishing the register of current register addressing goes out stack operation;
SETON
Form: the content of SETON directly address (operand 1)
This instruction is that current floating pointer is established to the position of current floating pointer is the specified locational operational order of content (operand 1) of the directly address of reference;
SETONR
Form: SETONR register (operand 1)
This instruction is that current floating pointer is established to the position of current floating pointer is the specified locational operational order of content (operand 1) of the register addressing of reference;
GOBACK
Form: GOBACK
This instruction be with current may be the locational operational order that the floating pointer that has access to contextual other certain positions returns to the owner pointer of current expansion word instruction
SEND
Form: the content of SEND directly address (operand 1) operational symbol register (operand 2)
This instruction is that a content to current directly address sends to the operational order in the register (operand 2);
SENDPOS
Form: the content of SENDPOS directly address (operand 1) operational symbol register (operand 2)
This instruction is that a position with the content place of current directly address sends to the operational order in the register (operand 2);
SENDLENGTH
Form: the content of SENDLENGTH directly address (operand 1) operational symbol register (operand 2)
This instruction is that the number of a character that the content of current directly address is shared sends to the operational order in the register (operand 2);
SENDLENGTHR
Form: SENDLENGTHR register (operand 1) operational symbol register (operand 2)
This instruction is that a number to the shared character of the content of current register sends to the operational order in the register (operand 2);
FIND
Form: FIND counts (operand 1) operational symbol register (operand 2) immediately
This instruction is that a basis is counted the operational order that the content in (operand 1) is searched each speech of the sentence at the content place of the directly address of the floating pointer of current expansion word instruction immediately;
FINDR
Form: FINDR register (operand 1) operational symbol register (operand 2)
This instruction is an operational order of each speech of the sentence at the content place of the directly address of the floating pointer of current expansion word instruction being searched according to the content in the register (operand 1);
NOP
Form: NOP
This instruction is a non-operation instruction of not carrying out any operation, only is to occupy a dos command line DOS; This instruction is mainly used in debugging and uses, or aims at and be on the waiting list the instruction that disappears temporarily with this instruction replacement, and can not change the number of dos command line DOS;
ERROR
The literal (operand 1) that form: ERROR is descriptive
This instruction is with according to operand 1 content (descriptive literal), generates a miscue window, and the window content displayed is exactly the content of the operand 1 of this instruction back;
ILET_RAM
Form: the content of ILET_RAM directly address (operand 1) operational symbol register (operand 2)
This instruction is the operational order that a content by the current directly address of register pair of register indirect addressing is carried out assignment;
ILET_REG
Form: ILET_REG register (operand 1) operational symbol register (operand 2)
This instruction is the operational order that the content of a current register of the register pair by register indirect addressing (operand 1) is carried out assignment;
MAKE_OUTPUT
Form: the literal (operand 2) that MAKE_OUTPUT attribute-name (operand 1) operational symbol is descriptive
This instruction is the operational order that a content the operand 2 of this instruction back is written to the output window of system;
MAKE_OUTPUTR
Form: MAKE_OUTPUTR attribute-name (operand 1) operational symbol register (operand 2)
This instruction is the operational order that a content register (operand 2) is written to the output window of system;
MAKE_ROM
Form: MAKE_ROM label (operand 1)
This instruction is to finish processing is hung in the current expansion word instruction of carrying out, and also is about to the scene that current expansion word instruction is carried out, and preserves to advance to hang in the buffer memory of workspace, so that carry out this expansion word instruction that is in the suspension next time;
MAKE_ROMR
Form: MAKE_ROMR label (operand 1)
Temporarily stored instruction, expansion after being used for;
MAKE_KNOWS
The literal (operand 1) that form: MAKE_KNOWS is descriptive
This instruction is that a content of (operand 1) of number immediately by this instruction back produces operational order new natural language sentences and that search coupling and carry out in the knowledge base;
MAKE_KNOWSR
Form: MAKE_KNOWSR register (operand 1)
This instruction is that a content by (operand 1) of the register of this instruction back produces operational order new natural language sentences and that search coupling and carry out in the knowledge base;
READ_RESULT
Form: READ_RESULT attribute-name (operand 1) operational symbol register (operand 2)
This instruction is that a handle is by the MAKEvKNOWS of ANL language or the sentence of MAKE_KNOWSR instruction generation, after executing, the result who generates in generation sentence workspace, by this instruction the attribute-name (operand 1) of content corresponding by appointment read the operational order of delivering to register (operand 2), be used with MAKE_KNOWS or MAKE_KNOWSR instruction;
THEN_LET
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be LET in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the LET instruction;
THEN_LETR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be LETR in first instruction of THEN position, then uses this instruction;
THEN_LETRK
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be LETRK in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the LETRK instruction;
THEN_LETRR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be LETRR in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the LETRR instruction;
THEN_TRIM_LEFT
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_LEFT in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the TRIM_LEFT instruction;
THEN_TRIM_LEFTR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_LEFTR in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the TRIM_LEFTR instruction;
THEN_TRIM_LEFTRK
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_LEFTRK in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the TRIM_LEFTRK instruction;
THEN_TRIM_LEFTRR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_LEFTRR in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the TRIM_LEFTRR instruction;
THEN_TRIM_RIGHT
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_RIGHT in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the TRIM_RIGHT instruction;
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_RIGHTR in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the TRIM_RIGHTR instruction;
THEN_TRIM_RIGHTRK
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_RIGHTRR in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the TRIM_RIGHTRR instruction;
THEN_TRIM_RIGHTRR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_RIGHTRR in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the TRIM_RIGHTRR instruction;
THEN_GET_LEFT
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_LEFT in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the GET_LEFT instruction;
THEN_GET_LEFTR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_LEFTR in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the GET_LEFTR instruction;
THEN_GET_LEFTRK
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_LEFTRK in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the GET_LEFTRK instruction;
THEN_GET_LEFTRR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_LEFTRR in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the GET_LEFTRR instruction;
THEN_GET_RIGHT
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_RIGHT in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the GET_RIGHT instruction;
THEN_GET_RIGHTR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_RIGHTR in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the GET_RIGHTR instruction;
THEN_GET_RIGHTRK
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_RIGHTRK in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the GET_RIGHTRK instruction;
THEN_GET_RIGHTRR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_RIGHTRR in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the GET_RIGHTRR instruction;
THEN_GOTO
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GOTO in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the GOTO instruction;
THEN_GOTOR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GOTOR in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the GOTOR instruction;
THEN_CALL
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be CALL in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the CALL instruction;
THEN_RETURN
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be RETURN in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the RETURN instruction;
THEN_PUSH
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be PUSH in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the PUSH instruction;
THEN_POP
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be POP in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the POP instruction;
THEN_SETON
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be SETON in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the SETON instruction;
THEN_SETONR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be SETONR in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the SETONR instruction;
THEN_GOBACK
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GOBACK in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the GOBACK instruction;
THEN_SEND
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be SEND in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the SEND instruction;
THEN_SENDPOS
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be SENDPOS in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the SENDPOS instruction;
THEN_SENDLENGTH
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be SENDLENGTH in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the SENDLENGTH instruction;
THEN_SENDLENGTHR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be SENDLENGTHR in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the SENDLENGTHR instruction;
THEN_FIND
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be FIND in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the FIND instruction;
THEN_FINDR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be FINDR in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the FINDR instruction;
THEN_NOP
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be NOP in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the NOP instruction;
THEN_ERROR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be ERROR in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the ERROR instruction;
THEN_ILET_RAM
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be ILET_RAM in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the ILET_RAM instruction;
THEN_ILET_REG
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be ILET_REG in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the ILET_REG instruction;
THEN_MAKE_OUTPUT
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be MAKE_OUTPUT in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the MAKE_OUTPUT instruction;
THEN_MAKE_OUTPUTR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be MAKE_OUTPUTR in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the MAKE_OUTPUTR instruction;
THEN_MAKE_ROM
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be MAKE_ROM in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the MAKE_ROM instruction;
THEN_MAKE_ROMR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be MAKE_ROMR in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the MAKE_ROMR instruction;
THEN_MAKE_KNOWS
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be MAKE_KNOWS in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the MAKE_KNOWS instruction;
THEN_MAKE_KNOWSR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be MAKE_KNOWSR in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the MAKE_KNOWSR instruction;
THEN_READ_RESULT
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be READ_RESULT in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the READ_RESULT instruction;
ELSE_LET
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be LET in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the LET instruction;
ELSE_LETR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be LETR in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the LETR instruction;
ELSE_LETRK
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be LETRK in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the LETRK instruction;
ELSE_LETRR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be LETRR in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the LETRR instruction;
ELSE_TRIM_LEFT
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_LEFT in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the TRIM_LEFT instruction;
ELSE_TRIM_LEFTR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_LEFTR in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the TRIM_LEFTR instruction;
ELSE_TRIM_LEFTRK
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_LEFTRK in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the TRIM_LEFTRK instruction;
ELSE_TRIM_LEFTRR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_LEFTRR in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the TRIM_LEFTRR instruction;
ELSE_TRIM_RIGHT
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_RIGHT in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the TRIM_RIGHT instruction;
ELSE_TRIM_RIGHTR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_RIGHTR in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the TRIM_RIGHTR instruction;
ELSE_TRIM_RIGHTRK
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_RIGHTRK in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the TRIM_RIGHTRK instruction;
ELSE_TRIM_RIGHTRR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_RIGHTRR in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the TRIM_RIGHTRR instruction;
ELSE_GET_LEFT
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_LEFT in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the GET_LEFT instruction;
ELSE_GET_LEFTR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_LEFTR in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the GET_LEFTR instruction;
ELSE_GET_LEFTRK
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_LEFTRK in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the GET_LEFTRK instruction;
ELSE_GET_LEFTRR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_LEFTRR in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the GET_LEFTRR instruction;
ELSE_GET_RIGHT
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_RIGHT in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the GET_RIGHT instruction;
ELSE_GET_RIGHTR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_RIGHTR in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the GET_RIGHTR instruction;
ELSE_GET_RIGHTRK
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_RIGHTRK in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the GET_RIGHTRK instruction;
ELSE_GET_RIGHTRR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_RIGHTRR in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the GET_RIGHTRR instruction;
ELSE_GOTO
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GOTO in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the GOTO instruction;
ELSE_GOTOR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GOTOR in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the GOTOR instruction;
ELSE_CALL
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be CALL in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the CALL instruction;
ELSE_RETURN
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be RETURN in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the RETURN instruction;
ELSE_PUSH
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be PUSH in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the PUSH instruction;
ELSE_POP
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be POP in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the POP instruction;
ELSE_SETON
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be SETON in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the SETON instruction;
ELSE_SETONR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be SETONR in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the SETONR instruction;
ELSE_GOBACK
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GOBACK in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the GOBACK instruction;
ELSE_SEND
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be SEND in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the SEND instruction;
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be SENDPOS in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the SENDPOS instruction;
ELSE_SENDLENGTH
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be SENDLENGTH in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the SENDLENGTH instruction;
ELSE_SENDLENGTHR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be SENDLENGTHR in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the SENDLENGTHR instruction;
ELSE_FIND
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be FIND in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the FIND instruction;
ELSE_FINDR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be FINDR in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the FINDR instruction;
ELSE_NOP
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be NOP in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the NOP instruction;
ELSE_ERROR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be ERROR in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the ERROR instruction;
ELSE_ILET_RAM
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be ILET_RAM in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the ILET_RAM instruction;
ELSE_ILET_REG
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be ILET_REG in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the ILET_REG instruction;
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be MAKE_OUTPUT in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the MAKE_OUTPUT instruction;
ELSE_MAKE_OUTPUTR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be MAKE_OUTPUTR in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the MAKE_OUTPUTR instruction;
ELSE_MAKE_ROM
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be MAKE_ROM in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the MAKE_ROM instruction;
ELSE_MAKE_ROMR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be MAKE_ROMR in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the MAKE_ROMR instruction;
ELSE_MAKE_KNOWS
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be MAKE_KNOWS in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the MAKE_KNOWS instruction;
ELSE_MAKE_KNOWSR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be MAKE_KNOWS in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the MAKE_KNOWSR instruction;
ELSE_READ_RESULT
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be READ_RESULT in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the READ_RESULT instruction.
2, a kind of artificial intelligence machine is characterized in that: it mainly comprises towards the CPU (central processing unit) NLPU of natural language processing with as the peripherals of core, comprising:
CPU (central processing unit) NLPU is its assembly language with the ANL language, handles towards symbol, supports the contextual access to natural language text, supports multiple buses such as symbolic address bus, symbol data bus;
Text input interface: be used for the outside input text that word segmentation processing is in advance crossed is received;
The text output interface: the intermediate result and the net result that are used for handling are outwards exported with the form of lteral data stream;
Input-output apparatus expansion interface: be used to import outside heat transfer agent and drive external unit;
The knowledge base of natural language description: storage medium is a hard disk, comprises three of natural language description storehouse of natural language description storehouse, the speech of the natural language description storehouse of storing sentence respectively, sentence formula; Every hard disk has hardware searching machine separately respectively;
Dual port RAM is as text buffer: be used for the temporary text data that obtains by the text input interface;
Framework buffer: be the RAM storer that distributes by forms mode, content wherein comprises the physical space of sentence, speech title, location sequence number, association attributes name and property value, CPU (central processing unit) NLPU can directly pass through the symbolic address bus, is that this storer is directly visited in the address with the sequence number of character string forms;
The address decoder of framework buffer: be used for CPU (central processing unit) NLPU and come the coding of operation address code translator, directly the sequence number of frame-type buffer memory is decoded into the physical address of framework buffer by direct data bus and read-write control;
Sentence buffer: deposit the sentence that CPU (central processing unit) NLPU extracts from the framework buffer according to the value of the sequence number form of sentence pointer, this sentence buffer directly outputs to the natural language description storehouse of the sentence that connects by hardware searching machine, with the ANL language description storehouse of the sentence that is connected by address decoder;
Sentence formula buffer: deposit the sentence formula that CPU (central processing unit) NLPU extracts from the framework buffer in the value of the sequence number form of foundation sentence pointer, this formula buffer directly outputs to the natural language description storehouse of the sentence formula that connects by hardware searching machine, with the ANL language description storehouse of the sentence formula that is connected by address decoder;
Speech buffer: deposit the speech that CPU (central processing unit) NLPU extracts from the frame-type buffer memory in the value of the sequence number form of foundation speech pointer, this speech buffer directly outputs to the natural language description storehouse of the speech that connects by hardware searching machine, with the ANL language description storehouse of the speech that is connected by address decoder;
Synthetic operation district buffer memory: be the RAM storer, comprise that the working site of expansion word instruction of current execution is temporary, hang the workspace, generate the workspace of sentence;
Generate a sentence workspace buffer memory: preserve the content of the sentence that generates, comprise the value of attribute-name correspondence of title, sequence number, the generation sentence of sentence;
Generate the address decoder of sentence: when NLPU output some generates the sequence number of character string forms of sentence, directly in generating sentence workspace buffer memory, navigate to the beginning physical address of this generations;
Generate sentence attribute address generator: will carry out sum operation with the relative address of the numbering that generates the sentence attribute-name at the beginning physical address in generating sentence workspace buffer memory, and obtain the absolute physical address that this generation generates the sentence attribute-name;
The address decoder of sentence: be direct content adressable memory CAM, the character string decoding that this address decoder directly will come from the sentence in the sentence impact damper becomes the beginning physical address of this sentence of mapping in the ANL language description storehouse of sentence, and the operation of its coding is finished by direct data bus and read-write control by NLPU;
The address decoder of sentence formula: be direct content adressable memory CAM, the character string decoding that this address decoder directly will come from the sentence formula in the formula impact damper becomes the beginning physical address that shines upon this formula in the ANL of sentence formula language description storehouse, and the operation of its coding is finished by direct data bus and read-write control by NLPU;
The address decoder of speech: be direct content adressable memory CAM, the character string decoding that this address decoder directly will come from the speech in the speech impact damper becomes the beginning physical address that shines upon this speech in the ANL of speech language description storehouse, and the operation of its coding is finished by direct data bus and read-write control by NLPU;
ANL pointer address generator: will be by shining upon the beginning physical address of the character string of sentence, sentence formula, speech in the corresponding description storehouse after the address decoder decoding of sentence, sentence formula, speech for the sentence in the ANL language description, sentence formula, speech, with the ANL line pointer data addition of CPU (central processing unit) NLPU, obtain the address of their ANL dos command line DOSs in the ANL of correspondence language description storehouse;
ANL language description storehouse: be erasable ROM storer, mainly comprise three parts, the ANL language description storehouse of sentence, the ANL language description storehouse of sentence formula, the ANL language description storehouse of speech directly provide ANL sound instruction for CPU (central processing unit) NLPU;
The symbolic address bus: directly transmission is with the sequence number of the character string forms data as the address, finishes visit to the framework buffer by the position data of text context;
The symbol data bus: mainly be to finish CPU (central processing unit) NLPU and framework buffer, and the information transmission with the data of symbol string form that also has other peripheral buffer memory device;
The first level address bus: what be used for NLPU visit periphery is the device of the first level address addressing of address with 2 system data directly;
Direct data bus: directly transmit 2 system data, be used for the visit that CPU (central processing unit) NLPU finishes the device that need transmit with immediate data;
ANL director data bus: this bus mainly is to be used for CPU (central processing unit) NLPU directly to read the ANL instruction from ANL language description storehouse, whenever reads the information in an ANL storehouse, and this bus has just loaded an ANL instruction;
ANL line pointer data line: the respective physical address that is mainly used in needed ANL dos command line DOS when producing CPU (central processing unit) NLPU ANL language description storehouse being conducted interviews.
Wherein the instruction of ANL language is as follows:
DEFINER
The self-defined register title of form: DEFINER (operand 1) internal register number (MEMxx) (operand 2)
This instruction is the register to self-defined title, sets up corresponding mapping with space, the register district numbering of inside;
TEXT
The literal (operand 1) that form: TEXT is descriptive
This instruction is to state that this is illustrative content of statement, does not carry out any operation, just is convenient to prehension program setting;
IF
Form: the content of IF directly address (operand 1) operational symbol is counted (operand 2) redirect-Zhen redirect-vacation immediately
This instruction is one the content of current directly address and number immediately carried out the instruction of logic determines, if condition be true, so just jumps to this specified address in being listed as of redirect-Zhen of this instruction; If condition is false, so just jump to this specified address in being listed as of redirect-vacation of this instruction;
IFR
Form: the content of IFR directly address (operand 1) operational symbol register (operand 2) redirect-Zhen redirect-vacation
This instruction is that a content and a content of registers to current directly address is carried out the instruction of logic determines, if condition is true, so just jumps to the specified address in these row of redirect-Zhen of this instruction; If condition is false, so just jump to this specified address in being listed as of redirect-vacation of this instruction;
IFRK
Form: IFRK register (operand 1) operational symbol is counted (operand 2) redirect-Zhen redirect-vacation immediately
This instruction is one the content of current register and number immediately carried out the instruction of logic determines, if condition be true, just jumps to this specified address in being listed as of redirect-Zhen of this instruction;
IFRR
Form: IFRR register (operand 1) operational symbol register (operand 2) redirect-Zhen redirect-vacation
This instruction is that a content and a content of registers to current register is carried out the instruction of logic determines, if condition is true, so just jumps to the specified address in these row of redirect-Zhen of this instruction; If condition is false, just jump to this specified address in being listed as of redirect-vacation of this instruction;
AND
Form: the content of AND directly address (operand 1) operational symbol is counted (operand 2) redirect-Zhen redirect-vacation immediately
This instruction is followed after the instruction of IFxx class, finish instruction a plurality of and judgement side by side by a plurality of these instructions, function is equivalent to the IF instruction, be one the content of current directly address and number immediately carried out the instruction of logic determines, if condition is true, so just jump to the specified address in these row of redirect-Zhen of this instruction; If condition is false, so just jump to this specified address in being listed as of redirect-vacation of this instruction;
ANDR
Form: the content of ANDR directly address (operand 1) operational symbol register (operand 2) redirect-Zhen redirect-vacation
This instruction is followed after the instruction of IFxx class, finish instruction a plurality of and judgement side by side by a plurality of these instructions, function is equivalent to the IFR instruction, be one the content of current directly address and number immediately carried out the instruction of logic determines, if condition is true, so just jump to the specified address in these row of redirect-Zhen of this instruction; If condition is false, just jump to this specified address in being listed as of redirect-vacation of this instruction;
ANDRK
Form: ANDRK register (operand 1) operational symbol is counted (operand 2) redirect-Zhen redirect-vacation immediately
This instruction is followed after the instruction of IFxx class, finish instruction a plurality of and judgement side by side by a plurality of these instructions, function is equivalent to the IFRK instruction, be one the content of current register and number immediately carried out the instruction of logic determines, if condition is true, just jump to the specified address in these row of redirect-Zhen of this instruction; If condition is false, so just jump to this specified address in being listed as of redirect-vacation of this instruction;
ANDRR
Form: ANDRR register (operand 1) operational symbol register (operand 2) redirect-Zhen redirect-vacation
This instruction is followed after the instruction of IFxx class, finish instruction a plurality of and judgement side by side by a plurality of these instructions, function is equivalent to the IFRR instruction, be that a content and a content of registers to current register is carried out the instruction of logic determines, if condition is true, so just jump to the specified address in these row of redirect-Zhen of this instruction; If condition is false, just jump to this specified address in being listed as of redirect-vacation of this instruction;
OR
Form: the content of OR directly address (operand 1) operational symbol is counted (operand 2) redirect-Zhen redirect-vacation immediately
This instruction is followed after the instruction of IFxx class, finish instruction a plurality of or that judge side by side by a plurality of these instructions, function is equivalent to the IF instruction, be one the content of current directly address and number immediately carried out the instruction of logic determines, if condition is true, just jump to the specified address in these row of redirect-Zhen of this instruction; If condition is false, so just jump to this specified address in being listed as of redirect-vacation of this instruction;
Form: the content of ORR directly address (operand 1) operational symbol register (operand 2) redirect-Zhen redirect-vacation
This instruction is followed after the instruction of IFxx class, finish instruction a plurality of or that judge side by side by a plurality of these instructions, function is equivalent to the IFR instruction, be one the content of current directly address and number immediately carried out the instruction of logic determines, if condition is true, just jump to this instruction redirect-Zhen this row in specified address; If condition is false, so just jump to this specified address in being listed as of redirect-vacation of this instruction;
ORRK
Form: ORRK register (operand 1) operational symbol is counted (operand 2) redirect-Zhen redirect-vacation immediately
This instruction is followed after the instruction of IFxx class, finish instruction a plurality of or that judge side by side by a plurality of these instructions, function is equivalent to the IFRK instruction, be one the content of current register and number immediately carried out the instruction of logic determines, if condition is true, just jump to the specified address in these row of redirect-Zhen of this instruction; If condition is false, so just jump to this specified address in being listed as of redirect-vacation of this instruction;
ORRR
Form: ORRR register (operand 1) operational symbol register (operand 2) redirect-Zhen redirect-vacation
This instruction is followed after the instruction of IFxx class, finish instruction a plurality of or that judge side by side by a plurality of these instructions, function is equivalent to the IFRR instruction, be that a content and a content of registers to current register is carried out the instruction of logic determines, if condition is true, just jump to the specified address in these row of redirect-Zhen of this instruction; If condition is false, just jump to this specified address in being listed as of redirect-vacation of this instruction;
ENDIF
Form: ENDIF label (operand 1)
This instruction is followed after the instruction of IFxx class, finishes an IFxx ... THEN_xx ... ELSE_xx ... ENDIF shows the end of such IFxx quasi-sentence body;
END
Form: END
Illustrate: this instruction is the instruction that shows the end of the ANL language description body that a description expansion word is instructed, and each ANL describes body must an END instruction; When carrying out this instruction, system just from current expansion word instruction is carried out, withdraws from;
LET
Form: the content of LET directly address (operand 1) operational symbol is counted (operand 2) immediately
This instruction is that a content to current directly address is carried out the instruction of assignment by counting immediately;
LETR
Form: the content of LETR directly address (operand 1) operational symbol register (operand 2)
This instruction is an instruction of the content of current directly address being carried out assignment by register;
LETRK
Form: LETRK register (operand 1) operational symbol is counted (operand 2) immediately
This instruction is one the content in the current register is carried out the instruction of assignment by number immediately;
LETRR
Form: LETRR register (operand 1) operational symbol register (operand 2)
This instruction is an instruction of the content in the current register being carried out assignment by register;
TRIM_LEFT
Form: the content of TRIM_LEFT directly address (operand 1) operational symbol is counted (operand 2) immediately
This instruction is that a content to current directly address (character string) is from left side deletion and the operational order of counting (operand 2) identical part immediately;
TRIM_LEFTR
Form: the content of TRIM_LEFTR directly address (operand 1) operational symbol register (operand 2)
This instruction is the operational order of a content to current directly address (character string) from the left side deletion part identical with content the register (operand 2);
TRIM_LEFTRK
Form: TRIM_LEFTRK register (operand 1) operational symbol is counted (operand 2) immediately
This instruction is that a content to current register addressing (character string) is from left side deletion and the operational order of counting (operand 2) part that content is identical immediately;
TRIM_LEFTRR
Form: TRIM_LEFTRR register (operand 1) operational symbol register (operand 2)
This instruction is the operational order of a content to current register addressing (character string) from the left side deletion part identical with content the register (operand 2);
TRIM_RIGHT
Form: the content of TRIM_RIGHT directly address (operand 1) operational symbol is counted (operand 2) immediately
This instruction is that a content to current directly address (character string) is from the right deletion and the operational order of counting (operand 2) identical part immediately;
TRIM_RIGHTR
Form: the content of TRIM_RIGHTR directly address (operand 1) operational symbol register (operand 2)
This instruction is the operational order of a content to current directly address (character string) from the right deletion part identical with content the register (operand 2);
TRIM_RIGHTRK
Form: TRIM_RIGHTRK register (operand 1) operational symbol is counted (operand 2) immediately
This instruction is that a content to current register addressing (character string) is from the right deletion and the operational order of counting (operand 2) part that content is identical immediately;
TRIM_RIGHTRR
Form: TRIM_RIGHTRR register (operand 1) operational symbol register (operand 2)
This instruction is the operational order of a content to current register addressing (character string) from the right deletion part identical with content the register (operand 2);
GET_LEFT
Form: the content of GET_LEFT directly address (operand 1) operational symbol is counted (operand 2) immediately
This instruction is that a content to current directly address (character string) is truncated to the operational order of counting the part of (operand 2) individual character length immediately from the left side;
GET_LEFTR
Form: the content of GET_LEFTR directly address (operand 1) operational symbol register (operand 2)
This instruction is a content to current directly address (character string) is truncated to the part of the character length of numerical value appointment the register (operand 2) from the left side a operational order;
GET_LEFTRK
Form: GET_LEFTRK register (operand 1) operational symbol is counted (operand 2) immediately
This instruction is a content to current register addressing (character string) is truncated to the part of the character length of counting the numerical value appointment (operand 2) immediately from the left side a operational order;
GET_LEFTRR
Form: GET_LEFTRR register (operand 1) operational symbol register (operand 2)
This instruction is the operational order of the part of a content to current register addressing (character string) character length that is truncated to the numerical value appointment the register (operand 2) from the left side;
GET_RIGHT
Form: the content of GET_RIGHT directly address (operand 1) operational symbol is counted (operand 2) immediately
This instruction is that a content to current directly address (character string) is truncated to the operational order of counting the part of (operand 2) individual character length immediately from the right;
GET_RIGHTR
Form: the content of GET_RIGHTR directly address (operand 1) operational symbol register (operand 2)
This instruction is a content to current directly address (character string) is truncated to the part of the character length of numerical value appointment the register (operand 2) from the right a operational order;
GET_RIGHTRK
Form: GET_RIGHTRK register (operand 1) operational symbol is counted (operand 2) immediately
This instruction is a content to current register addressing (character string) is truncated to the part of the character length of counting the numerical value appointment (operand 2) immediately from the right a operational order;
GET_RIGHTRR
Form: GET_RIGHTRR register (operand 1) operational symbol register (operand 2)
This instruction is the operational order of the part of a content to current register addressing (character string) character length that is truncated to the numerical value appointment the register (operand 2) from the right;
GOTO
Form: GOTO label (operand 1)
This instruction is to finish the operation that unconditional jump directly begins to carry out to the position of nominated bank number;
GOTOR
Form: GOTOR register (operand 1)
This instruction is to finish the operation that unconditional jump directly begins to carry out to the position of the value nominated bank of the register of register addressing number;
CALL
Form: CALL label (operand 1)
This instruction is used with RETURN instruction, finishes the operation that the subroutine with row number name of directly unconditionally calling appointment is carried out jointly, and turns back to the position of the next instruction of this instruction from subroutine by RETURN;
RETURN
Form: RETURN label (operand 1)
This instruction is used with the CALL instruction; Finish the operation that the subroutine with row number name of directly unconditionally calling appointment is carried out jointly, and from subroutine, turn back to the position of the next instruction of this instruction by RETURN;
PUSH
Form: PUSH register (operand 1)
This instruction is used with the POP instruction; Finish the content of the register of current register addressing is carried out push operation;
POP
Form: POP register (operand 1)
This instruction is used with the PUSH instruction; The content of finishing the register of current register addressing goes out stack operation;
SETON
Form: the content of SETON directly address (operand 1)
This instruction is that current floating pointer is established to the position of current floating pointer is the specified locational operational order of content (operand 1) of the directly address of reference;
SETONR
Form: SETONR register (operand 1)
This instruction is that current floating pointer is established to the position of current floating pointer is the specified locational operational order of content (operand 1) of the register addressing of reference;
GOBACK
Form: GOBACK
This instruction be with current may be the locational operational order that the floating pointer that has access to contextual other certain positions returns to the owner pointer of current expansion word instruction
SEND
Form: the content of SEND directly address (operand 1) operational symbol register (operand 2)
This instruction is that a content to current directly address sends to the operational order in the register (operand 2);
SENDPOS
Form: the content of SENDPOS directly address (operand 1) operational symbol register (operand 2)
This instruction is that a position with the content place of current directly address sends to the operational order in the register (operand 2);
SENDLENGTH
Form: the content of SENDLENGTH directly address (operand 1) operational symbol register (operand 2)
This instruction is that the number of a character that the content of current directly address is shared sends to the operational order in the register (operand 2);
SENDLENGTHR
Form: SENDLENGTHR register (operand 1) operational symbol register (operand 2)
This instruction is that a number to the shared character of the content of current register sends to the operational order in the register (operand 2);
FIND
Form: FIND counts (operand 1) operational symbol register (operand 2) immediately
This instruction is that a basis is counted the operational order that the content in (operand 1) is searched each speech of the sentence at the content place of the directly address of the floating pointer of current expansion word instruction immediately;
FINDR
Form: FINDR register (operand 1) operational symbol register (operand 2)
This instruction is an operational order of each speech of the sentence at the content place of the directly address of the floating pointer of current expansion word instruction being searched according to the content in the register (operand 1);
NOP
Form: NOP
This instruction is a non-operation instruction of not carrying out any operation, only is to occupy a dos command line DOS; This instruction is mainly used in debugging and uses, or aims at and be on the waiting list the instruction that disappears temporarily with this instruction replacement, and can not change the number of dos command line DOS;
ERROR
The literal (operand 1) that form: ERROR is descriptive
This instruction is with according to operand 1 content (descriptive literal), generates a miscue window, and the window content displayed is exactly the content of the operand 1 of this instruction back;
ILET_RAM
Form: the content of ILET_RAM directly address (operand 1) operational symbol register (operand 2)
This instruction is the operational order that a content by the current directly address of register pair of register indirect addressing is carried out assignment;
ILET_REG
Form: ILET_REG register (operand 1) operational symbol register (operand 2)
This instruction is the operational order that the content of a current register of the register pair by register indirect addressing (operand 1) is carried out assignment;
MAKE_OUTPUT
Form: the literal (operand 2) that MAKE_OUTPUT attribute-name (operand 1) operational symbol is descriptive
This instruction is the operational order that a content the operand 2 of this instruction back is written to the output window of system;
MAKE_OUTPUTR
Form: MAKE_OUTPUTR attribute-name (operand 1) operational symbol register (operand 2)
This instruction is the operational order that a content register (operand 2) is written to the output window of system;
MAKE_ROM
Form: MAKE_ROM label (operand 1)
This instruction is to finish processing is hung in the current expansion word instruction of carrying out, and also is about to the scene that current expansion word instruction is carried out, and preserves to advance to hang in the buffer memory of workspace, so that carry out this expansion word instruction that is in the suspension next time;
MAKE_ROMR
Form: MAKE_ROMR label (operand 1)
Temporarily stored instruction, expansion after being used for;
MAKE_KNOWS
The literal (operand 1) that form: MAKE_KNOWS is descriptive
This instruction is that a content of (operand 1) of number immediately by this instruction back produces operational order new natural language sentences and that search coupling and carry out in the knowledge base;
MAKE_KNOWSR
Form: MAKE_KNOWSR register (operand 1)
This instruction is that a content by (operand 1) of the register of this instruction back produces operational order new natural language sentences and that search coupling and carry out in the knowledge base;
READ_RESULT
Form: READ_RESULT attribute-name (operand 1) operational symbol register (operand 2)
This instruction is that a handle is by the MAKE_KNOWS of ANL language or the sentence of MAKE_KNOWSR instruction generation, after executing, the result who generates in generation sentence workspace, by this instruction the attribute-name (operand 1) of content corresponding by appointment read the operational order of delivering to register (operand 2), be used with MAKE_KNOWS or MAKE_KNOWSR instruction;
THEN_LET
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be LET in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the LET instruction;
THEN_LETR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be LETR in first instruction of THEN position, then uses this instruction;
THEN_LETRK
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be LETRK in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the LETRK instruction;
THEN_LETRR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be LETRR in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the LETRR instruction;
THEN_TRIM_LEFT
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_LEFT in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the TRIM_LEFT instruction;
THEN_TRIM_LEFTR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_LEFTR in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the TRIM_LEFTR instruction;
THEN_TRIM_LEFTRK
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_LEFTRK in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the TRIM_LEFTRK instruction;
THEN_TRIM_LEFTRR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_LEFTRR in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the TRIM_LEFTRR instruction;
THEN_TRIM_RIGHT
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_RIGHT in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the TRIM_RIGHT instruction;
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_RIGHTR in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the TRIM_RIGHTR instruction;
THEN_TRIM_RIGHTRK
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_RIGHTRR in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the TRIM_RIGHTRR instruction;
THEN_TRIM_RIGHTRR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_RIGHTRR in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the TRIM_RIGHTRR instruction;
THEN_GET_LEFT
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_LEFT in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the GET_LEFT instruction;
THEN_GET_LEFTR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_LEFTR in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the GET_LEFTR instruction;
THEN_GET_LEFTRK
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_LEFTRK in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the GET_LEFTRK instruction;
THEN_GET_LEFTRR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_LEFTRR in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the GET_LEFTRR instruction;
THEN_GET_RIGHT
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_RIGHT in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the GET_RIGHT instruction;
THEN_GET_RIGHTR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_RIGHTR in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the GET_RIGHTR instruction;
THEN_GET_RIGHTRK
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_RIGHTRK in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the GET_RIGHTRK instruction;
THEN_GET_RIGHTRR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_RIGHTRR in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the GET_RIGHTRR instruction;
THEN_GOTO
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GOTO in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the GOTO instruction;
THEN_GOTOR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GOTOR in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the GOTOR instruction;
THEN_CALL
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be CALL in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the CALL instruction;
THEN_RETURN
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be RETURN in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the RETURN instruction;
THEN_PUSH
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be PUSH in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the PUSH instruction;
THEN_POP
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be POP in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the POP instruction;
THEN_SETON
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be SETON in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the SETON instruction;
THEN_SETONR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be SETONR in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the SETONR instruction;
THEN_GOBACK
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GOBACK in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the GOBACK instruction;
THEN_SEND
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be SEND in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the SEND instruction;
THEN_SENDPOS
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be SENDPOS in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the SENDPOS instruction;
THEN_SENDLENGTH
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be SENDLENGTH in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the SENDLENGTH instruction;
THEN_SENDLENGTHR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be SENDLENGTHR in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the SENDLENGTHR instruction;
THEN_FIND
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be FIND in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the FIND instruction;
THEN_FINDR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be FINDR in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the FINDR instruction;
THEN_NOP
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be NOP in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the NOP instruction;
THEN_ERROR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be ERROR in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the ERROR instruction;
THEN_ILET_RAM
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be ILET_RAM in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the ILET_RAM instruction;
THEN_ILET_REG
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be ILET_REG in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the ILET_REG instruction;
THEN_MAKE_OUTPUT
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be MAKE_OUTPUT in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the MAKE_OUTPUT instruction;
THEN_MAKE_OUTPUTR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be MAKE_OUTPUTR in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the MAKE_OUTPUTR instruction;
THEN_MAKE_ROM
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be MAKE_ROM in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the MAKE_ROM instruction;
THEN_MAKE_ROMR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be MAKE_ROMR in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the MAKE_ROMR instruction;
THEN_MAKE_KNOWS
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be MAKE_KNOWS in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the MAKE_KNOWS instruction;
THEN_MAKE_KNOWSR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be MAKE_KNOWSR in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the MAKE_KNOWSR instruction;
THEN_READ_RESULT
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be READ_RESULT in first instruction of THEN position, then uses this instruction; Other form and function are all just the same with the READ_RESULT instruction;
ELSE_LET
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be LET in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the LET instruction;
ELSE_LETR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be LETR in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the LETR instruction;
ELSE_LETRK
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be LETRK in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the LETRK instruction;
ELSE_LETRR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be LETRR in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the LETRR instruction;
ELSE_TRIM_LEFT
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_LEFT in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the TRIM_LEFT instruction;
ELSE_TRIM_LEFTR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_LEFTR in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the TRIM_LEFTR instruction;
ELSE_TRIM_LEFTRK
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_LEFTRK in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the TRIM_LEFTRK instruction;
ELSE_TRIM_LEFTRR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_LEFTRR in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the TRIM_LEFTRR instruction;
ELSE_TRIM_RIGHT
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_RIGHT in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the TRIM_RIGHT instruction;
ELSE_TRIM_RIGHTR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_RIGHTR in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the TRIM_RIGHTR instruction;
ELSE_TRIM_RIGHTRK
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_RIGHTRK in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the TRIM_RIGHTRK instruction;
ELSE_TRIM_RIGHTRR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be TRIM_RIGHTRR in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the TRIM_RIGHTRR instruction;
ELSE_GET_LEFT
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_LEFT in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the GET_LEFT instruction;
ELSE_GET_LEFTR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_LEFTR in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the GET_LEFTR instruction;
ELSE_GET_LEFTRK
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_LEFTRK in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the GET_LEFTRK instruction;
ELSE_GET_LEFTRR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_LEFTRR in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the GET_LEFTRR instruction;
ELSE_GET_RIGHT
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_RIGHT in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the GET_RIGHT instruction;
ELSE_GET_RIGHTR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_RIGHTR in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the GET_RIGHTR instruction;
ELSE_GET_RIGHTRK
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_RIGHTRK in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the GET_RIGHTRK instruction;
ELSE_GET_RIGHTRR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GET_RIGHTRR in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the GET_RIGHTRR instruction;
ELSE_GOTO
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GOTO in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the GOTO instruction;
ELSE_GOTOR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GOTOR in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the GOTOR instruction;
ELSE_CALL
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be CALL in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the CALL instruction;
ELSE_RETURN
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be RETURN in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the RETURN instruction;
ELSE_PUSH
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be PUSH in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the PUSH instruction;
ELSE_POP
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be POP in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the POP instruction;
ELSE_SETON
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be SETON in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the SETON instruction;
ELSE_SETONR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be SETONR in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the SETONR instruction;
ELSE_GOBACK
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be GOBACK in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the GOBACK instruction;
ELSE_SEND
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be SEND in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the SEND instruction;
ELSE_SENDPOS
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be SENDPOS in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the SENDPOS instruction;
ELSE_SENDLENGTH
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be SENDLENGTH in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the SENDLENGTH instruction;
ELSE_SENDLENGTHR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be SENDLENGTHR in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the SENDLENGTHR instruction;
ELSE_FIND
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be FIND in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the FIND instruction;
ELSE_FINDR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be FINDR in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the FINDR instruction;
ELSE_NOP
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be NOP in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the NOP instruction;
ELSE_ERROR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be ERROR in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the ERROR instruction;
ELSE_ILET_RAM
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be ILET_RAM in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the ILET_RAM instruction;
ELSE_ILET_REG
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be ILET_REG in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the ILET_REG instruction;
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be MAKE_OUTPUT in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the MAKE_OUTPUT instruction;
ELSE_MAKE_OUTPUTR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be MAKE_OUTPUTR in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the MAKE_OUTPUTR instruction;
ELSE_MAKE_ROM
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be MAKE_ROM in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the MAKE_ROM instruction;
ELSE_MAKE_ROMR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be MAKE_ROMR in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the MAKE_ROMR instruction;
ELSE_MAKE_KNOWS
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be MAKE_KNOWS in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the MAKE_KNOWS instruction;
ELSE_MAKE_KNOWSR
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be MAKE_KNOWS in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the MAKE_KNOWSR instruction;
ELSE_READ_RESULT
Only be used in IFxx ... THEN ... ELSE ... the ENDIF statement if be READ_RESULT in first instruction of ELSE position, then uses this instruction; Other form and function are all just the same with the READ_RESULT instruction.
3, artificial intelligence machine as claimed in claim 2 is characterized in that: described CPU (central processing unit) NLPU towards natural language processing, and mainly to finish the symbol of natural language and handle, its inside comprises:
The buffer of ANL director data: deposit the ANL sound instruction data that NLPU reads from the ANL language description storehouse of outside by ANL director data bus;
Command decoder: the order code of delivering in the order code impact damper by ANL director data bus is deciphered, and directly controlled all service parts relevant of whole NLPU with the ANL execution process instruction;
Timing control unit: the time clock with the outside is driving, for the operation of command decoder and other the time sequence control parts that need in operating process provide the time sequential routine;
Arithmetic unit: mainly finish arithmetical operation operation, comprise add, subtract, multiplication and division, and with or, non-etc. logic fundamental operation;
Character operation device: be used for finishing the various operations of character operation, comprise the judgement of compare string string, the character of the appointment number of the add operation of character string, the character string of extracting the appointment number, a certain end of clear character string, calculating character string length etc.;
Arithmetic operation number register 1: be used for temporarily depositing first arithmetic operation number that carries out numerical value or symbolic operation;
Arithmetic operation number register 2: be used for temporarily depositing second the arithmetic operation number that carries out numerical value or symbolic operation;
Result register: be used for temporarily depositing the numerical value or the result of symbolic operation and the information in processing procedure of keeping in other of carrying out;
Character-numerical transformation device 1: when carrying out arithmetical operation, to leaving the data that character type data in the arithmetic operation number register 1 is converted to numeric type in;
Character-numerical transformation device 2: when carrying out arithmetical operation, to leaving the data that character type data in the arithmetic operation number register 2 is converted to numeric type in;
Numerical value-lteralizer: when carrying out arithmetical operation, the numeric type data after the computing are converted to again the data of character type;
Row codec: when recovering at the scene that the expansion word instruction that produces suspension or generation generation sentence is protected, the data decode of the character type that the pointer of the expansion word instruction of protection is expert at is the data of numeric type, and is loaded in the ANL dos command line DOS pointer generator;
MUX 1: this MUX is controlled by command decoder, to the data on the character type data line of delivering to NLPU, selects the result of arithmetic unit or character operation device to export;
Sentence pointer generator:, generate the value of next sentence pointer according to the pointer value of current sentence;
Sentence pointer buffer: this buffer is directly deposited the effective sentence pointer value that is generated by the sentence pointer generator;
Speech pointer generator:, generate the value of the pointer of next speech according to the value of current speech pointer;
Speech pointer buffer: this buffer is directly deposited the effective speech pointer value that is generated by the speech pointer generator;
The target code translator: the operand 1 in the ANL instruction of needs visits framework buffer is deciphered, and the address value of the sentence position of based on context visit, lexeme is put and attribute-name synthesize content generation symbolic address bus;
Owner pointer: be a buffer unit in the target code translator, preserve the sequence number of current handled expansion word instruction;
Floating pointer: be a buffer unit in the target code translator, dynamically preserve the sequence number based on owner pointer of current handled expansion word instruction;
First level address bus cache device: when register addressing was operated, directly the first level address of register number was specified in output, and the needs of depositing other carry out the address date that first level address drives operation;
Direct data bus buffer: temporarily deposit 2 system data;
Symbolic address bus cache device: deposit NLPU in the symbolic address information of carrying out external reference with the character type data as the address;
Symbol data bus cache device: mainly be to deposit NLPU in the symbol data information of carrying out external reference with the character type data as data;
Output text interface: the handle in processing procedure needs the information of produce output result by this interface output;
External communication interface: be used for the information transmission with sensor external and driver, and the operation information of output artificial intelligence machine;
ANL dos command line DOS pointer generator: add 1 row address information that produces when carrying out the ANL instruction automatically successively, its content is the address of numerical value;
Main flow/suspension flow process control assembly: the execution that the expansion word that is used to switch main flow and hang flow process instructs;
The text camera lucida: be used for the content of the text buffer memory of artificial intelligence machine is written in the framework buffer according to the sequence number of sentence sequence number, speech and the form of framework buffer, and to the coding work of address decoder;
Sentence extraction apparatus:, from the framework buffer, extract the sentence of this pointer appointment according to the pointer value in the current sentence pointer generator;
Sentence formula extraction apparatus:, from the framework buffer, extract the sentence formula of this pointer appointment according to the pointer value in the current sentence pointer generator;
Speech extraction apparatus:, from the framework buffer, extract the speech of this pointer appointment according to the pointer value in the current speech pointer generator;
The coding write device of address decoding: to different sentence sequence numbers, different speech sequence number and be written in the address decoder at the framework buffer or after generating the physical address encoding operation of sentence workspace buffer memory;
Current flow state sign: show that current treatment state is in main flow process or the suspension execution flow process carried out;
Current Notation Of Content: show when the expansion word of pre-treatment instruction ANL describe body to as if sentence, sentence formula or speech;
Generate the sentence sign: the generation sentence that shows current execution is by sentence, sentence formula or speech guiding;
The workspace address pointer of current expansion word instruction: show current expansion word instruction in the main flow at the physical address in synthetic operation district, and carry out the expansion word instruction of hanging the generation sentence that produces in the flow process physical address in the synthetic operation district;
The length parameter amount unit, workspace of expansion word instruction: preserve each expansion word instruction shared physical space length in the synthetic operation district in this unit;
Totalizer 1: this totalizer obtains the workspace pointer of the next expansion word instruction of the workspace pointer that current expansion word instructs in the synthetic operation district by the content addition of the value of the workspace address pointer of current expansion word instruction with the length parameter amount unit, workspace of expansion word instruction;
Totalizer 2:, obtain the value of the absolute physical address of register in the synthetic operation district with current expansion word instruction works regional address pointer value and value addition from different side-play amounts unit;
IF side-play amount unit: preserve the start address in IF stack area in the shared physical space in the synthetic operation district of expansion word instruction with respect to the side-play amount that begins most physical address of this expansion word instruction;
CALL side-play amount unit: preserve the start address in CALL stack area in the shared physical space in the synthetic operation district of expansion word instruction with respect to the side-play amount that begins most physical address of this expansion word instruction;
PUSH side-play amount unit: preserve the start address in PUSH stack area in the shared physical space in the synthetic operation district of expansion word instruction with respect to the side-play amount of the physical address that begins most of this expansion word instruction;
Self-defined register side-play amount unit: the start address in self-defined register district in the shared physical space in synthetic operation district that is used for preserving the expansion word instruction is with respect to the side-play amount of the physical address that begins most of this expansion word instruction;
General-purpose register side-play amount unit: preserve the expansion word instruction in the synthetic operation district in the shared physical space the start address in general-purpose register district with respect to the side-play amount of the physical address that begins most of this expansion word instruction;
IF turns the address stack pointer generator: the pointer value that produces IF stack area required in the current expansion word instruction execution;
CALL turns the address stack pointer generator: the pointer value that produces CALL stack area required in the current expansion word instruction execution;
PUSH turns the address stack pointer generator: the pointer value that produces PUSH stack area required in the current expansion word instruction execution;
The remainder is according to generator: to the data assignment from stack pointer on the totalizer 2 is zero;
Produce the expansion word instruction address stack district that hangs: this stack area is a memory block of supporting stack manipulation of NLPU inside, preserves to produce the physical address of expansion word instruction in synthetic operation district buffer memory that hangs;
Produce the expansion word instruction address stack pointer that hangs: this stack pointer is used for indicating the position of the unit, place, address that produces that expansion word instruction that enters the storehouse preservation at last current in the expansion word instruction address stack district that hangs;
Produce the expansion word instruction counter that hangs: the number that is recorded in the expansion word instruction of the suspension that produces in the entire process process;
Comparer: this comparer is used for when carry out hanging the content of workspace, judges to produce the expansion word instruction address stack pointer that hangs by constantly adding 1 value, whether equals to produce the value in the expansion word instruction counter of suspension;
Produce the expansion word instruction address stack district that generates sentence: be the storage area of NLPU internal support stack manipulation, be used for preserving the physical address of the expansion word instruction of appearance generation sentence at synthetic operation district buffer memory;
Produce the expansion word instruction address stack pointer of generation sentence: indicate the position of the unit, place, address of that expansion word instruction that enters the storehouse preservation at last current in the expansion word instruction address stack district that produces the generation sentence, and the next cell position of the unit, place, address of that expansion word instruction of last storehouse ejection;
Root sentence comparer: be used to judge whether the content of current outside input text all is finished;
Current Notation Of Content buffer: be used to enter the Notation Of Content of preserving current sentence, sentence formula, speech when hanging the execution flow process;
Hang and eliminate control assembly: be used for hanging flow process and write clear flag to the corresponding address unit in execution.
CNB021333009A 2002-10-28 2002-10-28 Manual intelligent machine and method of realizing natural speech understanding Expired - Fee Related CN100428162C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB021333009A CN100428162C (en) 2002-10-28 2002-10-28 Manual intelligent machine and method of realizing natural speech understanding

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB021333009A CN100428162C (en) 2002-10-28 2002-10-28 Manual intelligent machine and method of realizing natural speech understanding

Publications (2)

Publication Number Publication Date
CN1493980A true CN1493980A (en) 2004-05-05
CN100428162C CN100428162C (en) 2008-10-22

Family

ID=34231294

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB021333009A Expired - Fee Related CN100428162C (en) 2002-10-28 2002-10-28 Manual intelligent machine and method of realizing natural speech understanding

Country Status (1)

Country Link
CN (1) CN100428162C (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104778071A (en) * 2015-04-02 2015-07-15 谢玮琦 Intelligent rule multi-language type interpretation system and creation method for same
CN106293725B (en) * 2016-08-04 2021-03-02 深圳市微我科技有限公司 Natural language hybrid programming method based on post-realization

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2016451C (en) * 1989-06-30 2001-10-16 Rhonda L. Alexander Apparatus and method for computer-aided decision making
CN1038146C (en) * 1993-07-21 1998-04-22 首钢总公司 Computerized blast furnace smelting expert system method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104778071A (en) * 2015-04-02 2015-07-15 谢玮琦 Intelligent rule multi-language type interpretation system and creation method for same
CN106293725B (en) * 2016-08-04 2021-03-02 深圳市微我科技有限公司 Natural language hybrid programming method based on post-realization

Also Published As

Publication number Publication date
CN100428162C (en) 2008-10-22

Similar Documents

Publication Publication Date Title
CN1204515C (en) Method and apparatus for processing free-format data
CN1027198C (en) Computing device
CN1155906C (en) data processing method, system, processing program and recording medium
CN1215433C (en) Online character identifying device, method and program and computer readable recording media
CN1170240C (en) Structural file searching display method and device thereof
CN1578954A (en) Machine translation
CN1608259A (en) Machine translation
CN1567174A (en) Method for expressing and processing object and apparatus thereof
CN1255213A (en) Language analysis system and method
CN1073276A (en) The middle sex object of language
CN1271545C (en) Language translation system
CN1073540A (en) Managing class method manes
CN1875345A (en) Extensible type system for representing and checking consistency of program components during the process of compilation
CN1155884C (en) Optimization device for cancel of transmission command by analysis of equivalent relationship in large range
CN101040292A (en) Data management device and its method
CN1910601A (en) Constraint condition solving method, constraint condition solving device, and constraint condition solving system
CN1689022A (en) XML streaming transformer
CN1274439A (en) Window display
CN1672149A (en) Word association method and apparatus
CN1774712A (en) System and method in a data table for managing insertion operations in recursive scalable template instances
CN1839401A (en) Information processing device and information processing method
CN1269052C (en) Constant reducing processor capable of supporting shortening code length
CN1505786A (en) Content conversion method and apparatus
CN1993673A (en) Data processor, data processing program and recording miduem recording the data processing program
CN1777887A (en) System and method in a data table for creating recursive scalable template instances

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20081022

Termination date: 20131028