JP3889961B2 - Character processing device and character processing method of character processing device - Google Patents

Character processing device and character processing method of character processing device Download PDF

Info

Publication number
JP3889961B2
JP3889961B2 JP2001380497A JP2001380497A JP3889961B2 JP 3889961 B2 JP3889961 B2 JP 3889961B2 JP 2001380497 A JP2001380497 A JP 2001380497A JP 2001380497 A JP2001380497 A JP 2001380497A JP 3889961 B2 JP3889961 B2 JP 3889961B2
Authority
JP
Japan
Prior art keywords
radical
candidate
search
kanji
image
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
Application number
JP2001380497A
Other languages
Japanese (ja)
Other versions
JP2003186869A (en
Inventor
弘康 倉科
康英 安蒜
洋一 日根
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.)
Seiko Epson Corp
King Jim Co Ltd
Original Assignee
Seiko Epson Corp
King Jim Co Ltd
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 Seiko Epson Corp, King Jim Co Ltd filed Critical Seiko Epson Corp
Priority to JP2001380497A priority Critical patent/JP3889961B2/en
Priority to TW91133282A priority patent/TW588262B/en
Priority to KR10-2002-0079291A priority patent/KR100461036B1/en
Priority to CN 02156320 priority patent/CN1260669C/en
Publication of JP2003186869A publication Critical patent/JP2003186869A/en
Priority to HK03109087A priority patent/HK1056783A1/en
Application granted granted Critical
Publication of JP3889961B2 publication Critical patent/JP3889961B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • Document Processing Apparatus (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、漢字を部首検索して表示可能な文字処理装置および文字処理装置の文字処理方法に関する。
【0002】
【従来の技術】
いわゆる漢字の部首引き(部首検索)が可能な従来の文字処理装置(ワープロ等)では、通常、一般の漢字用のフォントデータ以外に、部首検索用に(すなわち部首引きの選択操作のための表示用に)別のフォントデータを用意(記憶)しておき、部首検索の際には、その部首を画像展開して表示する。
【0003】
【発明が解決しようとする課題】
すなわち、部首検索される漢字用のフォントデータ以外に、部首検索のための部首表示用のフォントデータの分の記憶容量を要する。
【0004】
そこで、本発明は、部首表示用に格別のフォントデータを記憶することなく、漢字の部首検索のための部首を表示可能とし、その分の記憶容量を節約できる文字処理装置および文字処理装置の文字処理方法を提供することを目的とする。
【0005】
【課題を解決するための手段】
本発明の1の文字処理装置は、複数の漢字のフォントデータを記憶するフォント記憶手段を内蔵する文字処理装置であって、フォントデータとして記憶された漢字の部首検索のために選択可能な候補部首を表示する候補部首表示手段と、表示された前記候補部首から検索部首を選択する検索部首選択手段と、選択された前記検索部首による部首検索を行ってその検索結果の漢字を表示する検索結果表示手段と、を備え、前記候補部首表示手段は、表示すべき候補部首に予め対応づけられた同形の漢字のフォントデータを前記候補部首の画像として展開して表示する同形漢字部首表示手段を有することを特徴とする。
【0006】
この文字処理装置では、漢字の部首検索のために選択可能な候補部首を表示し、表示された候補部首から検索部首を選択し、選択された検索部首による部首検索を行って、その検索結果の漢字を表示できるが、表示すべき候補部首に予め対応づけられた同形の漢字のフォントデータを候補部首の画像として展開して表示することにより、同形の漢字が存在する部首については、部首表示用に格別のフォントデータを用意する必要がなく、その分の記憶容量を節約できる。
【0007】
また、本発明の第2の文字処理装置は、複数の漢字のフォントデータを記憶するフォント記憶手段を内蔵する文字処理装置であって、フォントデータとして記憶された漢字の部首検索のために選択可能な候補部首を表示する候補部首表示手段と、表示された前記候補部首から検索部首を選択する検索部首選択手段と、選択された前記検索部首による部首検索を行ってその検索結果の漢字を表示する検索結果表示手段と、を備え、前記候補部首表示手段は、表示すべき候補部首に予め対応づけられ且つ予め抽出部分が定められた漢字のフォントデータを画像に展開して前記抽出部分の画像を抽出して前記候補部首の画像として表示する一部抽出部首表示手段を有することを特徴とする。
【0008】
この文字処理装置では、部首検索の候補部首を表示し、候補部首から検索部首を選択し、検索部首による部首検索を行って、その検索結果の漢字を表示できるが、表示すべき候補部首に予め対応づけられ且つ予め抽出部分が定められた漢字のフォントデータを画像に展開して抽出部分の画像を抽出して候補部首の画像として表示する。このため、表示すべき候補部首を一部に含む漢字が存在する場合、部首表示用に格別のフォントデータを用意する必要がなく、その分の記憶容量を節約できる。
【0009】
また、本発明の第3の文字処理装置は、複数の漢字のフォントデータを記憶するフォント記憶手段を内蔵する文字処理装置であって、フォントデータとして記憶された漢字の部首検索のために選択可能な候補部首を表示する候補部首表示手段と、表示された前記候補部首から検索部首を選択する検索部首選択手段と、選択された前記検索部首による部首検索を行ってその検索結果の漢字を表示する検索結果表示手段と、を備え、前記候補部首表示手段は、表示すべき候補部首に予め対応づけられ且つ予め変形方法が定められた漢字のフォントデータを画像に展開して前記変形方法に従って変形して前記候補部首の画像として表示する漢字変形部首表示手段を有することを特徴とする。
【0010】
この文字処理装置では、部首検索の候補部首を表示し、候補部首から検索部首を選択し、検索部首による部首検索を行って、その検索結果の漢字を表示できるが、表示すべき候補部首に予め対応づけられ且つ予め変形方法が定められた漢字のフォントデータを画像に展開して前記変形方法に従って変形して前記候補部首の画像として表示する。このため、表示すべき候補部首に変形可能な類似形の漢字が存在する場合、部首表示用に格別のフォントデータを用意する必要がなく、その分の記憶容量を節約できる。
【0011】
また、本発明の文字処理装置の文字処理方法は、内蔵の記憶手段内にフォントデータとして記憶された複数の漢字を検索対象として、部首検索のために選択可能な候補部首を表示し、その中から選択された検索部首により部首検索をして、検索結果の漢字を表示する文字処理装置の文字処理方法であって、表示すべき候補部首に予め対応づけられた漢字のフォントデータを画像に展開して、その展開画像をそのまま、または前記展開画像の一部を抽出して、または前記展開画像を変形して、前記候補部首の画像として表示することを特徴とする。
【0012】
この文字処理方法は、記憶された複数の漢字を検索対象として、部首検索のために選択可能な候補部首を表示し、その中から検索部首を選択し、選択された検索部首により部首検索をして、検索結果の漢字を表示できるが、表示すべき候補部首に予め対応づけられた漢字のフォントデータを画像に展開して、その展開画像をそのまま、または展開画像の一部を抽出して、または展開画像を変形して、候補部首の画像として表示するので、同形の漢字が存在する部首については、または表示すべき候補部首を一部に含む漢字が存在する場合、または表示すべき候補部首に変形可能な類似形の漢字が存在する場合、部首表示用に格別のフォントデータを用意する必要がなく、その分の記憶容量を節約できる。
【0013】
また、上述した各文字処理装置において、前記候補部首表示手段は、表示する部首の画数を指定する部首画数指定手段を有して、指定された画数の候補部首のみを表示することが好ましい。
【0014】
この文字処理装置では、表示する部首の画数を指定する部首画数指定手段を有して、指定された画数の候補部首のみを表示するので、部首の画数の指定により、候補部首を絞ることができ、検索部首をさらに容易に選択できる。
【0017】
【発明の実施の形態】
以下、本発明の一実施形態に係るテープ印刷装置について、添付図面を参照しながら詳細に説明する。図1は、テープ印刷装置の制御系のブロック図である。このテープ印刷装置1は、キー入力した所望の文字などに基づいて作成した印刷画像を、テープTにサーマル方式でカラー印刷すると共に、このテープTの印刷部分を切断してラベルを作成するものである。
【0018】
テープTは、基材テープと粘着層と剥離紙テープとで構成され、基材テープは、紙やコート層を有する紙、あるいはコート層を有するフィルム等のインクを十分吸収できる素材で構成される。粘着層は、ファイルなどの貼付対象物に貼り付けるためのものであり、剥離紙テープは、粘着層にゴミなどが付着するのを防止するためのものである。テープTには、テープ幅4.5mm〜48mm程度の各種のものが用意され、テープカートリッジCに収容された状態で提供され、テープ幅に応じて幅方向24ドット〜1024ドット程度の解像度の印刷画像が印刷される。
【0019】
図1に示すように、テープ印刷装置1は、基本的な構成として、キーボード3やディスプレイ4を有してユーザとのインタフェースを行う操作部11と、サーマル方式の印刷ヘッド7によりテープカートリッジCのテープTに印刷を行う印刷部12と、印刷後のテープTの切断を行う切断部13と、各種センサを有して各種検出を行う検出部14と、各種ドライバを有して各部回路を駆動する駆動部270と、外部メモリ(ファイルパック)を着脱可能な外部メモリ装着部280と、電源部290と、テープ印刷装置1内の各部を制御する制御部200と、を備えている。
【0020】
このため、装置内部には、印刷部12、切断部13、検出部14、外部メモリ装着部280などの他、図外の回路基板が収納されている。この回路基板には、電源部290の他、駆動部270や制御部200の各回路などが搭載されている。電源部290の電源ユニットは、ACアダプタ接続口や外部から着脱可能なニッカド電池等の電池に接続され、テープ印刷装置1内の各部に電力を供給する。
【0021】
詳細な図示はしないが、まず、印刷部12では、テープカートリッジCは、カートリッジケースの内部にテープTとインクリボンRとを収容して構成されており、印刷部12のポケットに配設されたヘッドユニットに内蔵された印刷ヘッド(サーマルヘッド)7に対応して装着される。また、テープカートリッジCには、内蔵するテープTの相異なる幅等の種別を識別できるように、裏面に小さな複数の孔が設けられている。
【0022】
また、上記のポケットには、この孔の有無を検出するマイクロスイッチなどのテープ識別センサと、環境(周囲)温度を検出して報告するサーミスタなどの周囲温度センサと、印刷ヘッド7の表面に密着してサーミスタなどのヘッド表面温度センサが設けられている。また、印刷部12のテープ送り部は、上記のポケットの側方に配設したテープフィードモータ(TFモータ)を動力(駆動)源としていて、ポケットには、さらにTFモータ(DCモータ)の回転数を検出するためのエンコーダを有する回転速度センサが設けられている。
【0023】
図1では、制御系の説明の便宜上、検出部14が、上述したテープ識別センサ、周囲温度センサ、ヘッド表面温度センサ、および回転速度センサを備えているものとしている。ここで、検出部14は、これらのセンサにより検出した各種検出信号を制御部200に報告する。
【0024】
次に、切断部13は、送りだしたテープTを切断するテープカッタとそれを切断動作させるカッタモータとを備えている。装置ケースには、ポケットと装置外部とを連通するテープ排出口が形成され、テープ排出口には、上記のテープカッタが臨んでいる。
【0025】
テープ印刷装置1では、ユーザは、印刷部12のポケットにテープカートリッジCを装着した後、キーボード3により所望のキャラクタ(文字、数字、記号、図形等)などの印刷画像の情報を入力し、同時にディスプレイ4により入力結果を確認すると共に編集を行う。その後、キーボード3を介して印刷を指示すると、印刷部12のテープ送り部が駆動され、テープカートリッジCからテープTを繰り出すと同時に、印刷ヘッド7が駆動して、テープTに所望の印刷を行う。テープTの印刷済み部分は、印刷動作に並行してテープ排出口から随時外部に送り出され、余白分を含むテープ長さに適合した所定の切断位置がテープカッタの位置まで送られて、カットされる。
【0026】
駆動部270は、ディスプレイドライバ、ヘッドドライバ、モータドライバを備え、ディスプレイドライバは、制御部200から出力される制御信号に基づき、その指示に従って、操作部11のディスプレイ4を駆動する。同様に、ヘッドドライバは、印刷ヘッド7を駆動し、モータドライバは、印刷部12のTFモータを駆動するTFモータドライバと、切断部13のカッタモータを駆動するカッタモータドライバとを有して、各モータを駆動する。
【0027】
次に、テープ印刷装置1では、ユーザは、RAM240の補助記憶として、文書ファイル等を多数記憶可能な外部メモリ(以下「ファイルパック」)281を着脱自在に装着できるようになっている。このファイルパック281は、SRAMを1つまたは複数(例えば2個)搭載して構成され、テープ印刷装置1から外しても記憶したデータを保持しておくように電池等によりバックアップされている。また、外部メモリ装着部280のポケットにファイルパック281を装着すると、ユーザからはRAM240の記憶領域の一部(例えば1つのディレクトリ等)に見えるように機能し、制御処理の作業領域として使用される。
【0028】
また、操作部11は、キーボード3とディスプレイ4とを備えている。ディスプレイ4は、横方向(X方向)約8cm×縦方向(Y方向)4cmの長方形の形状の内側に、例えば198ドット×64ドットの表示画像データを表示可能な表示画面41を有し、文字、数字、記号、簡易図形等のキャラクタ(以下、これらを代表して「文字」といい、キャラクタの意味で使用)を配置した文字列画像やそれを含む印刷画像を表現するマトリクスデータを作成・編集したり、その結果等を視認したり、キーボード3から各種指令・選択指示等を入力したりする際などに用いられる。
【0029】
キーボード3には、(いずれも図示しない)アルファベットキー群、記号キー群、数字キー群、平仮名や片仮名等の仮名キー群、および外字を呼び出して選択するための外字キー群等を含む文字キー群31の他、各種の動作モードなどを指定するための機能キー群32などが配列されている。
【0030】
機能キー群32には、図外の電源キー、印刷動作を指示するための印刷キー322、テキスト入力時のデータ確定や改行および選択画面における各種モードの選択指示のための選択キー323、並びに、それぞれ上(「↑」)、下(「↓」)、左(「←」)、右(「→」)方向へのカーソル移動や表示画面41の表示範囲を移動させるための4個のカーソルキー330(330U、330D、330L、330R:以下「カーソル「↑」キー330U」などという。ただし、代表して表現するときは「カーソルキー330」という。)が含まれる。
【0031】
機能キー群32には、さらに、未確定文字や確定済みの1文字を削除でき且つ全文消去を指示可能な削除キー325、各種指示を取り消すための取消キー326などの他、後述の漢字変換指示の変換キー336、無変換指示の無変換キー337、漢字検索キー340、漢字変換キー341などが含まれる。
【0032】
図1に示すように、キーボード3は、上述のような種々の指令およびデータを制御部200に入力する。制御部200は、CPU210、ROM220、キャラクタジェネレータROM(CG−ROM)230、RAM240、入出力制御回路(IOC)250を備え、互いに内部バス260により接続されている。
【0033】
ROM220は、CPU210で処理する制御プログラムを記憶する制御プログラム領域221の他、仮名漢字変換テーブル(辞書)、色変換テーブル、文字修飾テーブルなどを含む制御データを記憶する制御データ領域222を有している。CG−ROM230は、テープ印刷装置1に用意されている文字等のフォントデータを記憶していて、文字等を特定するコードデータが与えられたときに、対応するフォントデータを出力する。
【0034】
RAM240は、電源キーの操作により電源がオフにされても、記憶したデータを保持しておくようにバックアップされていて、各種フラグ等として使用される各種レジスタ群241、ユーザがキーボード3から入力した文字等のテキストデータを記憶するテキストデータ領域242、ディスプレイ4の表示画面の表示画像データを記憶する表示画像データ領域243、印刷画像データを記憶する印刷画像データ領域244、描画登録画像データを記憶する描画登録画像データ領域245、外字登録画像データを記憶する外字登録画像データ領域246、背景画の候補となる背景画像データや対応する文字色データを記憶する背景画像データ領域247、文字展開バッファ、色変換バッファ、基本色別配置バッファ、印刷バッファなどの各種バッファ領域248などの領域を有し、制御処理のための作業領域として使用される。
【0035】
IOC250には、CPU21の機能を補うとともに各種周辺回路とのインタフェース信号を取り扱うための論理回路が、ゲートアレイやカスタムLSIなどにより構成されて組み込まれている。例えば、種々の計時を行うタイマなどもIOC250内の機能として組み込まれている。このため、IOC250は、検出部14の各種センサやキーボード3と接続され、検出部14からの各種検出信号およびキーボード3からの各種指令や入力データなどをそのままあるいは加工して内部バス260に取り込むとともに、CPU210と連動して、CPU210等から内部バス260に出力されたデータや制御信号を、そのままあるいは加工して駆動部270に出力する。
【0036】
また、IOC250は、外部メモリ装着部280と接続され、RAM240に対するアクセスのうち、実際にはファイルパック281に対するアクセスとなるデータの入出力を制御し、これにより、ファイルパック281を装着したときに、ユーザからは外見上(ファイル等の扱い上)、RAM240を増設した(RA240のメモリ容量を増加させた)ように見えるように制御する。そこで、以下、特に断らない限り、RAM240にはファイルパック281分のメモリ容量を含み、RAM240内にファイルパック281に記憶したデータがあるものとして説明する(理解しやすいように、ファイルパック領域249として図示するが、実際には上記の各領域の一部または全部を分担させることもできる)。
【0037】
そして、CPU210は、上記の構成により、ROM220内の制御プログラムに従って、IOC250を介してテープ印刷装置1内の各部から各種信号・データ等を入力し、CG−ROM230からのフォントデータ、RAM240(上述のように、ファイルパック領域249(ファイルパック281分)を含む)内の各種データ等を処理し、IOC250を介してテープ印刷装置1内の各部に各種信号・データ等を出力することにより、印刷の位置制御、表示画面41の表示制御等を行うとともに、印刷ヘッド7を制御して所定の印刷条件でテープTに印刷するなど、テープ印刷装置1全体を制御している。
【0038】
次に、テープ印刷装置1の制御全体の処理フローについて、図2を参照して説明する。電源キーを押すこと(電源オン)により処理が開始すると、同図に示すように、まず、テープ印刷装置1を、前回の電源オフ時の状態に戻すために、退避していた各制御フラグを復旧するなどの初期設定を行い(S1)、次に、前回の表示画面を初期画面として表示する(S2)。
【0039】
図2のその後の処理、すなわちキー入力か否かの判断分岐(S3)および各種割込処理(S4)は、概念的に示した処理である。実際には、テープ印刷装置1では、初期画面表示(S2)が終了すると、キー入力割込を許可し、キー入力割込が発生するまでは、そのままの状態を維持し(S3:No)、何らかのキー入力割込が発生すると(S3:Yes)、それぞれの割込処理に移行して(S4)、その割込処理が終了すると、再度、その状態を維持する(S3:No)。
【0040】
上述のように、テープ印刷装置1では、主な処理を割込処理により行うので、印刷画像作成などの準備ができていれば、ユーザが任意の時点で印刷キー322を押すことにより、印刷処理割込が発生して、印刷処理が起動され、印刷画像データに基づいて印刷画像の印刷ができる。すなわち、印刷に至るまでの操作手順は、ユーザが任意に選択できる。
【0041】
例えば図3に示すように、1行目の文字(キャラクタ)列「あいう」を入力後のテキスト編集画面表示の状態で(画面T10:以下、ディスプレイ4の表示画面41の表示状態を画面T××で表現し、参照番号としてはT××のみで示す。また、カーソル位置はカーソルKで図示する。また、ZmはカーソルK直前の2文字分をズーム(拡大表示)したものである。)、ユーザにより印刷キー322が押されると、「印刷中」のメッセージの表示とともに文字列「あいう」の文字列画像を印刷画像として印刷し(T11)、印刷が終了すると、元のテキスト編集画面に戻る(T12:T10と同じ)。この種の処理は従来と同様なので、詳細な説明は省略する。
【0042】
ところで、テープ印刷装置1では、漢字を入力する際に、その漢字を部首により検索できるようになっているので、以下、その点について説明する。
【0043】
まず、図4に示すように、図3で上述と同様のテキスト編集画面を表示した状態で(T10)、ユーザにより漢字検索キー340が押されると(操作されると)、同図に示すように、漢字検索をするための第1階層(図5参照)の選択画面を表示する(T20)。なお、ユーザは、キー入力による各種指示を取消キー326により取り消すことができ、この第1階層の状態(T20)から取消キー326を押すことにより、元のテキスト編集画面表示(T10)に戻すことができる(このほか、例えば漢字検索キー340を再度押下すると元に戻るなど、他のキーの操作に変更またはそれらと兼用しても良いが、以下では、取消キー326によるものとし、また、特に断らないかぎり、その作用は同様なので、以下での説明は省略する)。
【0044】
また、この選択画面(T20)では、第1階層の選択肢として、従来からと同様の「コード入力」も可能であり、ユーザはこれらの選択肢のうちのいずれかを、カーソルキー330を操作して反転表示させ、選択キー323を押すことにより、反転表示された選択肢を選択・指定できる(この意味で以下「選択表示」という)。ここでは、「部首検索」が選択(選択表示)されて、選択キー323が押されると、「部首検索」の下位の「部首画数」の入力画面(第2階層:図5参照)に遷移する(T21)。この状態から(T21)、例えば画数「5」が入力されると(T22)、5画の部首選択の画面(第3階層:図5参照)を表示する(T23)。
【0045】
ユーザは、この状態から(T23)、カーソル「↓」キー330Dまたはカーソル「→」キー330Rまたは変換キー336(以下略して、カーソルキー330DRといい、同図に示すように右下向きの黒三角表示のキーで図示する)を操作して、順次、次の候補を表示して(カーソルKの位置の候補を)指定でき、逆に、カーソル「↑」キー330Uまたはカーソル「←」キー330Lまたは無変換キー337(以下略して、カーソルキー330ULといい、左上向きの黒三角表示のキーで図示する)を操作して、逆順に候補を表示して指定できる。
【0046】
なお、上述の状態から(T21)、2桁の画数、例えば画数「12」も入力でき(T25〜T26)、次に、12画の部首を表示して選択可能とするが、3桁目(例えば「3」)が入力されたとき(すなわち例えば「123」が入力されたとき)には、弱い警告(あるいはエラー表示)によりその旨を報知した後、表示をクリアする。
【0047】
ここでは、5画の部首のうちの「田」が選択されたものとすると(T24:図4と図6で共通)、図6に示すように、下位の「漢字部首 田」の画面(第4階層:図5参照)に遷移する(T30:図7と共通)。この状態では(T30)、直接、漢字検索に移行する「検索開始」の選択肢と、検索の対象を漢字の総画数で絞ってから検索するための「総画数」の選択肢とを選択できる。
【0048】
ここでは、「検索開始」が選択されたとすると(T30)、部首が「田」の(いわゆる「田の部」の)漢字の検索結果(第5階層:図5参照)を、画数順に例えば「田由甲申男……胃思毘畏界畑……」のように順次表示するので、ユーザはカーソル操作によりいずれかを選択できる(T31〜T32)。なお、この選択画面(T31〜T32)からは取消キー326以外にも、削除キー325や漢字変換キー341の操作により上位画面に戻せるようになっている。
【0049】
ここでは、「畏」が選択されたとすると(T32)、テキスト編集画面においてカーソル位置に「畏」を挿入した状態にする(T33)。すなわち、図4および図6で上述の一連の操作により、部首引きによる所望の漢字の検索・挿入が完了して、文字列は「あいう畏」となり、カーソル直前の「う畏」が拡大表示された状態となる。
【0050】
次に、図7に示すように、上述の「漢字部首 田」の画面(図6と共通のT30:第4階層:図5参照)で、「総画数」の選択肢が選択されると(T40)、下位の「総画数」の入力画面(第5階層:図5参照)に遷移する(T41)。この状態から(T41)、例えば画数「9」が入力されると(T42)、「田の部」(部首が「田」)の9画の漢字の検索結果(第6階層:図5参照)を、例えば「胃思毘畏界畑……」のように順次表示するので、ユーザはカーソル操作によりいずれかを選択できる(T43〜T44)。
【0051】
ここでは、図6の例と同様に「畏」が選択されたとすると(T44)、テキスト編集画面においてカーソル位置に「畏」を挿入した状態にする(T45:図6のT33と同じ状態)。すなわち、図4、図6および図7で上述の一連の操作により、部首引きによる所望の漢字の検索・挿入が完了して、文字列は「あいう畏」となり、カーソル直前の「う畏」が拡大表示された状態となる。なお、上述の例の各表示画面では、「漢字検索」「部首検索」「部首選択」「漢字部首 ◆(田など)」「(検索候補漢字:田など)」などのいわばタイトルを最上行に表示して、表示画面(または表示階層)を明示したが、これらも必要に応じて、任意の仕様にできるし、例えば異なる階層のタイトルが同一でも支障はない。
【0052】
ところで、上述の例における部首「田」は、図8に楕円で示す各所で使用され表示された(T50〜T55:()内は図4、図6、図7の対応画面 )。この「田(た)の部」(図9の部首No.5−8参照)の場合、漢字の「田」をそのまま部首として表示しても、イメージが把握できるので、支障がない。
【0053】
しかし、種々の部首のなかには、図9〜図10に示すように、例えば「なべぶたの部」(部首No.2−2)の「なべぶた」(図12の「かんむり」参照)のように、通常の文字(キャラクタ)では表示できない部首も多い。
【0054】
また、「りっしんべん」(部首No.3−32)や「てへん」(部首No.3−33)などは、元になる漢字の「心(こころ)」(部首No.4−1)や「手(て)」(部首No.4−4)が知られていて、漢和辞典などでは「こころ・りっしんべんの部」や「て・てへんの部」として同じ部首のグループに入れられるが、部首として表示するのであれば、部首のイメージのまま表示したい場合も多い(図11のT60参照)。
【0055】
また、部首画数により検索範囲を絞るという意味では、漢字検索も「心(こころ)」等と同じグループとするより(同図のT61)、個別に扱えるほうが好ましい(T62〜T63)。
【0056】
また、「木(き)」(部首No.4−15)にしても、「き」と「きへん」の部を同じ部首グループにする(T64)ばかりでなく、同じ画数ではあっても、個別に扱える方が便利になる(T65〜T66)。
【0057】
しかし、従来の部首引き(部首検索)が可能なワープロ等と同様に、一般の漢字用のフォントデータ以外に、部首検索用に(すなわち部首引きの選択操作のための表示用に)別のフォントデータを用意(記憶)するのでは、部首の種類が多いだけにその分の記憶容量が問題となる。
【0058】
そこで、本実施形態のテープ印刷装置1では、一般の漢字用のフォントデータを流用することにより、この問題を解決している。以下、この点について、詳述する。
【0059】
まず、前述の「田」のように、同形の漢字が存在する部首については、その漢字のフォントデータを流用する。このタイプ(タイプAとする)では、図13に示すように、例えば漢字の「木」(のフォントデータに基づいて展開した画像A−0)を流用して、いわゆる「木の部」、すなわち「木」、「林」、「机」、「本」、……など(図13の下欄の漢字全て)を含む「木の部」を部首検索するための部首(の画像A−1)を表示できる。
【0060】
これにより、テープ印刷装置1では、同形の漢字が存在する部首については、部首表示用に格別のフォントデータを用意する必要がなく、その分の記憶容量を節約できる。
【0061】
一方、図12に示す前述の「なべぶた」(「かんむり」参照)のように、同形の漢字が存在しない部首については、図示の例の「亡」のように「なべぶた」を部首とする漢字のフォントデータを展開した画像の、その部首の部分(この例では「かんむり」(斜線)の部分)を抽出して部首表示に利用する。
【0062】
すなわち、このタイプ(タイプBとする)では、図13に示すように、例えば漢字の「林」(のフォントデータに基づいて展開した画像B−0)を流用し、その部首の部分(この例では「へん」の部分)を抽出して、「キヘン(の部)」、すなわち「林」、「机」、「材」、「村」、……などを含む「キヘン」の漢字を部首検索するための部首(の画像B−1)を表示できる。
【0063】
これにより、テープ印刷装置1では、表示すべき部首を一部に含む漢字が存在する場合、部首表示用に格別のフォントデータを用意する必要がなく、その分の記憶容量を節約できる。
【0064】
なお、この場合の「抽出」には、同図に示すように、一部を文字通り「抽出する」概念の方法(操作、処理)のほか、不要部を例えば背景色により「塗りつぶす」概念の方法(操作、処理)をも含む。
【0065】
また、この種の抽出の代わりに、類似形の漢字を変形して流用することもできる。例えば図13に示すように、このタイプ(タイプCとする)では、例えば漢字の「木」(のフォントデータに基づいて展開した画像C−0)を流用し、それを横方向に縮小し(さらに少し「木」の片方の足を短くして)、上述と同様の「キヘン」の漢字を部首検索するための部首(の画像C−1)を表示できる。
【0066】
また、このほか、部首のしての名称が無くても、図示の部首画像C−2のように(縦に縮小して)変形して、平たい「木」を含む漢字を部首検索できるようにし、その他を「木」の部首画像C−3に対応する漢字として、さらに絞った部首検索ができるようにしても良い。
【0067】
これらにより、テープ印刷装置1では、表示すべき部首に変形可能な類似形の漢字が存在する場合、部首表示用に格別のフォントデータを用意する必要がなく、その分の記憶容量を節約できる。
【0068】
また、上述の文字処理方法を実行するプログラムをCD等を初めとする記憶媒体に記憶しておけば、それを実行可能な任意の情報処理装置(文字処理装置)に実装(装着)して、記憶されたプログラムを読み出して実行することにより、同様に、部首表示用に格別のフォントデータを記憶することなく、漢字の部首検索のための部首を表示可能とし、その分の記憶容量を節約できる。もちろん、その他、本発明の要旨を逸脱しない範囲で、適宜変更も可能である。
【0069】
【発明の効果】
上述のように、本発明の文字処理装置および文字処理装置の文字処理方法によれば、部首表示用に格別のフォントデータを記憶することなく、漢字の部首検索のための部首を表示可能とし、その分の記憶容量を節約できる、などの効果がある。
【図面の簡単な説明】
【図1】本発明の一実施形態に係るテープ印刷装置の制御系のブロック図である。
【図2】図1のテープ印刷装置の制御全体の概念的処理を示すフローチャートである。
【図3】印刷をするときの一例を示す、表示画面およびその表示画面上での典型的な操作の説明図である。
【図4】漢字検索をするときの一例を示す、図3と同様の説明図である。
【図5】漢字検索のための画面表示の階層構成を示す説明図である。
【図6】部首を選択後、直接、検索開始を選択して漢字検索をするときの、図3と同様の説明図である。
【図7】部首を選択後、総画数を指定して検索対象を絞ってから漢字検索をするときの、図3と同様の説明図である。
【図8】部首表示の表示例を示す説明図である。
【図9】部首索引表の一例を示す説明図である。
【図10】図9に続く、図9と同様の説明図である。
【図11】図8とは別の部首表示の表示例を示す説明図である。
【図12】部首抽出の抽出部の例を示す説明図である。
【図13】一般の漢字のフォントデータを流用した部首表示の例を示す説明図である。
【符号の説明】
1 テープ印刷装置
3 キーボード
4 ディスプレイ
7 印刷ヘッド
11 操作部
12 印刷部
13 切断部
14 検出部
41 表示画面
200 制御部
210 CPU
220 ROM
230 キャラクタジェネレータROM(CG−ROM)
240 RAM
250 入出力制御回路(IOC)
260 内部バス
270 駆動部
280 外部メモリ装着部
290 電源部
C テープカートリッジ
T テープ
[0001]
BACKGROUND OF THE INVENTION
  The present invention relates to a character processing device capable of searching and displaying Chinese characters and a character processing method of the character processing device.
[0002]
[Prior art]
In conventional character processing devices (such as word processors) capable of so-called Kanji radicals (group search), in addition to general Kanji font data, usually for radical search (ie, radical pull selection operation) Separate font data is prepared (stored) for display, and when searching for radicals, the radicals are developed and displayed.
[0003]
[Problems to be solved by the invention]
In other words, in addition to the font data for Chinese characters that are searched for radicals, a storage capacity for the font data for radical display for radical searches is required.
[0004]
  Accordingly, the present invention provides a character processing apparatus and character processing that can display radicals for searching radicals of kanji without storing special font data for radical display, and can save the storage capacity accordingly. An object of the present invention is to provide a character processing method for an apparatus.
[0005]
[Means for Solving the Problems]
  Of the present inventionFirstOne character processing device is a character processing device having font storage means for storing font data of a plurality of kanji characters, for searching for radicals of kanji stored as font data.Selectable candidatesShow radicalsCandidateRadical display means and displayedSearch radical selection means for selecting a search radical from the candidate radicals, and the selected searchSearch result display means for performing radical search by radical and displaying the kanji of the search result,CandidateThe radical display means should displayCandidateradicalPre-associated withThe same type of Kanji font dataCandidateIt has the same shape Chinese character radical display means which expand | deploys and displays as a radical image.
[0006]
  In this character processing apparatus, candidate radicals that can be selected for radical search of kanji are displayed, a search radical is selected from the displayed candidate radicals, and radical search is performed by the selected search radical. The search result kanji can be displayed, but the same-shaped kanji exists by expanding and displaying the font data of the same kanji that is associated with the candidate radical to be displayed in advance as an image of the candidate radical. For the radical to be performed, it is not necessary to prepare special font data for the radical display, and the storage capacity can be saved.
[0007]
  The second character processing device of the present invention is a character processing device incorporating font storage means for storing a plurality of kanji font data, and is selected for radical search of kanji stored as font data. A candidate radical display means for displaying possible candidate radicals, a search radical selection means for selecting a search radical from the displayed candidate radicals, and a radical search by the selected search radical Search result display means for displaying the kanji of the search result, wherein the candidate radical display means images the font data of kanji previously associated with the candidate radical to be displayed and pre-extracted. And a partial extraction radical display means for extracting the extracted part image and displaying it as the candidate radical image.
[0008]
  In this character processing device, a candidate radical for radical search can be displayed, a search radical can be selected from the candidate radicals, a radical search can be performed by the search radical, and the kanji of the search result can be displayed. The kanji font data associated with the candidate radicals to be pre-determined and the extraction part is determined in advance is developed into an image, and the extracted part image is extracted and displayed as a candidate radical image. For this reason, when there is a Chinese character that partially includes a candidate radical to be displayed, it is not necessary to prepare special font data for radical display, and the corresponding storage capacity can be saved.
[0009]
  Also,A third character processing device of the present invention is a character processing device incorporating font storage means for storing a plurality of kanji font data, and can be selected for radical search of kanji stored as font data. Candidate radical display means for displaying candidate radicals, search radical selection means for selecting a search radical from the displayed candidate radicals, and a search by performing a radical search by the selected search radical Search result display means for displaying the resulting kanji characters, wherein the candidate radical display means develops into the image kanji font data that has been previously associated with the candidate radicals to be displayed and whose transformation method has been determined in advance. And a kanji deformed radical display means for deforming and displaying as an image of the candidate radical according to the deforming method.It is characterized by that.
[0010]
  This character processing deviceIn placeIsCandidate radicals for radical search can be displayed, search radical can be selected from candidate radicals, radical search by search radical can be performed, and the kanji of the search result can be displayed, but the candidate radical to be displayed Pre-corresponding and predetermining deformation methodExpand Kanji font data into imagesThe candidate is transformed according to the transformation methodDisplay as radical image. For this reason, it should be displayedCan be transformed into a candidate radicalWhen kanji exists, it is not necessary to prepare special font data for radical display, and the storage capacity can be saved.
[0011]
  Further, the character processing method of the character processing device of the present invention displays a candidate radical that can be selected for radical search, using a plurality of kanji stored as font data in the built-in storage means as a search target, A character processing method of a character processing apparatus for displaying a kanji as a search result by performing a radical search with a search radical selected from among them, and a kanji font pre-associated with a candidate radical to be displayed Data is developed into an image, and the developed image is displayed as it is, or a part of the developed image is extracted or the developed image is transformed and displayed as the candidate radical image.
[0012]
  thisThe character processing method is,RecordSearch multiple remembered kanjido it,For radical searchSelectable candidatesShow radicalsSelect a search radical from the list and select the search radical.Radical searchAndCan display search results kanjiBut,Should be displayedCandidateradicalPre-associated withExpand Kanji font data into images, Extract the expanded image as it is, or extract a part of the expanded image, or extract the expanded imageTransform, CandidateDisplay as radical imageSo, for radicals with the same shape of Kanji, or when there is a Kanji that includes a candidate radical to be displayed, or there is a similar Kanji that can be transformed into a candidate radical to be displayed Therefore, it is not necessary to prepare special font data for the radical display, and the storage capacity can be saved.
[0013]
  Each of the aboveCharacter processing deviceThe candidate radical display means preferably has radical number designation means for designating the number of strokes to be displayed, and displays only candidate radicals having the designated number of strokes.
[0014]
  This character processing apparatus has a radical number designation means for designating the number of radicals to be displayed and displays only the candidate radicals having the designated number of strokes. The search radical can be selected more easily.
[0017]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, a tape printer according to an embodiment of the present invention will be described in detail with reference to the accompanying drawings. FIG. 1 is a block diagram of a control system of the tape printer. The tape printer 1 prints a print image created based on a desired character input by a key on a tape T by a thermal method and cuts a printed portion of the tape T to create a label. is there.
[0018]
The tape T is composed of a base tape, an adhesive layer, and a release paper tape, and the base tape is composed of a material that can sufficiently absorb ink such as paper, paper having a coat layer, or a film having a coat layer. The adhesive layer is for attaching to an object to be attached such as a file, and the release paper tape is for preventing dust and the like from adhering to the adhesive layer. Various types of tape T having a tape width of about 4.5 mm to 48 mm are prepared and provided in a state of being accommodated in the tape cartridge C, and printing with a resolution of about 24 dots to 1024 dots in the width direction according to the tape width. The image is printed.
[0019]
As shown in FIG. 1, the tape printing apparatus 1 has, as a basic configuration, an operation unit 11 that has a keyboard 3 and a display 4 to interface with a user, and a thermal print head 7 that includes a tape cartridge C. A printing unit 12 that prints on the tape T, a cutting unit 13 that cuts the tape T after printing, a detection unit 14 that has various sensors and performs various detections, and has various drivers to drive each circuit. And a drive unit 270, an external memory mounting unit 280 to which an external memory (file pack) can be attached and detached, a power supply unit 290, and a control unit 200 that controls each unit in the tape printer 1.
[0020]
Therefore, in addition to the printing unit 12, the cutting unit 13, the detection unit 14, the external memory mounting unit 280, and the like, a circuit board (not shown) is accommodated in the apparatus. In addition to the power supply unit 290, each circuit of the drive unit 270 and the control unit 200 is mounted on the circuit board. The power supply unit of the power supply unit 290 is connected to an AC adapter connection port or a battery such as a nickel-cadmium battery that can be removed from the outside, and supplies power to each unit in the tape printer 1.
[0021]
Although not shown in detail, first, in the printing unit 12, the tape cartridge C is configured to accommodate the tape T and the ink ribbon R inside the cartridge case, and is disposed in the pocket of the printing unit 12. A print head (thermal head) 7 incorporated in the head unit is mounted. Further, the tape cartridge C is provided with a plurality of small holes on the back surface so that different types such as different widths of the tape T incorporated therein can be identified.
[0022]
Further, in the above pocket, a tape identification sensor such as a micro switch for detecting the presence or absence of the hole, an ambient temperature sensor such as a thermistor for detecting and reporting the environmental (ambient) temperature, and the surface of the print head 7 are in close contact with each other. A head surface temperature sensor such as a thermistor is provided. The tape feeding section of the printing section 12 uses a tape feed motor (TF motor) disposed on the side of the pocket as a power (drive) source, and the pocket further rotates a TF motor (DC motor). A rotational speed sensor having an encoder for detecting the number is provided.
[0023]
In FIG. 1, for convenience of explanation of the control system, the detection unit 14 includes the tape identification sensor, the ambient temperature sensor, the head surface temperature sensor, and the rotation speed sensor described above. Here, the detection unit 14 reports various detection signals detected by these sensors to the control unit 200.
[0024]
Next, the cutting unit 13 includes a tape cutter that cuts the tape T that has been fed and a cutter motor that performs a cutting operation. The device case is formed with a tape discharge port that communicates the pocket with the outside of the device, and the tape cutter faces the tape discharge port.
[0025]
In the tape printer 1, the user installs the tape cartridge C in the pocket of the printing unit 12, and then inputs information of a print image such as a desired character (letters, numbers, symbols, figures, etc.) using the keyboard 3. The input result is confirmed and edited on the display 4. Thereafter, when printing is instructed via the keyboard 3, the tape feeding unit of the printing unit 12 is driven to feed the tape T from the tape cartridge C, and at the same time, the print head 7 is driven to perform desired printing on the tape T. . The printed part of the tape T is sent to the outside from the tape outlet at any time in parallel with the printing operation, and a predetermined cutting position suitable for the tape length including the margin is sent to the position of the tape cutter and cut. The
[0026]
The drive unit 270 includes a display driver, a head driver, and a motor driver. The display driver drives the display 4 of the operation unit 11 according to an instruction based on a control signal output from the control unit 200. Similarly, the head driver drives the print head 7, and the motor driver has a TF motor driver that drives the TF motor of the printing unit 12, and a cutter motor driver that drives the cutter motor of the cutting unit 13. Each motor is driven.
[0027]
Next, in the tape printer 1, the user can detachably attach an external memory (hereinafter “file pack”) 281 capable of storing a large number of document files or the like as auxiliary storage in the RAM 240. The file pack 281 includes one or a plurality of (for example, two) SRAMs, and is backed up by a battery or the like so as to retain the stored data even after being removed from the tape printer 1. Further, when the file pack 281 is mounted in the pocket of the external memory mounting unit 280, it functions so as to appear to the user as a part of the storage area of the RAM 240 (for example, one directory) and is used as a work area for control processing. .
[0028]
The operation unit 11 includes a keyboard 3 and a display 4. The display 4 has a display screen 41 capable of displaying display image data of, for example, 198 dots × 64 dots inside a rectangular shape of about 8 cm in the horizontal direction (X direction) × 4 cm in the vertical direction (Y direction). Create matrix data to represent character string images and printed images that contain characters such as numbers, symbols, simple figures, etc. (hereinafter referred to as “characters” and used in the meaning of characters) This is used when editing, visually confirming the result, or inputting various commands / selection instructions from the keyboard 3.
[0029]
The keyboard 3 includes a character key group including an alphabet key group (not shown), a symbol key group, a numeric key group, a kana key group such as hiragana and katakana, and an external character key group for calling and selecting an external character. In addition to 31, a function key group 32 for designating various operation modes and the like are arranged.
[0030]
The function key group 32 includes a power key (not shown), a print key 322 for instructing a printing operation, a selection key 323 for instructing data selection at the time of text input, line feed, and various modes on a selection screen, and Four cursor keys for moving the cursor in the upward (“↑”), downward (“↓”), left (“←”), and right (“→”) directions and to move the display range of the display screen 41, respectively. 330 (330U, 330D, 330L, 330R: hereinafter referred to as “cursor“ ↑ ”key 330U”, etc. However, when represented representatively, it is referred to as “cursor key 330”).
[0031]
The function key group 32 further includes a delete key 325 that can delete an unconfirmed character or a single confirmed character and can instruct to erase the whole sentence, a cancel key 326 for canceling various instructions, and a kanji conversion instruction to be described later. Conversion key 336, no conversion instruction no conversion key 337, kanji search key 340, kanji conversion key 341, and the like.
[0032]
As shown in FIG. 1, the keyboard 3 inputs various commands and data as described above to the control unit 200. The control unit 200 includes a CPU 210, a ROM 220, a character generator ROM (CG-ROM) 230, a RAM 240, and an input / output control circuit (IOC) 250, which are connected to each other via an internal bus 260.
[0033]
The ROM 220 has a control data area 222 for storing control data including a kana-kanji conversion table (dictionary), a color conversion table, a character modification table and the like in addition to a control program area 221 for storing a control program processed by the CPU 210. Yes. The CG-ROM 230 stores font data such as characters prepared in the tape printer 1 and outputs corresponding font data when code data specifying the characters or the like is given.
[0034]
The RAM 240 is backed up so as to retain the stored data even when the power is turned off by the operation of the power key. Various registers 241 used as various flags and the like are input from the keyboard 3 by the user. A text data area 242 for storing text data such as characters, a display image data area 243 for storing display image data on the display screen of the display 4, a print image data area 244 for storing print image data, and a drawing registration image data are stored. Drawing registration image data area 245, external character registration image data area 246 for storing external character registration image data, background image data area 247 for storing background image data and corresponding character color data as background image candidates, character expansion buffer, color Various buffers such as conversion buffer, basic color layout buffer, print buffer, etc. Has an area such as Ffa region 248, is used as a work area for control processes.
[0035]
In the IOC 250, a logic circuit for supplementing the function of the CPU 21 and handling interface signals with various peripheral circuits is configured by a gate array or a custom LSI. For example, a timer for performing various timings is incorporated as a function in the IOC 250. For this reason, the IOC 250 is connected to various sensors of the detection unit 14 and the keyboard 3, and loads various detection signals from the detection unit 14 and various commands and input data from the keyboard 3 into the internal bus 260 as they are or after being processed. In conjunction with the CPU 210, the data and control signals output from the CPU 210 and the like to the internal bus 260 are output to the drive unit 270 as they are or after being processed.
[0036]
In addition, the IOC 250 is connected to the external memory mounting unit 280 and controls input / output of data that is actually access to the file pack 281 among accesses to the RAM 240, so that when the file pack 281 is mounted, Control is performed so that it appears to the user as if it appears from the outside (in terms of handling of files, etc.), and the RAM 240 is increased (the memory capacity of the RA 240 is increased). Therefore, unless otherwise specified, the following description will be made assuming that the RAM 240 includes the memory capacity of the file pack 281 and the data stored in the file pack 281 is stored in the RAM 240 (for ease of understanding, as the file pack area 249, Although shown in the figure, part or all of the above-mentioned respective areas can actually be shared).
[0037]
With the above configuration, the CPU 210 inputs various signals and data from each unit in the tape printer 1 via the IOC 250 in accordance with the control program in the ROM 220, the font data from the CG-ROM 230, and the RAM 240 (described above). As described above, various data and the like in the file pack area 249 (including the file pack 281) are processed, and various signals and data are output to each part in the tape printer 1 via the IOC 250. The entire tape printing apparatus 1 is controlled such as performing position control, display control of the display screen 41, and the like, and controlling the print head 7 to print on the tape T under predetermined printing conditions.
[0038]
Next, a processing flow of the entire control of the tape printer 1 will be described with reference to FIG. When processing is started by pressing the power key (power on), as shown in the figure, first, in order to return the tape printer 1 to the previous power-off state, each saved control flag is set. Initial settings such as recovery are performed (S1), and the previous display screen is displayed as the initial screen (S2).
[0039]
The subsequent processing of FIG. 2, that is, the determination branch (S3) for determining whether or not the key is input and various interrupt processing (S4) are conceptually illustrated processing. Actually, in the tape printer 1, when the initial screen display (S2) ends, the key input interrupt is permitted, and the state is maintained until the key input interrupt is generated (S3: No). When any key input interrupt occurs (S3: Yes), the process proceeds to the respective interrupt process (S4), and when the interrupt process is completed, the state is maintained again (S3: No).
[0040]
As described above, in the tape printer 1, the main process is performed by the interrupt process. Therefore, if the user is ready to create a print image or the like, the user can press the print key 322 at any point in time to perform the print process. An interrupt occurs, print processing is activated, and a print image can be printed based on the print image data. In other words, the user can arbitrarily select the operation procedure up to printing.
[0041]
For example, as shown in FIG. 3, in the state of the text editing screen display after the input of the character (character) column “A” in the first row (screen T10: hereinafter, the display state of the display screen 41 of the display 4 is changed to the screen T × (Expressed by × and indicated by only TXX as a reference number, and the cursor position is shown by a cursor K. Zm is a zoomed (enlarged display) of two characters immediately before the cursor K.) When the print key 322 is pressed by the user, the character string image “A” is printed as a print image together with the display of the “printing” message (T11), and when printing is completed, the original text editing screen is displayed. Return (T12: same as T10). Since this type of processing is the same as in the prior art, detailed description is omitted.
[0042]
By the way, in the tape printer 1, when inputting a kanji, the kanji can be searched by radicals, and this will be described below.
[0043]
First, as shown in FIG. 4, when the text editing screen similar to that described above in FIG. 3 is displayed (T10) and the user presses the kanji search key 340 (when operated), as shown in FIG. Then, a selection screen for the first layer (see FIG. 5) for searching for Chinese characters is displayed (T20). Note that the user can cancel various instructions by key input with the cancel key 326, and by pressing the cancel key 326 from this first layer state (T20), the user can return to the original text editing screen display (T10). (In addition to this, for example, when the Kanji search key 340 is pressed again, it returns to the original state. For example, the operation may be changed or combined with other keys. However, in the following description, the cancel key 326 is used. Unless otherwise noted, the operation is the same, so the explanation below is omitted).
[0044]
In addition, on this selection screen (T20), the same “code input” as that in the past can be performed as the first layer option, and the user operates the cursor key 330 to select one of these options. By highlighting and pressing the selection key 323, the highlighted option can be selected / designated (hereinafter referred to as “selection display”). Here, when “search for radical” is selected (selection display) and the selection key 323 is pressed, an input screen for the “number of radicals” subordinate to “radical search” (second hierarchy: see FIG. 5). (T21). From this state (T21), for example, when the number of strokes “5” is input (T22), a screen for selecting a five-screen radical (third layer: see FIG. 5) is displayed (T23).
[0045]
From this state (T23), the user presses the cursor “↓” key 330D or the cursor “→” key 330R or the conversion key 336 (hereinafter referred to as the cursor key 330DR, as shown in FIG. The next candidate can be displayed sequentially (candidate for the position of the cursor K) can be designated by operating the cursor “↑” key 330U or the cursor “←” key 330L or nothing. Candidates can be displayed and designated in reverse order by operating a conversion key 337 (hereinafter abbreviated as a cursor key 330UL, which is illustrated by a black triangle display key pointing to the upper left).
[0046]
From the above state (T21), a 2-digit stroke number, for example, the stroke number “12” can also be input (T25 to T26), and then the radical of 12 strokes can be displayed and selected. When (for example, “3”) is input (that is, when, for example, “123” is input), the fact is notified by a weak warning (or error display), and then the display is cleared.
[0047]
Here, assuming that “field” is selected from the radicals of the five strokes (T24: common to both FIG. 4 and FIG. 6), as shown in FIG. (Third layer: common with FIG. 7). In this state (T30), it is possible to select an option of “search start” to shift directly to the kanji search and an option of “total number of strokes” for searching after narrowing the search target by the total number of strokes of kanji.
[0048]
Here, assuming that “search start” is selected (T30), search results (fifth layer: see FIG. 5) of kanji characters whose radical is “ta” (so-called “field part”) are sorted in order of stroke number, for example. Since it is sequentially displayed as “Yukio Tayashi …… Stomach world field ……”, the user can select one by operating the cursor (T31 to T32). In addition to the cancel key 326, the selection screen (T31 to T32) can be returned to the upper screen by operating the delete key 325 or the kanji conversion key 341.
[0049]
Here, if “畏” is selected (T32), “畏” is inserted at the cursor position on the text editing screen (T33). That is, by the series of operations described above with reference to FIGS. 4 and 6, search / insertion of a desired kanji character by radical pulling is completed, the character string becomes “That Samurai”, and “U” just before the cursor is enlarged and displayed. It will be in the state.
[0050]
Next, as shown in FIG. 7, when the “total number of strokes” option is selected on the above-described “Kanji heading” screen (T30 common to FIG. 6: fourth layer: see FIG. 5) ( T40), a transition is made to the lower “total number of strokes” input screen (fifth layer: see FIG. 5) (T41). From this state (T41), for example, when the number of strokes “9” is input (T42), the search result of the nine strokes of “Tabe” (the radical is “Ta”) (sixth layer: see FIG. 5) ) Are sequentially displayed as, for example, “Stomach Thinking Field ...”, so that the user can select one by operating the cursor (T43 to T44).
[0051]
Here, if “畏” is selected as in the example of FIG. 6 (T44), “畏” is inserted at the cursor position on the text editing screen (T45: the same state as T33 of FIG. 6). That is, by the series of operations described above with reference to FIGS. 4, 6, and 7, the search / insertion of the desired kanji by radical pulling is completed, and the character string becomes “That Samurai”, and “Usa” just before the cursor. Will be enlarged. In addition, on each display screen in the above example, titles such as “kanji search”, “radical search”, “radical selection”, “kanji radical” (such as rice fields), and “(search candidate kanji: rice fields, etc.)” Although the display screen (or display hierarchy) is clearly shown on the top line, these can be arbitrarily specified as necessary. For example, the titles of different hierarchies may be the same.
[0052]
By the way, the radical “field” in the above-described example is used and displayed in various places indicated by ellipses in FIG. 8 (T50 to T55: () is the corresponding screen of FIGS. 4, 6, and 7). In the case of this “field” (see radical No. 5-8 in FIG. 9), even if the Chinese character “field” is displayed as a radical as it is, the image can be grasped, so there is no problem.
[0053]
However, among various radicals, as shown in FIG. 9 to FIG. 10, for example, “pan lid” (see “kanmuri” in FIG. 12) of “pan lid part” (radical No. 2-2) In addition, there are many radicals that cannot be displayed with ordinary characters.
[0054]
“Rissinben” (radical No. 3-32), “Tehen” (radical No.3-33), etc. are the original “Kokoro” (radical No.4-1). ) And “hand” (rad. No. 4-4) are known, and in the Hanwa dictionary, etc., they are in the same group as “Kokoro-Rishishinben-nobu” and “Te-tenhen-no-bu” However, if it is displayed as a radical, it is often desired to display the radical image as it is (see T60 in FIG. 11).
[0055]
In terms of narrowing the search range based on the number of radicals, it is preferable that Kanji search can be handled individually (T62 to T63) rather than the same group as “heart” (T61 in the figure).
[0056]
Also, even if “Ki” (radical No. 4-15) is used, not only “Ki” and “Kihen” are grouped in the same radical group (T64) but also the same number of strokes. However, it is more convenient to handle them individually (T65 to T66).
[0057]
However, in the same way as a word processor capable of radical pulling (radical searching), in addition to font data for general kanji, for radical searching (that is, for display for radical pulling selection operation) ) When preparing (storing) another font data, since there are many types of radicals, the amount of storage capacity becomes a problem.
[0058]
Therefore, in the tape printer 1 of this embodiment, this problem is solved by diverting font data for general kanji. Hereinafter, this point will be described in detail.
[0059]
First, as for the above-mentioned “field”, the font data of the kanji is used for the radical having the same shape of the kanji. In this type (referred to as type A), as shown in FIG. 13, for example, the kanji “tree” (image A-0 developed based on the font data) is diverted to a so-called “tree portion”, that is, A radical for searching for radicals of “tree part” including “tree”, “forest”, “desk”, “book”,... (All kanji in the lower column of FIG. 13) (image A- 1) can be displayed.
[0060]
Thereby, in the tape printer 1, it is not necessary to prepare special font data for radical display for radicals having the same shape of Chinese characters, and the storage capacity can be saved.
[0061]
On the other hand, for the radicals that do not have the same shape of kanji like the above-mentioned “nabebuta” (see “kanmuri”) shown in FIG. The radical portion (in this example, the “kanmuri” (hatched) portion) of the image in which the font data of the kanji to be developed is extracted and used for radical display.
[0062]
That is, in this type (referred to as type B), as shown in FIG. 13, for example, the Chinese character “Lin” (image B-0 developed based on the font data) is diverted to the radical portion (this In the example, "hen" part) is extracted and "kihen (no part)", that is, "kihen" kanji including "lin", "desk", "wood", "village", etc. A radical (image B-1) for neck search can be displayed.
[0063]
Thereby, in the tape printer 1, when there is a Chinese character that includes a radical to be displayed, it is not necessary to prepare special font data for radical display, and the storage capacity can be saved.
[0064]
In this case, the “extraction” includes, as shown in the figure, a method of “extracting” a part literally (operation and processing), and a method of “painting” an unnecessary portion with a background color, for example. (Operation, processing) is also included.
[0065]
Also, instead of this kind of extraction, similar Kanji characters can be transformed and used. For example, as shown in FIG. 13, in this type (referred to as type C), for example, a Chinese character “tree” (image C-0 developed based on the font data) is diverted and reduced in the horizontal direction ( Furthermore, the radical (image C-1) for searching the radical for the Chinese character “kihen” similar to the above can be displayed by slightly shortening one leg of the “tree”.
[0066]
In addition, even if there is no name for the radical, it is deformed (reduced vertically) as shown in the radical image C-2 in the figure, and the Chinese character search including the flat “tree” is searched for radicals. It is also possible to make it possible to search for radicals that are narrowed down by using the other Chinese characters corresponding to the radical image C-3 of “Thu”.
[0067]
Thus, in the tape printer 1, when there is a deformable similar Kanji character at the radical to be displayed, there is no need to prepare special font data for the radical display, and the storage capacity is saved accordingly. it can.
[0068]
Further, if a program for executing the above-described character processing method is stored in a storage medium such as a CD, it can be mounted (mounted) on any information processing apparatus (character processing apparatus) that can execute the program. By reading and executing the stored program, it is possible to display radicals for radical searches of kanji without storing special font data for radical display, and the storage capacity for that. Can be saved. Of course, other modifications can be made as appropriate without departing from the scope of the present invention.
[0069]
【The invention's effect】
  As described above, according to the character processing device and the character processing method of the character processing device of the present invention, the radical for searching the radical of the Chinese character is displayed without storing special font data for radical display. This makes it possible to save the storage capacity.
[Brief description of the drawings]
FIG. 1 is a block diagram of a control system of a tape printer according to an embodiment of the present invention.
FIG. 2 is a flowchart showing a conceptual process of overall control of the tape printer of FIG. 1;
FIG. 3 is an explanatory diagram of a display screen and a typical operation on the display screen, showing an example of printing.
4 is an explanatory diagram similar to FIG. 3, showing an example when searching for kanji. FIG.
FIG. 5 is an explanatory diagram showing a hierarchical structure of a screen display for Kanji search.
FIG. 6 is an explanatory view similar to FIG. 3 when a kanji search is performed by directly selecting a search start after selecting a radical.
7 is an explanatory diagram similar to FIG. 3 when searching for kanji after selecting a radical and specifying the total number of strokes to narrow down the search target; FIG.
FIG. 8 is an explanatory diagram illustrating a display example of radical display.
FIG. 9 is an explanatory diagram showing an example of a radical index table.
FIG. 10 is an explanatory diagram similar to FIG. 9, continued from FIG. 9;
11 is an explanatory view showing a display example of radical display different from FIG. 8. FIG.
FIG. 12 is an explanatory diagram illustrating an example of an extraction unit for radical extraction;
FIG. 13 is an explanatory diagram showing an example of radical display using font data of general Chinese characters.
[Explanation of symbols]
1 Tape printer
3 Keyboard
4 display
7 Print head
11 Operation unit
12 Printing department
13 Cutting part
14 detector
41 Display screen
200 Control unit
210 CPU
220 ROM
230 Character generator ROM (CG-ROM)
240 RAM
250 Input / output control circuit (IOC)
260 Internal bus
270 Drive unit
280 External memory mounting part
290 Power supply
C tape cartridge
T tape

Claims (5)

複数の漢字のフォントデータを記憶するフォント記憶手段を内蔵する文字処理装置であって、
フォントデータとして記憶された漢字の部首検索のために選択可能な候補部首を表示する候補部首表示手段と、
表示された前記候補部首から検索部首を選択する検索部首選択手段と、
選択された前記検索部首による部首検索を行ってその検索結果の漢字を表示する検索結果表示手段と、
を備え、
前記候補部首表示手段は、表示すべき候補部首に予め対応づけられた同形の漢字のフォントデータを前記候補部首の画像として展開して表示する同形漢字部首表示手段を有することを特徴とする文字処理装置。
A character processing device having font storage means for storing font data of a plurality of kanji characters,
Candidate radical display means for displaying candidate radicals that can be selected for radical searches of kanji stored as font data;
Search radical selection means for selecting a search radical from the displayed candidate radicals;
A search result display means for performing a radical search by the selected search radical and displaying the kanji of the search result;
With
The candidate radical display means has isomorphic Chinese character radical display means for expanding and displaying the same-shaped kanji font data previously associated with the candidate radical to be displayed as the candidate radical image. A character processing device.
複数の漢字のフォントデータを記憶するフォント記憶手段を内蔵する文字処理装置であって、
フォントデータとして記憶された漢字の部首検索のために選択可能な候補部首を表示する候補部首表示手段と、
表示された前記候補部首から検索部首を選択する検索部首選択手段と、
選択された前記検索部首による部首検索を行ってその検索結果の漢字を表示する検索結果表示手段と、
を備え、
前記候補部首表示手段は、表示すべき候補部首に予め対応づけられ且つ予め抽出部分が定められた漢字のフォントデータを画像に展開して前記抽出部分の画像を抽出して前記候補部首の画像として表示する一部抽出部首表示手段を有することを特徴とする文字処理装置。
A character processing device having font storage means for storing font data of a plurality of kanji characters,
Candidate radical display means for displaying candidate radicals that can be selected for radical searches of kanji stored as font data;
Search radical selection means for selecting a search radical from the displayed candidate radicals;
A search result display means for performing a radical search by the selected search radical and displaying the kanji of the search result;
With
The candidate radical display means extracts the image of the extracted part by expanding kanji font data, which is associated with the candidate radical to be displayed in advance and has a predetermined extracted part, into an image, and extracts the candidate radical A character processing apparatus comprising: a partial extraction head display means for displaying as an image.
複数の漢字のフォントデータを記憶するフォント記憶手段を内蔵する文字処理装置であって、
フォントデータとして記憶された漢字の部首検索のために選択可能な候補部首を表示する候補部首表示手段と、
表示された前記候補部首から検索部首を選択する検索部首選択手段と、
選択された前記検索部首による部首検索を行ってその検索結果の漢字を表示する検索結果表示手段と、
を備え、
前記候補部首表示手段は、表示すべき候補部首に予め対応づけられ且つ予め変形方法が定められた漢字のフォントデータを画像に展開して前記変形方法に従って変形して前記候補部首の画像として表示する漢字変形部首表示手段を有することを特徴とする文字処理装置。
A character processing device having font storage means for storing font data of a plurality of kanji characters,
Candidate radical display means for displaying candidate radicals that can be selected for radical searches of kanji stored as font data;
Search radical selection means for selecting a search radical from the displayed candidate radicals;
A search result display means for performing a radical search by the selected search radical and displaying the kanji of the search result;
With
The candidate radical display means expands the kanji font data previously associated with the candidate radical to be displayed and has a predetermined deformation method into an image and deforms the image according to the deformation method to generate an image of the candidate radical A character processing apparatus comprising a kanji deformed head display means for displaying as
前記候補部首表示手段は、表示する部首の画数を指定する部首画数指定手段を有して、指定された画数の候補部首のみを表示することを特徴とする、請求項1ないし3のいずれかに記載の文字処理装置。  4. The candidate radical display means includes radical number designation means for designating the number of strokes to be displayed, and displays only the candidate radicals having the designated number of strokes. The character processing device according to any one of the above. 内蔵の記憶手段内にフォントデータとして記憶された複数の漢字を検索対象として、部首検索のために選択可能な候補部首を表示し、その中から選択された検索部首により部首検索をして、検索結果の漢字を表示する文字処理装置の文字処理方法であって、
表示すべき候補部首に予め対応づけられた漢字のフォントデータを画像に展開して、その展開画像をそのまま、または前記展開画像の一部を抽出して、または前記展開画像を変形して、前記候補部首の画像として表示することを特徴とする文字処理装置の文字処理方法。
Candidate radicals that can be selected for radical search are displayed using a plurality of kanji characters stored as font data in the built-in storage means, and radical search is performed by the search radical selected from among them. And a character processing method of a character processing device for displaying search result kanji,
Kanji font data previously associated with candidate radicals to be displayed is developed into an image, the developed image is extracted as it is, or a part of the developed image is extracted, or the developed image is transformed, A character processing method of a character processing device, wherein the character processing device displays the candidate radical image.
JP2001380497A 2001-12-13 2001-12-13 Character processing device and character processing method of character processing device Expired - Fee Related JP3889961B2 (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP2001380497A JP3889961B2 (en) 2001-12-13 2001-12-13 Character processing device and character processing method of character processing device
TW91133282A TW588262B (en) 2001-12-13 2002-11-13 Text processing device, text processing method, and recording medium
KR10-2002-0079291A KR100461036B1 (en) 2001-12-13 2002-12-12 Character processing device and character processing method and storage medium
CN 02156320 CN1260669C (en) 2001-12-13 2002-12-13 Character processing device and processing method and storage medium
HK03109087A HK1056783A1 (en) 2001-12-13 2003-12-12 Character processing apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001380497A JP3889961B2 (en) 2001-12-13 2001-12-13 Character processing device and character processing method of character processing device

Publications (2)

Publication Number Publication Date
JP2003186869A JP2003186869A (en) 2003-07-04
JP3889961B2 true JP3889961B2 (en) 2007-03-07

Family

ID=19187183

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001380497A Expired - Fee Related JP3889961B2 (en) 2001-12-13 2001-12-13 Character processing device and character processing method of character processing device

Country Status (5)

Country Link
JP (1) JP3889961B2 (en)
KR (1) KR100461036B1 (en)
CN (1) CN1260669C (en)
HK (1) HK1056783A1 (en)
TW (1) TW588262B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5176390B2 (en) * 2007-05-22 2013-04-03 富士通株式会社 Character input device and computer program
CN101630311B (en) * 2008-07-18 2011-05-04 常州华文印刷新技术有限公司 Method and device for displaying characters
CN106372563A (en) * 2015-07-22 2017-02-01 深圳市新方码电脑科技有限公司 Radical handwritten recognition Chinese character input method and apparatus

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3224138B2 (en) * 1991-12-18 2001-10-29 株式会社リコー Kanji font generation method
JPH0950270A (en) * 1995-08-04 1997-02-18 Sanyo Electric Co Ltd Shared method for outline font data parts
JP2000348024A (en) * 1999-06-07 2000-12-15 Dainippon Printing Co Ltd Character input device
KR20010018630A (en) * 1999-08-20 2001-03-15 유경열 Chinese Character Searching Tool Using a Combined Radical, a Similar Radical or a Pretended Radical
JP2001101174A (en) * 1999-09-30 2001-04-13 Toppan Printing Co Ltd Method and device for retrieving kanji font data

Also Published As

Publication number Publication date
KR20030048366A (en) 2003-06-19
TW200300888A (en) 2003-06-16
CN1426000A (en) 2003-06-25
KR100461036B1 (en) 2004-12-09
TW588262B (en) 2004-05-21
JP2003186869A (en) 2003-07-04
HK1056783A1 (en) 2004-02-27
CN1260669C (en) 2006-06-21

Similar Documents

Publication Publication Date Title
JP3209750B2 (en) Character information processing device
JP3945165B2 (en) Text data processing device
KR100421129B1 (en) Character information processing device for performing printing
JP5299011B2 (en) Tape printer, control method and program for tape printer
US8526017B2 (en) Image editing apparatus, image editing method, and printing apparatus
JP4131084B2 (en) Printing device
US5871293A (en) Tape printer
JP3100164B2 (en) Tape printer and character attribute changing method thereof
US6916129B2 (en) Printing device
JP3889961B2 (en) Character processing device and character processing method of character processing device
US20060093422A1 (en) Printing device
EP0930559B1 (en) Character entry method and device
JPH0555911B2 (en)
JP2008135041A (en) Tape printer
JPS63167959A (en) Document preparing device
JP4603828B2 (en) Tape printer
JP4329309B2 (en) Tape printing apparatus, tape printing method, program, and storage medium
JP6168473B2 (en) Electronics
JP3687564B2 (en) Text management method and text management apparatus
JP2010020373A (en) Tape printer, character string conversion device, and character string conversion method
JP2007087165A (en) Image creation method, image creation apparatus, program, and printer
JPH11254777A (en) Character information processor
JPH06290177A (en) Printer
JPH09188004A (en) Character input apparatus
JP2005246702A (en) Character-string display device, tape printer, program, and character-string display method

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040422

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040427

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040625

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060322

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060519

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20061121

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20061201

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101208

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101208

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111208

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111208

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121208

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121208

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131208

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees