JPH09179867A - Document information processor - Google Patents

Document information processor

Info

Publication number
JPH09179867A
JPH09179867A JP7337238A JP33723895A JPH09179867A JP H09179867 A JPH09179867 A JP H09179867A JP 7337238 A JP7337238 A JP 7337238A JP 33723895 A JP33723895 A JP 33723895A JP H09179867 A JPH09179867 A JP H09179867A
Authority
JP
Japan
Prior art keywords
conversion
information
document
search
conversion target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP7337238A
Other languages
Japanese (ja)
Inventor
Satoharu Oshima
聰治 大嶋
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.)
Sharp Corp
Original Assignee
Sharp Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sharp Corp filed Critical Sharp Corp
Priority to JP7337238A priority Critical patent/JPH09179867A/en
Publication of JPH09179867A publication Critical patent/JPH09179867A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To discriminate between a conversion object part in an original text and a corresponding converted character string in two display areas. SOLUTION: This device consists of a retrieval means 103 which reads the original text out and retrieves a conversion object part and its position information, a retrieval information storage means 104 which stores the conversion object part and its position information, a conversion processing means 105 which converts the retrieved conversion object part into a character strings of other words, and a discrimination information inserting means 106 which inserts discrimination information for making the retrieved conversion object part in the original text and the converted character string correspond to each other at the head or tail position. Thus, the discrimination information is inserted by the discrimination information inserting means 106 and then the original text having the discrimination information inserted is displayed in one display area and the converted character string is displayed in the other display area while having the discrimination information inserted.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は文書情報処理装置に
関し、詳しくは、日本語ワードプロセッサー、欧文ワー
ドプロセッサー、DTP(Desk Top Publishing)、パー
ソナルコンピュータ、電子翻訳機、機械翻訳装置、翻訳
支援装置、電子手帳などの情報処理装置において入力し
た原文中の変換対象部分の翻訳、辞書情報の変換及び関
連する情報の読み出し処理をする文書情報処理装置に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document information processing device, and more specifically, a Japanese word processor, a European word processor, a DTP (Desk Top Publishing), a personal computer, an electronic translator, a machine translation device, a translation support device, an electronic notebook. For example, the present invention relates to a document information processing apparatus for translating a conversion target portion in an original sentence input in an information processing apparatus, converting dictionary information, and reading related information.

【0002】[0002]

【従来の技術】近年、コンピュータなどを利用して、例
えば、第1の言語で記載された入力原文を第2の言語に
自動的に翻訳する翻訳装置の開発が進められている。国
際間の交流が活発化するに伴い、一つの文書に複数種類
の言語が記載されることもしばしば見受けられるように
なってきた。この場合には、第1の言語以外で記載され
た部分を除くか、あるいはその部分を第1の言語に翻訳
して入力原文を作成しなければならないとういう問題が
あった。この問題を改善するものとして、特開昭63−
165961号公報に記載されているように、入力原文
中の第1の言語以外の言語で記載された部分があって
も、その部分の言語を他言語に翻訳処理する機械翻訳装
置が知られている。
2. Description of the Related Art In recent years, a translation device for automatically translating an input original sentence described in a first language into a second language using a computer has been developed. As international exchanges have become more active, it has become more common to see multiple languages in one document. In this case, there has been a problem that the part written in a language other than the first language must be removed or the part must be translated into the first language to create the input original sentence. To solve this problem, Japanese Patent Laid-Open No. 63-
As described in Japanese Patent No. 165961, even if there is a part described in a language other than the first language in the input original sentence, a machine translation device that translates the language of the part into another language is known. There is.

【0003】また、原文ファイルと訳文ファイルと対応
において、原文ファイルの追加・削除などの編集により
訳文と原文との整合が損なわれてしまうという問題があ
った。この問題を改善するものとして、特開平1−23
0179号公報に記載されているように、原文ファイル
と訳文ファイルの対応情報を原訳対応ファイルとして保
持することによって、原文ファイルの変化により発生す
る訳文ファイルの不整合を除去する原文・訳文ファイル
対応方法が知られている。
Further, in correspondence between the original sentence file and the translated sentence file, there has been a problem that the matching between the translated sentence and the original sentence is impaired by editing such as addition or deletion of the original sentence file. As a solution to this problem, Japanese Patent Laid-Open No. 1-23
As described in Japanese Patent Laid-Open No. 0179, by retaining the correspondence information between the original text file and the translated text file as the original translation corresponding file, the original text / translated text file correspondence that eliminates the inconsistency of the translated text file caused by the change of the original text file The method is known.

【0004】また、従来、原文書と訳文書と対応関係の
確認を目視によって行っていたため、翻訳抜けや翻訳順
序の誤りが生じていた。この問題を改善するものとし
て、特開平3−269669号公報に記載されているよ
うに、原文書と翻訳文書を、対応情報テーブルを備えて
文字列同士で相互参照可能とした翻訳用文書処理装置が
知られている。また、入力原文中に翻訳不要な写植コー
ドが含まれる場合は、オペレータが翻訳処理前に一旦削
除して、翻訳処理後、追加するなどの繁雑な処理をして
いた。この問題を改善するものとして、特開平4−16
7060号公報に記載されているように、入力された原
文中より翻訳不要部分を抽出し、その不要部分に区切ら
れた部分に対して翻訳を行って、翻訳されたデータと翻
訳不要部分とを接続する機械翻訳システムが知られてい
る。
Further, conventionally, since the correspondence between the original document and the translated document has been visually confirmed, a missing translation or an incorrect translation order has occurred. As a solution to this problem, as described in Japanese Patent Application Laid-Open No. 3-269669, a translation document processing apparatus in which an original document and a translated document are provided with a correspondence information table and can be cross-referenced between character strings. It has been known. Further, when the input original sentence includes a typesetting code that does not need to be translated, the operator once deletes the translation type before the translation process, and adds it after the translation process. To solve this problem, Japanese Patent Laid-Open No. 4-16
As described in Japanese Patent No. 7060, a translation unnecessary portion is extracted from the input original sentence, and a portion separated into the unnecessary portions is translated to obtain the translated data and the translation unnecessary portion. Connected machine translation systems are known.

【0005】また、別訳文(同じ源文に対し何通りかの
翻訳文を列記した文)の中でその部分が違っている場合
が多い場合、その特定部分について、より多くの解釈を
表示することができなかった。この問題を改善するもの
として、特開平4−349572号公報に記載のよう
に、別訳文の編集において、別訳文候補のうち、指定さ
れた所定の部分について、別訳文を部分的に再び生成
し、表示して、選択された別訳文に編集する機械翻訳装
置が知られている。また、文書中から所望の単語を選ん
で翻訳する場合、翻訳しようとする単語をキーボード等
から再入力する必要があった。この問題を改善するもの
として、特開平1−217565号公報に記載のよう
に、第1の言語中の単語を指定して、対応する第2の言
語を検索して表示する翻訳装置が記載されている。
[0005] In addition, when different parts of different translations (sentences in which several translations are listed for the same source text) are often different, more interpretations are displayed for the particular part. I couldn't. As a solution to this problem, as described in Japanese Patent Application Laid-Open No. 4-349527, in the translation of another translation, another translation is partially regenerated for a specified portion of the translation candidates. , A machine translation device that displays and edits a selected translated text is known. Further, when a desired word is selected from a document and translated, it is necessary to re-input the word to be translated from a keyboard or the like. As a solution to this problem, as described in Japanese Patent Application Laid-Open No. 1-217565, there is described a translation device that designates a word in a first language and searches for and displays a corresponding second language. ing.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、特開昭
63−165961号公報、特開平1−230179号
公報、特開平3−269669号公報、特開平4−16
7060号公報、特開平4−349572号公報、特開
平1−217565号公報のいずれもが、原文中の翻訳
対象部が正しく判断され効率よく機械翻訳されるよう構
成されているのでオペレータの操作が軽減されるが、オ
ペレータに理解しやすいフォーマットの文書で作成する
ことは対象としていない。例えば、原文中の翻訳処理対
象部と翻訳処理結果とが識別可能な記号文字列で対応づ
けるよう構成されていないので、オペレータは、原文と
その翻訳処理対象部、翻訳処理結果を正しく理解できな
いという問題がある。
However, JP-A-63-165961, JP-A-1-230179, JP-A-3-269669, and JP-A-4-16 are known.
No. 7060, Japanese Unexamined Patent Application Publication No. 4-349572, and Japanese Unexamined Patent Application Publication No. 1-217565 are configured so that a translation target portion in an original sentence is correctly determined and machine translated efficiently. Although it is reduced, it is not intended to create documents in a format that is easy for operators to understand. For example, since the translation process target part in the original sentence and the translation process result are not configured to be associated with each other by a distinguishable symbolic character string, the operator cannot correctly understand the original sentence, the translation process target part, and the translation process result. There's a problem.

【0007】図31は従来の機械翻訳装置で翻訳した文
書処理例を示す説明図である。図31(a)に示すよう
に、例えば、日本語の文書中に英語の文が入っているよ
うな原文を翻訳すると、得られる文書は、図31(b)
に示すように、翻訳をしない原文と翻訳した文を混在し
た文書か、図31(c)のような翻訳可能な部分のみを
抜き出して翻訳を行った文書となる。従って、図31
(b)の文書処理例では、翻訳される部分が削除され、
翻訳をしない原文と翻訳した文を混在して表示されてい
る。すなわち、どの部分を翻訳したかの情報がないの
で、翻訳される部分の原文を確認することができない。
また、原文の作成者が2種類の言語を組み合わせて述べ
ようとした意図が失われている問題がある。また、図3
1(c)の文書処理例では、原文がすべて削除され、翻
訳した文だけ表示しているので、原文のどの部分に対し
ての文書処理結果なのか全く分からず、原文の内容を理
解できないという問題がある。
FIG. 31 is an explanatory diagram showing an example of document processing translated by a conventional machine translation device. As shown in FIG. 31A, for example, when an original sentence in which an English sentence is included in a Japanese document is translated, the obtained document is as shown in FIG.
As shown in, the document is a document in which an original sentence that is not translated and a translated sentence are mixed, or a document in which only the translatable portion as shown in FIG. 31C is extracted and translated. Therefore, FIG.
In the document processing example of (b), the translated part is deleted,
The original text that is not translated and the translated text are displayed together. That is, since there is no information about which part is translated, the original text of the translated part cannot be confirmed.
In addition, there is a problem that the creator of the original text loses the intention to describe it by combining two kinds of languages. FIG.
In the document processing example of 1 (c), since the original sentence is all deleted and only the translated sentence is displayed, it is impossible to understand the content of the original sentence because it is completely unknown to which part of the original sentence the document processing result is obtained. There's a problem.

【0008】本発明は以上のような事情を考慮してなさ
れたものでり、例えば、入力された原文中の変換対象部
分と変換された文字列に対応する識別情報を挿入して二
つの表示領域で識別可能に表示する文書情報処理装置を
提供するものである。
The present invention has been made in consideration of the above circumstances, and, for example, inserts identification information corresponding to a conversion target portion and a converted character string in an input original sentence into two displays. (EN) A document information processing apparatus for displaying in an area distinguishably.

【0009】[0009]

【課題を解決するための手段】図1は本発明の基本構成
を示すブロック図である。本発明は、変換対象部分を含
む原文を入力する入力手段101と、入力された原文を
記憶する原文記憶手段102と、原文記憶手段102に
記憶された原文を読み出し変換対象部分とその位置情報
を検索する検索手段103と、変換対象部分とその位置
情報を記憶する検索情報記憶手段104と、検索された
変換対象部分を別の単語の文字列に変換する変換処理手
段105と、検索された原文中の変換対象部分と変換さ
れた文字列を対応づける識別情報をそれぞれの先頭また
は末尾の位置に挿入する識別情報挿入手段106と、複
数の表示領域を有する表示手段107と、識別情報挿入
手段106から識別情報の挿入動作を受け、ある表示領
域には変換対象部分に識別情報が挿入された原文を、他
の表示領域には変換された文字列に識別情報を挿入して
表示手段107に表示させる表示制御手段108とを備
えたことを特徴とする文書情報処理装置である。
FIG. 1 is a block diagram showing the basic configuration of the present invention. According to the present invention, an input unit 101 for inputting an original sentence including a conversion target portion, an original sentence storage unit 102 for storing the input original sentence, an original sentence stored in the original sentence storage unit 102, and a conversion target portion and their position information are read out. Search means 103 for searching, search information storage means 104 for storing the conversion target portion and its position information, conversion processing means 105 for converting the searched conversion target portion into a character string of another word, and the searched original text. Identification information inserting means 106 for inserting identification information associating the conversion target portion with the converted character string at the beginning or end position of each, display means 107 having a plurality of display areas, and identification information inserting means 106. In response to the operation of inserting the identification information from one of the display areas, the original text in which the identification information is inserted in the conversion target portion in one display area A document-processing device, characterized in that inserted to and a display control unit 108 to be displayed on the display unit 107.

【0010】本発明によれば、入力された原文中の変換
対象部分と変換された文字列に対応する識別情報を挿入
して二つの表示領域で識別可能に表示する。識別情報は
記号/マークで構成してもよい。従って、入力された原
文の変換対象部分と変換された文字列(変換結果)が同
一の識別情報により対応づけられるので理解しやすい文
書が得られる。
According to the present invention, the identification information corresponding to the conversion target portion and the converted character string in the input original text is inserted and displayed so as to be distinguishable in the two display areas. The identification information may be composed of symbols / marks. Therefore, since the conversion target part of the input original text and the converted character string (conversion result) are associated with the same identification information, a document that is easy to understand can be obtained.

【0011】なお、本発明において、入力手段101、
翻訳指示手段112、読出指示手段113、検索指示手
段114、装飾指示手段116、書式指示手段117
は、キーボード、マウス、タブレットなどの入力装置が
用いられることが好ましい。原文記憶手段102、検索
手段103、検索情報記憶手段104、変換処理手段1
05、識別情報挿入手段106、表示制御手段108、
変換文字列挿入手段109、切替指示手段110、変換
情報格納手段111、文字列テーブル115は、CP
U、ROM、RAM、I/Oインターフェイス、及びタ
イマーなどからなるマイクロコンピュータで構成され
る。
In the present invention, the input means 101,
Translation instruction means 112, read instruction means 113, search instruction means 114, decoration instruction means 116, format instruction means 117
It is preferable to use an input device such as a keyboard, a mouse, or a tablet. Original text storage means 102, search means 103, search information storage means 104, conversion processing means 1
05, identification information insertion means 106, display control means 108,
The conversion character string insertion unit 109, the switching instruction unit 110, the conversion information storage unit 111, and the character string table 115 are CPs.
It is composed of a microcomputer including a U, a ROM, a RAM, an I / O interface, and a timer.

