JPH07311763A - Font retrieval processor - Google Patents

Font retrieval processor

Info

Publication number
JPH07311763A
JPH07311763A JP6125699A JP12569994A JPH07311763A JP H07311763 A JPH07311763 A JP H07311763A JP 6125699 A JP6125699 A JP 6125699A JP 12569994 A JP12569994 A JP 12569994A JP H07311763 A JPH07311763 A JP H07311763A
Authority
JP
Japan
Prior art keywords
font
information
area
learning
character
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP6125699A
Other languages
Japanese (ja)
Other versions
JP2679627B2 (en
Inventor
拓朗 ▲高▼安
Takuro Takayasu
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.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP6125699A priority Critical patent/JP2679627B2/en
Publication of JPH07311763A publication Critical patent/JPH07311763A/en
Application granted granted Critical
Publication of JP2679627B2 publication Critical patent/JP2679627B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To effectively utilize learning information on a font which has been lost so far owing to an overflow of a learning information area on an internal memory. CONSTITUTION:A learning information restoration means 11 restores the learning information in a learning information saving area 33 to those in a learning information area 21. A 1st font retrieval means 12 retrieves a font in a learning font area 22 according to the learning information in the learning information area 21 and if the 1st font retrieval means 12 fails to retrieve the font, a 2nd font retrieval means 13 retrieves the font in an all-character-font area 32 according to character information in an all-character-information area 31 and stores learning information including cumulative use frequency information in the learning area 21, and also copies the least cumulative use frequency information in the learning information area 21 to the all-character-information area 31 and saves it. A learning information saving means 14 saves the leaning information in the learning information area 21 in a learning information saving area 33.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はフォント検索処理装置に
関し、特にフォント(文字イメージデータ)を高速に検
索するための学習機能を持つフォント検索処理装置に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a font search processor, and more particularly to a font search processor having a learning function for searching fonts (character image data) at high speed.

【0002】[0002]

【従来の技術】従来のフォント検索処理装置では、一般
に、内蔵メモリの方が外部記憶装置よりデータを読み取
る時間が短いため、できるだけ内蔵メモリ上にフォント
を常駐させておいた方が検索時間は短くなるが、内蔵メ
モリには容量的な制限があるため、すべてのフォントを
内蔵メモリ上に常駐させることはできなかった。このた
め、使用順位情報および累計使用頻度情報を用いた学習
機能が使われていた(ちなみに、フォント検索処理では
ないが、使用順位情報および累計使用頻度情報を用いた
学習機能を使う同音異議語の変換候補表示順位制御方法
が、特開昭63−136252号公報等により知られて
いる)。
2. Description of the Related Art In a conventional font search processing apparatus, generally, the time for reading data from an internal memory is shorter than that for an internal storage device. Therefore, it is shorter to search fonts on the internal memory as much as possible. However, due to the limited capacity of the internal memory, it was not possible to make all fonts resident in the internal memory. For this reason, the learning function using the usage order information and the cumulative usage frequency information was used (By the way, although it is not the font search processing, the learning function using the usage order information and cumulative usage frequency information A conversion candidate display order control method is known from JP-A-63-136252, etc.).

【0003】[0003]

【発明が解決しようとする課題】上述した従来のフォン
ト検索処理装置は、内蔵メモリ上の学習情報エリアに学
習情報を持ち、フォントの検索を学習機能によってすば
やく行えるようにしていたが、学習情報エリアがオーバ
ーフローしたことにより学習情報エリアから吐き出され
たフォントの学習情報を取り戻すことはできなかったの
で、学習情報エリアから一旦吐き出されたフォントを再
び検索する必要があった場合には学習機能が働かないと
いう問題点があった。
The conventional font search processing device described above has learning information in the learning information area on the built-in memory so that the font can be searched quickly by the learning function. Since the learning information of the font spit out from the learning information area could not be recovered due to the overflow of the learning information area, the learning function does not work if it is necessary to search again for the font spit out from the learning information area. There was a problem.

【0004】また、従来のフォント検索処理装置では、
フォントの検索を終了して電源等を落とすと、内蔵メモ
リ上の学習情報がすべて揮発してしまっていたので、次
回にフォントを検索するために電源等を投入しても、前
回の学習情報を利用することができず、最初からフォン
トを検索して学習を行わせなければならないという問題
点があった。
Further, in the conventional font search processing device,
When you turn off the power, etc. after finishing the font search, all the learning information in the built-in memory has been volatilized, so even if you turn on the power to search for the font next time, the previous learning information will be There was a problem that it was not possible to use it, and the font had to be searched for learning from the beginning.

【0005】本発明の目的は、上述の点に鑑み、外部記
憶装置上の全文字情報エリアにも累計使用頻度情報を持
つようにするとともに、内蔵メモリ上の学習情報エリア
からフォントの学習情報を吐き出すときに累計使用頻度
情報を外部記憶装置上の全文字情報エリアに転記して保
存するようにして、内蔵メモリ上の学習情報エリアのオ
ーバーフローによりいままで失われていたフォントの学
習情報を有効に活用することができるようにしたフォン
ト検索処理装置を提供することにある。
In view of the above points, an object of the present invention is to provide cumulative usage frequency information in the entire character information area on the external storage device, and to collect font learning information from the learning information area on the internal memory. When discharging, the cumulative usage frequency information is transcribed and stored in the entire character information area on the external storage device, and the learning information of the font that has been lost due to the overflow of the learning information area on the internal memory is enabled. It is to provide a font search processing device that can be utilized.

【0006】また、本発明の他の目的は、外部記憶装置
上に学習情報退避エリアを設けるとともに、一連のフォ
ント検索処理の終了時に内蔵メモリ上の学習情報エリア
の学習情報を外部記憶装置上の学習情報退避エリアに退
避し、一連のフォント検索処理の開始時に外部記憶装置
上の学習情報退避エリアに退避した学習情報を内蔵メモ
リ上の学習情報エリアに復元するようにして、常に最適
な学習状態でフォントを検索することができるようにし
たフォント検索処理装置を提供することにある。
Another object of the present invention is to provide a learning information save area on the external storage device and to store the learning information in the learning information area on the internal memory on the external storage device at the end of a series of font search processing. The learning information is saved in the learning information saving area, and at the start of a series of font search processing, the learning information saved in the learning information saving area on the external storage device is restored to the learning information area on the internal memory, so that the learning status is always optimal. It is to provide a font search processing device capable of searching for fonts with.

【0007】[0007]

【課題を解決するための手段】本発明のフォント検索処
理装置は、外部記憶装置上に全文字情報エリアおよび全
文字フォントエリアを備え、内蔵メモリ上に学習情報エ
リアおよび学習フォントエリアを備えるフォント検索処
理装置において、累計使用頻度情報を含む文字情報を格
納する前記全文字情報エリアと、累計使用頻度情報を含
む学習情報を使用順位情報順に格納する前記学習情報エ
リアと、前記学習情報エリアの学習情報に従って前記学
習フォントエリアからフォントを検索する第1フォント
検索手段と、この第1フォント検索手段によるフォント
の検索が失敗したときに前記全文字情報エリアの文字情
報に従って前記全文字フォントエリアからフォントを検
索して前記累計使用頻度情報を含む学習情報を前記学習
情報エリアに格納するとともに、前記学習情報エリアの
最も小さい累計使用頻度情報を前記全文字情報エリアに
転記して保存する第2フォント検索手段とを有する。
A font search processing apparatus according to the present invention includes an external storage device having an all-character information area and an all-character font area, and a built-in memory having a learning information area and a learning font area. In the processing device, the all-character information area for storing character information including cumulative usage frequency information, the learning information area for storing learning information including cumulative usage frequency information in order of usage order information, and learning information in the learning information area A first font searching means for searching a font from the learning font area according to the first font searching means; and a font searching from the all-character font area according to the character information in the all-character information area when the font search by the first font searching means fails. And stores learning information including the cumulative usage frequency information in the learning information area. Rutotomoni, and a second font retrieval unit for storing and post the smallest cumulative use frequency information of the learning information area to the total text information area.

【0008】また、本発明のフォント検索処理装置は、
外部記憶装置上に全文字情報エリアおよび全文字フォン
トエリアを備え、内蔵メモリ上に学習情報エリアおよび
学習フォントエリアを備えるフォント検索処理装置にお
いて、累計使用頻度情報を含む文字情報を格納する前記
全文字情報エリアと、累計使用頻度情報を含む学習情報
を使用順位情報順に格納する前記学習情報エリアと、一
連のフォントの検索処理の開始時に外部記憶装置の学習
情報退避エリアにセーブされた学習情報を前記学習情報
エリアにロードし、この学習情報エリアの学習情報に基
づいて前記全文字フォントエリアからフォントを検索し
て前記学習フォントエリアに学習フォントを復元する学
習情報復元手段と、前記学習情報エリアの学習情報に従
って前記学習フォントエリアからフォントを検索する第
1フォント検索手段と、この第1フォント検索手段によ
るフォントの検索が失敗したときに前記全文字情報エリ
アの文字情報に従って前記全文字フォントエリアからフ
ォントを検索して前記累計使用頻度情報を含む学習情報
を前記学習情報エリアに格納するとともに、前記学習情
報エリアの最も小さい累計使用頻度情報を前記全文字情
報エリアに転記して保存する第2フォント検索手段と、
一連のフォントの検索処理の終了時に前記学習情報エリ
アの学習情報を前記学習情報退避エリアにセーブする学
習情報退避手段とを有する。
The font search processing device of the present invention is
In a font retrieval processing device having an all-character information area and an all-character font area on an external storage device, and a learning information area and a learning font area on a built-in memory, all the characters for storing character information including cumulative usage frequency information The information area, the learning information area for storing learning information including cumulative usage frequency information in order of use order information, and the learning information saved in the learning information save area of the external storage device at the start of a series of font search processing. Learning information restoring means for loading in the learning information area, searching for fonts from the all-character font area based on the learning information in the learning information area, and restoring learning fonts in the learning font area; and learning in the learning information area. First font searcher for searching fonts from the learning font area according to information And when the font search by the first font search means fails, the font is searched from the all-character font area according to the character information in the all-character information area, and the learning information including the cumulative usage frequency information is acquired as the learning information. Second font searching means for storing the smallest cumulative total usage frequency information in the learning information area in the area, and storing the same in the all-character information area.
And a learning information saving means for saving the learning information in the learning information area in the learning information saving area at the end of a series of font search processing.

【0009】[0009]

【実施例】次に、本発明について図面を参照して詳細に
説明する。
The present invention will be described in detail with reference to the drawings.

【0010】図1は、本発明の第1実施例に係るフォン
ト検索処理装置の構成を示すブロック図である。本実施
例のフォント検索処理装置は、フォント検索処理部1
と、内蔵メモリ2と、外部記憶装置3とから、その主要
部が構成されている。
FIG. 1 is a block diagram showing the arrangement of a font search processing apparatus according to the first embodiment of the present invention. The font search processing device according to the present embodiment includes a font search processing unit 1.
The built-in memory 2 and the external storage device 3 constitute a main part thereof.

【0011】フォント検索処理部1は、外部記憶装置3
から内蔵メモリ2に学習情報を復元する学習情報復元手
段11と、内蔵メモリ2からフォントを検索する第1フ
ォント検索手段12と、外部記憶装置3からフォントを
検索する第2フォント検索手段13と、内蔵メモリ2か
ら外部記憶装置3に学習情報を退避する学習情報退避手
段14とを含んで構成されている。
The font search processing unit 1 includes an external storage device 3
Learning information restoring means 11 for restoring learning information from the internal memory 2 to the internal memory 2, a first font searching means 12 for searching a font from the internal memory 2, a second font searching means 13 for searching a font from the external storage device 3, Learning information saving means 14 for saving learning information from the internal memory 2 to the external storage device 3 is included.

【0012】内蔵メモリ2には、学習情報エリア21
と、学習フォントエリア22とが設けられている。学習
情報エリア21は、文字コード検索テーブル211と、
格納アドレス検索テーブル212とからなる。
The built-in memory 2 has a learning information area 21.
And a learning font area 22 are provided. The learning information area 21 includes a character code search table 211,
The storage address search table 212.

【0013】外部記憶装置3には、全文字情報エリア3
1と、全文字フォントエリア32と、学習情報退避エリ
ア33とが設けられている。全文字情報エリア31は、
区検索テーブル311と、点検索テーブル312と、文
字コード検索テーブル313と、格納アドレス検索テー
ブル314とからなる。学習情報退避エリア33は、文
字コード検索テーブル331と、格納アドレス検索テー
ブル332とからなる。
The external storage device 3 has an all-character information area 3
1, an all-character font area 32, and a learning information save area 33 are provided. All character information area 31
The area search table 311, the point search table 312, the character code search table 313, and the storage address search table 314. The learning information save area 33 includes a character code search table 331 and a storage address search table 332.

【0014】図2(a)を参照すると、文字コード検索
テーブル211は、文字種検索フラグ/文字数と、格納
アドレス検索テーブルへのポインタ(オフセット/セグ
メント)と、使用順位情報順に並べられた文字種に対す
る複数の文字コードとから構成されている。
Referring to FIG. 2A, the character code search table 211 includes a character type search flag / number of characters, a pointer (offset / segment) to the storage address search table, and a plurality of character types arranged in the order of use order information. And the character code of.

【0015】図2(b)を参照すると、格納アドレス検
索テーブル212は、累計使用頻度情報とフォント格納
ポインタ(オフセット/セグメント)との組が使用順次
情報順に並べられている。
Referring to FIG. 2B, in the storage address search table 212, a set of cumulative usage frequency information and font storage pointer (offset / segment) is arranged in the order of usage sequential information.

【0016】図3(a)を参照すると、区検索テーブル
311は、文字種毎の区点検索フラグと、1〜94区の
順に並べられた複数の点検索テーブルへのポインタ(オ
フセット/セグメント)とからなる。
Referring to FIG. 3A, the group search table 311 includes a group point search flag for each character type and pointers (offsets / segments) to a plurality of point search tables arranged in the order of 1 to 94 groups. Consists of.

【0017】図3(b)を参照すると、点検索テーブル
312は、累計使用頻度情報とフォント格納ポインタ
(オフセット/セグメント)との組が1〜94点の順に
並べられている。
Referring to FIG. 3B, in the point search table 312, sets of cumulative use frequency information and font storage pointers (offsets / segments) are arranged in the order of 1 to 94 points.

【0018】図3(c)を参照すると、文字コード検索
テーブル313は、文字コード検索フラグ/文字数と、
格納アドレス検索テーブルへのポインタ(オフセット/
セグメント)と、JIS(日本工業規格)コード順に並
べられた文字種に対する複数の文字コードとから構成さ
れている。
Referring to FIG. 3C, the character code search table 313 has a character code search flag / number of characters,
Pointer to storage address search table (offset /
Segment) and a plurality of character codes for character types arranged in JIS (Japanese Industrial Standard) code order.

【0019】図3(d)を参照すると、格納アドレス検
索テーブル314は、累計使用頻度情報とフォント格納
ポインタ(オフセット/セグメント)との組がJISコ
ード順に並べられている。
Referring to FIG. 3D, in the storage address search table 314, sets of cumulative use frequency information and font storage pointers (offsets / segments) are arranged in JIS code order.

【0020】図4を参照すると、ファイル検索処理部1
の処理は、学習情報ロードステップS101と、学習フ
ォント復元ステップS102と、フォント検索指示入力
ステップS103と、フォント検索終了判定ステップS
104と、文字コード検索ステップS105と、文字コ
ード有無判定ステップS106と、格納アドレス検索テ
ーブルポインタ取得ステップS107と、フォント格納
ポインタ取得ステップS108と、フォント取得ステッ
プS109と、累計使用頻度情報更新ステップS110
と、使用順位並べ替えステップS111と、第2フォン
ト検索手段起動ステップS112と、学習情報セーブス
テップS113とからなる。
Referring to FIG. 4, the file search processing unit 1
The learning process includes learning information loading step S101, learning font restoring step S102, font search instruction input step S103, and font search end determination step S103.
104, a character code search step S105, a character code presence / absence determination step S106, a storage address search table pointer acquisition step S107, a font storage pointer acquisition step S108, a font acquisition step S109, and a cumulative use frequency information update step S110.
A use order rearranging step S111, a second font searching means starting step S112, and a learning information saving step S113.

【0021】図5を参照すると、第2フォント検索手段
13の処理は、文字種判定ステップS201と、点検索
テーブルポインタ取得ステップS202と、フォント格
納ポインタ取得ステップS203と、フォント取得ステ
ップS204と、累計使用頻度情報更新ステップS20
5と、最小累計使用順位情報転記ステップS206と、
使用順位並び替えステップS207と、フォント書込み
ステップS208と、学習情報使用順位先頭位置への書
込みステップS209と、文字コード検索ステップS2
10と、格納アドレス検索テーブルポインタ取得ステッ
プS211と、フォント格納ポインタ取得ステップS2
12と、フォント取得ステップS213と、累計使用頻
度情報更新ステップS214と、累計使用順位情報転記
ステップS215と、使用順位並び替えステップS21
6と、フォント書込みステップS217と、学習情報使
用順位先頭位置への書込みステップS218とからな
る。
Referring to FIG. 5, the processing of the second font search means 13 is performed by a character type determination step S201, a point search table pointer acquisition step S202, a font storage pointer acquisition step S203, a font acquisition step S204, and a cumulative use. Frequency information update step S20
5, and the minimum cumulative use order information transfer step S206,
Usage order rearrangement step S207, font writing step S208, learning information usage order head position writing step S209, and character code search step S2
10, storage address search table pointer acquisition step S211 and font storage pointer acquisition step S2
12, a font acquisition step S213, a cumulative use frequency information updating step S214, a cumulative use order information transfer step S215, and a use order rearranging step S21.
6, a font writing step S217, and a writing information use order head position writing step S218.

【0022】次に、このように構成された第1実施例の
フォント検索処理装置の動作について説明する。
Next, the operation of the font search processing apparatus of the first embodiment thus constructed will be described.

【0023】フォント検索処理装置が起動されると、フ
ァイル検索処理部1の学習情報復元手段11は、外部記
憶装置3上の学習情報退避エリア33から前回までの学
習情報である文字コード検索テーブル331および格納
アドレス検索テーブル332を内蔵メモリ2上の学習情
報エリア21に文字コード検索テーブル211および格
納アドレス検索テーブル212としてロードする(ステ
ップS101)。
When the font search processing device is activated, the learning information restoring means 11 of the file search processing portion 1 causes the learning information saving area 33 on the external storage device 3 to learn the character code search table 331 which is the learning information up to the previous time. And the storage address search table 332 is loaded into the learning information area 21 on the built-in memory 2 as the character code search table 211 and the storage address search table 212 (step S101).

【0024】次に、学習情報復元手段11は、内蔵メモ
リ2上の学習情報エリア21の文字コード検索テーブル
211に登録されている文字コードに従って外部記憶装
置3上の全文字フォントエリア32から該当するフォン
トを検索し(検索方法については、後に詳述する第2フ
ォント検索手段13の処理と同様なので詳述しない)、
内蔵メモリ2上の学習フォントエリア22に格納アドレ
ス検索テーブル212のフォント格納ポインタが示す位
置となるように格納し学習フォントエリア22上に学習
フォントを復元する(ステップS102)。
Next, the learning information restoring means 11 corresponds from the all character font area 32 on the external storage device 3 according to the character code registered in the character code search table 211 of the learning information area 21 on the built-in memory 2. The font is searched (the searching method is the same as the processing of the second font searching means 13 which will be described later in detail, and therefore will not be described in detail),
The learning font area 22 in the built-in memory 2 is stored at the position indicated by the font storage pointer of the storage address search table 212, and the learning font is restored in the learning font area 22 (step S102).

【0025】このようにしてフォント検索処理装置が立
ち上げられた状態から文字コードを指定するフォント検
索指示が入力されると(ステップS103)、まず第1
フォント検索手段12は、該当する文字コード検索テー
ブル211から文字コードを検索し(ステップS10
5)、文字コードがあれば(ステップS106でイエ
ス)、文字コード検索テーブル211から文字コードに
対応する格納アドレス検索テーブルへのポインタを取得
する(ステップS107)。次に、第1フォント検索手
段12は、取得したポインタが指す格納アドレス検索テ
ーブル212の使用順位位置からフォント格納ポインタ
を取得し(ステップS108)、学習フォントエリア2
2のフォント格納ポインタが示す位置からフォントを取
得する(ステップS109)。続いて、第1フォント検
索手段12は、取得したフォント格納ポインタに対応す
る累計使用頻度情報を1つカウントアップするとともに
(ステップS110)、今回取得されたフォントが最新
に使用されたフォントとなるように、文字コード検索テ
ーブル211の文字コードならびに格納アドレス検索テ
ーブル212の累計使用頻度情報およびフォント格納ポ
インタの使用順位位置を並び替える(ステップS11
1)。この後、第1フォント検索手段12は、ステップ
S103に制御を戻す。
When a font search instruction for designating a character code is input from the state where the font search processing device is started up in this way (step S103), first of all,
The font search means 12 searches for the character code from the corresponding character code search table 211 (step S10).
5) If there is a character code (Yes in step S106), the pointer to the storage address search table corresponding to the character code is acquired from the character code search table 211 (step S107). Next, the first font search means 12 acquires the font storage pointer from the use order position of the storage address search table 212 pointed to by the acquired pointer (step S108), and the learning font area 2
The font is acquired from the position indicated by the second font storage pointer (step S109). Then, the first font search means 12 counts up the cumulative use frequency information corresponding to the acquired font storage pointer by one (step S110), and the font acquired this time becomes the most recently used font. Then, the character codes in the character code search table 211, the cumulative use frequency information in the storage address search table 212, and the use rank position of the font storage pointer are rearranged (step S11).
1). After that, the first font search means 12 returns the control to step S103.

【0026】一方、ステップS106で文字コード検索
テーブル211に該当する文字コードが登録されていな
ければ(ステップS106でノー)、第2フォント検索
手段13が起動される(ステップS112)。
On the other hand, if the corresponding character code is not registered in the character code search table 211 in step S106 (NO in step S106), the second font search means 13 is activated (step S112).

【0027】第2フォント検索手段13は、外部記憶装
置3上の全文字フォントエリア32からフォントを検索
するが、例えば、JIS標準文字等の文字が多い文字種
の場合は区点検索方式を使用してフォントを検索し、文
字が少ない文字種の場合は文字コード検索方式を使用し
てフォントを検索する。なお、文字コードと区点コード
との間では、簡単な加減算あるいはテーブル参照によっ
て相互のコード変換が可能である。このように文字種に
応じて検索方法を異ならしめたのは、すべてアクセスタ
イムの速い区点検索方式にすると、文字種毎に決まった
容量の記憶空間が必要になり、外部記憶装置3にきわめ
て大きな容量が必要になるため、文字の少ない文字種に
ついてはアクセスタイムの遅れが気にならないので文字
コード検索方式とした。
The second font retrieving means 13 retrieves a font from the all-character font area 32 on the external storage device 3. For example, in the case of a character type having many characters such as JIS standard characters, the punctuation mark retrieval method is used. The font is searched by using the character code search method when there are few characters. In addition, between the character code and the division point code, mutual code conversion is possible by simple addition and subtraction or table reference. In this way, the search method is made different according to the character type. When the division point search method with fast access time is used, a storage space with a fixed capacity for each character type is required, and the external storage device 3 has an extremely large capacity. Therefore, the character code search method is adopted because there is no need to worry about delay in access time for character types with few characters.

【0028】まず、第2フォント検索手段13は、文字
が多い文字種か少ない文字種かを判定し(ステップS2
01)、文字が多い文字種であれば(ステップS201
で多)、区に従って区検索テーブル311から点検索テ
ーブルへのポインタを取得し(ステップS202)、取
得したポインタが指す点検索テーブル312から点に従
ってフォント格納ポインタを取得する(ステップS20
3)。次に、第2フォント検索手段13は、取得したフ
ォント格納ポインタが指すフォントを全文字フォントエ
リア32から取得し(ステップS204)、フォント格
納ポインタに対応する累計使用頻度情報を1つカウント
アップする(ステップS205)。続いて、第2フォン
ト検索手段13は、文字コード検索テーブル211およ
び格納アドレス検索テーブル212から吐き出されるこ
とになった最も小さい累計使用頻度情報を、外部記憶装
置3の全文字情報エリア31の点検索テーブル312の
該当する位置に転記して保存し(ステップS206)、
内蔵メモリ2上の学習情報エリア21における文字コー
ド検索テーブル211の文字コードならびに格納アドレ
ス検索テーブル212の累計使用頻度情報およびフォン
ト格納ポインタの使用順位位置を並び替える(ステップ
S207)。そして、第2フォント検索手段13は、取
得したフォントを学習フォントエリア22に書き込み
(ステップS208)、書き込まれたフォントが最新に
使用されたフォントとなるように、文字コードを文字コ
ード検索テーブル211の使用順位先頭位置に、フォン
ト格納ポインタおよび区検索テーブル312の累計使用
頻度情報を格納アドレス検索テーブル212の使用順位
先頭位置にそれぞれ書き込む(ステップS209)。こ
の後、第2フォント検索手段13は、処理を終了して、
ステップS103に制御を戻す。
First, the second font retrieving means 13 determines whether there are many character types or few character types (step S2).
01), if the character type has many characters (step S201).
Then, the pointer to the point search table is acquired from the section search table 311 according to the section (step S202), and the font storage pointer is acquired according to the point from the point search table 312 indicated by the acquired pointer (step S20).
3). Next, the second font search means 13 acquires the font pointed to by the acquired font storage pointer from the all-character font area 32 (step S204), and counts up the cumulative use frequency information corresponding to the font storage pointer by one (1). Step S205). Then, the second font search means 13 searches the character code search table 211 and the storage address search table 212 for the smallest cumulative use frequency information, which is the smallest cumulative use frequency information, in the all-character information area 31 of the external storage device 3. Post it to the corresponding position of the table 312 and save it (step S206),
The character codes of the character code search table 211 in the learning information area 21 on the built-in memory 2, the cumulative use frequency information of the storage address search table 212, and the use order position of the font storage pointer are rearranged (step S207). Then, the second font search means 13 writes the acquired font in the learning font area 22 (step S208), and sets the character code in the character code search table 211 so that the written font becomes the most recently used font. The font storage pointer and the cumulative usage frequency information of the section search table 312 are written in the usage order head positions of the storage address search table 212 (step S209). After that, the second font search means 13 finishes the process,
The control is returned to step S103.

