MACHINE TRANSLATION SYSTEM

Abstract: A machine translation system having input means (l) having different function keys, edit keys, cursor keys as well as having normal character keys and numeric keys, for performing various functions for translation, edit control means (4) for controlling the edition operation of the system, translation means (5) coupled to the edit control means (4), for executing the translation processing in accordance with control signals from the edit control means (4), and dictionary means (6) having at least a first dictionary for storing various words in various Parts of Speech in a first language and their translation in a second language corresponding to the words in the first language, and a second dictionary for storing various terminology in Nouns in the second language corresponding to the words in the first language, as well as storing various grammars for the analysis of the languages. With this construction, the meaning of particular kinds of the Parts of Speech other than Nouns takes precedence of the meaning of the Noun when determining words and idioms to be picked up from the first dictionary and when same terminology in Nouns as that stored in the first dictionary is found in the second dictionary, the meaning of the terminology in the second dictionary takes precedence of the meaning of that stored in the first dictionary when producing the translated sentences, thereby performing a correct translation in high speed.

Description: The present invention relates to a machine translation system for performing correct and speedy translation by the use of a plurality of different types of dictionaries for translation. Description of the Prior Art Much attention has been paid to automatic machine translation systems of input original documents written in a first language into a second language by the use of a computer, of late. Basically in these machine translation systems, the input original sentences are analyzed in view of each morpheme and its morphological construction as well as syntax, and divided into predetermined units for processing of words, phrases, or idioms. Then, dictionary or dictionaries for translation are searched and each word is retrieved from the dictionary for every processing unit of the words and phrases thus divided, and when the corresponding words and phrases in the second language, i.e., translated words and phases are found in the dictionary, they are finally combined in accordance with predetermined translation rules and grammars, thereby obtaining their translated sentences. A computer translation system is described in EP-A-0 01 27 77. In this known system various dictionaries of textwords or sequences thereof are described. Each of these dictionaries stores words or phrases dependant upon predetermined criteria. In particular, the system includes dictionaries for high frequency words and low frequency words and these are treated separately in the translation process. The Article from Research, Science and Application in Industry, Vol. 10, No. 3, October 1957, pages 383-389, by I.K. Belskaja entitled "Machine Translation Languages" describes various types of dictionaries suitable for use in machine translation systems. It is recommended to divide the dictionary into a series of independent dictionaries specialised as to field. Further, it is recommended to list the words in the dictionary according to parts of speech e.g. noun, adjective. It is also explained that a purely lexical translation is not possible and that it is necessary to provide grammatical analysis and synthesis functions for the source and target languages respectively. In such translation systems as described above, it is normal to use a plurality of different dictionaries, e.g., a general purpose dictionary and a nomenclature dictionary in order to translate complicated natural languages, which human being uses as well as to produce desired translation including terminology which users of the system want. The general purpose dictionary indicates here the one into which words of all of possible Parts of Speech in the first language and their translated counterparts in the second language consisting of each of words and idioms, have been stored. Accordingly, when analyzing the syntax of a first language possible Parts of Speech are in turn determined, thus succeeding in their analysis in an early stage of search. On one hand, however, since only standard words and phrases or idioms have been stored in the general purpose dictionary in view of translation, a good translation of the original cannot be expected. On the other hand, in the nomenclature dictionary, since specific translated words and phrases, i.e., mostly terminology of Nouns in each of particular fields have been stored therein, translated senses in good quality can be expected. However, since almost only Nouns among the Parts of Speech have been stored therein, the analysis of syntax often tends to be lacking. Now, among methods of retrieving words and idioms from a plurality of dictionaries for translation, there has been proposed heretofore a method of retrieving the Parts of Speech and phrases successively. In this method, however, as the intelligence and information to be used for the translation processing, those including the Parts of Speech and translated words and idioms have a higher priority in the translation processing with respect to the contents of the dictionary for translation in the former dictionary, than those in the latter dictionary. Since both the general purpose dictionary and the nomenclature dictionary alike have both merits and demerits described above, there was a drawback that even if any one of the two dictionaries was preferentially used for the retrieval of certain words and idioms, it could not sufficiently deal with the translation processing of various original documents. For example, when the general purpose dictionary is given a higher priority than the nomenclature dictionary, an, original sentence written in English for instance, which reads "The system has a large store". is translated into a Japanese sentence which reads "Sono shisutemu wa o gata no mise o y u suru." as the result of the retrieval of Noun "mise (shop)" instead of "Kiokusochi (memory)". In this case, this translated sentence is grammatically correct but it is not at all a correct translation in its true meaning because it is a maltranslation. On the other hand, when the nomenclature dictionary is given a higher priority than the general purpose dictionary, the original in English which reads "The system stores values". can not also be correctly translated into a correct Japanese, because the nomenclature dictionary contains almost all only Nouns so that the translated Japanese may become somewhat "Sono shisutemu no kiokusochi no atai" as the result of the interpretation of a series of Nouns, thereby failing to analyze its syntax. Since an operator has to correct the translation errors by looking at sentences on a display of a machine translation system according to the prior art, it will take much time before a correct sentences will be obtained finally. For these reasons, a machine translation system has long been desired, wherein translated sentences can be obtained rapidly but in good quality by the effective use of both the general purpose and nomenclature dictionaries, as well as by controlling the priority orders of the two kinds of the dictionaries in accordance with the contents of the original in view of the Parts of Speech and terminology as well, used in the original to be translated. It is therefore an object of the present invention to provide an improved machine translation system in which translated sentences in good quality can be obtained rapidly by the effective use of information contained in both the general purpose and nomenclature dictionaries. It is another object of the present invention to provide an improved machine translation system in which a suitable translation can be obtained promptly without necessitating the post edition of the translation, otherwise necessary, by simplifying the edit operation. The object of the present invention is solved by a machine translation system for word-to-word translating a first language into a second language, which comprises: input means for entry of the original written in the first language into the system; dictionary means storing various grammars for the analysis of the first and second language and having at least a first dictionary storing various words and their translation into the second language respectively corresponding to the words in the first language and a second dictionary storing specialised words in the first language and their translation into the second language respectively, translation means for analyzing the original written in the first language, for retrieving words from said dictionary means and for executing the translation processing of the input original; and output means for producing translated sentences in the second language obtained from said translation means characterized in that said first dictionary stores the various words according to various Parts of Speech and the specialised words in the first language stored in the second dictionary are various terminologies in a certain part of speech; said translating means selects meanings according to particular parts of speech other than said certain part of speech in precedence to meanings of the certain part of speech when determining words or idioms from said first dictionary and said translation means selects meanings of said certain part of speech in said second dictionary in precedence to the meanings of said certain part of speech in said first dictionary when the same terminology in the certain part of speech detected in the first dictionary, is also detected in the second dictionary. It is preferred if the certain part of speech is a noun. These objects, features and advantages of the invention will be better understood from the following detailed description of the invention with reference to the accompanying drawings. Fig. 1 is a construction of an overall machine translation system according to one embodiment of the present invention, Fig. 2 is the arrangement of various keys provided on the input means of the system of Fig. 1, Fig. 3 is one example of the lay-out of the display zones in the display surface of the display means, Fig. 4 is a control flow chart of the edit control operation and processing performed by the edit control means, Fig. 5 shows a control flow chart of the translation processing performed by the translation means, Fig. 6 shows dictionary means having general purpose and nomenclature directionaries, Fig. 7 is a control flow chart of the retrieval processing of words and terminology of the translated sentence so as to decide the priority order thereof in accordance with tables 1 and 2 in Fig. 8, Figs. 8 and (a) and (b) show each of the priority tables to be used in the control flow chart of Fig. 7, Fig. 9 shows the contents of the general purpose and nomenclature dictionaries to be retrieved, in accordance with the machine translation system according to the present invention, by way of example, Fig. l0 shows the result of the retrieval according to the translation system, by way of one example, and Figs. llA and B are examples of the result of translation performed by the machine translation system according to the present invention. Referring to Fig. l, the machine translation system according to the present invention comprises an input portion l which may be a keyboard, an original memory portion 2 for storing sentences of the original written in a first language, input by the keyboard, a translation memory portion 3 for storing the translated sentences in a second language corresponding to the input original in the first language, an edition control portion 4 for controlling the entire system, a translation portion 5 for performing translation processing, translation dictionary means 6 including the general purpose and nomenclature dictionaries, which contains various grammars as well as words, idioms, and expressions for use in the translation processing, a display control portion 7 for controlling the display of various sentences including the original and its translated sentences, a display 8, and a printer portion 9 for printing the original sentences and their translated sentences displayed on the display 8 and for outputting the translated sentences. In this machine translation system, if an English- Japanese translation should be performed, the first language is English and the second language is Japanese. Fig. 2 shows one example of the arrangement of keys of a key board of the input portion l, according to the present invention. The key board comprises the following different keys in addition to the normal alphanumeric keys; a key l00 indicates a translation instruction key, keys l0l through l06 indicate edit keys, keys ll0 through ll7 indicate function keys, keys l30 through l34 indicate cursor keys, and other keys. Fig. 3 shows one example of lay-out of the display surface of the display portion 8, where the original sentences in the first language are to be displayed on the left side zone of the display while the translated sentences in the second language are to be displayed on the right side zone of the display corresponding to the original sentences, under the edit zone located in the upper portion of the display, on which information necessary for performing different editions is displayed. Fig. 4 shows a control flow chart of a dialogue translation processing performed by the edit control portion 4. In the dialogue translation processing, an operator can conveniently carry out the edition work of the translated sentences corresponding to the original sentences. In the control flow chart, the edit control portion 4 monitors if any input of information has been done by the key board of the input portion l or any translation completion signal from the translation portion 5 has been received in steps S₁ to S₅ and the result of the monitoring is YES, i.e., any key input has been provided, the corresponding operation is carried out. When the operator operates any function key, this condition is detected in step S₅ and the operation corresponding to the function keys is carried out in step S₁₂. When the operation operates any function key, this condition is detected in step S₄ and the edit operation corresponding to the edit keys is carried out in step S₁₁. When the operator operates the cursor key l30 or any of other control keys the corresponding operation for moving the cursor and other processing are performed in step S₁₃ in accordance with the operation of keys. When the original sentences are input by the operator by the operation of character keys, this condition is detected in step S₃, the characters corresponding to the operation of particular keys are stored in an input buffer (not shown) within the edit control portion 4 successively in step S₈. These original sentences are displayed on the original display zone on the display portion 8 through the display control portion 7 in step S₉. When the operator operates the translation instruction key l00 when entry of one sentence for instance has been completed, this condition is detected in step S₂ and the original sentence stored in the input buffer is applied to the translation portion 5 by the edit control portion 4, so as to start the translation processing in step S₁₀. In this case, when it is necessary to perform any editions such as correction, insertion, deletion of word or words or phrase during the entry of the original, it can be carried out by the operation of the correction key l0l, the insertion key l02, or the deletion key l03 after moving the cursor to a desired edit position by the operation of the cursor keys l30. More particularly, after start of the operation, a first determination is carried out in step S₁ if translation is completed. If the result of the determination is NO, the operation now moves to step S₂ where a decision is made if the translation instruction key l00 is operated. If the result of the decision in step S₂ is YES, the operation goes to step S₁₀ where translation is started, However, if the result of the decision in step S₂ in NO, the operation goes to step S₃ where another decision is made if the character keys, i.e., alphanumeris keys are operated. If the result of this decision is YES, the operation moves to step S₈ where the original is stored in the input buffer not shown. On the other hand, if the result of decision in step S₃ is NO, the operation now moves to step S₄ where another decision is made if any of the edit keys l0l to l06 is operated. If the result of the decision is YES, the operation now goes to step S₁₁ where the edition processing is carried out, corresponding to each key operated with respect to a particular word or phrase which is being indicated by the cursor. For instance, when the insertion key l02 is operated in this case, any desired character is inserted before the position of the cursor while when the deletion key l03 is operated, a character or a series of characters indicated by the cursor is deleted. In the same manner, when the movement key l04 is operated, characters indicated by the cursor are moved from one place to the other. When the cancel key l05 is operated, the effect of the operation of any of the keys l0l, l02, l03 is cancelled. When a candidate key l05 is operated, an associated character candidate other than the word or phrase indicated by the cursor is indicated. Returning to step S₄, if the result of the decision in step S₄ is NO, the operation now moves to step S₅ where another decision is made if any of the function keys ll0 to ll7 is operated. If the result of the decision is YES, the operation goes to step S₁₂ where various processings corresponding to any of the function keys operated are carried out. For instance, when the translation display key ll0 is operated, the translated sentence or sentences is displayed on the display portion 8. When the dictionary display key lll is operated, a partial content of either the general purpose dictionary or the nomenclature dictionary corresponding to the words or phrase of the original can be indicated on the display portion 8. When the dictionary registration key ll2 is operated, new words or idioms can be registered. When the dictionary deletion key ll3 is operated, certain words or idioms which have been registered can be cancelled or deleted. When the partial translation key ll4 is operated, a partial translation can be displayed on the display portion 8, for correction, for instance. The cursor keys consists of keys l30 for moving the cursor in the upward, downward, right and left directions, respectively, the unit change key l3l for changing the unit for moving the cursor, the display zone movement keys l32 for moving the cursor between the display zones, the enlargement key l33 for enlarging the size of the cursor into word unit, and the reduction key l34 for reducing the size of the cursor into a character unit. Now, returning to step S₁, if the result of the decision in step S₁ is YES, the operation moves to step S₇ where the edit control portion 4 supplies translated sentence candidates and auxiliary information obtained from the translation portion 5 to the display control portion 7, so as to display the best translated sentences among the candidates. The display control portion 7 indicates the translated sentence candidates in the translation display zone corresponding to the that of the original which is displayed on the left side, as well as displaying them with high brightness when the auxiliary information exists, so that the operator can well identify the translated sentences. In the manner as described, the operator of the machine translation system according to the present invention can obtain the translated sentences dialoguing with the system while conveniently carrying out the edition processing of the translated sentences. Fig. 5 shows a control flow chart of the translation processing in the translation portion 5. After start of the operation, in the morpheme analysis section S₅₁, words each having inflection are transformed into each of their basic forms by use of a regular and irregular change directionary 6a with respect to the input original. In the dictionary retrieving section S₅₂, each of words, phrase, and idioms is retrieved from the original sentences and Parts of Speech are picked up by the use of a word and idiom dictionary 6b. In the analysis control section S₅₃, each candidate of translation is applied to a syntax analysis section S₅₄. In the syntax analysis section S₅₄, the syntax of each candidate of translation is analyzed by using a analysis grammar 6c and analyzed structure elements are picked up. If the analysis is not successful, the operation returns to the analysis control section S₅₃. In the structure transformation section S₅₅, the structure of the first language, i.e., English language in this case, is transformed into the second language, i.e., Japanese language in this case, by using a transformational grammar 6d. If the transformation is not successful, the operation now returns to the syntax analysis section. In the syntax generation section S₅₆, the word order or word sequence of the second language, i.e., the Japanese language is determined from the structure of the Japanese language in accordance with the generative grammar 6e and the word order is arranged in accordance with the generative grammar. In the morpheme generation section S₅₇, the ending of each word is changed by using a morpheme generative grammar 6f, so as to complete each of the translated sentences. Each of the above sections produces each signal to the edit control portion 4 when starting the processing thereof. Description will now be made about the processing of the priority order of the contents between the general purpose dictionary and the nomenclature dictionary in the machine translation system thus constructed. Fig. 6 shows dictionary means consisting of the two kinds of the dictionaries, i.e., the general purpose and nomenclature dictionaries into which various words, phrases and idioms having each of particular Parts of Speech have been stores. Fig. 7 shows an control flow chart of the dictionary retrieval section in step S₅₂. Supposing now that the first language is English and the second language is Japanese, English sentences to be translated are firstly input in the system by the input portion l of Fig. l, in step 7l and the operation goes to step 72 where each of the words and idioms in the English sentences are separated by the edit control portion 4. After this operation, it now moves to step 73 where a decision is made if all of the words and idioms in the English sentences are retrieved. If the result of the decision is YES, the operation terminates. However, if the result of the decision in step 73 is NO, the operation now moves to step 74 where each of the words and idioms thus retrieved are searched in accordance with the priority order table l indicative of a higher priority given to the Parts of Speech than the content of translation of the words and idioms between the general purpose and nomenclature dictionaries as shown in Fig. 8(a). Namely, the search and retrieval of the words and idioms are carried out firstly by the general purpose dictionary and then by the nomenclature dictionary. After this operation, it moves to step 75. In the step 75, another decision is made if same Part of Speech, for instance, same word or words of Noun exists among the words and idioms thus retrieved in the dictionaries. If the result of the decision is NO, the operation returns to step 73. On the other hand, however, if the result of the decision in step 75 is YES, the operation now goes to step 76 where the priority order of the translated words is determined in accordance with the table 2 of the translated word priority order shown in Fig. 8(b). Namely, same word or words in Noun exists both in the general purpose dictionary and the nomenclature dictionary, the translated word or words is selected respectively by the nomenclature dictionary having the higher priority in the case of Noun, in step 76. In short, when same word or words is found in the two dictionaries, if the word is Verb, the meanings in the general purpose dictionary have a higher priority than that of the general dictionary while if it is Noun, the meaning in the nomenclature dictionary have a higher priority than the former. The retrieval processing will be described in more detail by way of the following example. Supposing that the English word " store " having various meanings has been stored both in the general purpose dictionary 9l and the nomenclature 92 as shown in Fig. 9, the retrieval of the English word "store" from the two dictionaries is performed in the following manner in accordance with the tables l and 2 shown in Fig. 8. When same word of Noun is found both in the general purpose dictionary 9l and in the nomenclature dictionary 92, the terminology in the nomenclature dictionary 92 takes precedence of that in the general purpose dictionary 9l after retrieving the VERB " store " and the result of the retrieval is arranged as shown in Fig. l0. Accordingly, when the English sentence " The system has a large store " is desired to translate into Japanese, determination other of Parts of Speech, for instance, " store " in Verb takes precedence of Noun and then the terminology in the nomenclature dictionary 92 takes precedence of the general purpose dictionary 9l when the terminology in question are found both in the two dictionaries. As a result, the meaning of " store " in Noun is picked up from the nomenclature dictionary 92, which meaning is almost equal to " memory ", instead of " shop " so that the syntax analysis will be succeeded, thereby obtaining a correct Japanese sentence which reads " Sono shisutemi wa o gata no kiokus o chi o y u suru. " as shown in Fig. llA(a′), instead of maltranslation "Sono shisutemu wa ogata no mise o y u suru. " as shown in Fig. llA(a). Let us take another example. When the English sentence " The system stores values " is desired to translate into Japanese, the syntax analysis or sentence structure analysis will succeed if the meaning of Verb " store " takes precedence of that of Noun, according to the present invention. Namely, the meaning of the English word in Verb " store " which is equal to " chikuseki suru " in Japanese, is firstly picked up from the general purpose dictionary 9l and then " system " and " value(s) " both in Noun is picked up from the nomenclature dictionary 92. As a result, the correctly translated Japanese sentence " Sono shisutemu wa fukus u o atai o chikuseki suru. " can be obtained, as shown in Fig. llB(b′). On the other hand, if the meaning of the word in Verb fails to take precedence of the same word in Noun, the analysis of the English sentence is not successful and the maltranslation will be obtained, which may read, for instance, " Sono shisutemu no kiokusochi no atai. ", as shown in Fig. llB(b). As described in the foregoing embodiment according to the present invention, each particular kind of Parts of Speech used in the first language to be translated takes precedence of each of words in Noun and terminology in the nomenclature dictionary, if it is Noun, takes precedence of the terminology in the general purpose dictionary when same word in Noun exists both in the two dictionaries. Accordingly in the first case above, a word or words which is other than Noun, e.g., a Verb is retrieved from the general purpose dictionary. As a result, in the machine translation system according to the present invention, the speed of the generation of correctly translated sentences can be strikingly improved compared with the prior art in which either the nomenclature dictionary or the general purpose dictionary is firstly retrieved and then other follows. In the foregoing embodiment according to the present invention, the description has been made about the machine translation system using only two dictionaries, i.e., general purpose and nomenclature dictionaries. It is however apparent that more than two dictionaries may be used as the case may be.

Claims: A machine translation system for word-to-word translating a first language into a second language, which comprises: input means (1) for entry of the original written in the first language into the system; dictionary means (6) storing various grammars for the analysis of the first and second language and having at least a first dictionary (91) storing various words and their translation into the second language respectively corresponding to the words in the first language and a second dictionary (92) storing specialised words in the first language and their translation into the second language respectively, translation means (5) for analyzing the original written in the first language, for retrieving words from said dictionary means (6) and for executing the translation processing of the input original; and output means for producing translated sentences in the second language obtained from said translation means (5) characterized in that said first dictionary stores the various words according to various Parts of Speech and the specialised words in the first language stored in the second dictionary (92) are various terminologies in a certain part of speech; said translating means (5) selects meanings according to particular parts of speech other than said certain part of speech in precedence to meanings of the certain part of speech when determining words or idioms from said first dictionary (91) and said translation means (5) selects meanings of said certain part of speech in said second dictionary (92) in precedence to the meanings of said certain part of speech in said first dictionary (91) when the same terminology in the certain part of speech detected in the first dictionary (91), is also detected in the second dictionary (92). Machine translation system according to claim 1, characterized in that said certain part of speech is a Noun. A machine translation system according to claim 1 or 2 characterized in that said input means (1) has functional keys (110-117), edit keys (101-106), cursor keys (130-134) for entry of the original written in the first language and for performing various operations for translation as well as having other alphanumeric keys; a first memory (2) is provided for storing original sentences written in the first languages so as to analyze the original sentences; a second memory (3) is provided for storing translated sentences in the second language as a translation corresponding to the input original sentences in the first language; edit control means (4) is provided for controlling the edition operation of the entire system; said translation means (5) is coupled to said edit control means for executing the translation processing in accordance with control signals from said edit control means (4); and said display means (8) has display control means (7), for displaying both the original sentences and the translated sentences on the display surface. The machine translation system as claimed in claim 2, characterized in that said first dictionary (91) for storing various words in various Parts of Speech and their translation in the second language is a general purpose dictionary (91) and said second dictionary (92) for storing Nouns in the second language is a nomenclature dictionary (92). The machine translation system as claimed in any of claims 1 to 4, characterized in that the first language is the English language and the second language is the Japanese language. The machine translation system as claimed in claim 1, characterized in that one of said particular Parts of Speech is a Verb. The machine translation system as claimed in claim 3, characterized in that the display surface of said display means (8) is divided into at least three displaying zones which consist of an edit zone in the upper portion, an original sentence display zone in the left half under the edit zone, and a translation display zone in the right half under the edit zone, of the display means. The machine translation system as claimed in claim 3, characterized in that the system further comprises a print portion (9) for printing and outputting each translation as a hard copy.

Inventors: AMANO, SHIN-YA, HIRAKAWA, HIDEKI, MIIKE, SEIJI, YAMANAKA, NORIKO
Applicants: KABUSHIKI KAISHA TOSHIBA
Application year: 1987
Main classification: G06F15
IPC codes: G06F17