【0012】特に、原文記憶手段102、検索情報記憶
手段104としては、通常、この中のRAMが用いられ
るが、ハードディスクやフロッピーディスクなどの外部
記憶装置を用いてもよい。また、変換情報格納手段11
1、文字列テーブル115はこの中のROMやCD−R
OMが用いられる。また、変換情報格納手段111に住
所録情報が格納する場合はデータベースを利用すること
もできる。表示手段107は、CRTディスプレイ、液
晶ディスプレイなどの表示装置で構成される。不揮発性
記憶手段118は、EEPROM、ハードディスクやフ
ロッピーディスクで構成され、原文記憶手段102、検
索情報記憶手段104の補助記憶手段として用いられ
る。
Particularly, as the original text storage means 102 and the search information storage means 104, the RAM therein is usually used, but an external storage device such as a hard disk or a floppy disk may be used. Further, the conversion information storage means 11
1. The character string table 115 is a ROM or CD-R in this.
OM is used. Further, when the address book information is stored in the conversion information storage means 111, a database can be used. The display means 107 is composed of a display device such as a CRT display or a liquid crystal display. The non-volatile storage means 118 is composed of an EEPROM, a hard disk or a floppy disk, and is used as an auxiliary storage means of the original text storage means 102 and the search information storage means 104.

【0013】前記識別情報が、前記検索手段103によ
って原文中の先頭から順に検索された変換対象部分の検
索位置の番号を含む文字列である構成にすることが好ま
しい。この構成によれば、入力された原文中の変換対象
部分と変換された文字列にそれぞれ同一の検索位置の番
号が挿入されて対応づけられるので理解しやすい文書が
得られる。
It is preferable that the identification information is a character string including the number of the search position of the conversion target part searched in order from the beginning in the original sentence by the searching means 103. According to this configuration, since the same search position number is inserted and associated with the converted character string in the input original sentence and the converted character string, a document that is easy to understand can be obtained.

【0014】前記変換処理手段105によって変換され
た文字列を原文中の変換対象部分の末尾に識別可能な書
式で挿入する変換文字列挿入手段109と、前記識別情
報挿入手段106の挿入動作に基づく表示形態と前記変
換文字列挿入手段109の挿入動作に基づく表示形態と
の切り替え指示をする切替指示手段110をさらに備え
た構成にすることが好ましい。この構成によれば、入力
した原文中の変換対象部分に対する変換結果をどのよう
な表示形態で表示するか任意に切り替えることができ
る。
Based on the insertion operation of the conversion character string insertion means 109 for inserting the character string converted by the conversion processing means 105 into the end of the conversion target portion in the original sentence in an identifiable format, and the identification information insertion means 106. It is preferable to further include a switching instruction unit 110 for instructing switching between the display form and the display form based on the inserting operation of the conversion character string inserting unit 109. With this configuration, it is possible to arbitrarily switch in what display form the conversion result for the conversion target portion in the input original sentence is displayed.

【0015】前記表示制御手段108は前記切替指示手
段110から変換文字列挿入手段109の挿入動作に基
づく表示内容を表示するための切り替え指示を受けた際
には、入力された原文中の変換対象部分に対して変換し
た文字列を変換対象部分の末尾に識別可能な書式で前記
表示手段107に表示させる構成にすることが好まし
い。この構成によれば、入力された原文中の変換対象部
分の末尾に変換した文字列を認識しやすい書式にして挿
入した文書(例えば、括弧の中に変換結果を挿入)を生
成して表示することができる。従って、一つの表示領域
で変換対象を保持したままの原文と、変換結果が一覧で
きるので、理解しやすい文書を得ることができる。
When the display control means 108 receives a switching instruction from the switching instruction means 110 for displaying the display content based on the inserting operation of the conversion character string inserting means 109, the conversion target in the input original sentence is converted. It is preferable that the character string obtained by converting the portion is displayed on the display unit 107 at the end of the conversion target portion in an identifiable format. According to this configuration, a document (for example, the conversion result is inserted in parentheses) in which the converted character string is inserted in a format that is easy to recognize at the end of the conversion target portion in the input original text is generated and displayed. be able to. Therefore, since the original sentence in which the conversion target is held and the conversion result can be viewed in one display area, a document that is easy to understand can be obtained.

【0016】入力された原文中の変換対象部分を別の単
語に変換するための構文解析辞書及び複数の言語間を翻
訳する翻訳辞書からなる変換情報格納手段111と、翻
訳の言語を指示する翻訳指示手段112をさらに備え、
前記変換処理手段105は翻訳指示手段112の指示を
受け、前記構文解析辞書及び翻訳辞書を参照して入力さ
れた原文中の変換対象部分を別の単語の文字列に変換処
理する構成にすることが好ましい。この構成によれば、
入力された原文中の変換対象部分と翻訳を行った翻訳文
とが識別情報により対応づけて表示されるので理解しや
すい文書が得られる。
A conversion information storage means 111 composed of a syntactic analysis dictionary for converting a conversion target portion in the input original sentence into another word and a translation dictionary for translating between a plurality of languages, and a translation for instructing a translation language. Further comprising an instruction means 112,
The conversion processing unit 105 receives the instruction of the translation instruction unit 112 and converts the conversion target portion in the original sentence input by referring to the syntactic analysis dictionary and the translation dictionary into a character string of another word. Is preferred. According to this configuration,
Since the conversion target part in the input original sentence and the translated translated sentence are displayed in association with each other by the identification information, an easily understandable document can be obtained.

【0017】単語の見出し語とその見出し語に対する意
味情報を含む単語辞書からなる変換情報格納手段111
と、前記単語辞書の意味情報の読み出しを指示する読出
指示手段113とをさらに備え、前記変換処理手段10
5は前記読出指示手段113の指示を受け、前記単語辞
書を参照して入力された原文中の変換対象部分を単語の
見出し語及びその意味情報に変換する構成にすることが
好ましい。この構成によれば、入力された原文中の変換
対象部分の単語の見出し語とその見出し語に対する意味
情報を単語辞書から読み出した変換結果(辞書引き結
果)と原文の変換対象部分の単語が識別情報により対応
づけて表示されるので理解しやすい文書が得られる。
Conversion information storage means 111 comprising a word dictionary containing headwords of words and meaning information for the headwords.
And a read instructing means 113 for instructing to read out the semantic information of the word dictionary, and the conversion processing means 10
It is preferable that 5 receives the instruction of the read instructing means 113, and converts the conversion target portion in the original sentence input with reference to the word dictionary into a headword of the word and its semantic information. According to this configuration, the conversion result (dictionary result) obtained by reading the entry word of the word of the conversion target portion in the input original text and the semantic information for the conversion word from the word dictionary and the word of the conversion target portion of the original text are identified. Since the information is displayed in association with each other, a document that is easy to understand can be obtained.

【0018】人名情報及び住所録情報を含む住所録から
なる変換情報格納手段111はさらに備え、前記変換処
理手段105は入力された原文中の変換対象部分が人名
情報ならば前記住所録を参照して住所録情報を付加する
構成にすることが好ましい。この構成によれば、入力さ
れた原文中の変換対象部分が人名情報ならば住所録(デ
ータベース)の検索を行って、住所録情報を付加した人
名情報と、変換対象部分が識別情報により対応づけて表
示されるので理解しやすい文書が得られる。
Conversion information storage means 111 comprising an address book including personal name information and address book information is further provided, and the conversion processing means 105 refers to the address book if the conversion target portion in the input original text is personal name information. It is preferable that the address book information is added to the address book information. According to this configuration, if the conversion target part in the input original text is the personal name information, the address book (database) is searched, and the personal name information with the address book information is associated with the conversion target part by the identification information. Since it is displayed as, it is easy to understand the document.

【0019】前記検索手段103が前記原文記憶手段1
02に記憶された原文を読み出し変換対象部分とその位
置情報を検索する際の開始位置と終了位置を指示する検
索指示手段114をさらに備えた構成にすることが好ま
しい。この構成によれば、オペレータは、入力された原
文中の変換対象部分の範囲を任意に指定して変換するこ
とができる。また、指定した範囲の変換対象部分と変換
した文字列が識別情報により対応づけて表示される。
The search means 103 is the original text storage means 1
It is preferable to further include a search instructing unit 114 for instructing a start position and an end position when the original sentence stored in 02 is retrieved and the conversion target portion and its position information are retrieved. According to this configuration, the operator can arbitrarily specify and convert the range of the conversion target portion in the input original sentence. Further, the conversion target portion in the designated range and the converted character string are displayed in association with each other by the identification information.

【0020】前記変換処理手段105によって変換され
る単語に属する文字種類を記憶した文字列テーブル11
5をさらに備え、前記検索手段103は前記文字列テー
ブル115を参照して原文中の変換対象部分の文字数と
その位置情報を検索する構成にすることが好ましい。文
字列テーブルとしては、例えば、英数コード表、JIS
第2水準漢字コード表などを利用することができる。こ
の構成によれば、入力した原文中の変換対象部分を、オ
ペレータが指定することなしに原文中の変換対象部分の
文字数とその位置情報が検索される。従って、変換処理
の誤動作を防止することができる。
A character string table 11 storing the character types belonging to the words converted by the conversion processing means 105.
It is preferable that the search means 103 further comprises 5 to search the character string table 115 for the number of characters of the conversion target portion in the original sentence and the position information thereof. As the character string table, for example, an alphanumeric code table, JIS
You can use the second level Kanji code table. According to this configuration, the number of characters of the conversion target portion in the original sentence and its position information are searched without the operator specifying the conversion target portion in the input original sentence. Therefore, malfunction of the conversion process can be prevented.

【0021】変換対象部分の任意の位置を指示する検索
指示手段114をさらに備え、前記検索手段103は前
記文字列テーブル115を参照して前記検索指示手段1
14によって指示された位置から前後に原文中の変換対
象部分の文字数とその位置情報を検索する構成にするこ
とが好ましい。この構成によれば、オペレータが、入力
された原文中の変換対象部分(変換を行いたい文字列)
の1文字を指定するだけで、指定した変換対象部分の文
字数とその位置情報が検索される。従って、変換対象部
分の選択操作が簡単になる。
The search instruction means 114 for instructing an arbitrary position of the conversion target portion is further provided, and the search means 103 refers to the character string table 115 to search the search instruction means 1.
It is preferable that the number of characters of the conversion target portion in the original sentence and the position information thereof are searched before and after the position designated by 14. According to this configuration, the operator is the conversion target part (the character string to be converted) in the input original text.
The number of characters in the designated conversion target portion and its position information are retrieved by simply designating one character. Therefore, the selection operation of the conversion target portion is simplified.

【0022】変換対象部分に特定のアンダーラインを付
加する装飾指示手段116をさらに備え、前記検索手段
103は前記装飾指示手段116によって付加されたア
ンダーラインを参照して原文中の変換対象部分の文字数
とその位置情報を検索する構成にすることが好ましい。
この構成によれば、入力文書作成中の文書を読みやす
くするために、入力された原文中の変換対象部分にあら
かじめアンダーラインなどの装飾を行っておくことによ
って、オペレータが指定することなしに原文中の変換対
象部分の文字数とその位置情報が検索される。従って、
変換対象部分の選択操作が簡単になる。
A decoration instructing means 116 for adding a specific underline to the conversion target portion is further provided, and the search means 103 refers to the underline added by the decoration instructing means 116 to determine the number of characters of the conversion target portion in the original sentence. It is preferable to have a configuration in which the position information is searched.
According to this configuration, in order to make the document being created into an easy-to-read document, the conversion target part in the input source text is pre-decorated with underlines, etc. The number of characters in the conversion target portion and its position information are searched. Therefore,
The selection operation of the conversion target part becomes easy.

【0023】変換対象部分に特定の書式情報を付加する
書式指示手段117をさらに備え、前記検索手段103
は前記書式指示手段114によって付加された書式情報
を参照して原文中の変換対象部分の文字数とその位置情
報を検索する構成にすることが好ましい。この構成によ
れば、入力した文書中の処理を行う部分に、入力文書作
成中に文書を読みやすくするために、入力された原文中
の変換対象部分にあらかじめ書式変更を行っておくこと
によって、オペレータが指定することなしに、原文中の
変換対象部分の文字数とその位置情報が検索される。従
って、変換対象部分の選択操作が簡単になる。
A format designating means 117 for adding specific format information to the conversion target portion is further provided, and the search means 103 is provided.
It is preferable to refer to the format information added by the format instructing means 114 to retrieve the number of characters of the conversion target portion in the original sentence and the position information thereof. According to this configuration, in the portion of the input document to be processed, in order to make the document easier to read while creating the input document, the format is changed in advance in the conversion target portion of the input original text. The number of characters and the position information of the conversion target portion in the original text are searched without the operator's designation. Therefore, the selection operation of the conversion target portion is simplified.

【0024】前記原文記憶手段102に記憶された原文
及び前記検索情報記憶手段104に記憶された変換対象
部分とその位置情報を、読み出し可能に記憶する不揮発
性記憶手段118をさらに備えた構成にすることが好ま
しい。この構成によれば、一度入力した原文に対して、
再び入力処理や変換処理を行うことなく、もっとも適し
た表示形態を任意に選択することができる。
The original sentence stored in the original sentence storage unit 102, the conversion target portion stored in the search information storage unit 104, and the position information thereof are readably stored in a nonvolatile storage unit 118. It is preferable. According to this configuration, once the original text is input,
The most suitable display form can be arbitrarily selected without performing the input process and the conversion process again.

【0025】[0025]

【発明の実施の形態】以下、図に示す実施例に基づいて
本発明を詳述する。なお、本発明はこれによって限定さ
れるものではない。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, the present invention will be described in detail based on an embodiment shown in the drawings. The present invention is not limited by this.

【0026】図2は本発明の文書情報処理装置の一実施
例を示すブロック図である。1はROMに格納されてい
るプログラムを実行することによって装置全体の制御と
各コントローラ(各構成要素)間での各種データの受け
渡しを行うCPU(中央処理装置)である。また、CP
U1は、図1に示す検索手段、変換処理手段、識別情報
挿入手段、表示制御手段、変換文字列挿入手段として機
能する。2は装置の各構成要素がデータの受け渡しを行
うアドレス及びデータバス、3は本装置で表示または印
字可能な文字、記号などのビットマップ及びアウトライ
ンフォントデータを保持しているCGROMである。4
は表示装置の画面の文字に1対1で対応するアドレス構
成を持ち、表示されている画面を保持しているVRAM
である。
FIG. 2 is a block diagram showing an embodiment of the document information processing apparatus of the present invention. Reference numeral 1 denotes a CPU (central processing unit) that controls the entire apparatus and transfers various data between the controllers (components) by executing a program stored in the ROM. Also, CP
U1 functions as a search unit, a conversion processing unit, an identification information insertion unit, a display control unit, and a conversion character string insertion unit shown in FIG. Reference numeral 2 is an address and data bus for each component of the apparatus to transfer data, and 3 is a CGROM that holds bitmaps such as characters and symbols that can be displayed or printed by the apparatus and outline font data. Four
Is a VRAM that has an address configuration that corresponds to the characters on the screen of the display device in a one-to-one correspondence and that holds the displayed screen.
It is.