【0029】また、第2フォント検索手段13は、文字
が少ない文字種の場合は(ステップS201で少)、文
字コード検索方式を使用して文字コード検索テーブル3
13から該当する文字コードを検索し(ステップS21
0)、格納アドレス検索テーブルへのポインタを取得す
る(ステップS211)。次に、第2フォント検索手段
13は、取得したポインタが指す格納アドレス検索テー
ブル314のJISコード位置からフォント格納ポイン
タを取得し(ステップS212)、全文字フォントエリ
ア32のフォント格納ポインタが指す位置からフォント
を取得する(ステップS213)。続いて、第2フォン
ト検索手段13は、取得したフォント格納ポインタに対
応する累計使用頻度情報を1つカウントアップする(ス
テップS214)。次に、第2フォント検索手段13
は、文字コード検索テーブル211および格納アドレス
検索テーブル212から吐き出されることになった最も
小さい累計使用頻度情報を、外部記憶装置3の全文字情
報エリア31の格納アドレス検索テーブル314の該当
する位置に転記して保存する(ステップS215)。続
いて、第2フォント検索手段13は、内蔵メモリ2上の
学習情報エリア21における文字コード検索テーブル2
11の文字コードならびに格納アドレス検索テーブル2
12の累計使用頻度情報およびフォント格納ポインタの
使用順位位置を並び替える(ステップS216)。そし
て、第2フォント検索手段13は、取得したフォントを
学習フォントエリア22に書き込み(ステップS21
7)、書き込まれたフォントが最新に使用されたフォン
トとなるように、文字コードを文字コード検索テーブル
211の使用順位先頭位置に、フォント格納ポインタお
よび格納アドレス検索テーブル314の累計使用頻度情
報を格納アドレス検索テーブル212の使用順位先頭位
置にそれぞれ書き込む(ステップS218)。この後、
第2フォント検索手段13は、処理を終了して、ステッ
プS103に制御を戻す。
When the character type has few characters (small in step S201), the second font searching means 13 uses the character code searching method to search the character code searching table 3
The corresponding character code is searched from 13 (step S21
0), the pointer to the storage address search table is acquired (step S211). Next, the second font search means 13 acquires the font storage pointer from the JIS code position of the storage address search table 314 pointed to by the acquired pointer (step S212), and from the position pointed to by the font storage pointer of the all-character font area 32. The font is acquired (step S213). Then, the second font search means 13 increments the cumulative use frequency information corresponding to the acquired font storage pointer by one (step S214). Next, the second font search means 13
Transposes the smallest cumulative use frequency information discharged from the character code search table 211 and the storage address search table 212 to the corresponding position of the storage address search table 314 in the all-character information area 31 of the external storage device 3. And save (step S215). Then, the second font search means 13 uses the character code search table 2 in the learning information area 21 on the built-in memory 2.
11 character code and storage address search table 2
The cumulative use frequency information of 12 and the use order position of the font storage pointer are rearranged (step S216). Then, the second font search means 13 writes the acquired font in the learning font area 22 (step S21).
7) The character code is stored in the usage order head position of the character code search table 211 and the cumulative usage frequency information of the storage address search table 314 so that the written font becomes the most recently used font. The data is written in the head position of the use order in the address search table 212 (step S218). After this,
The second font search means 13 ends the process and returns the control to step S103.

【0030】ステップS104で一連のフォントの検索
処理が終了であると、学習情報退避手段14は、内蔵メ
モリ2上の学習情報エリア21の文字コード検索テーブ
ル211および格納アドレス検索テーブル212を、外
部記憶装置3上の学習情報退避エリア33に文字コード
検索テーブル331および格納アドレス検索テーブル3
32としてセーブする(ステップS113)。
When the series of font search processing is completed in step S104, the learning information saving means 14 externally stores the character code search table 211 and the storage address search table 212 in the learning information area 21 on the internal memory 2. A character code search table 331 and a storage address search table 3 are stored in the learning information save area 33 on the device 3.
It is saved as 32 (step S113).

【0031】以上により、フォントを検索する毎に学習
機能が働き、頻繁に使用するフォントの検索効率が向上
する。
As described above, the learning function works every time a font is searched, and the search efficiency of the frequently used font is improved.

【0032】図6は、本発明の第2実施例に係るフォン
ト検索処理装置の構成を示すブロック図である。本実施
例のフォント検索処理装置は、図1に示した第1実施例
のフォント検索処理装置から学習情報復元手段11,学
習情報退避手段14および学習情報退避エリア33を除
いたものである。
FIG. 6 is a block diagram showing the arrangement of a font search processing apparatus according to the second embodiment of the present invention. The font search processing device of this embodiment is the same as the font search processing device of the first embodiment shown in FIG. 1 except that the learning information restoring means 11, learning information saving means 14 and learning information saving area 33 are removed.

【0033】このように、一連のフォントの検索処理の
開始時(例えば、フォント検索処理装置の起動時)およ
び一連のフォントの検索処理の終了時(例えば、フォン
ト検索処理装置の終了時)において学習情報エリア21
の文字コード検索テーブル211および格納アドレス検
索テーブル212の復元および退避を行わないようにし
ても、本発明が最小限の構成で実現できることはいうま
でもない。
In this way, learning is performed at the start of a series of font search processing (for example, when the font search processing apparatus is started) and at the end of a series of font search processing (for example, the end of the font search processing apparatus). Information area 21
It goes without saying that the present invention can be realized with the minimum configuration even if the character code search table 211 and the stored address search table 212 are not restored or saved.

【0034】[0034]

【発明の効果】以上説明したように本発明は、外部記憶
装置上の全文字情報エリアにも累計使用頻度情報を持つ
ようにするとともに、第2フォント検索手段により内蔵
メモリ上の学習情報エリアのオーバーフローによるフォ
ントの学習情報の吐き出し時に累計使用頻度情報を外部
記憶装置上の全文字情報エリアに転記して保存するよう
にしたことにより、内蔵メモリ上の学習情報エリアのオ
ーバーフローによりいままで失われていた学習情報を有
効に活用することができるという効果がある。
As described above, according to the present invention, the total use frequency information is also stored in the all-character information area on the external storage device, and the learning information area on the built-in memory is stored by the second font searching means. When the font learning information is discharged due to an overflow, the cumulative usage frequency information is posted and stored in the entire character information area on the external storage device. There is an effect that the learning information can be effectively used.

【0035】また、外部記憶装置上に学習情報退避エリ
アを設けるとともに、一連のフォント検索処理の終了時
に学習情報退避手段により内蔵メモリ上の学習情報エリ
アの学習情報を外部記憶装置上の学習情報退避エリアに
退避し、一連のフォント検索処理の開始時に学習情報復
元手段により外部記憶装置上の学習情報退避エリアに退
避した学習情報を内蔵メモリ上の学習情報エリアに復元
するようにしたことにより、常に最適な学習状態でフォ
ントを検索することができるという効果がある。
Further, a learning information saving area is provided on the external storage device, and the learning information in the learning information area on the internal memory is saved by the learning information saving means at the end of the series of font search processing. By saving the learning information to the learning information area on the internal memory by the learning information restoring means at the start of a series of font search processing, the learning information is always saved in the learning information area on the internal memory. The effect is that the font can be searched in the optimal learning state.

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

【図1】本発明の第1実施例に係るフォント検索処理装
置の構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a font search processing device according to a first embodiment of the present invention.

