PROCESSING METHOD AND PROCESSOR FOR MACHINE TRANSLATION

Abstract: A machine translation processor according to the pre­ sent invention includes input means (12) comprising a key­ board with a partial translation command key; translation processing means (16, 18) having dictionaries for perform­ ing translation of the original; time measuring means (20) for measuring actual translation time performed in said translation processing means (16, 18); memory means (14, 25) for storing both the original and translated sentences; dividing means (22, 24) for dividing a sentence into phrases constituting the sentence of the original in accordance with a predetermined rule for division; and control means (32) constructed for controlling such that when the partial trans­ lation command key is operated or the actual translation time thus measured reaches a predetermined translation time, the original is divided into phrases by said dividing means (22, 24) and the phrases are translated by said trans­ lation processing means (16, 18).

Description: BACKGROUND OF THE INVENTION Field of the Invention The present invention relates to a processing method and a processor for processing a sentence written in a first natural language (original sentence) to be translated and output as a sentence described in a second natural language (translated sentence). Description of Prior Art In recent years, automatic translation (machine translation) system by which an English sentence is translated into a Japanese sentence by means of a computer system has been attracting the attention of various people concerned. A translation processor of this kind is composed in such a way as to construct a large-scale data base that is required for the translation processing, and to obtain a high quality product of translation processing by taking full advantage of highly advanced philological and intellectual information processing techniques while retrieving the data base. For this reason, the processing time necessary for translation processing generally takes a relatively long time. That is, it has an inconvenience that there is required a long time between inputting of an original sentence and obtaining of the translated result, in proportion to the degree of complexity of the languages used and the length of the original sentence that is input. This fact leads also to an inconvenience that, in a system which performs a conversational translation operation by receiving the response to the translated result while inputting the original sentence, psychological and physical burdens to the operator are increased due to the waiting time for response so that an improvement in the translation processing efficiency cannot be expected. In the Article "A Supervised Learning Technique to Identify Short National Language Sentences", Proceedings of the International Joint Conference on Pattern Recognition, Colorado 8-11 November, 1976, some of the basic problems of translating systems are indicated. It explains that an exact solution to a translating problem requires computers of great capacity and extremely long processing times. As initial situation to translating short sentences an heuristic - trial and error - solution is proposed in which by using some rules and by a question and answer routine, possible translations are produced. EP-A-0 081 784 describes a system wherein a first text described in a first natural language is translated into a second text described in a second natural language; a text displaying and correcting system comprising a first memory area for storing parts of the first text divided in predetermined units, with identification assigned to the respective parts, and a second memory area for storing predetermined units of the second text corresponding to the aforementioned units of the first text, with the same identifications assigned thereto, so that the first and second texts are simultaneously displayed on an identical screen of a display unit, and that the text is revised in each unit assigned the identification. SUMMARY OF THE INVENTION An object of the present invention is to provide a processing method and a processor for machine translation which is capable of sharply increasing the efficiency of translation processing. Another object of the present invention is to provide a processing method and a processor for machine translation which is capable of performing a translation processing in a short time even when there is input a complex original sentence. Another object of the present invention is to provide a processing method and a processor for machine translation which is capable of obtaining in a short time, a complete or a partial translated result for an original sentence input. The objects of the invention are solved by a machine translation processor including; an input means through which at least a sentence of a first language is input; a translation means having dictionaries for carrying out an operation of translation from said first language to a second language; an output means for outputting translations formed by said translation means; a memory means for storing both the original and translated sentences; a controlling means for controlling said translation means and said outputting means in order to output a translation of the sentence input through said input means, characterized in that an elapsed time measuring means is provided for measuring the elapsed time for the translation operation in said translation means; an original sentence division means is provided for dividing a sentence of said first language into a number of constituent phrases, and in that said controlling means controls, when the time measured by said elapsed time measuring means reaches a predetermined time, said original sentence division means to divide the input sentence being handled by said translation means into a number of constituent phrases and said translation means to translate said constituent phrases of said input sentence respectively instead of the entirety of said input sentence. The objects of the invention are also solved by a method of performing a machine translation processing carried out by the above-mentioned processor, which comprises the steps of; machine translating an original written in a first language into a second translated language by means of dictionary and grammars, sentence by sentence; measuring actual translation time spent for the translation; comparing the actual translation time thus measured with a predetermined translation time and if the actual translation time reaches said predetermined translation time: dividing the original sentence or sentences into phrases in accordance with the result of said determination and repeating the translation processing for each phrase; and displaying corresponding translated phrases in the second language on a display; and the user editing the translated phrases and sentences in the second languages on the display by operating display control means. These and other objects, features and advantages of the present invention will be more apparent from the following description of a preferred embodiment, taken in conjunction with accompanying drawings. BRIEF DESCRIPTION OF THE DRAWING Fig. 1 is a block diagram for an English to Japanese machine translation processor embodying the present invention; Fig. 2 is a flow chart for illustrating the method of machine translation processing in the device shown in Fig. 1; Fig. 3 is a diagram for illustrating the screen composition of the display unit in the device shown in Fig. 1; Fig. 4 is a flow chart for illustrating the details of the method of display control processing in the flow chart shown in Fig. 2; Figs. 5A to 5H are simplified diagrams for illustrating the displayed state of an original sentence and a translated sentence in the processing method shown in Fig. 4; DESCRIPTION OF THE PREFERRED EMBODIMENTS Referring to Fig. 1, a machine translation processor embodying the present invention is shown with reference numeral 10. The machine translation processor 10 for processing an original sentence (English sentence) that is input to be translated into a translated sentence (Japanese sentence), comprises an input unit 12 that consists of a keyboard, an original sentence memory unit 14 for storing the English sentence that is given via the input unit 12, a knowledge data base 16 for storing grammar and translation dictionary, a translation unit 18 for performing translation processing for the original sentence by the use of the grammar and translation dictionary, an elapsed time measuring unit 20 for measuring the processing time of analysis stage in the translation unit 18, an original sentence division unit 24 for processing the original sentence by dividing it by means of a division grammar 22 for performing partial translation processing in the translation unit 18, when the measured time in the elapsed time measuring unit 20 reached a predetermined time, a translation memory unit 25 for storing translated sentence that is translation-processed, a display control unit 26 and a display unit 28 for displaying the translated sentence that is translation-processed, a printing unit 30 for printing translated sentence displayed, and an edition control unit 32 for controlling the translation processing in the translation unit 18 by receiving an original sentence from the input unit 12. Further, the screen of the display unit 28 consists, as shown in Fig. 3, of an editing region 34, an original sentence display region 36, and a translated sentence display region 38. Now, referring to Fig. 2, the translation processing method in the machine translation processor 10 will be described. First, when an original sentence (English sentence) is input to the input unit 12, it is stored in the original sentence memory unit 14 via the edition control unit 32. The stored original sentence is supplied to the translation unit 18 sentence by sentence via the edition control unit 32. (step 100) The separation and feeding of the sentences are carried out, for example, by detecting the period signs or the like in the sequence of input characters. Next, for a piece of sentence that is separated in the translation unit 19, information such as the parts of speech are supplemented to the words that are partitioned by spaces of the like. Further, the construction and the meaning of the sentence are analyzed by the use of the translation dictionary and the translation grammar that are stored in the knowledge data base 16, translated phrase or phrases are added, and transformation, generation, and the like of the construction are carried out, in order to obtain a translated sentence. (step 102) In this case, the processing time for the analysis stage of the translation unit 18 is measured in the elapsed time measuring unit 20. (step 104) The edition control unit 32 judges whether or not the processing time reached the predetermined time. (step 106) If it is found that it reached the predetermined time, the edition control unit 32 interrupts translation processing and sends the original sentence to the original sentence division unit 24. The original sentence division unit 24 performs division processing by the use of the division grammar. (step 108) Namely, when an example of English sentence as shown in Fig. 5A is input, it is divided into elemental units of the sentence "This tool was used", "to develop the machine", and "in Japan" as shown in Fig. 5B. Then, those three phrases are sent to the translation unit 18 via the edition control unit 32, translation processed, and partial translation for each part is obtained. (step 102) Namely, in the case of the above example of sentence, there will be obtained three partial translations as "kono tsuuru o mochiita" 31, "sono kikai o kaihatsu suru tame" 33, and "nippon de" 35 that are composed of hiraganas, Chinese characters (kanjis), and katakanas of Japanese language, as shown in Fig. 5B. Then, in step 110, it is judged whether or not translation is completed. When translationis completed, the original sentence and the translated sentence are displayed in corresponding manner on the display device 10, under the control of the display control unit 26 (see Fig. 5B). When the translation is partial, display control processing as will be described below is carried out. (step 112) Upon completion of the display control processing, the original sentence and the translated sentence are displayed. (step 114) Next, referring to Fig. 4 and Figs. 5A to 5H, the display controller shown in step 112 in Fig. 2 will be described. When an English sentence is input, the English sentence is displayed in the original sentence display region 36 of the screen as shown in Fig. 5A. If the translation processing is not completed yet at the stage when the translation processing time reached the predetermined time, the words "bubun yaku" 37 in terms of kanjis of Japanese language or "partial translation" in English are displayed in the translated sentence display region 35 as shown in Fig. 5A. (step 200) Then, when the partial translation is displayed in the translated sentence display region 38 as shown in Fig. 5B, the user can readily judge that the displayed translated sentence is not a bona fide translated sentence. Next, under the indication by the user through the keyboard, the partial translation as displayed in the translated sentence display region 38 in the preceding stage, and the corresponding English sentence are displayed in the editing region 34 as shown in Fig. 5C. Then, in order to edit the order of the sentence, the cursor is moved to the position where "nippon de" in Japanese is displayed, and by the indication through the selection key, the translated expression "nippon de" in Japanese is moved and displayed in the translated sentence display region 38, as shown in Fig. 5D. (step 202) Here, if it is desired to insert the particle "wa" 37 in Japanese hiragana which is missing in the translated sentence, by indicating the key for "wa" on the keyboard, instead of the selection key, it will be moved to the translated sentence display region 38 and displayed as "nippon dewa" 39 there, as shown in Fig. 5D. In this manner, the user is able to supplement the translated phrase with information on auxiliary words that are missing, in addition to select a partial translation. (step 204) In addition, the operation of supplementing missing information can be continued to be input until the cursor on the screen is shifted to a partial translation to be selected next. (step 206) Thus, for example, if the partial translation was "nippon" instead of "nippon de", it is possible to shift the word and display it as "nippon dewa" in the translated sentence display region 38, by indicating two Japanese hiraganas "dewa" through the keyboard and by shifting the cursor. (step 208) Here, the operation of selection, shifting, and displaying for one partial translation will be completed when the cursor is moved in the vertical direction. Further, by shifting the cursor in the horizontal direction, a translated word in the partial translation can be manipulated as follws. For example, by shifting the cursor to "kikai" 41 in Fig. 5E, it is possible to select and change it to another translated word "mashin" 43 through the operation of the selection key, as shown in Fig. 5F, to shift and display the word in the translated sentence display region 38. Moreover, if it is desired to add a Japanese hiragana "ni" 45 which is missing in the translated expression to the end of the translation "suru tame", the word will be shifted and an expression "suru tameni" will be displayed in the translated sentence display region as shown in Fig. 5G, by indicating "ni" on the keyboard. By performing the above-mentioned operations, a translated sentence as shown in Fig. 5H becomes possible to be obtained. (step 210) In this way, at the time point when it reaches a predetermined time after inputting of the original sentence, the user is able to obtain a regular translated result or a partial translation. Moreover, in editing the translated sentence by the use of partial translations, it becomes possible to add missing information (particles or the like), change translated words, and others, in addition to the selection of partial translation. Therefore, the psychological and physical burdens to the user become reducible, making it possible to improve sharply the effciency of the translation processing, including the edition efficiency. The above description was made in conjunction with a composition which possesses the function for shifting automatically to partial translation processing by measuring the translation processing time. Moreover, in the foregoing embodiment it has been assumed that the original sentence is an English sentence and the translated sentence is a Japanese sentence. However, the present invention is by no means limited to this combination, and it can be applied to combinations of a variety of languages. In summary, according to the present invention, the contents of translation processing will be changed after elapse of a predetermined translation processing time. Thus, for instance, it becomes possible to output a nearly reliable partial translation result within a time that is small compared with the processing time that is necessary for obtaining a regular translation result. Accordingly, it becomes possible to reduce sharply the waiting time for the response, from the point in time at which an original sentence was input to the time at which the result of its translation processing is obtained, as well as to obtain the response to the input original sentence in real time. Therefore, significant practical effects such as a reduction in the psychological and physical burdens to the operator can be achieved, through a conspicuous improvement that can be realized in the efficiency of conversational information processing.

Claims: A machine translation processor including: an input means (12) through which at least a sentence of a first language is input; a translation means (16,18) having dictionaries for carrying out an operation of translation from said first language to a second language; an output means (26,28) for outputting translations formed by said translation means; a memory means (14,25) for storing both the original and translated sentences; a controlling means (32) for controlling said translation means (16,18) and said outputting means (26,28) in order to output a translation of the sentence input through said input means (12), characterized in that an elapsed time measuring means (20) is provided for measuring the elapsed time for the translation operation in said translation means (16,18); an original sentence division means (22,24) is provided for dividing a sentence of said first language into a number of constituent phrases, and in that said controlling means (32) controls, when the time measured by said elapsed time measuring means (20) reaches a predetermined time, said original sentence division means (22,24) to divide the input sentence being handled by said translation means (16,18) into a number of constituent phrases and said translation means (16,18) to translate said constituent phrases of said input sentence respectively instead of the entirety of said input sentence. The machine translation processor as claimed in claim 1, wherein the first language is English and the second language is Japanese. The machine translation processor as claimed in claim 2, wherein said letter and characters of the second language are Chinese characters (kanji characters) and Japanese hiragana and katakana letters and characters. A method of performing a machine translation processing carried out by the processor according to any of claims 1 to 3, comprising the steps of: (a) machine translating an original written in a first language into a second translated language by means of dictionary and grammars, sentence by sentence; (b) measuring actual translation time spent for the translation; (c) comparing the actual translation time thus measured with a predetermined translation time and if the actual translation time reaches said predetermined translation: (d) dividing the original sentence or sentences into phrases and repeating the translation processing for each phrase; and (e) displaying corresponding translated phrases in the second language on a display; and thereafter the user editing the translated phrases and sentences in the second languages on the display by operating display control means. The method of performing a machine translation processing as claimed in claim 4, wherein said editing step includes the steps of the user inserting additional letter or letters and/or character or characters for completing the translation and of changing a certain word or words on the display by said display control means. The method of performing a machine translation processing as claimed in claim 4, wherein said editing step further comprises the steps of the user operating the display control means to: move a cursor to a phrase translated on the display; select additional letter or letters or character or characters for supplement of the translated phrases in the second language through a keyboard; determine if the cursor of the display has been moved to a predetermined position to be edited; perform a desired editing operation on the display in accordance with the result of the determination; and display the completed translation on the display. The method of performing a machine translation processing as claimed in claim 4, wherein the first language is English and the second language is Japanese. The method of performing a machine translation processing as claimed in claim 7, wherein said letter and characters at the second language are Chinese characters (Kanji characters) and Japanese hiragana and katakana letters and characters.

Inventors: ADACHI, HISAHIRO, AMANO, SHINYA, KAWADA, TSUTOMU, KUMANO, AKIRA, MIIKE, SEIJI, NOGAMI, HIROYASU, TAKEDA, KIMIHITO
Applicants: KABUSHIKI KAISHA TOSHIBA
Application year: 1986
Main classification: G06F15
IPC codes: G06F17