【0027】5はVRAM4に保持されている1画面分
の表示データを、液晶ディスプレイやCRTディスプレ
イなどの表示装置6に、CGROM3を参照しながら、
リアルタイムに表示する表示コントローラ(表示制御手
段)である。また、表示装置6は図1に示す表示手段と
して構成される。7はフロッピーディスクドライブ(F
D)8を制御して文書データなどの保存と呼び出しを行
うFDコントローラである。9はプリンタ10をコント
ロールして、CPU1によって転送されるデータを印字
するプリンタコントローラである。
Reference numeral 5 designates one screen of display data held in the VRAM 4 on the display device 6 such as a liquid crystal display or a CRT display while referring to the CGROM 3.
It is a display controller (display control means) for displaying in real time. Further, the display device 6 is configured as the display means shown in FIG. 7 is a floppy disk drive (F
D) An FD controller that controls 8 to store and call document data. A printer controller 9 controls the printer 10 to print the data transferred by the CPU 1.

【0028】11はハードディスクドライブ(HD)1
2を制御して文書データなどの保存と呼び出しを行うH
Dコントーラ、13はCPUが装置を制御するために参
照する制御プログラムを保持しているROM(リードオ
ンリーメモリ)、14は文書データ15や、CPUが装
置の制御や文書で編集を行う際に使用するデータなどを
保持するポインタ/変数バッファ16として使用するR
AM(ランダムアクセスメモリ)である。
Reference numeral 11 denotes a hard disk drive (HD) 1
Controlling 2 to save and call document data etc. H
A D controller, 13 is a ROM (read only memory) that holds a control program that the CPU refers to for controlling the device, and 14 is document data 15 and is used when the CPU controls the device and edits the document. R used as a pointer / variable buffer 16 for holding data to be stored
AM (random access memory).

【0029】RAM14、FD8、HD12は図1に示
す原文記憶手段、検索情報記憶手段として機能する。ま
た、ROM13、FD8、HD12は、図1に示す変換
情報格納手段、文字列テーブルとして機能する。特に、
FD8、HD12は、図1に示す不揮発性記憶手段とし
て機能する。なお、本発明の文書情報処理装置におい
て、CPU1、アドレス及びデータバス2、CGROM
3、VRAM4、ROM13、RAM14で構成される
マイクロコンピュータが用いられる。
The RAM 14, FD 8 and HD 12 function as the original text storage means and the search information storage means shown in FIG. Further, the ROM 13, FD8, and HD12 function as the conversion information storage unit and the character string table shown in FIG. Especially,
The FD 8 and the HD 12 function as the nonvolatile storage means shown in FIG. In the document information processing apparatus of the present invention, the CPU 1, address and data bus 2, CGROM
A microcomputer including 3, VRAM 4, ROM 13, and RAM 14 is used.

【0030】17はキーボード18より入力されたキー
コードをCPU1に転送するキーボードコントローラ、
19はペン入力装置20より入力されたペンの状態(ペ
ンで画面を触っているか否か)とペンで画面を触ったと
きのその座標をCPU1に転送するペンコントローラで
ある。キーボード18、ペン20の入力装置は図1に示
す入力手段、切替指示手段、翻訳指示手段、読出指示手
段、検索指示手段、装飾指示手段、書式指示手段として
機能する。21はブザー22を制御してブザーを鳴らす
ブザーコントローラである。
Reference numeral 17 denotes a keyboard controller which transfers the key code input from the keyboard 18 to the CPU 1.
A pen controller 19 transfers the state of the pen (whether or not the screen is touched by the pen) input from the pen input device 20 and the coordinates when the screen is touched by the pen to the CPU 1. The input devices of the keyboard 18 and the pen 20 function as the input unit, the switching instruction unit, the translation instruction unit, the read instruction unit, the search instruction unit, the decoration instruction unit, and the format instruction unit shown in FIG. Reference numeral 21 is a buzzer controller that controls the buzzer 22 and sounds the buzzer.

【0031】図3は本発明における識別記号の挿入処理
を示す説明図である。図3において、図3(a)のよう
な文書(原文)が入力文書として入力され、〔3−1〕
を検索された変換対象部分(翻訳処理を行う部分)とす
るとき、表示される文書としては、図3(b)のような
検索位置の後ろに、識別可能な記号☆〔3−2〕、◇
〔3−3〕、△〔3−3〕が原文に挿入された文書と、
変換対象部分〔3−1〕を変換して、それぞれの変換結
果(翻訳文)〔3−6〕に識別可能な記号☆〔3−5〕
を文頭につけた図3(c)に示す文書が得られる。な
お、図3においては、検索された変換対象部分〔3−
1〕の後ろに、識別可能な記号〔3−2〕を挿入してい
るが、挿入位置は、検索された変換対象部分〔3−1〕
の前でもかまわない。
FIG. 3 is an explanatory view showing the process of inserting an identification symbol in the present invention. In FIG. 3, a document (original text) as shown in FIG. 3A is input as an input document, and [3-1]
Is the converted portion to be searched (the portion to be translated), the document to be displayed is the identifiable symbol ☆ [3-2] after the search position as shown in FIG. ◇
A document in which [3-3] and Δ [3-3] are inserted in the original sentence,
The conversion target part [3-1] is converted, and each conversion result (translated sentence) [3-6] has an identifiable symbol ☆ [3-5]
The document shown in FIG. 3 (c) with the beginning of the sentence is obtained. In FIG. 3, the retrieved conversion target part [3-
The identifiable symbol [3-2] is inserted after 1], but the insertion position is in the searched conversion target portion [3-1].
It doesn't matter even before.

【0032】図4は本発明における検索位置の番号を含
む識別記号の挿入処理を示す説明図である。図4におい
て、図4(a)のような原文が入力文書として入力さ
れ、〔4−1〕を検索された変換対象部分(翻訳処理を
行う部分)とするとき、表示される文書としては、図4
(b)のような検索位置の後ろに、検索位置の番号を含
む記号[1]〔4−2〕が原文に挿入された文書と、変
換対象部分〔4−1〕を変換して、それぞれの変換結果
(翻訳文)〔4−4〕に検索位置の番号を含む識別可能
な記号[1]〔4−3〕を文頭につけた図4(c)に示
す文書が得られる。なお、図4においては、検索された
変換対象部分〔4−1〕の後ろに、検索位置の番号を含
む識別可能な記号[1]〔4−3〕を挿入しているが、
挿入位置は、検索された変換対象部分〔4−1〕の前で
もかまわない。
FIG. 4 is an explanatory view showing a process of inserting an identification symbol including a search position number according to the present invention. In FIG. 4, when an original sentence as shown in FIG. 4A is input as an input document and [4-1] is the searched conversion target portion (translation processing portion), the displayed document is: Figure 4
A document in which the symbol [1] [4-2] including the number of the search position is inserted in the original sentence after the search position as shown in (b) and the conversion target part [4-1] are converted, respectively. The document shown in FIG. 4C is obtained in which the identifiable symbol [1] [4-3] including the search position number is added to the conversion result (translated sentence) [4-4] of FIG. In FIG. 4, the identifiable symbol [1] [4-3] including the search position number is inserted after the searched conversion target portion [4-1].
The insertion position may be before the searched conversion target portion [4-1].

【0033】図5は本発明における変換結果の挿入処理
を示す説明図である。図5において、図5(a)のよう
な原文が入力文書として入力され、〔5−1〕を検索さ
れた変換対象部分(翻訳処理を行う部分)とするとき、
表示される文書としては、図5(b)のような検索位置
の後ろに、変換結果(翻訳文)に括弧をつけて挿入した
文書が得られる。
FIG. 5 is an explanatory diagram showing the insertion processing of the conversion result in the present invention. In FIG. 5, when an original sentence as shown in FIG. 5A is input as an input document and [5-1] is the retrieved conversion target portion (translation processing portion),
As the displayed document, a document obtained by inserting the conversion result (translated sentence) in parentheses after the search position as shown in FIG. 5B is obtained.

【0034】図6は本発明における辞書情報の変換処理
を示す説明図である。図6において、図6(a)のよう
な原文が入力文書として入力され、〔6−1〕を検索さ
れた変換対象部分(辞書引きを行う部分)とするとき、
表示される文書としては図6(b)のような検索位置の
後ろに、識別可能な記号[1]〔6−2〕が原文に挿入
された文書と、変換対象部分〔6−1〕の辞書引き(辞
書情報の読み出し)を行って、それぞれの変換結果〔6
−4〕に識別可能な記号[1]〔6−3〕を文頭につけ
た図6(c)に示す文書が得られる。
FIG. 6 is an explanatory diagram showing a conversion process of dictionary information according to the present invention. In FIG. 6, when an original sentence as shown in FIG. 6A is input as an input document and [6-1] is set as a searched conversion target portion (dictionary lookup portion),
As the displayed document, the document in which the identifiable symbols [1] and [6-2] are inserted in the original sentence after the search position as shown in FIG. 6B and the conversion target portion [6-1] are displayed. Dictionaries (reading the dictionary information) are performed and each conversion result [6
The document shown in FIG. 6C in which the identifiable symbols [1] and [6-3] are added to the beginning of the sentence is obtained.

【0035】図7は本発明におけるデータベースの検索
処理を示す説明図である。図7において、図7(a)の
ような原文が入力文書として入力され、〔7−1〕を検
索された変換対象部分(データベース検索を行う部分)
とするとき、表示される文書としては図7(b)のよう
な検索位置の後ろに、識別可能な記号[1]〔7−2〕
が原文に挿入された文書と、変換対象部分のデータベー
ス検索を行って、それぞれの検索結果〔7−4〕に識別
可能な記号[1]〔7−3〕を文頭につけた図7(c)
に示す文書が得られる。ここでは、変換対象部分は人名
情報であり、データベースは住所録である。また、人名
情報は変換されない。
FIG. 7 is an explanatory diagram showing a database search process according to the present invention. In FIG. 7, the original sentence as shown in FIG. 7A is input as an input document, and [7-1] is searched for a conversion target portion (a portion for performing a database search).
Then, as the displayed document, the identifiable symbols [1] [7-2] are added after the search position as shown in FIG. 7 (b).
FIG. 7 (c) in which the document inserted into the original sentence and the conversion target portion are searched for in the database, and identifiable symbols [1] [7-3] are added to the search results [7-4] at the beginning of the sentence.
The document shown in is obtained. Here, the conversion target part is personal name information, and the database is an address book. Also, personal name information is not converted.

【0036】図8は本発明における開始位置と終了位置
で指定する検索指示と変換処理を示す説明図である。図
8において、図8(a)は、開始位置〔8−1〕の位置
にカーソル〔8−3〕を移動して、開始位置を指定し、
終了位置〔8−2〕の位置へカーソル〔8−3〕を移動
して、終了位置を指定する例である。図8(b)は、図
8(a)各開始・終了位置に開始記号文字◆〔8−
4〕、終了記号文字◆〔8−5〕を挿入して指定する例
である。このとき、〔8−6〕は文字を挿入する位置を
指定するカーソルであり、開始終了文字は、処理を行う
直前に入力してもかまわないし、あらかじめ入力文書中
にあってもかまわない。
FIG. 8 is an explanatory diagram showing a search instruction designated by the start position and the end position and the conversion process according to the present invention. In FIG. 8, in FIG. 8A, the cursor [8-3] is moved to the position of the start position [8-1] to specify the start position,
In this example, the cursor [8-3] is moved to the end position [8-2] to specify the end position. FIG. 8B shows a start symbol character ◆ [8-
4], and the end symbol character ◆ [8-5] is inserted and designated. At this time, [8-6] is a cursor for designating a position where a character is to be inserted, and the start / end character may be input immediately before processing, or may be in the input document in advance.

【0037】図8(c)は、図8(a)または図8
(b)にて指示された変換対象部分〔8−7〕の後ろに
識別可能な記号[1]〔8−8〕が挿入された文書であ
り、図8(d)は、変換結果〔8−10〕に、識別可能
な記号[1]〔8−9〕をつけて表示される文書であ
る。なお、開始位置と終了位置は原文中に複数個あって
もかまわない。
FIG. 8C is the same as FIG. 8A or FIG.
It is a document in which an identifiable symbol [1] [8-8] is inserted after the conversion target portion [8-7] designated in (b), and FIG. -10] is a document displayed with identifiable symbols [1] [8-9]. There may be a plurality of start positions and end positions in the original sentence.

【0038】図9は本発明における1文字の指定による
検索指示と変換処理を示す説明図である。図9におい
て、図9(a)のような英文中の1文字〔9−1〕を指
定すると、その位置より前後に英文を検索して、変換処
理を行わない日本語文〔9−3〕、〔9−4〕までを変
換対象部分〔9−2〕とする。図9(b)は、検索され
た変換対象部分の後ろに、識別可能な記号[1]〔9−
5〕が挿入された文書の表示例である。図9(c)は、
変換結果〔9−7〕に、識別可能な記号[1]〔9−
6〕を挿入した表示される文書である。このとき、英文
コード表、和文コード表などを用いて変換対象部分が検
索される。
FIG. 9 is an explanatory diagram showing a search instruction and conversion processing by designating one character in the present invention. In FIG. 9, when one character [9-1] in the English sentence as shown in FIG. 9A is designated, the English sentence is searched before and after that position, and the Japanese sentence [9-3] without conversion processing, Let [9-4] be the conversion target part [9-2]. In FIG. 9B, identifiable symbols [1] [9- are added after the searched conversion target part.
5] is a display example of the inserted document. FIG. 9 (c)
In the conversion result [9-7], the identifiable symbols [1] [9-
6] is the displayed document. At this time, the conversion target part is searched using the English code table, the Japanese code table, or the like.

【0039】図10は本発明における装飾文字の指定に
よる検索指示と変換処理を示す説明図である。図10に
おいて、装飾文字がアンダーラインの例である。図10
(a)のように、原文中のアンダーライン〔10−2〕
の引かれた部分を変換対象部分〔10−1〕とする。図
10(b)は、検索された変換対象部分の後ろに、識別
可能な記号[1]〔10−3〕が挿入された文書の表示
例である。図10(c)は、変換結果〔10−5〕に、
識別可能な記号[1]〔10−4〕を挿入した文書の表
示例である。
FIG. 10 is an explanatory diagram showing a search instruction and conversion processing by designating a decorative character according to the present invention. In FIG. 10, the decorative characters are underlined. FIG.
Underline [10-2] in the original text as in (a)
The portion with is drawn is the conversion target portion [10-1]. FIG. 10B is a display example of a document in which the identifiable symbols [1] and [10-3] are inserted after the searched conversion target portion. FIG. 10C shows the conversion result [10-5] as
It is a display example of the document in which the identifiable symbols [1] and [10-4] are inserted.

【0040】図11は本発明における入力された文書中
の書式による検索指示と変換処理を示す説明図である。
図11において、図11(a)のように、英文書式部分
〔11−1〕と、和文書式部分〔11−2〕のある文書
において、英文書式部分を変換対象部分とする。図11
(b)は、変換対象部分である英文書式部分〔11−
4〕の後ろに、識別可能な記号[1]〔11−3〕が挿
入された文書の表示例である。〔11−5〕は和文書式
部分である。 図11(c)は、英文書式部分の変換結
果〔11−7〕に、識別可能な記号[1]〔11−6〕
を挿入した文書の表示例である。
FIG. 11 is an explanatory diagram showing a search instruction and a conversion process according to the format in the input document according to the present invention.
In FIG. 11, as shown in FIG. 11A, in a document having an English document expression part [11-1] and a Japanese document expression part [11-2], the English document expression part is the conversion target part. FIG.
(B) is an English document expression part [11-
4] is a display example of a document in which identifiable symbols [1] and [11-3] are inserted after [4]. [11-5] is a Japanese document type part. FIG. 11 (c) shows the identifiable symbol [1] [11-6] in the conversion result [11-7] of the English document expression part.
It is a display example of a document in which is inserted.

【0041】図12は表示装置、印刷装置などに出力さ
れる入力文書のレイアウトを示す説明図である。(例え
ば、VRAM4に保存される表示用の文書データは図1
2に示すように保存されている。また、説明を簡単にす
るために英数字と漢字かな文字を同じサイズで扱ってい
るが、英数字を半角文字としても、同様に処理でき
る。) ここで、〔12−1〕は1行の文字数、〔12−2〕は
選択されている文字(カーソル位置)であって、図12
では2行目の4文字目(画面座標(4,2)と示す)で
ある。
FIG. 12 is an explanatory diagram showing the layout of an input document output to a display device, a printing device, or the like. (For example, the document data for display stored in the VRAM 4 is shown in FIG.
It is stored as shown in 2. Further, although alphanumeric characters and kanji and kana characters are handled in the same size for simplification of explanation, the same processing can be performed even if alphanumeric characters are half-width characters. Here, [12-1] is the number of characters in one line, and [12-2] is the selected character (cursor position).
Is the fourth character of the second line (shown as screen coordinates (4, 2)).

【0042】図13はRAMに格納されている入力文書
データを示す説明図である。図13において、この入力
文書データ(原文データ)は表示用または印刷用のフォ
ーマットに生成される前の状態である。入力文書データ
はRAM14中では図13のように線形状態に保存され
ている。[e]〔13−1〕は選択されている文字(カ
ーソル位置)であって、図12の〔12−2〕に相当す
る。図13におけるカーソル位置は、図12の画面上の
カーソル位置を(x,y)とするときX×(y−1)+
(y−1)文字目で表される。
FIG. 13 is an explanatory diagram showing the input document data stored in the RAM. In FIG. 13, the input document data (original text data) is in a state before being generated in a display or print format. The input document data is stored in the RAM 14 in a linear state as shown in FIG. [E] [13-1] is the selected character (cursor position) and corresponds to [12-2] in FIG. The cursor position in FIG. 13 is X × (y−1) + when the cursor position on the screen in FIG. 12 is (x, y).
It is represented by the (y-1) character.

【0043】図14は表示装置、印刷装置などに出力さ
れる変換文書のレイアウトを示す説明図である。(例え
ば、VRAM4に保存される表示用の文書データは図1
4のように保存されている) 図15はRAMに格納されている変換文書データを示す
説明図である。図15において、この変換文書データ
(変換結果データ)は表示用または印刷用のフォーマッ
トに生成される前の状態である。変換処理を行った変換
文書データ(〔15−1〕、〔15−2〕)単位毎に終
了コード〔15−3〕をつけて、1処理単位毎に分け
て、個々に扱えるようにRAM14中に保存されてい
る。
FIG. 14 is an explanatory diagram showing the layout of a converted document output to a display device, a printing device, or the like. (For example, the document data for display stored in the VRAM 4 is shown in FIG.
FIG. 15 is an explanatory diagram showing converted document data stored in the RAM. In FIG. 15, the converted document data (conversion result data) is in a state before being generated in the display or print format. An end code [15-3] is attached to each unit of converted document data ([15-1], [15-2]) that has undergone the conversion process, and is divided in each processing unit in the RAM 14 so as to be handled individually. Stored in.

【0044】図16は変換対象部分と変換結果に挿入さ
れる識別情報を格納したテーブルを示す説明図である。
図16に示すように、識別情報は1文字の場合の記号で
ある。検索された変換対象部分と変換された結果順に、
各番号に対応する記号が用いられる。図17は検索位置
の番号を含む識別可能な文字列を格納したテーブルを示
す説明図である。図17に示すように、処理を行った部
分毎に、各番号の記号が用いられ、文字列の種類はあら
かじめ文字列1〜文字列4のうちから選択されているも
のが用いられる。
FIG. 16 is an explanatory diagram showing a table storing the conversion target portion and the identification information inserted in the conversion result.
As shown in FIG. 16, the identification information is a symbol for one character. In order of the converted part searched and the converted result,
The symbol corresponding to each number is used. FIG. 17 is an explanatory diagram showing a table storing identifiable character strings including search position numbers. As shown in FIG. 17, a symbol of each number is used for each processed portion, and a character string type selected in advance from the character strings 1 to 4 is used.

【0045】図18はRAMに格納されている入力文書
データから変換対象部分の検索指示処理を示す説明図で
ある。図18(a)は、検索する変換対象部分を、開始
位置と終了位置で指定する例である。図8の手順で開始
位置と終了位置が指定されたとき、〔18−2〕が開始
位置となり、〔18−3〕が終了位置となる。また、主
として変換処理を行う文字種が英数字であるとき、英数
字以外の文字の位置〔18−1〕、〔18−4〕を検出
する場合は、オペレータが操作を行うことなく、〔18
−2〕が開始位置となり、〔18−3〕が終了位置とな
る。図18(b)は、各開始・終了位置に開始記号文字
◆〔18−5〕、終了記号文字◆〔18−8〕を挿入し
て指定する例である。処理を行う部分は〔18−6〕か
〔18−7〕である。
FIG. 18 is an explanatory view showing a search instruction process for a conversion target portion from the input document data stored in the RAM. FIG. 18A is an example in which the conversion target portion to be searched is specified by the start position and the end position. When the start position and the end position are designated in the procedure of FIG. 8, [18-2] becomes the start position and [18-3] becomes the end position. In addition, when the character type to be mainly converted is alphanumeric, if the positions [18-1] and [18-4] of characters other than alphanumeric are detected, the operator does not operate [18
-2] is the start position and [18-3] is the end position. FIG. 18B is an example in which a start symbol character ◆ [18-5] and an end symbol character ◆ [18-8] are inserted and designated at each start / end position. The part to be processed is [18-6] or [18-7].

【0046】図18(c)は、変換対象部分を、入力さ
れた文書中のアンダーラインなどの装飾が施された部分
とする例である。〔18−9〕から〔18−10〕のア
ンダーラインの引かれた部分を検索して変換対象部分と
する。図18(d)は、変換対象部分を、入力された文
書中の指定された書式の部分とする例である。英文書式
の始まりコード〔18−11〕の次の文字から、和文書
式の始まりコード〔18−12〕の1つ前の文字までを
検索して変換対象部分とする(書式コードから次の書式
コードまでが、1種類の書式となる)。
FIG. 18C shows an example in which the conversion target portion is a portion in the input document that is decorated with underlines or the like. The underlined portions of [18-9] to [18-10] are searched and used as the conversion target portion. FIG. 18D is an example in which the conversion target portion is the portion of the specified format in the input document. Searches from the character next to the start code [18-11] of the English document expression to the character immediately before the start code [18-12] of the Japanese document expression and makes it the part to be converted (from the format code to the next format Up to the code is one type of format).

【0047】図19は検索条件の入力画面を示す説明図
である。図19に示すように、入力文書の変換処理を行
う前に検索処理を行う文字の種類をウインドウで表示す
るなどしてオペレータが検索条件を選択する。また、キ
ーボード18などに専用キーを設けてもよい。〔19−
1〕は、検索対象部分(変換対象部分)の開始位置と終
了位置指定の2カ所指定による検索位置の選択、〔19
−2〕は、検索対象部分中の1文字の指定による検索位
置の選択(検索文字列の種類の設定必要)、〔19−
3〕は、検索対象部分を全文指定による検索位置の選択
を示す。
FIG. 19 is an explanatory diagram showing a search condition input screen. As shown in FIG. 19, the operator selects the search condition by displaying the type of characters to be searched in a window before the conversion process of the input document. Further, a dedicated key may be provided on the keyboard 18 or the like. [19-
1] is a selection of a search position by designating two positions, that is, a start position and an end position of a search target part (conversion target part), [19
-2] is for selecting a search position by designating one character in the search target portion (need to set the type of search character string), [19-
3] indicates selection of a search position by designating a full text for a search target part.

【0048】〔19−4〕は、検索対象部分(変換対象
部分)を英数字とすることを選択(英日翻訳などの変換
処理において有効)、〔19−5〕は、検索対象部分の
書式を英文書式とすることを選択、〔19−6〕は、検
索記号に挟まれている部分を検索対象部分とする選択、
〔16−7〕は、アンダーライン部を検索対象部分とす
る選択、〔19−8〕は、検索対象部分をJIS第2水
準漢字とする選択(辞書情報の読み出しなどに有効)を
示す。
[19-4] indicates that the retrieval target portion (conversion target portion) is alphanumeric (effective in conversion processing such as English-Japanese translation), and [19-5] indicates the format of the retrieval target portion. Is selected as an English document type, [19-6] is a selection of a part sandwiched between search symbols as a search target part,
[16-7] indicates selection of the underlined portion as the search target portion, and [19-8] indicates selection of the search target portion as the JIS second-level kanji (effective for reading dictionary information).

【0049】図20は入力文書と変換文書の出力形態の
入力画面を示す説明図である。図20に示すように、入
力文書(原文)、変換文書(変換結果)を出力する前に
ウインドウを表示するなどしてオペレータが選択を行
う。また、キーボード18などに専用キーを設けてもよ
い。〔20−1〕は、入力文書を次に指定する出力形態
で出力する選択、〔20−2〕は、変換文書を次に指定
する出力形態で出力する選択を示す。〔20−3〕は、
選択された入力文書、変換文書に対して識別可能な記号
を挿入する選択、〔20−4〕は、選択された入力文
書、変換文書に対して識別可能な検索位置番号を含む記
号を挿入する選択、〔20−5〕は、変換文書に指定さ
れた括弧をつけて挿入した文書を出力する選択、〔20
−6〕は、選択された、入力文書、変換文書に対して記
号挿入などを行わないでそのまま出力する(従来と同様
の出力形態で出力する)選択を示す。
FIG. 20 is an explanatory view showing an input screen of the output form of the input document and the converted document. As shown in FIG. 20, the operator makes a selection by displaying a window before outputting the input document (original text) and the converted document (conversion result). Further, a dedicated key may be provided on the keyboard 18 or the like. [20-1] indicates a selection for outputting the input document in the output form designated next, and [20-2] indicates a selection for outputting the converted document in the output form designated next. [20-3] is
Selection to insert identifiable symbol into selected input document or converted document, [20-4] insert symbol including search position number identifiable into selected input document or converted document Selection, [20-5] is a selection for outputting a document inserted with parentheses specified in the converted document, [20-5]
-6] indicates a selection in which the selected input document or converted document is output as it is without performing symbol insertion or the like (output in the same output form as conventional).

【0050】図21は変換対象部分の検索位置情報を記
憶しているテーブルを示す説明図である。図21のテー
ブルはRAM14に記憶されている。図21では、検索
位置を変換対象部分の開始位置とし、変換対象部分の文
字数とペアにして記憶しているが、変換対象部分の開始
位置と終了位置をペアにしてテーブルとしてもってもよ
い。
FIG. 21 is an explanatory diagram showing a table storing search position information of the conversion target portion. The table of FIG. 21 is stored in the RAM 14. In FIG. 21, the search position is set as the start position of the conversion target portion and stored as a pair with the number of characters of the conversion target portion, but the start position and the end position of the conversion target portion may be paired and stored as a table.

【0051】本発明における、原文中の変換対象部分の
検索、変換処理、識別記号挿入文書出力は図22〜図3
3のフローチャートを実行することによって行われる。
図22は本発明における検索、変換、識別記号挿入及び
出力の各処理手順を示すフローチャートである。変換対
象部分の検索処理と識別記号挿入文書の出力はステップ
S22−1からステップS22−14を実行することに
よって行われる。
The retrieval of the conversion target portion in the original text, the conversion processing, and the output of the identification symbol inserted document in the present invention are shown in FIGS.
This is done by executing the flowchart of FIG.
FIG. 22 is a flow chart showing each processing procedure of search, conversion, identification symbol insertion and output in the present invention. The conversion target part retrieval processing and the output of the identification symbol insertion document are performed by executing steps S22-1 to S22-14.

【0052】ステップS22−1では、キーボード18
などから変換対象部分を含む原文を入力し、RAM14
中の文書データ保存領域15に、図13の形で保存し
て、ステップS22−2へ進む。ステップS22−2で
は、検索を行う方法、入力文書/変換文書の出力方法を
選択する。図19、図20のウインドウを表示するなど
して、実際に行う検索方法と処理方法を選択し、(あら
かじめ装置を特定の機能に設定しておくことによって、
検索方法と処理方法の選択を不要にすることもでき
る)、ステップS22−3へ進む。
In step S22-1, the keyboard 18
Input the original sentence including the conversion target part from
It is stored in the inside document data storage area 15 in the form of FIG. 13, and the process proceeds to step S22-2. In step S22-2, a search method and an input document / converted document output method are selected. By selecting the search method and the processing method to be actually performed by displaying the windows of FIGS. 19 and 20, (by setting the device to a specific function in advance,
The selection of the search method and the processing method may be unnecessary), and the process proceeds to step S22-3.

【0053】ステップS22−3では、あらかじめ設定
されている検索方法(図26、図27、図28、図2
9、図30のフローチャート参照)にしたがって、入力
された文書中の変換対象部分の開始位置と、終了位置を
検索/設定し、開始位置から終了位置までの文字列を変
換処理できるように切り出して、ステップS22−4へ
進む。ステップS22−4では、ステップS22−3で
開始位置と終了位置が設定されているか調べ、設定され
ていればステップS22−5へ進み、そうでなければス
テップS22−8へ進む。
In step S22-3, a preset search method (FIG. 26, FIG. 27, FIG. 28, FIG.
9, refer to the flowchart of FIG. 30), search / set the start position and the end position of the conversion target portion in the input document, and cut out the character string from the start position to the end position so that the conversion process can be performed. , And proceeds to step S22-4. In step S22-4, it is checked whether the start position and the end position are set in step S22-3. If they are set, the process proceeds to step S22-5, and if not, the process proceeds to step S22-8.

【0054】ステップS22−5では、検索された開始
位置と、処理を行う部分の文字数を図21のテーブルの
形にして、RAM14中のポインタ/変数バッファ16
に保存して、ステップS22−6へ進む。ステップS2
2−6では、あらかじめ設定されている処理(開始位置
から終了位置までの文字列を翻訳して、翻訳結果を処理
結果とする。開始位置から終了位置までの文字列を辞書
引きして、その辞書引き結果を処理結果とする。開始位
置から終了位置までの文字列をデータベースより検索し
て、その検索結果を翻訳結果を処理結果とする)を行っ
て処理結果文書を得て、ステップS22−7へ進む。
In step S22-5, the retrieved start position and the number of characters of the portion to be processed are converted into the table shown in FIG. 21, and the pointer / variable buffer 16 in the RAM 14 is stored.
Stored in, and proceeds to step S22-6. Step S2
In 2-6, preset processing (translates the character string from the start position to the end position and sets the translation result as the processing result. The character string from the start position to the end position is looked up in the dictionary and The dictionary lookup result is used as the processing result. A character string from the start position to the end position is searched from the database, and the search result is used as the translation result) to obtain the processing result document, and step S22- Proceed to 7.

【0055】ステップS22−7では、ステップS22
−6で得られた処理結果文書1つ1つ区別できるよう
に、図15のようにRAM14中の文書データ保存領域
15に保存してステップS22−3へ進む。ステップS
22−8では、RAM14中のポインタ/変数バッファ
16中にある検索位置番号カウンタを1に、RAM14
中の文書データ保存領域15の入力文書の着目文字ポイ
ンタを文頭文字に、設定してステップS22−9へ進
む。
In step S22-7, step S22 is performed.
As shown in FIG. 15, the processing result documents obtained in step -6 are stored in the document data storage area 15 in the RAM 14 as shown in FIG. 15, and the process proceeds to step S22-3. Step S
In 22-8, the search position number counter in the pointer / variable buffer 16 in the RAM 14 is set to 1 and the RAM 14
The target character pointer of the input document in the inside document data storage area 15 is set to the initial letter, and the process proceeds to step S22-9.

【0056】ステップS22−9では、着目文字ポイン
タの位置が検索位置番号カウンタの番号の検索位置かど
うか調べ、検索位置ならばステップS22−10へ進
み、そうでなければステップS22−13へ進む。ステ
ップS22−10では、挿入する検索位置番号カウンタ
の番号の記号を、図16あるいは図17のテーブルから
選択し、記号と、検索位置番号カウンタの番号の変換文
書(処理文書)の先頭に記号をつけた文字列をそれぞ
れ、入力結果文書、処理結果文書とし、ステップS22
−1へ進む。ステップS22−11では、検索位置番号
カウンタの番号と、着目文字ポインタをそれぞれ1ずつ
進め、ステップS22−12へ進む。
In step S22-9, it is checked whether or not the position of the character pointer of interest is the search position of the number of the search position number counter. If it is the search position, the process proceeds to step S22-10, and if not, the process proceeds to step S22-13. In step S22-10, the symbol of the number of the search position number counter to be inserted is selected from the table of FIG. 16 or 17, and the symbol is added to the beginning of the converted document (process document) of the symbol and the number of the search position number counter. The added character strings are used as an input result document and a processing result document, respectively, and step S22
Go to -1. In step S22-11, the search position number counter number and the focused character pointer are each incremented by 1, and the process proceeds to step S22-12.

【0057】ステップS22−12では、入力結果文
書、処理結果文書を出力(図23参照)し、ステップS
22−9へ戻る。ステップS22−13では、着目文字
ポインタの位置の入力文書中の文字を入力結果文書とし
て出力(図23)し、ステップS22−14へ進む。ス
テップS22−14では、入力文書がすべて処理できて
いれば終了。そうでなければ着目文字カウンタを1進
め、ステップS22−9へ戻る。
In step S22-12, the input result document and the processing result document are output (see FIG. 23), and step S22
Return to 22-9. In step S22-13, the character in the input document at the position of the focused character pointer is output as the input result document (FIG. 23), and the process proceeds to step S22-14. In step S22-14, if all the input documents have been processed, the process ends. Otherwise, the focused character counter is incremented by 1, and the process returns to step S22-9.

【0058】前記構成によれば、入力された原文中の変
換対象部分と変換された文字列に対応する識別情報(識
別記号)を挿入して、入力された原文の変換対象部分と
変換された文字列(変換結果)が同一の識別情報により
対応づけられるので理解しやすい文書が得られる。ま
た、入力された原文中の変換対象部分と変換された文字
列にそれぞれ同一の検索位置の番号が挿入されて対応づ
けられるので理解しやすい文書が得られる。
According to the above construction, the identification information (identification symbol) corresponding to the conversion target part in the input original sentence and the converted character string is inserted, and the conversion target part of the input original sentence is converted. Since the character strings (conversion results) are associated with the same identification information, a document that is easy to understand can be obtained. Further, since the same search position number is inserted and associated with the converted character string in the input original sentence and the converted character string, a document that is easy to understand can be obtained.

【0059】図22のステップS22−6にて処理を行
う際に、開始位置から終了位置までの文字列を翻訳して
処理結果文書としてステップS22−7へ進む。例え
ば、入力された原文中の変換対象部分と翻訳を行った翻
訳文とが識別情報により対応づけて表示されるので理解
しやすい文書が得られる。
When the processing is performed in step S22-6 in FIG. 22, the character string from the start position to the end position is translated and the result document is processed and the process proceeds to step S22-7. For example, since the conversion target part in the input original sentence and the translated translated sentence are displayed in association with each other by the identification information, an easily understandable document can be obtained.

【0060】図22のステップS22−6にて処理を行
う際に、開始位置から終了位置までの文字列を辞書引き
して処理結果文書としてステップS22−7へ進む(図
6(a)の文書を入力文書とすると、図6(b)と図6
(c)の文書が得られる)。例えば、入力された原文中
の変換対象部分の単語の見出し語とその見出し語に対す
る意味情報を単語辞書から読み出した変換結果(辞書引
き結果)と原文の変換対象部分の単語が識別情報により
対応づけて表示されるので理解しやすい文書が得られ
る。
When performing the process in step S22-6 in FIG. 22, the character string from the start position to the end position is looked up in the dictionary and the process result document is processed (step S22-7 in FIG. 6A). 6B and FIG.
The document (c) is obtained). For example, the headword of the word of the conversion target part in the input original text and the conversion result (dictionary result) obtained by reading the semantic information for the headword from the word dictionary are associated with the word of the conversion target part of the original text by the identification information. Since it is displayed as a document, a document that is easy to understand can be obtained.