【図2】(a)は図1中の内蔵メモリ上の学習情報エリ
アにおける文字コード検索テーブルの内容を示し、
(b)は図1中の内蔵メモリ上の学習情報エリアにおけ
る格納アドレス検索テーブルの内容を示す図である。
2A shows the contents of a character code search table in a learning information area on the built-in memory in FIG.
(B) is a diagram showing the contents of a storage address search table in the learning information area on the built-in memory in FIG. 1.

【図3】(a)は図1中の外部記憶装置上の全文字情報
エリアにおける区検索テーブルの内容を示し、(b)は
図1中の外部記憶装置上の全文字情報エリアにおける点
検索テーブルの内容を示し、(c)は図1中の外部記憶
装置上の全文字情報エリアにおける文字コード検索テー
ブルの内容を示し、(d)は図1中の外部記憶装置上の
全文字情報エリアにおける格納アドレス検索テーブルの
内容を示す図である。
3A shows the contents of a section search table in the all-character information area on the external storage device in FIG. 1, and FIG. 3B shows a point search in the all-character information area on the external storage device in FIG. 1 shows the contents of the table, (c) shows the contents of the character code search table in the entire character information area on the external storage device in FIG. 1, and (d) shows the entire character information area on the external storage device in FIG. 6 is a diagram showing the contents of a storage address search table in FIG.

【図4】図1中のフォント検索処理部の処理を示す流れ
図である。
FIG. 4 is a flowchart showing a process of a font search processing unit in FIG.

【図5】図4中の第2フォント検索手段の処理をさらに
詳細に示す流れ図である。
FIG. 5 is a flowchart showing the processing of the second font searching means in FIG. 4 in more detail.

【図6】本発明の第2実施例に係るフォント検索処理装
置の構成を示すブロック図である。
FIG. 6 is a block diagram showing a configuration of a font search processing device according to a second embodiment of the present invention.

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

1 フォント検索処理部 2 内蔵メモリ 3 外部記憶装置 11 学習情報復元手段 12 第1フォント検索手段 13 第2フォント検索手段 14 学習情報退避手段 21 学習情報エリア 22 学習フォントエリア 31 全文字情報エリア 32 全文字フォントエリア 33 学習情報退避エリア 211 文字コード検索テーブル 212 格納アドレス検索テーブル 311 区検索テーブル 312 点検索テーブル 313 文字コード検索テーブル 314 格納アドレス検索テーブル 331 文字コード検索テーブル 332 格納アドレス検索テーブル 1 Font Search Processing Unit 2 Internal Memory 3 External Storage Device 11 Learning Information Restoring Means 12 First Font Searching Means 13 Second Font Searching Means 14 Learning Information Saving Means 21 Learning Information Areas 22 Learning Font Areas 31 All Character Information Areas 32 All Characters Font area 33 Learning information save area 211 Character code search table 212 Stored address search table 311 District search table 312 Point search table 313 Character code search table 314 Stored address search table 331 Character code search table 332 Stored address search table

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 外部記憶装置上に全文字情報エリアおよ
び全文字フォントエリアを備え、内蔵メモリ上に学習情
報エリアおよび学習フォントエリアを備えるフォント検
索処理装置において、 累計使用頻度情報を含む文字情報を格納する前記全文字
情報エリアと、 累計使用頻度情報を含む学習情報を使用順位情報順に格
納する前記学習情報エリアと、 前記学習情報エリアの学習情報に従って前記学習フォン
トエリアからフォントを検索する第1フォント検索手段
と、 この第1フォント検索手段によるフォントの検索が失敗
したときに前記全文字情報エリアの文字情報に従って前
記全文字フォントエリアからフォントを検索して前記累
計使用頻度情報を含む学習情報を前記学習情報エリアに
格納するとともに、前記学習情報エリアの最も小さい累
計使用頻度情報を前記全文字情報エリアに転記して保存
する第2フォント検索手段とを有することを特徴とする
フォント検索処理装置。
1. A font search processing device comprising an all-character information area and an all-character font area on an external storage device, and a learning information area and a learning font area on a built-in memory. The all-character information area to be stored, the learning information area to store learning information including cumulative usage frequency information in order of use order information, and a first font for searching a font from the learning font area according to the learning information in the learning information area. The search means, and when the font search by the first font search means fails, the font is searched from the all-character font area according to the character information in the all-character information area, and the learning information including the cumulative usage frequency information is acquired. It is stored in the learning information area and is the smallest in the learning information area. Font retrieval processing apparatus characterized by a second font retrieval unit for storing and post the total frequency of use information in the entire text information area.
【請求項2】 外部記憶装置上に全文字情報エリアおよ
び全文字フォントエリアを備え、内蔵メモリ上に学習情
報エリアおよび学習フォントエリアを備えるフォント検
索処理装置において、 累計使用頻度情報を含む文字情報を格納する前記全文字
情報エリアと、 累計使用頻度情報を含む学習情報を使用順位情報順に格
納する前記学習情報エリアと、 一連のフォントの検索処理の開始時に外部記憶装置の学
習情報退避エリアにセーブされた学習情報を前記学習情
報エリアにロードし、この学習情報エリアの学習情報に
基づいて前記全文字フォントエリアからフォントを検索
して前記学習フォントエリアに学習フォントを復元する
学習情報復元手段と、 前記学習情報エリアの学習情報に従って前記学習フォン
トエリアからフォントを検索する第1フォント検索手段
と、 この第1フォント検索手段によるフォントの検索が失敗
したときに前記全文字情報エリアの文字情報に従って前
記全文字フォントエリアからフォントを検索して前記累
計使用頻度情報を含む学習情報を前記学習情報エリアに
格納するとともに、前記学習情報エリアの最も小さい累
計使用頻度情報を前記全文字情報エリアに転記して保存
する第2フォント検索手段と、 一連のフォントの検索処理の終了時に前記学習情報エリ
アの学習情報を前記学習情報退避エリアにセーブする学
習情報退避手段とを有することを特徴とするフォント検
索処理装置。
2. A font search processing device comprising an all-character information area and an all-character font area on an external storage device, and a learning information area and a learning font area on a built-in memory. The all-character information area to be stored, the learning information area to store learning information including cumulative usage frequency information in order of usage order information, and the learning information save area in the external storage device at the start of a series of font search processing. Learning information restoring means for loading learned learning information into the learning information area, searching for a font from the all-character font area based on the learning information in the learning information area, and restoring the learned font in the learning font area, Searching fonts from the learning font area according to learning information in the learning information area; Font search means, and when the font search by the first font search means fails, a font is searched from the all-character font area according to the character information in the all-character information area, and learning information including the cumulative usage frequency information is obtained. Second font searching means for storing in the learning information area, and transcribing and storing the smallest cumulative usage frequency information of the learning information area in the all-character information area; and the learning at the end of a series of font search processing. A font search processing device, comprising: learning information saving means for saving learning information in an information area in the learning information saving area.
【請求項3】 前記学習情報エリアの学習情報が、文字
コードを使用順位情報順に格納する文字コード検索テー
ブルと、フォント格納ポインタおよび累計使用頻度情報
を使用順位情報順に格納する格納アドレス検索テーブル
とからなる請求項1または2記載のフォント検索処理装
置。
3. The learning information in the learning information area comprises a character code search table storing character codes in order of usage order information and a storage address search table storing font storage pointers and cumulative usage frequency information in order of usage order information. The font search processing device according to claim 1 or 2.
【請求項4】 前記全文字情報エリアの文字情報が、区
の順に点検索テーブルへのポインタを格納する区検索テ
ーブルと、点の順にフォント格納ポインタおよび累計使
用頻度情報を格納する点検索テーブルと、文字コードを
JISコード順に格納する文字コード検索テーブルと、
フォント格納ポインタおよび累積使用頻度情報をJIS
コード順に格納する格納アドレス検索テーブルとからな
る請求項1または2記載のフォント検索処理装置。
4. A section search table in which character information in the entire character information area stores a pointer to a point search table in the order of sections, and a point search table in which a font storage pointer and cumulative usage frequency information are stored in order of points. , A character code search table that stores character codes in JIS code order,
JIS for font storage pointer and cumulative usage frequency information
3. The font search processing device according to claim 1, comprising a storage address search table for storing in code order.
JP6125699A 1994-05-16 1994-05-16 Font search processor Expired - Lifetime JP2679627B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6125699A JP2679627B2 (en) 1994-05-16 1994-05-16 Font search processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6125699A JP2679627B2 (en) 1994-05-16 1994-05-16 Font search processor

