Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4869271B2 - Machine translation apparatus and machine translation program - Google Patents
[go: Go Back, main page]

JP4869271B2 - Machine translation apparatus and machine translation program - Google Patents

Machine translation apparatus and machine translation program Download PDF

Info

Publication number
JP4869271B2
JP4869271B2 JP2008063622A JP2008063622A JP4869271B2 JP 4869271 B2 JP4869271 B2 JP 4869271B2 JP 2008063622 A JP2008063622 A JP 2008063622A JP 2008063622 A JP2008063622 A JP 2008063622A JP 4869271 B2 JP4869271 B2 JP 4869271B2
Authority
JP
Japan
Prior art keywords
word
translation
translated
command
language
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.)
Expired - Fee Related
Application number
JP2008063622A
Other languages
Japanese (ja)
Other versions
JP2009217772A (en
Inventor
貴志 澁谷
正樹 新藤
遠航 蔡
裕美子 吉村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Toshiba Digital Solutions Corp
Original Assignee
Toshiba Corp
Toshiba Solutions Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Toshiba Corp, Toshiba Solutions Corp filed Critical Toshiba Corp
Priority to JP2008063622A priority Critical patent/JP4869271B2/en
Publication of JP2009217772A publication Critical patent/JP2009217772A/en
Application granted granted Critical
Publication of JP4869271B2 publication Critical patent/JP4869271B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Machine Translation (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Description

本発明は、自然言語による第一言語の文書を他の自然言語の第二言語の文書に変換する機械翻訳装置、機械翻訳方法及び機械翻訳プログラムに関する。 The present invention relates to a machine translation device , a machine translation method, and a machine translation program that convert a first language document in a natural language into a second language document in another natural language.

一般的に、外国語から日本語に変換する機械翻訳において、より分かりやすい訳文を作成するには、文章内に出現する調整の必要な単語列(以下、調整要単語という)を抽出し、網羅的なチェックをして調整を加えることが必要となる。調整要単語の代表的なものとしては専門用語が挙げられる。   In general, in order to create a translation that is easier to understand in machine translation from foreign language to Japanese, extract the word strings that need to be adjusted (hereinafter referred to as adjustment required words) that appear in the sentence and cover them. It is necessary to make an adjustment and make adjustments. Technical terms can be cited as typical examples of words requiring adjustment.

技術の進展とともに新製品や新技術を表す新しい語が日々造られていくとともに、インターネット環境の普及に伴い、それらの専門用語を含む文書を目にする機会も大幅に増えている。専門用語の特徴を考えると、既存の語を組合せる場合が多く、必然的に複合語が多くなる。例えば、複合語を翻訳する場合、複合語を構成する各単語が既存の語であれば辞書に存在するため、複合語であっても翻訳できる。   With the development of technology, new words representing new products and new technologies are being created every day, and with the spread of the Internet environment, opportunities to see documents containing these technical terms have increased significantly. Considering the characteristics of technical terms, existing words are often combined and inevitably compound words are increased. For example, when translating a compound word, if each word constituting the compound word is an existing word, it exists in the dictionary, so even a compound word can be translated.

ここで、調整要単語を抽出するものとしては、入力文書中から抽出した複合語に対して、その構成語の頻度と単語結合数とから専門用語のベースとなる単語を抽出することにより、その単語を含む複合語を専門用語として自動的に抽出するものがある(例えば、特許文献1参照)。   Here, the word to be adjusted is extracted by extracting the word that is the base of the technical term from the compound word extracted from the input document and the frequency of the constituent words and the number of word combinations. Some automatically extract a compound word including a word as a technical term (see, for example, Patent Document 1).

また、辞書に登録されていない単語又は複合語としての未知語が存在するときに、ユーザがその未知語について適切な訳語を効率的に知ることができるようにしたものがある(例えば、特許文献2参照)。
特開平3−116374号公報 特開2002−259375号公報
In addition, when there is an unknown word as a compound word or a word that is not registered in the dictionary, there is one that allows the user to efficiently know an appropriate translation for the unknown word (for example, Patent Literature) 2).
Japanese Patent Laid-Open No. 3-116374 JP 2002-259375 A

しかし、複合語の翻訳にあっては、複合語を構成する各単語に訳語が複数存在する場合があり、現在出力されている語とは異なる組合せの方が正しい訳語であることも考えられる。このような場合、ユーザはその訳語の確からしさを調べるために、インターネットで検索を行い、検索件数や文書内での使われ方を基に確からしさを判断したりしている。また、専門用語と思われる語は複合語だけではなく、見出し語と訳語が同じ未知語や略語、訳語がカタカナしかないような場合も考えられる。このような場合も見出し語および訳語からは本来意味するものを特定することが困難であり、ユーザは、その語が本来意味するものを調べるために、電子辞書ツールを使用したり、インターネットで検索を行って関連する記事を参照し、その語と共に使用される語の訳語の適切さを確認したりする。   However, in the translation of compound words, there may be a plurality of translated words for each word constituting the compound word, and it is possible that a combination different from the currently output word is the correct translated word. In such a case, the user performs a search on the Internet in order to check the certainty of the translated word, and determines the certainty based on the number of search cases and how it is used in the document. In addition, not only compound words but also words that are considered to be technical terms may be unknown words, abbreviations, and translated words that have only the same katakana. Even in such cases, it is difficult to identify the original meaning from the headword and the translation, and the user can use an electronic dictionary tool or search on the Internet to find out what the word originally means. To check the appropriateness of the translation of the word used with the word.

その際、所望の条件を満たす文字列をユーザ自身が特定し、その文字列をコピーしてブラウザを起動しインターネット検索を行うことになる。従って、画面の切り替えが頻発し操作が煩雑となる。また、これを漏れなく人手で行うことはユーザにとって多大な負担となる。   At this time, the user himself / herself specifies a character string that satisfies the desired condition, copies the character string, activates the browser, and performs an Internet search. Accordingly, screen switching frequently occurs and the operation becomes complicated. Moreover, it is a great burden on the user to perform this manually without omission.

本発明の目的は、機械翻訳による翻訳結果に基づいて、見出し語または訳語の特性に応じてユーザが所望する条件を満たした単語を抽出するとともに、その語を対象にユーザが設定したコマンドを実行できるようにした機械翻訳装置、機械翻訳方法及び機械翻訳プログラムを提供することである。 An object of the present invention is to extract a word satisfying a condition desired by a user according to a characteristic of a headword or a translation word based on a translation result by machine translation and execute a command set by the user for the word To provide a machine translation device , a machine translation method, and a machine translation program which can be performed.

本発明の機械翻訳装置は、機械翻訳プログラム及び翻訳辞書部を記憶した記憶装置と、翻訳対象の第一言語の原文を入力するとともに操作に必要な情報を入力する入力装置と、翻訳対象の第一言語の原文や翻訳後の第二言語の訳文を表示する表示装置と、前記機械翻訳プログラムを演算実行するマイクロプロセッサとを備えた機械翻訳装置において、翻訳対象の第一言語の原文に含まれる調整要単語の翻訳の確からしさを調べるために少なくとも前記調整要単語の単語条件及び前記調整要単語の検索先を特定するための検索コマンド名を検索コマンド内容として設定するコマンド設定部と、前記コマンド設定部で設定された検索コマンド内容を記憶するコマンド記憶部と、翻訳対象の第一言語の原文を翻訳辞書部を用いて第二言語に翻訳する翻訳部と、翻訳対象の第一言語の原文及び前記翻訳部で翻訳された訳文を前記翻訳辞書部に存在する見出し語毎に区切られた単語の文として記憶するとともに前記コマンド記憶部に記憶された検索コマンド内容の単語条件を満たす単語に対してはその単語条件関連付けて記憶する文書情報記憶部と、翻訳対象の第一言語の原文に含まれる調整要単語に対して前記文書情報記憶部に関連付けて記憶された単語条件に基づいて前記検索コマンド内容を検出して前記調整要単語の検索先を特定するための検索コマンド名を特定し検索コマンドを実行するコマンド実行部とを備え、前記調整要単語の単語条件が複合語であり、複合語を構成するいずれかの単語が前記翻訳辞書部に複数の訳語を保持する場合は、前記翻訳部は、訳語を入れ替えた複数の複合語の訳語を構成し直し、前記コマンド実行部は、構成し直した単語列を対象に前記検索コマンドを実行する。
The machine translation device of the present invention includes a storage device that stores a machine translation program and a translation dictionary unit, an input device that inputs an original sentence of a first language to be translated and information necessary for an operation, and a first translation target Included in the original text of the first language to be translated in a machine translation apparatus comprising a display device that displays an original text in one language and a translated text in a second language after translation, and a microprocessor that executes the machine translation program A command setting unit that sets at least a word condition of the adjustment required word and a search command name for specifying a search destination of the adjustment required word as search command contents in order to check the probability of translation of the adjustment required word, and the command A command storage unit that stores the search command content set in the setting unit, and a source language of the first language to be translated is translated into the second language using the translation dictionary unit The translation unit, the original text of the first language to be translated, and the translation translated by the translation unit are stored as a sentence of words delimited for each entry word existing in the translation dictionary unit and stored in the command storage unit A document information storage unit that stores the word condition in association with the word condition of the search command content , and the document information storage unit for the adjustment required word included in the original text of the first language to be translated A command execution unit that detects a search command content based on a word condition stored in association with the command and identifies a search command name for specifying a search destination of the word requiring adjustment, and executes a search command, When the word condition of the adjustment required word is a compound word, and any of the words constituting the compound word holds a plurality of translated words in the translation dictionary unit, the translation unit includes a plurality of translated words Reconfigures the translation of compound word, said command execution unit to run the search command to the target word string reconfigured.

本発明によれば、機械翻訳による翻訳結果に基づいて見出し語または訳語の特性に応じてユーザが所望する条件を満たした単語を抽出でき、その語を対象にユーザが設定したコマンドを実行できる。   According to the present invention, it is possible to extract a word that satisfies a condition desired by a user according to a characteristic of a headword or a translated word based on a translation result by machine translation, and to execute a command set by the user for the word.

図1は、本発明の実施の形態に係わる機械翻訳装置の構成図である。機械翻訳装置11は、第一言語を第二言語に翻訳して出力するものであり、例えば一般的なコンピュータに機械翻訳プログラムなどのソフトウェアプログラムがインストールされ、そのソフトウェアプログラムがマイクロプロセッサ12において実行されることにより実現される。機械翻訳装置11は、マイクロプロセッサ12、ROM(Read Only Memory)13及びRAM(Random Access Memory)14がバス15を介して接続されている。バス15には、入力装置16、表示装置17、ネットワークインターフェース18及び磁気ディスク装置19が接続されている。   FIG. 1 is a configuration diagram of a machine translation apparatus according to an embodiment of the present invention. The machine translation apparatus 11 translates and outputs a first language into a second language. For example, a software program such as a machine translation program is installed in a general computer, and the software program is executed by the microprocessor 12. It is realized by doing. In the machine translation apparatus 11, a microprocessor 12, a ROM (Read Only Memory) 13, and a RAM (Random Access Memory) 14 are connected via a bus 15. An input device 16, a display device 17, a network interface 18, and a magnetic disk device 19 are connected to the bus 15.

磁気ディスク装置19には、機械翻訳プログラム20が記憶されるとともに、翻訳辞書部21、コマンド記憶部22、文情報記憶部23が記憶される。機械翻訳プログラム20は、システム制御部24、翻訳部25、コマンド設定部26、コマンド実行部27を有し、翻訳辞書部21には、図示は省略しているが、基本用語辞書、専門用語辞書、ユーザ辞書などが格納されている。   The magnetic disk device 19 stores a machine translation program 20 and also stores a translation dictionary unit 21, a command storage unit 22, and a sentence information storage unit 23. The machine translation program 20 includes a system control unit 24, a translation unit 25, a command setting unit 26, and a command execution unit 27. Although not shown in the translation dictionary unit 21, a basic term dictionary and a technical term dictionary are included. Stores user dictionaries and the like.

マイクロプロセッサ12は、磁気ディスク装置19に記憶された機械翻訳プログラム20を実行することにより、機械翻訳装置11の機能を実現する。   The microprocessor 12 implements the function of the machine translation device 11 by executing the machine translation program 20 stored in the magnetic disk device 19.

入力装置16は、第一言語の原文の文字データやファイルデータ等のデータやコマンドを入力する入力手段であり、通常、キーボードやマウス・タッチパネルなどのポインティングデバイス、音声認識装置や文字認識装置、あるいは、CDドライブなどの外部記憶媒体読取装置などによって実現される。   The input device 16 is input means for inputting data and commands such as original text data and file data in the first language, and is usually a pointing device such as a keyboard, a mouse / touch panel, a voice recognition device, a character recognition device, or And an external storage medium reader such as a CD drive.

表示装置17は、入力装置16から入力された翻訳対象とする第一言語の文章(原文)や、翻訳部25により訳出された第二言語の文章(訳文)等、文情報記憶部23に格納されている情報を表示するものである。   The display device 17 stores, in the sentence information storage unit 23, a first language sentence (original sentence) input from the input device 16 and a second language sentence (translation) translated by the translation unit 25. The displayed information is displayed.

翻訳プログラム20のシステム制御部24は、機械翻訳装置11の全体の制御を司るものであり、機械翻訳プログラム20全体の制御や入力装置16及び表示装置17とのデータの転送を行うものである。すなわち、システム制御部24は、入力装置16からの文章データや入力装置16から入力されたコマンドの指示に基づいて翻訳すべき文書を翻訳部25に送ったり、表示装置17を呼び出して画面の更新などを行う。   The system control unit 24 of the translation program 20 controls the entire machine translation apparatus 11 and controls the entire machine translation program 20 and transfers data to and from the input device 16 and the display device 17. That is, the system control unit 24 sends the document to be translated to the translation unit 25 based on the text data from the input device 16 or the command instruction input from the input device 16, or calls the display device 17 to update the screen. And so on.

翻訳部25は、システム制御部24から送られてきた第一言語による文章データに対して、システム制御部24で選択された翻訳辞書部21の辞書を参照しながら翻訳処理を行う。翻訳辞書部21は、翻訳部25が翻訳処理を行う際に使用する各種辞書データを格納している。   The translation unit 25 performs translation processing on the text data in the first language sent from the system control unit 24 while referring to the dictionary of the translation dictionary unit 21 selected by the system control unit 24. The translation dictionary unit 21 stores various dictionary data used when the translation unit 25 performs translation processing.

コマンド設定部26は、翻訳対象の第一言語の原文に含まれる調整要単語の翻訳の確からしさを調べるために、少なくとも調整要単語の単語条件及び調整要単語の検索先を特定するための検索コマンド名を検索コマンド内容として設定し、コマンド記憶部22に格納する。検索コマンド内容については後述する。 The command setting unit 26 searches at least the word condition of the adjustment required word and the search destination of the adjustment required word in order to check the certainty of the adjustment required word included in the original text of the first language to be translated. The command name is set as the search command content and stored in the command storage unit 22. The contents of the search command will be described later.

文情報記憶部23は、第一言語の原文とその翻訳結果としての第二言語のデータとを対応付けて記憶するとともに、第一言語および第二言語を構成する各単語の属性を格納している。ここでいう属性とは、第一言語の場合は少なくとも、見出し語、品詞、対応する訳語の番号、条件番号であり、第二言語の場合は少なくとも、訳語、品詞、対応する見出し語の番号、条件番号である。   The sentence information storage unit 23 stores the original text of the first language and the data of the second language as the translation result in association with each other, and stores the attributes of the words constituting the first language and the second language. Yes. The attributes here are at least a headword, a part of speech, a corresponding translation number, and a condition number in the case of the first language, and at least a translation, a part of speech, a corresponding headword number in the case of the second language, Condition number.

コマンド実行部27は、入力装置16から入力されたコマンドがユーザが設定したコマンドの場合は、コマンド記憶部22から設定内容を読み込み、条件番号に一致するコマンドを実行する。またシステム制御部24から翻訳処理後の結果に対してコマンド記憶部22に設定されている条件番号を満たす単語に対してコマンド番号を付与する。条件番号やコマンド番号については後述する。   When the command input from the input device 16 is a command set by the user, the command execution unit 27 reads the setting content from the command storage unit 22 and executes the command that matches the condition number. Further, the system control unit 24 assigns a command number to a word satisfying the condition number set in the command storage unit 22 for the result after translation processing. The condition number and command number will be described later.

次に、本発明の実施の形態に係わる機械翻訳装置の動作について説明する。図2はコマンド設定部26により調整要単語の検索コマンド内容を設定する手順のフローチャートである。   Next, the operation of the machine translation apparatus according to the embodiment of the present invention will be described. FIG. 2 is a flowchart of a procedure for setting the search command contents for the word requiring adjustment by the command setting unit 26.

入力装置16からユーザのコマンド設定要求を受けると(S1)、調整要単語の検索コマンド内容を設定するためのコマンド設定画面を表示する(S2)。ユーザはコマンド設定画面に従って検索コマンド内容の各項目を設定し(S3)、その設定した検索コマンド内容をコマンド記憶部22に保存する。   When a user command setting request is received from the input device 16 (S1), a command setting screen for setting the contents of the search command for the word requiring adjustment is displayed (S2). The user sets each item of the search command content according to the command setting screen (S3), and stores the set search command content in the command storage unit 22.

図3は、ステップS1で表示されるコマンド設定画面28の説明図である。コマンド設定画面28は、調整要単語の検索メニュー等を表示する検索コマンド名欄29、実行するコマンドのタイプを選択する検索コマンドタイプ欄30、コマンドの対象となる単語の条件を設定する単語条件欄31、検索コマンドタイプ欄30が「プログラム実行」の場合に、実行するプログラムを指定するコマンド文字列欄32から構成される。   FIG. 3 is an explanatory diagram of the command setting screen 28 displayed in step S1. The command setting screen 28 includes a search command name field 29 for displaying a search menu for a word requiring adjustment, a search command type field 30 for selecting a type of command to be executed, and a word condition field for setting a condition of a word to be commanded. 31. When the search command type column 30 is “program execution”, it is composed of a command character string column 32 for designating a program to be executed.

次に、ステップS2でユーザはコマンド設定画面28の各項目を設定することになる。例えば、検索コマンドを選択するにあたっては、選択肢が用意されている検索コマンドタイプ欄30や単語条件欄31を入力装置16であるマウスのボタンでクリックして選択する。   Next, in step S2, the user sets each item on the command setting screen 28. For example, when selecting a search command, the search command type column 30 and the word condition column 31 for which options are prepared are selected by clicking with a mouse button as the input device 16.

図4は検索コマンドタイプ欄30の選択肢の説明図である。図4に示すように、検索コマンドタイプ欄30には、各コマンド33の各選択肢ごとにコマンド番号34が割り付けられており、ユーザが選択したコマンド33に対応するコマンド番号34が選択される。   FIG. 4 is an explanatory diagram of options in the search command type column 30. As shown in FIG. 4, in the search command type column 30, a command number 34 is assigned for each option of each command 33, and the command number 34 corresponding to the command 33 selected by the user is selected.

図5は単語条件欄31の選択肢の説明図である。図5に示すように、単語条件欄31も検索コマンドタイプ欄30と同様に単語条件欄31には各条件35の各選択肢ごとに条件番号36が割り付けられており、マウスのボタンでクリックすると選択肢が表示される。ユーザが選択した条件35に対応する条件番号36が選択される。 FIG. 5 is an explanatory diagram of options in the word condition column 31 . As shown in FIG. 5, the word condition column 31 is also assigned a condition number 36 for each option of each condition 35 in the word condition column 31 like the search command type column 30 and can be selected by clicking with the mouse button. Is displayed. A condition number 36 corresponding to the condition 35 selected by the user is selected.

次に、図3のコマンド文字列欄32は、検索コマンドタイプ欄30が「プログラム実行」の場合に入力可能となり、例えば外部プログラムを起動する場合の実行ファイル名へのパスやそのプログラムに渡す各パラメータなどを記述する。このパラメータ内に、条件に一致した文字列を含める場合は、%ARG%のような特殊な文字列を記述することにより、その部分を条件に一致した文字列に置き換えてプログラムを起動する。   Next, the command character string column 32 of FIG. 3 can be input when the search command type column 30 is “execute program”. For example, the path to the executable file name when starting an external program and each program passed to the program are displayed. Describe parameters. If a character string that matches the condition is included in this parameter, a special character string such as% ARG% is described to replace that part with the character string that matches the condition, and the program is started.

OKボタン37はコマンド設定画面28で設定した内容をコマンド記憶部22に書き込むことを許可するためのボタンであり、キャンセルボタン38はコマンド設定画面28で設定した内容をコマンド記憶部22に書き込むことをキャンセルするためのボタンである。OKボタン37をクリックするとコマンド記憶部22にコマンド設定画面28で設定した内容が書き込まれる。   The OK button 37 is a button for permitting the contents set on the command setting screen 28 to be written to the command storage unit 22, and the cancel button 38 is used to write the contents set on the command setting screen 28 to the command storage unit 22. It is a button for canceling. When the OK button 37 is clicked, the contents set on the command setting screen 28 are written in the command storage unit 22.

コマンド記憶部22に書き込まれる内容の一例を下記に示す。検索コマンド名、コマンド番号、条件番号、コマンド文字列の各項目をカンマやタブなどの区切り文字で区切った形で格納される。   An example of the contents written in the command storage unit 22 is shown below. The search command name, command number, condition number, and command character string items are stored in a form separated by a delimiter such as a comma or tab.

(1)Yahoo検索,1,2, browser.exe http://search.yahoo.co.jp/search?p=%ARG%&fr=top_v2&tid
(2)電子辞書検索,1,3, dic.exe /k%ARG%
(3)Google検索,1,4, browser.exe http://www.google.com/search?sourceid=navclient&hl=ja&ie=UTF-8&rls=
(4)用例検索,2,5,
次に、翻訳対象の第一言語の原文に含まれる調整要単語の翻訳の確からしさを調べる処理について説明する。いま、第一言語は英語の原文であるとし、第二言語は日本語である訳文であるとし、まず、入力装置16から第一言語の英語による下記に示す原文(文書データ)が読み込まれたとする。
(1) Yahoo search, 1,2, browser.exe http://search.yahoo.co.jp/search?p=%ARG%&fr=top_v2&tid
(2) Electronic dictionary search, 1,3, dic.exe / k% ARG%
(3) Google search, 1,4, browser.exe http://www.google.com/search?sourceid=navclient&hl=en&ie=UTF-8&rls=
(4) Example search, 2, 5,
Next, a process for checking the probability of translation of the words requiring adjustment included in the original text of the first language to be translated will be described. Assume that the first language is an English original, the second language is a Japanese translation, and the following original (document data) in the first language English is read from the input device 16 first. To do.

TV makes the transition to high definition digital broadcasts.
図6は、システム制御部24による翻訳対象の第一言語の原文の表示処理内容を示すフローチャートである。システム制御部24は、入力装置16から第一言語の英語による原文の読み込み要求があると(S11)、入力された第一言語の原文の文章データに対して文切り処理を行い、1文毎に区切った形で文情報記憶部23に記憶させる(S12)。一文毎に区切る処理は、”.”や”?”,”!”などの文末記号などにより区切る。なお、”Mr.”などのように単語中に”.”が含まれるような場合もあるため、文末記号を含んだ形で翻訳辞書部21に存在する場合は区切りの対象としない。
TV makes the transition to high definition digital broadcasts.
FIG. 6 is a flowchart showing the contents of display processing of the original text of the first language to be translated by the system control unit 24. When there is a request for reading the original text in English of the first language from the input device 16 (S11), the system control unit 24 performs sentence cut processing on the input text data of the original text of the first language, for each sentence. The sentence information is stored in the sentence information storage unit 23 (S12). The process of separating each sentence is separated by a sentence ending symbol such as “.”, “?”, “!”. Note that there are cases where “.” Is included in a word such as “Mr.”. Therefore, if the word is included in the translation dictionary unit 21 in a form including a sentence ending symbol, it is not a subject of separation.

続いてシステム制御部24は、文情報記憶部23に記憶された文章データを基に、図7に示すように、表示装置17によって表示画面に原文を表示させ、入力装置16からのイベントの入力待ち状態となる(S13)。なお、図7では入力された原文は一文であるので、一文だけしか表示されていないが、複数文である場合には複数文が一文ごとに区切られて表示される。   Subsequently, the system control unit 24 causes the display device 17 to display the original text on the display screen based on the text data stored in the text information storage unit 23 and input an event from the input device 16 as shown in FIG. A waiting state is entered (S13). In FIG. 7, since the input original sentence is one sentence, only one sentence is displayed, but when there are a plurality of sentences, the plurality of sentences are displayed by being divided into sentences.

図8はシステム制御部24による翻訳対象の第一言語の原文及び第二言語の訳文の表示処理内容を示すフローチャートである。システム制御部24は、入力装置16から受け付けた要求が翻訳要求か否かを判定する(S21)。受け付けた要求が翻訳要求以外であれば処理を終了し他の要求か否かを判定する。   FIG. 8 is a flowchart showing the display processing contents of the original text of the first language to be translated and the translated text of the second language by the system control unit 24. The system control unit 24 determines whether the request received from the input device 16 is a translation request (S21). If the received request is other than a translation request, the process ends and it is determined whether the request is another request.

入力装置16から翻訳が指示された場合、システム制御部24は翻訳部25に対して、文情報記憶部23から取得した第一言語の原文を第二言語の訳文に翻訳する翻訳処理を実行させる(S22)。   When translation is instructed from the input device 16, the system control unit 24 causes the translation unit 25 to execute a translation process for translating the original text in the first language acquired from the text information storage unit 23 into the translated text in the second language. (S22).

ここで、本発明の実施の形態では、翻訳処理後の結果を文情報記憶部23に記憶させるようにしている。図9は本発明の実施の形態における文情報記憶部23に記憶させる文情報の説明図であり、図9(a)は翻訳対象の第一言語の原文情報、図9(b)は翻訳後の第二言語の訳文情報である。   Here, in the embodiment of the present invention, the result after translation processing is stored in the sentence information storage unit 23. FIG. 9 is an explanatory diagram of sentence information stored in the sentence information storage unit 23 according to the embodiment of the present invention. FIG. 9A is the original text information of the first language to be translated, and FIG. Translation information of the second language.

図9(a)に示すように、翻訳対象の第一言語の原文情報は、翻訳処理において辞書に存在する見出し語毎に区切られた単語の文の先頭からの位置を示す単語番号39、見出し語文字列40、品詞41、文番号が同じである第二言語の各訳語との対応関係を表した対応番号42、単語がコマンド記憶部22に記憶されている条件を満たした場合に付与される条件番号43を文毎に持つ。   As shown in FIG. 9A, the original text information of the first language to be translated includes the word number 39 indicating the position from the head of the sentence of the word divided for each headword existing in the dictionary in the translation process, the headline Word character string 40, part-of-speech 41, correspondence number 42 representing the correspondence with each translated word of the second language having the same sentence number, given when the word satisfies the condition stored in command storage unit 22 Condition number 43 for each sentence.

また、翻訳後の第二言語の訳文情報に関しても、単語の文の先頭からの位置を示す単語番号39’、訳語文字列40’、品詞41’、文番号が同じである第一言語の各見出し語との対応関係を表した対応番号42’、単語がコマンド記憶部22に記憶されている条件を満たした場合に付与される条件番号43’を文毎に持つ。文情報記憶部23に格納されている各文に対して翻訳処理を行うと、第一言語は図9(a)、第二言語は図9(b)に示す結果が得られる。   Also, with regard to translated sentence information in the second language after translation, each of the first language having the same word number 39 ′, translated character string 40 ′, part of speech 41 ′, and sentence number indicating the position of the word from the beginning. Each sentence has a correspondence number 42 ′ representing a correspondence relationship with the headword and a condition number 43 ′ given when the word satisfies the condition stored in the command storage unit 22. When translation processing is performed on each sentence stored in the sentence information storage unit 23, the results shown in FIG. 9A for the first language and FIG. 9B for the second language are obtained.

続いて、コマンド記憶部22の記憶内容との照合を行う(S23)。システム制御部24は、コマンド実行部27に対して処理を要求する。コマンド実行部27は、まずコマンド記憶部22から設定内容を読み込む。いま、コマンド記憶部22に、コマンド番号が1(プログラム実行)、条件番号が2(複合語(名詞連続))が設定されているとする。   Subsequently, the contents stored in the command storage unit 22 are collated (S23). The system control unit 24 requests the command execution unit 27 for processing. The command execution unit 27 first reads the setting contents from the command storage unit 22. Assume that a command number 1 (program execution) and a condition number 2 (compound word (noun continuation)) are set in the command storage unit 22.

この実施の形態では、複合語は名詞が連続する場合、または形容詞に続き名詞が連続する場合に複合語として扱う。すなわち、特許文献1では、入力文書中から抽出した複合語に対して、その構成語の頻度と単語結合数とから専門用語のベースとなる単語を抽出することにより、複合語のうち専門用語のベースとなる単語が含まれるものを専門用語として抽出するようになっているが、本発明の実施の形態では、確認対象の漏れを防ぐため、より広範囲を抽出対象とする。   In this embodiment, a compound word is treated as a compound word when nouns continue or when a noun continues after an adjective. That is, in Patent Document 1, a compound word extracted from an input document is extracted from the compound word by extracting a word as a base of the technical term from the frequency of the constituent words and the number of word combinations. Although a word including a base word is extracted as a technical term, in the embodiment of the present invention, a wider range is selected as an extraction target in order to prevent leakage of a confirmation target.

続いて、文情報記憶部23から文番号1の翻訳処理結果(図9(a)、図9(b))の内容を取得し、コマンド実行部27ではコマンド記憶部22に設定されている条件番号が2((複合語(名詞連続)))である単語が存在するか判定を行う。図9(a)、図9(b)に対して、単語番号39、39’が「1」のデータから順に取得し、現在の品詞が名詞かつ、前の単語番号または次の単語番号が名詞である単語を検出すると現在の単語番号に対して条件番号2を設定する。   Subsequently, the content of the translation processing result (FIG. 9A, FIG. 9B) of sentence number 1 is acquired from the sentence information storage unit 23, and the conditions set in the command storage unit 22 in the command execution unit 27 It is determined whether or not there is a word whose number is 2 ((compound word (noun continuous))). 9A and 9B, the word numbers 39 and 39 ′ are obtained in order from the data “1”, the current part of speech is a noun, and the previous word number or the next word number is a noun. If a word is detected, condition number 2 is set for the current word number.

図9(a)、図9(b)の一例では、単語番号4の”high definition”が名詞、単語番号5の”digital”が名詞、単語番号6の”broadcasts”が名詞であるため、コマンド記憶部22に設定されている単語の条件を満たすことになり、図10(a)、図10(b)に示すように文情報の条件番号欄に「2」が設定される。   In the example of FIGS. 9A and 9B, the word number 4 “high definition” is a noun, the word number 5 “digital” is a noun, and the word number 6 “broadcasts” is a noun. The condition of the word set in the storage unit 22 is satisfied, and “2” is set in the condition number column of the sentence information as shown in FIGS. 10 (a) and 10 (b).

条件番号が1(複合語(形容詞+名詞連続))が設定されている場合は、現在の単語番号39、39’の品詞欄が形容詞の場合は、次またはその次の単語番号39、39’の品詞欄が名詞の場合は、条件番号43、43’に「1」が設定される。現在の単語番号39、39’の品詞欄が名詞の場合は、前の単語番号39、39’の品詞が形容詞かつ、次の単語番号39、39’の品詞欄が名詞、または前の単語番号39、39’の品詞が名詞の場合に、現在の単語番号39、39’に対して条件番号「1」を設定する。   When the condition number is 1 (compound word (adjective + noun continuation)), if the part of speech column of the current word number 39, 39 'is an adjective, the next or next word number 39, 39' When the part-of-speech column is a noun, “1” is set in the condition numbers 43 and 43 ′. If the part of speech column of the current word number 39, 39 'is a noun, the part of speech of the previous word number 39, 39' is an adjective and the part of speech of the next word number 39, 39 'is a noun, or the previous word number When the part of speech of 39, 39 ′ is a noun, the condition number “1” is set for the current word number 39, 39 ′.

ステップS22、ステップS23の処理が終了すると、システム制御部24は文情報記憶部23に記憶されている情報を表示装置17に表示する(S24)。表示装置17は、図11に示すように、文情報記憶部23に記憶されている図10(a)を原文表示領域、図10(b)を訳文表示領域に表示する。このとき条件番号欄に「0」以外の値が設定されている単語に対しては、図11の1文目に示すように下線を付加して表示するなど、他の単語と区別した形で表示する。   When the processes of step S22 and step S23 are completed, the system control unit 24 displays the information stored in the sentence information storage unit 23 on the display device 17 (S24). As shown in FIG. 11, the display device 17 displays FIG. 10 (a) stored in the sentence information storage unit 23 in the original sentence display area and FIG. 10 (b) in the translated sentence display area. At this time, the word for which a value other than “0” is set in the condition number field is displayed in a form distinguished from other words, for example, by adding an underline as shown in the first sentence of FIG. indicate.

次に、図11の1文目の調整要単語である「高精細度デジタル放送」の部分に対して、ユーザ設定コマンドを実行する場合について説明する。図12はユーザ設定コマンドの処理手順のフローチャートである。ユーザ設定コマンドは、ユーザがコマンド設定画面38を用いて設定した条件を満たした単語部分に対して実行される。例えば、「Ctrl」キー+マウスのクリックなどの組み合わせで実行開始される。いま、ユーザ設定コマンドは、ユーザが設定した条件を満たした単語部分に対して、「Ctrl」キー+マウスのクリックなどの組み合わせで実行されるものとする。図11の1文目の「高精細度デジタル放送」の部分に対して、「Ctrl」キー+マウスのクリックが行われたとすると、ユーザ設定コマンドのイベントが発行される。このイベントはシステム制御部24に送られる。
Next, a case where a user setting command is executed for the “high definition digital broadcast” portion, which is the word requiring adjustment in the first sentence in FIG. 11, will be described. FIG. 12 is a flowchart of the processing procedure of the user setting command. The user setting command is executed for a word portion that satisfies a condition set by the user using the command setting screen 38. For example, the execution is started by a combination of “Ctrl” key + mouse click. Now, it is assumed that the user setting command is executed by a combination of “Ctrl” key + mouse click or the like on a word portion that satisfies a condition set by the user. If the “Ctrl” key + mouse click is performed on the “high-definition digital broadcast” portion of the first sentence in FIG. 11, an event of a user setting command is issued. This event is sent to the system control unit 24.

システム制御部24は、ユーザ設定コマンドが実行されたか否かを判定し(S31)、ユーザ設定コマンドが実行されたと判断したときは、コマンド実行部27を呼び出しコマンドを実行する(S32)。   The system control unit 24 determines whether or not the user setting command has been executed (S31), and when determining that the user setting command has been executed, the system control unit 24 calls the command execution unit 27 to execute the command (S32).

すなわち、コマンド実行部27は、マウスの位置情報を基に文情報記憶部23から対象の文および単語番号39’を特定し、単語番号39’に関連付けられている条件番号43’を取得して、条件番号「2」が設定されていることを識別する。条件番号「2」が設定されている連続する部分を抽出し、「高精細度デジタル放送」を対象文字列とする。続いて、コマンド記憶部22から条件番号「2」が設定されているデータを検出しコマンド番号を取得する。条件番号「2」が設定されているコマンド番号は「1」であるため、プログラム実行と判定し、コマンド文字列を取得する。コマンド文字列中に%ARG%部分を“高精細度デジタル放送”に置き換えてコマンド文字列を実行する。   That is, the command execution unit 27 specifies the target sentence and the word number 39 ′ from the sentence information storage unit 23 based on the mouse position information, and acquires the condition number 43 ′ associated with the word number 39 ′. , It is identified that the condition number “2” is set. A continuous portion in which the condition number “2” is set is extracted, and “high-definition digital broadcasting” is set as a target character string. Subsequently, the command number is acquired by detecting data in which the condition number “2” is set from the command storage unit 22. Since the command number for which the condition number “2” is set is “1”, it is determined that the program is executed, and a command character string is acquired. The command character string is executed by replacing the% ARG% portion in the command character string with “high definition digital broadcasting”.

これにより、YYY検索のプログラムが実行され、インターネットを介して「高精細度デジタル放送」の検索が行われ、その検索結果が得られる。従って、訳語が正しいかどうかの判断を適切に行うことができる。   As a result, the YYY search program is executed, a search for “high-definition digital broadcasting” is performed via the Internet, and the search result is obtained. Therefore, it is possible to appropriately determine whether the translated word is correct.

以上の説明では、調整要単語として名詞連続の複合語あるいは形容詞と名詞連続の複合語の場合について説明したが、調整要単語が略語である場合にも同様に適用できる。   In the above description, the case where the noun continuous compound word or the adjective and the noun continuous compound word is described as the adjustment required word has been described, but the present invention can be similarly applied to the case where the adjustment required word is an abbreviation.

いま、図13に示すように、略語であるHDTVを含む第一言語の原文が1文毎に区切った形で文情報記憶部23に記憶されたとする。図13に示す略語であるHDTVを含む第一言語の原文に対し、図8に示したと同様の処理が行われ、文情報記憶部23には、図14(a)に示すような翻訳対象の第一言語の原文情報、及び図14(b)に示すような翻訳後の第二言語の訳文情報が記憶される。   Now, as shown in FIG. 13, it is assumed that the original text in the first language including the abbreviation HDTV is stored in the sentence information storage unit 23 in a form divided into sentences. The original processing in the first language including HDTV, which is the abbreviation shown in FIG. 13, is processed in the same way as shown in FIG. 8, and the sentence information storage unit 23 stores the translation target as shown in FIG. The original text information of the first language and the translated text information of the second language after translation as shown in FIG. 14B are stored.

また、コマンド実行部27ではコマンド記憶部22に設定されている条件番号が3(略語)である単語が存在するか否かの判定が行われ、文字列が一致した場合は略語と判定され、条件番号に「3」が設定される。この一例では、図15(a)、図15(b)に示すように、”HDTV”が略語として判定され、条件番号3が設定される。そして、システム制御部24は文情報記憶部23に記憶されている情報を、図16に示すように表示装置17に表示し、略語の「HDTV」部分に対して、ユーザ設定コマンドを実行する。これにより、電子辞書検索のプログラムが実行され、電子辞書への検索が行われ、その検索結果が得られる。従って、訳語が正しいかどうかの判断を適切に行うことができる。   Further, the command execution unit 27 determines whether or not there is a word having a condition number 3 (abbreviation) set in the command storage unit 22, and if the character strings match, it is determined as an abbreviation. “3” is set as the condition number. In this example, as shown in FIGS. 15A and 15B, “HDTV” is determined as an abbreviation, and condition number 3 is set. Then, the system control unit 24 displays the information stored in the sentence information storage unit 23 on the display device 17 as shown in FIG. 16, and executes a user setting command for the “HDTV” portion of the abbreviation. As a result, the electronic dictionary search program is executed, the electronic dictionary is searched, and the search result is obtained. Therefore, it is possible to appropriately determine whether the translated word is correct.

また、略語だけでなくカタカナの場合にも同様に、翻訳終了後に単語番号1から順に訳語欄から文字列を取得し、取得した文字列がカタカナ及び長音から構成されているか否かを判定し、条件を満たした場合は、条件番号欄にカタカナを示す条件番号を設定する。そして、カタカナ部分に対して、ユーザ設定コマンドを実行する。これにより、GGG検索のプログラムが実行され、インターネットを介してカタカナ部分の検索が行われ、その検索結果が得られる。従って、訳語が正しいかどうかの判断を適切に行うことができる。   Similarly, in the case of katakana as well as abbreviations, after completion of translation, a character string is acquired from the translated word column in order from word number 1, and it is determined whether or not the acquired character string is composed of katakana and long sound, If the condition is satisfied, a condition number indicating katakana is set in the condition number field. Then, the user setting command is executed for the katakana portion. As a result, the GGG search program is executed, the katakana portion is searched via the Internet, and the search result is obtained. Therefore, it is possible to appropriately determine whether the translated word is correct.

また、以上の説明では、調整要単語の単語条件が複合語である場合に、単語の訳語が一つである場合について説明したが、単語が翻訳辞書部に複数の訳語を保持する場合については、複合語を構成するいずれかの単語が指定されたとき、翻訳部25により訳語を入れ替えた複数の複合語の訳語を構成し直し、コマンド実行部27により、構成し直した単語列を対象にユーザが設定したコマンドを実行するようにしてもよい。これにより、複数の訳語を有する複合語に対してより適切な訳語を得ることができる。   Further, in the above description, the case where the word condition of the word requiring adjustment is a compound word and the case where there is one translation of the word has been described, but the case where the word holds a plurality of translations in the translation dictionary unit When any word constituting the compound word is designated, the translation unit 25 reconstructs the translated words of the plurality of compound words, and the command execution unit 27 targets the reconstructed word string. A command set by the user may be executed. Thereby, a more appropriate translation can be obtained for a compound word having a plurality of translations.

図17は、その場合の文情報記憶部23に記憶させる文情報の一例の説明図である。図17は、図10に示した文情報に対し、文字選択44、44’が追加されている。すなわち、翻訳処理までは前述の場合と同様の処理を行い、図17に示すように、文字選択44が追加された文情報を文情報記憶部23に記憶する。   FIG. 17 is an explanatory diagram of an example of sentence information stored in the sentence information storage unit 23 in that case. In FIG. 17, character selections 44 and 44 'are added to the sentence information shown in FIG. That is, the same processing as described above is performed until the translation processing, and the sentence information to which the character selection 44 is added is stored in the sentence information storage unit 23 as shown in FIG.

図18は文情報記憶部23に記憶されている図17に示す文情報の表示の一例の説明図である。そして、「高精細度デジタル放送」という複合語のうちのいずれかの単語を指定して複合語の訳語を構成し直す。図18では、「高精細度デジタル放送」のうちの「高精細度」という単語が指定された場合を示している。単語を指定する手段としては、図18に示すように、該当する単語をあらかじめマウスにより反転表示する等の方法で指定する。マウスの左ボタンがクリックされた位置を反転文字列の開始位置として記憶し、左ボタンがクリックされた状態のままマウスを移動させ、左ボタンのクリックが解除された位置を反転文字列の終了位置として記憶する。   FIG. 18 is an explanatory diagram showing an example of the display of the sentence information shown in FIG. 17 stored in the sentence information storage unit 23. Then, one of the compound words “high-definition digital broadcasting” is designated to reconstruct the compound word translation. FIG. 18 shows a case where the word “high definition” in “high definition digital broadcasting” is designated. As a means for designating a word, as shown in FIG. 18, the corresponding word is designated by a method such as highlighting with a mouse in advance. The position where the left button of the mouse was clicked is stored as the start position of the reverse character string, the mouse is moved while the left button is clicked, and the position where the left button is released is the end position of the reverse character string. Remember as.

この間、入力装置16から送られたマウスのイベントがシステム制御部24よりコマンド実行部27に送られる。コマンド実行部27は、文情報記憶部23より文情報を読み出し、マウスの位置情報およびマウスの左ボタンが押されたままであることを識別し、該当する文字列を反転表示させ、表示装置17に表示するとともに、マウス位置に該当する単語番号の文字選択44のフィールドに対して文字選択情報を付与する。   During this time, the mouse event sent from the input device 16 is sent from the system control unit 24 to the command execution unit 27. The command execution unit 27 reads the sentence information from the sentence information storage unit 23, identifies that the mouse position information and the left button of the mouse are kept pressed, reversely displays the corresponding character string, and causes the display device 17 to In addition to the display, character selection information is assigned to the character selection 44 field of the word number corresponding to the mouse position.

次に、ユーザが反転文字列部分に対して「Ctrl」キー+マウスの左ボタンをクリックすることで発行されるユーザ設定コマンドの処理手順を説明する。図19はユーザ設定コマンドの処理手順の説明図である。いま、図18の1文目の「高精細度」の部分が反転表示されている状態で、「高精細度」の部分に対してユーザ設定コマンドを実行する例を説明する。   Next, the processing procedure of the user setting command issued when the user clicks the “Ctrl” key + the left mouse button on the reversed character string portion will be described. FIG. 19 is an explanatory diagram of the processing procedure of the user setting command. Now, an example will be described in which the user setting command is executed for the “high definition” portion while the “high definition” portion of the first sentence in FIG. 18 is highlighted.

システム制御部24はユーザ設定コマンドが実行された否かを監視しており(S41)、図18の1文目の「高精細度」の部分に対して、「Ctrl」キー+マウスのクリックのイベントが発行されると、システム制御部24はユーザ設定コマンドが実行されたと判断し、コマンド実行部27を呼び出す。コマンド実行部27は、マウスの位置情報を基に、文情報記憶部23に記憶されている情報から対象の文および単語番号39’を特定する。単語番号39’に関連付けられている条件番号43’を取得し、条件番号「2」が設定されていることを識別し、ユーザ設定コマンドと判定する。続いて特定した単語番号39’の文字選択44’のフィールドを参照し、マウスの下の単語は反転されているか否かを判定する(S42)。   The system control unit 24 monitors whether or not the user setting command has been executed (S41), and the “Ctrl” key + mouse click is performed on the “high definition” portion of the first sentence in FIG. When the event is issued, the system control unit 24 determines that the user setting command has been executed, and calls the command execution unit 27. The command execution unit 27 specifies the target sentence and the word number 39 ′ from the information stored in the sentence information storage unit 23 based on the mouse position information. The condition number 43 ′ associated with the word number 39 ′ is acquired, the condition number “2” is identified, and the user setting command is determined. Subsequently, it is determined whether or not the word under the mouse is inverted by referring to the field of the character selection 44 'of the specified word number 39' (S42).

文字選択状態にない場合はコマンドを実行する(S43)。すなわち、条件番号「2」が設定されている連続する部分を抽出し、「高精細度デジタル放送」を対象文字列とする。そして、コマンド記憶部23から条件番号「2」が設定されているデータを検出し、コマンド番号を取得する。この場合、コマンド番号が「1」であることからプログラム実行と判定しコマンド文字列を取得し、そのコマンド文字列中に%ARG%部分を“高精細度デジタル放送”に置き換えてコマンド文字列を実行する。   If the character is not selected, the command is executed (S43). That is, continuous portions where the condition number “2” is set are extracted, and “high-definition digital broadcasting” is set as the target character string. Then, the data set with the condition number “2” is detected from the command storage unit 23 and the command number is acquired. In this case, since the command number is “1”, it is determined that the program is executed and a command character string is obtained. In the command character string, the% ARG% portion is replaced with “high-definition digital broadcasting”, and the command character string is changed. Execute.

一方、ステップS42の判定で、特定した単語番号が文字選択状態にある場合は訳語候補を生成し(S44)、コマンドを実行する(S45)。すなわち、文情報記憶部23から文番号が同じ原文側の情報を取得し、続いて対応番号が同じである単語番号から見出し語を特定する。ここでは、「高精細度」に対応する見出し語として「high definition」が取得される。次に、翻訳辞書部21から「high definition」に登録されている訳語を取得する。ここでは、「高精細度」、「高解像度」、「高精細」、「高品位」が取得される。続いて条件番号「2」が設定されている連続する部分を抽出する際に「高精細度」の部分は「high definition」に登録されている4つの候補を使用して、「高精細度デジタル放送」、「高解像度デジタル放送」、「高精細デジタル放送」、「高品位デジタル放送」を訳語候補として生成する。   On the other hand, if it is determined in step S42 that the specified word number is in the character selection state, a translation word candidate is generated (S44), and the command is executed (S45). That is, the information on the original sentence side having the same sentence number is acquired from the sentence information storage unit 23, and then the headword is specified from the word number having the same corresponding number. Here, “high definition” is acquired as a headword corresponding to “high definition”. Next, the translation registered in “high definition” is acquired from the translation dictionary unit 21. Here, “high definition”, “high resolution”, “high definition”, and “high quality” are acquired. Subsequently, when extracting the continuous portion where the condition number “2” is set, the “high definition” portion uses the four candidates registered in the “high definition” and “high definition digital Broadcast, high-resolution digital broadcast, high-definition digital broadcast, and high-definition digital broadcast are generated as translation candidates.

そして、図20に示すように、4個の訳語候補45をユーザに提示する。図20の全てボタン46が押された場合は、コマンド記憶部23から条件番号「2」が設定されているデータを検出し、コマンド番号を取得する。この場合、コマンド番号が「1」であるため、プログラム実行と判定し、コマンド文字列を取得すし、そのコマンド文字列中の%ARG%部分を「高精細度デジタル放送」、「高解像度デジタル放送」、「高精細デジタル放送」、「高品位デジタル放送」に置き換えてコマンド文字列を実行する。   Then, as shown in FIG. 20, four translation word candidates 45 are presented to the user. When all the buttons 46 in FIG. 20 are pressed, data in which the condition number “2” is set is detected from the command storage unit 23, and the command number is acquired. In this case, since the command number is “1”, it is determined that the program is executed, the command character string is acquired, and the% ARG% portion in the command character string is “high-definition digital broadcast” or “high-resolution digital broadcast”. ”,“ High-definition digital broadcasting ”,“ High-definition digital broadcasting ”, and the command character string is executed.

一方、選択部ボタン47が押された場合は、コマンド文字列中の%ARG%部分をチェックがついている文字列に置き換えてコマンド文字列を実行する。閉じるボタン48が押された場合は、何もせずに処理を終了する。   On the other hand, when the selection unit button 47 is pressed, the command character string is executed by replacing the% ARG% portion in the command character string with a checked character string. If the close button 48 is pressed, the process is terminated without doing anything.

このように、複合語の単語が複数の訳語を保持する場合については、複合語を構成するいずれかの単語が指定されたとき、翻訳部25により訳語を入れ替えた複数の複合語の訳語を構成し直し、コマンド実行部27により、構成し直した単語列を対象にユーザが設定したコマンドを実行するので、複数の訳語を有する複合語に対してより適切な訳語を得ることができる。   As described above, when a word of a compound word holds a plurality of translated words, when any word constituting the compound word is designated, a translated word of a plurality of compound words in which the translated word is replaced is constituted. Then, the command execution unit 27 executes the command set by the user for the reconstructed word string, so that a more appropriate translation can be obtained for a compound word having a plurality of translations.

本発明の実施の形態に係わる機械翻訳装置の構成図。The block diagram of the machine translation apparatus concerning embodiment of this invention. 本発明の実施の形態におけるコマンド設定部により調整要単語の検索コマンド内容を設定する手順のフローチャート。The flowchart of the procedure which sets the search command content of an adjustment required word by the command setting part in embodiment of this invention. 図2のステップS1で表示されるコマンド設定画面の説明図。Explanatory drawing of the command setting screen displayed by step S1 of FIG. 図3に示した検索コマンドタイプ欄の選択肢の説明図。Explanatory drawing of the choice of the search command type column shown in FIG. 図3に示した単語条件欄の選択肢の説明図。Explanatory drawing of the option of the word condition column shown in FIG. 本発明の実施の形態におけるシステム制御部による翻訳対象の第一言語の原文の表示処理内容を示すフローチャート。The flowchart which shows the display processing content of the original text of the 1st language of the translation object by the system control part in embodiment of this invention. 本発明の実施の形態におけるシステム制御部の文切り処理により文情報記憶部に記憶された1文毎に区切った形の文の表示例の説明図。Explanatory drawing of the example of a display of the form divided | segmented for every sentence memorize | stored in the sentence information storage part by the sentence cut process of the system control part in embodiment of this invention. 本発明の実施の形態におけるシステム制御部による翻訳対象の第一言語の原文及び第二言語の訳文の表示処理内容を示すフローチャート。The flowchart which shows the display processing content of the original sentence of the 1st language of translation object by the system control part in embodiment of this invention, and the translated sentence of a 2nd language. 本発明の実施の形態における文情報記憶部に記憶させる文情報の説明図。Explanatory drawing of the sentence information memorize | stored in the sentence information storage part in embodiment of this invention. 図9に示す文情報に対してコマンド記憶部に設定されている単語の条件番号を設定した場合の説明図。Explanatory drawing at the time of setting the condition number of the word set to the command memory | storage part with respect to the sentence information shown in FIG. 本発明の実施の形態における文情報記憶部に記憶されている文情報の表示の一例の説明図。Explanatory drawing of an example of the display of the sentence information memorize | stored in the sentence information storage part in embodiment of this invention. 本発明の実施の形態におけるシステム制御部でのユーザ設定コマンドの処理手順の一例を示すフローチャート。The flowchart which shows an example of the process sequence of the user setting command in the system control part in embodiment of this invention. 本発明の実施の形態におけるシステム制御部の文切り処理により文情報記憶部に記憶された1文毎に区切った形の文の他の表示例の説明図。Explanatory drawing of the other example of a display of the form divided | segmented for every sentence memorize | stored in the sentence information storage part by the sentence cut process of the system control part in embodiment of this invention. 本発明の実施の形態における文情報記憶部に記憶させる文情報の他の一例の説明図。Explanatory drawing of the other example of the sentence information memorize | stored in the sentence information storage part in embodiment of this invention. 図14に示す文情報に対してコマンド記憶部に設定されている単語の条件番号を設定した場合の説明図。Explanatory drawing at the time of setting the condition number of the word set to the command memory | storage part with respect to the sentence information shown in FIG. 本発明の実施の形態における文情報記憶部に記憶されている文情報の表示の他の一例の説明図。Explanatory drawing of another example of the display of the text information memorize | stored in the text information storage part in embodiment of this invention. 本発明の実施の形態における文情報記憶部に記憶させる文情報に文字選択フィールドを付加した場合の説明図。Explanatory drawing at the time of adding a character selection field to the sentence information memorize | stored in the sentence information storage part in embodiment of this invention. 本発明の実施の形態における文情報記憶部に記憶されている文情報の表示の他の一例の説明図。Explanatory drawing of another example of the display of the text information memorize | stored in the text information storage part in embodiment of this invention. 本発明の実施の形態におけるシステム制御部でのユーザ設定コマンドの処理手順の他の一例を示すフローチャート。The flowchart which shows another example of the process sequence of the user setting command in the system control part in embodiment of this invention. 図18の表示例に複合語の単語の訳語候補を併せて表示した場合の一例を示す説明図。FIG. 19 is an explanatory diagram illustrating an example when a candidate word translation of a compound word is displayed together with the display example of FIG. 18.

符号の説明Explanation of symbols

11…機械翻訳装置、12…マイクロプロセッサ、13…ROM、14…RAM、15…バス、16…入力装置、17…表示装置、18…ネットワークインターフェース、19…磁気ディスク装置、20…機械翻訳プログラム、21…翻訳辞書部、22…コマンド記憶部、23…文情報記憶部、24…システム制御部、25…翻訳部、26…コマンド設定部、27…コマンド実行部、28…コマンド設定画面、29…検索コマンド名欄、30…検索コマンドタイプ欄、31…単語条件欄、32…コマンド文字列欄、33…コマンド、34…コマンド番号、35…条件、36…条件番号、37…OKボタン、38…キャンセルボタン、39…単語番号、40…見出し語文字列、41…品詞、42…対応番号、43…条件番号、44…、文字選択、45…訳語候補、46…全てボタン、47…選択部ボタン、48…閉じるボタン DESCRIPTION OF SYMBOLS 11 ... Machine translation apparatus, 12 ... Microprocessor, 13 ... ROM, 14 ... RAM, 15 ... Bus, 16 ... Input device, 17 ... Display apparatus, 18 ... Network interface, 19 ... Magnetic disk apparatus, 20 ... Machine translation program, DESCRIPTION OF SYMBOLS 21 ... Translation dictionary part, 22 ... Command storage part, 23 ... Sentence information storage part, 24 ... System control part, 25 ... Translation part, 26 ... Command setting part, 27 ... Command execution part, 28 ... Command setting screen, 29 ... Search command name column, 30 ... Search command type column, 31 ... Word condition column, 32 ... Command character string column, 33 ... Command, 34 ... Command number, 35 ... Condition, 36 ... Condition number, 37 ... OK button, 38 ... Cancel button, 39 ... Word number, 40 ... Headword character string, 41 ... Part of speech, 42 ... Corresponding number, 43 ... Condition number, 44 ..., Character selection 45 ... translation candidate, 46 ... all button, 47 ... selecting section button, 48 ... Close button

Claims (3)

機械翻訳プログラム及び翻訳辞書部を記憶した記憶装置と、翻訳対象の第一言語の原文を入力するとともに操作に必要な情報を入力する入力装置と、翻訳対象の第一言語の原文や翻訳後の第二言語の訳文を表示する表示装置と、前記機械翻訳プログラムを演算実行するマイクロプロセッサとを備えた機械翻訳装置において、翻訳対象の第一言語の原文に含まれる調整要単語の翻訳の確からしさを調べるために少なくとも前記調整要単語の単語条件及び前記調整要単語の検索先を特定するための検索コマンド名を検索コマンド内容として設定するコマンド設定部と、前記コマンド設定部で設定された検索コマンド内容を記憶するコマンド記憶部と、翻訳対象の第一言語の原文を翻訳辞書部を用いて第二言語に翻訳する翻訳部と、翻訳対象の第一言語の原文及び前記翻訳部で翻訳された訳文を前記翻訳辞書部に存在する見出し語毎に区切られた単語の文として記憶するとともに前記コマンド記憶部に記憶された検索コマンド内容の単語条件を満たす単語に対してはその単語条件関連付けて記憶する文書情報記憶部と、翻訳対象の第一言語の原文に含まれる調整要単語に対して前記文書情報記憶部に関連付けて記憶された単語条件に基づいて前記検索コマンド内容を検出して前記調整要単語の検索先を特定するための検索コマンド名を特定し検索コマンドを実行するコマンド実行部とを備え、前記調整要単語の単語条件が複合語であり、複合語を構成するいずれかの単語が前記翻訳辞書部に複数の訳語を保持する場合は、前記翻訳部は、訳語を入れ替えた複数の複合語の訳語を構成し直し、前記コマンド実行部は、構成し直した単語列を対象に前記検索コマンドを実行する機械翻訳装置。 A storage device storing a machine translation program and a translation dictionary unit, an input device for inputting an original sentence in a first language to be translated and information necessary for operation, an original sentence in a first language to be translated and a translated sentence In a machine translation device comprising a display device for displaying a translation in a second language and a microprocessor for executing the machine translation program, the certainty of translation of the word requiring adjustment contained in the original text in the first language to be translated A command setting unit that sets at least a word condition of the adjustment required word and a search command name for specifying a search destination of the adjustment required word as search command contents, and a search command set by the command setting unit A command storage unit for storing the content, a translation unit for translating the original text of the first language to be translated into the second language using the translation dictionary unit, and a first translation target The search stored in the command storage unit command content words satisfy the stores word original and translated sentence translated by the translation unit as a sentence words separated for each entry word exists in the dictionary unit and for the word document information storage unit that stores in association with the word condition, the document information in association with the storage unit stored word condition for adjustment main word included in the first language source text translated target A command execution unit that detects a search command name based on the search command content and identifies a search destination for the adjustment required word and executes the search command, and the word condition of the adjustment required word is a compound word And when any of the words constituting the compound word has a plurality of translation words in the translation dictionary part, the translation part reconfigures the translation words of a plurality of compound words with the translation words replaced. The command execution unit, a machine translation apparatus to execute the search command to the target word string reconfigured. 機械翻訳プログラム及び翻訳辞書部を記憶した記憶装置と、翻訳対象の第一言語の原文を入力するとともに操作に必要な情報を入力する入力装置と、翻訳対象の第一言語の原文や翻訳後の第二言語の訳文を表示する表示装置と、前記機械翻訳プログラムを演算実行するマイクロプロセッサとを備えるコンピュータが実行する方法であって、翻訳対象の第一言語の原文に含まれる調整要単語の翻訳の確からしさを調べるために少なくとも前記調整要単語の単語条件及び前記調整要単語の検索先を特定するための検索コマンド名を検索コマンド内容として設定し、設定された検索コマンド内容を前記記憶装置のコマンド記憶部に記憶し、翻訳対象の第一言語の原文を翻訳辞書部を用いて第二言語に翻訳し、翻訳対象の第一言語の原文及び前記翻訳部で翻訳された訳文を前記翻訳辞書部に存在する見出し語毎に区切られた単語の文として前記記憶装置の文書情報記憶部に記憶するとともに前記コマンド記憶部に記憶された検索コマンド内容の単語条件を満たす単語に対してはその単語条件を関連付けて前記文書情報記憶部に記憶し、翻訳対象の第一言語の原文に含まれる調整要単語に対して前記文書情報記憶部に関連付けて記憶された単語条件に基づいて前記検索コマンド内容を検出して前記調整要単語の検索先を特定するための検索コマンド名を特定し検索コマンドを実行し、前記調整要単語の単語条件が複合語であり、複合語を構成するいずれかの単語が前記翻訳辞書部に複数の訳語を保持する場合は、訳語を入れ替えた複数の複合語の訳語を構成し直し、構成し直した単語列を対象に前記検索コマンドを実行する機械翻訳方法。
A storage device storing a machine translation program and a translation dictionary unit, an input device for inputting an original sentence in a first language to be translated and information necessary for operation, an original sentence in a first language to be translated and a translated sentence A method executed by a computer comprising a display device for displaying a translation in a second language and a microprocessor for executing the machine translation program, the translation of an adjustment-necessary word contained in the original text in the first language to be translated In order to check the probability of the search, at least a word condition of the adjustment required word and a search command name for specifying the search destination of the adjustment required word are set as search command contents, and the set search command contents are stored in the storage device. Store in the command storage unit, translate the original text in the first language to be translated into the second language using the translation dictionary unit, and translate the original text in the first language to be translated and the translation Is stored in the document information storage unit of the storage device as a sentence of words separated for each entry word existing in the translation dictionary unit, and the word condition of the search command content stored in the command storage unit The word condition is associated with the word condition and stored in the document information storage unit, and the adjustment required word included in the original text of the first language to be translated is stored in association with the document information storage unit. Detecting the search command content based on a word condition to identify a search command name for specifying a search destination of the adjustment required word and executing a search command, the word condition of the adjustment required word is a compound word, If any word constituting a compound word holds a plurality of translated words in the translation dictionary part, the translated words of a plurality of compound words in which the translated words are replaced are reconfigured, and the reconfigured word string is targeted Machine translation how to run the search command.
機械翻訳プログラム及び翻訳辞書部を記憶した記憶装置と、翻訳対象の第一言語の原文を入力するとともに操作に必要な情報を入力する入力装置と、翻訳対象の第一言語の原文や翻訳後の第二言語の訳文を表示する表示装置と、前記機械翻訳プログラムを演算実行するマイクロプロセッサとを備えたコンピュータにおいて、コンピュータに、翻訳対象の第一言語の原文に含まれる調整要単語の翻訳の確からしさを調べるために少なくとも前記調整要単語の単語条件及び前記調整要単語の検索先を特定するための検索コマンド名を検索コマンド内容として設定し前記記憶装置に記憶させる機能と、翻訳対象の第一言語の原文を翻訳辞書部を用いて第二言語に翻訳する機能と、翻訳対象の第一言語の原文及び翻訳された訳文を前記翻訳辞書部に存在する見出し語毎に区切られた単語の文として前記記憶装置に記憶するとともに検索コマンド内容の単語条件を満たす単語に対してはその単語条件関連付けて前記記憶装置に記憶させる機能と、翻訳対象の第一言語の原文に含まれる調整要単語に対して前記記憶装置に関連付けて記憶した単語条件に基づいて前記検索コマンド内容を検出して前記調整要単語の検索先を特定するための検索コマンド名を特定し検索コマンドを実行する機能と、前記調整要単語の単語条件が複合語であり、複合語を構成するいずれかの単語が前記翻訳辞書部に複数の訳語を保持する場合は、訳語を入れ替えた複数の複合語の訳語を構成し直し、構成し直した単語列を対象に前記検索コマンドを実行する機能とを実現させるための機械翻訳プログラム。 A storage device storing a machine translation program and a translation dictionary unit, an input device for inputting an original sentence in a first language to be translated and information necessary for operation, an original sentence in a first language to be translated and a translated sentence In a computer comprising a display device for displaying a translation in a second language and a microprocessor for executing the machine translation program, the computer confirms the translation of the word requiring adjustment contained in the original text in the first language to be translated. A function for setting at least a word condition of the adjustment required word and a search command name for specifying a search destination of the adjustment required word as search command contents to be stored in the storage device in order to check the likelihood; A function that translates the original text of the language into the second language using the translation dictionary, and the original text of the first language to be translated and the translated translation exist in the translation dictionary. A function to be stored in the storage device in association with the word condition for the word satisfies Word Search command content stores in the storage device as a statement of words separated for each headword, to be translated A search command name for detecting the contents of the search command based on the word condition stored in association with the storage device for the adjustment required word included in the original text of the first language and specifying the search destination of the adjustment required word If the word condition of the word to be adjusted is a compound word and any word constituting the compound word holds a plurality of translated words in the translation dictionary unit, the translated word is reconfigures the translation of a plurality of compound words permuted, machine translation program for realizing the function of executing the search command to the target word string reconfigured.
JP2008063622A 2008-03-13 2008-03-13 Machine translation apparatus and machine translation program Expired - Fee Related JP4869271B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008063622A JP4869271B2 (en) 2008-03-13 2008-03-13 Machine translation apparatus and machine translation program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008063622A JP4869271B2 (en) 2008-03-13 2008-03-13 Machine translation apparatus and machine translation program

Publications (2)

Publication Number Publication Date
JP2009217772A JP2009217772A (en) 2009-09-24
JP4869271B2 true JP4869271B2 (en) 2012-02-08

Family

ID=41189512

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008063622A Expired - Fee Related JP4869271B2 (en) 2008-03-13 2008-03-13 Machine translation apparatus and machine translation program

Country Status (1)

Country Link
JP (1) JP4869271B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01233563A (en) * 1988-03-15 1989-09-19 Toshiba Corp Translation communication equipment
JP2006318202A (en) * 2005-05-12 2006-11-24 Suri Kaiseki Kenkyusho:Kk Translation apparatus, translation program and translation system
JP2006331215A (en) * 2005-05-27 2006-12-07 Sony Corp Information processing apparatus, information processing method, program, and recording medium

Also Published As

Publication number Publication date
JP2009217772A (en) 2009-09-24

Similar Documents

Publication Publication Date Title
US9218066B2 (en) Method for character correction
WO2000029964A1 (en) Software language translation system and method
US8204950B2 (en) Webpage search
WO2004001570A1 (en) Method for describing existing data by a natural language and program for that
WO2005116863A1 (en) A character display system
JP2004220616A (en) Machine translation system for simultaneously displaying and editing three or more parallel translation screens
US6976214B1 (en) Method, system, and program for enhancing text composition in a text editor program
CN111142683B (en) Input assisting program, input assisting method, and input assisting device
JP2009080625A (en) Knowledge building apparatus, program, and knowledge building method
JP2003271389A (en) Method for operating software object in natural language and its program
JP4869271B2 (en) Machine translation apparatus and machine translation program
CN110782899A (en) Information processing apparatus, storage medium, and information processing method
CN115237412A (en) Corpus index display method and its device, equipment, medium and product
JPWO2009038209A1 (en) Machine translation system, machine translation method, and machine translation program
JP4325226B2 (en) Information display control device and program
JP3881405B2 (en) Machine translation system
JP7355238B2 (en) Character input auxiliary device, character input auxiliary method, and character input auxiliary program
JP7223450B2 (en) Automatic translation device and automatic translation program
JP7083473B2 (en) Input support device
JP2010002830A (en) Voice recognition device
JP3673104B2 (en) Information display device
JP2000148747A (en) Conversion candidate display method, kana-kanji conversion program recording medium by this method, and kana-kanji conversion device
JP2001014304A (en) Document creation apparatus, conversion processing method, and recording medium storing conversion processing program
JP3473024B2 (en) Machine translation device and machine translation method
JPH10198664A (en) Japanese language input system and medium for recorded with japanese language input program

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101214

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110120

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110322

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110425

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110816

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111005

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20111025

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20111115

R150 Certificate of patent or registration of utility model

Ref document number: 4869271

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20141125

Year of fee payment: 3

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees