JP2004046841A - Output control device - Google Patents

Output control device Download PDF

Info

Publication number
JP2004046841A
JP2004046841A JP2003174127A JP2003174127A JP2004046841A JP 2004046841 A JP2004046841 A JP 2004046841A JP 2003174127 A JP2003174127 A JP 2003174127A JP 2003174127 A JP2003174127 A JP 2003174127A JP 2004046841 A JP2004046841 A JP 2004046841A
Authority
JP
Japan
Prior art keywords
document
screen
document data
hyperlink
display
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.)
Granted
Application number
JP2003174127A
Other languages
Japanese (ja)
Other versions
JP4191543B2 (en
Inventor
Hide Fuji
富士 秀
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2003174127A priority Critical patent/JP4191543B2/en
Publication of JP2004046841A publication Critical patent/JP2004046841A/en
Application granted granted Critical
Publication of JP4191543B2 publication Critical patent/JP4191543B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Machine Translation (AREA)
  • Document Processing Apparatus (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an output control device capable of displaying original information and related information in the same data format. <P>SOLUTION: This output control device determines processing type of a hyper-document data on the basis of display form of a designated display screen and controls conversion of document data in a reference source of the hyper-document data. The output control device is also provided with a part controlling an output order of the document data on the basis of a processing time of the obtained document data. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は出力制御装置に関し、特に、単語、テキスト、イメージ、音声などを関連づけて扱うハイパーメディアシステムなどに適用して好適なものである。
【0002】
【従来の技術】
従来の機械翻訳の対訳画面において、原文の画面がリンク構造を持っている場合、このリンク構造をそのまま訳文の画面の適当な位置に埋め込んで表示させる技術があった。例えば、原文にハイパーリンクが存在する場合、そのハイパーリンクを訳文の適当な位置に埋め込んで表示させていた。
【0003】
このような対訳画面では、原文のハイパーリンクと全く同様な操作を行うことにより、訳文のハイパーリンクを辿ることが可能である。
【0004】
【発明が解決しようとする課題】
しかしながら、従来の機械翻訳の対訳画面では、原文に埋め込まれたハイパーリンクの参照先の文書は、原文の言語で書かれたものである。このため、原文と同じハイパーリンクを単に訳文に埋め込んだだけの場合、訳文のハイパーリンクの参照先も原文の言語で書かれた文書のままになる。この結果、訳文のハイパーリンクを辿っても、原文で書かれた文書が訳文の表示画面に表示される。
【0005】
このような場合、異なる言語で記述された文書が同一画面上に入れ替わりに表示される場合があり、利用者の混乱を招く場合があった。
そこで、本発明の目的は、元の情報と関連情報とを同一のデータ種別で表示させることが可能な出力制御装置を提供することである。
【0006】
【課題を解決するための手段】
上述した課題を解決するために、本発明の一態様によれば、複数の表示画面が設けられた表示部と、前記表示画面で表示される表示形態を監視する入力制御部と、指定された表示画面の表示形態に基づいて、ハイパー文書データの処理種別を判定する処理種別判定部と、前記ハイパー文書データの参照先の文書データを取得するデータ取得部と、前記処理種別に対応して、前記参照先の文書データの処理内容を格納した処理種別定義ファイルと、前記処理種別定義ファイルの内容に基づいて、前記ハイパー文書データの参照先の文書データの変換制御を行う変換処理制御部と、前記指定された表示画面に対し、前記参照先の文書データの処理結果を出力する出力制御部とを備えている。
【0007】
このことにより、原文のハイパーリンクが訳文にそのまま埋め込まれ、原文に埋め込まれたハイパーリンクの参照先の文書が原文の言語で記述されている状態で、ハイパーリンクが訳文から参照された場合においても、そのハイパーリンクの参照先の文書を訳文の言語に変換して表示させることが可能となる。この結果、原文が表示されている画面には、参照先の文書を原文の言語で表示させることが可能となるとともに、訳文が表示されている画面には、参照先の文書を訳文の言語で表示させることが可能となり、異なる言語で記述された文書が同一画面上に入れ替わりに表示されることを防止することが可能となる。
【0008】
しかも、取得される文書データの処理時間に基づいて、文書データの出力順序を制御するようにしている。
このことにより、取得に時間がかかる文書データのために、短時間に取得される文書データの出力が遅れることを避けることが可能となり、文書データの出力を効率的に行うことが可能となる。
【0009】
また、本発明の一態様によれば、文書データ全体の取得に時間がかかる場合、取得される文書データの一部に対して変換処理を開始するようにしている。このことにより、文書データの取得と文書データの変換処理とを並列に行うことが可能となり、文書データ全体が取得されるまで、文書データの変換処理を待機させる必要がなくなることから、文書データの変換結果の出力を迅速に行うことが可能となる。
【0010】
また、本発明の一態様によれば、ハイパー文書データのハイパーリンクが他の画面の下に隠れている場合、ハイパー文書データの表示位置を制御することにより、そのハイパーリンクが見えるようにしている。
【0011】
このことにより、ハイパー文書データの画面が重なって表示されている場合においても、参照先の文書データを容易に辿ることが可能となる。また、本発明の一態様によれば、ハイパー文書データの変換に失敗した場合、ハイパー文書データのハイパーリンクだけを変換して表示させるようにしている。
【0012】
このことにより、ハイパー文書データの変換結果が得られない場合においても、ハイパーリンクについては変換結果の対比を行うことが可能となり、参照先の文書データを容易に辿ることが可能となる。
【0013】
また、本発明の一態様によれば、ハイパー文書データ及びハイパーリンクの変換に失敗した場合、変換前のハイパーリンクを表示するようにしている。このことにより、ハイパー文書データの変換結果が得られない場合においても、参照先の文書データを対比画面上で辿ることが可能となる。
【0014】
【発明の実施の形態】
以下、本発明の一実施例に係わる出力制御装置について、図面を参照しながら説明する。
【0015】
図1は、本発明の一実施例に係わる出力制御装置の構成を示すブロック図である。図1において、処理種別情報取得手段1は、第1のデータを第2のデータに変換する処理種別情報を取得する。関連情報取得手段2は、第1のデータと関連付けられた第3のデータを取得する。関連情報変換手段3は、処理種別情報取得手段1で取得された処理種別情報に基づいて、関連情報取得手段2で取得された第3のデータを第4のデータに変換する。
【0016】
このことにより、第1のデータと第2のデータとの間でデータ変換が行われる場合、関連情報変換手段3は、第1のデータに関連づけられた第3のデータについても、第1のデータと同様の変換処理を行うことが可能となり、第1のデータに関連づけられた第3のデータを、第2のデータのデータ種別と一致させて出力させることが可能となる。この結果、例えば、ハイパーメディアデータのデータ変換が行われる場合においても、ハイパーリンクで互いに関連づけられたデータについては、データ種別を互いに一致させて出力させることが可能となり、ハイパーリンクで情報を辿る際に、異なったデータ種別のまま情報が出力されることを防止することができる。
【0017】
図2は、本発明の一実施例に係わる出力制御方法の一例を示すブロック図である。図2において、第1のデータ11は、第1のデータ種別に属し、第1のデータ11に埋め込まれたリンクAにより、第3のデータ13と関連付けれている。なお、第3のデータ13は、第1のデータ種別に属しているものとする。第1のデータ11は、変換処理により第2のデータに変換される。この第2のデータには、第1のデータ11のリンク構造がそのまま埋め込まれ、リンクBにより第3のデータ13と関連付けれている。
【0018】
第1のデータ11は画面Eで表示され、第2のデータ12は画面Jで表示される。この結果、第1のデータ11と第2のデータ12とを対比させることができる。
【0019】
画面Eを見ながら、第1のデータ11のリンクAを呼び出すと、第3のデータ13が画面Eに表示される。この場合、第1のデータ11と第3のデータ13とは、第1のデータ種別に属していることから、画面Eからリンク情報を参照した場合、画面Eで表示されるデータ種別は一致する。
【0020】
一方、画面Jを見ながら、第2のデータ12のリンクBを呼び出すと、第3のデータ13が画面Jに表示される。この場合、第2のデータ11は第2のデータ種別に属し、第3のデータ13は第1のデータ種別に属していることから、画面Jからリンク情報を参照した場合、データ種別の異なる情報が切り替わって画面Jに表示される。これは、画面Jを見るものにとって、混乱を招く場合が生じる。例えば、第2のデータ11と第3のデータ13とが、互いに異なる言語で記述されている場合、画面Jに第3のデータ13を表示させても、その言語を読めない人にとっては、何が書いてあるのか判らない。
【0021】
このため、画面Jから第2のデータ12のリンクBが呼び出された場合、第1のデータ種別に属している第3のデータ13を、第2のデータ種別に属している第4のデータ14に変換してから、画面Jに表示させる。この結果、画面Jで表示されるデータ種別を一致させることが可能となり、画面Jからリンク情報を参照した場合においても、利用者の混乱を防止することが可能となる。
【0022】
以下、本発明に係わる出力制御装置について、画面制御装置に適用した場合を例にとって説明する。図3は、本発明の第1実施例に係わる画面制御装置の構成を示すブロック図である。この第1実施例では、関連付けられた複数の画面(ウィンドウやブラウザー等)でハイパー文書データを扱う際に、表示する情報の種類(例えば言語種別)を画面ごとに制御することにより、利用者にとって直観的に分かり易いインタフェースを実現している。
【0023】
図3において、表示部21は、CRTや液晶ディスプレイなどであり、複数の種類の情報を表示する画面E、画面J、画面K、・・・を備えている。入力制御部22は、画面E、画面J、画面K、・・・で表示される表示形態を監視する。処理種別判定部23は、指定された画面E、画面J、画面K、・・・の表示形態に基づいて、ハイパー文書データの処理種別を判定する。処理種別定義ファイル24は、処理種別に対応して、ハイパーリンクにより参照される文書データの処理内容を格納する。データ取得部25は、ハイパーリンクにより参照される文書データを取得する。外部データ26は、ハイパーリンクにより参照される文書データを供給する。変換処理部27は変換装置27a〜27cを備え、処理種別に対応した変換処理を行う。変換処理制御部28は、処理種別定義ファイル24の内容に基づいて、変換装置27a〜27cを選択し、ハイパー文書データの参照先の文書データの変換制御を行う。出力制御部29は、指定された画面E、画面J、画面K、・・・に対し、参照先の文書データの処理結果を出力する。
【0024】
例えば、画面Eには、ハイパー文書が英語で表示され、画面Jには、ハイパー文書が日本語で表示され、画面Kには、ハイパー文書がフランス語で表示されているものとする。ここで、画面Eに表示されているハイパー文書のハイパーリンクが、画面J及び画面Kに表示されているハイパー文書にも埋め込まれているものとする。この場合、画面Eからハイパーリンクを辿った場合、ハイパーリンクにより参照される文書が英語で画面Eに表示される。
【0025】
一方、画面Jからハイパーリンクを辿った場合、画面Jにはハイパー文書が日本語で表示されているにもかかわらず、ハイパーリンクにより参照される文書は英語で記述されているため、画面Jに表示される言語と参照先の文書の言語とが一致していないと判定される。このため、ハイパーリンクにより参照される文書を日本語に翻訳させ、画面Jに表示される言語と参照先の文書の言語とを一致させてから、画面Jに表示させる。
【0026】
また、画面Kからハイパーリンクを辿った場合、画面Kにはハイパー文書がフランス語で表示されているにもかかわらず、ハイパーリンクにより参照される文書は英語で記述されているため、画面Jに表示される言語と参照先の文書の言語とが一致していないと判定される。このため、ハイパーリンクにより参照される文書をフランス語に翻訳させ、画面Jに表示される言語と参照先の文書の言語とを一致させてから、画面Jに表示させる。
【0027】
このように、英語の文書のハイパーリンクが日本語の文書にそのまま埋め込まれ、日本語の文書に埋め込まれたハイパーリンクの参照先の文書が英語で記述されている場合においても、日本語の文書が表示されている画面Jでは、ハイパーリンクの参照先の文書を日本語で表示させることが可能となり、異なる言語で記述された文書が同一画面上に入れ替わりに表示されることを防止することが可能となる。
【0028】
図4は、本発明の第2実施例に係わる画面制御装置の構成を示すブロック図である。この第2実施例は、図3の画面制御装置の構成に様々の機能を追加することにより、画面制御を行う際の利便性を向上させたものである。
【0029】
図4において、入力部31は、例えば、キーボード、マウス、スキャナなどであり、表示部32の画面E、画面J、画面K、・・・の選択を行ったり、画面E、画面J、画面K、・・・のスクロールを行ったり、画面E、画面J、画面K、・・・に表示されているハイパーリンクを呼び出したりする。表示部32は、複数の種類の情報を表示する画面E、画面J、画面K、・・・を備えている。入力制御部33は、入力部31から入力があった場合に、どの画面E、画面J、画面K、・・・に対して、どのような処理命令があったかを常時監視する。表示状態管理テーブル33aは、画面E、画面J、画面K、・・・の表示状態を文書種別ごとに管理する。
【0030】
処理種別判定部34は、表示部32から得られた画面情報と入力部31から得られた処理命令に基づいて、処理種別定義ファイル35を検索し、装置が行う処理種別を判定する。処理種別定義ファイル35は、画面情報及び処理命令に対する処理の対応表を格納する。データ取得部36は、処理種別判定部34で新規データの取得が必要となった場合に起動され、外部データ37から新規データを取得する。外部データ37は、ハードディスクなどの外部記憶装置に格納されていたり、通信回線によって外部データベースから取得されたりする。変換処理部38は、複数の変換装置38a〜38cを備え、変換処理に必要な変換装置38a〜38cを起動する。変換処理制御部39は、外部データ37に対する変換処理が必要であると判定された場合に、データ取得部36で取得した外部データ37に対する変換制御を行う。言語種別判定部39aは、文書データに含まれる文字種の比率を調べることにより、文書データの言語種別を判定する。
【0031】
出力制御部40は、処理種別判定部34の判定した処理種別に従って、変換処理されたデータを分配し、表示部32の適切な画面E、J、K、・・・に出力させる。画面生成部40aは、文書種別に対応した画面E、J、K、・・・が存在しない場合、新たな画面E、J、K、・・・を生成する。画面同期制御部40bは、ハイパー文書データの参照先の文書データが画面E、J、K、・・・に表示された場合、参照先の文書データの表示に同期させて、参照先の文書データの変換結果を他の画面E、J、K、・・・に表示させる。表示順序制御部40cは、データ取得部36により取得される外部データ37の取得時間に基づいて、外部データ37の出力順序を制御する。文字コード対応表41は、画面E、J、K、・・・に表示される文字コードを各画面E、J、K、・・・ごとに規定する。表示順序定義テーブル42は、データ取得部36により取得される外部データ37の取得時間に対応させて、外部データ37の出力順序の優先度を定義する。
【0032】
図5は、本発明の第1実施例に係わる画面制御処理を示すフローチャートである。図5において、入力部31は、操作者からの入力を受け付ける(ステップS1)。
【0033】
次に、処理種別判定部34は、入力部31が受け付けた入力及び入力制御部33により監視される画面E、J、K、・・・の表示種別を検索キーとして、処理種別定義ファイル35を検索する(ステップS2)。
【0034】
次に、処理種別判定部34は、処理種別定義ファイル35の検索結果を元に処理種別を判定する(ステップS3)。次に、データ取得部36は、処理種別判定部34により判定された処理種別に従って、外部データ37を取得する(ステップS4)。
【0035】
次に、変換処理制御部39は、取得された外部データ37に対し、変換処理が必要であるかどうかを処理種別に基づいて判定する(ステップS5)。変換処理が必要な場合には、処理種別に対応した変換装置38a〜38cを起動し、変換処理を行う(ステップS6)。
【0036】
次に、出力制御部40は、入力制御部33により監視される画面E、J、K、・・・の表示種別に基づいて、データ取得部36により取得された外部データ37、または変換処理部38により変換された変換データを表示させる画面E、J、K、・・・を決定する(ステップS7)。
【0037】
次に、出力制御部40は、データ取得部36により取得された外部データ37、または変換処理部38により変換された変換データを表示部32に出力し、決定した画面E、J、K、・・・に表示させる(ステップS8)。
【0038】
図6は、本発明の一実施例に係わる画面制御装置のシステム構成を示すブロック図である。図6において、51は全体的な処理を行う中央演算処理ユニット(CPU)、52はリードオンリメモリ(ROM)、53はランダムアクセスメモリ(RAM)、54は通信インターフェイス、55は通信ネットワーク、56は入出力インターフェイス、57は複数の表示画面を生成するディスプレイ、58はテキストやイメージなどを印刷するプリンタ、59はスキャナ60により読み取られたデータを一時的に格納するメモリ、60はテキストやイメージなどを読み取るスキャナ、61はキーボード、62は記憶媒体を駆動するドライバ、63はハードディスク、64はICメモリカード、65は磁気テープ、66はフロッピーディスク、67はCD−ROMやDVD−ROMなどの光ディスク、68はバスである。
【0039】
画面制御処理や翻訳処理などを行うプログラム、あるいはハイパーメディアデータなどを、ハードディスク63、ICメモリカード64、磁気テープ65、フロッピーディスク66、光ディスク67などの記憶媒体に格納する。そして、画面制御処理や翻訳処理を行うプログラムを、これらの記憶媒体からRAM53に読み出すことにより、画面制御を行うことができる。また、画面制御処理や翻訳処理などを行うプログラム、あるいはハイパーメディアデータなどを、ROM52に格納しておくこともできる。
【0040】
さらに、画面制御処理や翻訳処理などを行うプログラム、あるいはハイパーメディアデータなどを、通信インターフェイス54を介して通信ネットワーク55から取り出すことをできる。通信インターフェイス54に接続される通信ネットワーク55として、例えば、LAN(Local Area Network)、WAN(Wide Area Network)、インターネット、アナログ電話網、デジタル電話網(ISDN:Integral Service Digital Network)、PHS(パーソナルハンディシステム)や衛星通信などの無線通信網を用いることができる。
【0041】
CPU51は、画面制御処理を行うプログラムが起動されると、ディスプレイ57における表示状態の監視を行う。そして、ディスプレイ57に表示されているハイパーリンクが呼び出されると、ハイパーリンクにより参照されている文書データを取得する。ここで、ハイパーリンクにより参照されている文書データが英語で記述されているものとすると、英語で表示する画面からハイパーリンクが呼び出された場合、文書データを英語のままその画面に表示させる。一方、日本語で表示する画面からハイパーリンクが呼び出されると、英日翻訳を行うプログラムを起動し、ハイパーリンクにより参照されている文書データを日本語に変換してから、その画面に表示させる。
【0042】
以下、図4の画面制御装置の動作について、より具体的に説明する。なお、以下の実施例では、説明を容易に行うために、英日機械翻訳を例にとって説明する。
【0043】
図7は、機械翻訳における画面制御処理を示すフローチャートである。図7において、入力部31は、リンク参照の入力を受け付ける(ステップS11)。
次に、データ取得部36は、リンク参照先の文書データを取り寄せる(ステップS12)。次に、処理種別判定部34は、リンク参照の入力が行われた画面E、J、K、・・・の言語の種類を判定する(ステップS13)。
【0044】
次に、処理種別判定部34は、リンク参照先の文書の言語の種類を判定する(ステップS14)
次に、処理種別判定部34は、リンク参照の入力が行われた画面E、J、K、・・・の言語の種類及びリンク参照先の文書の言語の種類を検索キーとして、処理種別定義ファイル35を検索する(ステップS15)。
【0045】
次に、処理種別定義ファイル35を参照することにより、リンク参照先の文書データの翻訳が必要かどうかを判定する(ステップS16)。そして、翻訳が不要の場合、データ取得部36で取り寄せた文書データをそのまま、リンク参照の入力が行われた画面E、J、K、・・・に表示させる(ステップS17)。
【0046】
一方、翻訳が必要な場合、言語種別に対応した変換装置38a〜38cを起動し、データ取得部36で取り寄せた文書データの翻訳処理を行う(ステップS18)。
【0047】
次に、翻訳処理の行われた文書データを、リンク参照の入力が行われた画面E、J、K、・・・に表示させる(ステップS19)。図8は、本発明の第1実施例に係わる変換処理を示すフローチャートである。この第1実施例に係わる変換処理では、翻訳処理が行われる。
【0048】
図8において、例えば、変換装置27aは、英語文書からタグ情報を分離し(ステップS21)、英語文書を文単位に分解する(ステップS22)。次に、英語文書から文を1つ取り出し(ステップS23)、機械翻訳により英文を日本文に変換する(ステップS24)。そして、機械翻訳が英語文書の最後の文まで終わったら(ステップS25)、日本文を結合して日本語文書を作成し(ステップS26)、作成した日本語文書にタグ情報を埋め戻す(ステップS27)。
【0049】
図9は、本発明の第2実施例に係わる変換処理を示すフローチャートである。この第2実施例に係わる変換処理では、辞書検索処理が行われる。図9において、例えば、変換装置27bは、英語文書からタグ情報を分離し(ステップS231)、英語文書を文単位に分解する(ステップS232)。
【0050】
次に、英語文書から英単語を1つ取り出し(ステップS233)、英日単語辞書を検索することにより、英単語を日本語単語に変換する(ステップS234)。そして、英日単語検索が英語文書の最後の単語まで終わったら(ステップS235)、日本語単語を結合して日本語単語集を作成し(ステップS236)、作成した日本語単語集にタグ情報を埋め戻す(ステップS237)。
【0051】
図10は、本発明の一実施例に係わる画面表示制御処理を示すフローチャートである。この実施例では、原文と訳文の互いに対応する文または単語がほぼ同一の位置に表示されるように、画面の表示方法を制御するものである。例えば、日本語を英語に翻訳した場合、文書量が1.2〜2倍程度に増加するのが一般的である。このため、同一サイズの画面上に、日本語の文書と英語の文書とを対比させて表示した場合、互いに対応する文または単語の位置がずれることがあり、このことを防止して、日本語の文書と英語の文書との対比を効率的に行えるようにする必要がある。
【0052】
図10において、出力制御部40は、原文を翻訳した結果得られた訳文を取得する(ステップS241)。次に、出力制御部40は、訳文の行数を算出し(ステップS242)、原文の行数を算出し(ステップS243)、原文と訳文を画面E、J、K、・・・に表示させる(ステップS244)。
【0053】
次に、出力制御部40は、原文と訳文の行数差の割合がしきい値以上の場合(ステップS245)、訳文の行数に合わせて画面E、J、K、・・・を調節し(ステップS246)、原文の行数に合わせて画面E、J、K、・・・を調節する(ステップS247)。例えば、原文と訳文との行数差の割合が0.3を越える場合、画面の大きさの調節を行う。
【0054】
なお、原文及び訳文の行数を数える方法のほかに、原文及び訳文の文字数を数えることにより、原文及び訳文の文書量を算出するようにしてもよい。画面を調節する方法としては、例えば、文字サイズ、文字間隔、行間隔、または改行位置を制御することができる。例えば、原文の文書量の方が訳文の文書量よりも多い場合、原文の文字サイズ、文字間隔、行間隔、または改行数を訳文の文字サイズ、文字間隔、行間隔、または改行数よりも小さくして、画面E、J、K、・・・に表示させる。
【0055】
また、原文の文書量の方が訳文の文書量よりも多い場合、原文を表示する画面E、J、K、・・・の横方向のサイズを、訳文を表示する画面E、J、K、・・・の横方向のサイズよりも大きくするようにしてもよい。例えば、日本語の文書を英語に翻訳した結果、英語の文書量が日本語の文書量の2倍になった場合、英語の文書を表示する画面E、J、K、・・・の横方向のサイズを、日本語の文書を表示する画面E、J、K、・・・の横方向のサイズの2倍に設定する。このことにより、日本語の文書と英語の文書との間で対応している文を表示する行を、互いにほぼ一致させることが可能となる。
【0056】
以下、図4の画面制御装置の動作について、英日対訳画面の表示方法を例にとって、より詳細に説明する。なお、以下の実施例では、ハイパーリンクの参照先の文書は必ず英文書であることが保証されているものとする。
【0057】
図11(a)は、英日対訳文書の表示例を示す図である。図11(a)において、画面E及び画面Jが左右に並べて生成されている。画面Eは、英語で記述されたデータを表示する画面である。この画面Eには、例えば、「There is a book on the table.Andthere are pens on the floor.」と書かれた文書1Eが表示されている。画面Jは、日本語で記述されたデータを表示する画面である。この画面Jには、文書1Eの英日翻訳結果として、「テーブルの上に本があります。また、床にはペンがあります。」と書かれた文書1Jが表示されている。
【0058】
文書1Eは、文書2Eへのハイパーリンク71を含んでおり、このハイパーリンク71が、文書1Eの「pens」の位置に斜線で表示されている。ハイパーリンク71は、英語で書かれた文書2Eを指し示している。
【0059】
文書1Eが文書1Jに翻訳されると、文書2Eへのハイパーリンク71は文書1Jにそのまま保存され、文書1J中の対応する位置に文書2Eへのハイパーリンク72が埋め込まれる。このため、文書1J中の「ペン」の位置に文書2Eへのハイパーリンク72が斜線で表示されている。なお、画面E、Jは、ウィンドウシステムのウィンドウやブラウザーなどで実現することができる。
【0060】
この画面状態で、操作者が、文書1Jのハイパーリンク72を画面J上でクリックすることによって辿ったとする。すると、データ取得部36は、外部データ37から、文書2Eを取り出す。
【0061】
図11(b)は、ハイパーリンク72により参照される文書2Eの内容例を示す。図11(b)において、文書2Eには、「It’s a fine daytoday.」と書かれており、記述言語として英語が用いられている。一方、この文書2Eの呼び出しは、画面Jから行われており、この画面Jは、日本語で記述されたデータを表示する画面である。そこで、図11(b)に示すように、英語で記述されている文書2Eの内容を日本語に翻訳し、文書2Jを得る。この文書2Jの内容は、「今日は良い天気です。」となる。
【0062】
図11(c)は、参照先文書の英日変換結果の第1の表示例を示す図である。図11(c)において、出力制御部40は、出力対象文書である文書2Jの内容を変換処理制御部39から受け取り、出力対象画面が画面Jという情報を処理種別判定部34から受け取ると、画面Jに文書2Jの内容を表示させる。この結果、画面Jには、「今日は良い天気です。」と日本語で表示される。
【0063】
このように、画面Jから英語の文書2Eが参照された場合においても、画面Jに日本語で表示させることが可能となり、画面Jで英語と日本語とが交互に切り替わって表示されることを防止することができる。
【0064】
図12(a)は、図11(a)の画面Jからハイパーリンク72を呼び出した時の入力情報の内容例を示す図である。この入力情報は、画面Jのハイパーリンク72をクリックした時の情報である。
【0065】
図12(a)において、入力情報には、入力画面名とハイパーリンクの参照先の文書名とがある。例えば、画面Jからハイパーリンク72を呼び出した場合、この実施例では、入力画面名は画面J、参照先文書名は文書2Eとなる。この入力情報は、処理種別判定部34に送られる。処理種別判定部34は、入力情報に基づいて、処理種別定義ファイル35を検索し、文書2Eに対して行う処理種別を獲得する。
【0066】
図12(b)は、処理種別定義ファイル35の内容例を示す図である。図12(b)において、処理種別定義ファイル35には、参照先文書の言語及び入力画面で表示される言語に対応した変換処理が記述されている。例えば、参照先文書の言語が英語、入力画面で表示される言語が日本語の場合、変換処理として英日翻訳が指定され、参照先文書の言語が英語、入力画面で表示される言語が英語の場合、変換処理として無変換が指定され、参照先文書の言語が日本語、入力画面で表示される言語が英語の場合、変換処理として日英翻訳が指定され、参照先文書の言語が日本語、入力画面で表示される言語が日本語の場合、変換処理として無変換が指定されている。
【0067】
図12(a)の入力情報が与えられた場合、画面Jで表示される言語は日本語、文書2Eを記述している言語は英語であることから、参照先言語が英語、入力画面言語が日本語に対応した英日翻訳が、処理種別定義ファイル35から検索される。この処理種別定義ファイル35の検索結果に基づいて、文書2Eを処理するための処理種別情報を作成する。
【0068】
図12(c)は、処理種別情報の第1の内容例を示す図である。図12(c)において、図12(a)の参照先文書が文書2Eという情報から、「ハイパーリンク72の参照先の文書2Eを外部のデータベースにアクセスして取り寄せる」という処理種別が得られる。また、処理種別定義ファイル35の検索結果から、「ハイパーリンク72を辿って取り寄せた文書2Eを日本語に翻訳して、文書2Jを得る」という処理種別が得られる。さらに、図12(a)の入力画面が画面Jであるという情報から、「文書2Jを画面Jに表示させる」という処理種別も得られる。
【0069】
データ取得部36は、「ハイパーリンク72の参照先の文書2Eを外部のデータベースにアクセスして取り寄せる」という処理種別に従って、外部データ37から文書2Eのデータを取り寄せる。変換処理制御部39は、「ハイパーリンク72を辿って取り寄せた文書2Eを日本語に翻訳して、文書2Jを得る」という処理種別に従って、変換処理部38に文書2Eの英日翻訳を行わせる。出力制御部40は、「文書2Jを画面Jに表示させる」という処理種別に従って、表示部32の画面Eに文書2Jを表示させる。この結果、図11(c)の表示が行われる。
【0070】
図13は、本発明の第2実施例に係わる画面制御処理を示すフローチャートである。図13において、入力部31は、操作者からの入力を受け付ける(ステップS31)。
【0071】
次に、処理種別判定部34は、入力部31が受け付けた参照先文書の言語種別及び入力制御部33により監視される画面E、J、K、・・・の言語種別を検索キーとして、処理種別定義ファイル35を検索する(ステップS32)。
【0072】
次に、処理種別判定部34は、処理種別定義ファイル35の検索結果を元に処理種別を判定する(ステップS33)。次に、データ取得部36は、処理種別判定部34により判定された処理種別に従って、外部データ37を取得する(ステップS34)。
【0073】
次に、変換処理制御部39は、取得された外部データ37に対し、翻訳処理が必要であるかどうかを処理種別に基づいて判定する(ステップS35)。翻訳処理が必要な場合には、処理種別に対応した変換装置38a〜38cを起動し、翻訳処理を行う(ステップS36)。
【0074】
次に、出力制御部40は、入力制御部33により監視される画面E、J、K、・・・の言語種別に基づいて、データ取得部36により取得された外部データ37、または変換処理部38により変換された変換データを表示する画面E、J、K、・・・を決定する(ステップS37)
次に、出力制御部40は、データ取得部36により取得された外部データ37、または変換処理部38により変換された変換データを表示部32に出力し、決定した画面E、J、K、・・・に表示させる(ステップS38)。
【0075】
次に、英日対訳文書の第2の表示例について説明する図14(a)は、英日対訳文書の表示例を示す図である。この図14(a)の英日対訳文書の表示例は、図11(a)の英日対訳文書の表示例と全く同一である。また、図14(a)のハイパーリンク71、72も、図11(b)の文書2Eを指している。
【0076】
この図14(a)の画面状態で、操作者が、文書1Jのハイパーリンク72を画面J上でクリックすることによって辿ったとする。この場合、入力情報も図12(a)と同様になる。このため、変換処理として、処理種別定義ファイル35から英日翻訳が検索される。この処理種別定義ファイル35の検索結果に基づいて、文書2Eを処理するための処理種別情報が作成される。
【0077】
図14(b)は、処理種別情報の第2の内容例を示す図である。図12(a)の参照先文書が文書2Eという情報から、「ハイパーリンク72の参照先の文書2Eを外部のデータベースにアクセスして取り寄せる」という処理種別が得られる。また、処理種別定義ファイル35の検索結果から、「ハイパーリンク72を辿って取り寄せた文書2Eを日本語に翻訳して、文書2Jを得る」という処理種別が得られる。さらに、図12(a)の入力画面が画面Jであるという情報から、「文書2Jを画面Jに表示させる」という処理種別も得られる。
【0078】
ここで、画面E及び画面Jに表示される内容が互いに対応のとれたものという条件を加える。この結果、文書2Jの内容に対応しているのは、文書2Eの内容であり、文書2Eは英語で記述されているので、「文書2Eを画面Eに表示させる」という処理種別も得られる。
【0079】
図14(c)は、参照先文書の英日変換結果の第2の表示例を示す図である。図14(c)において、出力制御部40は、「文書2Eを画面Eに表示させる」という処理種別に従って、画面Eに文書2Eの内容を表示させる。この結果、画面Eには、「It’s a fine day today.」と英語で表示される。また、出力制御部40は、「文書2Jを画面Jに表示させる」という処理種別に従って、画面同期制御部40bを起動し、画面Jに文書2Jの内容を表示させる。この結果、画面Jには、「今日は良い天気です。」と日本語で表示される。
【0080】
このように、画面同期制御部40bを設け、画面E及び画面Jでの参照表示を連動させることにより、画面Jのハイパーリンク72をクリックしただけで、画面Jの参照先を指定することが可能となるとともに、画面Eの参照先も指定することが可能となり、画面E及び画面Jに表示される内容を互いに一致させる制御を行うことが可能となる。
【0081】
次に、本発明の第3実施例に係わる画面制御処理について説明する。この第3実施例は、ハイパーリンクの参照先の文書の種別を自動的に判定して、画面制御を行うようにしたものである。ここでは、ハイパーリンク先の文書が英語文書であることが保証されておらず、英語文書または日本語文書のいずれか不明の場合の英日対訳画面制御方法について説明する。
【0082】
図15は、本発明の一実施例に係わる言語種別判定方法を示す図である。図15において、言語種別判定部39aは、データ取得部36によって得られた文書データ中の文字列を入力とし、この文書データの言語種別を出力とする。例えば、言語種別判定部39aに、”This is a pen.”という文が入力されると、この文の言語種別の判定結果として、英語と出力とする。言語種別判定部39aに、”これはペンです。”という文が入力されると、この文の言語種別の判定結果として、日本語と出力とする。
【0083】
この例のように、対象言語が英語と日本語しかない場合、文字列中に含まれる1バイト文字と2バイト文字の比率から言語種別を判定することができる。すなわち、文書データ中の2バイト文字の含有率が20%以上の文書を日本語とし、それ未満の文書を英語とすることにより、文書の言語種別を判定することができる。また、文字コードから判定できない言語対の場合、辞書検索を行うことにより、文書の言語種別を判定することができる。
【0084】
このように、言語種別判定部39aを設けることにより、ハイパーリンクの参照先が異なった種類の文書であっても、画面の文書種別に対する固有性を保証することができる。
【0085】
図16は、本発明の第3実施例に係わる画面制御処理を示すフローチャートである。図16において、入力部31は、操作者からの入力を受け付ける(ステップS41)。
【0086】
次に、処理種別判定部34は、入力部31が受け付けた入力及び入力制御部33により監視される画面E、J、K、・・・の表示種別を検索キーとして、処理種別定義ファイル35を検索する(ステップS42)。
【0087】
次に、処理種別判定部34は、処理種別定義ファイル35の検索結果を元に処理種別を判定する(ステップS43)。次に、データ取得部36は、処理種別判定部34により判定された処理種別に従って、外部データ37を取得する(ステップS44)。
【0088】
次に、言語種別判定部39aは、データ取得部36により取得された外部データ37のデータ種別を判定する(ステップS45)。次に、変換処理制御部39は、外部データ37のデータ種別の判定結果に基づいて、処理種別定義ファイル35を検索し、変換処理が必要であるかどうかを判定する(ステップS46)。変換処理が必要な場合には、処理種別に対応した変換装置38a〜38cを起動し、変換処理を行う(ステップS47)。
【0089】
次に、出力制御部40は、入力制御部33により監視される画面E、J、K、・・・の表示種別に基づいて、データ取得部36により取得された外部データ37、または変換処理部38により変換された変換データを表示する画面E、J、K、・・・を決定する(ステップS48)。
【0090】
次に、出力制御部40は、データ取得部36により取得された外部データ37、または変換処理部38により変換された変換データを表示部32に出力し、決定した画面E、J、K、・・・に表示させる(ステップS49)。
【0091】
次に、本発明の第4実施例に係わる画面制御処理について説明する。図17(a)は、第4実施例における英文書の表示例を示す図である。図17(a)において、画面E及び画面Jが左右に並べて生成されている。画面Eは、英語で記述されたデータを表示する画面である。この画面Eには、例えば、「There is a book on the table.Andthere are pens on the floor.」と書かれた文書1Eが表示されている。画面Jは、日本語で記述されたデータを表示する画面である。この画面Jには、何も表示されていない。
【0092】
文書1Eは、文書2Eへのハイパーリンク71を含んでおり、このハイパーリンク71が、文書1Eの「pens」の位置に斜線で表示されている。ハイパーリンク71は、英語で書かれた文書2Eを指し示している。
【0093】
この画面状態で、操作者が、文書1Eのハイパーリンク71を画面E上でクリックすることによって辿ったとする。すると、データ取得部36は、外部データ37から、文書2Eを取り出す。そして、処理種別として、文書2Eを画面Eに表示し、文書2Jを画面Jに表示するという処理が指示されたとする。この実施例では、出力制御部40は、処理種別判定部34からの指示を実行する前に、画面表示状態管理テーブル33aを参照する。この画面表示状態管理テーブル33aは、画面E、J、K、・・・が表示されているかどうかを管理するものである。図17(b)は、画面表示状態管理テーブル33aの内容例を示す図である。
【0094】
図17(b)において、画面表示状態管理テーブル33aの内容は、画面Eは表示中、画面Jは非表示中となっている。このため、現在の表示状態では、画面Eには、英語の文書1Eが表示され、画面Jには、日本語の文書1Jが表示されていないことがわかる。画面Eには、文書1Eが表示されているので、文書2Eが画面Eに表示される。一方、画面Jには、文書1Jが表示されていないので、まず、画面Jに、文書1Jを表示させてから、文書2Jを表示させる。
【0095】
図17(c)は、英日対訳文書の表示例を示す図である。図17(c)において、画面Jには、文書1Jが表示されている。すなわち、画面Jには、文書1Eの英日翻訳結果として、「テーブルの上に本があります。また、床にはペンがあります。」と書かれた文書1Jが表示される。
【0096】
このように、画面Jに文書1Jを表示させてから、文書2Jを表示することにより、参照元と参照先の英日の対訳を表示させることができる。図18は、本発明の第4実施例に係わる画面制御処理を示すフローチャートである。
【0097】
図18において、処理種別判定部34は、入力部31が受け付けた入力及び入力制御部33により監視される画面E、J、K、・・・の表示種別を検索キーとして、処理種別定義ファイル35を検索する(ステップS51)。
【0098】
次に、処理種別判定部34は、処理種別定義ファイル35の検索結果を元に処理種別を判定する(ステップS52)。次に、データ取得部36は、処理種別判定部34により判定された処理種別に従って、外部データ37を取得する(ステップS53)。
【0099】
次に、変換処理制御部39は、取得された外部データ37に対し、変換処理が必要であるかどうかを処理種別に基づいて判定する(ステップS54)。変換処理が必要な場合には、処理種別に対応した変換装置38a〜38cを起動し、変換処理を行う(ステップS55)。
【0100】
次に、出力制御部40は、入力制御部33により監視される画面E、J、K、・・・の表示種別に基づいて、データ取得部36により取得された外部データ37、または変換処理部38により変換された変換データを表示する画面E、J、K、・・・を決定する(ステップS56)。
【0101】
次に、出力制御部40は、表示状態管理テーブル33aの内容に基づいて、出力用の画面E、J、K、・・・が存在するかどうかを判定する(ステップS57)。出力用の画面E、J、K、・・・が存在しない場合には、画面生成部40aを起動し、新たな画面E、J、K、・・・を作成する(ステップS58)。
【0102】
次に、出力制御部40は、データ取得部36により取得された外部データ37、または変換処理部38により変換された変換データを表示部32に出力し、決定した画面E、J、K、・・・に表示させる(ステップS59)。
【0103】
次に、本発明の第5実施例に係わる画面制御処理について説明する。この第5実施例は、表示順序制御部40cを設けることにより、文書データの画面E、J、K、・・・での表示順序を制御するようにしたものである。例えば、操作者が図14(a)のハイパーリンク72を参照した結果として、図14(c)の文書2E及び文書2Jを表示させる場合を例にとる。ここで、文書2Eを画面Eに表示させるために、外部の高速回線を介して外部データ37を取得する必要があるものとする。また、文書2Jを得るために、英日翻訳を行う必要があるものとする。この場合、表示順序定義テーブル42を参照することにより、文書2E及び文書2Jの出力順序を決定する。
【0104】
図19は、本発明の一実施例に係わる表示順序定義テーブル42の内容例を示す図である。図19において、処理内容として、キャッシュからのデータの取得、ハードディスクからのデータの取得、高速回線を介した外部データの取得、キャッシュからのデータの取得+機械翻訳処理、電話回線を介した外部データの取得があるものとする。これらの処理内容に対し、処理時間の短い順序で優先度を与える。この結果、キャッシュからのデータの取得が優先度1、ハードディスクからのデータの取得が優先度2、高速回線を介した外部データの取得が優先度3、キャッシュからのデータの取得+機械翻訳処理が優先度4、電話回線を介した外部データの取得が優先度5となっている。
【0105】
この表示順序定義テーブル42の内容から、文書2Eの内容の取り寄せの優先度が3、文書2Jを作成する優先度が4となり、文書2Eの内容を取り寄せる方が、文書2Jを作成することよりも、優先度が高いことがわかる。このため、出力制御部40は、表示部32への文書2Eの出力を、文書2Jの出力よりも優先して行う。
【0106】
なお、文書2Eの内容を電話回線を介して取得する場合には、文書2Eの内容を取り寄せる方が、文書2Jを作成することよりも、優先度が低くなり、文書2Jの出力の方が、文書2Eの出力よりも優先される。
【0107】
図20は、本発明の第5実施例に係わる画面制御処理を示すフローチャートである。図20において、処理種別判定部34は、入力部31が受け付けた入力及び入力制御部33により監視される画面E、J、K、・・・の表示種別を検索キーとして、処理種別定義ファイル35を検索する(ステップS61)。
【0108】
次に、処理種別判定部34は、処理種別定義ファイル35の検索結果を元に処理種別を判定する(ステップS62)。次に、処理種別判定部34は、表示順序定義テーブル42の内容を元に処理順序を決定する(ステップS63)。
【0109】
次に、データ取得部36は、処理種別判定部34により判定された処理種別に従って、外部データ37を取得を開始する(ステップS64)。次に、変換処理制御部39は、取得された外部データ37に対し、変換処理が必要であるかどうかを処理種別に基づいて判定する(ステップS65)。変換処理が必要な場合には、処理種別に対応した変換装置38a〜38cを起動し、変換処理を行う(ステップS66)。
【0110】
次に、出力制御部40は、入力制御部33により監視される画面E、J、K、・・・の表示種別に基づいて、データ取得部36により取得された外部データ37、または変換処理部38により変換された変換データを表示する画面E、J、K、・・・を決定する(ステップS67)。
【0111】
次に、出力制御部40は、データ取得部36により取得された外部データ37、または変換処理部38により変換された変換データを、優先度の高いものから表示部32に出力し、画面E、J、K、・・・に表示させる(ステップS68)。
【0112】
次に、本発明の第6実施例に係わる画面制御処理について説明する。この第6実施例では、変換処理部27に変換処理を行わせる前に、表示順序定義テーブル42を参照し、変換対象となるデータの取り寄せに時間がかかるかどうを判定する。そして、変換対象となるデータの取り寄せに時間がかかる場合、取り寄せられた一部のデータについて、変換処理を開始する。例えば、文書2Eのデータを外部から取り寄せ、文書2Eのデータに英日機械翻訳をかけることにより、文書2Jを得るものとする。ここで、文書2Eのデータの取り寄せに時間がかかるものとする。この場合、文書2Eの内容を1文ずつ取り寄せる毎に、翻訳処理を実行する。翻訳処理を行う際に意味のある最小単位が文であるので、文単位で翻訳処理をかけることにより、文書2E全体が取り寄せられるまで待機することなく、翻訳処理を効率的に行うことが可能となる。また、2文や3文など複数文をまとめて翻訳にかけるようにしてもよい。
【0113】
このように、取り寄せられた一部のデータに対して翻訳処理を開始することにより、文書2Eのデータの取得と文書2Eの翻訳処理とを並列に行うことが可能となり、文書2E全体のデータの取得が完了するまで、文書2Eの翻訳処理を待機させる必要がなくなることから、文書2Eの翻訳結果の出力を迅速に行うことが可能となる。
【0114】
図21は、本発明の第6実施例に係わる画面制御処理を示すフローチャートである。図21において、処理種別判定部34は、入力部31が受け付けた入力及び入力制御部33により監視される画面E、J、K、・・・の表示種別を検索キーとして、処理種別定義ファイル35を検索する(ステップS71)。
【0115】
次に、処理種別判定部34は、処理種別定義ファイル35の検索結果を元に処理種別を判定する(ステップS72)。次に、データ取得部36は、表示順序定義テーブル42を参照し、外部データ37の取り寄せに時間がかかる場合、外部データ37を部分的に取得する(ステップS73)。
【0116】
次に、変換処理制御部39は、取り寄せられた外部データ37に対し、変換処理が必要であるかどうかを処理種別に基づいて判定する(ステップS74)。変換処理が必要な場合には、処理種別に対応した変換装置38a〜38cを起動し、変換処理を行う(ステップS75)。
【0117】
次に、外部データ37の取得が終了したかどうかを判断し、外部データ37の取得が終了していない場合、ステップS73に戻り、外部データ37の取得を続ける(ステップS76)。
【0118】
次に、出力制御部40は、入力制御部33により監視される画面E、J、K、・・・の表示種別に基づいて、データ取得部36により取得された外部データ37、または変換処理部38により変換された変換データを表示する画面E、J、K、・・・を決定する(ステップS77)
次に、出力制御部40は、データ取得部36により取得された外部データ37、または変換処理部38により変換された変換データを表示部32に出力し、決定した画面E、J、K、・・・に表示させる(ステップS78)。
【0119】
次に、本発明の第7実施例に係わる画面制御処理について説明する。この第7実施例では、機械翻訳の対訳画面と同様に、表示される言語ごとの画面E、J、K、・・・を用意する。また、文字コード対応表41を設ける。文字コード対応表41には、各画面E、J、K、・・・ごとの文字コードを規定している。この文字コード対応表41により、それぞれの画面E、J、K、・・・を開く際の文字コードを自動的に設定することができる。
【0120】
図22は、本発明の一実施例に係わる文字コード対応表41の内容例を示す図である。図22において、文字コード対応表41には、英語の画面Eと日本語の画面Jのそれぞれについて、文字コードが規定されている。例えば、画面Eについては、文字コードとしてラテン1型、画面Jについては、文字コードとして日本語自動識別と規定されている。出力制御部40は、この文字コード対応表41を参照し、画面Eを開く場合は、文字コードをラテン1型に設定し、画面Jを開く場合は、文字コードを日本語自動識別に設定する。
【0121】
図23は、本発明の第7実施例に係わる画面制御処理を示すフローチャートである。図23において、出力制御部40は、文字コード対応表41を参照することにより、開くべき画面E、J、K、・・・の文字コードを判定し(ステップS81)、画面E、J、K、・・・を開く(ステップS82)。
【0122】
次に、処理種別判定部34は、入力部31が受け付けた入力及び入力制御部33により監視される画面E、J、K、・・・の表示種別を検索キーとして、処理種別定義ファイル35を検索する(ステップS83)。
【0123】
次に、処理種別判定部34は、処理種別定義ファイル35の検索結果を元に処理種別を判定する(ステップS84)。次に、データ取得部36は、処理種別判定部34により判定された処理種別に従って、外部データ37を取得する(ステップS85)。
【0124】
次に、変換処理制御部39は、取得された外部データ37に対し、変換処理が必要であるかどうかを処理種別に基づいて判定する(ステップS86)。変換処理が必要な場合には、処理種別に対応した変換装置38a〜38cを起動し、変換処理を行う(ステップS87)。
【0125】
次に、出力制御部40は、入力制御部33により監視される画面E、J、K、・・・の表示種別に基づいて、データ取得部36により取得された外部データ37、または変換処理部38により変換された変換データを表示する画面E、J、K、・・・を決定する(ステップS88)。
【0126】
次に、出力制御部40は、データ取得部36により取得された外部データ37、または変換処理部38により変換された変換データを表示部32に出力する。そして、決定した画面E、J、K、・・・に対し、文字コード対応表41で規定された文字コードで表示させる(ステップS89)。
【0127】
次に、本発明の第8実施例に係わる画面制御処理について説明する。第8実施例では、英日対訳文書を表示する画面E、J、K、・・・が重なっているために、ハイパーリンクが他の画面E、J、K、・・・の下に隠れている場合、画面E、J、K、・・・での表示位置を調節することにより、隠れているハイパーリンクが見えるようにする。
【0128】
図24(a)は、文書の表示位置の調整前の英日対訳文書の表示例を示す図である。図24(a)において、画面Jの上に画面Eが生成され、画面Jの一部が画面Eと重なっている。この画面Eは、英語で記述されたデータを表示する画面である。この画面Eには、例えば、「There is a book on the table.And there are pens on the floor.」と書かれた文書1Eが表示されている。画面Jは、日本語で記述されたデータを表示する画面である。この画面Jには、文書1Eの英日翻訳結果として、「テーブルの上に本があります。また、床にはペンがあります。」と書かれた文書1Jが表示される。ここで、文書1Eが文書1Jの上に重なっているいるため、文書1Jの内容の一部が見えなくなっている。
【0129】
文書1Eは、文書2Eへのハイパーリンク71を含んでおり、このハイパーリンク71が、文書1Eの「pens」の位置に斜線で表示されている。ハイパーリンク71は、英語で書かれた文書2Eを指し示している。
【0130】
文書1Eが文書1Jに翻訳されると、文書2Eへのハイパーリンク71は文書1Jにそのまま保存され、文書1J中の対応する位置に文書2Eへのハイパーリンク72が埋め込まれる。ここで、画面Jの一部が画面Eの下に隠れているため、文書1J中の「ペン」の位置に表示されているハイパーリンク72が見えなくなっている。このため、文書1Jの表示位置を変えることにより、ハイパーリンク72が見えるようにする。
【0131】
図24(b)は、文書の表示位置の調整後の英日対訳文書の表示例を示す図である。図24(b)において、「テーブルの上に本があります。また、床にはペンがあります。」という文書1Jの文章全体の表示位置を上方にずらすことにより、ハイパーリンク72が見えるようにしている。
【0132】
図25は、本発明の第8実施例に係わる画面制御処理を示すフローチャートである。図25において、処理種別判定部34は、入力部31が受け付けた入力及び入力制御部33により監視される画面E、J、K、・・・の表示種別を検索キーとして、処理種別定義ファイル35を検索する(ステップS91)。
【0133】
次に、処理種別判定部34は、処理種別定義ファイル35の検索結果を元に処理種別を判定する(ステップS92)。次に、データ取得部36は、処理種別判定部34により判定された処理種別に従って、外部データ37を取得する(ステップS93)。
【0134】
次に、変換処理制御部39は、取得された外部データ37に対し、変換処理が必要であるかどうかを処理種別に基づいて判定する(ステップS94)。変換処理が必要な場合には、処理種別に対応した変換装置38a〜38cを起動し、変換処理を行う(ステップS95)。
【0135】
次に、出力制御部40は、入力制御部33により監視される画面E、J、K、・・・の表示種別に基づいて、データ取得部36により取得された外部データ37、または変換処理部38により変換された変換データを表示する画面E、J、K、・・・を決定する(ステップS96)。
【0136】
次に、出力制御部40は、データ取得部36により取得された外部データ37、または変換処理部38により変換された変換データを表示部32に出力し、決定した画面E、J、K、・・・に表示させる(ステップS97)。
【0137】
次に、出力制御部40は、画面E、J、K、・・・の下にハイパーリンク71、72が隠れているかどうかを判定する(ステップS98)。ハイパーリンク71、72が隠れている場合には、ハイパーリンク71、72が含まれている文書1E、1Jの表示位置をずらすことにより、ハイパーリンク71、72が見えるようにする(ステップS99)。
【0138】
次に、本発明の第9実施例に係わる画面制御処理について説明する。図26は、英日対訳文書におけるハイパーリンクの第1の表示例を示す図である。
図26において、画面E及び画面Jが左右に並べて生成されている。画面Eは、英語で記述されたデータを表示する画面である。この画面Eには、例えば、「There is a book on the table.And there are pens on the floor.」と書かれた文書1Eが表示されている。文書1Eは、文書2Eへのハイパーリンク71を含んでおり、このハイパーリンク71が、文書1Eの「pens」の位置に斜線で表示されている。ハイパーリンク71は、英語で書かれた文書2Eを指し示している。
【0139】
画面Jは、日本語で記述されたデータを表示する画面である。この画面Jには、文書1Eの英日翻訳結果が表示されるが、文書1Eの翻訳に失敗したため、文書1Eの英日翻訳結果が得られなかったものとする。この場合、ハイパーリンク71に対応する文字列“pens”を文書1Eから抜き出す。そして、この文字列“pens”のみを英日翻訳する。文字列“pens”の英日翻訳に成功すると、英日翻訳の結果得られた文字列「ペン」を、文書2Eへのハイパーリンク72として画面Jに貼り付ける。 図27は、本発明の第9実施例に係わる画面制御処理を示すフローチャートである。
【0140】
図27において、処理種別判定部34は、入力部31が受け付けた入力及び入力制御部33により監視される画面E、J、K、・・・の表示種別を検索キーとして、処理種別定義ファイル35を検索する(ステップS101)。
【0141】
次に、処理種別判定部34は、処理種別定義ファイル35の検索結果を元に処理種別を判定する(ステップS102)。次に、データ取得部36は、処理種別判定部34により判定された処理種別に従って、外部データ37を取得する(ステップS103)。
【0142】
次に、変換処理制御部39は、取得された外部データ37に対し、変換処理が必要であるかどうかを処理種別に基づいて判定する(ステップS104)。変換処理が必要な場合には、処理種別に対応した変換装置38a〜38cを起動し、変換処理を行う(ステップS105)。
【0143】
次に、変換処理制御部39は、外部データ37の変換が成功したかどうかを判定する(ステップS106)。外部データ37の変換に失敗した場合、変換処理制御部39は、取得された外部データ37の中から、パイパーリンク71に対応する文字列だけを抜き出す。そして、処理種別に対応した変換装置38a〜38cを起動し、パイパーリンク71の変換処理を行う(ステップS107)。
【0144】
次に、出力制御部40は、入力制御部33により監視される画面E、J、K、・・・の表示種別に基づいて、データ取得部36により取得された外部データ37、またはパイパーリンク71の変換結果を表示する画面E、J、K、・・・を決定する(ステップS108)
次に、出力制御部40は、データ取得部36により取得された外部データ37、またはパイパーリンク71の変換結果を表示部32に出力し、決定した画面E、J、K、・・・に表示させる(ステップS109)。
【0145】
図28は、英日対訳文書におけるハイパーリンクの第2の表示例を示す図である。図28において、画面E及び画面Jが左右に並べて生成されている。画面Eは、英語で記述されたデータを表示する画面である。この画面Eには、例えば、「There is a book on the table.And there are pens on the floor.」と書かれた文書1Eが表示されている。文書1Eは、文書2Eへのハイパーリンク71を含んでおり、このハイパーリンク71が、文書1Eの「pens」の位置に斜線で表示されている。ハイパーリンク71は、英語で書かれた文書2Eを指し示している。
【0146】
画面Jは、日本語で記述されたデータを表示する画面である。この画面Jには、文書1Eの英日翻訳結果が表示されるが、文書1Eの翻訳に失敗したため、文書1Eの英日翻訳結果が得られなかったものとする。この場合、ハイパーリンク71に対応する文字列“pens”を文書1Eから抜き出す。そして、この文字列“pens”のみを英日翻訳する。ここで、この文字列“pens”の英日翻訳にも失敗した場合、ハイパーリンク71に対応する文字列“pens”をそのまま文書2Eへのハイパーリンク72として画面Jに貼り付ける。
【0147】
図29は、本発明の第10実施例に係わる画面制御処理を示すフローチャートである。図29において、処理種別判定部34は、入力部31が受け付けた入力及び入力制御部33により監視される画面E、J、K、・・・の表示種別を検索キーとして、処理種別定義ファイル35を検索する(ステップS111)。
【0148】
次に、処理種別判定部34は、処理種別定義ファイル35の検索結果を元に処理種別を判定する(ステップS112)。次に、データ取得部36は、処理種別判定部34により判定された処理種別に従って、外部データ37を取得する(ステップS113)。
【0149】
次に、変換処理制御部39は、取得された外部データ37に対し、変換処理が必要であるかどうかを処理種別に基づいて判定する(ステップS114)。変換処理が必要な場合には、処理種別に対応した変換装置38a〜38cを起動し、変換処理を行う(ステップS115)。
【0150】
次に、変換処理制御部39は、外部データ37の変換が成功したかどうかを判定する(ステップS116)。外部データ37の変換が失敗した場合、変換処理制御部39は、取得された外部データ37の中から、パイパーリンク71に対応する文字列だけを抜き出す。そして、処理種別に対応した変換装置38a〜38cを起動し、パイパーリンク71の変換処理を行う(ステップS117)。
【0151】
次に、変換処理制御部39は、パイパーリンクの変換が成功したがどうかを判定する(ステップS118)。パイパーリンクの変換が失敗した場合、変換処理制御部39は、変換前のパイパーリンク71を複写する(ステップS119)。
【0152】
次に、出力制御部40は、入力制御部33により監視される画面E、J、K、・・・の表示種別に基づいて、データ取得部36により取得された外部データ37、または変換前のパイパーリンク71を表示する画面E、J、K、・・・を決定する(ステップS120)。
【0153】
次に、出力制御部40は、データ取得部36により取得された外部データ37、または変換前のパイパーリンク71を表示部32に出力し、決定した画面E、J、K、・・・に表示させる(ステップS121)。
【0154】
次に、本発明の第11実施例に係わる画面制御処理について説明する。この第11実施例では、一方の画面上での表示内容と、他方の画面上での表示内容とを連動させて変化させるようにしたものである。例えば、一方の画面のスクロールに対応させて、一方の画面のスクロールを自動的に行う。また、文書を編集する場合において、一方の画面上での文書の編集内容に対応させて、他方の画面上での文書の編集を自動的に行うようにしても良い。例えば、一方の文書の指定された領域の文が、指定された位置に移動(または複写)された場合、他方の文書の対応する文を対応する位置に自動的に移動(または複写)させるようにしてもよい。また、一方の文書の指定された領域の文が削除された場合、他方の文書の対応する領域の文を自動的に削除するようにしてもよい。さらに、編集作業を行うことにより、一方の画面の文書の内容が変更された場合、その変更された部分についてだけ翻訳処理をやり直して、他方の画面に表示させるようにしても良い。
【0155】
以下、複数の画面でスクロールを連動させる場合について説明する。図30(a)は、スクロール前の英日対訳文書の表示例を示す図である。図30(a)において、画面E及び画面Jが左右に並べて生成されている。画面Eは、英語で記述されたデータを表示する画面である。この画面Eには、例えば、「Thereis a book on the table.Andthere are pens on the floor.」と書かれた文書1Eが表示されるが、文書1Eの一部が画像端にかかっているため、「thefloor.」が見えなくなっている。
【0156】
画面Jは、日本語で記述されたデータを表示する画面である。この画面Jには、文書1Eの英日翻訳結果として、「テーブルの上に本があります。また、床にはペンがあります。」と書かれた文書1Jが表示されるが、文書1Jの一部が画像端にかかっているため、「あります。」が見えなくなっている。 文書1Eは、文書2Eへのハイパーリンク71を含んでおり、このハイパーリンク71が、文書1Eの「pens」の位置に斜線で表示されている。ハイパーリンク71は、英語で書かれた文書2Eを指し示している。
【0157】
文書1Eが文書1Jに翻訳されると、文書2Eへのハイパーリンク71は文書1Jにそのまま保存され、文書1J中の対応する位置に文書2Eへのハイパーリンクが埋め込まれる。このため、文書1J中の「ペン」の位置に文書2Eへのハイパーリンク72が斜線で表示されている。
【0158】
対訳関係にある画面E及び画面Jの右端には、それぞれスクロールバー81、82が付加されている。このスクロールバー81、82を操作することにより、それぞれの画面E及び画面Jをスクロールさせることができる。ここで、画面E及と画面Jとでスクロールを連動させることにより、一方の画面の表示部分の変化に追従させて、他方の画面の表示部分を変化させることができる。例えば、文書1Jがスクロールされた場合、対応する文書1Eも、同じ分量だけ自動的にスクロールさせる。
【0159】
図30(b)は、スクロール後の英日対訳文書の表示例を示す図である。図30(b)において、画面Eの文書1Eをスクロールさせた結果、「There is a book on the table.And thereare pens on the floor.」と書かれた文書1E全体が、途中で途切れることなく画面Eに表示される。また、文書1Eのスクロールに連動させて、画面Jの文書1Jをスクロールさせた結果、「テーブルの上に本があります。また、床にはペンがあります。」と書かれた文書1J全体が、途中で途切れることなく画面Jに表示される。
【0160】
このように、一方の画面のスクロールに連動させて、他方の画面のスクロールを自動的に行うことにより、両画面に表示される内容の対応関係を一致させながら、文書の閲覧を行うことが可能となる。
【0161】
次に、本発明の第12実施例に係わる画面制御処理について説明する。この第12実施例では、ハイパーリンクの参照記録を画面上に表示させることにより、ハイパーリンクの参照履歴を容易に認識できるようにしたものである。
【0162】
図31は、英日対訳文書におけるハイパーリンクの第3の表示例を示す図である。図31において、画面E及び画面Jが左右に並べて生成されている。画面Eは、英語で記述されたデータを表示する画面である。この画面Eには、例えば、「There is a book on the table.And there are pens on the floor.」と書かれた文書1Eが表示されている。画面Jは、日本語で記述されたデータを表示する画面である。この画面Jには、文書1Eの英日翻訳結果として、「テーブルの上に本があります。また、床にはペンがあります。」と書かれた文書1Jが表示されている。
【0163】
文書1Eは、文書2Eへのハイパーリンク91を含んでおり、このハイパーリンク91が、文書1Eの「pens」の位置に表示されている。ハイパーリンク91は、英語で書かれた文書2Eを指し示している。また、ハイパーリンク91は、以前に参照されたことがあるものとすると、参照記録表示が付加される。この実施例では、参照記録表示として、ハイパーリンク91が網掛け(または格子模様)で強調表示されている。
【0164】
文書1Eが文書1Jに翻訳されると、文書2Eへのハイパーリンク91は文書1Jにそのまま保存され、文書1J中の対応する位置に文書2Eへのハイパーリンク92が埋め込まれる。このため、文書1J中の「ペン」の位置に文書2Eへのハイパーリンク92が表示されている。ここで、以前に参照されたハイパーリンク91を含む文書1Eを翻訳して文書1Jを得る場合には、ハイパーリンク91の参照記録を保存したまま、文書1Jにハイパーリンク92を埋め込むようにする。この結果、文書1Jに埋め込まれたハイパーリンク92についても、参照記録表示として、網掛け(または格子模様)で強調表示される。図32は、本発明の一実施例に係わる参照記録表示処理を示すフローチャートである。
【0165】
図32において、入力された元の文書を文単位に分解し(ステップS131)、参照記録がどの文のどの単語に対応しているかを判断する(ステップS132)。
【0166】
次に、入力された元の文書から文を1つ取り出し(ステップS133)、取り出した文と、その文に含まれる参照記録を持った単語の位置情報とを機械翻訳に渡す(ステップS134)。例えば、“This is a book”という原文の“book”の部分に参照記録があったとすると、“This is abook”という原文と、“book”の部分に参照記録があるという情報とが機械翻訳に渡される。
【0167】
次に、機械翻訳により、参照記録付きの訳文を得る(ステップS135)。例えば、機械翻訳では、“This is a book”という原文に対応させて、「これは本です。」という訳文を生成する。そして、“book”の部分に参照記録があるという情報に基づいて、“book”に対応する「本」の部分に、参照記録を埋め込む。、機械翻訳が元の文書の最後の文まで終わったら(ステップS136)、参照記録付きの訳文を組み立てて文書を作成する(ステップS137)。
【0168】
図33は、英日対訳文書におけるハイパーリンクの第4の表示例を示す図である。図33において、画面E及び画面Jが左右に並べて生成されている。画面Eは、英語で記述されたデータを表示する画面である。この画面Eには、例えば、「There is a book on the table.And there are pens on the floor.」と書かれた文書1Eが表示されている。
【0169】
文書1Eは、文書2Eへのハイパーリンク101を含んでおり、このハイパーリンク101が、文書1Eの「pens」の位置に表示されている。ハイパーリンク101は、英語で書かれた文書2Eを指し示している。ここで、オペレータにより、画面Eへの入力があった場合、ハイパーリンク101の参照記録の表示方法が変更される。この結果、ハイパーリンク101が横線で表示される。
【0170】
画面Jは、日本語で記述されたデータを表示する画面である。この画面Jには、文書1Eの英日翻訳結果として、「テーブルの上に本があります。また、床にはペンがあります。」と書かれた文書1Jが表示されている。文書1Eが文書1Jに翻訳されると、文書2Eへのハイパーリンク71は文書1Jにそのまま保存され、文書1J中の対応する位置に文書2Eへのハイパーリンクが埋め込まれる。ここで、画面Jへの入力がない場合、文書1J中の「ペン」の位置に文書2Eへのハイパーリンク72が斜線で表示される。
【0171】
次に、本発明の第12実施例に係わる画面制御処理について説明する。この第12実施例では、一方の画面と他方の画面とで、ハイパーリンクの表示される垂直方向位置が異なる場合、行間隔を変更することにより、ハイパーリンクの垂直方向位置を揃えるようにしたものである。
【0172】
図34(a)は、ハイパーリンクの垂直方向位置の統一前の英日対訳文書の第1の表示例を示す図である。図34(a)において、画面E及び画面Jが左右に並べて生成されている。画面Eは、英語で記述されたデータを表示する画面である。この画面Eには、例えば、「There is a book on the table.Andthere are pens on the floor.」と書かれた文書1Eが表示されている。ここで、画面Eに表示される文書1Eの行間隔が狭くされ、画面Eに表示されている文章の後に空白が生成されている。
【0173】
画面Jは、日本語で記述されたデータを表示する画面である。この画面Jには、文書1Eの英日翻訳結果として、「テーブルの上に本があります。また、床にはペンがあります。」と書かれた文書1Jが表示されている。
【0174】
文書1Eは、文書2Eへのハイパーリンク71を含んでおり、このハイパーリンク71が、文書1Eの「pens」の位置に斜線で表示されている。ハイパーリンク71は、英語で書かれた文書2Eを指し示している。
【0175】
文書1Eが文書1Jに翻訳されると、文書2Eへのハイパーリンク71は文書1Jにそのまま保存され、文書1J中の対応する位置に文書2Eへのハイパーリンクが埋め込まれる。このため、文書1J中の「ペン」の位置に文書2Eへのハイパーリンク72が斜線で表示されている。
【0176】
ここで、画面Eに表示されているハイパーリンク71と、画面Jに表示されているハイパーリンク72との垂直方向位置がずれている。このため、ハイパーリンク71とハイパーリンク72との対比させる場合、画面J全体を見回すことにより、ハイパーリンク71に対応するハイパーリンク72を探す必要があり、ハイパーリンク71、72の対比が煩わしくなる。
【0177】
図34(b)は、ハイパーリンクの垂直方向位置の統一後の英日対訳文書の第1の表示例を示す図である。図34(b)において、「There is a book on thetable.And there are pens on the floor.」と書かれた文章全体を画面Eの下の方向にずらすことにより、画面Eに表示されているハイパーリンク71と、画面Jに表示されているハイパーリンク72との垂直方向位置が一致するようにしている。この結果、ハイパーリンク71に対応するハイパーリンク72の表示位置を容易に予測することが可能となるので、ハイパーリンク71とハイパーリンク72との対比を迅速に行うことが可能となる。
【0178】
なお、行間隔を変更する方法のほかに、文字間隔や文字サイズや改行位置を変更することにより、文章の表示位置を制御してもよい。次に、本発明の第13実施例に係わる画面制御処理について説明する。この第13実施例では、一方の画面と他方の画面とで、ハイパーリンクの表示される垂直方向位置が異なる場合、片方の画面をスクロールさせることにより、ハイパーリンクの垂直方向位置を揃えるようにしたものである。
【0179】
図35(a)は、ハイパーリンクの垂直方向位置の統一前の英日対訳文書の第2の表示例を示す図である。図35(a)において、画面E及び画面Jが左右に並べて生成されている。画面Eは、英語で記述されたデータを表示する画面である。この画面Eには、例えば、「There is a book on the table.Andthere are pens on the floor.」と書かれた文書1Eが表示されている。
【0180】
画面Jは、日本語で記述されたデータを表示する画面である。この画面Jには、文書1Eの英日翻訳結果として、「テーブルの上に本があります。また、床にはペンがあります。」と書かれた文書1Jが表示されている。
【0181】
文書1Eは、文書2Eへのハイパーリンク71を含んでおり、このハイパーリンク71が、文書1Eの「pens」の位置に斜線で表示されている。ハイパーリンク71は、英語で書かれた文書2Eを指し示している。
【0182】
文書1Eが文書1Jに翻訳されると、文書2Eへのハイパーリンク71は文書1Jにそのまま保存され、文書1J中の対応する位置に文書2Eへのハイパーリンクが埋め込まれる。このため、文書1J中の「ペン」の位置に文書2Eへのハイパーリンク72が斜線で表示されている。
【0183】
ここで、画面Eと画面Jのと位置が互いに垂直方向にずれているため、画面Eに表示されているハイパーリンク71と、画面Jに表示されているハイパーリンク72との垂直方向位置がずれている。このため、ハイパーリンク71とハイパーリンク72との対比させる場合、画面J全体を見回すことにより、ハイパーリンク71に対応するハイパーリンク72を探す必要があり、ハイパーリンク71、72の対比が煩わしくなる。
【0184】
図35(b)は、ハイパーリンクの垂直方向位置の統一後の英日対訳文書の第2の表示例を示す図である。図35(b)において、画面Jの文書1Jをスクロールさせることにより、画面Eに表示されているハイパーリンク71と、画面Jに表示されているハイパーリンク72との垂直方向位置が一致するようにしている。この結果、ハイパーリンク71に対応するハイパーリンク72の表示位置を容易に予測することが可能となるので、ハイパーリンク71とハイパーリンク72との対比を迅速に行うことが可能となる。
【0185】
なお、上述した実施例では、画面Jの文書1Jをスクロールさせることにより、画面Eに表示されているハイパーリンク71と、画面Jに表示されているハイパーリンク72との垂直方向位置を一致させるようにしたが、画面Eの文書1Eをスクロールさせることにより、画面Eに表示されているハイパーリンク71と、画面Jに表示されているハイパーリンク72との垂直方向位置を一致させるようにしてもよい。
【0186】
次に、本発明の第14実施例に係わる画面制御処理について説明する。この第14実施例では、一方の画面と他方の画面とで、ハイパーリンクの表示される水平方向位置が異なる場合、表示位置を変更することにより、ハイパーリンクの水平方向位置を揃えるようにしたものである。
【0187】
図36(a)は、ハイパーリンクの水平方向位置の統一前の英日対訳文書の表示例を示す図である。図36(a)において、画面E及び画面Jが左右に並べて生成されている。画面Eは、英語で記述されたデータを表示する画面である。この画面Eには、例えば、「There is a book on the table.Andthere are pens on the floor.」と書かれた文書1Eが表示されている。
【0188】
画面Jは、日本語で記述されたデータを表示する画面である。この画面Jには、文書1Eの英日翻訳結果として、「テーブルの上に本があります。また、床にはペンがあります。」と書かれた文書1Jが表示されている。
【0189】
文書1Eは、文書2Eへのハイパーリンク71を含んでおり、このハイパーリンク71が、文書1Eの「pens」の位置に斜線で表示されている。ハイパーリンク71は、英語で書かれた文書2Eを指し示している。
【0190】
文書1Eが文書1Jに翻訳されると、文書2Eへのハイパーリンク71は文書1Jにそのまま保存され、文書1J中の対応する位置に文書2Eへのハイパーリンクが埋め込まれる。このため、文書1J中の「ペン」の位置に文書2Eへのハイパーリンク72が斜線で表示されている。
【0191】
ここで、画面Eに表示されているハイパーリンク71と、画面Jに表示されているハイパーリンク72との水平方向位置がずれている。このため、ハイパーリンク71とハイパーリンク72との対比が煩わしくなる場合がある。
【0192】
図36(b)は、ハイパーリンクの水平方向位置の統一後の英日対訳文書の表示例を示す図である。図36(b)において、ハイパーリンク72が含まれている文の一部を水平方向にずらすことにより、画面Eに表示されているハイパーリンク71と、画面Jに表示されているハイパーリンク72との水平方向位置を一致させるようにしている。この結果、ハイパーリンク71に対応するハイパーリンク72の表示位置を容易に予測することが可能となるので、ハイパーリンク71とハイパーリンク72との対比を迅速に行うことが可能となる。
【0193】
なお、上述した実施例では、ハイパーリンク72が含まれている文の一部を水平方向にずらすことにより、画面Eに表示されているハイパーリンク71と、画面Jに表示されているハイパーリンク72との垂直方向位置を一致させるようにしたが、ハイパーリンク71が含まれている文の一部を水平方向にずらすことにより、画面Eに表示されているハイパーリンク71と、画面Jに表示されているハイパーリンク72との垂直方向位置を一致させるようにしてもよい。
【0194】
以上、本発明の一実施例について説明したが、本発明は上述した実施例に限定されることなく、本発明の技術的思想の範囲内で他の様々の変更が可能である。例えば、上述した実施例では、英日対訳画面を例に取って説明したが、ハイパーリンクの参照先に音声が含まれている場合は、英語の音声と日本語の音声とを交互に出力させるようにしてもよい。
【0195】
【発明の効果】
以上説明したように、本発明の一態様によれば、指定された表示画面の表示形態に基づいてハイパー文書データの処理種別を判定し、ハイパー文書データの参照先の文書データの変換制御を行うことにより、原文のハイパーリンクが訳文にそのまま埋め込まれ、原文に埋め込まれたハイパーリンクの参照先の文書が原文の言語で記述されている場合においても、訳文のハイパーリンクが参照された際に、そのハイパーリンクの参照先の文書を訳文に変換することが可能となるとともに、原文を表示させる画面と訳文を表示させる画面とを分けて表示させることが可能となり、異なる言語で記述された文書が同一画面上に入れ替わりに表示されることを防止することが可能となる。
【0196】
しかも、取得される文書データの処理時間に基づいて、文書データの出力順序を制御することにより、取得に時間がかかる文書データのために、短時間に取得される文書データの出力が遅れることを避けることが可能となり、文書データの出力を効率的に行うことが可能となる。
【0197】
また、本発明の一態様によれば、文書データの取得と文書データの変換処理とを並列に行うことにより、文書データ全体が取得されるまで、文書データの変換処理を待機させる必要がなくなり、文書データの変換結果の出力を迅速に行うことが可能となる。
【0198】
また、本発明の一態様によれば、ハイパー文書データの画面が重なっている場合に、ハイパーリンクが見えるように、ハイパー文書データの表示位置を制御することにより、参照先の文書データを容易に辿ることが可能となる。
【0199】
また、本発明の一態様によれば、ハイパー文書データの変換に失敗した場合、ハイパー文書データのハイパーリンクだけを変換して表示させることにより、ハイパーリンクの変換結果の対比を行うことが可能となり、参照先の文書データを容易に辿ることが可能となる。
【0200】
また、本発明の一態様によれば、ハイパー文書データ及びハイパーリンクの変換に失敗した場合、変換前のハイパーリンクを表示させることにより、ハイパー文書データの変換結果が得られない場合においても、参照先の文書データを対比画面上で辿ることが可能となる。
【図面の簡単な説明】
【図1】本発明の一実施例に係わる出力制御装置の構成を示すブロック図である。
【図2】本発明の一実施例に係わる出力制御方法の一例を示すブロック図である。
【図3】本発明の一実施例に係わる画面制御装置の構成を示すブロック図である。
【図4】本発明の第2実施例に係わる画面制御装置の構成を示すブロック図である。
【図5】本発明の一実施例に係わる画面制御処理を示すフローチャートである。
【図6】本発明の一実施例に係わる画面制御装置のシステム構成を示すブロック図である。
【図7】機械翻訳における画面制御処理を示すフローチャートである。
【図8】本発明に係わる変換処理の第1の実施例を示すフローチャートである。
【図9】本発明に係わる変換処理の第2実施例を示すフローチャートである。
【図10】本発明の一実施例に係わる画面表示制御処理を示すフローチャートである。
【図11】(a)は、英日対訳文書の表示例を示す図、(b)は、参照先文書の英日変換結果を示す図、(c)は、参照先文書の英日変換結果の第1の表示例を示す図である。
【図12】(a)は、入力情報の内容例を示す図、(b)は、処理種別定義ファイルの内容例を示す図、(c)は、処理種別情報の第1の内容例を示す図である。
【図13】本発明の第2実施例に係わる画面制御処理を示すフローチャートである。
【図14】(a)は、英日対訳文書の表示例を示す図、(b)は、処理種別情報の第2の内容例を示す図、(c)は、参照先文書の英日変換結果の第2の表示例を示す図である。
【図15】本発明の一実施例に係わる言語種別判定方法を示す図である。
【図16】本発明の第3実施例に係わる画面制御処理を示すフローチャートである。
【図17】(a)は、英文書の表示例を示す図、(b)は、画面表示状態管理テーブルの内容例を示す図、(c)は、英日対訳文書の表示例を示す図である。
【図18】本発明の第4実施例に係わる画面制御処理を示すフローチャートである。
【図19】本発明の一実施例に係わる表示順序定義テーブルの内容例を示す図である。
【図20】本発明の第5実施例に係わる画面制御処理を示すフローチャートである。
【図21】本発明の第6実施例に係わる画面制御処理を示すフローチャートである。
【図22】本発明の一実施例に係わる文字コード対応表の内容例を示す図である。
【図23】本発明の第7実施例に係わる画面制御処理を示すフローチャートである。
【図24】(a)は、文書の表示位置の調整前の英日対訳文書の表示例を示す図、(b)は、文書の表示位置の調整後の英日対訳文書の表示例を示す図である。
【図25】本発明の第8実施例に係わる画面制御処理を示すフローチャートである。
【図26】英日対訳文書におけるハイパーリンクの第1の表示例を示す図である。
【図27】本発明の第9実施例に係わる画面制御処理を示すフローチャートである。
【図28】英日対訳文書におけるハイパーリンクの第2の表示例を示す図である。
【図29】本発明の第10実施例に係わる画面制御処理を示すフローチャートである。
【図30】(a)は、スクロール前の英日対訳文書の表示例を示す図、(b)は、スクロール後の英日対訳文書の表示例を示す図である。
【図31】英日対訳文書におけるハイパーリンクの第3の表示例を示す図である。
【図32】本発明の一実施例に係わる参照記録表示処理を示すフローチャートである。
【図33】英日対訳文書におけるハイパーリンクの第4の表示例を示す図である。
【図34】(a)は、ハイパーリンクの垂直方向位置の統一前の英日対訳文書の第1の表示例を示す図、(b)は、ハイパーリンクの垂直方向位置の統一後の英日対訳文書の第1の表示例を示す図である。
【図35】(a)は、ハイパーリンクの垂直方向位置の統一前の英日対訳文書の第2の表示例を示す図、(b)は、ハイパーリンクの垂直方向位置の統一後の英日対訳文書の第2の表示例を示す図である。
【図36】(a)は、ハイパーリンクの水平方向位置の統一前の英日対訳文書の表示例を示す図、(b)は、ハイパーリンクの水平方向位置の統一後の英日対訳文書の表示例を示す図である。
【符号の説明】
1 処理種別情報取得手段
2 関連情報取得手段
3 関連情報変換手段
11 第1のデータ
12 第2のデータ
13 第3のデータ
14 第4のデータ
21 表示部
22 入力制御部
23 処理種別判定部
24 処理種別定義ファイル
25 データ取得部
26 外部データ
27 変換処理部
27a〜27c 変換装置
28 変換処理制御部
29 出力制御部
31 入力部
32 表示部
33 入力制御部
33a 表示状態管理テーブル
34 処理種別判定部
35 処理種別定義ファイル
36 データ取得部
37 外部データ
38 変換処理部
38a〜38c 変換装置
39 変換処理制御部
39a 言語種別判定部
40 出力制御部
40a 画面生成部
40b 画面同期制御部
40c 表示順序制御部
41 文字コード対応表
42 表示順序定義テーブル
51 CPU
52 ROM
53 RAM
54 通信インターフェイス
55 通信ネットワーク
56 入出力インターフェイス
57 ディスプレイ
58 プリンタ
59 メモリ
60 スキャナ
61 キーボード
62 ドライバ
63 ハードディスク
64 ICカード
65 磁気テープ
66 フロッピーディスク
67 光ディスク
68 バス
71、72、91、92、101 ハイパーリンク
81、82 スクロールバー
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an output control device, and is particularly suitable for application to a hypermedia system that handles words, texts, images, sounds, and the like in association with each other.
[0002]
[Prior art]
In a conventional bilingual translation screen of machine translation, when a screen of an original text has a link structure, there is a technique for embedding this link structure as it is at an appropriate position on a screen of a translated text and displaying the link structure. For example, when a hyperlink exists in the original sentence, the hyperlink is embedded and displayed at an appropriate position in the translated sentence.
[0003]
On such a bilingual screen, it is possible to follow the hyperlink of the translated sentence by performing the same operation as the hyperlink of the original sentence.
[0004]
[Problems to be solved by the invention]
However, in the conventional bilingual screen of machine translation, the document referred to by the hyperlink embedded in the original text is written in the language of the original text. For this reason, if the same hyperlink as the original text is simply embedded in the translation, the reference destination of the hyperlink of the translation remains the document written in the language of the original text. As a result, even if the hyperlink of the translated sentence is followed, the document written in the original sentence is displayed on the translated sentence display screen.
[0005]
In such a case, documents described in different languages may be displayed on the same screen instead of each other, which may cause confusion for the user.
Therefore, an object of the present invention is to provide an output control device capable of displaying original information and related information in the same data type.
[0006]
[Means for Solving the Problems]
In order to solve the above-described problem, according to one embodiment of the present invention, a display unit provided with a plurality of display screens, an input control unit that monitors a display mode displayed on the display screen, Based on the display mode of the display screen, a processing type determination unit that determines the processing type of the hyper document data, a data acquisition unit that obtains the document data of the reference destination of the hyper document data, and corresponding to the processing type, A processing type definition file that stores the processing content of the referenced document data, and a conversion processing control unit that performs conversion control of the referenced document data of the hyper document data based on the content of the processing type definition file; An output control unit that outputs a processing result of the document data of the reference destination to the designated display screen.
[0007]
As a result, even when the hyperlink of the original text is embedded in the translated text as it is, and the document referred to by the hyperlink embedded in the original text is described in the original language, even if the hyperlink is referenced from the translated text, The document referred to by the hyperlink can be converted into the language of the translated sentence and displayed. As a result, on the screen where the original text is displayed, the referenced document can be displayed in the original language, and on the screen where the translated text is displayed, the referenced document can be displayed in the translated language. It is possible to display the document, and it is possible to prevent a document described in a different language from being alternately displayed on the same screen.
[0008]
In addition, the output order of the document data is controlled based on the processing time of the acquired document data.
As a result, it is possible to avoid delaying the output of the document data acquired in a short time due to the document data requiring a long time to acquire, and it is possible to efficiently output the document data.
[0009]
Further, according to one aspect of the present invention, when it takes time to acquire the entire document data, the conversion process is started for a part of the acquired document data. As a result, the acquisition of the document data and the conversion processing of the document data can be performed in parallel, and there is no need to wait for the conversion processing of the document data until the entire document data is acquired. The conversion result can be output quickly.
[0010]
Further, according to one aspect of the present invention, when a hyperlink of hyperdocument data is hidden under another screen, the display position of the hyperdocument data is controlled so that the hyperlink is visible. .
[0011]
As a result, even when the screens of the hyper document data are displayed in an overlapping manner, it is possible to easily follow the document data of the reference destination. Further, according to an aspect of the present invention, when the conversion of the hyper document data fails, only the hyperlink of the hyper document data is converted and displayed.
[0012]
As a result, even when the conversion result of the hyper document data cannot be obtained, the conversion result can be compared for the hyperlink, and the reference destination document data can be easily traced.
[0013]
Further, according to an aspect of the present invention, when the conversion of the hyper document data and the hyperlink fails, the hyperlink before the conversion is displayed. As a result, even when the result of the conversion of the hyper document data cannot be obtained, the document data of the reference destination can be traced on the comparison screen.
[0014]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, an output control device according to an embodiment of the present invention will be described with reference to the drawings.
[0015]
FIG. 1 is a block diagram showing a configuration of an output control device according to one embodiment of the present invention. In FIG. 1, a processing type information acquiring unit 1 acquires processing type information for converting first data into second data. The related information acquisition unit 2 acquires third data associated with the first data. The related information converter 3 converts the third data acquired by the related information acquirer 2 into fourth data based on the process type information acquired by the process type information acquirer 1.
[0016]
Accordingly, when data conversion is performed between the first data and the second data, the related information conversion unit 3 also performs the first data conversion on the third data associated with the first data. And the third data associated with the first data can be output in a manner that matches the data type of the second data. As a result, for example, even when the data conversion of the hypermedia data is performed, it is possible to output the data associated with the hyperlink by matching the data types to each other, and to follow the information by the hyperlink. In addition, it is possible to prevent information from being output with different data types.
[0017]
FIG. 2 is a block diagram illustrating an example of an output control method according to an embodiment of the present invention. In FIG. 2, the first data 11 belongs to the first data type, and is associated with the third data 13 by a link A embedded in the first data 11. It is assumed that the third data 13 belongs to the first data type. The first data 11 is converted into second data by a conversion process. The link structure of the first data 11 is embedded in the second data as it is, and is linked to the third data 13 by the link B.
[0018]
The first data 11 is displayed on a screen E, and the second data 12 is displayed on a screen J. As a result, the first data 11 and the second data 12 can be compared.
[0019]
When the link A of the first data 11 is called while looking at the screen E, the third data 13 is displayed on the screen E. In this case, since the first data 11 and the third data 13 belong to the first data type, when the link information is referred to from the screen E, the data types displayed on the screen E match. .
[0020]
On the other hand, when the link B of the second data 12 is called while looking at the screen J, the third data 13 is displayed on the screen J. In this case, the second data 11 belongs to the second data type, and the third data 13 belongs to the first data type. Is switched and displayed on the screen J. This may cause confusion for those who view the screen J. For example, if the second data 11 and the third data 13 are described in different languages from each other, even if the third data 13 is displayed on the screen J, what is required for a person who cannot read the language is I do not know if is written.
[0021]
Therefore, when the link B of the second data 12 is called from the screen J, the third data 13 belonging to the first data type is replaced with the fourth data 14 belonging to the second data type. And then display it on screen J. As a result, it is possible to match the data types displayed on the screen J, and to prevent confusion of the user even when referring to the link information from the screen J.
[0022]
Hereinafter, an output control device according to the present invention will be described by taking an example in which the output control device is applied to a screen control device. FIG. 3 is a block diagram showing the configuration of the screen control device according to the first embodiment of the present invention. In the first embodiment, when handling hyper document data on a plurality of associated screens (windows, browsers, and the like), the type of information to be displayed (for example, language type) is controlled for each screen, so The interface is intuitive and easy to understand.
[0023]
In FIG. 3, the display unit 21 is a CRT, a liquid crystal display, or the like, and includes a screen E, a screen J, a screen K,... For displaying a plurality of types of information. The input control unit 22 monitors display forms displayed on the screen E, the screen J, the screen K,. The processing type determination unit 23 determines the processing type of the hyper document data based on the specified screen E, screen J, screen K,... The processing type definition file 24 stores the processing content of the document data referred to by the hyperlink corresponding to the processing type. The data acquisition unit 25 acquires document data referenced by a hyperlink. External data 26 provides document data referenced by the hyperlink. The conversion processing unit 27 includes conversion devices 27a to 27c, and performs conversion processing corresponding to the processing type. The conversion processing control unit 28 selects one of the conversion devices 27a to 27c based on the contents of the processing type definition file 24, and performs conversion control of the document data referred to by the hyper document data. The output control unit 29 outputs the processing result of the reference destination document data to the specified screen E, screen J, screen K,.
[0024]
For example, assume that the hyper document is displayed in English on the screen E, the hyper document is displayed in Japanese on the screen J, and the hyper document is displayed in French on the screen K. Here, it is assumed that the hyperlink of the hyper document displayed on the screen E is also embedded in the hyper document displayed on the screen J and the screen K. In this case, when the hyperlink is followed from the screen E, the document referred to by the hyperlink is displayed on the screen E in English.
[0025]
On the other hand, when the hyperlink is traced from the screen J, the document referred to by the hyperlink is described in English even though the hyperdocument is displayed in Japanese on the screen J. It is determined that the displayed language does not match the language of the referenced document. For this reason, the document referred to by the hyperlink is translated into Japanese, and the language displayed on the screen J is made to match the language of the referenced document before being displayed on the screen J.
[0026]
When a hyperlink is traced from the screen K, the document referred to by the hyperlink is described in English even though the hyperdocument is displayed in French on the screen K. It is determined that the language to be used does not match the language of the referenced document. For this reason, the document referred to by the hyperlink is translated into French, the language displayed on the screen J is made to match the language of the referenced document, and then displayed on the screen J.
[0027]
In this way, even if the hyperlink of the English document is embedded as is in the Japanese document and the hyperlink embedded in the Japanese document is described in English, the Japanese document Is displayed on the screen J, it is possible to display the document referred to by the hyperlink in Japanese, and it is possible to prevent a document described in a different language from being displayed on the same screen in turn. It becomes possible.
[0028]
FIG. 4 is a block diagram showing a configuration of a screen control device according to the second embodiment of the present invention. In the second embodiment, by adding various functions to the configuration of the screen control device shown in FIG. 3, the convenience in performing the screen control is improved.
[0029]
In FIG. 4, an input unit 31 is, for example, a keyboard, a mouse, a scanner, etc., and selects a screen E, a screen J, a screen K,. ,... Or call hyperlinks displayed on the screens E, J, K,. The display unit 32 includes a screen E, a screen J, a screen K,... For displaying a plurality of types of information. The input control unit 33 always monitors which screen E, screen J, screen K,... Has received any processing command when an input is made from the input unit 31. The display state management table 33a manages the display states of the screens E, J, K,... For each document type.
[0030]
The processing type determination unit 34 searches the processing type definition file 35 based on the screen information obtained from the display unit 32 and the processing command obtained from the input unit 31, and determines the type of processing performed by the device. The processing type definition file 35 stores a correspondence table of processing for screen information and processing instructions. The data acquisition unit 36 is activated when the process type determination unit 34 needs to acquire new data, and acquires new data from the external data 37. The external data 37 is stored in an external storage device such as a hard disk, or obtained from an external database via a communication line. The conversion processing unit 38 includes a plurality of conversion devices 38a to 38c, and activates the conversion devices 38a to 38c necessary for the conversion process. When it is determined that conversion processing on the external data 37 is necessary, the conversion processing control unit 39 performs conversion control on the external data 37 acquired by the data acquisition unit 36. The language type determination unit 39a determines the language type of the document data by checking the ratio of the character types included in the document data.
[0031]
The output control unit 40 distributes the converted data according to the processing type determined by the processing type determination unit 34 and outputs the data to appropriate screens E, J, K,... Of the display unit 32. If there is no screen E, J, K,... Corresponding to the document type, the screen generation unit 40a generates new screens E, J, K,. When the document data of the reference destination of the hyper document data is displayed on the screens E, J, K,..., The screen synchronization control unit 40b synchronizes the display of the document data of the reference destination with the document data of the reference destination. Are displayed on other screens E, J, K,.... The display order control unit 40c controls the output order of the external data 37 based on the acquisition time of the external data 37 acquired by the data acquisition unit 36. The character code correspondence table 41 defines the character codes displayed on the screens E, J, K,... For each of the screens E, J, K,. The display order definition table 42 defines the priority of the output order of the external data 37 in accordance with the acquisition time of the external data 37 acquired by the data acquisition unit 36.
[0032]
FIG. 5 is a flowchart showing a screen control process according to the first embodiment of the present invention. In FIG. 5, the input unit 31 receives an input from an operator (step S1).
[0033]
Next, the process type determination unit 34 uses the input received by the input unit 31 and the display type of the screens E, J, K,... Search (step S2).
[0034]
Next, the processing type determination unit 34 determines the processing type based on the search result of the processing type definition file 35 (Step S3). Next, the data acquisition unit 36 acquires the external data 37 according to the processing type determined by the processing type determination unit 34 (Step S4).
[0035]
Next, the conversion processing control unit 39 determines whether or not the obtained external data 37 needs to be converted based on the processing type (step S5). If the conversion process is necessary, the conversion devices 38a to 38c corresponding to the process type are activated to perform the conversion process (step S6).
[0036]
Next, based on the display type of the screens E, J, K,... Monitored by the input control unit 33, the output control unit 40 outputs the external data 37 acquired by the data acquisition unit 36 or the conversion processing unit. Screens E, J, K,... On which the converted data are displayed are determined (step S7).
[0037]
Next, the output control unit 40 outputs the external data 37 acquired by the data acquisition unit 36 or the converted data converted by the conversion processing unit 38 to the display unit 32, and determines the determined screens E, J, K,. Is displayed (step S8).
[0038]
FIG. 6 is a block diagram showing the system configuration of the screen control device according to one embodiment of the present invention. 6, reference numeral 51 denotes a central processing unit (CPU) for performing overall processing; 52, a read-only memory (ROM); 53, a random access memory (RAM); 54, a communication interface; 55, a communication network; An input / output interface, 57, a display for generating a plurality of display screens, 58, a printer for printing text and images, 59, a memory for temporarily storing data read by a scanner 60, and 60, a text and image, etc. Scanner for reading, 61 for a keyboard, 62 for a driver for driving a storage medium, 63 for a hard disk, 64 for an IC memory card, 65 for a magnetic tape, 66 for a floppy disk, 67 for an optical disk such as a CD-ROM or DVD-ROM, 68 Is a bus.
[0039]
A program for performing screen control processing, translation processing, or the like, or hypermedia data, etc., is stored in a storage medium such as a hard disk 63, an IC memory card 64, a magnetic tape 65, a floppy disk 66, and an optical disk 67. Then, by reading a program for performing the screen control processing and the translation processing from these storage media into the RAM 53, the screen control can be performed. Further, a program for performing a screen control process, a translation process, or the like, or hypermedia data, etc., may be stored in the ROM 52.
[0040]
Further, a program for performing screen control processing, translation processing, and the like, or hypermedia data, etc., can be extracted from the communication network 55 via the communication interface 54. Examples of the communication network 55 connected to the communication interface 54 include a LAN (Local Area Network), a WAN (Wide Area Network), the Internet, an analog telephone network, a digital telephone network (ISDN: Integral Service Digital Network), and a PHS (Personal Handy). System) or a wireless communication network such as satellite communication.
[0041]
When the program for performing the screen control process is started, the CPU 51 monitors the display state on the display 57. Then, when the hyperlink displayed on the display 57 is called, the document data referenced by the hyperlink is acquired. Here, assuming that the document data referred to by the hyperlink is described in English, when the hyperlink is called from a screen displayed in English, the document data is displayed in English on the screen. On the other hand, when a hyperlink is called from a screen displayed in Japanese, a program for performing English-Japanese translation is started, and the document data referred to by the hyperlink is converted into Japanese, and then displayed on the screen.
[0042]
Hereinafter, the operation of the screen control device in FIG. 4 will be described more specifically. In the following embodiment, English-Japanese machine translation will be described as an example for easy explanation.
[0043]
FIG. 7 is a flowchart showing a screen control process in machine translation. In FIG. 7, the input unit 31 receives an input of a link reference (step S11).
Next, the data acquisition unit 36 obtains the link reference destination document data (step S12). Next, the processing type determination unit 34 determines the language type of the screens E, J, K,... On which the link reference is input (step S13).
[0044]
Next, the processing type determination unit 34 determines the type of language of the document referred to by the link (step S14).
Next, the processing type determination unit 34 uses the language types of the screens E, J, K,. The file 35 is searched (step S15).
[0045]
Next, by referring to the processing type definition file 35, it is determined whether the translation of the document data of the link reference destination is necessary (step S16). If the translation is unnecessary, the document data obtained by the data acquisition unit 36 is displayed as it is on the screens E, J, K,... In which the link reference has been input (step S17).
[0046]
On the other hand, if translation is required, the conversion devices 38a to 38c corresponding to the language type are activated, and the data acquisition unit 36 performs translation processing of the obtained document data (step S18).
[0047]
Next, the translated document data is displayed on the screens E, J, K,... On which the link reference is input (step S19). FIG. 8 is a flowchart showing the conversion processing according to the first embodiment of the present invention. In the conversion process according to the first embodiment, a translation process is performed.
[0048]
In FIG. 8, for example, the conversion device 27a separates tag information from an English document (Step S21), and decomposes the English document into sentence units (Step S22). Next, one sentence is extracted from the English document (step S23), and the English sentence is converted into a Japanese sentence by machine translation (step S24). When the machine translation is completed up to the last sentence of the English document (step S25), the Japanese sentences are combined to create a Japanese document (step S26), and the created Japanese document is back-filled with the tag information (step S27). ).
[0049]
FIG. 9 is a flowchart showing a conversion process according to the second embodiment of the present invention. In the conversion process according to the second embodiment, a dictionary search process is performed. In FIG. 9, for example, the conversion device 27b separates tag information from an English document (step S231), and decomposes the English document into sentence units (step S232).
[0050]
Next, one English word is extracted from the English document (step S233), and the English word is converted into a Japanese word by searching the English-Japanese word dictionary (step S234). Then, when the English-Japanese word search is completed up to the last word of the English document (step S235), a Japanese word collection is created by combining the Japanese words (step S236), and tag information is added to the created Japanese word collection. Backfill (step S237).
[0051]
FIG. 10 is a flowchart illustrating a screen display control process according to an embodiment of the present invention. In this embodiment, the display method of the screen is controlled so that sentences or words corresponding to each other in the original sentence and the translated sentence are displayed at substantially the same position. For example, when Japanese is translated into English, the document volume generally increases about 1.2 to 2 times. Therefore, when a Japanese document and an English document are displayed on a screen of the same size in comparison with each other, the positions of corresponding sentences or words may be shifted. There is a need to be able to efficiently compare English documents with English documents.
[0052]
In FIG. 10, the output control unit 40 acquires a translated sentence obtained as a result of translating the original sentence (step S241). Next, the output control unit 40 calculates the number of lines of the translated sentence (step S242), calculates the number of lines of the original sentence (step S243), and displays the original sentence and the translated sentence on screens E, J, K,. (Step S244).
[0053]
Next, when the ratio of the line number difference between the original sentence and the translated sentence is equal to or greater than the threshold value (step S245), the output control unit 40 adjusts the screens E, J, K,. (Step S246), the screens E, J, K,... Are adjusted according to the number of lines of the original text (Step S247). For example, when the ratio of the difference in the number of lines between the original sentence and the translated sentence exceeds 0.3, the screen size is adjusted.
[0054]
In addition to the method of counting the number of lines of the original sentence and the translated sentence, the number of characters of the original sentence and the translated sentence may be counted to calculate the document amount of the original sentence and the translated sentence. As a method of adjusting the screen, for example, a character size, a character interval, a line interval, or a line feed position can be controlled. For example, if the original document size is larger than the translated document size, the original text size, character spacing, line spacing, or number of line breaks should be smaller than the translated text size, character spacing, line spacing, or line breaks. Are displayed on screens E, J, K,.
[0055]
If the original document volume is larger than the translated document volume, the horizontal size of the screens E, J, K,... Displaying the original text is changed to the screens E, J, K, .. May be larger than the horizontal size of. For example, if a Japanese document is translated into English and the English document volume is twice as large as the Japanese document volume, the screens E, J, K,... Is set to twice the horizontal size of the screens E, J, K,... Displaying the Japanese document. As a result, it is possible to make the lines displaying the corresponding sentences between the Japanese document and the English document substantially coincide with each other.
[0056]
Hereinafter, the operation of the screen control device of FIG. 4 will be described in more detail by taking a method of displaying an English-Japanese bilingual screen as an example. In the following embodiment, it is assumed that the document referred to by the hyperlink is always guaranteed to be an English document.
[0057]
FIG. 11A is a diagram showing a display example of an English-Japanese bilingual document. In FIG. 11A, a screen E and a screen J are generated side by side. Screen E is a screen for displaying data described in English. On this screen E, for example, a document 1E written as "There is a book on the table. Andare are pens on the floor." Is displayed. Screen J is a screen for displaying data described in Japanese. On this screen J, a document 1J that reads "There is a book on the table. There is a pen on the floor." Is displayed as the English-Japanese translation result of the document 1E.
[0058]
The document 1E includes a hyperlink 71 to the document 2E, and the hyperlink 71 is indicated by diagonal lines at the position of “pens” of the document 1E. The hyperlink 71 points to the document 2E written in English.
[0059]
When the document 1E is translated into the document 1J, the hyperlink 71 to the document 2E is stored as it is in the document 1J, and the hyperlink 72 to the document 2E is embedded at a corresponding position in the document 1J. For this reason, a hyperlink 72 to the document 2E is displayed as a diagonal line at the position of the "pen" in the document 1J. The screens E and J can be realized by a window of a window system, a browser, or the like.
[0060]
In this screen state, it is assumed that the operator has followed the hyperlink 72 of the document 1J by clicking on the screen J. Then, the data acquisition unit 36 extracts the document 2E from the external data 37.
[0061]
FIG. 11B shows an example of the content of the document 2 </ b> E referenced by the hyperlink 72. In FIG. 11B, "It's a fine daytoday." Is written in the document 2E, and English is used as a description language. On the other hand, the call of the document 2E is performed from the screen J. The screen J is a screen for displaying data described in Japanese. Therefore, as shown in FIG. 11B, the contents of the document 2E described in English are translated into Japanese, and a document 2J is obtained. The content of this document 2J is "Today is fine weather."
[0062]
FIG. 11C is a diagram showing a first display example of the English-Japanese conversion result of the reference destination document. 11C, the output control unit 40 receives the contents of the document 2J, which is the output target document, from the conversion processing control unit 39, and receives the information that the output target screen is the screen J from the processing type determination unit 34. J displays the contents of document 2J. As a result, the screen J displays "Today is fine weather." In Japanese.
[0063]
As described above, even when the English document 2E is referred to from the screen J, it is possible to display the screen 2 in Japanese on the screen J, and that the English and Japanese are alternately displayed on the screen J. Can be prevented.
[0064]
FIG. 12A is a diagram showing an example of the content of the input information when the hyperlink 72 is called from the screen J of FIG. 11A. This input information is information when the hyperlink 72 on the screen J is clicked.
[0065]
In FIG. 12A, the input information includes an input screen name and a document name of a hyperlink reference destination. For example, when the hyperlink 72 is called from the screen J, in this embodiment, the input screen name is the screen J and the reference destination document name is the document 2E. This input information is sent to the process type determination unit 34. The processing type determination unit 34 searches the processing type definition file 35 based on the input information, and acquires the processing type to be performed on the document 2E.
[0066]
FIG. 12B is a diagram illustrating an example of the contents of the process type definition file 35. In FIG. 12B, the process type definition file 35 describes a conversion process corresponding to the language of the referenced document and the language displayed on the input screen. For example, if the language of the referenced document is English and the language displayed on the input screen is Japanese, English-Japanese translation is specified as the conversion process, the language of the referenced document is English, and the language displayed on the input screen is English In the case of, if no conversion is specified as the conversion process, the language of the referenced document is Japanese, and the language displayed on the input screen is English, the translation process is specified as Japanese-English translation and the language of the referenced document is Japanese If the language displayed on the input screen is Japanese, no conversion is specified as the conversion process.
[0067]
When the input information shown in FIG. 12A is given, since the language displayed on the screen J is Japanese and the language describing the document 2E is English, the reference language is English and the input screen language is An English-Japanese translation corresponding to Japanese is retrieved from the process type definition file 35. Based on the search result of the processing type definition file 35, processing type information for processing the document 2E is created.
[0068]
FIG. 12C is a diagram illustrating a first content example of the process type information. In FIG. 12C, from the information that the referenced document in FIG. 12A is the document 2E, a processing type of “access the external database to obtain the referenced document 2E of the hyperlink 72” is obtained. Further, from the search result of the processing type definition file 35, a processing type of “translating the document 2E obtained by following the hyperlink 72 into Japanese to obtain the document 2J” is obtained. Further, from the information that the input screen of FIG. 12A is the screen J, a processing type of “display the document 2J on the screen J” is obtained.
[0069]
The data obtaining unit 36 obtains the data of the document 2E from the external data 37 according to the processing type of “access and obtain the document 2E referenced by the hyperlink 72 by accessing an external database”. The conversion processing control unit 39 causes the conversion processing unit 38 to perform the English-Japanese translation of the document 2E according to the processing type of “translating the document 2E obtained by following the hyperlink 72 into Japanese to obtain the document 2J”. . The output control unit 40 displays the document 2J on the screen E of the display unit 32 according to the processing type “display document 2J on screen J”. As a result, the display of FIG. 11C is performed.
[0070]
FIG. 13 is a flowchart showing a screen control process according to the second embodiment of the present invention. In FIG. 13, the input unit 31 receives an input from the operator (Step S31).
[0071]
Next, the processing type determination unit 34 uses the language type of the reference destination document received by the input unit 31 and the language type of the screens E, J, K,. The type definition file 35 is searched (step S32).
[0072]
Next, the processing type determination unit 34 determines the processing type based on the search result of the processing type definition file 35 (Step S33). Next, the data acquisition unit 36 acquires the external data 37 according to the processing type determined by the processing type determination unit 34 (Step S34).
[0073]
Next, the conversion processing control unit 39 determines whether or not a translation process is necessary for the acquired external data 37 based on the process type (Step S35). If the translation process is necessary, the conversion devices 38a to 38c corresponding to the process type are activated to perform the translation process (step S36).
[0074]
Next, based on the language type of the screens E, J, K,... Monitored by the input control unit 33, the output control unit 40 outputs the external data 37 acquired by the data acquisition unit 36 or the conversion processing unit. The screens E, J, K,... Displaying the converted data converted by 38 are determined (step S37).
Next, the output control unit 40 outputs the external data 37 acquired by the data acquisition unit 36 or the converted data converted by the conversion processing unit 38 to the display unit 32, and determines the determined screens E, J, K,. Is displayed (step S38).
[0075]
Next, a second display example of the English-Japanese bilingual document will be described. FIG. 14A is a diagram showing a display example of the English-Japanese bilingual document. The display example of the English-Japanese bilingual document in FIG. 14A is exactly the same as the display example of the English-Japanese bilingual document in FIG. The hyperlinks 71 and 72 in FIG. 14A also point to the document 2E in FIG. 11B.
[0076]
It is assumed that the operator follows the hyperlink 72 of the document 1J by clicking on the screen J in the screen state of FIG. In this case, the input information is the same as in FIG. Therefore, the English-Japanese translation is searched from the process type definition file 35 as the conversion process. Processing type information for processing the document 2E is created based on the search result of the processing type definition file 35.
[0077]
FIG. 14B is a diagram illustrating a second content example of the process type information. From the information that the referenced document in FIG. 12A is the document 2E, a processing type of “access the external database to the referenced document 2E of the hyperlink 72” is obtained. Further, from the search result of the processing type definition file 35, a processing type of “translating the document 2E obtained by following the hyperlink 72 into Japanese to obtain the document 2J” is obtained. Further, from the information that the input screen of FIG. 12A is the screen J, a processing type of “display the document 2J on the screen J” is obtained.
[0078]
Here, a condition is added that the contents displayed on the screens E and J correspond to each other. As a result, the content of the document 2J corresponds to the content of the document 2E. Since the document 2E is described in English, a processing type of “display the document 2E on the screen E” is also obtained.
[0079]
FIG. 14C is a diagram showing a second display example of the English-Japanese conversion result of the reference destination document. In FIG. 14C, the output control unit 40 displays the contents of the document 2E on the screen E in accordance with the processing type “display the document 2E on the screen E”. As a result, “It's a fine day today.” Is displayed on the screen E in English. In addition, the output control unit 40 activates the screen synchronization control unit 40b according to the processing type “display the document 2J on the screen J”, and displays the contents of the document 2J on the screen J. As a result, the screen J displays "Today is fine weather." In Japanese.
[0080]
Thus, by providing the screen synchronization control unit 40b and linking the reference display on the screen E and the screen J, the reference destination of the screen J can be specified by simply clicking the hyperlink 72 on the screen J. At the same time, the reference destination of the screen E can be specified, and control can be performed to make the contents displayed on the screen E and the content displayed on the screen J coincide with each other.
[0081]
Next, a screen control process according to a third embodiment of the present invention will be described. In the third embodiment, the type of the document referred to by the hyperlink is automatically determined, and the screen is controlled. Here, an English-Japanese bilingual screen control method when the hyperlinked document is not guaranteed to be an English document and either the English document or the Japanese document is unknown is described.
[0082]
FIG. 15 is a diagram illustrating a language type determination method according to an embodiment of the present invention. 15, the language type determination unit 39a receives a character string in the document data obtained by the data acquisition unit 36 as an input, and outputs a language type of the document data. For example, when the sentence “This is a pen.” Is input to the language type determination unit 39a, the language type of the sentence is output as English as the determination result. When the sentence "This is a pen." Is input to the language type determination unit 39a, the language type of the sentence is output as Japanese as the determination result.
[0083]
If the target languages are only English and Japanese, as in this example, the language type can be determined from the ratio of 1-byte characters to 2-byte characters included in the character string. That is, the language type of a document can be determined by setting a document in which the content ratio of 2-byte characters in the document data is 20% or more as Japanese and a document having less than 20% as English. In the case of a language pair that cannot be determined from the character code, the language type of the document can be determined by performing a dictionary search.
[0084]
By providing the language type determination unit 39a in this way, even if the hyperlink refers to a document of a different type, uniqueness of the screen to the document type can be guaranteed.
[0085]
FIG. 16 is a flowchart showing a screen control process according to the third embodiment of the present invention. In FIG. 16, the input unit 31 receives an input from the operator (step S41).
[0086]
Next, the process type determination unit 34 uses the input received by the input unit 31 and the display type of the screens E, J, K,... Search (step S42).
[0087]
Next, the processing type determination unit 34 determines the processing type based on the search result of the processing type definition file 35 (Step S43). Next, the data acquisition unit 36 acquires the external data 37 according to the processing type determined by the processing type determination unit 34 (Step S44).
[0088]
Next, the language type determination unit 39a determines the data type of the external data 37 acquired by the data acquisition unit 36 (Step S45). Next, the conversion processing control unit 39 searches the processing type definition file 35 based on the determination result of the data type of the external data 37, and determines whether the conversion processing is necessary (Step S46). If the conversion process is necessary, the conversion devices 38a to 38c corresponding to the process type are activated to perform the conversion process (step S47).
[0089]
Next, based on the display type of the screens E, J, K,... Monitored by the input control unit 33, the output control unit 40 outputs the external data 37 acquired by the data acquisition unit 36 or the conversion processing unit. The screens E, J, K,... For displaying the converted data converted by 38 are determined (step S48).
[0090]
Next, the output control unit 40 outputs the external data 37 acquired by the data acquisition unit 36 or the converted data converted by the conversion processing unit 38 to the display unit 32, and determines the determined screens E, J, K,. .. Are displayed (step S49).
[0091]
Next, a screen control process according to a fourth embodiment of the present invention will be described. FIG. 17A is a diagram showing a display example of an English document in the fourth embodiment. In FIG. 17A, a screen E and a screen J are generated side by side. Screen E is a screen for displaying data described in English. On this screen E, for example, a document 1E written as "There is a book on the table. Andare are pens on the floor." Is displayed. Screen J is a screen for displaying data described in Japanese. Nothing is displayed on this screen J.
[0092]
The document 1E includes a hyperlink 71 to the document 2E, and the hyperlink 71 is indicated by diagonal lines at the position of “pens” of the document 1E. The hyperlink 71 points to the document 2E written in English.
[0093]
In this screen state, it is assumed that the operator has followed the hyperlink 71 of the document 1E by clicking on the screen E. Then, the data acquisition unit 36 extracts the document 2E from the external data 37. Then, it is assumed that an instruction to display the document 2E on the screen E and display the document 2J on the screen J is given as the processing type. In this embodiment, the output control unit 40 refers to the screen display state management table 33a before executing the instruction from the processing type determination unit 34. The screen display state management table 33a manages whether the screens E, J, K,... Are displayed. FIG. 17B is a diagram illustrating an example of the contents of the screen display state management table 33a.
[0094]
In FIG. 17B, the contents of the screen display state management table 33a are such that the screen E is being displayed and the screen J is not being displayed. Therefore, in the current display state, it is understood that the English document 1E is displayed on the screen E and the Japanese document 1J is not displayed on the screen J. Since document E is displayed on screen E, document 2E is displayed on screen E. On the other hand, since the document 1J is not displayed on the screen J, the document 1J is first displayed on the screen J, and then the document 2J is displayed.
[0095]
FIG. 17C is a diagram showing a display example of an English-Japanese bilingual document. In FIG. 17C, a document 1J is displayed on a screen J. That is, the screen J displays the document 1J that reads "There is a book on the table. There is a pen on the floor." As the English-Japanese translation result of the document 1E.
[0096]
Thus, by displaying the document 1J on the screen J and then displaying the document 2J, it is possible to display a bilingual English-Japanese translation of the reference source and the reference destination. FIG. 18 is a flowchart showing a screen control process according to the fourth embodiment of the present invention.
[0097]
In FIG. 18, a process type determination unit 34 uses a display type of the screens E, J, K,... Monitored by the input received by the input unit 31 and the input control unit 33 as a search key, and (Step S51).
[0098]
Next, the processing type determination unit 34 determines the processing type based on the search result of the processing type definition file 35 (Step S52). Next, the data acquisition unit 36 acquires the external data 37 according to the processing type determined by the processing type determination unit 34 (Step S53).
[0099]
Next, the conversion processing control unit 39 determines whether or not the obtained external data 37 needs to be converted based on the processing type (step S54). If the conversion process is necessary, the conversion devices 38a to 38c corresponding to the process type are activated to perform the conversion process (step S55).
[0100]
Next, based on the display type of the screens E, J, K,... Monitored by the input control unit 33, the output control unit 40 outputs the external data 37 acquired by the data acquisition unit 36 or the conversion processing unit. The screens E, J, K,... Displaying the converted data obtained by the conversion 38 are determined (step S56).
[0101]
Next, the output control unit 40 determines whether or not the output screens E, J, K,... Exist based on the contents of the display state management table 33a (step S57). If the output screens E, J, K,... Do not exist, the screen generation unit 40a is started, and new screens E, J, K,.
[0102]
Next, the output control unit 40 outputs the external data 37 acquired by the data acquisition unit 36 or the converted data converted by the conversion processing unit 38 to the display unit 32, and determines the determined screens E, J, K,. Is displayed (step S59).
[0103]
Next, a screen control process according to a fifth embodiment of the present invention will be described. In the fifth embodiment, the display order of the document data on the screens E, J, K,... Is controlled by providing the display order control unit 40c. For example, a case where the document 2E and the document 2J in FIG. 14C are displayed as a result of the operator referring to the hyperlink 72 in FIG. Here, it is assumed that it is necessary to obtain the external data 37 via an external high-speed line in order to display the document 2E on the screen E. It is also assumed that English-Japanese translation needs to be performed to obtain the document 2J. In this case, the output order of the documents 2E and 2J is determined by referring to the display order definition table 42.
[0104]
FIG. 19 is a diagram showing an example of the contents of the display order definition table 42 according to an embodiment of the present invention. In FIG. 19, processing contents include acquisition of data from a cache, acquisition of data from a hard disk, acquisition of external data via a high-speed line, acquisition of data from a cache + machine translation processing, and external data via a telephone line. Shall be obtained. Priorities are given to these processing contents in order of shorter processing time. As a result, priority 1 is for obtaining data from the cache, priority 2 is for obtaining data from the hard disk, priority 3 is for obtaining external data via the high-speed line, and data obtaining from the cache + machine translation processing is performed. Priority 4 and acquisition of external data via the telephone line have priority 5.
[0105]
From the contents of the display order definition table 42, the priority of obtaining the contents of the document 2E is 3 and the priority of generating the document 2J is 4. Therefore, obtaining the contents of the document 2E is better than generating the document 2J. , The priority is high. For this reason, the output control unit 40 gives priority to the output of the document 2E to the display unit 32 over the output of the document 2J.
[0106]
When acquiring the contents of the document 2E via a telephone line, obtaining the contents of the document 2E has a lower priority than creating the document 2J, and the output of the document 2J is It has priority over the output of document 2E.
[0107]
FIG. 20 is a flowchart showing a screen control process according to the fifth embodiment of the present invention. In FIG. 20, the process type determination unit 34 uses the input received by the input unit 31 and the display types of the screens E, J, K,... (Step S61).
[0108]
Next, the processing type determination unit 34 determines the processing type based on the search result of the processing type definition file 35 (Step S62). Next, the processing type determination unit 34 determines a processing order based on the contents of the display order definition table 42 (Step S63).
[0109]
Next, the data acquisition unit 36 starts acquiring the external data 37 according to the processing type determined by the processing type determination unit 34 (Step S64). Next, the conversion processing control unit 39 determines whether or not the obtained external data 37 needs to be converted based on the processing type (step S65). If the conversion process is necessary, the conversion devices 38a to 38c corresponding to the process type are activated to perform the conversion process (step S66).
[0110]
Next, based on the display type of the screens E, J, K,... Monitored by the input control unit 33, the output control unit 40 outputs the external data 37 acquired by the data acquisition unit 36 or the conversion processing unit. The screens E, J, K,... Displaying the converted data obtained by the conversion 38 are determined (step S67).
[0111]
Next, the output control unit 40 outputs the external data 37 obtained by the data obtaining unit 36 or the converted data converted by the conversion processing unit 38 to the display unit 32 from the one with the highest priority, and outputs the screen E, J, K,... Are displayed (step S68).
[0112]
Next, a screen control process according to the sixth embodiment of the present invention will be described. In the sixth embodiment, before the conversion processing unit 27 performs the conversion processing, it is determined whether or not it takes time to obtain the data to be converted by referring to the display order definition table 42. When it takes time to obtain the data to be converted, the conversion process is started for some of the obtained data. For example, it is assumed that a document 2J is obtained by obtaining data of the document 2E from the outside and performing English-Japanese machine translation on the data of the document 2E. Here, it is assumed that it takes time to obtain the data of the document 2E. In this case, a translation process is performed each time the contents of the document 2E are obtained one sentence at a time. Since the minimum unit that is significant when performing the translation process is a sentence, by performing the translation process on a sentence basis, the translation process can be performed efficiently without waiting for the entire document 2E to be obtained. Become. Also, a plurality of sentences such as two sentences or three sentences may be collectively translated.
[0113]
As described above, by starting the translation process for a part of the obtained data, the acquisition of the data of the document 2E and the translation process of the document 2E can be performed in parallel. Since it is not necessary to wait for the translation process of the document 2E until the acquisition is completed, the translation result of the document 2E can be output quickly.
[0114]
FIG. 21 is a flowchart showing a screen control process according to the sixth embodiment of the present invention. In FIG. 21, the process type determination unit 34 uses the input received by the input unit 31 and the display type of the screens E, J, K,... (Step S71).
[0115]
Next, the processing type determination unit 34 determines the processing type based on the search result of the processing type definition file 35 (Step S72). Next, the data acquisition unit 36 refers to the display order definition table 42 and partially acquires the external data 37 when it takes time to obtain the external data 37 (step S73).
[0116]
Next, the conversion processing control unit 39 determines whether or not conversion processing is necessary for the obtained external data 37 based on the processing type (step S74). If the conversion process is necessary, the conversion devices 38a to 38c corresponding to the process type are activated to perform the conversion process (step S75).
[0117]
Next, it is determined whether or not the acquisition of the external data 37 has been completed. If the acquisition of the external data 37 has not been completed, the process returns to step S73, and the acquisition of the external data 37 continues (step S76).
[0118]
Next, based on the display type of the screens E, J, K,... Monitored by the input control unit 33, the output control unit 40 outputs the external data 37 acquired by the data acquisition unit 36 or the conversion processing unit. The screens E, J, K,... For displaying the converted data converted by 38 are determined (step S77).
Next, the output control unit 40 outputs the external data 37 acquired by the data acquisition unit 36 or the converted data converted by the conversion processing unit 38 to the display unit 32, and determines the determined screens E, J, K,. Is displayed (step S78).
[0119]
Next, a screen control process according to the seventh embodiment of the present invention will be described. In the seventh embodiment, screens E, J, K,... For each language to be displayed are prepared in the same manner as the machine translation bilingual screen. In addition, a character code correspondence table 41 is provided. The character code correspondence table 41 defines character codes for each of the screens E, J, K,. According to the character code correspondence table 41, a character code for opening each of the screens E, J, K,... Can be automatically set.
[0120]
FIG. 22 is a diagram showing an example of the contents of the character code correspondence table 41 according to an embodiment of the present invention. In FIG. 22, the character code correspondence table 41 defines character codes for each of the English screen E and the Japanese screen J. For example, the screen E is defined as Latin-1 type as a character code, and the screen J is defined as a Japanese automatic identification as a character code. The output control unit 40 refers to the character code correspondence table 41 and sets the character code to Latin-1 when opening the screen E, and sets the character code to Japanese automatic identification when opening the screen J. .
[0121]
FIG. 23 is a flowchart showing a screen control process according to the seventh embodiment of the present invention. In FIG. 23, the output control unit 40 determines the character codes of the screens E, J, K,... To be opened by referring to the character code correspondence table 41 (step S81), and the screens E, J, K ,... Are opened (step S82).
[0122]
Next, the process type determination unit 34 uses the input received by the input unit 31 and the display type of the screens E, J, K,... Search (step S83).
[0123]
Next, the processing type determination unit 34 determines the processing type based on the search result of the processing type definition file 35 (Step S84). Next, the data acquisition unit 36 acquires the external data 37 according to the processing type determined by the processing type determination unit 34 (Step S85).
[0124]
Next, the conversion processing control unit 39 determines whether or not conversion processing is necessary for the acquired external data 37 based on the processing type (Step S86). If the conversion process is required, the conversion devices 38a to 38c corresponding to the process type are activated to perform the conversion process (step S87).
[0125]
Next, based on the display type of the screens E, J, K,... Monitored by the input control unit 33, the output control unit 40 outputs the external data 37 acquired by the data acquisition unit 36 or the conversion processing unit. The screens E, J, K,... For displaying the converted data converted by 38 are determined (step S88).
[0126]
Next, the output control unit 40 outputs the external data 37 obtained by the data obtaining unit 36 or the converted data converted by the conversion processing unit 38 to the display unit 32. Then, the determined screens E, J, K,... Are displayed with the character codes specified in the character code correspondence table 41 (step S89).
[0127]
Next, a screen control process according to the eighth embodiment of the present invention will be described. In the eighth embodiment, since the screens E, J, K,... Displaying the English-Japanese bilingual documents overlap, the hyperlink is hidden under the other screens E, J, K,. , The hidden hyperlink is made visible by adjusting the display position on the screens E, J, K,....
[0128]
FIG. 24A is a diagram illustrating a display example of an English-Japanese bilingual document before the display position of the document is adjusted. In FIG. 24A, a screen E is generated on the screen J, and a part of the screen J overlaps with the screen E. This screen E is a screen for displaying data described in English. On this screen E, for example, a document 1E written as "There is a book on the table. And there are pens on the floor." Is displayed. Screen J is a screen for displaying data described in Japanese. On this screen J, as a result of the English-Japanese translation of the document 1E, a document 1J that reads "There is a book on the table. There is a pen on the floor." Here, since the document 1E overlaps the document 1J, a part of the content of the document 1J is not visible.
[0129]
The document 1E includes a hyperlink 71 to the document 2E, and the hyperlink 71 is indicated by diagonal lines at the position of “pens” of the document 1E. The hyperlink 71 points to the document 2E written in English.
[0130]
When the document 1E is translated into the document 1J, the hyperlink 71 to the document 2E is stored as it is in the document 1J, and the hyperlink 72 to the document 2E is embedded at a corresponding position in the document 1J. Here, since a part of the screen J is hidden below the screen E, the hyperlink 72 displayed at the position of the “pen” in the document 1J is not visible. Therefore, the hyperlink 72 is made visible by changing the display position of the document 1J.
[0131]
FIG. 24B is a diagram illustrating a display example of the English-Japanese bilingual document after the display position of the document has been adjusted. In FIG. 24 (b), the display position of the entire text of the document 1J, "There is a book on the table. There is a pen on the floor." I have.
[0132]
FIG. 25 is a flowchart showing a screen control process according to the eighth embodiment of the present invention. In FIG. 25, the process type determination unit 34 uses the input received by the input unit 31 and the display type of the screens E, J, K,. Is retrieved (step S91).
[0133]
Next, the processing type determination unit 34 determines the processing type based on the search result of the processing type definition file 35 (Step S92). Next, the data acquisition unit 36 acquires the external data 37 according to the processing type determined by the processing type determination unit 34 (Step S93).
[0134]
Next, the conversion processing control unit 39 determines whether or not conversion processing is necessary for the acquired external data 37 based on the processing type (Step S94). When the conversion process is required, the conversion devices 38a to 38c corresponding to the process type are activated to perform the conversion process (step S95).
[0135]
Next, based on the display type of the screens E, J, K,... Monitored by the input control unit 33, the output control unit 40 outputs the external data 37 acquired by the data acquisition unit 36 or the conversion processing unit. The screens E, J, K,... Displaying the converted data obtained by the conversion 38 are determined (step S96).
[0136]
Next, the output control unit 40 outputs the external data 37 acquired by the data acquisition unit 36 or the converted data converted by the conversion processing unit 38 to the display unit 32, and determines the determined screens E, J, K,. Is displayed (step S97).
[0137]
Next, the output control unit 40 determines whether the hyperlinks 71 and 72 are hidden below the screens E, J, K,... (Step S98). If the hyperlinks 71 and 72 are hidden, the display positions of the documents 1E and 1J containing the hyperlinks 71 and 72 are shifted to make the hyperlinks 71 and 72 visible (step S99).
[0138]
Next, a screen control process according to the ninth embodiment of the present invention will be described. FIG. 26 is a diagram showing a first display example of a hyperlink in an English-Japanese bilingual document.
In FIG. 26, a screen E and a screen J are generated side by side. Screen E is a screen for displaying data described in English. On this screen E, for example, a document 1E written as "There is a book on the table. And there are pens on the floor." Is displayed. The document 1E includes a hyperlink 71 to the document 2E, and the hyperlink 71 is indicated by diagonal lines at the position of “pens” of the document 1E. The hyperlink 71 points to the document 2E written in English.
[0139]
Screen J is a screen for displaying data described in Japanese. Although the English-Japanese translation result of the document 1E is displayed on this screen J, it is assumed that the English-Japanese translation result of the document 1E was not obtained because the translation of the document 1E failed. In this case, the character string “pens” corresponding to the hyperlink 71 is extracted from the document 1E. Then, only this character string “pens” is translated into English and Japanese. When the English-Japanese translation of the character string "pens" succeeds, the character string "pen" obtained as a result of the English-Japanese translation is pasted on the screen J as a hyperlink 72 to the document 2E. FIG. 27 is a flowchart showing a screen control process according to the ninth embodiment of the present invention.
[0140]
In FIG. 27, the process type determination unit 34 uses the input received by the input unit 31 and the display type of the screens E, J, K,... (Step S101).
[0141]
Next, the processing type determination unit 34 determines the processing type based on the search result of the processing type definition file 35 (Step S102). Next, the data acquisition unit 36 acquires the external data 37 according to the processing type determined by the processing type determination unit 34 (Step S103).
[0142]
Next, the conversion control unit 39 determines whether or not a conversion process is necessary for the acquired external data 37 based on the process type (step S104). If the conversion process is necessary, the conversion devices 38a to 38c corresponding to the process type are activated to perform the conversion process (step S105).
[0143]
Next, the conversion processing control unit 39 determines whether or not the conversion of the external data 37 has been successful (step S106). When the conversion of the external data 37 has failed, the conversion processing control unit 39 extracts only the character string corresponding to the piper link 71 from the obtained external data 37. Then, the conversion devices 38a to 38c corresponding to the processing types are activated, and the conversion processing of the piper link 71 is performed (step S107).
[0144]
Next, based on the display type of the screens E, J, K,... Monitored by the input control unit 33, the output control unit 40 outputs the external data 37 acquired by the data acquisition unit 36 or the piper link 71. Screens E, J, K,... That display the conversion results of the above are determined (step S108).
Next, the output control unit 40 outputs the external data 37 acquired by the data acquisition unit 36 or the conversion result of the piper link 71 to the display unit 32, and displays the result on the determined screens E, J, K,. (Step S109).
[0145]
FIG. 28 is a diagram showing a second display example of a hyperlink in an English-Japanese bilingual document. In FIG. 28, a screen E and a screen J are generated side by side. Screen E is a screen for displaying data described in English. On this screen E, for example, a document 1E written as "There is a book on the table. And there are pens on the floor." Is displayed. The document 1E includes a hyperlink 71 to the document 2E, and the hyperlink 71 is indicated by diagonal lines at the position of “pens” of the document 1E. The hyperlink 71 points to the document 2E written in English.
[0146]
Screen J is a screen for displaying data described in Japanese. Although the English-Japanese translation result of the document 1E is displayed on this screen J, it is assumed that the English-Japanese translation result of the document 1E was not obtained because the translation of the document 1E failed. In this case, the character string “pens” corresponding to the hyperlink 71 is extracted from the document 1E. Then, only this character string “pens” is translated into English and Japanese. Here, if the English-Japanese translation of the character string “pens” also fails, the character string “pens” corresponding to the hyperlink 71 is pasted as it is on the screen J as the hyperlink 72 to the document 2E.
[0147]
FIG. 29 is a flowchart showing a screen control process according to the tenth embodiment of the present invention. In FIG. 29, the process type determining unit 34 uses the input received by the input unit 31 and the display type of the screens E, J, K,... Is retrieved (step S111).
[0148]
Next, the processing type determination unit 34 determines the processing type based on the search result of the processing type definition file 35 (Step S112). Next, the data acquisition unit 36 acquires the external data 37 according to the processing type determined by the processing type determination unit 34 (Step S113).
[0149]
Next, the conversion processing control unit 39 determines whether or not conversion processing is necessary for the acquired external data 37 based on the processing type (Step S114). If the conversion process is necessary, the conversion devices 38a to 38c corresponding to the process type are activated to perform the conversion process (step S115).
[0150]
Next, the conversion processing control unit 39 determines whether the conversion of the external data 37 has been successful (step S116). When the conversion of the external data 37 has failed, the conversion processing control unit 39 extracts only the character string corresponding to the piper link 71 from the obtained external data 37. Then, the converters 38a to 38c corresponding to the processing type are activated, and the conversion processing of the piper link 71 is performed (step S117).
[0151]
Next, the conversion processing control unit 39 determines whether the conversion of the piper link has succeeded (step S118). If the conversion of the pipe link has failed, the conversion processing control unit 39 copies the pipe link 71 before the conversion (step S119).
[0152]
Next, based on the display types of the screens E, J, K,... Monitored by the input control unit 33, the output control unit 40 outputs the external data 37 acquired by the data acquisition unit 36, The screens E, J, K,... Displaying the piper link 71 are determined (step S120).
[0153]
Next, the output control unit 40 outputs the external data 37 acquired by the data acquisition unit 36 or the pre-conversion pipe link 71 to the display unit 32 and displays the determined screens E, J, K,. (Step S121).
[0154]
Next, a screen control process according to the eleventh embodiment of the present invention will be described. In the eleventh embodiment, the display content on one screen and the display content on the other screen are changed in conjunction with each other. For example, scrolling of one screen is automatically performed corresponding to scrolling of one screen. Further, when editing a document, the document may be automatically edited on the other screen in accordance with the editing content of the document on one screen. For example, when a sentence in a designated area of one document is moved (or copied) to a designated position, a corresponding sentence of the other document is automatically moved (or copied) to a corresponding position. It may be. Further, when a sentence in a specified area of one document is deleted, a sentence in a corresponding area of the other document may be automatically deleted. Further, when the contents of the document on one screen are changed by performing the editing work, the translation process may be performed again only on the changed part and the other part may be displayed on the other screen.
[0155]
Hereinafter, a case where scrolling is linked in a plurality of screens will be described. FIG. 30A is a diagram showing a display example of an English-Japanese bilingual document before scrolling. In FIG. 30A, a screen E and a screen J are generated side by side. Screen E is a screen for displaying data described in English. On this screen E, for example, a document 1E written as "There a book on the table. Andare are pens on the floor." Is displayed. However, since a part of the document 1E is over the image edge, "Thefloor." Is no longer visible.
[0156]
Screen J is a screen for displaying data described in Japanese. On this screen J, as a result of the English-Japanese translation of document 1E, document 1J that reads "There is a book on the table and there is a pen on the floor" is displayed. Because there is a part on the edge of the image, "Yes" is not visible. The document 1E includes a hyperlink 71 to the document 2E, and the hyperlink 71 is indicated by diagonal lines at the position of “pens” of the document 1E. The hyperlink 71 points to the document 2E written in English.
[0157]
When the document 1E is translated into the document 1J, the hyperlink 71 to the document 2E is stored as it is in the document 1J, and the hyperlink to the document 2E is embedded at a corresponding position in the document 1J. For this reason, a hyperlink 72 to the document 2E is displayed as a diagonal line at the position of the "pen" in the document 1J.
[0158]
Scroll bars 81 and 82 are added to the right ends of the screens E and J in a bilingual relationship, respectively. By operating the scroll bars 81 and 82, the respective screens E and J can be scrolled. Here, by interlocking scrolling between the screens E and J, the display part of the other screen can be changed while following the change of the display part of one screen. For example, when the document 1J is scrolled, the corresponding document 1E is also automatically scrolled by the same amount.
[0159]
FIG. 30B is a diagram showing a display example of the English-Japanese bilingual document after scrolling. In FIG. 30 (b), as a result of scrolling the document 1E on the screen E, the entire document 1E on which “The is a book on the table. And thereare pens on the floor.” Is written without interruption. E is displayed. Also, as a result of scrolling the document 1J on the screen J in conjunction with the scrolling of the document 1E, the entire document 1J that reads, "There is a book on the table. There is a pen on the floor." It is displayed on the screen J without interruption.
[0160]
In this way, by automatically scrolling the other screen in conjunction with the scrolling of one screen, it is possible to browse documents while matching the correspondence between the contents displayed on both screens It becomes.
[0161]
Next, a screen control process according to the twelfth embodiment of the present invention will be described. In the twelfth embodiment, the reference record of the hyperlink is displayed on the screen so that the reference history of the hyperlink can be easily recognized.
[0162]
FIG. 31 is a diagram showing a third display example of a hyperlink in an English-Japanese bilingual document. In FIG. 31, a screen E and a screen J are generated side by side. Screen E is a screen for displaying data described in English. On this screen E, for example, a document 1E written as "There is a book on the table. And there are pens on the floor." Is displayed. Screen J is a screen for displaying data described in Japanese. On this screen J, a document 1J that reads "There is a book on the table. There is a pen on the floor." Is displayed as the English-Japanese translation result of the document 1E.
[0163]
The document 1E includes a hyperlink 91 to the document 2E, and the hyperlink 91 is displayed at the position of “pens” of the document 1E. The hyperlink 91 points to the document 2E written in English. If the hyperlink 91 has been referred to before, a reference record display is added. In this embodiment, as a reference record display, the hyperlink 91 is highlighted by hatching (or a lattice pattern).
[0164]
When the document 1E is translated into the document 1J, the hyperlink 91 to the document 2E is stored as it is in the document 1J, and the hyperlink 92 to the document 2E is embedded at a corresponding position in the document 1J. Therefore, a hyperlink 92 to the document 2E is displayed at the position of the “pen” in the document 1J. Here, when the document 1E including the previously referred hyperlink 91 is translated to obtain the document 1J, the hyperlink 92 is embedded in the document 1J while keeping the reference record of the hyperlink 91. As a result, the hyperlink 92 embedded in the document 1J is also highlighted as a reference record display with shading (or a lattice pattern). FIG. 32 is a flowchart showing the reference record display processing according to one embodiment of the present invention.
[0165]
In FIG. 32, the input original document is decomposed into sentence units (step S131), and it is determined whether the reference record corresponds to which word of which sentence (step S132).
[0166]
Next, one sentence is extracted from the input original document (step S133), and the extracted sentence and the positional information of the word having the reference record included in the sentence are passed to the machine translation (step S134). For example, if there is a reference record in the “book” part of the original text “This is a book”, the original text “This is book” and the information that the reference record is present in the “book” part are included in the machine translation. Passed.
[0167]
Next, a translated sentence with a reference record is obtained by machine translation (step S135). For example, in machine translation, a translated sentence "This is a book" is generated in correspondence with the original sentence "This is a book". Then, based on the information that the reference record exists in the “book” part, the reference record is embedded in the “book” part corresponding to the “book”. When the machine translation is completed up to the last sentence of the original document (step S136), a translated sentence with reference record is assembled to create a document (step S137).
[0168]
FIG. 33 is a diagram illustrating a fourth display example of a hyperlink in an English-Japanese bilingual document. In FIG. 33, a screen E and a screen J are generated side by side. Screen E is a screen for displaying data described in English. On this screen E, for example, a document 1E written as "There is a book on the table. And there are pens on the floor." Is displayed.
[0169]
The document 1E includes a hyperlink 101 to the document 2E, and the hyperlink 101 is displayed at the position of “pens” in the document 1E. The hyperlink 101 points to the document 2E written in English. Here, when an input is made on the screen E by the operator, the display method of the reference record of the hyperlink 101 is changed. As a result, the hyperlink 101 is displayed as a horizontal line.
[0170]
Screen J is a screen for displaying data described in Japanese. On this screen J, a document 1J that reads "There is a book on the table. There is a pen on the floor." Is displayed as the English-Japanese translation result of the document 1E. When the document 1E is translated into the document 1J, the hyperlink 71 to the document 2E is stored as it is in the document 1J, and the hyperlink to the document 2E is embedded at a corresponding position in the document 1J. Here, when there is no input on the screen J, a hyperlink 72 to the document 2E is displayed as an oblique line at the position of the “pen” in the document 1J.
[0171]
Next, a screen control process according to the twelfth embodiment of the present invention will be described. In the twelfth embodiment, when the vertical position where the hyperlink is displayed is different between one screen and the other screen, the vertical position of the hyperlink is aligned by changing the line spacing. It is.
[0172]
FIG. 34A is a diagram showing a first display example of an English-Japanese bilingual document before unifying the vertical positions of the hyperlinks. In FIG. 34A, a screen E and a screen J are generated side by side. Screen E is a screen for displaying data described in English. On this screen E, for example, a document 1E written as "There is a book on the table. Andare are pens on the floor." Is displayed. Here, the line spacing of the document 1E displayed on the screen E is narrowed, and a blank is generated after the text displayed on the screen E.
[0173]
Screen J is a screen for displaying data described in Japanese. On this screen J, a document 1J that reads "There is a book on the table. There is a pen on the floor." Is displayed as the English-Japanese translation result of the document 1E.
[0174]
The document 1E includes a hyperlink 71 to the document 2E, and the hyperlink 71 is indicated by diagonal lines at the position of “pens” of the document 1E. The hyperlink 71 points to the document 2E written in English.
[0175]
When the document 1E is translated into the document 1J, the hyperlink 71 to the document 2E is stored as it is in the document 1J, and the hyperlink to the document 2E is embedded at a corresponding position in the document 1J. For this reason, a hyperlink 72 to the document 2E is displayed as a diagonal line at the position of the "pen" in the document 1J.
[0176]
Here, the vertical positions of the hyperlink 71 displayed on the screen E and the hyperlink 72 displayed on the screen J are shifted. Therefore, when comparing the hyperlink 71 and the hyperlink 72, it is necessary to look around the entire screen J to find the hyperlink 72 corresponding to the hyperlink 71, and the comparison between the hyperlinks 71 and 72 becomes troublesome.
[0177]
FIG. 34B is a diagram illustrating a first display example of an English-Japanese bilingual document after the unification of the vertical positions of the hyperlinks. In FIG. 34 (b), the entire sentence written as “The is a book on the table. And there are pens on the floor.” Is shifted in the lower direction of the screen E, so that the hyper displayed on the screen E is displayed. The vertical position of the link 71 and the position of the hyperlink 72 displayed on the screen J match each other. As a result, the display position of the hyperlink 72 corresponding to the hyperlink 71 can be easily predicted, so that the hyperlink 71 and the hyperlink 72 can be compared quickly.
[0178]
In addition to the method of changing the line interval, the display position of the text may be controlled by changing the character interval, character size, and line feed position. Next, a screen control process according to the thirteenth embodiment of the present invention will be described. In the thirteenth embodiment, when the vertical position where the hyperlink is displayed is different between one screen and the other screen, the vertical position of the hyperlink is aligned by scrolling one screen. Things.
[0179]
FIG. 35A is a diagram illustrating a second display example of an English-Japanese bilingual document before unifying the vertical positions of the hyperlinks. In FIG. 35A, a screen E and a screen J are generated side by side. Screen E is a screen for displaying data described in English. On this screen E, for example, a document 1E written as "There is a book on the table. Andare are pens on the floor." Is displayed.
[0180]
Screen J is a screen for displaying data described in Japanese. On this screen J, a document 1J that reads "There is a book on the table. There is a pen on the floor." Is displayed as the English-Japanese translation result of the document 1E.
[0181]
The document 1E includes a hyperlink 71 to the document 2E, and the hyperlink 71 is indicated by diagonal lines at the position of “pens” of the document 1E. The hyperlink 71 points to the document 2E written in English.
[0182]
When the document 1E is translated into the document 1J, the hyperlink 71 to the document 2E is stored as it is in the document 1J, and the hyperlink to the document 2E is embedded at a corresponding position in the document 1J. For this reason, a hyperlink 72 to the document 2E is displayed as a diagonal line at the position of the "pen" in the document 1J.
[0183]
Here, since the positions of the screen E and the screen J are vertically shifted from each other, the vertical positions of the hyperlink 71 displayed on the screen E and the hyperlink 72 displayed on the screen J are shifted. ing. Therefore, when comparing the hyperlink 71 and the hyperlink 72, it is necessary to look around the entire screen J to find the hyperlink 72 corresponding to the hyperlink 71, and the comparison between the hyperlinks 71 and 72 becomes troublesome.
[0184]
FIG. 35B is a diagram illustrating a second display example of the English-Japanese bilingual document after the unification of the vertical positions of the hyperlinks. In FIG. 35 (b), by scrolling the document 1J on the screen J, the hyperlink 71 displayed on the screen E and the hyperlink 72 displayed on the screen J are aligned in the vertical direction. ing. As a result, the display position of the hyperlink 72 corresponding to the hyperlink 71 can be easily predicted, so that the hyperlink 71 and the hyperlink 72 can be compared quickly.
[0185]
In the above-described embodiment, by scrolling the document 1J on the screen J, the hyperlink 71 displayed on the screen E and the hyperlink 72 displayed on the screen J are aligned in the vertical direction. However, by scrolling the document 1E on the screen E, the vertical positions of the hyperlink 71 displayed on the screen E and the hyperlink 72 displayed on the screen J may be matched. .
[0186]
Next, a screen control process according to the fourteenth embodiment of the present invention will be described. In the fourteenth embodiment, when the horizontal position where the hyperlink is displayed is different between one screen and the other screen, the horizontal position of the hyperlink is aligned by changing the display position. It is.
[0187]
FIG. 36A is a diagram illustrating a display example of an English-Japanese bilingual document before unifying the horizontal positions of the hyperlinks. In FIG. 36A, a screen E and a screen J are generated side by side. Screen E is a screen for displaying data described in English. On this screen E, for example, a document 1E written as "There is a book on the table. Andare are pens on the floor." Is displayed.
[0188]
Screen J is a screen for displaying data described in Japanese. On this screen J, a document 1J that reads "There is a book on the table. There is a pen on the floor." Is displayed as the English-Japanese translation result of the document 1E.
[0189]
The document 1E includes a hyperlink 71 to the document 2E, and the hyperlink 71 is indicated by diagonal lines at the position of “pens” of the document 1E. The hyperlink 71 points to the document 2E written in English.
[0190]
When the document 1E is translated into the document 1J, the hyperlink 71 to the document 2E is stored as it is in the document 1J, and the hyperlink to the document 2E is embedded at a corresponding position in the document 1J. For this reason, a hyperlink 72 to the document 2E is displayed as a diagonal line at the position of the "pen" in the document 1J.
[0191]
Here, the horizontal positions of the hyperlink 71 displayed on the screen E and the hyperlink 72 displayed on the screen J are shifted. Therefore, the comparison between the hyperlink 71 and the hyperlink 72 may become cumbersome.
[0192]
FIG. 36B is a diagram illustrating a display example of the English-Japanese bilingual document after the horizontal positions of the hyperlinks are unified. In FIG. 36B, a part of the sentence including the hyperlink 72 is shifted in the horizontal direction, so that the hyperlink 71 displayed on the screen E and the hyperlink 72 displayed on the screen J are shifted. In the horizontal direction. As a result, the display position of the hyperlink 72 corresponding to the hyperlink 71 can be easily predicted, so that the hyperlink 71 and the hyperlink 72 can be compared quickly.
[0193]
In the above-described embodiment, a part of the sentence including the hyperlink 72 is shifted in the horizontal direction, so that the hyperlink 71 displayed on the screen E and the hyperlink 72 displayed on the screen J are shifted. The position of the hyperlink 71 displayed on the screen E and the position of the hyperlink 71 displayed on the screen J are shifted by shifting a part of the sentence including the hyperlink 71 in the horizontal direction. The position of the hyperlink 72 may be made to coincide with the vertical position.
[0194]
As described above, one embodiment of the present invention has been described, but the present invention is not limited to the above-described embodiment, and various other modifications can be made within the technical idea of the present invention. For example, in the above-described embodiment, the English-Japanese bilingual screen has been described as an example. However, if a voice is included in a reference destination of a hyperlink, an English voice and a Japanese voice are alternately output. You may do so.
[0195]
【The invention's effect】
As described above, according to one aspect of the present invention, the processing type of hyper document data is determined based on the display mode of a designated display screen, and conversion control of the document data referred to by the hyper document data is performed. As a result, even when the hyperlink of the original sentence is directly embedded in the translated sentence and the document referred to by the hyperlink embedded in the original sentence is described in the original language, when the hyperlink of the translated sentence is referred to, The document referred to by the hyperlink can be converted to a translated sentence, and a screen for displaying the original sentence and a screen for displaying the translated sentence can be displayed separately, so that a document described in a different language can be displayed. It is possible to prevent the images from being alternately displayed on the same screen.
[0196]
In addition, by controlling the output order of the document data based on the processing time of the obtained document data, the output of the document data obtained in a short time is delayed due to the time required for the document data to be obtained. It is possible to avoid this, and it is possible to output document data efficiently.
[0197]
Further, according to one aspect of the present invention, by performing the acquisition of the document data and the conversion of the document data in parallel, there is no need to wait for the conversion of the document data until the entire document data is acquired, It is possible to quickly output the conversion result of the document data.
[0198]
Further, according to one aspect of the present invention, when the screens of the hyper-document data overlap, the display position of the hyper-document data is controlled so that the hyperlink is visible, so that the referenced document data can be easily displayed. It is possible to follow.
[0199]
Further, according to one aspect of the present invention, when the conversion of the hyper document data fails, only the hyperlinks of the hyper document data are converted and displayed, so that it is possible to compare the conversion results of the hyperlinks. The document data of the reference destination can be easily traced.
[0200]
Further, according to one aspect of the present invention, when the conversion of the hyper document data and the hyperlink fails, the hyperlink before the conversion is displayed, so that even when the conversion result of the hyper document data cannot be obtained, the reference is performed. The previous document data can be traced on the comparison screen.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating a configuration of an output control device according to an embodiment of the present invention.
FIG. 2 is a block diagram illustrating an example of an output control method according to an embodiment of the present invention.
FIG. 3 is a block diagram illustrating a configuration of a screen control device according to an embodiment of the present invention.
FIG. 4 is a block diagram illustrating a configuration of a screen control device according to a second embodiment of the present invention.
FIG. 5 is a flowchart illustrating a screen control process according to an embodiment of the present invention.
FIG. 6 is a block diagram illustrating a system configuration of a screen control device according to an embodiment of the present invention.
FIG. 7 is a flowchart showing a screen control process in machine translation.
FIG. 8 is a flowchart showing a first embodiment of the conversion processing according to the present invention.
FIG. 9 is a flowchart showing a second embodiment of the conversion processing according to the present invention.
FIG. 10 is a flowchart illustrating a screen display control process according to an embodiment of the present invention.
11A is a diagram illustrating a display example of an English-Japanese bilingual document, FIG. 11B is a diagram illustrating the English-Japanese conversion result of the reference document, and FIG. 11C is a English-Japanese conversion result of the reference document FIG. 6 is a diagram showing a first display example of the above.
12A is a diagram illustrating a content example of input information, FIG. 12B is a diagram illustrating a content example of a process type definition file, and FIG. 12C is a diagram illustrating a first content example of process type information; FIG.
FIG. 13 is a flowchart illustrating a screen control process according to the second embodiment of the present invention.
14A is a diagram illustrating a display example of an English-Japanese bilingual document, FIG. 14B is a diagram illustrating a second example of the processing type information, and FIG. It is a figure showing the 2nd example of a display of a result.
FIG. 15 is a diagram illustrating a language type determination method according to an embodiment of the present invention.
FIG. 16 is a flowchart illustrating a screen control process according to the third embodiment of the present invention.
17A is a diagram illustrating a display example of an English document, FIG. 17B is a diagram illustrating an example of the contents of a screen display state management table, and FIG. 17C is a diagram illustrating a display example of an English-Japanese bilingual document; It is.
FIG. 18 is a flowchart illustrating a screen control process according to a fourth embodiment of the present invention.
FIG. 19 is a diagram showing an example of contents of a display order definition table according to an embodiment of the present invention.
FIG. 20 is a flowchart illustrating a screen control process according to the fifth embodiment of the present invention.
FIG. 21 is a flowchart showing a screen control process according to a sixth embodiment of the present invention.
FIG. 22 is a diagram showing an example of the contents of a character code correspondence table according to an embodiment of the present invention.
FIG. 23 is a flowchart showing a screen control process according to a seventh embodiment of the present invention.
24A is a diagram illustrating a display example of an English-Japanese bilingual document before adjusting the display position of the document, and FIG. 24B is a diagram illustrating a display example of the English-Japanese bilingual document after adjusting the display position of the document; FIG.
FIG. 25 is a flowchart showing a screen control process according to the eighth embodiment of the present invention.
FIG. 26 is a diagram showing a first display example of a hyperlink in an English-Japanese bilingual document.
FIG. 27 is a flowchart illustrating a screen control process according to the ninth embodiment of the present invention.
FIG. 28 is a diagram illustrating a second display example of a hyperlink in an English-Japanese bilingual document.
FIG. 29 is a flowchart showing a screen control process according to the tenth embodiment of the present invention.
30A is a diagram showing a display example of an English-Japanese bilingual document before scrolling, and FIG. 30B is a diagram showing a display example of an English-Japanese bilingual document after scrolling.
FIG. 31 is a diagram illustrating a third display example of a hyperlink in an English-Japanese bilingual document.
FIG. 32 is a flowchart showing reference record display processing according to an embodiment of the present invention.
FIG. 33 is a diagram showing a fourth display example of a hyperlink in an English-Japanese bilingual document.
34A is a diagram illustrating a first display example of an English-Japanese bilingual document before unifying the vertical positions of hyperlinks, and FIG. 34B is a diagram illustrating English and Japanese after unifying the vertical positions of hyperlinks; FIG. 9 is a diagram illustrating a first display example of a bilingual document.
FIG. 35A is a diagram showing a second display example of an English-Japanese bilingual document before unifying the vertical positions of hyperlinks, and FIG. 35B is a diagram showing English and Japanese after unifying the vertical positions of hyperlinks; FIG. 9 is a diagram illustrating a second display example of a bilingual document.
36A is a diagram illustrating a display example of an English-Japanese bilingual document before unifying the horizontal positions of hyperlinks, and FIG. 36B is a diagram illustrating the English-Japanese bilingual document after unifying the horizontal positions of the hyperlinks; It is a figure showing an example of a display.
[Explanation of symbols]
1 Processing type information acquisition means
2 Related information acquisition means
3 Related information conversion means
11 First data
12 Second data
13 Third data
14 Fourth data
21 Display
22 Input control unit
23 Processing type determination unit
24 Process type definition file
25 Data acquisition unit
26 External data
27 Conversion processing unit
27a-27c conversion device
28 Conversion processing control unit
29 Output control unit
31 Input section
32 Display
33 Input control unit
33a display state management table
34 Processing Type Judgment Unit
35 Process type definition file
36 Data acquisition unit
37 External data
38 Conversion unit
38a-38c converter
39 Conversion processing control unit
39a Language type determination unit
40 Output control unit
40a screen generation unit
40b screen synchronization control unit
40c display order control unit
41 Character code correspondence table
42 Display order definition table
51 CPU
52 ROM
53 RAM
54 Communication Interface
55 Communication Network
56 I / O interface
57 Display
58 Printer
59 memory
60 Scanner
61 Keyboard
62 Driver
63 Hard Disk
64 IC card
65 magnetic tape
66 floppy disk
67 Optical Disk
68 bus
71, 72, 91, 92, 101 hyperlink
81, 82 Scroll bar

Claims (5)

複数の表示画面が設けられた表示部と、
前記表示画面で表示される表示形態を監視する入力制御部と、
指定された表示画面の表示形態に基づいて、ハイパー文書データの処理種別を判定する処理種別判定部と、
前記ハイパー文書データの参照先の文書データを取得するデータ取得部と、
前記処理種別に対応させて、前記参照先の文書データの処理内容を格納した処理種別定義ファイルと、
前記処理種別定義ファイルの処理内容に基づいて、前記ハイパー文書データの参照先の文書データの変換制御を行う変換処理制御部と、
前記指定された表示画面に対し、前記参照先の文書データの処理結果を出力する出力制御部と、
前記データ取得部により取得される文書データの処理時間に基づいて、前記文書データの出力順序を制御する表示順序制御部とを備えることを特徴とする出力制御装置。
A display unit provided with a plurality of display screens;
An input control unit that monitors a display mode displayed on the display screen,
A processing type determining unit that determines a processing type of the hyper document data based on a display mode of the designated display screen;
A data acquisition unit that acquires document data of a reference destination of the hyper document data,
A processing type definition file storing processing contents of the referenced document data in association with the processing type;
A conversion processing control unit that performs conversion control of document data of a reference destination of the hyper document data based on the processing content of the processing type definition file;
An output control unit that outputs a processing result of the reference destination document data to the specified display screen;
An output control device, comprising: a display order control unit that controls an output order of the document data based on a processing time of the document data acquired by the data acquisition unit.
複数の表示画面が設けられた表示部と、
前記表示画面で表示される表示形態を監視する入力制御部と、
指定された表示画面の表示形態に基づいて、ハイパー文書データの処理種別を判定する処理種別判定部と、
前記ハイパー文書データの参照先の文書データを取得するデータ取得部と、
前記処理種別に対応させて、前記参照先の文書データの処理内容を格納した処理種別定義ファイルと、
前記処理種別定義ファイルの処理内容に基づいて、前記ハイパー文書データの参照先の文書データの変換制御を行う変換処理制御部と、
前記指定された表示画面に対し、前記参照先の文書データの処理結果を出力する出力制御部と、
前記データ取得部により取得される文書データの取得時間を判定する取得時間判定部と、
前記取得時間が所定値以上の場合、前記文書データの一部に対して変換処理を開始させる部分データ変換制御部とを備えることを特徴とする出力制御装置。
A display unit provided with a plurality of display screens;
An input control unit that monitors a display mode displayed on the display screen,
A processing type determining unit that determines a processing type of the hyper document data based on a display mode of the designated display screen;
A data acquisition unit that acquires document data of a reference destination of the hyper document data,
A processing type definition file storing processing contents of the referenced document data in association with the processing type;
A conversion processing control unit that performs conversion control of document data of a reference destination of the hyper document data based on the processing content of the processing type definition file;
An output control unit that outputs a processing result of the reference destination document data to the specified display screen;
An acquisition time determination unit that determines an acquisition time of the document data acquired by the data acquisition unit,
An output control device, comprising: a partial data conversion control unit that starts a conversion process on a part of the document data when the acquisition time is equal to or longer than a predetermined value.
複数の表示画面が設けられた表示部と、
前記表示画面で表示される表示形態を監視する入力制御部と、
指定された表示画面の表示形態に基づいて、ハイパー文書データの処理種別を判定する処理種別判定部と、
前記ハイパー文書データの参照先の文書データを取得するデータ取得部と、
前記処理種別に対応させて、前記参照先の文書データの処理内容を格納した処理種別定義ファイルと、
前記処理種別定義ファイルの処理内容に基づいて、前記ハイパー文書データの参照先の文書データの変換制御を行う変換処理制御部と、
前記指定された表示画面に対し、前記参照先の文書データの処理結果を出力する出力制御部と、
前記ハイパー文書データのハイパーリンクの表示状態を検出するハイパーリンク検出部と、
前記ハイパーリンクが他の画面の下に隠れている場合、前記ハイパーリンクが見えるように、前記ハイパー文書データの表示位置を制御する表示位置制御部とを備えることを特徴とする出力制御装置。
A display unit provided with a plurality of display screens;
An input control unit that monitors a display mode displayed on the display screen,
A processing type determining unit that determines a processing type of the hyper document data based on a display mode of the designated display screen;
A data acquisition unit that acquires document data of a reference destination of the hyper document data,
A processing type definition file storing processing contents of the referenced document data in association with the processing type;
A conversion processing control unit that performs conversion control of document data of a reference destination of the hyper document data based on the processing content of the processing type definition file;
An output control unit that outputs a processing result of the reference destination document data to the specified display screen;
A hyperlink detection unit that detects a display state of a hyperlink of the hyperdocument data,
An output control device, comprising: a display position control unit that controls a display position of the hyper document data so that the hyperlink is visible when the hyperlink is hidden under another screen.
複数の表示画面が設けられた表示部と、
前記表示画面で表示される表示形態を監視する入力制御部と、
指定された表示画面の表示形態に基づいて、ハイパー文書データの処理種別を判定する処理種別判定部と、
前記ハイパー文書データの参照先の文書データを取得するデータ取得部と、
前記処理種別に対応させて、前記参照先の文書データの処理内容を格納した処理種別定義ファイルと、
前記処理種別定義ファイルの処理内容に基づいて、前記ハイパー文書データの参照先の文書データの変換制御を行う変換処理制御部と、
前記指定された表示画面に対し、前記参照先の文書データの処理結果を出力する出力制御部と、
前記ハイパー文書データの変換が成功したか失敗したかを判定する第1の合否判定部と、
前記ハイパー文書データの変換に失敗した場合、前記ハイパー文書データのハイパーリンクの変換を指示する変換指示部と、
前記ハイパーリンクの変換結果の表示を指示する第1の表示指示部とを備えることを特徴とする出力制御装置。
A display unit provided with a plurality of display screens;
An input control unit that monitors a display mode displayed on the display screen,
A processing type determining unit that determines a processing type of the hyper document data based on a display mode of the designated display screen;
A data acquisition unit that acquires document data of a reference destination of the hyper document data,
A processing type definition file storing processing contents of the referenced document data in association with the processing type;
A conversion processing control unit that performs conversion control of document data of a reference destination of the hyper document data based on the processing content of the processing type definition file;
An output control unit that outputs a processing result of the reference destination document data to the specified display screen;
A first pass / fail determination unit that determines whether the conversion of the hyper document data has succeeded or failed;
When the conversion of the hyper document data fails, a conversion instruction unit that instructs the conversion of the hyperlink of the hyper document data,
An output control device comprising: a first display instruction unit that instructs display of the conversion result of the hyperlink.
前記ハイパーリンクの変換が成功したか失敗したかを判定する第2の合否判定部と、
前記ハイパーリンクの変換に失敗した場合、変換前のハイパーリンクの表示を指示する第2の表示指示部とをさらに備えることを特徴とする請求項4に記載の出力制御装置。
A second pass / fail determination unit that determines whether the conversion of the hyperlink has succeeded or failed;
The output control device according to claim 4, further comprising: a second display instruction unit that instructs display of the hyperlink before the conversion when the conversion of the hyperlink has failed.
JP2003174127A 2003-06-18 2003-06-18 Output control device Expired - Fee Related JP4191543B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003174127A JP4191543B2 (en) 2003-06-18 2003-06-18 Output control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003174127A JP4191543B2 (en) 2003-06-18 2003-06-18 Output control device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP34519797A Division JPH11175527A (en) 1997-12-15 1997-12-15 Output controller and output control method

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2006066557A Division JP2006244510A (en) 2006-03-10 2006-03-10 Output control device

