JPH0877172A - Machine translating system - Google Patents
Machine translating systemInfo
- Publication number
- JPH0877172A JPH0877172A JP6230499A JP23049994A JPH0877172A JP H0877172 A JPH0877172 A JP H0877172A JP 6230499 A JP6230499 A JP 6230499A JP 23049994 A JP23049994 A JP 23049994A JP H0877172 A JPH0877172 A JP H0877172A
- Authority
- JP
- Japan
- Prior art keywords
- word
- translation
- original
- translated
- dictionary
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000013519 translation Methods 0.000 claims abstract description 198
- 238000000034 method Methods 0.000 claims abstract description 26
- 230000011218 segmentation Effects 0.000 claims description 27
- 230000014616 translation Effects 0.000 description 134
- 238000010586 diagram Methods 0.000 description 4
- 238000010276 construction Methods 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000000877 morphologic effect Effects 0.000 description 1
- 230000000717 retained effect Effects 0.000 description 1
Landscapes
- Machine Translation (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は英語から日本語への翻訳
など異言語間の翻訳を行う機械翻訳装置に関し、特に翻
訳過程で原文の語切りを誤ったことから正しい訳文が生
成されなかったとき、正しい訳語を選択する操作を行う
だけで同時に語切り指定も自動的に行えるようにした機
械翻訳装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a machine translation device for translating between different languages, such as translation from English to Japanese. In particular, a correct translation was not generated because the original text was cut off in the translation process. At this time, the present invention relates to a machine translation device capable of automatically specifying word segmentation at the same time only by performing an operation of selecting a correct translation word.
【0002】[0002]
【従来の技術】現状の機械翻訳装置は翻訳精度に限界が
あり、翻訳専門家並みの能力を期待することは困難であ
る。このため、機械翻訳の不完全さを補う作業が必要で
ある。翻訳の結果得られた訳文中の誤った訳語を利用者
が正しい訳語に置き換える作業もその一つであり、この
作業を支援するために、例えば特開平4−310182
号公報に見られる技術が知られている。2. Description of the Related Art The current machine translation device has a limit in translation accuracy, and it is difficult to expect the ability of a translation expert. Therefore, it is necessary to work to compensate for the incompleteness of machine translation. One of the tasks is to replace an incorrect translated word in the translated sentence obtained as a result of translation by the user with a correct translated word. To support this task, for example, Japanese Patent Laid-Open No. 4-310182.
The technique found in the publication is known.
【0003】この技術では、原文と訳文とを語切りされ
た状態で表示装置に表示し、利用者が原文中の或る語切
り単位を指示すると、その語切り単位の原語に対応する
訳語を全て表示し、その中から利用者が正しい訳語を選
択すると、再翻訳時に元の訳語の代わりに上記選択され
た訳語が選ばれるような訳語指示情報を生成する。In this technique, an original sentence and a translated sentence are displayed in a state of being cut into words, and when a user designates a word cutting unit in the original sentence, a translated word corresponding to the original word of the word cutting unit is displayed. When all the displayed words are displayed and the user selects the correct translated word from them, the translated word instruction information is generated so that the selected translated word is selected instead of the original translated word at the time of retranslation.
【0004】[0004]
【発明が解決しようとする課題】この従来技術は、翻訳
過程で行われる原文の語切り処理が正しい場合には有効
であるが、その処理が誤っている場合には役立たない。
即ち、例えば「Andso am I.」という英文を
日本語に翻訳する機械翻訳装置において、原文を「An
d so」,「am」,「I」,「.」に語切りした結
果、「したがって私が。」という訳文が得られたとす
る。実際は「そして、私もです。」という訳文を得たい
が、翻訳過程では「And so」が1つの語切り単位
として処理されているので、別訳語の表示はあくまでも
「And so」で辞書引きされてしまい、訳語の置換
は勿論のこと正しい訳語の表示すら行えない。このよう
な場合、語切り指定によって語切りの間違いを修正して
再翻訳を実行し、改めて訳語を調べなくてはならず、不
便である。また、語切り指定は原文側に対する指示なの
で、それを利用者が行うには原文側の原語知識が必要に
なるという問題もある。This conventional technique is effective when the word segmentation process of the original sentence performed in the translation process is correct, but is not useful when the process is incorrect.
That is, for example, in a machine translation device that translates an English sentence "Andso am I."
It is assumed that the translated sentence "Therefore I am." is obtained as a result of segmenting into "d so", "am", "I", and ".". Actually, I want to get the translated sentence "And me too." However, since "And so" is processed as one word-cutting unit in the translation process, the display of another translated word is only "And so". It is impossible to replace the translated word and even display the correct translated word. In such a case, it is inconvenient because it is necessary to correct an error in word cutting by specifying the word cutting, perform retranslation, and check the translated word again. In addition, since the word cut specification is an instruction to the original text side, there is a problem that the user needs knowledge of the original word on the original text side in order to perform it.
【0005】本発明はこのような従来の問題点を解決し
たもので、その目的は、翻訳過程での原文の語切り単位
に影響されずに別訳語を表示することができ、然も正し
い訳語を選択する操作を行うだけで同時に語切り指定も
自動的に行えるようにした機械翻訳装置を提供すること
にある。The present invention has solved the above-mentioned conventional problems, and an object thereof is to display another translated word without being affected by the word-cutting unit of the original sentence in the translation process, and still the correct translated word. An object of the present invention is to provide a machine translation device capable of automatically specifying word breaks at the same time only by performing an operation of selecting.
【0006】[0006]
【課題を解決するための手段】本発明は上記の目的を達
成するために、異言語間の翻訳を行う機械翻訳装置にお
いて、翻訳用の辞書と、入力された原文を、前記辞書の
内容および別途入力されたユーザ指示情報がある場合は
その指示情報も参照して翻訳し、訳文と、その元となっ
た原文と、翻訳処理の過程で行った原文の語切り単位と
該単位に対応する訳文中の訳語との関係情報とを含む対
訳情報を出力する翻訳処理手段と、該翻訳処理部から出
力された対訳情報を保持する対訳情報保持手段と、該対
訳情報保持手段に保持された対訳情報中の訳文を表示装
置に表示する翻訳結果出力手段と、該翻訳結果出力手段
によって前記表示装置に表示された訳文中の訳語を指定
した辞書引き要求時、前記指定された訳語に対応する原
文の語切り単位の先頭文字から始まる、考えられ得る全
ての語切り単位について前記辞書を検索してその訳語を
前記表示装置に表示する別訳語辞書引き手段と、該別訳
語辞書引き手段によって前記表示装置に表示された訳語
の1つが選択されたとき、該選択された訳語に対応する
原語を語切り単位にすべきことを指示する語切り指示情
報と、該選択された訳語を使用すべきことを指示する訳
語選択指示情報とをユーザ指示情報として作成して前記
翻訳処理手段に与えて前記対訳情報保持手段中の原文の
再翻訳を行わせる再翻訳指示手段とを備えている。In order to achieve the above object, the present invention provides a machine translation apparatus for translating between different languages, in which a dictionary for translation and an inputted original sentence are stored in the dictionary contents and If there is user instruction information that has been input separately, the instruction information is also referred to and translated, and the translated sentence, the original sentence that is the source of the translated sentence, the word segmentation unit of the original sentence that was used in the translation process, and the corresponding unit Translation processing means for outputting parallel translation information including relational information with the translated word in the translated text, parallel translation information holding means for holding the parallel translation information output from the translation processing part, and parallel translation held by the parallel translation information holding means. A translation result output unit for displaying a translated sentence in the information on a display device, and a dictionary lookup request specifying a translated word in the translated sentence displayed on the display device by the translation result output unit, an original sentence corresponding to the designated translated word Of the word cutting unit Another translation word dictionary drawing means for searching the dictionary for all possible word cutting units starting from the initial letters and displaying the translated word on the display device, and the other translation word dictionary drawing means displayed on the display device. When one of the translated words is selected, word cutting instruction information that indicates that the original word corresponding to the selected translated word should be used as a word cutting unit, and translated word selection that indicates that the selected translated word should be used Re-translation instruction means for creating instruction information and user instruction information and giving it to the translation processing means to re-translate the original sentence in the parallel translation information holding means.
【0007】なお、上記の構成では、別訳語辞書引き手
段は利用者が指定した訳語についてのみ処理を行った
が、利用者の指定を待たずに表示装置に表示された訳文
中の各訳語について前述と同様の処理を行うようにして
も良い。また、訳文以外に原文を表示し、この原文中の
利用者によって指定された訳語を含む語切り単位に対
し、或いはそのような指定を待たずに原文中の各語切り
単位について、別訳語辞書引き手段が前述と同様の処理
を行うようにしても良い。In the above construction, the separate word dictionary lookup means processes only the translated words specified by the user, but the translated words in the translated text displayed on the display device without waiting for the user's designation. You may make it perform the same process as the above. In addition, the original sentence is displayed in addition to the translated sentence, and a separate word dictionary is provided for the word cutting unit including the translated word specified by the user in the original sentence, or for each word cutting unit in the original sentence without waiting for such specification. The pulling means may perform the same processing as described above.
【0008】[0008]
【作用】本発明の機械翻訳装置においては、翻訳処理手
段が、入力された原文を、翻訳用の辞書の内容および別
途入力されたユーザ指示情報がある場合はその指示情報
も参照して翻訳し、訳文と、その元となった原文と、翻
訳処理の過程で行った原文の語切り単位とこの単位に対
応する訳文中の訳語との関係情報とを含む対訳情報を出
力し、対訳情報保持手段がこの出力された対訳情報を保
持し、翻訳結果出力手段が対訳情報中の訳文を表示装置
に表示する。そして、別訳語辞書引き手段が、表示装置
に表示された訳文中の訳語を指定した辞書引き要求時
に、前記指定された訳語に対応する原文の語切り単位の
先頭文字から始まる、考えられ得る全ての語切り単位に
ついて前記辞書を検索してその訳語を前記表示装置に表
示し、再翻訳指示手段が、別訳語辞書引き手段によって
前記表示装置に表示された訳語の1つが選択されたと
き、その選択された訳語に対応する原語を語切り単位に
すべきことを指示する語切り指示情報と、その選択され
た訳語を使用すべきことを指示する訳語選択指示情報と
をユーザ指示情報として作成して翻訳処理手段に与えて
対訳情報保持手段中の原文の再翻訳を行わせる。In the machine translation apparatus of the present invention, the translation processing means translates the input original sentence by also referring to the contents of the dictionary for translation and the separately input user instruction information, if any. , Translated information, the original sentence that is the source of the translated sentence, the word segmentation unit of the original sentence that was used in the process of translation, and the relation information of the translated word in the translated sentence corresponding to this unit are output, and the translated information is retained. The means holds the output parallel translation information, and the translation result output means displays the translated text in the parallel translation information on the display device. Then, when the dictionary translation request is made by the translation word dictionary lookup means that designates the translation word in the translation displayed on the display device, it starts from the first character of the word segmentation unit of the original sentence corresponding to the specified translation word, and all conceivable When the dictionary is searched for the word segmentation unit and the translated word is displayed on the display device, and the retranslation instructing means selects one of the translated words displayed on the display device by the another translated word dictionary drawing means, The word cutting instruction information for instructing that the original word corresponding to the selected translation word should be used as the word cutting unit and the translation word selection instruction information for instructing that the selected translation word should be used are created as user instruction information. To the translation processing means to retranslate the original text in the parallel translation information holding means.
【0009】[0009]
【実施例】次に本発明の実施例について図面を参照して
詳細に説明する。Embodiments of the present invention will now be described in detail with reference to the drawings.
【0010】図1を参照すると、本発明の機械翻訳装置
の一実施例は、英語を日本語に翻訳する機械翻訳装置で
あり、辞書1と、翻訳処理部2と、対訳情報保持部3
と、翻訳結果出力部4と、別訳語辞書引き部5と、再翻
訳指示部6と、指示情報保持部7と、表示装置8と、キ
ーボード9とで構成されている。なお、日本語を英語に
翻訳する等、他の異原語間の機械翻訳装置に対しても本
発明は適用可能である。Referring to FIG. 1, an embodiment of a machine translation apparatus of the present invention is a machine translation apparatus for translating English into Japanese, which includes a dictionary 1, a translation processing unit 2, and a parallel translation information holding unit 3.
And a translation result output unit 4, another translation word dictionary drawing unit 5, a retranslation instruction unit 6, an instruction information holding unit 7, a display device 8, and a keyboard 9. The present invention can be applied to other machine translation devices between different original languages, such as translating Japanese into English.
【0011】辞書1は翻訳用の辞書であり、原言語であ
る英語の各見出し語毎に、訳語,品詞,用例等の辞書内
容を保持している。指示情報保持部7は、翻訳処理部2
に対するユーザ指示情報を保持する部分である。本実施
例では、この指示情報保持部7には、後述する再翻訳時
に語切り指示情報と訳語選択指示情報とが保持されるよ
うになっている。The dictionary 1 is a dictionary for translation, and holds dictionary contents such as translated words, parts of speech, and examples for each headword in the original language, English. The instruction information holding unit 7 is a translation processing unit 2.
Is a part for holding the user instruction information for. In the present embodiment, the instruction information holding unit 7 is configured to hold the word cutting instruction information and the translated word selection instruction information at the time of retranslation described later.
【0012】図2は図1に示した機械翻訳装置の動作の
一例を示すフローチャートである。利用者が英語の原文
をキーボード9から入力すると、翻訳処理部2はこの原
文を入力し(S1)、翻訳処理を行う(S2)。この翻
訳処理では、辞書1の辞書内容および翻訳処理部2に組
み込まれている解析ルールを使用して、原文に対する形
態素解析,構文解析,文生成が行われる。このとき、翻
訳処理部2は指示情報保持部7を参照し、若し語切り指
示情報が存在すれば、この情報で指示された通りの語切
り処理を行い、また若し訳語選択指示情報が含まれてい
れば、その情報で指示された通りの訳語を使用する。そ
のような語切り指示情報や訳語選択指示情報がなけれ
ば、解析ルールに従って語切り処理および訳語選択を実
行する。原文がキーボード9から入力された第1回目の
翻訳時にはユーザ指示情報は存在しないため、翻訳処理
部2は解析ルールに従って語切り処理および訳語選択を
実行することになる。そして、翻訳処理部2は原文の翻
訳処理を終了すると、生成した訳文と、元の原文と、翻
訳処理の過程で行った原文の語切り単位とその単位に対
応する訳文中の訳語との関係情報とを含む対訳情報を対
訳情報保持部3に格納する。FIG. 2 is a flow chart showing an example of the operation of the machine translation device shown in FIG. When the user inputs an English original sentence from the keyboard 9, the translation processing unit 2 inputs this original sentence (S1) and performs translation processing (S2). In this translation processing, morphological analysis, syntactic analysis, and sentence generation for the original sentence are performed using the dictionary contents of the dictionary 1 and the analysis rules incorporated in the translation processing unit 2. At this time, the translation processing unit 2 refers to the instruction information holding unit 7, and if the word cutting instruction information is present, performs the word cutting processing as instructed by this information, and the translated word selection instruction information is sent. If so, use the translation as indicated by the information. If there is no such word cut instruction information or translated word selection instruction information, word cut processing and translated word selection are executed according to the analysis rule. Since the user instruction information does not exist during the first translation when the original sentence is input from the keyboard 9, the translation processing unit 2 executes word segmentation processing and translation word selection according to the analysis rule. When the translation processing unit 2 completes the translation process of the original sentence, the relationship between the generated translated sentence, the original original sentence, the word segmentation unit of the original sentence performed in the process of the translation process, and the translated word in the translated sentence corresponding to the unit. The parallel translation information including the information is stored in the parallel translation information holding unit 3.
【0013】対訳情報が対訳情報保持部3に格納される
と、翻訳結果出力部4は、その対訳情報中の訳文を表示
装置8に表示して利用者に提示する(S3)。このと
き、本実施例では、元の原文も表示装置8に表示してい
る。When the bilingual translation information is stored in the bilingual translation information holding unit 3, the translation result output unit 4 displays the translated sentence in the bilingual translation information on the display device 8 and presents it to the user (S3). At this time, in this embodiment, the original text is also displayed on the display device 8.
【0014】表示装置8に表示された訳文を見た利用者
が、或る訳語が不適切であると判断し、その訳語を選択
してキーボード9から別訳語の表示を要求すると、この
要求は別訳語辞書引き部5に入力されてここで検出され
(S4)、別訳語辞書引き部5は、対訳情報保持部3中
の対訳情報を参照して、利用者によって指定された訳語
に対応する原文の語切り単位を認識し、その先頭文字か
ら始まる、考えられ得る全ての語切り単位を見出し語に
持つ辞書内容について辞書1を検索し、得られた訳語を
表示装置8に表示する(S6)。When the user who sees the translated sentence displayed on the display device 8 judges that a certain translated word is inappropriate and selects the translated word and requests the keyboard 9 to display another translated word, this request is issued. It is input to the extra-translation word dictionary drawing unit 5 and detected here (S4), and the extra-translation word dictionary drawing unit 5 refers to the bilingual translation information in the bilingual translation information holding unit 3 and corresponds to the translation word designated by the user. The word segmentation unit of the original sentence is recognized, the dictionary 1 is searched for dictionary contents having all possible word segmentation units as headwords starting from the first character, and the obtained translated word is displayed on the display device 8 (S6). ).
【0015】なお、別の実施例として、別訳語辞書引き
部5は、利用者の指定を待たずに表示装置8に表示され
た訳文中の各訳語に対応する原文の語切り単位について
上記と同様の処理を行うようにしても良い。また、表示
された原文中の利用者によって指定された原語を含む語
切り単位に対し上記と同様の処理を行うようにするか、
或いはそのような指定を待たずに原文中の全ての語切り
単位について上記と同様の処理を行うようにしても良
い。As another embodiment, the separate word dictionary lookup unit 5 determines the word segmentation unit of the original sentence corresponding to each translated word in the translated sentence displayed on the display device 8 without waiting for the user's designation. You may make it perform the same process. In addition, whether to perform the same processing as above for the word cutting unit including the original word specified by the user in the displayed original text, or
Alternatively, the processing similar to the above may be performed for all word segmentation units in the original sentence without waiting for such designation.
【0016】次に表示装置8に表示された訳語の候補に
対し、利用者がキーボード9からその1つを選択すると
(S7でYES)、別訳語辞書引き部5は元の訳語とそ
れと置換する上記選択された訳語とそれに対応する原語
見出し(選択された訳語を辞書引きしたときの原語見出
し)とを含む選択情報を再翻訳指示部6に渡し、再翻訳
指示部6は、語切り単位に変更があったか否かを、別訳
語辞書引き部5から渡された原語見出しと対訳情報中の
元の訳語の原語とを比較することで判定する(S9)。
そして、語切り単位に変更があった場合(S9でYE
S)、つまり原語見出しと元の訳語の原語とが一致しな
かった場合、新しい原語見出しを語切り単位とすべきこ
とを示す語切り指示情報を作成して指示情報保持部7に
設定し(S10)、次いで、その原語については上記選
択された訳語を使用すべきことを示す訳語選択指示情報
を作成して指示情報保持部7に設定し(S11)、対訳
情報保持部3から原文を取り出して翻訳処理部2に伝達
し、再翻訳を指示する。これにより、翻訳処理部2は元
の原文を再び翻訳する(S12)。このとき、指示情報
保持部7には語切り指示情報と訳語選択指示情報とが設
定されているので、翻訳処理部2はそれを参照して翻訳
処理を進める。Next, when the user selects one of the translation word candidates displayed on the display device 8 from the keyboard 9 (YES in S7), the another translation word dictionary drawing section 5 replaces the original translation word with the original translation word. The selection information including the selected translated word and the corresponding original word heading (original word heading when the selected translated word is looked up in the dictionary) is passed to the re-translation instruction unit 6, and the re-translation instruction unit 6 divides the word into words. Whether or not there is a change is determined by comparing the original word heading passed from the separate translation word dictionary drawing unit 5 with the original word of the original translated word in the bilingual translation information (S9).
Then, when the word cut unit is changed (YE in S9).
S) That is, when the original word heading and the original word of the original translation do not match, the new source word heading is created as word cutting unit information and set in the instruction information holding unit 7 ( S10), then, for the original word, translated word selection instruction information indicating that the selected translated word should be used is created and set in the instruction information holding unit 7 (S11), and the original sentence is retrieved from the parallel translation information holding unit 3. And transmits it to the translation processing unit 2 to instruct retranslation. As a result, the translation processing unit 2 translates the original original sentence again (S12). At this time, since the word cutting instruction information and the translation word selection instruction information are set in the instruction information holding unit 7, the translation processing unit 2 advances the translation process with reference to them.
【0017】他方、再翻訳指示部6は、ステップS9で
語切り単位に変更がなかったと判断した場合、つまり原
語見出しと元の訳語の原語とが一致した場合は、ステッ
プS10をスキップする。このため、訳語選択指示情報
のみが作成されて指示情報保持部7に設定される。On the other hand, if the retranslation instructing section 6 determines in step S9 that the word segmentation unit has not been changed, that is, if the original word headline and the original word of the original translated word match, step S10 is skipped. Therefore, only the translated word selection instruction information is created and set in the instruction information holding unit 7.
【0018】なお、訳文表示時に利用者がキーボード9
から終了指示を入力した場合(S5でYES)、およ
び、別訳語表示時に訳語を選択することなく終了指示を
入力した場合(S8でYES)、機械翻訳装置は当該原
文の翻訳処理を終了する。このとき指示情報保持部7の
ユーザ指示情報はクリアされる。When the translated text is displayed, the user presses the keyboard 9
When the end instruction is input from (YES in S5) and when the end instruction is input without selecting a translated word when another translated word is displayed (YES in S8), the machine translation apparatus ends the translation process of the original sentence. At this time, the user instruction information in the instruction information holding unit 7 is cleared.
【0019】次に具体的な英文を例にして本実施例の機
械翻訳装置の動作を説明する。例としては、「And
so am I.」を取り上げる。Next, the operation of the machine translation apparatus of this embodiment will be described by taking a concrete English sentence as an example. For example, "And
so am I. Will be taken up.
【0020】利用者が上記の英文をキーボード9から入
力すると、翻訳処理部2はこの英文を入力し(S1)、
翻訳処理を行う(S2)。この翻訳処理では、指示情報
保持部7にユーザ指示情報が存在しないため、翻訳処理
部2は辞書1の辞書内容と解析ルールに従って語切り処
理,訳語選択等の翻訳処理を実行する。今、上記英文に
対し、「And so」,「am」,「I」,「.」と
語切りされ、「Andso」の訳語として「したがっ
て」が選択された場合、例えば図3に示すような原文,
原語位置,訳文,訳語位置,対訳を含む対訳情報が生成
されて、対訳情報保持部3に保持され、そのうちの原文
と訳文とが表示装置8に表示されることになる(S
3)。When the user inputs the above-mentioned English sentence from the keyboard 9, the translation processing unit 2 inputs this English sentence (S1),
A translation process is performed (S2). In this translation processing, since the user instruction information does not exist in the instruction information holding unit 7, the translation processing unit 2 executes translation processing such as word segmentation processing and translation word selection according to the dictionary content of the dictionary 1 and the analysis rule. Now, when the above English sentence is cut into words "And so", "am", "I", and ".", And "so" is selected as the translation word of "Andso", for example, as shown in FIG. Original text,
The parallel translation information including the original word position, the translated sentence, the translated word position, and the parallel translation is generated and held in the parallel translation information holding unit 3, and the original sentence and the translated sentence are displayed on the display device 8 (S
3).
【0021】本実施例の場合、図3中の原語位置,訳語
位置および対訳が、翻訳処理の過程で行った原文の語切
り単位とその単位に対応する訳文中の訳語との関係を示
す情報となる。なお、原語位置は原文中の語切りされた
各単語のバイト位置を示す。この場合は「And s
o」,「am」,「I」,「.」と語切りされているの
で、それぞれが原文中の0、7、10、11バイト目か
ら始まることが原語位置で示されている。訳語位置も原
語位置と同様、訳文中の訳語開始位置が格納される。対
訳は、各訳語の辞書見出しとなった、原語位置が格納さ
れている。即ち、「したがって」の原語は「And s
o」、「私」の原語は「I」に対応しているので、それ
らの原語位置0、10が設定されている。訳語の「が」
と「。」は辞書引きした結果出た訳語ではないので、対
応する原語位置はなく、−1となっている。In the case of the present embodiment, the source word position, the target word position, and the bilingual translation in FIG. 3 indicate the relationship between the word segmentation unit of the source sentence performed in the translation process and the target word in the source sentence corresponding to that unit. Becomes The original word position indicates the byte position of each word cut in the original sentence. In this case, "And s
Since the words "o", "am", "I", and "." are cut off, it is indicated by the original word position that each starts from the 0th, 7th, 10th, and 11th bytes in the original sentence. The translated word position also stores the translated word start position in the translated sentence, like the original word position. The bilingual translation stores the position of the original word, which is the dictionary heading for each translated word. That is, the original word for "so" is "And s
Since the original words of "o" and "I" correspond to "I", their original word positions 0 and 10 are set. The translation "ga"
And "." Are not the translated words obtained as a result of looking up the dictionary, so that there is no corresponding original word position and it is -1.
【0022】さて、表示装置8に表示された訳文を見た
利用者が、訳文中の訳語「したがって」を選択して別訳
語の表示を要求すると、別訳語辞書引き部5は、対訳情
報保持部3中の対訳情報を参照して、利用者によって指
定された訳語「したがって」に対応する原文の語切り単
位「And so」を認識し、その先頭文字「A」から
始まる、考えられ得る全ての語切り単位について辞書1
を検索し、その訳語を表示装置8に表示する(S6)。
この場合、考えられ得る全ての語切り単位は、「An
d」,「And so」,「And so am」,
「And so am I」,「And so am
I.」であるため、それらを原語見出しとして辞書1が
検索される。なお、先頭のAは小文字のaとして処理さ
れる。When the user who sees the translated sentence displayed on the display device 8 selects the translated word "according to" in the translated sentence and requests the display of another translated word, the translated word dictionary drawing unit 5 holds the translated information. By referring to the bilingual information in Part 3, the word segmentation unit "And so" of the original sentence corresponding to the translated word "according to" specified by the user is recognized, and all the conceivable starting from the first character "A" are recognized. Dictionary 1 for word cutting unit
Is displayed and its translation is displayed on the display device 8 (S6).
In this case, all possible word-cutting units are "An
d ”,“ And so ”,“ And so am ”,
"And so am I", "And so am
I. Therefore, the dictionary 1 is searched with these as the original word headings. The leading A is processed as a lower case a.
【0023】図4に検索された訳語の例を示す。この場
合、辞書1に「and」と「andso」とに合致する
原語見出しが存在し、「and so am」,「An
dso am I」,「And so am I.」に
合致する原語見出しは存在しなかったため、「and」
と「and so」に対応する訳語が表示されている。
従来の装置では「and so」に対する訳語しか表示
されなかったが、本実施例では「and」に対する訳語
も表示されている。なお、対応する原語見出しはカッコ
内付きで表示している。FIG. 4 shows an example of the translated words retrieved. In this case, there are original word headings matching "and" and "andso" in the dictionary 1, and "and so am", "An"
Since there was no original word heading matching "dso am I" and "And so am I.", "and"
And translated words corresponding to "and so" are displayed.
In the conventional device, only the translated word for "and so" is displayed, but in this embodiment, the translated word for "and" is also displayed. The corresponding original word headings are shown in parentheses.
【0024】次に利用者が図4の訳語の候補の中から
「そして」を選択すると、元の訳語「したがって」と、
上記選択された訳語「そして」と、それに対応する原語
見出し「and」とが再翻訳指示部6に渡され、再翻訳
指示部6は、この原語見出し「and」が、元の訳語
「したがって」の原語「And so」と相違すること
から、語切り単位に変更があったと判断し(S9でN
O)、新しい原語見出し「and」を語切り単位とすべ
きことを示す語切り指示情報と、その原語「and」に
ついては上記選択された訳語「そして」を使用すべきこ
とを示す訳語選択指示情報とを作成して指示情報保持部
7に設定する(S10,S11)。Next, when the user selects "and" from the candidate translations shown in FIG. 4, the original translation "according to" is displayed.
The selected translated word "and" and the corresponding original word heading "and" are passed to the re-translation instruction unit 6, and the re-translation instruction unit 6 changes the original word heading "and" to the original translated word "accordingly". Since it is different from the original word "And so" of, it is determined that the word cutting unit has been changed (N in S9
O), word cut instruction information indicating that the new original word heading "and" should be used as a word cut unit, and a translated word selection instruction indicating that the selected translated word "and" should be used for the original word "and" Information is created and set in the instruction information holding unit 7 (S10, S11).
【0025】図5に語切り指示情報と訳語選択指示情報
の例を示す。語切り指示情報「0−3」は、原文の0バ
イト目から長さ3バイト分(すなわち「And」)を1
つの語切り単位として切り出すべきことを指示してお
り、訳語選択指示情報「0−”そして”」は0バイト目
からの単語(すなわち「And」)の訳語として「そし
て」を選択すべきことを指示している。FIG. 5 shows an example of the word cutting instruction information and the translated word selection instruction information. The word segmentation instruction information “0-3” has a length of 3 bytes from the 0th byte of the original sentence (that is, “And”) set to 1
It is instructed that the word should be cut out as one word cutting unit, and the translation word selection instruction information "0-" and "" indicates that "and" should be selected as the translation word of the word from the 0th byte (that is, "And"). Instructing.
【0026】再翻訳指示部6は訳語選択指示情報および
語切り指示情報の設定を完了すると、対訳情報保持部3
から原文「And so am I.」を取り出して翻
訳処理部2に伝達し、再翻訳を指示する(S12)。こ
れにより、翻訳処理部2は指示情報保持部7に保持され
た指示情報を参照して再翻訳する。この結果、「An
d」,「so」,「am」,「I」,「.」と語切りさ
れ、また、「And」に対して「そして」という訳語を
もった辞書内容を選択して処理を進める。これにより、
訳文は、「したがって私が。」から、「そして、私もで
す。」に変化する。When the retranslation instruction unit 6 completes the setting of the translation word selection instruction information and the word segmentation instruction information, the parallel translation information holding unit 3
The original sentence "And so am I." is extracted from the above and transmitted to the translation processing unit 2 to instruct retranslation (S12). As a result, the translation processing unit 2 refers to the instruction information held in the instruction information holding unit 7 and retranslates it. As a result, "An
The dictionary contents having the words "d", "so", "am", "I", "." and the translation "and" for "And" are selected to proceed the processing. This allows
The translation changes from "So I am." To "And I am."
【0027】[0027]
【発明の効果】以上説明したように、本発明は、原文の
翻訳過程で処理された語切り単位の先頭文字から始ま
る、考えられ得る全ての語切り単位について辞書引きし
て訳語を表示するため、翻訳過程での原文の語切り単位
に影響されずに別訳語を表示することができ、然も、利
用者によって選択された訳語に対応する原語を語切り単
位にすべきことを指示する語切り指示情報を自動的に作
成して再翻訳を行うので、正しい訳語を選択する操作を
行うだけで同時に語切り指定も自動的に行える。これに
よって、操作が面倒で分かりづらい語切り指定を別途行
う必要がなくなり、作業効率が向上するという効果があ
る。As described above, according to the present invention, since all possible word-cutting units starting from the first character of the word-cutting unit processed in the translation process of the original sentence are dictionary-displayed, the translated word is displayed. , A translation word can be displayed without being affected by the word break unit of the original sentence in the translation process, and a word indicating that the original word corresponding to the translated word selected by the user should be the word break unit. Since the cutting instruction information is automatically created and re-translated, the word cutting can be automatically specified at the same time only by selecting the correct translation word. As a result, there is no need to separately specify word segmentation, which is tedious in operation and difficult to understand, and there is an effect that work efficiency is improved.
【図1】本発明の一実施例の機械翻訳装置のブロック図
である。FIG. 1 is a block diagram of a machine translation device according to an embodiment of the present invention.
【図2】本発明の一実施例の機械翻訳装置の動作の一例
を示すフローチャートである。FIG. 2 is a flowchart showing an example of the operation of the machine translation device according to the embodiment of the present invention.
【図3】対訳情報の例を示す図である。FIG. 3 is a diagram showing an example of parallel translation information.
【図4】検索された訳語の表示例を示す図である。FIG. 4 is a diagram showing a display example of searched translations.
【図5】語切り指示情報および訳語選択指示情報の例を
示す図である。FIG. 5 is a diagram showing an example of word cutting instruction information and translated word selection instruction information.
1…翻訳用の辞書 2…翻訳処理部 3…対訳情報保持部 4…翻訳結果出力部 5…別訳語辞書引き部 6…再翻訳指示部 7…指示情報保持部 8…表示装置 9…キーボード 1 ... Dictionary for translation 2 ... Translation processing unit 3 ... Parallel translation information storage unit 4 ... Translation result output unit 5 ... Different translation dictionary dictionary unit 6 ... Retranslation instruction unit 7 ... Instruction information storage unit 8 ... Display device 9 ... Keyboard
Claims (5)
いて、 翻訳用の辞書と、 入力された原文を、前記辞書の内容および別途入力され
たユーザ指示情報がある場合はその指示情報も参照して
翻訳し、訳文と、その元となった原文と、翻訳処理の過
程で行った原文の語切り単位と該単位に対応する訳文中
の訳語との関係情報とを含む対訳情報を出力する翻訳処
理手段と、 該翻訳処理部から出力された対訳情報を保持する対訳情
報保持手段と、 該対訳情報保持手段に保持された対訳情報中の訳文を表
示装置に表示する翻訳結果出力手段と、 該翻訳結果出力手段によって前記表示装置に表示された
訳文中の訳語を指定した辞書引き要求時、前記指定され
た訳語に対応する原文の語切り単位の先頭文字から始ま
る、考えられ得る全ての語切り単位について前記辞書を
検索してその訳語を前記表示装置に表示する別訳語辞書
引き手段と、 該別訳語辞書引き手段によって前記表示装置に表示され
た訳語の1つが選択されたとき、該選択された訳語に対
応する原語を語切り単位にすべきことを指示する語切り
指示情報と、該選択された訳語を使用すべきことを指示
する訳語選択指示情報とをユーザ指示情報として作成し
て前記翻訳処理手段に与えて前記対訳情報保持手段中の
原文の再翻訳を行わせる再翻訳指示手段とを備えたこと
を特徴とする機械翻訳装置。1. In a machine translation device for translating between different languages, the dictionary for translation and the input source text are also referred to when the contents of the dictionary and user instruction information input separately are present. And outputs translation information including the translated text, the original text that is the source of the translated text, the word segmentation unit of the original text that was used in the translation process, and the relationship information between the translated word corresponding to the unit and the translated word in the translated text. Translation processing means, parallel translation information holding means for holding the parallel translation information output from the translation processing section, translation result output means for displaying the translated text in the parallel translation information held in the parallel translation information holding means on a display device, When a dictionary lookup request is made to specify a translated word in the translated text displayed on the display device by the translation result output means, all conceivable words starting from the first character of the word cutting unit of the original sentence corresponding to the designated translated word Cutting unit When the dictionary is searched for and the translated word is displayed on the display device, and the translated word displayed on the display device is selected by the translated word dictionary, the selected word is selected. The word translation instruction information for instructing that the original word corresponding to the translation word should be in word segmentation units and the translation word selection instruction information for instructing that the selected translation word should be used are created as user instruction information, and the translation is performed. A machine translation device, comprising: a retranslation instruction means for giving the processing means retranslation of the original sentence in the parallel translation information holding means.
えて、 前記表示装置に表示された訳文中の各訳語毎に、その訳
語に対応する原文の語切り単位の先頭文字から始まる、
考えられ得る全ての語切り単位について前記辞書を検索
してその訳語を前記表示装置に表示する別訳語辞書引き
手段を備えることを特徴とする請求項1記載の機械翻訳
装置。2. In place of the separate word dictionary lookup means according to claim 1, for each translated word in the translated text displayed on the display device, starting from the first character of the word segmentation unit of the original sentence corresponding to the translated word,
2. The machine translation device according to claim 1, further comprising: another translation word dictionary lookup means for searching the dictionary for all possible word segmentation units and displaying the translation word on the display device.
いて、 翻訳用の辞書と、 入力された原文を、前記辞書の内容および別途入力され
たユーザ指示情報がある場合はその指示情報も参照して
翻訳し、訳文と、その元となった原文と、翻訳処理の過
程で行った原文の語切り単位と該単位に対応する訳文中
の訳語との関係情報とを含む対訳情報を出力する翻訳処
理手段と、 該翻訳処理部から出力された対訳情報を保持する対訳情
報保持手段と、 該対訳情報保持手段に保持された対訳情報中の訳文およ
び原文を表示装置に表示する翻訳結果出力手段と、 該翻訳結果出力手段によって前記表示装置に表示された
原文中の原語を指定した辞書引き要求時、前記指定され
た原語を含む原文の語切り単位の先頭文字から始まる、
考えられ得る全ての語切り単位について前記辞書を検索
してその訳語を前記表示装置に表示する別訳語辞書引き
手段と、 該別訳語辞書引き手段によって前記表示装置に表示され
た訳語の1つが選択されたとき、該選択された訳語に対
応する原語を語切り単位にすべきことを指示する語切り
指示情報と、該選択された訳語を使用すべきことを指示
する訳語選択指示情報とをユーザ指示情報として作成し
て前記翻訳処理手段に与えて前記対訳情報保持手段中の
原文の再翻訳を行わせる再翻訳指示手段とを備えたこと
を特徴とする機械翻訳装置。3. In a machine translation device for translating between different languages, the dictionary for translation and the inputted original sentence are also referred to when the contents of the dictionary and user instruction information inputted separately are present. And outputs translation information including the translated text, the original text that is the source of the translated text, the word segmentation unit of the original text that was used in the translation process, and the relationship information between the translated word corresponding to the unit and the translated word in the translated text. Translation processing means, parallel translation information holding means for holding the parallel translation information output from the translation processing section, and translation result output means for displaying the translated text and original text in the parallel translation information held in the parallel translation information holding means on a display device. And when a dictionary lookup request is made by designating an original word in the original sentence displayed on the display device by the translation result output means, starting from the first character of a word cutting unit of the original sentence including the designated original word,
Another translation word dictionary pulling means for searching the dictionary for all possible word cutting units and displaying the translation word on the display device, and selecting one of the translation words displayed on the display device by the translation word dictionary pulling means Then, the user selects word cutting instruction information for instructing that the original word corresponding to the selected translation word should be used as a word cutting unit, and translation word selection instruction information for instructing that the selected translation word should be used. A machine translation apparatus, comprising: retranslation instruction means which is created as instruction information and is given to the translation processing means to retranslate the original text in the parallel translation information holding means.
えて、 前記表示装置に表示された原文中の各語切り単位毎に、
その語切り単位の先頭文字から始まる、考えられ得る全
ての語切り単位について前記辞書を検索してその訳語を
前記表示装置に表示する別訳語辞書引き手段を備えるこ
とを特徴とする請求項3記載の機械翻訳装置。4. The translation word dictionary lookup means according to claim 3, in place of each word segmentation unit in the original sentence displayed on the display device,
4. The translation word dictionary lookup means for searching the dictionary for all possible word segmentation units starting from the first character of the word segmentation unit and displaying the translated word on the display device. Machine translation device.
記対訳情報保持手段に1つの語切り単位として存在する
場合、前記再翻訳指示手段は語切り指示情報の作成を省
略することを特徴とする請求項1,2,3または4記載
の機械翻訳装置。5. When the original word corresponding to the selected translated word exists as one word cutting unit in the parallel translation information holding means, the retranslation instruction means omits creation of the word cutting instruction information. The machine translation device according to claim 1, 2, 3, or 4.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6230499A JPH0877172A (en) | 1994-08-31 | 1994-08-31 | Machine translating system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6230499A JPH0877172A (en) | 1994-08-31 | 1994-08-31 | Machine translating system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0877172A true JPH0877172A (en) | 1996-03-22 |
Family
ID=16908733
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP6230499A Pending JPH0877172A (en) | 1994-08-31 | 1994-08-31 | Machine translating system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0877172A (en) |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS60189565A (en) * | 1984-03-09 | 1985-09-27 | Hitachi Ltd | Kana-kanji conversion device |
| JPS6265162A (en) * | 1985-09-17 | 1987-03-24 | Hitachi Ltd | Kana-kanji conversion method and device |
| JPS63138464A (en) * | 1986-12-01 | 1988-06-10 | Sanyo Electric Co Ltd | Processing method for mechanical translation |
-
1994
- 1994-08-31 JP JP6230499A patent/JPH0877172A/en active Pending
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS60189565A (en) * | 1984-03-09 | 1985-09-27 | Hitachi Ltd | Kana-kanji conversion device |
| JPS6265162A (en) * | 1985-09-17 | 1987-03-24 | Hitachi Ltd | Kana-kanji conversion method and device |
| JPS63138464A (en) * | 1986-12-01 | 1988-06-10 | Sanyo Electric Co Ltd | Processing method for mechanical translation |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2654001B2 (en) | Machine translation method | |
| JPH0981566A (en) | Translation device and translation method | |
| JPH08161339A (en) | Character string conversion device | |
| JP2773652B2 (en) | Machine translation equipment | |
| JP2633824B2 (en) | Kana-Kanji conversion device | |
| JPS62163179A (en) | Mechanical translating device | |
| JP2626174B2 (en) | Translation support device | |
| JP2737160B2 (en) | Sentence processing equipment | |
| JPH087749B2 (en) | Machine translation device | |
| JP2893239B2 (en) | Translation support dictionary search and display system | |
| JP3219938B2 (en) | Word processor with Japanese-English conversion function | |
| JPS62203274A (en) | Mechanical translation system | |
| JPH01113871A (en) | Mechanical translating device | |
| JPH0773185A (en) | Machine translation device and method | |
| JPH03148764A (en) | Machine translation device | |
| JPH05113991A (en) | Translated word change menu preparing device for machine translation | |
| JPH04227570A (en) | Translation display device | |
| JPH06187370A (en) | Document read assisting device | |
| JPH08171568A (en) | Multiple language input method | |
| JPH0550778B2 (en) | ||
| JPH05225226A (en) | Machine translation system | |
| JPH027167A (en) | Mechanical translation device | |
| JPS62203271A (en) | Mechanical translation system | |
| JPH0589167A (en) | English-Japanese machine translation device | |
| JPH0822468A (en) | Machine translation device |