Abstract:
A machine translation system including an input unit, a first text memory, a translation dictionary, a translation processor, a second text memory, and a control editor. The first and second text memories respectively store an original text and a translated text. The translation dictionary includes a word/idiom dictionary. The translation processor executes translation processing of the original text using the content of the translation dictionary to obtain the translated text. The control editor controls the respective units, and performs edit processing of at least the translated text. The control editor includes a changing section for changing a translated word in the translated text corresponding to a designated word in the original text to another translated word, and a replacing section for, when the translated word in the translated text corresponding to the designated word in the original text is changed to another translated word by the changing section, providing priority to a translated word in which a translated word portion corresponding to the designated word in the original text is replaced with the other translated word as a translated word corresponding to an entry word including the designated word in the original text in the word/idiom dictionary.

Description:
BACKGROUND OF THE INVENTION 
     1. Field of the Invention 
     The present invention relates to a machine translation system and, more particularly, to a machine translation system which can obtain a translated sentence in which translated words corresponding to a given original word are consistent. 
     2. Description of the Related Art 
     In recent years, a machine translation system as a system for automatically translating an input original text by utilizing a computer has been receiving a great deal of attention. Basically, the machine translation system performs morphological analysis and/or syntactic analysis of an input original text to divide the text into predetermined translation processing units such as words or phrases, and retrieves a translation dictionary for each translation processing unit to obtain a corresponding translated word. The system then links the translated words corresponding to the translation processing units in accordance with a predetermined translation rule to generate translated sentences. In this manner, a translated text corresponding to the original text is obtained. 
     The major characteristic feature of the machine translation system is that a translated text consisting of translated sentences using the same translated word corresponding to the same word or phrase in an original text can be obtained upon retrieval of a translation dictionary. For example, assume that a Japanese translated text is to be obtained based on an English original text. In this case, if a translated word &#34;konpyuuta (although a Japanese is expressed (written) in kanji characters (Chinese characters) as ideographic characters, hiragana and katakana characters as phonetic characters, or their combinations, a method of expressing pronunciations of Japanese using Roman letters is used herein)&#34; for a word &#34;computer&#34; and a translated word &#34;konpyuuta-nettowaaku&#34; for a word (or phrase) &#34;computer network&#34; are registered in a translation dictionary, translated words &#34;konpyuuta&#34; and &#34;konpyuuta-nettowaaku&#34; are respectively used for the words (phrase) &#34;computer&#34; and &#34;computer network&#34; to generate a translated text. This is one of great advantages of the machine translation system in consideration of the fact that when an original text is manually translated without using the machine translation system, in particular, when one original text is partially translated by a plurality of persons, it is not easy to obtain a translated text in which translated words of the same words (phrases) are consistent. 
     However, assume that a translated word &#34;keisanki-aakitekucha&#34; is registered for a word (phrase) &#34;computer architecture&#34;. In this case, if an original sentence includes a word (phrase) &#34;computer network&#34;, although a translated word of the word &#34;computer&#34; in this case must be a translated word &#34;konpyuuta&#34; in &#34;konpyuuta-nettowaaku&#34;, the translated word of &#34;computer&#34; in this case must also be a translated word &#34;keisanki&#34; in &#34;keisanki-aakitekucha&#34; if there is a phrase &#34;computer architecture&#34; in an original text. That is, there are different translated words &#34;konpyuuta&#34; and &#34;keisanki&#34; for the same word &#34;computer&#34; in a translated sentence. Therefore, in this case, the advantage of the machine translation system is considerably impaired. In this case, if a translated word &#34;konpyuuta-aakitekucha&#34; is registered for &#34;computer architecture&#34;, a given translated word &#34;konpyuuta&#34; can always be obtained for a word &#34;computer&#34;. However, even when translated words are registered in the translation dictionary in advance so as to obtain the same translated word for the same original word, if a user changes a translated word of &#34;computer architecture&#34; from &#34;konpyuuta-aakitekucha&#34; to &#34;keisanki-aakitekucha&#34; or registers a new translated word of &#34;keisanki-aakitekucha&#34;, the word &#34;computer&#34; then has different translated words &#34;konpyuuta&#34; and &#34;keisanki&#34;. In this manner, in an existing system, the advantage of the machine translation system in that a translated sentence with consistent translated words can be obtained is considerably impaired when translated words are changed or new ones are registered. 
     In this manner, in the existing machine translation system, when translated words are changed or new ones are registered, translated sentences in which translated words are not consistent for the same words (phrases) in an original text are undesirably generated. 
     SUMMARY OF THE INVENTION 
     It is an object of the present invention to provide a machine translation system in which when a translated word of a certain original word or phrase is registered or is changed by selecting a different translated word candidate, a portion corresponding to the original word or phrase of an entry word including the word or phrase corresponding to a changed portion of the changed translated word is replaced with the changed translated word, thus obtaining a translated sentence with consistent translated words. 
     In the machine translation system according to the present invention, when a translated word corresponding to a certain word or phrase in an original text is changed, the changed portion of the translated word and a corresponding original word or phrase are extracted, and entry words including the extracted original word or phrase in a word/idiom dictionary are retrieved. The translated word portions corresponding to the original word or phrase in the retrieved entry words are replaced with the extracted translated word portion. 
     According to the machine translation system of the present invention, when a translated word of a certain word or phrase is changed by registration or by selecting a different translated word candidate, entry words including the original word or phrase corresponding to the changed portion in the translated word are retrieved in a word/idiom dictionary, and the translated word portions corresponding to the original word or phrase in the retrieved entry words are replaced with the extracted translated word portion. As a result, when a translation is performed using the word/idiom dictionary, a translated text in which translated words corresponding to the same word or phrase are consistent can be obtained. Therefore, an correct translated text which is easy to read can be easily obtained. Since a translated text with consistent translated words can be obtained by only changing a translated word, translation efficiency can be greatly improved as compared to an operation wherein translated words are corrected for consistency while observing a translated text after a translation result is obtained. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     FIG. 1 is a block diagram showing an arrangement of an embodiment of a machine translation system according to the present invention; 
     FIG. 2 shows a key matrix of an input unit used in the embodiment, shown in FIG. 1; 
     FIG. 3 shows a screen layout of a display used in the embodiment shown in FIG. 1; 
     FIG. 4 is a flow chart showing a flow of processing of a control editor used in the embodiment shown in FIG. 1; 
     FIG. 5 is a flow chart showing a flow of translation processing in the embodiment shown in FIG. 1; 
     FIGS. 6A and 6B are flow charts showing a flow of dictionary correction processing in the embodiment shown in FIG. 1; 
     FIG. 7 and FIGS. 9 to 15 show storage contents of a word/idiom dictionary in the embodiment shown in FIG. 1; 
     FIG. 8 shows a dictionary display format in the embodiment shown in FIG. 1; and 
     FIG. 16 shows a table for retrieval control in the embodiment shown in FIG. 1. 
    
    
     DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT 
     FIG. 1 shows the overall arrangement of an English-Japanese machine translation system according to an embodiment of the present invention. 
     This system comprises an input unit 1 having a keyboard, an original text memory 2 for storing an English text input by, e.g., keys, a translated text memory 3 for storing a Japanese translated text as a translated text corresponding to the input English text, a control editor 4 for controlling the entire system, a translation processor 5 for executing translation processing, a translation dictionary 6 storing knowledge information utilized in the translation processing, a display 8 for displaying original and translated texts, a display controller 7 for controlling the display 8, and a printer 9 for outputting the original and translated texts as hard copies. 
     FIG. 2 shows a key matrix of the input unit 1. The input unit 1 comprises the following keys in addition to character keys CK for inputting English letters or Japanese characters, that is, a translation instruction key 100, edit keys 101 to 106, function keys 110 to 117, cursor keys 130 to 133, and the like. 
     FIG. 3 shows a screen layout of the display 8. An input original text is displayed on an original display region on the left side of a screen. A translated text as a result of translation processing is displayed on a translation display region at the right side of the screen at positions corresponding to, e.g., sentences in the original text. An edit region on the upper portion of the screen can be used for displaying information necessary for various edit operations. 
     FIG. 4 is a flow chart showing a flow of interactive translation processing by the control editor 4. In the interactive translation processing, an operator can input an original text and can edit a corresponding translated text. In steps S1 to S5, the control editor 4 monitors if there is any key input from the input unit 1 or if a translation completion signal is received from the translation processor 5. If YES in one of steps S1 to S5, the control editor 4 performs processing corresponding to the key input. 
     When the operator operates one of the function keys 110 to 117, the editor 4 detects this in step S5, and performs processing corresponding to the operated function key in step S12. 
     When the operator operates one of the edit keys 101 to 106, the editor 4 detects this in step S4, and performs processing corresponding to the operated edit key in step S11. 
     When the operator operates one of the cursor keys 130 to 133 or another control key, processing for moving a cursor corresponding to the operated key or other processing is performed in step S13 throuqh steps S1 to S5. 
     When the operator inputs an original text by operating character keys, character keys are detected in step S3, and corresponding character codes are then sequentially set in an input buffer (not shown) in the control editor 4 (step S8). The input original text is displayed on the original display region of the display 8 through the display controller 7 (step S9). When the operator depresses the translation instruction key 100 at an arbitrary timing, e.g., when input of one sentence of the original text is completed, this key input is detected in step S2, and the control editor 4 supplies the original text in the input buffer to the translation processor 5 to instruct it to start translation processing (step S10). When an edit operation, e.g., correction, insertion, deletion, or the like is necessary during input of the original text, the cursor is moved to a desired portion to be edited using the cursor keys 130 to 133, and the edit key, e.g., an insertion key 101, a deletion key 102, or the like is operated to execute the edit operation. 
     FIG. 5 shows the flow of translation processing in the translation processor 5. 
     A morphological analysis section S51 converts words whose endings or the like are inflected in an input original text into their original forms (fundamental forms) using a conjugation/inflection dictionary 6A in the translation dictionary 6. 
     A dictionary retrieval section S52 obtains part-ofspeech information and translated word information of words and idioms constituting the original text by retrieving a word/idiom dictionary 6B in the translation dictionary 6. 
     An analysis control section S53 executes processing for sending translation candidates to a sentence structure analysis section. 
     A syntactic analysis section S54 analyzes a sentence structure of a translation candidate using analysis grammar information 6C in the translation dictionary 6, thus generating an English sentence structure. When analysis is unsuccessful, the control returns to the analysis control section S53. 
     A structure transformation section S55 transforms an English sentence structure into a Japanese sentence structure using transformation grammar information 6D in the translation dictionary 6. When the transformed structure is discarded, the control returns to the sentence structure analysis section S54. 
     A sentence structure generation section S56 determines the order of Japanese words based on the Japanese sentence structure in accordance with generation grammar information 6E in the translation dictionary 6 to generate a word string. 
     A morpheme generation section S57 inflects the words in accordance with morpheme generation grammar information 6F in the translation dictionary 6, thus completing a translated sentence. 
     The above processing sections output a signal to the control editor 4 when they start processing. 
     Referring again to FIG. 4, if the control editor 4 detects the translation completion signal in step S1, the flow advances to step S7, and the editor 4 sends translation candidate and auxiliary information obtained from the translation processor 5 to the display controller 7 to cause the display 8 to display the translated text (step S7). The display controller 7 causes the display 8 to display the translation candidate i the translation display region at a position corresponding to the original text (on the left side of the screen). If there is auxiliary information, the corresponding translated word is displayed at high luminance or highlighted, so that the operator can identify it. 
     When one of the edit keys 101 to 106 is depressed in this state, the control editor 4 detects this in step S4, and performs edit processing corresponding to the depressed edit key for a word or phrase indicated by the cursor (step S11). For example, a character is inserted before the cursor position upon operation of the insertion key 101. Upon operation of the deletion key 102, a character string within a range indicated by the cursor is deleted. Upon operation of a movement key 103, a character string within a range indicated by the cursor is moved. Upon operation of a cancel key 104, the effect of the keys 101, 102, and 103 is invalidated. Upon operation of a modification key 105, a translated word candidate by another modification of a word (phrase) indicated by the cursor is displayed using the auxiliary information. 
     By using the function keys 110 to 117, the following functions can be realized. Upon operation of a translated word display key 110, a translated word for a word in the translated text is displayed. Upon operation of a dictionary display key 111, the content of the dictionary for a word in the original text is displayed. Upon operation of a dictionary registration key 112, a new word or phrase can be registered. Upon operation of a dictionary deletion key 113, a word or phrase registered by the dictionary registration key can be deleted. Upon operation of a partial translation key 114, a partial translation can be displayed when a translation is unsuccessful. 
     The cursor keys include cursor move keys 130 for moving a cursor in respective directions, a unit change key 131 for changing a cursor movement unit, an interregion move key 132 for moving a cursor among the display regions, and an enlargement/reduction key 133 for reducing a cursor size to a character unit or enlarging it to a word unit. 
     Therefore, the operator can interactively obtain a translated text while inputting an original text and performing edit processing of the corresponding translated text. 
     In the system with the above arrangement, a processing when a user wants to change a translated word corresponding to a word or phrase in an original text, i.e., when another translated word candidate is selected as a translated word or when another translated word is registered will be described below. 
     FIGS. 6A and 6B are flow charts showing a flow of the processing. Assume that a translation dictionary shown in FIG. 7 is prepared. In FIG. 7, &#34;/&#34; between translated words in a column of &#34;translated word entry of second language&#34; is a separator. For words or idioms in a column of &#34;word/idiom entry of first language&#34;, a space (blank) serves as a separator. A numerical value following a translated word string indicates a correspondence between words/idioms and translated words when they include a separator. Translated word entries of the first language are expressed in Japanese. That is, a translated word J11 is &#34;dokyumento (katakana)&#34;; J12, &#34;bunsho (kanji)&#34;; J21, &#34;dokyumento/fairingu/shisutemu (katakana)&#34;; J22, &#34;bunsho (kanji)/fairlngu/shisutemu (katakana)&#34;; J31, &#34;dokyumento/purosessa (katakana)&#34;; and J32, &#34;bunsho/shori/souchi (kanji)&#34;. &#34;(1,2)&#34; after the translated word string J31 &#34;dokyumento/purosessa&#34; means that &#34;dokyumento&#34; is a translated word corresponding to the first word &#34;document&#34;, and &#34;purosessa&#34; is a translated word corresponding to the second word &#34;processor&#34;. Note that &#34;/&#34; and &#34;(1,2)&#34; are information in the dictionary which do not appear in a translated sentence. FIG. 8 shows a state wherein &#34;document&#34; and its translated words are displayed on the edit region shown in FIG. 3 by the dictionary display key 111. Assume that the user changes the translated word of &#34;document&#34; from J11 &#34;dokyumento&#34; to J12 &#34;bunsho&#34;. In this case, in step T1 in FIG. 6A, the original word &#34;document&#34; and the translated word J1 &#34;bunsho&#34; are paired (document : bunsho). In step T2, processing is continued until all the translated words are paired. In step T3, for one pair of the original word and the translated word, entries including this original word ar retrieved in the translation dictionary. In step T4, it is checked if processing is completed for all the entry words including this original word. Thus, processing is continued for all the entry words. In step T5, it is checked if the translated word corresponding to the original word &#34;document&#34; in each retrieved word is the same as the translated word &#34;bunsho&#34; paired with the original word. If YES in step T5, the flow returns to step T3. If NO in step T5, it is checked in step T6 if the head translated word in the retrieved entry is formed upon comparison with another pair. If NO in step T6, it is checked in step T7 if the second and subsequent translated word strings in this entry include the same translated portion corresponding to the original word as the translated word paired with the original word. If YES in step T7, the translated word is moved to the head position. In the translation dictionary shown in FIG. 7, in entries &#34; document filing system&#34; and &#34;document processor&#34; including the original word &#34;document&#34;, a translated word corresponding to &#34;document&#34; in each of the second translated word strings J22 and J32 is a translated word &#34;bunsho&#34; paired with &#34;document&#34;. Therefore, the second translated word strings J22 and J32 are moved to the head position. FIG. 9 shows the translation dictionary after this processing is executed. 
     If a translation dictionary including no translated word strings in which a translated word of a portion corresponding to &#34;document&#34; is &#34;bunsho&#34; in the entry &#34;document filing system&#34; of the original word is prepared, the translated word string J22 &#34;bunsho/fairingu/ shisutemu&#34; in which a translated word &#34;dokyumento&#34; corresponding to the original word &#34;document&#34; in the head translated words J21 &#34;dokyumento/fairingu/shisutemu&#34; in the entry word is replaced with the translated word &#34;bunsho&#34; in the above pair is generated, and is moved to the head position. FIG. 11 shows the translation dictionary after this processing is performed, in step T9. 
     Assume that a translation dictionary shown in FIG. 12 is prepared. In this case, as translated word strings of &#34;document filing processor&#34;, J41 &#34;bunsho/ fairingu/purosessa&#34;, J42 &#34;dokyumento/fairingu/ shorisouchi&#34;, and J43 &#34;dokyumento/fairingu/purosessa&#34; are prepared. Assuming that the translated word string of &#34;document processor&#34; is changed from J32 &#34;bunsho/shorisouchi&#34; to J31 &#34;dokyumento/purosessa&#34;, two pairs of the original words and translated words, i.e, (document : dokyumento) and (processor : purosessa) are formed in step T1. In this case, for the first pair (document : dokyumento), processing in steps T3 to T9 is repeated. FIG. 13 shows the translation dictionary after this processing is performed. In the entry words &#34;document filing processor&#34;, since the second translated word string J42 &#34;dokyumento/fairingu/shorisouchi&#34; in FIG. 12 includes a translated word &#34;dokyumento&#34; corresponding to the original word &#34;document&#34;, they are moved to the head position in step T8, as shown in FIG. 13. In this case, a marker &#34;*&#34; indicating that the translated word string is moved by the first pair of the original word and translated word (document : dokyumento) is attached to &#34;dokyumento&#34; in J42 &#34;dokyumento/ fairingu/shorisouchi&#34;. When the processing of the next pair of the original word and translated word is performed, it is determined based on the marker &#34;*&#34; in step T6 that the head translated word string of &#34;document filing system&#34; is moved by another pair of the original word and the translated word. It is checked in step T10 if the second and subsequent translated word string include a translated word string in which a translated word corresponding to the original word &#34;document&#34; corresponding to the translated word &#34;dokyumento&#34; with the marker &#34;*&#34;  is &#34;dokyumento&#34; and a translated word corresponding to the original word &#34;processor&#34; in the current pair is &#34;purosessa&#34;. If YES in step T10, the translated word string is moved to the head position in step T11. FIG. 14 shows the translation dictionary after the processing in step T11 is performed. The marker &#34;*&#34; is attached to the translated word &#34;dokyumento&#34; obtained upon comparison with another pair, so as not to select the translated word string J41 &#34;bunsho/fairingu/purosessa&#34; using the translated word &#34;bunsho&#34; different from this translated word. With this processing, in &#34;document filing processor&#34; and &#34;document processor&#34;, a translated word string in which the translated word of &#34;document&#34; is &#34;dokyumento&#34; and the translated word of &#34;processor&#34; is &#34;purosessa&#34; can be set at the head positions in the dictionary. Note that the marker &#34;*&#34; attached to the translated word is deleted when processing is ended in step T2. If it is determined in step T10 that there is no corresponding translated word, a translated word string in which a translated word corresponding to the original word in the current pair in the head translated word string of the entry word is replaced with the translated word paired with the original word is set at the head position, in step T9. 
     According to the present invention, in the translation dictionary, the same words and idioms have the same translated words, and a translated sentence in which translated words are consistent for the same words and idioms can be obtained. 
     In the embodiment of the present invention, the English-Japanese machine translation system has been exemplified. However, the present invention may be applied to another pair of languages, e.g., a Japanese-English machine translation system. In the word/idiom entry of the first language, a blank serves as a separator. However, another separator, e.g., &#34;/&#34; may be employed. Alternatively, no separator may be used at all. When no separator is inserted, each of &#34;document processor&#34; and its translated word &#34;dokyumentopurosessa&#34; can be processed as one word. More specifically, a minimum translated word unit is not limited to a word but may be a unit smaller than a phrase or word. 
     In dictionary retrieval processing, when word/idiom entries of the first language are numbered as shown in FIG. 15 and words and idioms included in two or more entries and the corresponding numbers of the word/idiom entries are paired, as shown in FIG. 16, if a translated word of a word or idiom included in the word/idiom entries shown in FIG. 16 is changed or a new one is registered, retrieval may be performed by utilizing the numbers of the word/idiom entries including it to execute processing. When an entry number is added or deleted to or from the entry numbers in the table shown in FIG. 16, whether to process a corresponding word as an object to be processed can be controlled. 
     Various other changes and modifications may be made within the spirit and scope of the invention. 
     For example, replacement need not always be performed for all the corresponding entry words in the dictionary. That is, replacement may be performed for some of the corresponding entry words. In this case, only entry words which satisfy predetermined conditions (e.g., the number of words, parts of speech, and a kind of dictionary when a plurality of dictionaries are used) or arbitrary condition may be objects to be replaced. In addition, a translated word which has been replaced in previous replacement may be displayed so that an operator can identify it so as to prevent replacement.