Abstract:
A system for changing a natural language sentence input by a user. The sentence expresses an operation specification which is translated to an operation specification command in a machine language for an operation specification object such as database. The system has a function to define specific items necessary for changing the natural language input sentence to the operation specification command without forcing the user to decide complicated definitions related to the operation specification object. The system refers to an operation specification object information table which stores at least one of the following acquired from the user: 
     (1) A unit word or an interrogative word (phrase) with respect to each of the items in the database; 
     (2) An explanatory sentence with respect to each of the items in the database; and 
     (3) An item pair which is specifiable as a join condition of each of the items in the database.

Description:
BACKGROUND OF THE INVENTION 
     1. Field of the Invention 
     The present invention relates to a method and system for generating operation specification object information and more particularly to a system for generating operation specification object information which is referred to when converting an input sentence representing an operation specification to an operation specification object to an operation specification instruction to a processor and to a method and system for recognizing an operation specification object from an input sentence so as to convert an input sentence representing an operation specification to an operation specification object to an operation specification instruction to a processor. 
     2. Background of the Invention 
     A prior art relating to the present invention is indicated, for example, in Japanese Patent Application Laid-Open No. 62663. 
     According to the above prior art, the determination process of values in a dictionary is standardized by classifying information such as the aspect and directed willingness which specify the relation between the concept and grammatical behavior in a natural language on the basis of the features related to the metalanguage. 
     By doing this, the burden imposed on a dictionary creator for generating dictionary information is lightened. 
     The above prior art generates dictionary information for the purpose of machine translation but does not generate operation specification object information which is referred to when converting an input sentence representing an operation specification to an operation specification object to an operation specification instruction to a processor. 
     Namely, prior art for generating such operation specification object information is not known. Prior art for recognizing an operation specification object from an input sentence with reference to such operation specification object information is also not known. 
     SUMMARY OF THE INVENTION 
     An object of the present invention is to provide a method and system for generating operation specification object information which is referred to when converting an input sentence representing an operation specification to an operation specification object to an operation specification instruction to a processor and on the basis of the result, to provide a method and system for recognizing an operation specification object for recognizing an operation specification instruction from an input sentence so as to convert an input sentence representing an operation specification to an operation specification object to an operation specification instruction to a processor. 
     To accomplish the above object, according to the present invention, a method and system for generating operation specification object information in a system having a function for converting an input sentence representing an operation specification to an operation specification object having a plurality of items to an operation specification instruction to the above operation specification object have at least one setting step (means) among the following first setting step (means) to third setting step (means), namely, the first setting step (means) for setting the correspondence between the word in each item in the above operation specification object and the unit word in correspondence with the word, the second setting step (means) for setting the correspondence between each item in the above operation specification object and the interrogative pronoun in correspondence with the case that the item is selected as a search object, and the third setting step (means) for setting the item pair as a join condition between the above items when instructing a search to the above operation specification object and generate the corresponding operation specification object information on the basis of the result which is set by at least one setting step (means) mentioned above. 
     The present invention may be classified as follows depending on the point of view. 
     From the first point of view, the present invention is a method and system for generating operation specification object information which is referred to when converting an input sentence representing an operation specification to an operation specification object to an operation specification instruction to a processor, which set the correspondence between the word in each item in the operation specification object and the unit word in correspondence with the word, and set the correspondence between each item in the operation specification object and the interrogative pronoun in correspondence with the case that the item is selected as a search object, and set the correspondence between each item in the operation specification object and the explanatory sentence for explaining the item, and set the item pair which can be set as a join condition when instructing a search to the operation specification object. 
     From the second point of view, the present invention is a method and system for recognizing an operation specification object from an input sentence so as to convert an input sentence representing an operation specification to an operation specification object to an operation specification instruction to a processor, which detect unit words existing in the input sentence, and obtain the items corresponding to the above detected unit words with reference to the above generated operation specification object information, and recognize the word just prior to each of the above detected unit words as a word in the above obtained item. 
     From the third point of view, the present invention is a method and system for recognizing an operation specification object from an input sentence so as to convert an input sentence representing an operation specification to an operation specification object to an operation specification instruction to a processor, which detect interrogative pronouns existing in the input sentence, and obtain the items corresponding to the above detected interrogative pronouns with reference to the above generated operation specification object information, and recognize the obtained items as search object items. 
     From the fourth point of view, the present invention is a method and system for recognizing an operation specification object from an input sentence so as to convert an input sentence representing an operation specification to an operation specification object to an operation specification instruction to a processor, which detect declinable words existing in the input sentence, and obtain the items corresponding to the explanatory sentence containing the above detected declinable words with reference to the above generated operation specification object information, and recognize the words corresponding to the above detected declinable words as words in the above obtained items. 
     From the fifth point of view, the present invention is a method and system for recognizing an operation specification object from an input sentence so as to convert an input sentence representing an operation specification to an operation specification object to an operation specification instruction to a processor, which detect declinable words existing in the input sentence, and obtain the explanatory sentence containing the above detected declinable words with reference to the above generated operation specification object information, and detect the postpositional words existing in the input sentence which are the same as the postpositional words in the obtained explanatory sentence, and recognize the words accompanied by the detected postpositional words as words in the items which are accompanied by the postpositional words in the above explanatory sentence. 
     The present invention having the aforementioned constitution has the following functions. 
     The method and system for generating operation specification object information from the above first point of view has means for setting the correspondence between the word in each item in the operation specification object and the unit word in correspondence with the word, the correspondence between each item in the operation specification object and the interrogative pronoun in correspondence with the case that the item is selected as a search object, the correspondence between each item in the operation specification object and the explanatory sentence for explaining the item, and the item pair which can be set as a join condition when instructing a search to the operation specification object respectively. 
     By doing this, the burden imposed on a user is lightened and operation specification object information can be generated simply. 
     The method and system for generating operation specification object information from each of the above second point of view to the fifth point of view recognize the operation specification object represented by the input sentence on the basis of the unit words, interrogative pronouns, or explanatory sentence with reference to the operation specification object information. 
     By doing this, the user can instruct an operation to the processor by an input sentence in natural language without performing a complicated definition process for the operation specification object. 
     The foregoing and other objects, advantages, manner of operation and novel features of the present invention will be understood from the following detailed description when read in connection with the accompanying drawings. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     FIG. 1 is a block diagram of an embodiment of an operation specification object information generating system of the present invention. 
     FIG. 2 is a hardware block diagram of the operation specification object information generating system shown in FIG. 1. 
     FIG. 3 is an illustration of the data base shown in FIG. 1. 
     FIG. 4 is a PAD diagram showing the operation of the DB information obtaining module shown in FIG. 1. 
     FIG. 5 is an illustration of the operation specification object structure information table. 
     FIG. 6 is a PAD diagram showing the operation of the item attribute defining module shown in FIG. 1. 
     FIG. 7 is an illustration of the operation specification object information table which is set by the operation shown in FIG. 6. 
     FIG. 8 is a PAD diagram showing the operation of the item explanatory sentence creating module shown in FIG. 1. 
     FIG. 9 is an illustration of the operation specification object information table which is set by the operation shown in FIG. 8. 
     FIG. 10 is a PAD diagram showing the operation of the join condition generator shown in FIG. 1. 
     FIG. 11 is an illustration of the operation specification object information table which is set by the operation shown in FIG. 10. 
     FIG. 12 is an illustration of display of a method for designating a unit word to a user. 
     FIG. 13 is an illustration of display of a method for designating an interrogative pronoun to a user. 
     FIG. 14 is an illustration of display of a method for designating an explanatory sentence to a user. 
     FIG. 15 is a block diagram of a natural language database system containing an operation specification object recognizing system of the present invention. 
     FIG. 16 is an illustration of an input sentence to the system shown in FIG. 15. 
     FIG. 17 is an illustration of an interrogative pronoun table. 
     FIG. 18 is an illustration of a unit words table. 
     FIG. 19 is an illustration of a screen which is used for a user to select a suitable one among predefined interrogative pronouns. 
     FIG. 20 is an illustration of a screen which is used for a user to select a suitable one among predefined unit words. 
    
    
     DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS 
     Next, the present invention will be explained in detail using the embodiments shown in the accompanying drawings. 
     FIG. 1 is a block diagram showing the function structure of an embodiment of an operation specification object information generating system of the present invention. 
     In the operation specification object information generating system 100, a DB information obtaining module 2 refers to a database 1, obtains the database table, columns, and attributes of the columns, and registers them in an operation specification object structure information table 4. 
     An item attribute defining module 3 refers to the operation specification object structure information table 4, obtains the unit word in correspondence with the column value of each column from a user, furthermore obtains the interrogative pronoun in correspondence with the case that it is selected as a retrieval object of each column from the user, and registers them in an operation specification object information table 6. In this case, the unit words are, for example, &#34;yen&#34;, &#34;cm&#34;, &#34;san&#34;, &#34;sama&#34;, etc. The interrogative pronouns are, for example, &#34;who&#34;, &#34;when&#34;, &#34;where&#34;, &#34;how much&#34;, &#34;how many&#34;, &#34;what&#34;, etc. 
     An item explanatory sentence creating module 5 refers to the operation specification object structure information table 4, obtains the explanatory sentence for each column from the user, and registers them in the operation specification object information table 6. 
     A join condition generator 7 refers to the operation specification object structure information table 4 and database 1, generates a column pair candidate when designating the join condition for operating the database which is an operation specification object, obtains the column pair selected by the user, and registers them in the operation specification object information table 6. 
     The DB information obtaining module 2, item attribute defining module 3, item explanatory sentence creating module 5, and join condition generator 7 are logical blocks which are separated for each processing function. The database 1, operation specification object structure information 4, and operation specification object information 6 are files or tables. 
     Since the operation specification object information generating system 100 is separated into logical blocks for each function as mentioned above, an LSI can be formed for each logical block and the processing can be speeded up. 
     FIG. 2 is a block diagram showing the hardware structure of the above operation specification object information generating system 100. 
     An I/O device 8 inputs specifications, programs, and data and outputs and displays various types of information. 
     A processor 9 executes each processing shown in FIG. 1. 
     A storage 12 has a database storage area 10 for storing the database 1, the tables 4 and 6, and the modules 2, 3, 5, and 7 shown in FIG. 1, an operation specification object structure information table area 40, an operation specification object information table area 60, a DB information obtaining module storage area 20, an item attribute defining module area 30, an item explanatory sentence creating module area 50, and a join condition generator storage area 70. In addition, the storage 12 has a working area 11. 
     FIG. 3 shows an example of the database 1. 
     The database 1 comprises two tables such as a goods table 1--1 and a shop table 1-2. The goods table 1--1 comprises three columns such as &#34;good name&#34;, &#34;price&#34;, and &#34;shop name&#34;. 
     The shop table 1-2 comprises five columns such as &#34;shop name&#34;, &#34;location&#34;, &#34;owner&#39;s name&#34;, &#34;regular holiday&#34;, and &#34;annual turnover&#34;. 
     FIG. 4 is a PAD diagram showing the operation of the DB information obtaining module 2. 
     Firstly, the DB information obtaining module 2 obtains every referable table name of the database 1 (Step 21). Next, the DB information obtaining module 2 asks the user about the operation specification object table (Step 22) and obtains the table name designated by the user (Step 23). In this example, it is assumed that the goods table 1--1 and the shop table 1-2 shown in FIG. 3 are obtained as a table name. 
     Next, the DB information obtaining module 2 executes Steps 25, 26, and 27 for each table of the obtained table name (Step 24). 
     The DB information obtaining module 2 stores the table names of the taken-up table in the table name column K1 of the operation specification object structure information table 4 shown in FIG. 5 and the column names constituting the table in the item name column K2 (Step 25). 
     Next, the DB information obtaining module 2 stores the attribute of each column in the attribute column K3 (Step 26). 
     Next, the DB information obtaining module 2 stores the codes in the item code column K4 so that they are not duplicated. 
     By doing this, the operation specification object structure information table 4 shown in FIG. 5 is obtained from the database 1 shown in FIG. 3. 
     FIG. 6 is a PAD diagram showing the operation of the item attribute defining module 3. 
     Firstly, the item attribute defining module 3 presents an explanation sentence indicating a method for designating a unit word to the user as shown in FIG. 12 and presents an explanation sentence indicating a method for designating an interrogative pronoun to the user as shown in FIG. 13 (Step 31). 
     Next, the item attribute defining module 3 obtains the operation specification object table name with reference to the operation specification object structure information table 4 (Step 32). 
     Next, the item attribute defining module 3 executes Step 34 for each table of the obtained table name (Step 33). 
     The item attribute defining module 3 executes Steps 35 to 39 from the top column of the taken-up table to the end column (Step 34). 
     The item attribute defining module 3 demands the user to input the unit word in correspondence with the column value of the taken-up column (Step 35). The item attribute defining module 3 obtains the unit word which is inputted by the user and registers it in the unit word column H3 of the operation specification object information table 6 shown in FIG. 7 (Step 36). 
     Next, the item attribute defining module 3 demands the user to input the interrogative pronoun in correspondence with the case that the taken-up column is selected as a retrieval object (Step 37). The item attribute defining module 3 obtains the interrogative pronoun which is inputted by the user and registers it in the interrogative pronoun column H4 of the operation specification object information table 6 shown in FIG. 7 (Step 38). 
     By doing this, the operation specification object information table 6 shown in FIG. 7 is obtained from the operation specification object structure information table 4 shown in FIG. 5 and the unit words and interrogative pronouns which are inputted by the user. 
     In this embodiment, interrogative pronouns such as &#34;where&#34; and &#34;who&#34; are obtained. However, the case information represented by the column such as &#34;location&#34; instead of &#34;where&#34; and &#34;person&#34; instead of &#34;who&#34; may be obtained from the user. 
     FIG. 8 is a PAD diagram showing the operation of the item explanatory sentence creating module 5. Firstly, the item explanatory sentence creating module 5 presents a method for composing an explanation sentence to the column to the user as shown in FIG. 14 (Step 51). 
     Next, the item explanatory sentence creating module 5 obtains the operation specification object table name with reference to the operation specification object structure information table 4 (Step 52). 
     Next, the item explanatory sentence creating module 5 executes Step 54 for each table of the obtained table name (Step 53). 
     The item explanatory sentence creating module 5 executes Steps 55 to 57 from the top column of the taken-up table to the end column (Step 54). 
     The item explanatory sentence creating module 5 demands the user to input the explanatory sentence for the taken-up column (Step 55). The item explanatory sentence creating module 5 obtains the explanatory sentence which is inputted by the user (Step 56) and registers it in the explanatory sentence column H5 of the operation specification object information table 6 shown in FIG. 9 (Step 57). 
     By doing this, the operation specification object information table 6 shown in FIG. 9 is obtained from the operation specification object information table 6 shown in FIG. 7 and the explanatory sentence which is inputted by the user. 
     In this embodiment, the explanatory sentence is stored as it is. However, the explanatory sentence may be stored in a form that it is divided into the column name and postpositional words, declinable words, and syntax information in correspondence with the column name. 
     FIG. 10 is a PAD diagram showing the operation of the join condition generator 7. 
     Firstly, the join condition generator 7 obtains the operation specification object table name with reference to the operation specification object structure information table 4 (Step 71). 
     Next, the join condition generator 7 executes Step 73 for each table of the obtained table name (Step 72). 
     The join condition generator 7 executes Step 74 for each column of the taken-up table (Step 73). The join condition generator 7 executes Steps 75 and 76 from the top column value of the taken-up column to the end column value (Step 74). 
     The join condition generator 7 discriminates whether the column containing the taken-up column value exists in another table (Step 75). When it does, the join condition generator 7 obtains a pair of the column corresponding to the column value and the column containing the column value which exists in another table (Step 76). 
     Next, the join condition generator 7 presents the obtained column pair to the user as a column pair candidate for which a join condition can be designated (Step 77) and demands the user to select it (Step 78). 
     Next, the join condition generator 7 obtains each column of the column pair selected by the user, obtains the item codes of the columns, and stores the item code at the location corresponding to the column pair in the join item column H6 corresponding to each column in the operation specification object information table 6 shown in FIG. 11 (Step 79). 
     By doing this, in addition to the operation specification object information table 6 shown in FIG. 9, the operation specification object information table 6 shown in FIG. 11 is obtained from the column pair selected by the user. 
     As mentioned above, according to the operation specification object information generating system 100 of this embodiment, operation specification object information for establishing a correspondence between the database which is an object of natural language analysis and the analytical result of the natural language can be registered simply so that the burden imposed on the user is lightened. 
     Next, a use example of operation specification object information will be explained. 
     FIG. 15 shows an example of a natural language database system 1500 which refers to operation specification object information generated by the operation specification object information generating system of the present invention. 
     The natural language database system 1500 consists of a database 1, an operation specification object structure information table 4, an operation specification object information table 6, a natural language inputting module a for inputting natural language, an operation specification instruction recognizing module b for recognizing an operation specification instruction from the inputted natural language, an operation specification instruction executing module c for operating the database 1 according to the recognized operation specification instruction, and a dictionary d. 
     FIG. 16 shows examples of input sentences which are inputted from the natural language inputting module a. 
     Input sentence 1 is a use example of an interrogative pronoun of &#34;how much&#34;. It is assumed that it is found in the input sentence 1 that &#34;miso-raamen&#34; is a good name and &#34;how much&#34; is an interrogative pronoun. By referring to the table name column K1, the item name column K2, and the item code column K4 of the operation specification object structure information table 4 shown in FIG. 5, it is found that the item name &#34;good name&#34; corresponds to the item code &#34;A1&#34; in the &#34;goods table&#34; 1--1. By referring to the item code column H2 and the interrogative pronoun column H4 in the operation specification object information table 6 shown in FIG. 11, it is found that the interrogative pronoun &#34;how much&#34; corresponds to two item codes &#34;A2&#34; and &#34;B5&#34;. Furthermore, by referring to the table name column K1 and the item code column K4 of the operation specification object structure information table 4 shown in FIG. 5, it is found that the item code &#34;A2&#34; corresponds to the &#34;goods table&#34; 1--1 and the item code &#34;B5&#34; corresponds to the &#34;shop table&#34; 1-2. Under the condition that &#34;an interrogative pronoun indicates an item in the same table as that of another word in the input sentence but a different item&#34;, the item code &#34;A2&#34; is selected. Therefore, by referring to the item name column K2 and the item code column K4 of the operation specification object structure information table 4 shown in FIG. 5, it is found that the interrogative pronoun &#34;how much&#34; indicates the item name &#34;price&#34; of the item code &#34;A2&#34;. By doing this, the correspondence between the input sentence 1 and the database 1 can be recognized. 
     Input sentence 2 is a use example of an interrogative pronoun of &#34;where&#34;. It is assumed that it is found in the input sentence 2 that &#34;Hitachihanten&#34; is a shop name and &#34;where&#34; is an interrogative pronoun. By referring to the table name column K1, the item name column K2, and the item code column K4 of the operation specification object structure information table 4 shown in FIG. 5, it is found that the item name &#34;shop name&#34; corresponds to the item code &#34;A3&#34; in the &#34;goods table&#34; 1--1 and the item code &#34;B1&#34; in the &#34;shop table&#34; 1-2. By referring to the item code column H2 and the interrogative pronoun column H4 in the operation specification object information table 6 shown in FIG. 11, it is found that the interrogative pronoun &#34;where&#34; corresponds to three item codes &#34;A3&#34;, &#34;B1&#34;, and &#34;B2&#34;. Furthermore, by referring to the table name column K1 and the item code column K4 of the operation specification object structure information table 4 shown in FIG. 5, it is found that the item code &#34;A3&#34; corresponds to the &#34;goods table&#34; 1--1, and the item code &#34;B1&#34; corresponds to the &#34;shop table&#34; 1-2, and the item code &#34;B2&#34; corresponds to the &#34;shop table&#34; 1-2. Under the condition that &#34;an interrogative pronoun indicates an item in the same table as that of another word in the input sentence but a different item&#34; the item code &#34;B2&#34; is selected Therefore, by referring to the item name column K2 and the item code column K4 in the operation specification object structure information table 4 shown in FIG. 5, it is found that the interrogative pronoun &#34;where&#34; indicates the item name &#34;location&#34; of the item code &#34;B2&#34;. By doing this, the correspondence between the input sentence 2 and the database 1 can be recognized. Input sentence 3 is a use example of a unit word of &#34;san&#34;. 
     It is assumed that it is found in the input sentence 3 that &#34;san&#34; is a unit word. By referring to the item code column H2 and the unit word column H3 in the operation specification object information table 6 shown in FIG. 11, it is found that the unit word &#34;san&#34; corresponds to the item code &#34;B3&#34;. Therefore, by referring to the item name column K2 and the item code column K4 in the operation specification object structure information table 4 shown in FIG. 5, it is found that a word of &#34;Hitachi Taro&#34; accompanied by the unit word &#34;san&#34; indicates the item name &#34;owner&#39;s name&#34; of the item code &#34;B3&#34;. By doing this, the correspondence between the input sentence 3 and the database 1 can be recognized. 
     Input sentence 4 is a use example of a unit word of &#34;yen&#34;. It is assumed that it is found in the input sentence 4 that &#34;yen&#34; is a unit word and &#34;good&#34; indicates the item &#34;good name&#34; in the &#34;goods table&#34; 1--1. By referring to the operation specification object information table 6 shown in FIG. 11, it is found that the unit word &#34;yen&#34; corresponds to the item codes &#34;A2&#34; and &#34;B5&#34;. Furthermore, by referring to the operation specification object structure information table 4 shown in FIG. 5, it is found that the item code &#34;A2&#34; corresponds to the &#34;goods table&#34; 1--1 and the item code &#34;B5&#34; corresponds to the &#34;shop table&#34; 1-2. Under the condition that &#34;the item in the same table as that of the word of the just behind phrase is selected&#34; the item code &#34;A2&#34; in the &#34;goods table&#34; 1--1 in which the word of the just behind phrase &#34;good&#34; is found is selected. Therefore, by referring to the operation specification object structure information table 4 shown in FIG. 5, it is found that a word of &#34;500&#34; accompanied by the unit word &#34;yen&#34; indicates the item name &#34;price&#34; of the item code &#34;A2&#34;. By doing this, the correspondence between the input sentence 4 and the database 1 can be recognized. 
     Input sentence 5 is a use example of an explanatory sentence of &#34;operating&#34;. The input sentence 5 says in Japanese as &#34;Tsurukame-kissa wo keieishite iru hito wa?&#34;, which means &#34;a person operating Tsurukame tea shop is?&#34; as shown in FIG. 16. It is assumed that it is found in the input sentence 5 that &#34;operating&#34; is an explanatory sentence, and &#34;teehouse Tsurukame&#34; is &#34;shop name&#34; in the &#34;shop table&#34; 1-2, and &#34;person&#34; is &#34;owner&#39;s name&#34; in the &#34;shop table&#34; 1-2. By referring to the explanatory sentence column H5 in the operation specification object information table 6 shown in FIG. 11, it is found that the declinable word &#34;operating&#34; corresponds to the item codes &#34;B1&#34; and &#34;B3&#34;. Since the postpositional word &#34;o&#34; in correspondence with &#34;teehouse Tsurukame&#34; is equal to the postpositional word &#34;o&#34; in correspondence with the item name &#34;shop name&#34; in the explanatory sentence column H5 of the item code &#34;B3&#34;, it is found that &#34;operating&#34; indicates the item name &#34;owner&#39;s name&#34; of the item code &#34;B3&#34;. By doing this, the correspondence between the input sentence 5 and the database 1 can be recognized. Since the item name accompanied by the same postpositional word as the postpositional word &#34;o&#34; in correspondence with &#34;teehouse Tsurukame&#34; is &#34;shop name&#34;, it can be inferred that &#34;teehouse Tsurukame&#34; is a word representing &#34;shop name&#34;. Therefore, it is not always necessary that it is found that &#34;teehouse Tsurukame&#34; is &#34;shop name&#34; in the &#34;shop table&#34; 1-2. 
     Input sentence 6 is another use example of an explanatory sentence of &#34;operating&#34;. It is assumed that it is found in the input sentence 6 that &#34;operating&#34; is an explanatory sentence, and &#34;Tsurukame Jiro&#34; is &#34;owner&#39;s name&#34; in the &#34;shop table&#34; 1-2, and &#34;shop&#34; is &#34;shop name&#34; in the &#34;shop table&#34; 1-2. By referring to the explanatory sentence column H5 in the operation specification object information table 6 shown in FIG. 11, it is found that the declinable word &#34;operating&#34; corresponds to the item codes &#34;B1&#34; and &#34;B3&#34;. Wherein, column H5 corresponding to the item code &#34;B1&#34; says in Japanese, as &#34;mise no namae&#34; and &#34;&#34;tenshumei&#34; ga keieishite iru mise&#34;&#34;, which are meant &#34;name of the shop&#34; and &#34;shop operated by the &#34;owner&#39;s name&#34;&#34; respectively as shown in FIG. 11. And corresponding to the item code &#34;B3&#34;, says in Japanese, as &#34;&#34;tenmei&#34; no tenshumei&#34;, &#34;&#34;tenmei&#34; no shujin no namae&#34;, and &#34;&#34;tenmei&#34; wo keieishite iru hito&#34;, which are meant&#34; &#34;owner&#39;s name&#34; of the &#34;shop name&#34;&#34;, &#34;&#34;master&#39;s name of the &#34;shop name&#34;&#34;, and &#34;a person operating the &#34;shop name&#34;&#34; respectively as shown in FIG. 11. Since the postpositional word &#34;ga&#34; in correspondence with &#34;Tsurukame Jiro&#34; is equal to the postpositional word &#34;ga&#34; in correspondence with the item name &#34;owner&#39;s name&#34; in the explanatory sentence column H5 of the item code &#34;B1&#34;, it is found that &#34;operating&#34; indicates the item name &#34;shop name&#34; of the item code &#34;B1&#34;. By doing this, the correspondence between the input sentence 6 and the database 1 can be recognized. Wherein the sentence 6 says in Japanese as &#34;Tsurukame Jiro ga keieishite iru mise wa?&#34;, which means &#34;the shop Tsurukame Jiro is operating is?&#34; as shown in FIG. 16. 
     Since the item name accompanied by the same postpositional word as the postpositional word &#34;ga&#34; in correspondence with &#34;Tsurukame Jiro&#34; is &#34;owner &#39;s name&#34;, it can be inferred that &#34;Tsurukame Jiro&#34; is a word representing &#34;owner&#39;s name&#34;. Therefore, it is not always necessary that it is found that &#34;Tsurukame Jiro&#34; is &#34;owner&#39;s name&#34; in the &#34;shop table&#34; 1-2. 
     Input sentence 7 is a use example of the join condition. It is assumed that it is found in the input sentence 7 that &#34;Hitachi Taro&#34; is &#34;owner&#39;s name&#34; in the &#34;shop table&#34; 1-2, and &#34;shop&#34; is &#34;shop name&#34; in the &#34;shop table&#34; 1-2, and &#34;good&#34; is &#34;good name&#34; in the &#34;goods table&#34; 1--1. It is found that this input sentence 7 represents a retrieval instruction covering both tables such as the &#34;goods table&#34; 1--1 and the &#34;shop table&#34; 1-2. To designate the join condition between the two tables, the operation specification object information table 6 shown in FIG. 11 is referred to and &#34;shop name&#34; (A3) in the &#34;goods table&#34; 1--1 and &#34;shop name&#34; (B1) in the &#34;shop table&#34; 1-2 are obtained as a join condition. By doing this, the join condition between the tables can be recognized. 
     As mentioned above, according to the above natural language database system 1500, by referring to the operation specification object information generated by the operation specification object information generating system of the present invention, the correspondence between words of an input sentence in natural language and the database 1 can be recognized. For an unknown word as operation specification information, precise operation specification information can be inferred. 
     Furthermore, there is no need for the user to perform operations such as fixing a complicated correspondence between declinable words and operation specification objects or defining the meanings of declinable words and operation specification objects. Therefore, a natural language interface for operating the database can be realized easily. 
     According to the above embodiment, interrogative pronouns and unit words are inputted interactively. However, an interrogative pronoun table and unit word table may be prepared so as to input interrogative pronouns and unit words from them. 
     FIG. 17 shows an example of an interrogative pronoun table G1 and FIG. 18 shows an example of a unit word table T1. 
     FIG. 19 shows a screen example for the user to input an interrogative pronoun using the interrogative pronoun table G1. Interrogative pronouns are obtained and displayed from the interrogative pronoun table G1 and the user is demanded to select one of them. By doing this, the user can input the interrogative pronoun corresponding to the column only by selecting it from the interrogative pronouns displayed on the screen without thinking and inputting the interrogative pronoun corresponding to the column. 
     FIG. 20 shows a screen example for the user to input a unit word using the unit word table T1. Unit words are obtained and displayed from the unit word table T1 and the user is demanded to select one of them. By doing this, the user can input the unit word corresponding to the column only by selecting it from the unit words displayed on the screen without thinking and inputting the unit word corresponding to the column. 
     Effects of the Invention 
     According to the operation specification object information generating system of the present invention, the burden imposed on the user is lightened and operation specification object information can be generated simply. 
     According to the operation specification object recognizing system of the present invention, the user can instruct an operation to the processor by an input sentence in natural language without performing a complicated defining process for an operation specification object.