JPH08202694A - Document processor and its character string retrieving method - Google Patents

Document processor and its character string retrieving method

Info

Publication number
JPH08202694A
JPH08202694A JP7013662A JP1366295A JPH08202694A JP H08202694 A JPH08202694 A JP H08202694A JP 7013662 A JP7013662 A JP 7013662A JP 1366295 A JP1366295 A JP 1366295A JP H08202694 A JPH08202694 A JP H08202694A
Authority
JP
Japan
Prior art keywords
character string
search
character
document information
ambiguous
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
JP7013662A
Other languages
Japanese (ja)
Inventor
Tadashi Inoue
直史 井上
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP7013662A priority Critical patent/JPH08202694A/en
Publication of JPH08202694A publication Critical patent/JPH08202694A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE: To efficiently perform a character string retrieving process while discriminating between a desired character string and a fuzzy character string as to a character string retrieved according to a desired character string inputted from in edited document information. CONSTITUTION: Which of a retrieval object character string and a fuzzy character string the character string retrieved by a CPU1 is, is discriminated and the display form of the retrieved character string is switched on a display device 6 according to which of the retrieval object character string and fuzzy character string the retrieved character string is.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、文書を入力して編集す
る文書処理装置に係り、特に、入力された所望の文字列
に似たカナ使いを含めてその文字列を検索可能な文書処
理装置および文書処理装置の文字列検索方法に関するも
のである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document processing apparatus for inputting and editing a document, and more particularly to a document processing capable of retrieving a character string including a kana usage similar to a desired input character string. The present invention relates to a character string search method for a device and a document processing device.

【0002】[0002]

【従来の技術】この種の装置には、文書編集機能の1つ
として検索機能が備えられている場合がある。この場合
において、最近になって、あいまい検索が広く行なわれ
るようになった。
2. Description of the Related Art This type of device may be equipped with a search function as one of the document editing functions. In this case, fuzzy search has recently become widespread.

【0003】ここで、あいまい検索とは、操作者の入力
した検索対象文字列に、似たかな使いや文字も一緒に検
索するもので、検索したい文字列が不確かな場合などに
有効な機能である。
The fuzzy search is a search for a character string to be searched input by the operator together with similar usages and characters, and is an effective function when the character string to be searched is uncertain. is there.

【0004】[0004]

【発明が解決しようとする課題】ところが、逆に、検索
の許容範囲が広くなるため、所望の文字列かどうかの確
認作業が入ることになり、煩わしさを伴う等の問題点が
あった。
On the contrary, since the allowable range of the search is widened, the work of confirming whether or not the character string is the desired character is required, which is troublesome.

【0005】本発明は、上記の問題点を解消するために
なされたもので、本発明に係る第1の発明〜第3の発明
の目的は、編集された文書情報に対して入力される検索
対象文字列に基づいて文字列を検索する際に、当該検索
対象文字列中に所定の文字に対して慣用されるあいまい
文字がある場合には、検索された当該検索対象文字列に
合致する文字列とあいまい文字で置き換えた文字列との
表示形態を切り換え制御することにより、編集された文
書情報中から入力された所望の文字列に従って検索され
た文字列が所望の文字列かそれともあいまい文字列かを
識別しながら、効率よく文字列検索処理を行うことがで
きる文書処理装置および文書処理装置の文字列検索方法
を提供することである。
The present invention has been made to solve the above problems, and an object of the first to third inventions of the present invention is to provide a search input to edited document information. When searching for a character string based on the target character string, if there is an ambiguous character that is commonly used for a predetermined character in the search target character string, the character that matches the searched target character string is searched. By switching the display mode between the column and the character string replaced with ambiguous characters, the character string searched according to the desired character string input from the edited document information is the desired character string or the ambiguous character string. (EN) A document processing device and a character string search method for a document processing device capable of efficiently performing a character string search process while identifying whether or not.

【0006】[0006]

【課題を解決するための手段】本発明に係る第1の発明
は、文書情報を入力する入力手段と、この文書情報を記
憶する記憶手段と、この記憶手段に記憶された前記文書
情報を編集する編集手段と、前記文書情報を表示する表
示手段と、所定の文字に対して慣用されるあいまい文字
を記憶する文字記憶手段と、前記入力手段から入力され
る検索対象文字列に基づいて前記記憶手段に記憶された
文書情報中から前記検索対象文字列に合致する文字列お
よび前記検索対象文字列中のいずれかの文字を前記文字
記憶手段に記憶されたあいまい文字で代替したあいまい
文字列を検索する検索手段と、この検索手段により検索
された文字列が前記検索対象文字列か前記あいまい文字
列かどうかを判別する判別手段と、この判別手段が検索
された文字列が前記検索対象文字列の場合と前記あいま
い文字列の場合とで前記表示手段上で検索された文字列
の表示形態を切り換え制御する表示制御手段とを有する
ものである。
A first aspect of the present invention relates to an input means for inputting document information, a storage means for storing this document information, and editing the document information stored in this storage means. Editing means, display means for displaying the document information, character storage means for storing ambiguous characters commonly used for predetermined characters, and the storage based on the search target character string input from the input means. A fuzzy character string obtained by substituting a fuzzy character stored in the character storage means for a character string matching the search target character string and any character in the search target character string from the document information stored in the means is searched. And a discriminating means for discriminating whether the character string retrieved by the retrieving means is the retrieval target character string or the ambiguous character string, and the character string retrieved by the discriminating means is Search is between the case and the case of the target string of the ambiguous character string having a display control means for controlling switching the display form of the search string on said display means.