Publications (2)

Publication Number Publication Date
JPH07311763A true JPH07311763A (en) 1995-11-28
JP2679627B2 JP2679627B2 (en) 1997-11-19

Family

ID=14916530

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6125699A Expired - Lifetime JP2679627B2 (en) 1994-05-16 1994-05-16 Font search processor

Country Status (1)

Country Link
JP (1) JP2679627B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010217819A (en) * 2009-03-19 2010-09-30 Fuji Xerox Co Ltd Drawing processing apparatus, image output device, and program

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0273455A (en) * 1988-09-09 1990-03-13 Hitachi Ltd Character processing system
JPH038272A (en) * 1989-06-06 1991-01-16 Ricoh Co Ltd Power generation or power storage device.
JPH04278374A (en) * 1991-03-06 1992-10-02 Fuji Xerox Co Ltd Character font generator

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0273455A (en) * 1988-09-09 1990-03-13 Hitachi Ltd Character processing system
JPH038272A (en) * 1989-06-06 1991-01-16 Ricoh Co Ltd Power generation or power storage device.
JPH04278374A (en) * 1991-03-06 1992-10-02 Fuji Xerox Co Ltd Character font generator

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010217819A (en) * 2009-03-19 2010-09-30 Fuji Xerox Co Ltd Drawing processing apparatus, image output device, and program
US8390827B2 (en) 2009-03-19 2013-03-05 Fuji Xerox Co., Ltd. Drawing processing apparatus, image outputting apparatus, method for drawing processing and computer readable medium

Also Published As

Publication number Publication date
JP2679627B2 (en) 1997-11-19

Similar Documents

Publication Publication Date Title
US8682900B2 (en) System, method and computer program product for documents retrieval
JP2679627B2 (en) Font search processor
JP3620968B2 (en) Document retrieval method, apparatus for implementing the same, and medium on which processing program is recorded
EP0539965B1 (en) An electronic dictionary including a pointer file and a word information correction file
JPS6255189B2 (en)
KR930002306B1 (en) Method of registering character on word processor
CN117131164A (en) Word stock retrieval method and related device
JPS59100939A (en) Japanese word input device
JP3896683B2 (en) User-defined character management device and storage medium
JP3564952B2 (en) High-speed document registration search method and apparatus
JP2535655B2 (en) Dictionary search method
JP2619944B2 (en) Image data management processor
JPH03127254A (en) Word retrieving device
JPH0991304A (en) Method, system, and storage means for information retrieval
JPH07129565A (en) Information processor
JPH0128421B2 (en)
JPH04297956A (en) Multimedium retrieval and processing system
JPS60122463A (en) Character processing unit
JPH05158992A (en) Information processor
JPH11191107A (en) Method and device for processing document
JPH03208162A (en) Input device
JPH07160697A (en) Document processor
JPH10240729A (en) Device for preparing data base and method therefor
JPS619755A (en) Kana-to-kanji conversion system
JPH0380367A (en) File managing system