【0061】図22のステップS22−6にて処理を行
う際に、開始位置から終了位置までの文字列をデータベ
ースから検索して処理結果文書としてステップS22−
7へ進む(図7(a)の文書を入力文書とすると、図7
(b)と図7(c)の文書が得られる)。例えば、入力
された原文中の変換対象部分が人名情報ならば住所録
(データベース)の検索を行って、住所録情報を付加し
た人名情報と、変換対象部分が識別情報により対応づけ
て表示されるので理解しやすい文書が得られる。
When the processing is performed in step S22-6 in FIG. 22, the character string from the start position to the end position is searched from the database and the result document is processed in step S22-6.
7 (If the document of FIG. 7A is the input document, the process of FIG.
The documents of (b) and FIG. 7 (c) are obtained). For example, if the conversion target part in the input original text is personal name information, an address book (database) is searched, and the personal name information to which the address book information is added and the conversion target part are displayed in correspondence with identification information. Therefore, a document that is easy to understand can be obtained.

【0062】RAM14中の文書データ保存領域15、
ポインタ/変数バッファ16に記憶されている情報のう
ち、入力文書データ、処理文書データ、検索された開始
位置と、変換対象部分の文字数のテーブル(図21参
照)を、フロッピーディスク8あるいはHD12に、1
度ステップS22−1〜ステップS22−7までを実行
したときに保存を行って、次ぎに同一の入力文書、処理
にて出力を得るときは、前記の保存したデータをRAM
14中の文書データ保存領域15、ポインタ/変数バッ
ファ16に呼び出すことによって、ステップS22−1
〜ステップS22−7を実行することなく、ステプS2
2−8〜ステップS22−14を実行することによっ
て、出力結果を得ることができる。例えば、一度入力し
た原文に対して、再び入力処理や変換処理を行うことな
く、もっとも適した表示形態を任意に選択することがで
きる。
A document data storage area 15 in the RAM 14,
Of the information stored in the pointer / variable buffer 16, the input document data, the processed document data, the searched start position, and the table of the number of characters of the conversion target portion (see FIG. 21) are stored in the floppy disk 8 or the HD 12. 1
When the steps S22-1 to S22-7 are executed and the data is saved, and then the same input document and output are obtained by the same process, the saved data is stored in the RAM.
In step S22-1 by calling the document data storage area 15 in 14 and the pointer / variable buffer 16.
~ Without performing step S22-7, step S2
The output result can be obtained by executing steps 2-8 to step S22-14. For example, it is possible to arbitrarily select the most suitable display form without performing the input process and the conversion process again on the original text that has been input once.

【0063】図23は入力文書の表示および印刷などの
出力処理手順を示すフローチャートである。図23に示
すように、入力文書の表示および印刷などの出力は、ス
テップS23−1〜ステップS23−5を実行すること
によって行われる。また、この処理は、入力結果文書に
おいては、図13の文書データを、図12の出力フォマ
ートに形成する処理であって、処理結果文書において
は、図15の処理文書データを、図14の出力フォマー
トに形成する処理であるとも言える。ステップS23−
1では、図22のステップS22−12、及びステップ
S22−13にて渡された文字列を受け取って、ステッ
プS23−2へ進む。
FIG. 23 is a flow chart showing an output processing procedure for displaying and printing an input document. As shown in FIG. 23, the output of the input document such as display and printing is performed by executing steps S23-1 to S23-5. Further, this process is a process of forming the document data of FIG. 13 in the output format of FIG. 12 in the input result document, and the process document data of FIG. 15 in the process result document and the output of FIG. It can be said that this is a process for forming a formate. Step S23-
In 1, the character string passed in step S22-12 and step S22-13 of FIG. 22 is received, and the process proceeds to step S23-2.

【0064】ステップS23−2では、出力位置が行末
であるか調べ、行末ならばステップS23−3へ、そう
でなければステップS23−4へ進む。ステップS23
−3では、改行処理(印刷の場合はプリンタに、改行コ
ードを送る。表示の場合は次の行の先頭にカーソルを移
動する)を行ってステップS23−4へ進む。ステップ
S23−4では、受け取った文字列が終わっていれば終
了。そうでなければ1文字出力して、ステップS23−
2へ戻る。
In step S23-2, it is checked whether the output position is at the end of the line. If it is the end of the line, the process proceeds to step S23-3, and if not, the process proceeds to step S23-4. Step S23
In -3, line feed processing (in the case of printing, a line feed code is sent to the printer; in the case of display, the cursor is moved to the beginning of the next line) is performed, and the flow proceeds to step S23-4. In step S23-4, if the received character string is over, the process ends. Otherwise, one character is output and step S23-
Return to 2.

【0065】図24は入力文書中の変換対象位置に変換
文書を挿入する処理手順を示すフローチャートである。
変換文書を括弧でくくるなどの処理を実施し、入力文書
中の変換対象位置(検索位置)に挿入することは、図2
2のステップS22−10〜ステップS22−12のか
わりに、ステップS24−1〜ステップS24−5を実
施することで行われる。ステップS24−1では、挿入
する開き括弧「[」を選択して、ステップS24−2へ
進む。ステップS24−2では、ステップS24−1に
て選択された開き括弧「[」に検索位置番号カウンタの
番号の変換文書の文字列を追加しステップS24−3へ
進む。
FIG. 24 is a flowchart showing a processing procedure for inserting a conversion document into a conversion target position in an input document.
It is necessary to perform processing such as enclosing the converted document in parentheses and insert the converted document at the conversion target position (search position) in the input document as shown in FIG.
Instead of step S22-10 to step S22-12 of step 2, step S24-1 to step S24-5 is performed. In step S24-1, the open parenthesis "[" to be inserted is selected, and the flow advances to step S24-2. In step S24-2, the character string of the conversion document of the number of the search position number counter is added to the opening bracket "[" selected in step S24-1, and the process proceeds to step S24-3.

【0066】ステップS24−3では、さらにステップ
S24−2の文字列に閉じ括弧「]」を追加し、その文
字列を入力結果文書とし、ステップS24−4へ進む。
ステップS24−4では、検索位置番号カウンタの番号
と、着目文字ポインタをそれぞれ1ずつ進め、ステップ
S24−5へ進む。ステップS24−5では、入力結果
文書を出力(図23参照)し、終了する(図22のステ
ップS22−9へ戻る)。従って、一つの表示領域で変
換対象を保持したままの原文と、変換結果が一覧できる
ので、理解しやすい文書を得ることができる。
In step S24-3, the closing parenthesis "]" is added to the character string in step S24-2, the character string is set as the input result document, and the process proceeds to step S24-4.
In step S24-4, the number of the search position number counter and the focused character pointer are each incremented by 1, and the process proceeds to step S24-5. In step S24-5, the input result document is output (see FIG. 23), and the process ends (return to step S22-9 in FIG. 22). Therefore, since the original sentence in which the conversion target is held and the conversion result can be viewed in one display area, a document that is easy to understand can be obtained.

【0067】図25は出力する文書のフォーマットを選
択する処理手順を示すフローチャートである。出力する
文書のフォーマット選択は、図22中のステップS22
−10を実施する前に、ステップS25−1〜ステップ
S25−5を実施することによって行われる。ステップ
S25−1で、図22のステップS22−2で設定され
ている出力文書の選択に従って、何の加工も行わないな
らばステップS25−3へ進み、そうでなければステッ
プS25−2へ進む。
FIG. 25 is a flow chart showing the processing procedure for selecting the format of the document to be output. The format of the document to be output is selected in step S22 in FIG.
Before performing -10, it is performed by performing steps S25-1 to S25-5. In step S25-1, according to the selection of the output document set in step S22-2 of FIG. 22, if no processing is performed, the process proceeds to step S25-3, and if not, the process proceeds to step S25-2.

【0068】ステップS25−2では、出力文書の選択
が、挿入ならばステップS25−4へ進み、そうでなけ
ればステップS25−5へ進む。ステップS25−3で
は、入力文書と処理文書をそのまま出力(図23参照)
し終了する(図22のステップS22−9へ戻る)。ス
テップS25−4では、記号挿入処理(図22のS22
−10〜ステップS22−12を実施)して終了する
(図22のステップS22−9へ戻る)。ステップS2
5−5では、結果挿入出力(図24の処理)を行って終
了する(図22のステップS22−9へ戻る)。従っ
て、入力した原文中の変換対象部分に対する変換結果を
どのような表示形態で表示するか任意に切り替えること
ができる。
In step S25-2, if the selection of the output document is insertion, the process proceeds to step S25-4, and if not, the process proceeds to step S25-5. In step S25-3, the input document and the processed document are output as they are (see FIG. 23).
Then, the process ends (returns to step S22-9 in FIG. 22). In step S25-4, a symbol insertion process (S22 of FIG. 22 is performed.
-10 to step S22-12 are performed) and the process ends (return to step S22-9 in FIG. 22). Step S2
In 5-5, the result insertion output (processing in FIG. 24) is performed and the processing is terminated (return to step S22-9 in FIG. 22). Therefore, it is possible to arbitrarily switch in what display form the conversion result for the conversion target portion in the input original sentence is displayed.

【0069】図26は入力文書中の変換対象部分の範囲
を選択する処理手順を示すフローチャートである。入力
文書中の変換処理を行う範囲の選択は(図22ステップ
S22−3にて)ステップS26−1〜ステップS26
−4を実行することによってなされる。ステップS26
−1では、オペレータがキーボード18などにてカーソ
ルを移動し、決定するなどして入力文書中の開始位置を
選択すると、その選択された位置〔12−2〕は、図1
3のRAMに保存されている文書データの位置〔13−
1〕に変換されてステップS26−2へ進む。
FIG. 26 is a flow chart showing the processing procedure for selecting the range of the conversion target portion in the input document. To select the range of the input document to be converted (at step S22-3 in FIG. 22), steps S26-1 to S26
-4 is done. Step S26
In -1, when the operator selects the start position in the input document by moving the cursor with the keyboard 18 or the like to make a decision, the selected position [12-2] is changed to the position shown in FIG.
Location of document data stored in RAM 3 [13-
1] and the process proceeds to step S26-2.

【0070】ステップS26−2では、ステップS26
−1と同様の手順で終了位置を選択・入力してステップ
S26−3へ進む。ステップS26−3では、開始位置
から終了位置までの文字列を処理できるように切り出
し、ステップS26−4へ進む。ステップS26−4で
は、開始位置と終了位置があるという情報をセットして
終了する(図22ステップS22−4へ進む)。従っ
て、オペレータは、入力された原文中の変換対象部分の
範囲を任意に指定して変換することができる。
In step S26-2, step S26
In the same procedure as -1, the end position is selected and input and the process proceeds to step S26-3. In step S26-3, the character string from the start position to the end position is cut out so that it can be processed, and the process proceeds to step S26-4. In step S26-4, information that there is a start position and an end position is set and the process ends (proceeding to step S22-4 in FIG. 22). Therefore, the operator can arbitrarily specify and convert the range of the conversion target portion in the input original sentence.

【0071】図27は入力文書中の変換対象部分の範囲
を文字の種類によって検索する処理手順を示すフローチ
ャートである。入力文書中の変換処理を行う範囲の文字
の種類によっての選択は(図2ステップS22−3に
て)ステップS27−1〜ステップS27−12を実行
することによってなされる。ステップS27−1では、
この検索・選択処理が、1回目の実行であればステップ
S27−2へ進み、そうでなければステップS27−3
へ進む。ステップS27−2では、検索を行うための入
力文書中の1文字をポイントする検索文字ポインタ
(〔2−16〕に保持される)に文書の最初の文字をセ
ットしてステップS27−3へ進む。
FIG. 27 is a flow chart showing the processing procedure for searching the range of the conversion target portion in the input document by the type of character. Selection according to the type of characters in the range of conversion processing in the input document is performed by executing steps S27-1 to S27-12 (in step S22-3 in FIG. 2). In step S27-1,
If this search / selection process is the first execution, the process proceeds to step S27-2, and if not, step S27-3.
Proceed to. In step S27-2, the first character of the document is set in the search character pointer (held in [2-16]) that points to one character in the input document for searching, and the flow advances to step S27-3. .

【0072】ステップS27−3では、あらかじめ図2
2のステップS22−2で設定されている処理を行う文
字種を設定して、ステップS27−4へ進む。ステップ
S27−4では、検索文字ポインタの示す文字が検索文
字であるか調べ、検索文字であればステップS27−6
へ進み、そうでなければステップS27−5へ進む。ス
テップS27−5では、検索文字ポインタを次の文字へ
進め、ステップS27−4へ戻る(このとき、次の文字
がなければ、開始位置と終了位置がないという情報をセ
ットして終了する)ステップS27−7では、検索文字
ポインタの示す位置を開始位置とセットしてステップS
27−7へ進む。
In step S27-3, as shown in FIG.
2, the character type for performing the process set in step S22-2 is set, and the process proceeds to step S27-4. In step S27-4, it is checked whether the character indicated by the search character pointer is a search character, and if it is a search character, step S27-6.
Otherwise, to step S27-5. In step S27-5, the search character pointer is advanced to the next character, and the process returns to step S27-4 (if there is no next character at this time, the information that there is no start position and end position is set and the process ends) In S27-7, the position indicated by the search character pointer is set as the start position, and the step S
Proceed to 27-7.

【0073】ステップS27−7では、検索文字ポイン
タの示す文字が検索文字であるか調べ、検索文字であれ
ばステップS27−8へ進み、そうでなければステップ
S27−9へ進む。ステップS27−8では、検索文字
ポインタを次の文字へ進め、ステップS27−7へ戻る
(このとき、次の文字がなければ、開始位置と終了位置
がないという情報をセットして終了する)。ステップS
27−9では、検索文字ポインタの1文字前の位置を終
了位置とセットして、ステップS27−10へ進む。
In step S27-7, it is checked whether the character indicated by the search character pointer is a search character, and if it is the search character, the process proceeds to step S27-8, and if not, the process proceeds to step S27-9. In step S27-8, the search character pointer is advanced to the next character, and the process returns to step S27-7 (if there is no next character at this time, the information that there is no start position and end position is set and the process ends). Step S
In 27-9, the position one character before the search character pointer is set as the end position, and the flow proceeds to step S27-10.

【0074】ステップS27−10では、検索文字ポイ
ンタが次回の検索時においても内容が破壊されていない
ように、他の処理で使用されないポインタ/変数バッフ
ァ16の領域へセーブしてステップS27−11へ進
む。ステップS27−11では、開始位置から終了位置
までの文字列を処理できるように切り出し、ステップS
27−12へ進む。ステップS27−12では、開始位
置と終了位置があるという情報をセットして終了する
(図22ステップS22−4へ進む)。従って、入力し
た原文中の変換対象部分を、オペレータが指定すること
なしに原文中の変換対象部分の文字数とその位置情報が
検索される。また、変換処理の誤動作を防止することが
できる。
In step S27-10, the contents of the search character pointer are not destroyed in the next search, so that the contents are saved in the area of the pointer / variable buffer 16 which is not used in other processing, and the process proceeds to step S27-11. move on. In step S27-11, the character string from the start position to the end position is cut out so that it can be processed, and the step S27-11 is executed.
Proceed to 27-12. In step S27-12, information that there is a start position and an end position is set and the process ends (proceeding to step S22-4 in FIG. 22). Therefore, the number of characters of the conversion target part in the original text and its position information are searched without the operator specifying the conversion target part in the input original text. Further, it is possible to prevent malfunction of the conversion process.

【0075】図28は入力文書中の変換対象部分の1文
字を指定して検索する処理手順を示すフローチャートで
ある。入力文書中の処理を行う部分の1文字を指定の処
理する範囲の選択は(図22ステップS22−3にて)
ステップS28−1〜ステップS28−10を実行する
ことによってなされる。ステップS28−1では、あら
かじめ図22のステップS22−2で設定されている処
理を行う文字種を設定して、ステップS28−2へ進
む。
FIG. 28 is a flowchart showing a processing procedure for designating and searching one character of the conversion target portion in the input document. The selection of the processing range by designating one character of the part to be processed in the input document (in step S22-3 in FIG. 22)
This is performed by executing steps S28-1 to S28-10. In step S28-1, the character type for performing the process set in step S22-2 of FIG. 22 is set in advance, and the process proceeds to step S28-2.

【0076】ステップS28−2では、オペレータがキ
ーボード18などにてカーソルを移動し、決定するなど
して入力文書中の1文字を指定すると、図13のRAM
に保存されている文書データの位置〔13−1〕に変換
し、検索を行うための入力文書中の1文字をポイントす
る検索文字ポインタ(〔2−16〕に保持される)に設
定してステップS28−3へ進む。ステップS28−3
では、検索文字ポインタの示す位置が処理を行う文字で
なければステップS28−5へ進み、そうでなければス
テップS28−4へ進む。
In step S28-2, when the operator moves the cursor with the keyboard 18 or the like to specify one character in the input document, the RAM shown in FIG. 13 is selected.
It is converted to the position [13-1] of the document data saved in and is set to the search character pointer (held in [2-16]) that points to one character in the input document for searching. It proceeds to step S28-3. Step S28-3
Then, if the position indicated by the search character pointer is not the character to be processed, the process proceeds to step S28-5, and if not, the process proceeds to step S28-4.

【0077】ステップS28−4では、検索文字ポイン
タを1文字前の文字にして(−1して)ステップS28
−3へ戻る(このとき、1文字前の文字がなければ、開
始位置と終了位置がないという情報をセットして終了す
る)。ステップS28−5では、検索ポインタを次の文
字にして(+1して)、検索文字ポインタの示す位置の
文字を開始位置とセットして、ステップS28−6へ進
む。ステップS28−6では、検索文字ポインタの示す
位置が処理を行う文字でなければステップS28−7へ
進み、そうでなければステップS28−8へ進む。
In step S28-4, the retrieval character pointer is made to be the character one character before (-1) and step S28
Return to -3 (at this time, if there is no character preceding by one character, set information indicating that there is no start position and end position, and end). In step S28-5, the search pointer is set to the next character (+1), the character at the position indicated by the search character pointer is set as the start position, and the flow proceeds to step S28-6. In step S28-6, if the position indicated by the search character pointer is not the character to be processed, the process proceeds to step S28-7, and if not, the process proceeds to step S28-8.

【0078】ステップS28−7では、検索文字ポイン
タを次ぎの文字にして(+1して)ステップS28−6
へ戻る。ステップS28−8では、検索文字ポインタを
1文字前の文字にして(−1して)、検索文字ポインタ
の示す位置の文字を終了位置とセットして、ステップS
28−9へ進む。ステップS28−9では、開始位置か
ら終了位置までの文字列を処理できるように切り出し、
ステップS28−10へ進む。ステップS28−10で
は、開始位置と終了位置があるという情報をセットして
終了する(図22のステップS22−4へ進む)。従っ
て、オペレータが、入力された原文中の変換対象部分
(変換を行いたい文字列)の1文字を指定するだけで、
指定した変換対象部分の文字数とその位置情報が検索さ
れる。また、変換対象部分の選択操作が簡単になる。
In step S28-7, the retrieval character pointer is set to the next character (+1 is added) and step S28-6 is executed.
Return to In step S28-8, the search character pointer is set to the character one character before (-1), the character at the position indicated by the search character pointer is set as the end position, and step S28-8 is performed.
Proceed to 28-9. In step S28-9, the character string from the start position to the end position is cut out so that it can be processed,
It proceeds to step S28-10. In step S28-10, information that there is a start position and an end position is set and the process ends (proceeds to step S22-4 in FIG. 22). Therefore, the operator only needs to specify one character of the conversion target part (character string to be converted) in the input original text,
The number of characters in the specified conversion target part and its position information are searched. Moreover, the selection operation of the conversion target portion becomes simple.

【0079】図29は入力文書中の変換対象部分の範囲
を装飾文字によって検索する処理手順を示すフローチャ
ートである。入力文書中の変換処理を行う範囲を装飾文
字(例えば、アンダーライン)によっての選択は(図2
2ステップS22−3にて)ステップS29−1〜ステ
ップS29−12を実行することによってなされる。ス
テップS29−1では、この検索・選択処理が、1回目
の実行であればステップS29−2へ進み、そうでなけ
ればステップS29−3へ進む。ステップS29−2で
は、検索を行うための入力文書中の1文字をポイントす
る検索文字ポインタ(〔2−16〕に保持される)に文
書の最初の文字をセットしてステップS29−3へ進
む。
FIG. 29 is a flow chart showing a processing procedure for searching the range of the conversion target portion in the input document by the decorative character. Selection of the conversion processing range in the input document by decorative characters (for example, underline)
This is done by executing steps S29-1 to S29-12 (in two steps S22-3). In step S29-1, if this search / selection process is the first execution, the process proceeds to step S29-2, and if not, the process proceeds to step S29-3. In step S29-2, the first character of the document is set in the search character pointer (held in [2-16]) that points to one character in the input document for searching, and the flow advances to step S29-3. .

【0080】ステップS29−3では、あらかじめ図2
2のステップS22−2で設定されている処理を行う装
飾種を設定して、ステップS29−4へ進む。ステップ
S29−4では、検索文字ポインタの示す文字が指定さ
れた装飾種であるか調べ、指定された装飾種であればス
テップS29−6へ進み、そうでなければステップS2
9−5へ進む。ステップS29−5では、検索文字ポイ
ンタを次の文字へ進め、ステップS29−4へ戻る(こ
のとき、次の文字がなければ、開始位置と終了位置がな
いという情報をセットして終了する)。ステップS29
−6では、検索文字ポインタの示す位置を開始位置とセ
ットしてステップS29−7へ進む。
In step S29-3, as shown in FIG.
2, the decoration type for performing the process set in step S22-2 is set, and the process proceeds to step S29-4. In step S29-4, it is checked whether the character indicated by the search character pointer is the designated decoration type, and if it is the designated decoration type, the process proceeds to step S29-6, and if not, step S2.
Go to 9-5. In step S29-5, the search character pointer is advanced to the next character, and the process returns to step S29-4 (if there is no next character at this time, information indicating that there is no start position and end position is set and the process ends). Step S29
In -6, the position indicated by the search character pointer is set as the start position, and the flow advances to step S29-7.

【0081】ステップS29−7では、検索文字ポイン
タの示す文字が指定された装飾種であるか調べ、指定さ
れた装飾種であればステップS29−8へ進み、そうで
なければステップS29−9へ進む。ステップS29−
8では、検索文字ポインタを次の文字へ進め、ステップ
S29−7へ戻る(このとき、次の文字がなければ、開
始位置と終了位置がないという情報をセットして終了す
る)。ステップS29−9では、検索文字ポインタの1
文字前の位置を終了位置とセットして、ステップS29
−10へ進む。
In step S29-7, it is checked whether or not the character indicated by the search character pointer is the designated decoration type. If the designated decoration type, the process proceeds to step S29-8. If not, the process proceeds to step S29-9. move on. Step S29-
In 8, the search character pointer is advanced to the next character and the process returns to step S29-7 (at this time, if there is no next character, the information that there is no start position and end position is set and the process ends). In step S29-9, the search character pointer 1
The position before the character is set as the end position, and step S29 is performed.
Go to -10.

【0082】ステップS29−10では、検索文字ポイ
ンタが次回の検索時においても内容が破壊されていない
ように、他の処理で使用されないポインタ/変数バッフ
ァ〔2−16〕領域へセーブしてステップS29−11
へ進む。ステップS29−11では、開始位置から終了
位置までの文字列を処理できるように切り出し、ステッ
プS29−12へ進む。ステップS29−12では、開
始位置と終了位置があるという情報をセットして終了す
る(図22のステップS22−4へ進む)。従って、入
力文書作成中の文書を読みやすくするために、入力され
た原文中の変換対象部分にあらかじめアンダーラインな
どの装飾を行っておくことによって、オペレータが指定
することなしに原文中の変換対象部分の文字数とその位
置情報が検索される。また、変換対象部分の選択操作が
簡単になる。
In step S29-10, the search character pointer is saved in the pointer / variable buffer [2-16] area which is not used in other processing so that the contents will not be destroyed even in the next search, and step S29 is performed. -11
Proceed to. In step S29-11, the character string from the start position to the end position is cut out so that it can be processed, and the process proceeds to step S29-12. In step S29-12, information indicating that there is a start position and an end position is set and the process ends (proceeds to step S22-4 in FIG. 22). Therefore, in order to make the document being created input document easier to read, the conversion target part in the input source text is underlined in advance so that the conversion target part in the source text is not specified by the operator. The number of characters in the part and its position information are searched. Moreover, the selection operation of the conversion target portion becomes simple.

【0083】図30は入力文書中の変換対象部分の範囲
を書式の種類によって検索する処理手順を示すフローチ
ャートである。入力文書中の変換処理を行う範囲の文書
式の種類によっての選択は(図22のステップS22−
3にて)ステップS30−1〜ステップS30−12を
実行することによってなされる。ステップS30−1で
は、この検索・選択処理が、1回めの実行であればステ
ップS30−2へ進み、そうでなければステップS30
−3へ進む。ステップS30−2では、検索を行うため
の入力文書中の1文字をポイントする検索文字ポインタ
(〔2−16〕に保持される)に文書の最初の文字をセ
ットしてステップS30−3へ進む。
FIG. 30 is a flowchart showing the processing procedure for searching the range of the conversion target portion in the input document according to the type of format. Selection according to the type of document expression in the range in which conversion processing in the input document is performed (step S22-
3) by performing steps S30-1 to S30-12. In step S30-1, if the search / selection process is the first execution, the process proceeds to step S30-2, and if not, step S30-1.
Go to -3. In step S30-2, the first character of the document is set in the search character pointer (held in [2-16]) that points to one character in the input document for searching, and the flow advances to step S30-3. .

【0084】ステップS30−3では、あらかじめ図2
2ステップS22−2で設定されている処理を行う書式
種を設定して、ステップS30−4へ進む。ステップS
30−4では、検索文字ポインタの示す文字が処理を行
う書式種であるか調べ、処理を行う書式種であればステ
ップS30−6へ進み、そうでなければステップS30
−5へ進む。ステップS30−5では、検索文字ポイン
タを次の文字へ進め、ステップS30−4へ戻る(この
とき、次の文字がなければ、開始位置と終了位置がない
という情報をセットして終了する)。ステップS30−
6では、検索文字ポインタの示す位置を開始位置とセッ
トしてステップS30−7へ進む。
In step S30-3, as shown in FIG.
2 Set the format type for performing the processing set in step S22-2, and then proceed to step S30-4. Step S
In 30-4, it is checked whether the character indicated by the search character pointer is the format type to be processed, and if it is the format type to be processed, the process proceeds to step S30-6, and if not, the step S30 is performed.
Go to -5. In step S30-5, the search character pointer is advanced to the next character, and the process returns to step S30-4 (if there is no next character at this time, the information that there is no start position and end position is set and the process ends). Step S30-
In step 6, the position indicated by the search character pointer is set as the start position, and the flow advances to step S30-7.

【0085】ステップS30−7では、検索文字ポイン
タの示す文字が処理を行う書式種であるか調べ、処理を
行う書式種であればステップS30−8へ進み、そうで
なければステップS30−9へ進む。ステップS30−
8では、検索文字ポインタを次の文字へ進め、ステップ
S30−7へ戻る(このとき、次の文字がなければ、開
始位置と終了位置がないという情報をセットして終了す
る)。ステップS30−9では、検索文字ポインタの1
文字前の位置を終了位置とセットして、ステップS30
−10へ進む。ステップS30−10では、検索文字ポ
インタが次回の検索時においても内容が破壊されていな
いように、他の処理で使用されないポインタ/変数バッ
ファ〔2−16〕領域へセーブしてステップS30−1
1へ進む。
In step S30-7, it is checked whether the character indicated by the search character pointer is the format type to be processed. If it is the format type to be processed, the process proceeds to step S30-8. If not, the process proceeds to step S30-9. move on. Step S30-
In 8, the search character pointer is advanced to the next character, and the process returns to step S30-7 (at this time, if there is no next character, the information that there is no start position and end position is set and the process ends). In step S30-9, the search character pointer 1
The position before the character is set as the end position, and step S30
Go to -10. In step S30-10, the search character pointer is saved in the pointer / variable buffer [2-16] area which is not used in other processing so that the content is not destroyed in the next search, and step S30-1.
Proceed to 1.

【0086】ステップS30−11では、開始位置から
終了位置までの文字列を処理できるように切り出し、ス
テップS30−12へ進む。ステップS30−12で
は、開始位置と終了位置があるという情報をセットして
終了する(図22のステップS22−4へ進む)。従っ
て、入力した文書中の処理を行う部分に、入力文書作成
中に文書を読みやすくするために、入力された原文中の
変換対象部分にあらかじめ書式変更を行っておくことに
よって、オペレータが指定することなしに、原文中の変
換対象部分の文字数とその位置情報が検索される。従っ
て、変換対象部分の選択操作が簡単になる。なお、図2
2〜図30の各種処理はCPU1によって自動的に実行
される。
In step S30-11, the character string from the start position to the end position is cut out so that it can be processed, and the flow advances to step S30-12. In step S30-12, information that there is a start position and an end position is set, and the process ends (proceeding to step S22-4 in FIG. 22). Therefore, in order to make the part of the input document that is to be processed easier to read while creating the input document, the conversion target part of the input source text is pre-formatted and specified by the operator. The number of characters and the position information of the conversion target part in the original sentence are searched without any notice. Therefore, the selection operation of the conversion target portion is simplified. Note that FIG.
The various processes of 2 to 30 are automatically executed by the CPU 1.

【0087】[0087]

【発明の効果】本発明によれば、以下の効果を奏する。 (1)入力された原文中の変換対象部分と変換された文
字列に対応する識別情報(識別記号)を挿入して二つの
表示領域で識別可能に表示できる。従って、入力された
原文の変換対象部分と変換された文字列(変換結果)が
同一の識別情報により対応づけられるので理解しやすい
文書が得られる。 (2)入力された原文中の変換対象部分と変換された文
字列にそれぞれ同一の検索位置の番号が挿入されて対応
づけられるので理解しやすい文書が得られる。 (3)入力した原文中の変換対象部分に対する変換結果
をどのような表示形態で表示するか任意に切り替えるこ
とができる。 (4)入力された原文中の変換対象部分の末尾に変換し
た文字列を認識しやすい書式にして挿入した文書(例え
ば、括弧の中に変換結果を挿入)を生成して表示するこ
とができる。従って、一つの表示領域で変換対象を保持
したままの原文と、変換結果が一覧できるので、理解し
やすい文書を得ることができる。 (5)入力された原文中の変換対象部分と翻訳を行った
翻訳文とが識別情報により対応づけて表示されるので理
解しやすい文書が得られる。 (6)入力された原文中の変換対象部分の単語の見出し
語とその見出し語に対する意味情報を単語辞書から読み
出した変換結果(辞書引き結果)と原文の変換対象部分
の単語が識別情報により対応づけて表示されるので理解
しやすい文書が得られる。 (7)入力された原文中の変換対象部分が人名情報なら
ば住所録(データベース)の検索を行って、住所録情報
を付加した人名情報と、変換対象部分が識別情報により
対応づけて表示されるので理解しやすい文書が得られ
る。 (8)オペレータは、入力された原文中の変換対象部分
の範囲を任意に指定して変換することができる。また、
指定した範囲の変換対象部分と変換した文字列が識別情
報により対応づけて表示される。 (9)入力した原文中の変換対象部分を、オペレータが
指定することなしに原文中の変換対象部分の文字数とそ
の位置情報が検索される。従って、変換処理の誤動作を
防止することができる。 (10)オペレータが、入力された原文中の変換対象部
分(変換を行いたい文字列)の1文字を指定するだけ
で、指定した変換対象部分の文字数とその位置情報が検
索される。従って、変換対象部分の選択操作が簡単にな
る。 (11)入力文書作成中の文書を読みやすくするため
に、入力された原文中の変換対象部分にあらかじめアン
ダーラインなどの装飾を行っておくことによって、オペ
レータが指定することなしに原文中の変換対象部分の文
字数とその位置情報が検索される。従って、変換対象部
分の選択操作が簡単になる。 (12)入力した文書中の処理を行う部分に、入力文書
作成中に文書を読みやすくするために、入力された原文
中の変換対象部分にあらかじめ書式変更を行っておくこ
とによって、オペレータが指定することなしに、原文中
の変換対象部分の文字数とその位置情報が検索される。
従って、変換対象部分の選択操作が簡単になる。 (13)一度入力した原文に対して、再び入力処理や変
換処理を行うことなく、もっとも適した表示形態を任意
に選択することができる。
According to the present invention, the following effects can be obtained. (1) It is possible to insert the identification information (identification symbol) corresponding to the conversion target portion and the converted character string in the input original text and display them in two display areas in a distinguishable manner. Therefore, since the conversion target part of the input original text and the converted character string (conversion result) are associated with the same identification information, a document that is easy to understand can be obtained. (2) Since the same search position number is inserted and associated with the converted character string in the input original sentence and the converted character string, a document that is easy to understand can be obtained. (3) The display form of the conversion result for the conversion target part in the input original text can be arbitrarily switched. (4) It is possible to generate and display a document (for example, the conversion result is inserted in parentheses) in which the converted character string is inserted in a format that is easy to recognize at the end of the conversion target portion in the input original text. . Therefore, since the original sentence in which the conversion target is held and the conversion result can be viewed in one display area, a document that is easy to understand can be obtained. (5) Since the conversion target portion in the input original sentence and the translated translated sentence are displayed in association with each other by the identification information, an easily understandable document can be obtained. (6) The conversion result (dictionary result) obtained by reading the entry word of the word of the conversion target portion in the input original text and the meaning information for the entry word from the word dictionary, and the word of the conversion target portion of the original text correspond by the identification information. Since it is displayed together, a document that is easy to understand can be obtained. (7) If the conversion target part in the input original text is personal name information, an address book (database) is searched, and the personal name information with the address book information added and the conversion target part are displayed in correspondence with the identification information. As a result, a document that is easy to understand can be obtained. (8) The operator can arbitrarily specify and convert the range of the conversion target portion in the input original sentence. Also,
The conversion target part in the specified range and the converted character string are displayed in association with each other by the identification information. (9) The number of characters and the position information of the conversion target portion in the original sentence are searched without the operator specifying the conversion target portion in the input original sentence. Therefore, malfunction of the conversion process can be prevented. (10) The operator only needs to specify one character of the conversion target part (character string to be converted) in the input original text, and the number of characters of the specified conversion target part and its position information are searched. Therefore, the selection operation of the conversion target portion is simplified. (11) In order to make the input document easier to read, the conversion target part in the input original text is decorated with underlines in advance so that the conversion in the original text can be performed without the operator's designation. The number of characters in the target portion and its position information are retrieved. Therefore, the selection operation of the conversion target portion is simplified. (12) In order to make the document easier to read while creating the input document, the part to be processed in the input document can be specified in advance by changing the format of the conversion target part in the input original text. Without doing so, the number of characters of the conversion target part in the original text and its position information are searched.
Therefore, the selection operation of the conversion target portion is simplified. (13) It is possible to arbitrarily select the most suitable display form without performing the input process and the conversion process again on the original text that has been input once.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の基本構成を示すブロック図である。FIG. 1 is a block diagram showing a basic configuration of the present invention.

【図2】本発明の文書情報処理装置の一実施例を示すブ
ロック図である。
FIG. 2 is a block diagram showing an embodiment of a document information processing apparatus of the present invention.

【図3】本発明における識別記号の挿入処理を示す説明
図である。
FIG. 3 is an explanatory diagram showing a process of inserting an identification symbol according to the present invention.

【図4】本発明における検索位置の番号を含む識別記号
の挿入処理を示す説明図である。
FIG. 4 is an explanatory diagram showing a process of inserting an identification symbol including a search position number according to the present invention.

【図5】本発明における変換結果の挿入処理を示す説明
図である。
FIG. 5 is an explanatory diagram showing a conversion result insertion process according to the present invention.

【図6】本発明における辞書情報の変換処理を示す説明
図である。
FIG. 6 is an explanatory diagram showing a conversion process of dictionary information according to the present invention.

【図7】本発明におけるデータベースの検索処理を示す
説明図である。
FIG. 7 is an explanatory diagram showing a database search process according to the present invention.

【図8】本発明における開始位置と終了位置で指定する
検索指示と変換処理を示す説明図である。
FIG. 8 is an explanatory diagram showing a search instruction designated by a start position and an end position and conversion processing according to the present invention.

【図9】本発明における1文字の指定による検索指示と
変換処理を示す説明図である。
FIG. 9 is an explanatory diagram showing a search instruction and conversion processing by designating one character according to the present invention.

【図10】本発明における装飾文字の指定による検索指
示と変換処理を示す説明図である。
FIG. 10 is an explanatory diagram showing a search instruction and a conversion process by designating a decorative character according to the present invention.

【図11】本発明における入力された文書中の書式によ
る検索指示と変換処理を示す説明図である。
FIG. 11 is an explanatory diagram showing a search instruction and a conversion process according to a format in an input document according to the present invention.

【図12】表示装置、印刷装置などに出力される入力文
書のレイアウトを示す説明図である。
FIG. 12 is an explanatory diagram showing a layout of an input document output to a display device, a printing device, or the like.

【図13】RAMに格納されている入力文書データを示
す説明図である。
FIG. 13 is an explanatory diagram showing input document data stored in a RAM.

【図14】表示装置、印刷装置などに出力される変換文
書のレイアウトを示す説明図である。
FIG. 14 is an explanatory diagram showing a layout of a conversion document output to a display device, a printing device, or the like.

【図15】RAMに格納されている変換文書データを示
す説明図である。
FIG. 15 is an explanatory diagram showing converted document data stored in a RAM.

【図16】変換対象部分と変換結果に挿入される識別情
報を格納したテーブルを示す説明図である。
FIG. 16 is an explanatory diagram showing a table storing a conversion target portion and identification information inserted in a conversion result.

【図17】検索位置の番号を含む識別可能な文字列を格
納したテーブルを示す説明図である。
FIG. 17 is an explanatory diagram showing a table storing identifiable character strings including search position numbers.

【図18】RAMに格納されている入力文書データから
変換対象部分の検索指示処理を示す説明図である。
FIG. 18 is an explanatory diagram showing a search instruction process for a conversion target portion from input document data stored in a RAM.

【図19】検索条件の入力画面を示す説明図である。FIG. 19 is an explanatory diagram showing a search condition input screen.

【図20】入力文書と変換文書の出力形態の入力画面を
示す説明図である。
FIG. 20 is an explanatory diagram showing an input screen of an output form of an input document and a converted document.

【図21】変換対象部分の検索位置情報を記憶している
テーブルを示す説明図である。
FIG. 21 is an explanatory diagram showing a table storing search position information of a conversion target portion.

【図22】本発明における検索、変換、識別記号挿入及
び出力の各処理手順を示すフローチャートである。
FIG. 22 is a flowchart showing each processing procedure of search, conversion, identification symbol insertion, and output in the present invention.

【図23】入力文書の表示および印刷などの出力処理手
順を示すフローチャートである。
FIG. 23 is a flowchart showing an output processing procedure such as display and printing of an input document.

【図24】入力文書中の変換対象位置に変換文書を挿入
する処理手順を示すフローチャートである。
FIG. 24 is a flowchart showing a processing procedure for inserting a conversion document into a conversion target position in an input document.

【図25】出力する文書のフォーマットを選択する処理
手順を示すフローチャートである。
FIG. 25 is a flowchart illustrating a processing procedure for selecting a format of a document to be output.

【図26】入力文書中の変換対象部分の範囲を選択する
処理手順を示すフローチャートである。
FIG. 26 is a flowchart illustrating a processing procedure for selecting a range of a conversion target portion in an input document.

【図27】入力文書中の変換対象部分の範囲を文字の種
類によって検索する処理手順を示すフローチャートであ
る。
FIG. 27 is a flowchart illustrating a processing procedure for searching a range of a conversion target portion in an input document according to a character type.

【図28】入力文書中の変換対象部分の1文字を指定し
て検索する処理手順を示すフローチャートである。
FIG. 28 is a flowchart showing a processing procedure for designating and searching one character of a conversion target portion in an input document.

【図29】入力文書中の変換対象部分の範囲を装飾文字
によって検索する処理手順を示すフローチャートであ
る。
FIG. 29 is a flowchart showing a processing procedure for searching a range of a conversion target portion in an input document by using decorative characters.

【図30】入力文書中の変換対象部分の範囲を書式の種
類によって検索する処理手順を示すフローチャートであ
る。
FIG. 30 is a flowchart illustrating a processing procedure for searching a range of a conversion target portion in an input document according to a format type.

【図31】従来の機械翻訳装置で翻訳した文書処理例を
示す説明図である。
FIG. 31 is an explanatory diagram showing an example of document processing translated by a conventional machine translation device.

【符号の説明】[Explanation of symbols]

1 CPU 2 アドレス及びデータバス 3 CGROM 4 VRAM 5 表示コントローラ 6 表示装置 7 FDコントローラ 8 FD 9 プリンタコントローラ 10 プリンタ 11 HDコントローラ 12 HD 13 ROM 14 RAM 15 文書データ 16 ポインタ/変数バッファ 17 キーボードコントローラ 18 キーボード 19 ペンコントローラ 20 ペン 21 ブザーコントローラ 22 ブザー 1 CPU 2 Address and Data Bus 3 CGROM 4 VRAM 5 Display Controller 6 Display Device 7 FD Controller 8 FD 9 Printer Controller 10 Printer 11 HD Controller 12 HD 13 ROM 14 RAM 15 Document Data 16 Pointer / Variable Buffer 17 Keyboard Controller 18 Keyboard 19 Pen controller 20 Pen 21 Buzzer controller 22 Buzzer

Claims (13)

【特許請求の範囲】[Claims] 【請求項1】 変換対象部分を含む原文を入力する入力
手段と、 入力された原文を記憶する原文記憶手段と、 原文記憶手段に記憶された原文を読み出し変換対象部分
とその位置情報を検索する検索手段と、 変換対象部分とその位置情報を記憶する検索情報記憶手
段と、 検索された変換対象部分を別の単語の文字列に変換する
変換処理手段と、 検索された原文中の変換対象部分と変換された文字列を
対応づける識別情報をそれぞれの先頭または末尾の位置
に挿入する識別情報挿入手段と、 複数の表示領域を有する表示手段と、 識別情報挿入手段から識別情報の挿入動作を受け、ある
表示領域には変換対象部分に識別情報が挿入された原文
を、他の表示領域には変換された文字列に識別情報を挿
入して表示手段に表示させる表示制御手段とを備えたこ
とを特徴とする文書情報処理装置。
1. An input unit for inputting an original sentence including a conversion target portion, an original sentence storage unit for storing the input original sentence, an original sentence stored in the original sentence storage unit, and a conversion target portion and its position information are retrieved. Search means, search information storage means for storing the conversion target part and its position information, conversion processing means for converting the searched conversion target part into a character string of another word, and conversion target part in the searched original sentence The identification information inserting means for inserting the identification information associating the converted character string with the beginning or end position of each, the display means having a plurality of display areas, and the operation for inserting the identification information from the identification information inserting means. , A display control means for displaying the original sentence in which the identification information is inserted in the conversion target portion in a certain display area and inserting the identification information in the converted character string in the other display area for display on the display means. Document-processing device, characterized in that was e.
【請求項2】 前記識別情報が、前記検索手段によって
原文中の先頭から順に検索された変換対象部分の検索位
置の番号を含む文字列であることを特徴とする請求項1
記載の文書情報処理装置。
2. The identification information is a character string including the number of the search position of the conversion target part searched in order from the beginning in the original sentence by the searching means.
Document information processing device described.
【請求項3】 前記変換処理手段によって変換された文
字列を原文中の変換対象部分の末尾に識別可能な書式で
挿入する変換文字列挿入手段と、前記識別情報挿入手段
の挿入動作に基づく表示形態と前記変換文字列挿入手段
の挿入動作に基づく表示形態との切り替え指示をする切
替指示手段をさらに備えたことを特徴とする請求項1記
載の文書情報処理装置。
3. A conversion character string insertion unit that inserts the character string converted by the conversion processing unit at the end of the conversion target portion in the original sentence in an identifiable format, and a display based on the insertion operation of the identification information insertion unit. 2. The document information processing apparatus according to claim 1, further comprising switching instruction means for instructing switching between the form and the display form based on the inserting operation of the conversion character string inserting means.
【請求項4】 前記表示制御手段は前記切替指示手段か
ら変換文字列挿入手段の挿入動作に基づく表示形態で表
示するための切り替え指示を受けた際には、入力された
原文中の変換対象部分に対して変換した文字列を変換対
象部分の末尾に識別可能な書式で前記表示手段に表示さ
せることを特徴とする請求項3記載の文書情報処理装
置。
4. When the display control means receives a switching instruction from the switching instruction means for displaying in a display form based on the inserting operation of the conversion character string inserting means, the conversion target portion in the input original text is received. 4. The document information processing apparatus according to claim 3, wherein the converted character string is displayed on the display means at the end of the conversion target portion in an identifiable format.
【請求項5】 入力された原文中の変換対象部分を別の
単語に変換するための構文解析辞書及び複数の言語間を
翻訳する翻訳辞書からなる変換情報格納手段と、翻訳の
言語を指示する翻訳指示手段をさらに備え、前記変換処
理手段は翻訳指示手段の指示を受け、前記構文解析辞書
及び翻訳辞書を参照して入力された原文の変換対象部分
を別の単語の文字列に変換処理することを特徴とする請
求項1記載の文書情報処理装置。
5. A conversion information storage unit including a parsing dictionary for converting a conversion target portion in an input original sentence into another word and a translation dictionary for translating between a plurality of languages, and indicating a translation language. The conversion processing means further includes a translation instructing means, and receives the instruction of the translation instructing means, and converts the conversion target portion of the original sentence input by referring to the syntactic analysis dictionary and the translation dictionary into a character string of another word. The document information processing apparatus according to claim 1, wherein:
【請求項6】 単語の見出し語とその見出し語に対する
意味情報を含む単語辞書からなる変換情報格納手段と、
前記単語辞書の意味情報の読み出しを指示する読出指示
手段とをさらに備え、前記変換処理手段は前記読出指示
手段の指示を受け、前記単語辞書を参照して入力された
原文中の変換対象部分を単語の見出し語及びその意味情
報に変換することを特徴とする請求項1記載の文書情報
処理装置。
6. Conversion information storage means comprising a word dictionary containing word headwords and meaning information for the headwords,
The conversion processing means further includes a reading instruction means for instructing reading of the semantic information of the word dictionary, and the conversion processing means receives the instruction of the reading instruction means, and converts the conversion target portion in the original sentence input with reference to the word dictionary. The document information processing apparatus according to claim 1, wherein the word information is converted into a headword of the word and its meaning information.
【請求項7】 人名情報及び住所録情報を含む住所録か
らなる変換情報格納手段はさらに備え、前記変換処理手
段は入力された原文中の変換対象部分が人名情報ならば
前記住所録を参照して住所録情報を付加することを特徴
とする請求項1記載の文書情報処理装置。
7. The conversion information storage means comprising an address book including personal name information and address book information is further provided, and the conversion processing means refers to the address book if the conversion target portion in the input original text is personal name information. The document information processing apparatus according to claim 1, wherein address book information is added.
【請求項8】 前記検索手段が前記原文記憶手段に記憶
された原文を読み出し変換対象部分とその位置情報を検
索する際の開始位置と終了位置を指示する検索指示手段
をさらに備えたことを特徴とする請求項1記載の文書情
報処理装置。
8. The search means further comprises search instructing means for instructing a start position and an end position when the original sentence stored in the original sentence storage means is read out to retrieve a conversion target portion and its position information. The document information processing apparatus according to claim 1.
【請求項9】 前記変換処理手段によって変換される単
語に属する文字種類を記憶した文字列テーブルをさらに
備え、前記検索手段は前記文字列テーブルを参照して原
文の変換対象部分の文字数とその位置情報を検索するこ
とを特徴とする請求項1記載の文書情報処理装置。
9. The character string table storing the character types belonging to the words to be converted by the conversion processing means, wherein the search means refers to the character string table and the number of characters and the position of the conversion target portion of the original sentence. The document information processing apparatus according to claim 1, wherein information is retrieved.
【請求項10】 変換対象部分の任意の位置を指示する
検索指示手段をさらに備え、前記検索手段は前記文字列
テーブルを参照して前記検索指示手段によって指示され
た位置から前後に原文中の変換対象部分の文字数とその
位置情報を検索することを特徴とする請求項9記載の文
書情報処理装置。
10. A search instruction unit for instructing an arbitrary position of a conversion target portion, wherein the search unit refers to the character string table and converts the original sentence before and after the position instructed by the search instruction unit. 10. The document information processing apparatus according to claim 9, wherein the number of characters of the target portion and the position information thereof are searched.
【請求項11】 変換対象部分に特定のアンダーライン
を付加する検索指示手段をさらに備え、前記検索手段は
前記検索指示手段によって付加されたアンダーラインを
参照して原文中の変換対象部分の文字数とその位置情報
を検索することを特徴とする請求項1記載の文書情報処
理装置。
11. A search instruction unit for adding a specific underline to the conversion target portion, wherein the search unit refers to the underline added by the search instruction unit and determines the number of characters of the conversion target portion in the original sentence. The document information processing apparatus according to claim 1, wherein the position information is searched.
【請求項12】 変換対象部分に特定の書式情報を付加
する検索指示手段をさらに備え、前記検索手段は前記検
索指示手段によって付加された書式情報を参照して原文
中の変換対象部分の文字数とその位置情報を検索するこ
とを特徴とする請求項1記載の文書情報処理装置。
12. A search instruction unit for adding specific format information to the conversion target portion, wherein the search unit refers to the format information added by the search instruction unit and determines the number of characters of the conversion target portion in the original sentence. The document information processing apparatus according to claim 1, wherein the position information is searched.
【請求項13】 前記原文記憶手段に記憶された原文及
び前記検索情報記憶手段に記憶された変換対象部分とそ
の位置情報を、読み出し可能に記憶する不揮発性記憶手
段をさらに備えたことを特徴とする請求項1記載の文書
情報処理装置。
13. A non-volatile storage means for readingably storing the original sentence stored in the original sentence storage means, the conversion target portion stored in the search information storage means, and the position information thereof. The document information processing apparatus according to claim 1.
JP7337238A 1995-12-25 1995-12-25 Document information processor Pending JPH09179867A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7337238A JPH09179867A (en) 1995-12-25 1995-12-25 Document information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7337238A JPH09179867A (en) 1995-12-25 1995-12-25 Document information processor

Publications (1)

Publication Number Publication Date
JPH09179867A true JPH09179867A (en) 1997-07-11

Family

ID=18306749

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7337238A Pending JPH09179867A (en) 1995-12-25 1995-12-25 Document information processor

Country Status (1)

Country Link
JP (1) JPH09179867A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10068359B2 (en) 2013-09-27 2018-09-04 Sharp Kabushiki Kaisha Information processing device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10068359B2 (en) 2013-09-27 2018-09-04 Sharp Kabushiki Kaisha Information processing device

Similar Documents

Publication Publication Date Title
US4962452A (en) Language translator which automatically recognizes, analyzes, translates and reinserts comments in a sentence
US4831529A (en) Machine translation system
JP2862626B2 (en) Electronic dictionary and information retrieval method
US6047299A (en) Document composition supporting method and system, and electronic dictionary for terminology
EP0645720B1 (en) Dictionary creation supporting system
US20030046062A1 (en) Productivity tool for language translators
EP0370774A2 (en) Machine translation system
WO1994019755A1 (en) Method and system for translating documents using translation handles
Somers The translator's workstation
JP3352799B2 (en) Machine translation method and machine translation device
JP2848729B2 (en) Translation method and translation device
JPH09179867A (en) Document information processor
JP3122417B2 (en) Information display method and information processing device
JPH0442704B2 (en)
Barlow MonoconcEsy: An Introduction to Concordancing
JP2000268034A (en) Automatic text pre-editing device, its method and storage medium to be used for it
JP7217063B1 (en) Document editing support program and document editing system
JPH06195380A (en) Retrieval result display system in translation supporting system
JP2005157412A (en) Machine translation device, program and recording medium
JPH08329059A (en) General purpose reference device
JP2893239B2 (en) Translation support dictionary search and display system
JP2924955B2 (en) Translation method and translation device
JPH04174069A (en) Language understanding assisting device
JPS62143178A (en) Natural language translation system
JPH06149790A (en) Document processor