【0007】本発明に係る第2の発明は、検索手段が検
索する文書情報中の検索範囲を指定する指定手段を設
け、前記検索手段が指定された前記検索範囲内で入力さ
れる検索対象文字列およびあいまい文字列に合致する文
字列を前記記憶手段に記憶された文書情報中から検索す
るものである。
A second invention according to the present invention is provided with a designating means for designating a search range in the document information searched by the search means, and the search target character inputted within the search range designated by the search means. A character string matching the string and the ambiguous character string is searched from the document information stored in the storage means.

【0008】本発明に係る第3の発明は、文書情報を入
力する入力手段と、この文書情報を記憶する記憶手段
と、この記憶手段に記憶された前記文書情報を編集する
編集手段と、前記文書情報を表示する表示手段と、所定
の文字に対して慣用されるあいまい文字を記憶する文字
記憶手段とを有する文書処理装置の文字列検索方法にお
いて、入力手段から入力される検索対象文字列に基づい
て前記記憶手段に記憶された文書情報中から前記検索対
象文字列に合致する文字列および前記検索対象文字列中
のいずれかの文字を前記文字記憶手段に記憶されたあい
まい文字で代替したあいまい文字列を検索する検索工程
と、該検索された文字列が前記検索対象文字列か前記あ
いまい文字列かどうかを判別する判別工程と、該判別結
果に応じて検索された文字列が前記検索対象文字列を第
1の表示形態で前記表示手段上に表示する第1の検索表
示工程と、前記判別結果に応じて検索された文字列が前
記あいまい文字列を第1の表示形態とは異なる第2の表
示形態で前記表示手段上に表示する第2の検索表示工程
とを有するものである。
According to a third aspect of the present invention, input means for inputting document information, storage means for storing the document information, editing means for editing the document information stored in the storage means, and In a character string search method for a document processing apparatus having a display unit for displaying document information and a character storage unit for storing ambiguous characters commonly used for a predetermined character, a search target character string input from an input unit is used. Based on the document information stored in the storage means based on the character string that matches the search target character string and any character in the search target character string is replaced with the fuzzy character stored in the character storage means A search step of searching a character string, a determination step of determining whether the searched character string is the search target character string or the ambiguous character string, and a search based on the determination result. A first search display step of displaying the search target character string on the display means in a first display form; and a character string searched according to the determination result is the ambiguous character string A second search display step of displaying on the display means in a second display form different from the display form.

【0009】[0009]

【作用】第1の発明において、検索手段により検索され
た文字列が前記検索対象文字列か前記あいまい文字列か
どうかを判別する判別手段が検索された文字列が前記検
索対象文字列の場合と前記あいまい文字列の場合とで表
示制御手段が前記表示手段上で検索された文字列の表示
形態を切り換えて、検索された文字列が所望の文字列か
あいまい文字で検索された文字列かを容易に識別可能と
する。
In the first aspect of the present invention, there is provided a case where the determining means for determining whether the character string searched by the searching means is the search target character string or the ambiguous character string is the searched character string. In the case of the ambiguous character string, the display control means switches the display form of the character string searched on the display means to determine whether the searched character string is a desired character string or a character string searched by ambiguous characters. Make it easily identifiable.

【0010】第2の発明において、検索手段が指定され
た前記検索範囲内で入力される検索対象文字列およびあ
いまい文字列に合致する文字列を前記記憶手段に記憶さ
れた文書情報中から検索して、検索対象文字列およびあ
いまい文字列を効率よく検索することを可能とする。
In the second aspect of the invention, the search means searches the document information stored in the storage means for a character string matching the search target character string and the ambiguous character string input within the specified search range. Thus, it is possible to efficiently search the search target character string and the ambiguous character string.

【0011】第3の発明において、入力手段から入力さ
れる検索対象文字列に基づいて前記記憶手段に記憶され
た文書情報中から前記検索対象文字列に合致する文字列
および前記検索対象文字列中のいずれかの文字を前記文
字記憶手段に記憶されたあいまい文字で代替したあいま
い文字列を検索し、該検索された文字列が前記検索対象
文字列か前記あいまい文字列かどうかを判別し、該判別
結果に応じて検索された文字列が前記検索対象文字列を
第1の表示形態で前記表示手段上に表示し、前記判別結
果に応じて検索された文字列が前記あいまい文字列を第
1の表示形態とは異なる第2の表示形態で前記表示手段
上に表示し、検索された文字列が所望の文字列かあいま
い文字で検索された文字列か識別表示する処理をプログ
ラマブルに実行可能とする。
In the third invention, a character string matching the search target character string in the document information stored in the storage means based on the search target character string input from the input means and the search target character string Searching for an ambiguous character string in which any of the characters is replaced with an ambiguous character stored in the character storage means, and determining whether the searched character string is the search target character string or the ambiguous character string, The character string searched according to the determination result displays the search target character string on the display means in the first display form, and the character string searched according to the determination result is the ambiguous character string A process for displaying on the display means in a second display form different from the display form for identifying and displaying the retrieved character string as a desired character string or a character string retrieved with ambiguous characters can be programmably executed. To.

【0012】[0012]

【実施例】以下、図面を参照して本発明の一実施例を詳
細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described in detail below with reference to the drawings.

【0013】図1は本発明の一実施例を示す文書処理装
置の構成を説明するブロック図である。
FIG. 1 is a block diagram for explaining the arrangement of a document processing apparatus showing an embodiment of the present invention.

【0014】図において、1はCPUで、ROM2に記
憶された制御プログラムに基づいてシステムバス8に接
続された各デバイスを総括的に制御する。3はRAM
で、各種データやプログラムを格納し、主としてCPU
1のワークメモリとして機能する。4は外部記憶装置
で、例えばフロッピーディスクまたはハードディスク
(HD)等の記憶媒体を備えて、キーボード7から入力
されて編集された文書データを格納する。5はプリンタ
で、例えばインクを吐出して印字するインクジェットプ
リンタで構成されている。6はCRTまたはLCD等で
構成される表示装置で、入力された文書あるいはシステ
ム情報等を所定位置に表示する。なお、表示装置6は、
CPU1が管理するウインドウシステムに応じて編集文
書をウインドウを開いて表示する、ウインドウズシステ
ム(商品名を含む)で構成されていてもよい。7はキー
ボードで、図示しないマウス等のポインティングデバイ
スを接続して、文書情報の入力および編集位置等を指示
入力可能に構成されている。8はシステムバスで、図示
しない外部インタフェースを介して、ネットワークから
文書情報を受信あるいは送信する機能も備えている。ま
た、ファクシミリ通信機能も備えている。
In the figure, reference numeral 1 is a CPU, which generally controls each device connected to the system bus 8 based on a control program stored in a ROM 2. 3 is RAM
Stores various data and programs, mainly CPU
1 function as a work memory. An external storage device 4 is provided with a storage medium such as a floppy disk or a hard disk (HD) and stores document data input from the keyboard 7 and edited. A printer 5 is composed of, for example, an ink jet printer that ejects ink to print. Reference numeral 6 denotes a display device including a CRT or LCD, which displays an input document or system information at a predetermined position. The display device 6 is
It may be configured by a Windows system (including a product name) that opens and displays a window of an edited document according to a window system managed by the CPU 1. Reference numeral 7 denotes a keyboard, which is connected to a pointing device such as a mouse (not shown) so that the user can instruct the input of document information and the editing position. Reference numeral 8 denotes a system bus, which also has a function of receiving or transmitting document information from a network via an external interface (not shown). It also has a facsimile communication function.

【0015】図2は本発明に係る文書処理装置における
あいまい検索の対象となる文字の一覧を示す図である。
FIG. 2 is a view showing a list of characters to be fuzzy searched in the document processing apparatus according to the present invention.

【0016】図において、(1)から(20)のそれぞ
れの文字は、同等の文字として扱われる。
In the figure, the characters (1) to (20) are treated as equivalent characters.

【0017】すなわち、文字(11)を例に取れば、操
作者が「−」と入力した検索を実行した場合、文書中の
「1」、「−」、「壱」、「一」、の文字がすべて検索
されることになる。
That is, taking the character (11) as an example, when the operator executes a search by inputting "-", "1", "-", "Ichi", "one" in the document All characters will be searched.

【0018】図3は、図1に示した表示装置6にオープ
ン表示される検索ダイヤログボックスの一例を示す図で
あり、Aは検索文字列を入力する入力領域を示し、Bは
検索範囲を指定するパラメータを示し、Cは検索実行を
指示するスイッチを示す。
FIG. 3 is a diagram showing an example of a search dialog box that is open-displayed on the display device 6 shown in FIG. 1, where A is an input area for inputting a search character string and B is a search range. A parameter to be designated is shown, and C is a switch for instructing search execution.

【0019】図4は、図1に示した表示装置6の文書編
集画面上での文字列検索候補表示状態を示す図であり、
図2に示したあいまい検索対象となる文字(1)ついて
検索した状態に対応し、(a)は文字(1)の「バ」に
応じて入力サンプル「バイオリン」を検索して反転表示
した状態を示し、(b)は文字(1)の「ヴァ」に応じ
て入力サンプル「ヴァイオリン」を検索して点滅表示し
た状態を示す。
FIG. 4 is a view showing a character string search candidate display state on the document edit screen of the display device 6 shown in FIG.
Corresponding to the state in which the character (1) that is the fuzzy search target shown in FIG. 2 is searched, (a) is a state in which the input sample "Violin" is searched and highlighted according to the character (1) And (b) shows a state in which the input sample "violin" is searched according to the character "1" of the character (1) and is displayed in blinking.

【0020】以下、本実施例と第1,第2の発明の各手
段との対応及びその作用について図1〜図4等を参照し
て説明する。
Correspondence between the present embodiment and each means of the first and second inventions and their operation will be described below with reference to FIGS.

【0021】第1の発明は、文書情報を入力する入力手
段(キーボード7)と、この文書情報を記憶する記憶手
段(RAM3)と、この記憶手段に記憶された前記文書
情報を編集する編集手段(CPU1による)と、前記文
書情報を表示する表示手段(表示装置6)と、所定の文
字に対して慣用されるあいまい文字を記憶する文字記憶
手段(本実施例では、ROM2に記憶されるが、システ
ム構成によってはハードディスク(HD)等でもよい)
と、前記入力手段から入力される検索対象文字列に基づ
いて前記記憶手段に記憶された文書情報中から前記検索
対象文字列に合致する文字列および前記検索対象文字列
中のいずれかの文字を前記文字記憶手段に記憶されたあ
いまい文字で代替したあいまい文字列を検索する検索手
段(CPU1の機能による)と、この検索手段により検
索された文字列が前記検索対象文字列か前記あいまい文
字列かどうかを判別する判別手段(CPU1の機能によ
る)と、この判別手段が検索された文字列が前記検索対
象文字列の場合と前記あいまい文字列の場合とで前記表
示手段上で検索された文字列の表示形態を切り換え制御
する表示制御手段(CPU1の機能による)とを有し、
CPU1により検索された文字列が前記検索対象文字列
か前記あいまい文字列かどうかを判別し、検索された文
字列が前記検索対象文字列の場合と前記あいまい文字列
の場合とで、表示装置6上で検索された文字列の表示形
態を切り換えて、検索された文字列が所望の文字列かあ
いまい文字で検索された文字列かを容易に識別可能とす
る。
A first aspect of the invention is an input means (keyboard 7) for inputting document information, a storage means (RAM3) for storing this document information, and an editing means for editing the document information stored in this storage means. (By the CPU 1), display means (display device 6) for displaying the document information, and character storage means (in the present embodiment, stored in the ROM 2 for storing ambiguous characters commonly used for predetermined characters). , A hard disk (HD) may be used depending on the system configuration)
And a character string that matches the search target character string from the document information stored in the storage unit based on the search target character string input from the input unit and any character in the search target character string. Retrieval means (by the function of CPU 1) for retrieving an ambiguous character string substituted by ambiguous characters stored in the character storage means, and whether the character string retrieved by this retrieving means is the search target character string or the ambiguous character string. Discrimination means (depending on the function of the CPU 1) for discriminating whether or not the character string retrieved by this discrimination means is the retrieval target character string or the ambiguous character string, and the character string retrieved on the display means. And a display control means (depending on the function of the CPU 1) for switching the display form of
It is determined whether the character string searched by the CPU 1 is the search target character string or the fuzzy character string, and the display device 6 is used depending on whether the searched character string is the search target character string or the fuzzy character string. By switching the display form of the character string searched above, it is possible to easily identify whether the searched character string is a desired character string or a character string searched with ambiguous characters.

【0022】第2の発明は、検索手段(CPU1の機能
による)が指定された前記検索範囲内で入力される検索
対象文字列およびあいまい文字列に合致する文字列を前
記記憶手段に記憶された文書情報中から検索して、検索
対象文字列およびあいまい文字列を効率よく検索するこ
とを可能とする。
According to a second aspect of the present invention, a character string that matches the search target character string and the ambiguous character string input by the search means (by the function of the CPU 1) within the specified search range is stored in the storage means. It is possible to efficiently search for a search target character string and a fuzzy character string by searching from document information.

【0023】以下、図5に示すフローチャートを参照し
て文書処理装置の文字検索方法について説明する。
The character retrieval method of the document processing apparatus will be described below with reference to the flowchart shown in FIG.

【0024】図5は本発明に係る文書処理装置の文字列
検索方法の一実施例を示すフローチャートである。な
お、(1)〜(11)は各ステップを示す。
FIG. 5 is a flow chart showing an embodiment of the character string search method of the document processing apparatus according to the present invention. Note that (1) to (11) indicate each step.

【0025】まず、操作者は、図3に示したダイヤログ
ボックスで、キーボード7から入力領域Aに検索する文
字列を「バイオリン」と入力する。また、検索の開始位
置と範囲を決めるパラメータBの中から1つを選択する
(現在カーソル以降を選択した状態)。最後に、実行開
始のスイッチCを図示しないポインティングデバイスで
カーソルを移動して当該スイッチCを指示する。
First, the operator inputs "Violin" as a character string to be searched in the input area A from the keyboard 7 in the dialog box shown in FIG. Also, one is selected from the parameters B that determine the search start position and the range (currently after the cursor is selected). Lastly, the execution start switch C is pointed by moving the cursor with a pointing device (not shown).

【0026】これにより、フローが開始され、ステップ
(1)で、検索開始位置をセットする。「文書の先頭か
ら」ならば開始位置を文書の先頭に、「カーソル以降」
または「カーソル以前」ならば現在カーソル位置にセッ
トする。次に、ステップ(2)で入力された文字列と一
致するか、または入力された文字列の中に図2に示す文
字が含まれている場合には、その文字と同等に扱う文字
と一致するかを判別する。
As a result, the flow is started, and the search start position is set in step (1). If "from the beginning of the document", the start position is at the beginning of the document, and "after the cursor"
Or if it is “before the cursor”, it is set at the current cursor position. Next, if it matches the character string input in step (2), or if the input character string contains the character shown in FIG. 2, it matches the character treated as equivalent to that character. Determine whether to do.

【0027】このステップ(3)で一致しなかった場合
にはステップ(4)へ行き、検索の開始位置を1文字分
進める。なお、この時、図3に示した検索設定画面で、
パラメータBの設定が「文書の先頭から」または「カー
ソル以降」の場合には+1、「カーソル以前」の場合に
は−1することになる。
If they do not match in step (3), the process proceeds to step (4) to advance the search start position by one character. At this time, on the search setting screen shown in FIG.
When the setting of the parameter B is "from the beginning of the document" or "after the cursor", it is incremented by +1 and when it is "before the cursor", it is decremented by -1.

【0028】次いで、ステップ(5)では、検索範囲を
全て終了したかどうかの判定をし、終了していなければ
ステップ(2)の処理に戻り、終了していればこのプロ
グラムを終了する。なお、本実施例において、検索範囲
終了の判定は、図3に示した検索設定画面のパラメータ
Bの設定で「文書の先頭から」または「カーソル以降」
の場合には文書の最後であり、「カーソル以前」の場合
には文書の先頭になる。
Next, in step (5), it is judged whether or not the search range is all finished. If it is not finished, the process returns to step (2), and if it is finished, this program is finished. Note that in the present embodiment, the determination of the end of the search range is made "from the beginning of the document" or "after the cursor" by setting the parameter B on the search setting screen shown in FIG.
Is the end of the document, and "Before cursor" is the beginning of the document.

【0029】一方、ステップ(3)で一致したと判定さ
れた場合には、ステップ(6)へ行き、一致したのは操
作者が入力した文字列そのものか、または図2に示すあ
いまい検索の対象文字が含まれているかを判別する。
On the other hand, if it is determined in step (3) that they match, the process proceeds to step (6), and the match is the character string itself input by the operator or the fuzzy search target shown in FIG. Determine if a character is included.

【0030】一方、ステップ(6)で操作者が入力した
文字列そのものと判別された場合には、ステップ(8)
へ行き、図4の(a)のごとく、文書中の文字列を反転
表示し、あいまい検索の対象文字が含まれていると判定
された場合には、ステップ(7)へ行き、図4の(b)
のごとく、文書中の文字列を点滅表示する。
On the other hand, if it is determined in step (6) that the character string itself is input by the operator, step (8)
4A, the character string in the document is displayed in reverse video as shown in FIG. 4A, and when it is determined that the fuzzy search target character is included, the process goes to step (7). (B)
The character string in the document is displayed blinking like.

【0031】次に、ステップ(9)では、ここで検索処
理を中断するか、続行するかの、操作者からの入力待ち
になる。そして、ステップ(10)の判定で続行なら
ば、ステップ(11)へ行き、検索開始位置を、今検索
した文字列の最後の文字の次の文字にセットして、ステ
ップ(5)の検索範囲終了の判定に行く。なお、図2の
検索設定画面でパラメータBの設定が「カーソル以前」
の場合には、検索開始位置は、今検索した文字列の先頭
の文字の前の文字にセットする。
Next, in step (9), the operator waits for an input as to whether to interrupt or continue the search process. If the determination in step (10) is continued, go to step (11), set the search start position to the character next to the last character of the character string just searched, and search in step (5). Go to the end judgment. Note that the parameter B is set to "Before cursor" on the search setting screen in FIG.
In the case of, the search start position is set to the character before the first character of the character string just searched.

【0032】一方、ステップ(10)の判定が中断なら
ばこのプログラム処理を終了する。
On the other hand, if the determination in step (10) is interrupted, this program processing is terminated.

【0033】以下、本実施例と第3の発明の各工程との
対応及びその作用について図5を参照して説明する。
Correspondence between the present embodiment and each step of the third invention and its action will be described below with reference to FIG.

【0034】第3の発明は、文書情報を入力する入力手
段(キーボード7)と、この文書情報を記憶する記憶手
段(RAM3)と、この記憶手段に記憶された前記文書
情報を編集する編集手段(CPU1の機能による)と、
前記文書情報を表示する表示手段(表示装置6)と、所
定の文字に対して慣用されるあいまい文字を記憶する文
字記憶手段(本実施例では、ROM2に記憶されるが、
システム構成によってはハードディスク(HD)等でも
よい)とを有する文書処理装置の文字列検索方法におい
て、キーボード7から入力される検索対象文字列に基づ
いて前記RAM3に記憶された文書情報中から前記検索
対象文字列に合致する文字列および前記検索対象文字列
中のいずれかの文字をROM2に記憶されたあいまい文
字で代替したあいまい文字列を検索する検索工程(図5
のステップ(2),(3))と、該検索された文字列が
前記検索対象文字列か前記あいまい文字列かどうかを判
別する判別工程(図5のステップ(6))と、該判別結
果に応じて検索された文字列が前記検索対象文字列を第
1の表示形態で前記表示手段上に表示する第1の検索表
示工程(図5のステップ(7))と、前記判別結果に応
じて検索された文字列が前記あいまい文字列を第1の表
示形態とは異なる第2の表示形態で前記表示手段上に表
示する第2の検索表示工程(図5のステップ(8))と
を実行して、検索された文字列が所望の文字列かあいま
い文字で検索された文字列か識別表示する処理をプログ
ラマブルに実行可能とする。
A third invention is an input means (keyboard 7) for inputting document information, a storage means (RAM3) for storing the document information, and an editing means for editing the document information stored in the storage means. (Depending on the function of CPU1),
A display means (display device 6) for displaying the document information and a character storage means (in the present embodiment, stored in the ROM 2 for storing ambiguous characters commonly used for predetermined characters,
In a character string search method for a document processing device having a hard disk (HD or the like depending on the system configuration), the search is performed from the document information stored in the RAM 3 based on the search target character string input from the keyboard 7. A search step of searching for a fuzzy character string in which a fuzzy character stored in the ROM 2 is substituted for a character string that matches the target character string and any character in the search target character string (FIG. 5).
Steps (2) and (3)), a determination step (step (6) in FIG. 5) of determining whether the searched character string is the search target character string or the ambiguous character string, and the determination result. According to the first search display step (step (7) in FIG. 5) in which the character string searched according to the above is displayed on the display means in the first display mode, the search target character string is displayed. And a second search and display step (step (8) in FIG. 5) in which the ambiguous character string is displayed on the display means in a second display form different from the first display form. By executing the processing, it is possible to programmatically execute the process of identifying and displaying whether the retrieved character string is a desired character string or a character string retrieved with ambiguous characters.

【0035】なお、本発明は、複数の機器から構成され
るシステムに適用しても、1つの機器から成る装置に適
用しても良い。また、本発明はシステムあるいは装置に
プログラムを供給することによって達成させる場合にも
適用できることは言うまでもない。
The present invention may be applied to a system composed of a plurality of devices or an apparatus composed of one device. Further, it goes without saying that the present invention can be applied to the case where it is achieved by supplying a program to a system or an apparatus.

【0036】[0036]

【発明の効果】以上説明したように、本発明に係る第1
の発明によれば、検索手段により検索された文字列が前
記検索対象文字列か前記あいまい文字列かどうかを判別
する判別手段が検索された文字列が前記検索対象文字列
の場合と前記あいまい文字列の場合とで表示制御手段が
前記表示手段上で検索された文字列の表示形態を切り換
えるので、検索された文字列が所望の文字列かあいまい
文字で検索された文字列かを容易に識別することができ
る。
As described above, the first aspect of the present invention
According to the invention, the determination means for determining whether the character string searched by the search means is the search target character string or the ambiguous character string, the case where the searched character string is the search target character string and the ambiguous character Since the display control means switches the display form of the character string retrieved on the display means in the case of a column, it is possible to easily identify whether the retrieved character string is a desired character string or a character string retrieved with ambiguous characters. can do.

【0037】第2の発明によれば、検索手段が指定され
た前記検索範囲内で入力される検索対象文字列およびあ
いまい文字列に合致する文字列を前記記憶手段に記憶さ
れた文書情報中から検索するので、検索対象文字列およ
びあいまい文字列を効率よく検索することができる。
According to the second aspect of the invention, the character string matching the search target character string and the ambiguous character string input by the searching means within the specified search range is selected from the document information stored in the storing means. Since the search is performed, the search target character string and the ambiguous character string can be efficiently searched.

【0038】第3の発明によれば、入力手段から入力さ
れる検索対象文字列に基づいて前記記憶手段に記憶され
た文書情報中から前記検索対象文字列に合致する文字列
および前記検索対象文字列中のいずれかの文字を前記文
字記憶手段に記憶されたあいまい文字で代替したあいま
い文字列を検索し、該検索された文字列が前記検索対象
文字列か前記あいまい文字列かどうかを判別し、該判別
結果に応じて検索された文字列が前記検索対象文字列を
第1の表示形態で前記表示手段上に表示し、前記判別結
果に応じて検索された文字列が前記あいまい文字列を第
1の表示形態とは異なる第2の表示形態で前記表示手段
上に表示するので、検索された文字列が所望の文字列か
あいまい文字で検索された文字列か識別表示する処理を
プログラマブルに実行させることができる。
According to the third invention, a character string that matches the search target character string and the search target character from the document information stored in the storage means based on the search target character string input from the input means. An ambiguous character string in which any character in the string is replaced by an ambiguous character stored in the character storage means is searched, and it is determined whether the searched character string is the search target character string or the ambiguous character string. , The character string searched according to the determination result displays the search target character string on the display means in a first display form, and the character string searched according to the determination result indicates the ambiguous character string. Since the second display form different from the first display form is displayed on the display means, a process for identifying and displaying whether the retrieved character string is a desired character string or a character string retrieved with ambiguous characters is programmable. It is possible to row.

【0039】従って、編集された文書情報中から入力さ
れた所望の文字列に従って検索された文字列が所望の文
字列かそれともあいまい文字列かを識別しながら、効率
よく文字列検索処理を行うことができるという効果を奏
する。
Therefore, it is possible to efficiently perform the character string search process while discriminating whether the character string searched according to the desired character string input from the edited document information is the desired character string or the ambiguous character string. There is an effect that can be.

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

【図1】本発明の一実施例を示す文書処理装置の構成を
説明するブロック図である。
FIG. 1 is a block diagram illustrating a configuration of a document processing apparatus according to an exemplary embodiment of the present invention.

【図2】本発明に係る文書処理装置におけるあいまい検
索の対象となる文字の一覧を示す図である。
FIG. 2 is a diagram showing a list of characters to be fuzzy search targets in the document processing apparatus according to the present invention.

【図3】図1に示した表示装置にオープン表示される検
索ダイヤログボックスの一例を示す図である。
FIG. 3 is a diagram showing an example of a search dialog box that is open-displayed on the display device shown in FIG.

【図4】図1に示した表示装置の文書編集画面上での文
字列検索候補表示状態を示す図である。
4 is a diagram showing a character string search candidate display state on the document edit screen of the display device shown in FIG.

【図5】本発明に係る文書処理装置の文字列検索方法の
一実施例を示すフローチャートである。
FIG. 5 is a flowchart showing an embodiment of a character string search method of the document processing apparatus according to the present invention.

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

1 CPU 2 ROM 3 RAM 4 外部記憶装置 5 プリンタ 6 表示装置 7 キーボード 1 CPU 2 ROM 3 RAM 4 External Storage Device 5 Printer 6 Display Device 7 Keyboard

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 9288−5L G06F 15/20 550 L 9288−5L 554 M ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Office reference number FI technical display location 9288-5L G06F 15/20 550L 9288-5L 554M

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 文書情報を入力する入力手段と、この文
書情報を記憶する記憶手段と、この記憶手段に記憶され
た前記文書情報を編集する編集手段と、前記文書情報を
表示する表示手段と、所定の文字に対して慣用されるあ
いまい文字を記憶する文字記憶手段と、前記入力手段か
ら入力される検索対象文字列に基づいて前記記憶手段に
記憶された文書情報中から前記検索対象文字列に合致す
る文字列および前記検索対象文字列中のいずれかの文字
を前記文字記憶手段に記憶されたあいまい文字で代替し
たあいまい文字列を検索する検索手段と、この検索手段
により検索された文字列が前記検索対象文字列か前記あ
いまい文字列かどうかを判別する判別手段と、この判別
手段が検索された文字列が前記検索対象文字列の場合と
前記あいまい文字列の場合とで前記表示手段上で検索さ
れた文字列の表示形態を切り換え制御する表示制御手段
とを有することを特徴とする文書処理装置。
1. Input means for inputting document information, storage means for storing this document information, editing means for editing the document information stored in this storage means, and display means for displaying the document information. A character storage means for storing an ambiguous character commonly used for a predetermined character, and the search target character string in the document information stored in the storage means based on the search target character string input from the input means. And a search means for searching for an ambiguous character string in which any of the characters in the character string matching the search target character string and the character string to be searched is replaced by the ambiguous character stored in the character storage means, and the character string searched by this searching means. Discriminating means for discriminating whether the character string is the search target character string or the ambiguous character string, and a case where the character string searched by this judging means is the search target character string and the ambiguous character string And a display control unit for controlling the display mode of the character string retrieved on the display unit.
【請求項2】 検索手段が検索する文書情報中の検索範
囲を指定する指定手段を設け、前記検索手段が指定され
た前記検索範囲内で入力される検索対象文字列およびあ
いまい文字列に合致する文字列を前記記憶手段に記憶さ
れた文書情報中から検索することを特徴とする請求項1
記載の文書処理装置。
2. The specifying means for specifying the search range in the document information searched by the search means is provided, and the search means matches the search target character string and the ambiguous character string input within the specified search range. The character string is searched from the document information stored in the storage means.
Document processing device described.
【請求項3】 文書情報を入力する入力手段と、この文
書情報を記憶する記憶手段と、この記憶手段に記憶され
た前記文書情報を編集する編集手段と、前記文書情報を
表示する表示手段と、所定の文字に対して慣用されるあ
いまい文字を記憶する文字記憶手段とを有する文書処理
装置の文字列検索方法において、入力手段から入力され
る検索対象文字列に基づいて前記記憶手段に記憶された
文書情報中から前記検索対象文字列に合致する文字列お
よび前記検索対象文字列中のいずれかの文字を前記文字
記憶手段に記憶されたあいまい文字で代替したあいまい
文字列を検索する検索工程と、該検索された文字列が前
記検索対象文字列か前記あいまい文字列かどうかを判別
する判別工程と、該判別結果に応じて検索された文字列
が前記検索対象文字列を第1の表示形態で前記表示手段
上に表示する第1の検索表示工程と、前記判別結果に応
じて検索された文字列が前記あいまい文字列を第1の表
示形態とは異なる第2の表示形態で前記表示手段上に表
示する第2の検索表示工程とを有することを特徴とする
文書処理装置の文字列検索方法。
3. Input means for inputting document information, storage means for storing this document information, editing means for editing the document information stored in this storage means, and display means for displaying the document information. In a character string search method for a document processing device having a character storage means for storing an ambiguous character commonly used for a predetermined character, the storage means stores the character string based on a search target character string input from the input means. A search step of searching a fuzzy character string obtained by substituting a fuzzy character stored in the character storage means for a character string that matches the search target character string in the document information and any character in the search target character string; A determination step of determining whether the searched character string is the search target character string or the ambiguous character string, and the character string searched according to the determination result is the search target character A first search and display step of displaying a column on the display means in a first display form, and a second character string searched according to the determination result is different from the first display form for the ambiguous character string. And a second search and display step of displaying on the display means in the display form.
JP7013662A 1995-01-31 1995-01-31 Document processor and its character string retrieving method Pending JPH08202694A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7013662A JPH08202694A (en) 1995-01-31 1995-01-31 Document processor and its character string retrieving method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7013662A JPH08202694A (en) 1995-01-31 1995-01-31 Document processor and its character string retrieving method

Publications (1)

Publication Number Publication Date
JPH08202694A true JPH08202694A (en) 1996-08-09

Family

ID=11839421

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7013662A Pending JPH08202694A (en) 1995-01-31 1995-01-31 Document processor and its character string retrieving method

Country Status (1)

Country Link
JP (1) JPH08202694A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005242920A (en) * 2004-02-27 2005-09-08 Kyocera Corp Mobile terminal and data display method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005242920A (en) * 2004-02-27 2005-09-08 Kyocera Corp Mobile terminal and data display method
JP4637490B2 (en) * 2004-02-27 2011-02-23 京セラ株式会社 Mobile terminal and data display method

Similar Documents

Publication Publication Date Title
JP3025121B2 (en) Information processing method and apparatus
EP1189123B1 (en) Automatic programming and simulation apparatus
JPH0816723A (en) Image recognition device and method and device and method for inputting data
JP4329248B2 (en) NC machining simulation equipment
JPH08202694A (en) Document processor and its character string retrieving method
JPH0628136A (en) Function selection system of information processor
JPH08314965A (en) Document retrieving device
JP3117421B2 (en) Coreless machining shape discrimination method and apparatus, and computer-readable recording medium recording coreless machining shape discrimination program
JPH0863481A (en) Information retrieval device
JPH06301735A (en) Data base retrieving device
JP2001175379A (en) Display processor and storage medium
JP3011050B2 (en) Pointing confirmation method
JPH04290119A (en) Character processor
JPH05341941A (en) Information processor
JPH05216574A (en) Information processor
JP2000250544A (en) Electronic musical instrument
JPH086962A (en) Data retrieving device and displaying method for retrieved data
JPH08202525A (en) Device and method for screen input
JP2001273290A (en) Device and method for inputting character and computer readable recording medium
JPH10247132A (en) Coordinate point acquiring method
JPH07121285A (en) Character string input system
JPH0822460A (en) Japanese word input device and its character defining method
JPH10232731A (en) Function instructing system
JPH05290209A (en) Character recognition method and its device
JPH08272577A (en) Data input device and its display method