Publications (2)

Publication Number Publication Date
JP2004046841A true JP2004046841A (en) 2004-02-12
JP4191543B2 JP4191543B2 (en) 2008-12-03

Family

ID=31712457

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003174127A Expired - Fee Related JP4191543B2 (en) 2003-06-18 2003-06-18 Output control device

Country Status (1)

Country Link
JP (1) JP4191543B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20210092518A (en) * 2020-01-16 2021-07-26 네이버 주식회사 Automatic scroll control method for synchronizing position of original text and translation, computer program and terminal device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20210092518A (en) * 2020-01-16 2021-07-26 네이버 주식회사 Automatic scroll control method for synchronizing position of original text and translation, computer program and terminal device
KR102346177B1 (en) * 2020-01-16 2022-01-03 네이버 주식회사 Automatic scroll control method for synchronizing position of original text and translation, computer program and terminal device
US11531509B2 (en) 2020-01-16 2022-12-20 Naver Corporation Automatic scroll control method for synchronizing positions of original text and translation, computer program and terminal device

Also Published As

Publication number Publication date
JP4191543B2 (en) 2008-12-03

Similar Documents

Publication Publication Date Title
JPH11175527A (en) Output controller and output control method
US7085999B2 (en) Information processing system, proxy server, web page display method, storage medium, and program transmission apparatus
JP4843867B2 (en) Document processing apparatus, document processing method, document processing program, and recording medium
US5819261A (en) Method and apparatus for extracting a keyword from scheduling data using the keyword for searching the schedule data file
EP0810534B1 (en) Document display system and electronic dictionary
US7111234B2 (en) System and method for in-line editing of web-based documents
GB2332544A (en) Automatic adaptive document help system
US20070035745A1 (en) Information processing method, information processing program, information processing device, and remote controller
JPH09222974A (en) Language interpretation display method, device and system using the same
JP2005293351A (en) Image processor and image processing method
JP4566196B2 (en) Document processing method and apparatus
JP2006244510A (en) Output control device
JP4627530B2 (en) Document processing method and apparatus
JP2002215519A (en) Method and system for web page generation, web page generating program, and recording medium
JP4191543B2 (en) Output control device
JP2004046842A (en) Output control device
JP2004030691A (en) Output controller
JP3792010B2 (en) Sentence creation device
JP3714723B2 (en) Document display system
JP2002140338A (en) Device and method for supporting construction of dictionary
JP3774431B2 (en) Dictionary construction support device and dictionary construction support method
JP4013539B2 (en) Digital content creation system, digital content creation program, and digital content creation method
JP7246795B1 (en) Information processing device, method, program, and system
JP3537260B2 (en) Linked document search and display system
JP3281746B2 (en) Machine translation equipment

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20051018

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20051213

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20060110

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060310

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080716

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: 20080918

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

Free format text: PAYMENT UNTIL: 20110926

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20120926

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120926

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130926

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees