JP3017095B2 - External character registration management method - Google Patents
External character registration management methodInfo
- Publication number
- JP3017095B2 JP3017095B2 JP8212485A JP21248596A JP3017095B2 JP 3017095 B2 JP3017095 B2 JP 3017095B2 JP 8212485 A JP8212485 A JP 8212485A JP 21248596 A JP21248596 A JP 21248596A JP 3017095 B2 JP3017095 B2 JP 3017095B2
- Authority
- JP
- Japan
- Prior art keywords
- external character
- list
- code
- chain information
- external
- 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
- 238000007726 management method Methods 0.000 title claims description 87
- 238000000034 method Methods 0.000 claims description 7
- 230000006870 function Effects 0.000 description 6
- 238000012217 deletion Methods 0.000 description 4
- 230000037430 deletion Effects 0.000 description 4
- 240000000220 Panda oleosa Species 0.000 description 2
- 235000016496 Panda oleosa Nutrition 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 239000000284 extract Substances 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
Landscapes
- Document Processing Apparatus (AREA)
Description
【0001】[0001]
【発明の属する技術分野】本発明は外字登録機能を有す
るコンピュータ装置を制御する日本語システムにおける
外字登録管理方式に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an external character registration management system in a Japanese system for controlling a computer having an external character registration function.
【0002】[0002]
【従来の技術】従来、この種の外字登録管理方式は既登
録文字パターンの検索を短時間で容易に行なう為、また
既登録文字パターンの使用頻度を考慮して外字パターン
要求により本体への無駄なアクセスをなくし時間的なロ
スを少なくする為に用いられている。2. Description of the Related Art Conventionally, this type of external character registration management system is used for searching for a registered character pattern in a short time and easily. It is used to eliminate unnecessary access and reduce time loss.
【0003】従来の外字登録管理方式の一例が、特開昭
60−27926号公報及び特開平4−330557号
公報に記載されている。One example of a conventional external character registration management system is described in Japanese Patent Application Laid-Open Nos. 60-27926 and 4-330557.
【0004】特開平4−330557号公報に記載され
た外字登録管理方式は、特に地方自治体の住民登録時等
における外字の登録の多さから、より簡単な外字辞書が
求められ、そのために所定の規格に応じた標準文字と登
録された外字とを使用可能に構成されたコンピュータシ
ステムが示されている。本システムは、外字の読み、区
点コード、類似する標準文字に関するデータ等を保管す
る辞書ファイルと、該辞書ファイルに上記データを入力
する手段と、上記辞書ファイル内のデータを検索して検
索結果を出力する手段と、所望により上記外字を上記類
似する標準文字に変換する手段とを具備し、既登録外字
を読みなどによって容易に検索することができ、必要に
応じて外字を類似する標準文字に変換して外部システム
にそのデータを供給することが開示されている。In the external character registration management system described in Japanese Patent Application Laid-Open No. Hei 4-330557, a simpler external character dictionary is required, especially because of the large number of external characters registered at the time of local government resident registration. 1 shows a computer system configured to be able to use standard characters according to a standard and registered external characters. The system includes a dictionary file for storing external character readings, punctuation codes, data relating to similar standard characters, a means for inputting the data into the dictionary file, and a search result obtained by searching data in the dictionary file. And a means for converting the external character to the similar standard character if desired. The registered external character can be easily searched by reading or the like, and if necessary, the standard character similar to the external character can be obtained. And supplying the data to an external system.
【0005】また、特開昭60−27926号公報に記
載された外字登録管理方式は、比較的簡単なロジックで
既登録文字パターンの使用頻度を考慮することにより、
外字パターン要求で本体への無駄なアクセスをなくし、
時間的なロスを少なくする端末装置の外字管理方式を提
供することを目的とし、外字コード及びそのコードに対
応する外字パターンが収納される外字メモリを有し、本
体に対し発せられる外字パターンの要求により該当パタ
ーンを送り出し、外字パターンの抹消順位を管理するこ
とによって上記外字メモリの内容を更新して所望の登録
パターンを得る端末装置において、次に、抹消すべき外
字パターンの登録番号が設定されるレジスタと、抹消順
位の最も高い外字パターンが特殊コードで示され、この
抹消のため頻度順に登録番号が設定されるチェーンメモ
リと、このチェーンメモリを参照することにより特殊コ
ードが格納されている位置を検索し、その内容を現在使
用した外字パターンの登録番号に変更し、同時に変更し
た番号に対応するチェーンメモリの内容を特殊コードに
更新する手段を具備し、既登録の外字パターンが使用さ
れる都度、上記手段により抹消順位のメンテナンスを行
うことを特徴とし、本体へのアクセスを要する無駄な文
字パターン要求がなくなり、時間的ロスを少なくするこ
とができることを開示している。こうして、既登録の外
字パターンが使用されるたびにその外字パターンを抹消
順位の最下位に位置させる如く抹消順位のメンテナンス
を行なっていた。The external character registration management system described in Japanese Patent Application Laid-Open No. 60-27926 discloses a comparatively simple logic which takes into account the frequency of use of a registered character pattern.
Eliminate unnecessary access to the main unit with external character pattern requests,
An object of the present invention is to provide an external character management method for a terminal device that reduces a time loss, has an external character memory in which an external character code and an external character pattern corresponding to the code are stored, and requests an external character pattern issued to the main body. In the terminal device which sends out the corresponding pattern and manages the deletion order of the external character pattern and updates the contents of the external character memory to obtain a desired registration pattern, the registration number of the external character pattern to be deleted is set next. The register and the external character pattern having the highest erasure order are indicated by a special code, a chain memory in which registration numbers are set in order of frequency for erasure, and a position where the special code is stored by referring to the chain memory. Search and change the content to the registration number of the currently used external character pattern, and at the same time correspond to the changed number A means for updating the contents of the chain memory to a special code, and performing the maintenance of the deletion order by the above means each time a registered external character pattern is used, and a useless character pattern request requiring access to the main body. And that time loss can be reduced. In this way, every time a registered external character pattern is used, the deletion order is maintained so that the external character pattern is positioned at the bottom of the deletion order.
【0006】[0006]
【発明が解決しようとする課題】しかしながら、使用頻
度の高い外字パターンの検索処理時間も使用頻度の低い
外字パターンの検索処理時間も一定であるという問題点
がある。というのは、従来の外字登録管理方式では使用
頻度の高さについて何ら考慮されていないためである。However, there is a problem that the search processing time for a frequently used external character pattern and the search processing time for an infrequently used external character pattern are constant. The reason is that the conventional external character registration management system does not consider the frequency of use at all.
【0007】〔発明の目的〕本発明の目的は、使用頻度
の高い外字パターンを高速に検索できる外字登録管理方
式を提供することである。SUMMARY OF THE INVENTION It is an object of the present invention to provide an external character registration management system capable of retrieving a frequently used external character pattern at high speed.
【0008】[0008]
【課題を解決するための手段】本発明の外字登録管理方
法は外字コードを発見した場合、検索順番をチェーン化
した外字登録管理リストを検索する。According to the external character registration management method of the present invention, when an external character code is found, an external character registration management list in which a search order is chained is searched.
【0009】本発明の外字登録管理方法は、外字登録機
能を有するコンピュータ装置を制御する日本語システム
の外字登録管理方法において、チェイン情報を含む外字
登録管理リストを有し、入力されたデータから外字コー
ドを発見した場合、前記外字登録管理リストのうち前記
チェイン情報の先頭リストから検索を開始し、当該外字
コードを検出しない場合には前記チェイン情報に従って
順次検索し最後尾リストに至ったとき当該検索中の外字
コードを最後尾リストに置き換えて前記チェイン情報の
先頭リストとして登録し、前記外字コードを検出したと
きは当該外字コードを前記チェイン情報の先頭リストに
登録したことを特徴とする。The method for registering and managing external characters according to the present invention is a method for registering and managing external characters in a Japanese system for controlling a computer having an external character registration function. When a code is found, a search is started from the head list of the chain information in the external character registration management list, and when the character code is not detected, the search is sequentially performed according to the chain information, and the search is performed when a tail list is reached. The external character code in the middle is replaced with the last list and registered as the head list of the chain information. When the external character code is detected, the external character code is registered in the head list of the chain information.
【0010】また、本発明は、外字登録機能を有するコ
ンピュータ装置を制御する日本語システムの外字登録管
理方法において、チェイン情報を含む外字登録管理リス
トを記憶手段に格納し、入力されたデータから外字コー
ドを発見した場合、当該外字コードを前記外字登録管理
リストのうち前記チェイン情報の先頭リストの外字コー
ドから比較開始し、当該外字コードを検出しない場合に
は前記チェイン情報に従って順次比較し、最後尾リスト
に至ったときは当該検索中の外字コードを最後尾リスト
に前記チェイン情報の先頭リストとして登録し、前記外
字コードを検出したときは当該外字コードを前記チェイ
ン情報のリストから抜き取り前記チェイン情報の先頭リ
ストとして登録したことを特徴とする。また、この外字
登録管理方法において、前記チェイン情報には前へのリ
ストポインタと後のリストポインタとを含むことを特徴
とする。According to the present invention, in a method for managing and registering an external character in a Japanese system for controlling a computer having an external character registration function, an external character registration management list including chain information is stored in a storage means, and an external character is registered based on input data. When a code is found, the external character code is compared with the external character code in the head list of the chain information in the external character registration management list, and when the external character code is not detected, the external character code is sequentially compared according to the chain information, and the last character is compared. When the list is reached, the external character code being searched is registered in the last list as the head list of the chain information, and when the external character code is detected, the external character code is extracted from the list of the chain information, and the external character code is extracted from the chain information list. It is characterized by being registered as a head list. Further, in this external character registration management method, the chain information includes a preceding list pointer and a following list pointer.
【0011】より具体的には、外字登録管理リストを有
し、一番最近使用した外字コードの比較から開始する手
段と、外字コードが一致しない場合は外字登録管理リス
トの後へのポインタで指されているリストへと検索対象
を移動させる手段と、外字コードが一致した場合は、外
字登録リストの後へのポインタと前へのポインタを更新
する手段と検索した結果、最後まで外字コードが一致し
なかった場合は、外字登録リストの後へのポインタと前
へのポインタと外字コードを更新する手段を有する。一
番最近使用した外字から外字コードの比較を開始する手
段は使用頻度の高い外字コードの発見が早くなる。More specifically, there is provided a means for starting with comparison of the most recently used external character registration management list with an external character registration management list, and a pointer to the end of the external character registration management list when the external character codes do not match. Means to move the search target to the registered list and, if the external character code matches, means to update the pointer to the back and the pointer to the front of the external character registration list, and as a result of the search, If not, there is a means for updating the pointer to the back of the external character registration list, the pointer to the front, and the external character code. Means for starting the comparison of the external character code from the most recently used external character makes it easier to find a frequently used external character code.
【0012】外字コードが一致しない場合、外字登録管
理リストの後へのポインタが指しているリストへ検索対
象を移動させる手段は、使用頻度の高い外字コードから
低い外字コードへ検索対象を移動させていくことができ
る。When the external character codes do not match, the means for moving the search target to the list pointed to by the pointer after the external character registration management list is to move the search target from the frequently used external character code to the low external code. I can go.
【0013】外字コードが一致した場合、外字登録リス
トの後へのポインタと前へのポインタを更新する手段
は、使用頻度の高い外字コードから低い外字コードへ検
索できるチェーンを作成することができる。When the external character codes match, the means for updating the pointer to the back and the pointer to the front of the external character registration list can create a chain that can be searched from the frequently used external character codes to the low external character codes.
【0014】検索した結果、最後まで外字コードが一致
しなかった場合、外字登録リストの後へのポインタと前
へのポインタと外字コードを更新する手段は、使用頻度
の一番低い外字コードを削除して登録されていなかった
外字コードを新規に登録することができる。If the external character codes do not match up to the end as a result of the search, the means for updating the pointer to the back of the external character registration list, the pointer to the front of the external character registration list, and the external character codes deletes the least frequently used external character codes. An external character code that has not been registered can be newly registered.
【0015】[0015]
[第1実施形態]次に本発明の実施の形態について図面
を参照して詳細に説明する。図1は、本実施形態のコン
ピュータシステムの構成を示すもので、1はCRTなど
の表示装置、2はキーボード、マウス等の入力装置、3
は印字出力するプリンタ、4はCPU等から構成された
例えばJIS規格に応じた標準文字を処理する機能及び
外字を登録・処理する機能を有する主制御装置である。
また、5は頻繁に使用するデータやアプリケーションプ
ログラム等を記憶するROM、RAM等の記憶手段であ
り、6は外字辞書ファイルや漢字辞書等を記憶するハー
ドディスクやフロッピーディスク、光磁気ディスク等の
磁気ディスクである。主制御装置4には、外字辞書ファ
イルを管理する外字辞書管理部が備えられていてもよ
く、上記外字辞書ファイルは、登録された外字の辞書を
構成するものであり、例えばレコード番号、読み、作り
(かな)、区点コード、類似JISコード、類似JIS
漢字、登録外字等から構成されるデータレコードが格納
されている。[First Embodiment] Next, an embodiment of the present invention will be described in detail with reference to the drawings. FIG. 1 shows a configuration of a computer system according to the present embodiment, wherein 1 is a display device such as a CRT, 2 is an input device such as a keyboard and a mouse, and 3
Reference numeral denotes a printer for printing out, and reference numeral 4 denotes a main control device having a function of processing standard characters conforming to, for example, JIS standards and a function of registering and processing external characters, which are constituted by a CPU or the like.
Reference numeral 5 denotes storage means such as a ROM and a RAM for storing frequently used data and application programs, etc., and reference numeral 6 denotes a hard disk, a floppy disk, and a magnetic disk such as a magneto-optical disk for storing an external character dictionary file or a kanji dictionary. It is. The main controller 4 may include an external character dictionary management unit that manages an external character dictionary file. The external character dictionary file constitutes a registered external character dictionary. Making (Kana), Kuten code, Similar JIS code, Similar JIS
A data record composed of kanji, registered external characters, and the like is stored.
【0016】図2は、本実施形態の外字登録管理リスト
105と検索に使用するメモリエリアを示す図である。
外字登録管理リスト105は1つの外字に対して、前へ
のポインタを格納しておく前ポインタエリア101と、
後へのポインタを格納しておく後ポインタエリア102
と、その外字コードを格納しておく外字コードエリア1
03を有するコード別管理リスト1041,1042,…
…104nを一定の外字個数分を備えている。また、1
06は入力装置から入力された外字コードであり、外字
コードエリア103の内の特徴点を示す特定のコードで
あってもよい。また、外字コードエリア103には、上
記例えばレコード番号、読み、作り(かな)、区点コー
ド、類似JISコード、類似JIS漢字、登録外字等か
ら構成されるデータレコードが格納されている。また、
コード別管理リスト1041,1042,……104nは
外字登録管理リスト105の各外字と対の関係を有し、
上記外字辞書管理部で管理しても良いし、外字登録管理
リスト105に含めて管理してもよい。また、外字登録
管理リスト105はコンピュータシステム内のハードデ
ィスクやフロッピーディスク等の磁気ディスクや外部記
憶装置に格納してもよいが、可能であれば、スピード応
答可能なRAM、キャッシュメモリ、フラッシュメモリ
等が好ましい。FIG. 2 is a diagram showing the external character registration management list 105 of this embodiment and a memory area used for searching.
The external character registration management list 105 includes a front pointer area 101 for storing a forward pointer for one external character,
Back pointer area 102 for storing a backward pointer
And the external character code area 1 for storing the external character code
.., 1042,...
.. 104n are provided for a fixed number of external characters. Also, 1
Reference numeral 06 denotes an external character code input from the input device, and may be a specific code indicating a characteristic point in the external character code area 103. The external character code area 103 stores data records including, for example, record numbers, readings, kana characters, punctuation codes, similar JIS codes, similar JIS kanji, registered external characters, and the like. Also,
Each of the code-based management lists 1041, 1042,... 104n has a paired relationship with each of the external characters in the external character registration management list 105.
The external character dictionary may be managed by the external character dictionary management unit or may be included in the external character registration management list 105 and managed. The external character registration management list 105 may be stored in a magnetic disk such as a hard disk or a floppy disk or an external storage device in the computer system. preferable.
【0017】前ポインタエリア101と後ポインタエリ
ア102に他の外字とのチェーン情報を書き込み、チェ
ーン構造となっている。また、最初に比較を開始するポ
インタを格納しておく先頭ポインタエリア100も備え
ている。The chain information of another external character is written in the front pointer area 101 and the rear pointer area 102 to form a chain structure. Further, a head pointer area 100 for storing a pointer for starting comparison first is also provided.
【0018】次に本発明の実施の形態の動作について、
図3を参照して詳細に説明する。入力装置2から入力さ
れた文字コードから外字コードを発見した(A1)場
合、先頭ポインタエリア100で指されているコード別
管理リスト1041,1042,……104nの外字コー
ドを発見した外字コードと比較し(A2)、ステップA
3で、両外字コードが一致した場合は、現在指している
コード別管理リスト104の前ポインタエリア101と
後ポインタエリア102とその後ポインタエリア102
が指すコード別管理リスト104の前ポインタエリア1
01と先頭ポインタエリア100が指すコード別管理リ
スト104の前ポインタエリア101を書き換え更新す
る(A6)。ステップA3で、外字コードが一致しなか
った場合は、そのコード別管理リスト104が最後尾の
リストか否かをチェックする(A4)。最後尾のリスト
であれば現在指しているコード別管理リスト104の前
ポインタエリア101、後ポインタエリア102、外字
コードエリア103と前ポインタエリア101が指して
いるコード別管理リスト104の後ポインタエリア10
2と先頭ポインタを指しているコード別管理リスト10
4の前ポインタエリア101を書き換え更新する(A
7,A8)。ステップA4で、最後尾リストでなかった
場合は、現在指しているコード別管理リスト104の後
ポイントエリア102が指しているコード別管理リスト
104へ移動し、外字コードを最後尾方向のコード別管
理リスト104の外字と比較(A5)する。Next, the operation of the embodiment of the present invention will be described.
This will be described in detail with reference to FIG. When an external character code is found from the character code input from the input device 2 (A1), the external character code of the code-specific management list 1041, 1042,... (A2), step A
3, if the two external character codes match, the front pointer area 101, the rear pointer area 102, and the
Previous pointer area 1 of code-specific management list 104 pointed to by
01 and the previous pointer area 101 of the code-specific management list 104 pointed to by the first pointer area 100 are rewritten and updated (A6). If the external character codes do not match in step A3, it is checked whether or not the code-based management list 104 is the last list (A4). If it is the last list, the front pointer area 101, the rear pointer area 102, the external character code area 103, and the rear pointer area 10 of the code-based management list 104 pointed to by the front pointer area 101 of the code-based management list 104 currently pointed to.
2 and a code-based management list 10 pointing to the start pointer
4 to rewrite and update the previous pointer area 101 (A
7, A8). If it is not the last list in step A4, the control moves to the code-based management list 104 pointed to by the point area 102 after the code-based management list 104 currently pointed, and manages the external character code in the last direction. Compare with the external character of list 104 (A5).
【0019】[具体的実施形態]次に、本実施形態の具
体的な動作を示す実施例について図4を参照して詳細に
説明する。現在、図4(A)のように、コード別管理リ
スト104として「1」に、外字登録管理リスト105
には前ポインタエリア101に”NULL”と、後ポイ
ンタエリア102に”2”と、外字コードエリア103
に”7422”となどと、先頭ポインタエリア100
に”1”が登録されている。また、コード別管理リスト
104には”1”〜”100”が登録されている。ま
ず、入力装置2から入力された文字コードから外字コー
ド“7435”を発見した場合、先頭ポインタエリア1
00で指されるコード別管理リスト104の”1”であ
る外字コードエリア103“7422”と比較する。こ
こで、一致しないので後ポインタエリア102が指して
いるコード別管理リスト104“2”にポインタを移動
し、そのコード別管理リスト104の外字コードエリア
103“7423”と比較する。この動作を繰り返すが
最後尾のコード別管理リスト104(後ポインタエリア
102が最後尾コードを示す”NULL”の場合)まで
一致しないので新規に登録する必要がある。この場合、
コード別管理リスト104が指す現在のポインタ”10
0”に指している前ポインタエリア101”99”が指
すコード別管理リスト104の後ポインタエリア102
に最後尾コード“NULL”を書き込む。この最後尾コ
ード“NULL”によって、検索できるコード別管理リ
スト104の最後のポインタであることが判断される。[Specific Embodiment] Next, an example showing a specific operation of the present embodiment will be described in detail with reference to FIG. At present, as shown in FIG. 4A, the code-based management list 104 is set to “1” and the external character registration management list 105
"NULL" in the front pointer area 101, "2" in the rear pointer area 102, and the external character code area 103
"7422" in the first pointer area 100
"1" is registered. Further, “1” to “100” are registered in the code-specific management list 104. First, when the external character code “7435” is found from the character code input from the input device 2, the first pointer area 1
A comparison is made with the external character code area 103 “7422” which is “1” in the code-specific management list 104 indicated by 00. Here, since they do not match, the pointer is moved to the code-based management list 104 “2” pointed to by the rear pointer area 102 and compared with the external character code area 103 “7423” of the code-based management list 104. This operation is repeated, but it does not match up to the last code-based management list 104 (when the rear pointer area 102 is “NULL” indicating the last code), so it is necessary to newly register it. in this case,
The current pointer “10” pointed by the code-specific management list 104
Code pointer management list 104 pointed by the previous pointer area 101 pointed to “0” 101
Is written with the last code "NULL". Based on this last code “NULL”, it is determined that the pointer is the last pointer of the code-specific management list 104 that can be searched.
【0020】また、現在のポインタが指しているコード
別管理リスト104の外字コードエリア103に外字コ
ード“7435”、前ポインタエリア101に先頭コー
ドであることを指す“NULL”、後ポインタエリア1
02に先頭ポインタコードを指す”1”を書き込み、先
頭ポインタエリア100が指す”100”がコード別管
理リスト104の100番目を示すことにより、図3
(B)の外字登録管理リスト105になる。本動作によ
り外字コード“7435”が新規に登録され、次の外字
コードの発見時に一番最初に検索されることとなる。即
ち、この状態で、再び外字コード”7435”が入力さ
れた文字コードから発見された場合には、コード別管理
リスト104の100番目から検索が開始し、外字コー
ドエリア103の外字コード“7435”を最初に見つ
けだし、本検索が終了する。Further, in the external character code area 103 of the code-based management list 104 pointed to by the current pointer, the external character code “7435” is stored in the external character code area 103, “NULL” indicating the first code in the previous pointer area 101, and the rear pointer area 1.
2 by writing “1” indicating the head pointer code and “100” indicated by the head pointer area 100 indicating the 100th of the code-based management list 104.
The external character registration management list 105 shown in FIG. With this operation, the external character code “7455” is newly registered, and the external character code is searched first when the next external character code is found. That is, in this state, if the external character code “7435” is found again from the input character code, the search starts from the 100th in the code-specific management list 104, and the external character code “7435” in the external character code area 103. Is found first, and the search ends.
【0021】次に、入力された文字コード内から、外字
コード“7423”を発見した場合、先頭ポインタエリ
ア100で指されているコード別管理リスト104の外
字コードエリア103の“7435”と比較する。ここ
で、一致しないので後ポインタエリア102が指してい
るコード別管理リスト104“1”にポインタを移動
し、そのコード別管理リスト104の外字コードエリア
103の“7422”と比較する。この動作をもう1回
繰り返すと外字コード“7435”がコード別管理リス
ト104“2”の外字コードエリア103の“742
3”と一致する。この場合も外字コード“7423”が
格納されている記憶エリアを迅速に発見できる。一方、
図4(C)に示すように、発見された現在のポインタ
“2”が指しているコード別管理リスト104の前ポイ
ンタエリア101に”NULL”を書き込み、後ポイン
タエリア102には本外字コード“7423”を検索開
始したコード別管理リスト104の番号”100”を書
き込み、最初に検索を開始したコード別管理リスト10
4のポインタの”100”の前ポインタエリア101
を”NULL”から検索したコード別管理リスト104
のポインタの”2”に書き換え、更に検索したコード別
管理リスト104のポインタの”2”を指していたポイ
ンタ”1”の後ポインタエリア102の内容を検索した
コード別管理リスト104のポインタの”2”の次のポ
インタ”3”を指す”3”に書き換え、検索したコード
別管理リスト104のポインタの”2”の次に位置して
いたポインタ”3”の前ポインタエリア101を”2”
から”1”に書き換える。こうして、現在指しているコ
ード別管理リスト104の前ポインタエリア101に先
頭コード“NULL”を、後ポインタエリア102に先
頭ポインタコード“100”を書き、先頭ポインタエリ
ア100の”100”が指しているコード別管理リスト
104の前ポインタエリア101に”2”を、先頭ポイ
ンタエリア100に現在のポインタコード”2”を書き
込む。この結果、図4(C)に示す外字登録管理リスト
105になる。本動作により外字コード“7423”が
次の外字発見時に一番最初に検索され、次に1つ前に発
見された外字コード“7435”が検索されることとな
る。Next, when the external character code “7423” is found from the input character code, it is compared with “7435” of the external character code area 103 of the code-specific management list 104 pointed to by the first pointer area 100. . Here, since they do not match, the pointer is moved to the code-based management list 104 “1” pointed to by the subsequent pointer area 102 and is compared with “7422” in the external character code area 103 of the code-based management list 104. When this operation is repeated one more time, the external character code “7435” becomes “742” in the external character code area 103 of the code-specific management list 104 “2”.
3 ". In this case as well, the storage area storing the external character code" 7423 "can be found quickly.
As shown in FIG. 4C, “NULL” is written in the front pointer area 101 of the code-based management list 104 pointed to by the found current pointer “2”, and the external character code “ 7423, the number "100" of the code-based management list 104 for which the search was started was written, and the code-based management list 10 for which the search was started first.
Pointer area 101 before “100” of pointer 4
List 104 by code retrieved from "NULL"
After rewriting the pointer "2" of the pointer "2" of the retrieved code-based management list 104 to the pointer "2", the content of the pointer area 102 of the retrieved pointer "102" of the pointer "2" of the retrieved code-based management list 104 is rewritten. The pointer "3" indicating the pointer "3" next to the pointer "3" after the pointer "3" is rewritten to "3" indicating the pointer "3" located next to the pointer "2" in the searched management list 104 by code.
From "1" to "1". In this way, the head code “NULL” is written in the front pointer area 101 and the head pointer code “100” is written in the rear pointer area 102 of the code-specific management list 104 currently pointed to, and “100” of the head pointer area 100 is pointed to. “2” is written in the previous pointer area 101 of the code-specific management list 104, and the current pointer code “2” is written in the head pointer area 100. As a result, the external character registration management list 105 shown in FIG. By this operation, the external character code "7423" is searched first when the next external character is found, and then the external character code "7435" found immediately before is searched.
【0022】〔第2実施形態〕本発明による第2の実施
形態として、図面を参照しつつ説明する。本実施形態に
よるハードウェア的構成は、第1の実施形態と同様なの
で説明を省略する。本実施形態による発明の目的は、外
字登録機能を有する装置を制御する日本語処理システム
において、外字の登録状況を簡便に管理でき、利用頻度
の高い外字を高速に検索できるようにする。[Second Embodiment] A second embodiment of the present invention will be described with reference to the drawings. The hardware configuration according to the present embodiment is the same as that of the first embodiment, and a description thereof will be omitted. An object of the invention according to the present embodiment is to enable a user to easily manage the registration status of an external character in a Japanese-language processing system that controls a device having an external character registration function, and to search for a frequently used external character at high speed.
【0023】すなわち、コンピュータシステムに登録し
た外字の情報を格納するために、リスト構造の構造体
(外字登録管理リスト)を作成し、使用順位のチェイン
情報を組み込んでいる。入力された文字コード、データ
のうち、外字コードがシステムに登録済であるか調べる
際に、このチェイン情報に従って、最近使用したものか
ら検索する手順を設けている。That is, in order to store information on external characters registered in the computer system, a list-structured structure (external character registration management list) is created, and the use order chain information is incorporated. When checking whether the external character code has been registered in the system among the input character codes and data, a procedure is provided for searching the most recently used character according to the chain information.
【0024】図5に本外字コードの登録及び検索手順を
示すフローチャートを示す。データ中に外字コードを発
見したとき(A11)、外字辞書管理部4aはシステム
内部の外字辞書ファイル5の外字用記憶部に目的の外字
パターンが登録されているか調べるために、外字登録管
理リスト105の外字コードを検索する(A13)が、
このとき先頭リストから、すなわち、一番最近使用した
外字コードから比較を開始する(A12)。外字登録管
理リスト105に登録されている外字コードと検索目的
の外字コードが一致しない場合は(A13)、外字登録
管理リスト105の後へのポインタで指されるリストへ
と検索の対象を移動させる(A15)。次々と検索を進
めてゆき、最後尾の管理リストまで終了しても(A1
4)、目的の外字コードが登録されていなかった場合
は、新規登録となり、今まで最後尾のリストに記録され
ていた外字コードを削除して目的の外字コードに書き換
え(A17)、これを先頭リストの前に挿入する(A1
8)。外字登録管理リスト105に目的の外字コードが
登録されているときは(A13)、そのリストを抜き取
り(A16)、先頭リストの前に挿入する(A18)。
こうして、直近の外字コードが先頭リストに登録され、
外字コードの検索が開始されるときには一番最初に外字
コードが一致するのか否かの判断がなされる。FIG. 5 is a flowchart showing a procedure for registering and retrieving the external character code. When an external character code is found in the data (A11), the external character dictionary management unit 4a checks the external character registration management list 105 to check whether the target external character pattern is registered in the external character storage unit of the external character dictionary file 5 in the system. (A13) is searched for the external character code of
At this time, the comparison is started from the leading list, that is, from the most recently used external character code (A12). If the external character code registered in the external character registration management list 105 does not match the external character code to be searched (A13), the search target is moved to the list pointed to by the pointer after the external character registration management list 105. (A15). The search proceeds one after another, and even if the search ends at the last management list (A1
4) If the target external character code has not been registered, it is newly registered, and the external character code recorded in the last list is deleted and replaced with the target external character code (A17). Insert before list (A1
8). If the target external character code is registered in the external character registration management list 105 (A13), the list is extracted (A16) and inserted before the head list (A18).
In this way, the latest external character code is registered in the top list,
When the search for the external character code is started, it is first determined whether or not the external character code matches.
【0025】次に、上記フローチャートの流れを具体的
に説明する。内容的には上述の図4と同様である。例え
ば、現在図4(A)のように登録されており、入力され
た文字コード、データのうち外字コード“7435”を
発見したとする(A11)。先頭ポインタで指されるリ
スト1から、後へのポインタ”2”〜”100”をたど
って最後尾のリスト100まで検索する(A12→A1
3→A14→A15)が、外字コードが一致しないの
で、リスト100の外字コードを“74A3”から“7
435”に書き換え(A17)、最後尾リスト100と
その前のリスト99および先頭リスト1のチェイン情報
を図4(B)のように書き換える。このことによって、
新規に登録したリスト100が先頭リストとなる(A1
8)。Next, the flow of the above-mentioned flowchart will be specifically described. The contents are the same as those in FIG. For example, suppose that the character code is registered as shown in FIG. 4A and the external character code “7435” is found in the input character code and data (A11). From list 1 pointed to by the first pointer, search is performed by following pointers “2” to “100” to the last list 100 (A12 → A1).
3 → A14 → A15), since the external character codes do not match, the external character codes of the list 100 are changed from “74A3” to “7”.
435 "(A17), and the chain information of the last list 100, the preceding list 99 and the first list 1 is rewritten as shown in FIG. 4 (B).
The newly registered list 100 becomes the top list (A1
8).
【0026】次に、入力された文字コード、データのう
ち外字コード“7423”を発見したとする(A1
1)。先頭ポインタで指されているリスト100から、
後へのポインタをたどってリスト1、リスト2と検索し
たところで(A12→A13→A14→A15)、外字
コードが一致するので、図4(C)のようにリスト2の
前後のリスト(リスト1とリスト3)のチェイン情報を
つなげ、先頭リスト100とリスト2を書き換える。こ
れでリスト2の抜き取り(A16)と先頭への挿入(A
18)が実施されたこととなる。Next, it is assumed that an external character code "7423" is found in the input character code and data (A1).
1). From the list 100 pointed to by the head pointer,
When the pointers to the rear are traced to list 1 and list 2 (A12 → A13 → A14 → A15), since the external character codes match, the list before and after list 2 (list 1) as shown in FIG. And the chain information of the list 3), and the top list 100 and the list 2 are rewritten. This extracts list 2 (A16) and inserts it at the beginning (A
18) has been implemented.
【0027】以上のような操作の繰り返しにより、頻繁
に使用する外字は常に先頭付近にあり、逆に使用頻度の
少ない外字は後方に移動してゆくため、検索の効率が良
い。また、登録済の外字コードを、リストによって管理
するため、処理が煩雑にならず、わかりやすい。By repeating the above operations, frequently used external characters are always near the top, and on the other hand, infrequently used external characters move backward, thereby improving the efficiency of retrieval. Further, since the registered external character codes are managed in a list, the processing is not complicated and is easy to understand.
【0028】本実施形態ではコード別管理リスト104
の番号をリストnと簡単に記載したが、実質的に同一で
あり、該リストは外字登録管理リスト105と論理的に
は対の関係であるが、物理的には別の記録媒体であって
もよい。In the present embodiment, the code-based management list 104
Are simply described as a list n, but are substantially the same, and the list is logically paired with the external character registration management list 105, but is physically a different recording medium. Is also good.
【0029】[0029]
【発明の効果】本発明によれば、特に、外字登録管理リ
ストを有し、検索順番をチェーン化し、そのチェーン情
報を新規な外字コードを発見したときにその外字コード
のチェーンコードをトップに配し、たの外字コードのチ
ェーンコードも同時に更新することから、頻繁に使用す
る外字コードは常に検索順番の高い箇所に位置し、使用
頻度の少ない外字コードは検索順番の低い箇所に位置す
るということである。これにより外字の検索効率が良く
なる。According to the present invention, in particular, an external character registration management list is provided, a search order is chained, and when a new external character code is found, the chain code of the external character code is arranged at the top. However, since the external character code chain code is also updated at the same time, the frequently used external character codes are always located in the higher search order, and the less frequently used external character codes are located in the lower search order. It is. As a result, the external character search efficiency is improved.
【図1】本発明によるコンピュータシステムの構成ブロ
ック図である。FIG. 1 is a configuration block diagram of a computer system according to the present invention.
【図2】本発明の外字登録管理リストである。FIG. 2 is an external character registration management list of the present invention.
【図3】本発明の外字登録管理方式の流れ図である。FIG. 3 is a flowchart of an external character registration management system of the present invention.
【図4】本発明の一実施例の外字登録管理リストであ
る。FIG. 4 is an external character registration management list according to an embodiment of the present invention.
【図5】本発明による他の外字登録管理方式のフローチ
ャートである。FIG. 5 is a flowchart of another external character registration management system according to the present invention.
1 表示装置 2 入力装置 3 印刷装置 4 主制御装置 5 高速メモリ 6 磁気ディスク 100 先頭ポインタエリア 101 前ポインタエリア 102 後ポインタエリア 103 外字コードエリア 104 コード別管理リスト 105 外字登録管理リスト REFERENCE SIGNS LIST 1 display device 2 input device 3 printing device 4 main control device 5 high-speed memory 6 magnetic disk 100 start pointer area 101 front pointer area 102 rear pointer area 103 external character code area 104 code management list 105 external character registration management list
───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭57−103535(JP,A) 特開 平6−130933(JP,A) (58)調査した分野(Int.Cl.7,DB名) G06F 17/21 - 17/28 ──────────────────────────────────────────────────続 き Continuation of the front page (56) References JP-A-57-103535 (JP, A) JP-A-6-130933 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB name) G06F 17/21-17/28
Claims (3)
を制御する日本語システムの外字登録管理方法におい
て、 チェイン情報を含む外字登録管理リストを記憶手段に格
納し、入力されたデータから外字コードを発見した場
合、前記外字登録管理リストのうち前記チェイン情報の
先頭リストから前記外字コードの検索を開始し、前記検
索により当該外字コードを検出しない場合には前記チェ
イン情報に従って順次検索し最後尾リストに至ったとき
当該検索中の外字コードを最後尾リストに置き換えて前
記チェイン情報の先頭リストとして登録し、前記外字コ
ードを検出したときは当該外字コードを前記チェイン情
報の先頭リストに登録したことを特徴とする外字登録管
理方法。1. A method for registering and managing an external character in a Japanese system for controlling a computer having an external character registration function, wherein an external character registration management list including chain information is stored in storage means, and an external character code is found from input data. In the case, the search for the external character code is started from the head list of the chain information in the external character registration management list, and the search is performed.
If you do not detect the external character codes by chords external character codes in the search when reached sequentially searched last list in accordance with the chain information by replacing the tail list registered as the first list of the chain information, the external character A method for managing and registering an external character, wherein when the code is detected, the external character code is registered in a leading list of the chain information.
を制御する日本語システムの外字登録管理方法におい
て、 チェイン情報を含む外字登録管理リストを記憶手段に格
納し、入力されたデータから検索目的の外字コードを発
見した場合、当該検索目的の外字コードを前記外字登録
管理リストのうち前記チェイン情報の先頭リストの登録
されている外字コードから比較開始し、当該検索目的の
外字コードを検出しない場合には前記チェイン情報に従
って順次比較し、最後尾リストに至ったときは当該検索
目的の外字コードを最後尾リストに前記チェイン情報の
先頭リストとして登録し、前記検索目的の外字コードを
検出したときは当該登録されている外字コードを前記チ
ェイン情報のリストから抜き取り前記チェイン情報の先
頭リストとして登録することを特徴とする外字登録管理
方法。2. A external character in the external character registration management method of Japanese system for controlling a computer system having a registration function, external character registration management list stored in the storage means, external character code of the search object from the input data including chain information If found, the registration of the first list of the chain information of the external character code of the search objects the external character registration management list
The comparison starts from the external character code that has been set. If the external character code for the search purpose is not detected, the comparison is performed sequentially according to the chain information.
A target external character code is registered as a head list of the chain information in the last list, and when the external character code of the search purpose is detected, the registered external character code is extracted from the chain information list and the head of the chain information is extracted. An external character registration management method characterized by registering as a list.
法において、前記チェイン情報には前へのリストポイン
タと後へのリストポインタとを含むことを特徴とする外
字登録管理方法。3. The external character registration management method according to claim 1 or 2, the external character registration management method characterized by including a list pointers to and after the list pointer to before the chain information.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP8212485A JP3017095B2 (en) | 1996-08-12 | 1996-08-12 | External character registration management method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP8212485A JP3017095B2 (en) | 1996-08-12 | 1996-08-12 | External character registration management method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH1055354A JPH1055354A (en) | 1998-02-24 |
| JP3017095B2 true JP3017095B2 (en) | 2000-03-06 |
Family
ID=16623437
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP8212485A Expired - Fee Related JP3017095B2 (en) | 1996-08-12 | 1996-08-12 | External character registration management method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3017095B2 (en) |
-
1996
- 1996-08-12 JP JP8212485A patent/JP3017095B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH1055354A (en) | 1998-02-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6292808B1 (en) | Method and apparatus for reapplying changes to a database | |
| US5070478A (en) | Modifying text data to change features in a region of text | |
| US5530794A (en) | Method and system for handling text that includes paragraph delimiters of differing formats | |
| US5806076A (en) | Tracking dependencies between transactions in a database | |
| US7016908B2 (en) | File processing method, data processing apparatus and storage medium | |
| US5173854A (en) | Distributed text editing system with remote terminal transmits successive audit messages each identifying individual editing operation | |
| JPH06332610A (en) | Handwriting information input processing method | |
| US5317511A (en) | Method of finding definitions in computer source programs | |
| JP3017095B2 (en) | External character registration management method | |
| JPH07230451A (en) | Character input device | |
| JP3459049B2 (en) | Character string search method and device | |
| JPH096653A (en) | Information processing device for checking database | |
| US6801660B1 (en) | Method and system for maintaining alternates in association with recognized words | |
| JP2000250518A (en) | Character processing device, character data processing method, and storage medium | |
| JP2810893B2 (en) | Word dictionary search device | |
| JP2990312B2 (en) | Data access method and device | |
| Pramanik et al. | A data-handling mechanics of on-line text editing system with efficient secondary storage access | |
| JPH1166076A (en) | Data derivation device and method, and storage medium storing data derivation program | |
| JPH06130934A (en) | Vector Character Control Method for Character Generation System | |
| JP2000305954A (en) | Method for retrieving, updating, and storing data | |
| JPH10187699A (en) | Document processing apparatus and method | |
| JPH0668085A (en) | Document processor with annotation function | |
| JPS62119665A (en) | Word processor | |
| JPH07129576A (en) | Document processing device and its word dictionary | |
| JP2990625B2 (en) | Font cache control method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20071224 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20081224 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20091224 Year of fee payment: 10 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20091224 Year of fee payment: 10 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101224 Year of fee payment: 11 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101224 Year of fee payment: 11 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111224 Year of fee payment: 12 |
|
| S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313117 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111224 Year of fee payment: 12 |
|
| R371 | Transfer withdrawn |
Free format text: JAPANESE INTERMEDIATE CODE: R371 |
|
| S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313117 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111224 Year of fee payment: 12 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111224 Year of fee payment: 12 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121224 Year of fee payment: 13 |
|
| LAPS | Cancellation because of no payment of annual fees |