JPH0713820B2 - Word search device - Google Patents
Word search deviceInfo
- Publication number
- JPH0713820B2 JPH0713820B2 JP62096462A JP9646287A JPH0713820B2 JP H0713820 B2 JPH0713820 B2 JP H0713820B2 JP 62096462 A JP62096462 A JP 62096462A JP 9646287 A JP9646287 A JP 9646287A JP H0713820 B2 JPH0713820 B2 JP H0713820B2
- Authority
- JP
- Japan
- Prior art keywords
- stored
- word
- kanji
- cursor
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000012986 modification Methods 0.000 claims description 11
- 230000004048 modification Effects 0.000 claims description 11
- 239000003607 modifier Substances 0.000 claims description 2
- 238000006243 chemical reaction Methods 0.000 description 23
- 238000012545 processing Methods 0.000 description 11
- 238000000034 method Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 235000016496 Panda oleosa Nutrition 0.000 description 3
- 240000000220 Panda oleosa Species 0.000 description 3
- 238000012217 deletion Methods 0.000 description 3
- 230000037430 deletion Effects 0.000 description 3
- 230000006870 function Effects 0.000 description 2
- 238000003780 insertion Methods 0.000 description 2
- 230000037431 insertion Effects 0.000 description 2
- 239000000470 constituent Substances 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
Landscapes
- Document Processing Apparatus (AREA)
Description
【発明の詳細な説明】 (イ) 産業上の利用分野 本発明は単語検索装置に関する。DETAILED DESCRIPTION OF THE INVENTION (A) Field of Industrial Application The present invention relates to a word search device.
(ロ) 従来の技術 現在、日本語ワードプロセッサには一旦確定された漢字
かな混り単語を該単語に対応した読みに変換した後、従
来周知のかな漢字変換を用いて斯る読みに対応した漢字
かな混り単語に再変換する機能(以下、単に再変換と称
す)を有したものがある(三洋電気株式会社「SWP−770
0操作マニュアル」)。(B) Conventional technology At present, Japanese word processors convert kana-kana-mixed words that have been determined once into readings that correspond to the words, and then use kana-kanji conversion that is well known in the art. Some have the function of re-converting to mixed words (hereinafter simply referred to as re-conversion) (Sanyo Denki Co., Ltd. “SWP-770”).
0 Operation manual ”).
(ハ) 発明が解決しようとする問題点 然るに、斯る装置では通常、テキストメモリ等に格納さ
れている既作成文書中の漢字かな混り単語の位置は上記
メモリとは別個に設けられたテーブル等に格納されてい
るため、上記単語のテキストメモリ中での先頭位置等を
検索する場合、まず上記テーブルを参照して上記単語の
位置を調べる必要があるため、斯る処理に時間がかかっ
ていた。(C) Problems to be Solved by the Invention However, in such a device, the position of the kanji / kana mixing word in the prepared document stored in the text memory or the like is usually a table provided separately from the memory. Since it is stored in the etc., when searching the start position etc. of the above word in the text memory, it is necessary to look up the above word position first by referring to the above table, so this process takes time. It was
(ニ) 問題点を解決するための手段 本発明は、一旦確定された漢字かな混じり単語を再変換
するために、単語の先頭を検索する単語検索装置におい
て、先頭文字が漢字であるとき、この先頭文字に修飾情
報が付加された単語を含む複数の単語より構成される既
作成文書が格納されたテキストメモリと、該テキストメ
モリ中での対応カーソル位置が格納されたカーソルアド
レス部と、上記テキストメモリ中の上記カーソルアドレ
ス部の内容で示されるカーソル位置に近い位置に存在す
る上記修飾情報が付加された漢字の位置を検索するテキ
ストサーチ部とを備えることを特徴とする。(D) Means for Solving the Problems In the word search device for searching the beginning of a word in order to reconvert a once-determined kanji-kana mixed word, when the first character is a kanji, A text memory in which a prepared document composed of a plurality of words including a word in which the modification information is added to the first character is stored, a cursor address portion in which the corresponding cursor position in the text memory is stored, and the above text And a text search unit for searching the position of the Chinese character to which the modification information is added, which is present at a position near the cursor position indicated by the contents of the cursor address unit in the memory.
又、本発明は、前記テキストサーチ部は、前記カーソル
位置以降に存在し、かつ該カーソルに最も近い位置に存
在する前記修飾情報が付加された漢字の位置を検索する
ことを特徴とする。Further, the present invention is characterized in that the text search unit searches for a position of a Chinese character to which the modification information is added, which is present after the cursor position and is closest to the cursor position.
(ホ) 作用 本発明によれば、テキストサーチ部により、再変換の漢
字が自動的に検索される。(E) Operation According to the present invention, the re-converted Kanji is automatically searched by the text search unit.
(ヘ) 実施例 第1図は本発明の実施例を示し、(1)はマイクロコン
ピュータからなる主制御部であり、該制御部は内蔵の制
御プログラムに基づいて以下に説明する各部の制御を司
る。(2)はバスであり、上記主制御部(1)と各部と
を接続する。(3)は例えばキーボードからなる入力部
であり、該入力部は文字・記号等を入力するための文字
キーの他にカーソル移動キー、変換キー、再変換キー等
の機能キーを有する。(4)は表示部としてのCRT、
(5)はテキストメモリであり、該テキストメモリには
上記CRT(4)上に表示される一画面分の文書情報がそ
の表示順に格納されている。また、テキストメモリ
(5)中の各単語の先頭が漢字であるとき、斯る単語の
先頭には漢字であることを示す修飾情報が付加されてい
る。(6)はカーソルアドレス部であり、現在CRT
(4)上で表示されているカーソルのテキストメモリ
(5)での対応位置が格納される。(7)は表示制御部
であり、該制御部はテキストメモリ(5)に格納された
情報をCRT(4)上に表示すると共にカーソルアドレス
部(6)に格納された位置情報に対応したCRT(4)上
の位置を反転表示する。(8)は辞書であり、読み情報
に対応して漢字かな混り単語が格納されている。(9)
は読みバッファであり、読み情報が格納される。(10)
は変換文字バッファ、(11)は変換部であり、該変換部
は読みバッファ(9)に格納された読み情報に対応する
漢字かな混り単語を辞書(8)より読み出し変換文字バ
ッファ(10)に格納する。(17)はテキストサーチ部で
あり、該サーチ部はカーソルアドレス部(6)に格納さ
れている位置情報と対応したテキストメモリ(5)の位
置以降に存在し、かつ、斯る位置に最も近い位置にある
修飾情報を有した情報を検索し、斯る情報のテキサスト
メモリ(5)中の位置を出力する。(12)は漢字読み登
録部であり、斯る登録部には第2図に示す如くテキスト
メモリ(5)中の漢字を先頭にもつ単語(以下単に表示
情報と称す)がその読み及びテキストメモリ(5)中で
の先頭位置と共に格納される。(13)は待避バッファ、
(14)は先頭位置レジスタ、(15)は漢字長レジスタで
あり、該レジスタは現漢字長領域(15a)と旧漢字長領
域(15b)とを有する。(16)は編集処理部であり、該
処理部はテキストメモリ(5)中の文書情報に対して挿
入、削除等の編集処理を行なう。(F) Embodiments FIG. 1 shows an embodiment of the present invention, in which (1) is a main control section composed of a microcomputer, and the control section controls each section described below based on a built-in control program. Take charge. A bus (2) connects the main control unit (1) and each unit. Reference numeral (3) is an input unit including, for example, a keyboard, and the input unit has function keys such as a cursor movement key, a conversion key, and a reconversion key, in addition to the character keys for inputting characters and symbols. (4) is a CRT as a display,
Reference numeral (5) is a text memory in which document information for one screen displayed on the CRT (4) is stored in the display order. Further, when the head of each word in the text memory (5) is a Chinese character, the modifier information indicating that it is a Chinese character is added to the head of such a word. (6) is the cursor address part, currently the CRT
(4) The corresponding position in the text memory (5) of the cursor displayed above is stored. (7) is a display control unit, which displays the information stored in the text memory (5) on the CRT (4) and also corresponds to the position information stored in the cursor address unit (6). (4) The upper position is highlighted. Reference numeral (8) is a dictionary in which kanji and kana mixed words are stored corresponding to the reading information. (9)
Is a reading buffer in which reading information is stored. (Ten)
Is a conversion character buffer, and (11) is a conversion unit, which reads the kanji and kana mixed words corresponding to the reading information stored in the reading buffer (9) from the dictionary (8) and the conversion character buffer (10). To store. (17) is a text search unit, which exists after the position of the text memory (5) corresponding to the position information stored in the cursor address unit (6) and is closest to the position. The information having the modification information at the position is searched, and the position of such information in the Texas memory (5) is output. Reference numeral (12) is a kanji reading registration unit in which a word (hereinafter simply referred to as display information) having a kanji character at the beginning in the text memory (5) as shown in FIG. It is stored together with the head position in (5). (13) is the save buffer,
(14) is a head position register and (15) is a Chinese character length register, which has a current Chinese character length area (15a) and an old Chinese character length area (15b). Reference numeral (16) denotes an edit processing unit, which performs edit processing such as insertion and deletion on the document information in the text memory (5).
次に、斯る装置の動作を具体例に基づいて説明する。Next, the operation of such a device will be described based on a specific example.
今、第3図に示す如くCRT(4)上で表示される文書と
対応する情報がテキストメモリ(5)に格納されている
とすると、漢字読み登録部(12)には第3図(b)に示
す如くテキストメモリ(5)中の「京」、「渡し」、
「誕生日」の各単語に対応して読み及びテキストメモリ
(5)中での各単語の先頭位置が格納されていることと
なる。尚、説明の都合上テキストメモリ(5)中のメモ
リ位置とCRT(4)上での表示位置とは同一としてい
る。即ち、CRT(4)画面上の(1,1)(1,2)…で表わ
される位置は夫々テキストメモリ(5)の(1,1)(1,
2)…に夫々対応づけられる。Now, assuming that the information corresponding to the document displayed on the CRT (4) is stored in the text memory (5) as shown in FIG. 3, the kanji reading registration section (12) is shown in FIG. ), "Kyo", "pass" in the text memory (5),
The beginning position of each word in the reading and text memory (5) is stored corresponding to each word of "birthday". For convenience of explanation, the memory position in the text memory (5) and the display position on the CRT (4) are the same. That is, the positions represented by (1,1) (1,2) ... on the CRT (4) screen are (1,1) (1,) of the text memory (5), respectively.
2) ... is associated with each.
また、第3図(a)に示す如く、CRT(4)上のカーソ
ル位置は四角枠で示される。従って、カーソルアドレス
部(6)には位置情報として(1,1)が格納されてい
る。更に、テキストメモリ(4)中の漢字「京」、
「渡」、「誕」を示す情報には夫々上述した修飾情報が
付加されている。Further, as shown in FIG. 3 (a), the cursor position on the CRT (4) is indicated by a square frame. Therefore, (1,1) is stored as position information in the cursor address portion (6). In addition, the Chinese character “Kyo” in the text memory (4),
The above-mentioned modification information is added to the information indicating "watari" and "birth", respectively.
斯る状態において、入力部(3)より再変換キーが入力
されると主制御部(1)はテキストサーチ部(17)に現
在のカーソル位置以降に存在し、かつ斯る位置に最も近
いテキストメモリ(5)中の位置に存在する上記修飾情
報を有する情報の位置を検索させる(第1ステップ)。
このとき、カーソル位置(1,1)であり、かつ斯る位置
(1,1)に位置する情報は漢字「京」を示し、斯る情報
には修飾情報が付加されているので、テキストサーチ部
(17)は位置(1,1)を出力する。In such a state, when the re-conversion key is input from the input unit (3), the main control unit (1) exists in the text search unit (17) after the current cursor position and the text closest to the position. The position of the information having the above-mentioned modification information existing in the position in the memory (5) is searched (first step).
At this time, the information at the cursor position (1,1) and at the position (1,1) indicates the Chinese character “Kyo”, and since the modification information is added to such information, the text search is performed. The section (17) outputs the position (1,1).
斯る位置が出力されると、主制御部(1)は斯る位置情
報をカーソルアドレス部(6)に格納後、斯る位置情報
と対応して漢字読み登録部(12)に格納されている表示
情報と読みとを読出し、上記読みを読みバッファ(9)
に格納すると共に上記読出された表示情報及び読みを構
成する文字数を調べ夫々漢字長レジスタ(15)の旧漢字
長領域(15b)及び現漢字長領域(15a)に格納する(第
2ステップ)。具体的には今テキストサーチ部(17)よ
り出力された位置情報は(1,1)であるので、読みバッ
ファ(9)には読み「きょう」が、漢字長レジスタ(1
5)の旧漢字領域(15b)及び現漢字長領域(15a)には
夫々文字数「1」及び「3」が格納されることとなる。When such position is output, the main control unit (1) stores the position information in the cursor address unit (6) and then stores it in the Kanji reading registration unit (12) in correspondence with the position information. Read the display information and reading that are present, and read the above reading buffer (9)
In addition, the display information read out and the number of characters constituting the reading are checked and stored in the old kanji length area (15b) and the current kanji length area (15a) of the kanji length register (15) (second step). Specifically, since the position information output from the text search unit (17) is now (1,1), the reading “kyo” is stored in the kanji length register (1
The number of characters "1" and "3" are stored in the old Chinese character area (15b) and the current Chinese character length area (15a) of 5), respectively.
その後、主制御部(1)はカーソルアドレス部(6)に
格納されている位置情報に対応した位置より現漢字領域
(15a)に格納されている文字数分だけの情報をテキス
トメモリ(17)より読出し、待避バッファ(13)に格納
すると共にカーソルアドレス部(6)の内容を読出し先
頭位置レジスタ(14)に格納する(第3ステップ)。従
って、待避バッファ(13)には「京は渡」の3文字に対
応する情報が格納され、先頭位置レジスタ(14)には位
置情報(1,1)が格納される。After that, the main control unit (1) uses the text memory (17) to obtain information corresponding to the number of characters stored in the current Kanji area (15a) from the position corresponding to the position information stored in the cursor address unit (6). The contents of the cursor address part (6) are stored in the read start position register (14) while being read and stored in the save buffer (13) (third step). Therefore, the save buffer (13) stores the information corresponding to the three characters "Kyowa Watari", and the head position register (14) stores the position information (1,1).
次いで、主制御部(1)は、先頭位置レジスタ(14)に
格納された位置を先頭とするテキストメモリ(5)中の
領域に読みバッファ(9)の内容を書込むと共にカーソ
ルアドレス部(6)の内容を現漢字長領域(15a)に格
納された文字数分だけ増加させ、カーソルをCRT(4)
画面上右方向に移動させる(第4ステップ)。従って、
第4図に示す如くテキストメモリ(5)の内容は変更さ
れ、かつカーソルアドレス部(6)の内容即ちカーソル
位置も(1,4)に変更される。Next, the main control unit (1) writes the contents of the read buffer (9) into the area of the text memory (5) whose head is the position stored in the head position register (14) and the cursor address unit (6). ) Content is increased by the number of characters stored in the current Kanji length area (15a), and the cursor is moved to CRT (4)
Move to the right on the screen (4th step). Therefore,
As shown in FIG. 4, the contents of the text memory (5) are changed, and the contents of the cursor address portion (6), that is, the cursor position is also changed to (1,4).
その後、入力部(3)より変換キーが入力されると主制
御部(1)は変換部(11)において読みバッファ(9)
に格納されている読みに対応した漢字かな混り単語を辞
書部(8)より読出させ、斯る単語を変換文字バッファ
(10)に格納する(第5ステップ)。具体的には今、読
みバッファ(9)には「きょう」という読み方が格納さ
れているので、変換文字バッファ(10)には「京」「今
日」「経」等の単語が第5図に示す如く格納される。Then, when the conversion key is input from the input unit (3), the main control unit (1) causes the conversion unit (11) to read the reading buffer (9).
The kana-kana-mixed word corresponding to the reading stored in is read from the dictionary unit (8), and the word is stored in the converted character buffer (10) (fifth step). Specifically, since the reading buffer (9) now stores the reading "Kyo", words such as "Kyo", "Today", "Sutra" are shown in Fig. 5 in the conversion character buffer (10). Stored as shown.
次いで、主制御部(1)は待避バッファ(13)に格納さ
れている内容を先頭位置レジスタ(14)に格納されてい
る位置情報で示されるテキストメモリ(5)中の位置よ
り書込む(第6ステップ)。具体的には、今待避バッフ
ァ(16)に「京は渡」という文字列が格納され、先頭位
置レジスタ(14)には(1,1)という位置情報が格納さ
れているのでテキストメモリ(5)の内容は第3図
(a)に示す如き内容に戻る。Next, the main control unit (1) writes the contents stored in the save buffer (13) from the position in the text memory (5) indicated by the position information stored in the head position register (14) ( 6 steps). Specifically, since the character string "Kyo wa Wataru" is stored in the save buffer (16) and the position information (1,1) is stored in the head position register (14), the text memory (5 The contents of) are returned to those shown in FIG. 3 (a).
続いて、主制御部(1)は変換文字バッファ(10)の先
頭に格納されている単語を読み出し、斯る単語の構成文
字数を調べその文字数を漢字長レジスタ(15)の現漢字
長領域(15a)に格納すると共に上記単語を先頭位置レ
ジスタ(14)に格納されている位置情報で示されるテキ
ストメモリ(5)中の位置より書込み、その後カーソル
アドレス部(6)の内容を先頭位置レジスタ(14)の内
容に現漢字長領域(15a)の内容を加算した結果に換え
る(第7ステップ)。具体的には今、変換文字バッファ
(10)の先頭には単語「京」が格納されているので、テ
キストメモリ(5)中の内容は第6図に示す如くとな
り、また現漢字長領域(15a)の内容は「1」であり先
頭位置レジスタ(14)の内容は(1,1)であるのでカー
ソルアドレス部(6)の内容は(1,2)となり、従っ
て、CRT(4)上の(1,2)位置にカーソルが表示され
る。Then, the main control unit (1) reads out the word stored at the head of the conversion character buffer (10), checks the number of constituent characters of such word, and determines the number of characters in the current Kanji length area (of the Kanji length register (15) ( 15a) and the word is written from the position in the text memory (5) indicated by the position information stored in the head position register (14), and then the contents of the cursor address portion (6) are written in the head position register (6). The contents of the current Chinese character length area (15a) are added to the contents of 14) to replace the result (seventh step). Specifically, since the word "Kyo" is stored at the beginning of the conversion character buffer (10), the contents in the text memory (5) are as shown in FIG. 6, and the current Kanji length area ( Since the content of 15a) is "1" and the content of the head position register (14) is (1,1), the content of the cursor address part (6) is (1,2), and therefore, on the CRT (4). The cursor is displayed at the (1,2) position of.
その後、入力部(3)より続けて変換キーが入力される
と、上記第6、第7ステップと同様の処理が繰返される
こととなるが、変換文字バッファ(10)からは前の変換
キー入力時に読出された単語の次位置に格納されている
単語が読出されることとなる(第8ステップ)。従っ
て、変換文字バッファ(10)より単語「京」の次位置に
格納されている単語「今日」がテキストメモリ(5)中
の(1,1)を先頭とする位置に書込まれると共に、現漢
字長領域(15a)及びカーソルアドレス部(6)の内容
は夫々「2」及び(1,3)となる。従って、CRT(4)上
は第7図に示す如き表示となる。After that, when the conversion key is continuously input from the input unit (3), the same processing as in the sixth and seventh steps is repeated, but the previous conversion key is input from the conversion character buffer (10). The word stored at the position next to the word that has been read at some time is read (8th step). Therefore, the word "today" stored at the next position of the word "Kyo" from the conversion character buffer (10) is written to the position starting from (1,1) in the text memory (5), and the current The contents of the Chinese character length area (15a) and the cursor address portion (6) are "2" and (1,3), respectively. Therefore, the display on the CRT (4) is as shown in FIG.
以後、変換キーが連続して入力されるたびに、上記第8
ステップの処理が繰返され、変換文字バッファ(10)中
の単語が順次テキストメモリ(5)中に書込まれ、CRT
(4)上に表示されることとなる。After that, every time the conversion key is continuously input, the
The steps are repeated so that the words in the conversion character buffer (10) are sequentially written into the text memory (5) and the CRT
(4) will be displayed above.
上記第8ステップ終了後、変換キー以外のキーが入力部
(3)より入力されると、第8ステップで選択された単
語が確定されるように処理が行われる。即ち、主制御部
(1)はまず現漢字長領域(15a)と旧漢字長領域(15
b)との内容を比較し、現漢字長領域(15a)の内容が大
であると判断すると後述の挿入動作を行なうように編集
処理部(16)に指示を与え、また旧漢字長領域(15b)
の内容が大であると判断すると後述の削除動作を行なう
ように編集処理部(16)に指示を与え、動作は終了する
(第9ステップ)。After the completion of the eighth step, when a key other than the conversion key is input from the input section (3), the process is performed so that the word selected in the eighth step is confirmed. That is, the main control unit (1) first determines the current kanji length area (15a) and the old kanji length area (15a).
When comparing the contents with b) and judging that the contents of the current kanji length area (15a) are large, the edit processing part (16) is instructed to perform the inserting operation described later, and the old kanji length area ( 15b)
If it is determined that the content of the item is large, the editing processing section (16) is instructed to perform the deleting operation described later, and the operation ends (step 9).
i) 挿入動作 まず、編集処理部(16)は第6ステップと同様にして待
避バッファ(13)中の内容をテキストメモリ(5)内に
書込み、その後、先頭位置レジスタ(14)の内容で示さ
れるテキストメモリ(5)中の位置以降にある各文字に
対応した情報を現漢字長領域(15a)の内容と旧漢字長
領域(15b)の内容との差分だけ右方向へシフトさせ、
次いで上記第8ステップにおいて変換文字バッファ(1
0)より読出された単語をその先頭文字に修飾情報を付
加し、再び先頭位置レジスタ(14)に格納されている位
置を先頭とするテキストメモリ(5)中の位置に書込
む。i) Inserting operation First, the edit processing unit (16) writes the contents of the save buffer (13) into the text memory (5) in the same manner as in the sixth step, and thereafter, indicates the contents of the start position register (14). The information corresponding to each character after the position in the text memory (5) is shifted to the right by the difference between the contents of the current Kanji length area (15a) and the contents of the old Kanji length area (15b),
Next, in the above eighth step, the conversion character buffer (1
The word read from 0) is added with the modification information to the head character, and the word is written again to the position in the text memory (5) whose head is the position stored in the head position register (14).
更に、上記処理部(16)は先頭位置レジスタ(14)の内
容と同一の内容が格納されている漢字読み登録部(12)
の位置領域と対応する表示情報領域に上記単語を書込む
と共に他の漢字読み登録部(12)の位置領域に格納され
ている位置情報のうち先頭位置レジスタ(14)に格納さ
れている位置情報より大のものを上記差分だけ増加させ
る。Further, the processing section (16) has a Kanji reading registration section (12) in which the same content as the content of the head position register (14) is stored.
The position information stored in the head position register (14) among the position information stored in the position area of the other Kanji reading registration unit (12) while writing the word in the display information area corresponding to the position area of The larger one is increased by the above difference.
具体的には、今、第8ステップ終了後、CRT(4)上に
は第7図に示す如く表示される状態にあるとすると、上
記挿入動作によりテキストメモリ(5)内の(1,1)〜
(1,12)位置には「今日は渡しの誕生日です」という文
書に対応する情報が格納されることとなるので、CRT
(5)上での表示は第8図(a)に示す様になる。ま
た、漢字読み登録部(12)の内容は第8図(b)に示す
ように変更される。Specifically, assuming that the CRT (4) is displayed as shown in FIG. 7 after the end of the eighth step, the insertion operation causes (1,1 in the text memory (5) to be displayed. ) ~
Since the information corresponding to the document "Today is my birthday" is stored in the (1,12) position, the CRT
(5) The display above is as shown in FIG. 8 (a). The contents of the Kanji reading registration section (12) are changed as shown in FIG. 8 (b).
ii) 削除動作 まず、編集処理部(16)は第6ステップと同様にして待
避バッファ(13)中の内容をテキストメモリ(5)内に
書込み、その後、先頭位置レジスタ(14)の内容で示さ
れるテキストメモリ(5)中の位置から、旧漢字長領域
(15b)の内容と現漢字長領域(15a)の内容との差分だ
けの文字に対応する情報を削除し、次いで上記第8ステ
ップにおいて変換文字バッファ(10)より読出された単
語をその先頭文字に修飾情報を付加し、再び先頭位置レ
ジスタ(14)に格納されている位置を先頭とするテキス
トメモリ(5)中の位置に書込む。更に、上記処理部
(16)は先頭位置レジスタ(14)の内容と同一の内容が
格納されている漢字読み登録部(12)の位置領域と対応
する表示情報領域に上記単語を書込むと共に他の漢字読
み登録部(12)の位置領域に格納されている位置情報の
うち先頭位置レジスタ(14)に格納されている位置情報
より大のものを上記差分だけ減じる。ii) Deletion operation First, the edit processing unit (16) writes the contents of the save buffer (13) into the text memory (5) in the same manner as in the sixth step, and thereafter, the contents of the start position register (14) indicate it. From the position in the text memory (5) to be deleted, the information corresponding to the characters corresponding to only the difference between the contents of the old kanji length area (15b) and the contents of the current kanji length area (15a) is deleted, and then in the above eighth step. The word read from the conversion character buffer (10) is added to the leading character with modification information, and the word is written again to the position in the text memory (5) whose head is the position stored in the head position register (14). . Further, the processing section (16) writes the word in the display information area corresponding to the position area of the Kanji reading registration section (12) in which the same content as the content of the head position register (14) is stored and Of the position information stored in the position area of the Chinese character reading registration unit (12), which is larger than the position information stored in the head position register (14), the difference is reduced by the above difference.
具体的には、今、第8図(a)に示される如き状態にお
いて、上記第1〜第8ステップの処理がなされ、読み
「わたし」に対する単語「私」が第9図(a)に示す如
くCRT(4)上に表示されるようにテキストメモリ
(5)中に格納されたとすると、このとき先頭位置レジ
スタ(14)、現漢字長領域(15a)、旧漢字長領域(15
b)の内容は夫々(1,4)、「1」、「2」となるため、
上記削除動作が実行され、その結果テキストメモリ
(5)内の(1,1)〜(1,11)位置には「今日は私の誕
生日です」という文書に対応する情報が格納されること
となる。従って、CRT(4)上での表示は第9図(a)
に示す様になり、また漢字読み登録部(12)の内容は第
9図(b)に示すように変更される。Specifically, in the state as shown in FIG. 8 (a), the processes of the first to eighth steps are now performed, and the word "I" for the reading "I" is shown in FIG. 9 (a). If it is stored in the text memory (5) so as to be displayed on the CRT (4) as described above, at this time, the start position register (14), the current kanji length area (15a), the old kanji length area (15)
The contents of b) are (1,4), "1", and "2", respectively.
The deletion operation is executed, and as a result, the information corresponding to the document "Today is my birthday" is stored in the positions (1,1) to (1,11) in the text memory (5). Becomes Therefore, the display on the CRT (4) is shown in Fig. 9 (a).
In addition, the contents of the Kanji reading registration section (12) are changed as shown in FIG. 9 (b).
尚、本実施例では第8ステップの処理終了後変換キー以
外のキーが入力されると第9ステップ処理後、動作を終
了させる構成としたが、第8ステップの処理終了後、変
換キー以外の特定のキー、例えば再変換キー、カーソル
移動キー等が入力されると第9ステップ処理後、第1ス
テップに戻るように構成しても良い。In the present embodiment, when a key other than the conversion key is input after the processing of the eighth step is finished, the operation is ended after the processing of the ninth step. When a specific key such as a re-conversion key or a cursor movement key is input, the process may be returned to the first step after the ninth step.
(ト) 発明の効果 本発明によれば、再変換の単語の検索が、テキストメモ
リ内を検索することにより行われるので、処理が迅速に
行われる。更に、カーソル位置に応じて、再変換の単語
を検索することができる。(G) Effect of the Invention According to the present invention, the re-converted word is searched by searching the text memory, so that the process is performed quickly. Furthermore, the reconverted word can be searched according to the cursor position.
第1図は本発明の実施例を示すブロツク図、第2図、第
3図(b)、第8図(b)及び第9図(b)は本実施例
における漢字読み登録部の格納内容を説明するための模
式図、第3図(a)、第4図、第6図、第7図、第8図
(a)及び第9図(a)は本実施例のCRT上での表示状
態を示す模式図、第5図は本実施例の変換文字バツフア
の格納内容を示す模式図である。 (5)……聞テキストメモリ、(6)……カーソルアド
レス部、(17)……テキストサーチ部。FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2, FIG. 3 (b), FIG. 8 (b) and FIG. 9 (b) are the stored contents of the Kanji reading registration unit in this embodiment. 3A, FIG. 4, FIG. 6, FIG. 7, FIG. 8, FIG. 8A, and FIG. 9A are schematic diagrams for explaining the display on the CRT of this embodiment. FIG. 5 is a schematic diagram showing the state, and FIG. 5 is a schematic diagram showing the stored contents of the converted character buffer of this embodiment. (5) ... text memory, (6) ... cursor address part, (17) ... text search part.
───────────────────────────────────────────────────── フロントページの続き (72)発明者 長沢 喜美男 大阪府守口市京阪本通2丁目18番地 三洋 電機株式会社内 (72)発明者 久保田 順一郎 大阪府守口市京阪本通2丁目18番地 三洋 電機株式会社内 (56)参考文献 特開 昭60−103432(JP,A) ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Kimio Nagasawa 2-18 Keihan Hondori, Moriguchi City, Osaka Sanyo Electric Co., Ltd. (72) Junichiro Kubota 2-Chome Keihan Hondori, Moriguchi, Osaka Sanyo Electric Incorporated (56) References JP-A-60-103432 (JP, A)
Claims (2)
換するために、単語の先頭を検索する単語検索装置にお
いて、 先頭文字が漢字であるとき、この先頭文字に修飾情報が
付加された単語を含む複数の単語より構成される既作成
文書が格納されたテキストメモリと、 該テキストメモリ中での対応カーソル位置が格納された
カーソルアドレス部と、 上記テキストメモリ中の上記カーソルアドレス部の内容
で示されるカーソル位置に近い位置に存在する上記修飾
情報が付加された漢字の位置を検索するテキストサーチ
部と を備えることを特徴とする単語検索装置。1. A word search device for searching the beginning of a word in order to re-convert a once-determined kanji-kana mixed word, when the first character is a kanji, the word to which modifier information is added to the first character. A text memory in which a prepared document composed of a plurality of words including is stored, a cursor address portion in which the corresponding cursor position in the text memory is stored, and contents of the cursor address portion in the text memory. And a text search unit for searching the position of the Chinese character to which the modification information is added, which is located near the cursor position shown.
置以降に存在し、かつ該カーソルに最も近い位置に存在
する前記修飾情報が付加された漢字の位置を検索するこ
とを特徴とする請求項1の単語検索装置。2. The text search unit searches a position of a Chinese character to which the modification information is added, which is located after the cursor position and is located closest to the cursor. Word search device.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62096462A JPH0713820B2 (en) | 1987-04-20 | 1987-04-20 | Word search device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62096462A JPH0713820B2 (en) | 1987-04-20 | 1987-04-20 | Word search device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS63262748A JPS63262748A (en) | 1988-10-31 |
| JPH0713820B2 true JPH0713820B2 (en) | 1995-02-15 |
Family
ID=14165696
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP62096462A Expired - Fee Related JPH0713820B2 (en) | 1987-04-20 | 1987-04-20 | Word search device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0713820B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1041356C (en) * | 1992-03-24 | 1998-12-23 | 松下电器产业株式会社 | Device for digital search |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS60103432A (en) * | 1983-11-11 | 1985-06-07 | Canon Inc | character processing device |
-
1987
- 1987-04-20 JP JP62096462A patent/JPH0713820B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPS63262748A (en) | 1988-10-31 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH0541997B2 (en) | ||
| JPS5913771B2 (en) | Editing display method of display device | |
| JPS645344B2 (en) | ||
| JPH0713820B2 (en) | Word search device | |
| JP2579764B2 (en) | Kana-Kanji conversion device | |
| JPS60221866A (en) | Document editing processing device | |
| JPS6010348B2 (en) | Automatic conversion method for half-width and full-width characters | |
| JP3350936B2 (en) | Document creation device and document creation method | |
| JPS59116691A (en) | document creation device | |
| JPS60245075A (en) | Automatic agate display system | |
| JPS62156767A (en) | Word processor with memo function | |
| JPS62119665A (en) | Word processor | |
| JPH05158929A (en) | Document processor | |
| JP2504867B2 (en) | Display method in text processing device | |
| JPH0749851A (en) | Document shaping device | |
| JPH01149162A (en) | System for controlling syllable hyphen display and non-display | |
| JPS6238970A (en) | Documentation device | |
| JPH0798698A (en) | Document processor | |
| JPH0555910B2 (en) | ||
| JPH04108254U (en) | document creation device | |
| JPH0683874A (en) | Ebook player | |
| JPH02255954A (en) | Word processor | |
| JPH01309168A (en) | document creation device | |
| JPS6336365A (en) | Japanese language processor | |
| JPH0628062B2 (en) | Character processing apparatus and method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |