JPH0962666A - Document processing method and device therefor - Google Patents

Document processing method and device therefor

Info

Publication number
JPH0962666A
JPH0962666A JP7220145A JP22014595A JPH0962666A JP H0962666 A JPH0962666 A JP H0962666A JP 7220145 A JP7220145 A JP 7220145A JP 22014595 A JP22014595 A JP 22014595A JP H0962666 A JPH0962666 A JP H0962666A
Authority
JP
Japan
Prior art keywords
information
character
external character
field
document processing
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.)
Withdrawn
Application number
JP7220145A
Other languages
Japanese (ja)
Inventor
Atsushi Sakakibara
厚志 榊原
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP7220145A priority Critical patent/JPH0962666A/en
Publication of JPH0962666A publication Critical patent/JPH0962666A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Machine Translation (AREA)
  • Document Processing Apparatus (AREA)

Abstract

PROBLEM TO BE SOLVED: To reflect the field information of a selected KANJI (Chinese character) on the calling function of external characters by determining the order of the external characters to be called and displayed corresponding to the field of the converted KANJI. SOLUTION: When an operator desires KANJI conversion, by moving a cursor to the position of a KANJI candidate by the key of a keyboard 103 and pressing a selection key, the KANJI is stored in the selected text butter TEXT of a RAM 2. In this case, relating to a selected KANA (Japanese syllabary)/KANJI conversion candidate, the field dictionary BUNYADIC of a ROM 101 is referred to, the field is specified and the field information is stored in conversion field state information BUNYASTA. Then an external character calling key is pressed. At the time, since it is after storing conversion field state data by KANA/KANJI conversion, the external characters provided with the specified field in the application field information of external character data are given priority and external character candidates are displayed on a window display screen. Then, by pressing the selection key, the external character selected at the point of time is stored in the butter TEXT.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、文書を作成する文
書処理方法及びその装置に関し、特に、平仮名読み列を
所定文字列に変換する機能と、外字の呼び出しと登録す
る機能を有する文書処理方法及びその装置に関するもの
である。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document processing method and apparatus for creating a document, and more particularly to a document processing method having a function of converting a hiragana reading string into a predetermined character string and a function of calling and registering an external character. And its device.

【0002】[0002]

【従来の技術】従来、平仮名読み列を入力し、所定の文
字列に変換する機能を有する文書処理装置において、そ
の入力された平仮名読み列を所定文字列へ変換する時
に、その時の変換分野を判断し、その分野に応じた変換
候補を優先して変換する機能を有するものがある。ま
た、特殊な文字や記号等のパターンを作成し、そのパタ
ーンを外字として登録できる文書処理装置が知られてい
る。
2. Description of the Related Art Conventionally, in a document processing apparatus having a function of inputting a hiragana reading string and converting it into a predetermined character string, when converting the inputted hiragana reading string into a predetermined character string, the conversion field at that time is changed. Some have a function of making a judgment and prioritizing conversion candidates according to the field. There is also known a document processing apparatus capable of creating a pattern of special characters or symbols and registering the pattern as an external character.

【0003】[0003]

【発明が解決しようとする課題】このような外字パター
ンは、それぞれその外字を特定するためのIDが付され
て登録されており、外字の呼出しが指示されると、その
外字IDの順に外字パターンが候補文字として読み出さ
れて画面上に表示される。そしてオペレータは、これら
表示された複数の外字候補の中から所望の文字或は希望
パターンを選択する必要があった。
Such an external character pattern is registered with an ID for identifying the external character, and when the calling of the external character is instructed, the external character pattern is ordered in the order of the external character ID. Is read as a candidate character and displayed on the screen. Then, the operator is required to select a desired character or a desired pattern from the plurality of displayed external character candidates.

【0004】例えばある特別な分野の文書データの作成
中に、外字の呼出しを行なっても、その外字には分野情
報が適用されていないため、常に決まった順番(例えば
外字IDの順番)で外字が読み出されて候補文字列とし
て表示されてしまう。このため、所望の外字を選択する
のに、例えばカーソル移動キーを何回も押下したり、或
は画面を切り換えて所望の外字を探すなどの処理を必要
としていた。
For example, even if an external character is called during creation of document data in a particular special field, the external character is not applied to the external character, so the external character is always in a fixed order (for example, the order of the external character ID). Is read and displayed as a candidate character string. For this reason, in order to select a desired external character, for example, it is necessary to press the cursor movement key many times or switch the screen to search for a desired external character.

【0005】本発明は上記従来例に鑑みてなされたもの
で、それまでに変換された漢字の分野に応じて、呼び出
して表示する外字の順番を定めることにより、外字の呼
出し機能に、それまでに選択された漢字の分野情報を反
映させることができる文書処理方法及びその装置を提供
することを目的とする。
The present invention has been made in view of the above-mentioned conventional example, and by determining the order of external characters to be called and displayed according to the field of Chinese characters converted so far, the calling function of external characters can be provided until then. An object of the present invention is to provide a document processing method and an apparatus thereof that can reflect the field information of the selected Chinese character.

【0006】本発明の他の目的は、かな漢字変換の適用
分野情報(グループ情報)を外字機能に反映させて、同
じ適用分野情報をもつ外字を優先して提示できる文書処
理方法及びその装置を提供することにある。
Another object of the present invention is to provide a document processing method and apparatus capable of reflecting the application field information (group information) of kana-kanji conversion on the external character function and preferentially presenting an external character having the same application field information. To do.

【0007】また本発明の目的は、ユーザが所望する外
字を効率良く提示できる文書処理方法及びその装置を提
供することにある。
It is another object of the present invention to provide a document processing method and apparatus capable of efficiently presenting an external character desired by a user.

【0008】本発明の他の目的は、住所録或は地名入力
時に、それに関連した外字を優先して提示できる文書処
理方法及びその装置を提供することにある。
Another object of the present invention is to provide a document processing method and an apparatus thereof which can preferentially present an external character related to an address book or a place name when inputting it.

【0009】[0009]

【課題を解決するための手段】上記目的を達成するため
に本発明の文書処理装置は以下のような構成を備える。
即ち、外字情報を登録して呼び出すことができる文書処
理装置であって、平仮名読み列を所定文字列に変換する
ための変換情報と前記所定文字列の分野情報を記憶する
辞書記憶手段と、入力された平仮名読み列を前記辞書記
憶手段を参照して所定文字列に変換する変換手段と、前
記変換手段により変換された文字列の分野情報を記憶す
る記憶手段と、外字情報の呼出しを指示する指示手段
と、前記指示手段により外字情報の呼出しが指示される
と、前記記憶手段に記憶されている分野情報と同じ分野
情報を有する外字情報を優先的に読み出す読出手段とを
有する。
In order to achieve the above object, the document processing apparatus of the present invention has the following configuration.
That is, a document processing device capable of registering and calling out external character information, conversion information for converting a hiragana reading string into a predetermined character string, and dictionary storage means for storing field information of the predetermined character string, and input. Conversion means for converting the hiragana reading string thus obtained into a predetermined character string by referring to the dictionary storage means, storage means for storing field information of the character string converted by the conversion means, and instructing calling of external character information It has an instructing means and a reading means for preferentially reading out the external character information having the same field information as the field information stored in the storage means when the calling of the external character information is instructed by the instructing means.

【0010】また本発明の文書処理方法は以下のような
工程を備える。即ち、外字情報を登録して呼び出すこと
ができる文書処理装置における文書処理方法であって、
入力された平仮名読み列を辞書を参照して所定文字列に
変換する変換工程と、その変換された文字列の分野情報
を記憶する工程と、外字情報の呼出しを指示する工程
と、外字情報の呼出しが指示されると、記憶されている
分野情報と同じ分野情報を有する外字情報を優先的に読
み出す工程とを有する。
Further, the document processing method of the present invention comprises the following steps. That is, a document processing method in a document processing device capable of registering and calling external character information,
A conversion step of converting the input hiragana reading string into a predetermined character string by referring to a dictionary, a step of storing field information of the converted character string, a step of instructing calling of external character information, and a step of converting external character information. When the call is instructed, the external character information having the same field information as the stored field information is preferentially read.

【0011】[0011]

【発明の実施の形態】また本発明の好適な実施の形態に
よれば、かな漢字変換の際には、変換候補文字列を表示
し、その表示された候補文字列の中から所望の文字列が
選択されると、その選択された文字列の分野情報を記憶
手段に記憶する。これにより、後続の外字呼出し時、或
は候補文字列の表示時における候補文字の表示順序が変
更される。
According to a preferred embodiment of the present invention, a conversion candidate character string is displayed during kana-kanji conversion, and a desired character string is displayed from the displayed candidate character strings. When selected, the field information of the selected character string is stored in the storage means. As a result, the display order of the candidate characters is changed at the subsequent calling of the external character or at the time of displaying the candidate character string.

【0012】また更に本発明の好適な実施の形態によれ
ば、かな漢字変換の際には、表示される他の候補文字列
の表示順序を、選択された文字列の分野情報に応じて変
更される。これにより、候補文字の表示・選択が効率的
になる。
Further, according to a preferred embodiment of the present invention, the display order of the other candidate character strings to be displayed is changed according to the field information of the selected character string during the kana-kanji conversion. It As a result, the display / selection of candidate characters becomes efficient.

【0013】更に、本発明の好適な実施の形態によれ
ば、指示された外字情報の呼び出し時、記憶手段に記憶
されている分野情報に一致する外字情報がないときは、
当該外字情報のIDコード順に呼び出す。
Further, according to a preferred embodiment of the present invention, when the designated external character information is called and there is no external character information that matches the field information stored in the storage means,
The external character information is called in the order of the ID code.

【0014】また本発明の好適な実施の形態によれば、
読出手段により読み出された外字候補を表示し、それら
表示された候補文字の中から所望の文字を選択する。
According to a preferred embodiment of the present invention,
The external character candidates read by the reading means are displayed, and a desired character is selected from the displayed candidate characters.

【0015】以下、添付図面を参照して本発明の好適な
実施の形態を詳細に説明する。
Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.

【0016】図1は、本実施の形態の文書処理装置の構
成を示すブロック図である。
FIG. 1 is a block diagram showing the arrangement of a document processing apparatus according to this embodiment.

【0017】図1において、CPU100は例えばマイ
クロプロセッサであり、文字処理のための演算、論理判
断等を行い、アドレスバスAB、コントロールバスC
B、データバスDBを介して、それらのバスに接続され
た各構成要素を制御する。アドレスバスABは、CPU
100の制御の対象とする構成要素を指示するアドレス
信号を転送する。コントロールバスCBは、CPU10
0の制御の対象とする各構成要素のためのコントロール
信号を転送する。データバスDBは、CPU100を含
む各構成相互間でのデータの転送を行う。ROM101
は読出し専用の固定メモリであり、図8〜図15を参照
して後述する、CPU100により実行される制御手順
を記憶する制御プログラム、及びかな漢字変換を行う時
に参照する辞書が格納されているかな漢字変換辞書(K
NCNVDIC)の固定データ、及び、かな漢字変換辞
書の各単語の適用分野情報をもつ分野辞書(BUNYA
DIC)等の固定データが記憶されている。尚、分野辞
書BUNYADICは、図6を参照して後述するよう
に、単語の単語ID、読み情報、表記情報、品詞情報、
適用分野情報を記憶した辞書である。
In FIG. 1, a CPU 100, which is, for example, a microprocessor, performs arithmetic operations for character processing, logical decisions, etc., and has an address bus AB and a control bus C.
B, each component connected to those buses is controlled via the data bus DB. Address bus AB is CPU
An address signal indicating a component to be controlled by 100 is transferred. The control bus CB is the CPU 10
A control signal for each component controlled by 0 is transferred. The data bus DB transfers data between the components including the CPU 100. ROM 101
Is a read-only fixed memory, and a kana-kanji conversion that stores a control program that stores a control procedure executed by the CPU 100, which will be described later with reference to FIGS. 8 to 15, and a dictionary that is referred to when kana-kanji conversion is performed. Dictionary (K
NCNVDIC) fixed data and field dictionary (BUNYA) having application field information of each word in the Kana-Kanji conversion dictionary
Fixed data such as DIC) is stored. The field dictionary BUNYADIC, as will be described later with reference to FIG. 6, has a word ID, reading information, notation information, part-of-speech information,
It is a dictionary that stores application field information.

【0018】また、RAM102は、1ワード16ビッ
トの構成の書込み可能のランダムアクセスメモリであっ
て、各構成要素からの各種データの一時記憶に用いる。
RAM102において、TEXTはテキストバッファで
あり、図7を参照して後述するように、この文書処理装
置で取り扱う文書データを内部形式で記憶している。K
BBUFは、キーボード(KB)103から入力された
読み列を蓄えるためのキーバッファである。BUNYA
STAは、かな漢字変換処理において優先して変換する
分野を格納する、或は、外字呼出処理において優先して
提示する変換分野状態データである。YOMIBUF
は、かな漢字変換の入力読みを記憶するための読み入力
バッファである。KOUHOBUFは、かな漢字変換処
理の結果、作成された候補を記憶するための候補出力バ
ッファである。GAIZIは、外字の外字ID及びフォ
ント情報などを格納した外字データである。GAIZI
BNYは、外字データGAIZIに対応する適用分野情
報を格納した、外字の適用分野データである。この外字
の適用分野データGAIZIBNYは、図5を参照して
後述するように、外字データGAIZIに対応する外字
ID、適用分野情報を記憶したデータである。
The RAM 102 is a writable random access memory having a structure of 1 word and 16 bits, and is used for temporarily storing various data from each constituent element.
In the RAM 102, TEXT is a text buffer, which stores document data handled by this document processing device in an internal format, as described later with reference to FIG. K
BBUF is a key buffer for storing a reading string input from the keyboard (KB) 103. BUNYA
The STA is conversion field state data which stores a field to be converted preferentially in the kana-kanji conversion process or is preferentially presented in the external character calling process. YOMIBUF
Is a reading input buffer for storing the input reading of kana-kanji conversion. KOUHOBUF is a candidate output buffer for storing candidates created as a result of the kana-kanji conversion processing. GAIZI is external character data that stores external character IDs of external characters and font information. GAIZI
BNY is external character application field data that stores application field information corresponding to external character data GAIZI. The external character application field data GAIZIBNY is data storing an external character ID and application field information corresponding to the external character data GAIZI, as described later with reference to FIG.

【0019】103はキーボード(KB)であって、ア
ルファベットキー、ひらがなキー、カタカナキー等の文
字信号入力キー、及び、変換キー、カーソル移動キー、
外字呼出キー、選択キー等の本文字処理装置に対する各
種機能を指示するための各種のファンクションキーを備
えている。104はハードディスク(DISK)或はフ
ロッピィドライバで、文書データを記憶するための外部
記憶であり、KB103よりの指示に応じて、テキスト
バッファTEXT上に作成された文書データを保管した
り、KB103よりの指示により、このDISK104
に保管された文書データをテキストバッファ(TEX
T)に読み出すことができる。110はフロッピィディ
スク等の磁気記録媒体である。
Reference numeral 103 denotes a keyboard (KB), which is a character signal input key such as an alphabet key, a hiragana key, and a katakana key, a conversion key, a cursor movement key,
Various function keys for instructing various functions for the character processing device such as an external character calling key and a selection key are provided. Reference numeral 104 denotes a hard disk (DISK) or a floppy driver, which is an external storage for storing document data, and stores document data created in the text buffer TEXT according to an instruction from the KB 103 or stores data from the KB 103. Instructed by this DISK104
Document data stored in the text buffer (TEX
T) can be read. Reference numeral 110 is a magnetic recording medium such as a floppy disk.

【0020】105はカーソルレジスタ(CR)で、C
PU100は、このカーソルレジスタ105の内容を読
み書きできる。また後述するCRTコントローラ(CR
TC)は、このカーソルレジスタ105に記憶されたア
ドレスに対応する表示部108の画面上の位置にカーソ
ルを表示する。107は表示用バッファメモリ(DBU
F)で、表示すべき表示データのパターンデータを蓄え
る。表示部108に文書データを表示するときは、テキ
ストバッファTEXTのデータ(文字コード)に基づい
て、キャラクタジェネレータ109を参照してDBUF
107にその文書データをパターンを展開することによ
り行われる。CRTC106はカーソルレジスタCR1
05及び表示用バッファDBUF107に蓄えられた内
容を表示部108に表示する役割を担う。また表示部1
08は、例えば陰極線管等を用いた表示器、或は液晶等
の表示器であり、その表示部108におけるドット構成
の表示パターン、およびカーソルの表示がCRTC10
6で制御されている。さらに、109はキャラクタジェ
ネレータ(CG)であって、表示部108に表示する文
字や記号等のパターン情報を、そのコードに対応付けて
記憶している。
Reference numeral 105 denotes a cursor register (CR), which is C
The PU 100 can read and write the contents of this cursor register 105. A CRT controller (CR
TC) displays the cursor at the position on the screen of the display unit 108 corresponding to the address stored in the cursor register 105. 107 is a display buffer memory (DBU
In F), the pattern data of the display data to be displayed is stored. When displaying document data on the display unit 108, DBUF is referred to by referring to the character generator 109 based on the data (character code) in the text buffer TEXT.
This is done by expanding the pattern of the document data in 107. CRTC 106 is cursor register CR1
05 and the contents stored in the display buffer DBUF 107 are displayed on the display unit 108. In addition, the display unit 1
Reference numeral 08 denotes a display device using, for example, a cathode ray tube or a display device such as a liquid crystal display. The display pattern of the dot configuration and the cursor display on the display unit 108 are CRTC10.
It is controlled by 6. Further, 109 is a character generator (CG), which stores pattern information such as characters and symbols displayed on the display unit 108 in association with the code.

【0021】以上の構成に基づく本実施の形態の文書処
理装置は、キーボードKB103からの各種の入力に応
じて作動するものであって、キーボードKB103から
入力信号が供給されると、まず、キーボード103より
の入力があったことを示すインタラプト信号がCPU1
00に送られ、ROM101に記憶している各種制御信
号がCPU100により読み出され、それらの制御信号
に従って各種の制御が行なわれる。
The document processing apparatus of the present embodiment based on the above configuration operates in response to various inputs from the keyboard KB103, and when an input signal is supplied from the keyboard KB103, first, the keyboard 103. An interrupt signal indicating that there is an input from CPU1
00, and various control signals stored in the ROM 101 are read by the CPU 100, and various controls are performed in accordance with these control signals.

【0022】尚、後述する図8以降のフローチャートで
示される、CPU100により実行される制御プログラ
ムは、ROM101に記憶される以外に、例えばハード
ディスク104或はフロッピィディスク110に記憶さ
れていて、RAM102のプログラムエリア111にロ
ードされて実行されても良い。
The control program executed by the CPU 100, which is shown in the flow charts of FIG. 8 and later described later, is stored in, for example, the hard disk 104 or the floppy disk 110 in addition to being stored in the ROM 101, and is stored in the RAM 102. It may be loaded into the area 111 and executed.

【0023】図2は、本実施の形態の文書処理装置の表
示部108に表示される表示例を示す図である。
FIG. 2 is a diagram showing a display example displayed on the display unit 108 of the document processing apparatus of this embodiment.

【0024】図2において、DSPは表示画面を意味し
ている。TSは、テキストデータを表示する画面部分で
あり、テキストバッファ(TEXT)に記憶されている
文書データの内容(文書イメージ)が表示される。KS
は、ソフトキーを表示するエリアを示し、このエリアに
は操作状況によって必要なキー、例えば変換キー、カー
ソル移動キー、外字呼出キー、選択キー等のソフトキー
が表示され、この表示されたソフトキーの位置に対応す
るキーボードKB103のキーを押下することにより、
このソフトキーの機能が達成される。WDSPは、かな
漢字変換処理後に作成された文字列候補、或は、外字呼
出候補が表示されるエリアである。更にYSは、かな漢
字変換のために入力された読み入力を表示するエリアで
ある。
In FIG. 2, DSP means a display screen. TS is a screen portion for displaying text data, and the content (document image) of the document data stored in the text buffer (TEXT) is displayed. KS
Indicates an area for displaying softkeys. In this area, keys necessary for the operation situation, such as conversion keys, cursor movement keys, external character calling keys, and selection keys, are displayed. By pressing the key of the keyboard KB103 corresponding to the position of
The function of this softkey is achieved. The WDSP is an area in which character string candidates created after the kana-kanji conversion processing or external character calling candidates are displayed. Further, YS is an area for displaying the reading input input for Kana-Kanji conversion.

【0025】図3は、一般的な文書処理装置において、
仮名漢字変換により変換分野を自動判断し、変換分野状
態データを格納する前に外字呼び出しを行う処理時にお
ける画面表示の推移を説明した図で、この動作は従来の
文書処理装置の動作と同様である。
FIG. 3 shows a general document processing apparatus.
It is a diagram explaining the transition of the screen display during the process of automatically determining the conversion field by Kana-Kanji conversion and calling the external character before storing the conversion field state data. This operation is similar to the operation of the conventional document processing device. is there.

【0026】図3は、従来の文書処理装置における動作
を説明する図で、図3(a)で文書処理装置が文書作成
可能な状態において、外字呼出キーに相当するキーボー
ド103のキーを押下すると、仮名漢字変換により変換
分野状態データを格納する前であるため、図3(b)の
如く、ウインドウ表示画面WDSPに、外字データの外
字IDの順番に外字候補が表示される。そして操作者が
「選択」に相当するソフトキーを押下することにより、
図3(b)で選択されている(番号1)外字「//」が入
力され、テキストバッファTEXTに記憶される(図3
(c))。
FIG. 3 is a diagram for explaining the operation of the conventional document processing apparatus. When the document processing apparatus in FIG. 3A can create a document, when a key of the keyboard 103 corresponding to the external character calling key is depressed. Since the conversion field state data is not stored by the kana-kanji conversion, the external character candidates are displayed on the window display screen WDSP in the order of the external character ID of the external character data, as shown in FIG. 3B. Then, the operator presses the soft key corresponding to "Select",
The external character “//” selected in FIG. 3B (number 1) is input and stored in the text buffer TEXT (FIG. 3).
(C)).

【0027】図4は、本実施の形態の文書処理装置にお
いて、仮名漢字変換により変換分野を自動判断し、変換
分野状態データを格納した後、外字呼び出しを行った例
を説明する図である。ここでは、かな漢字変換の適用分
野情報(グループ情報)を外字機能に反映させて、同じ
適用分野情報をもつ外字を優先して提示した例に基づい
て画面の推移を説明している。
FIG. 4 is a diagram for explaining an example in which, in the document processing apparatus of the present embodiment, the conversion field is automatically determined by Kana-Kanji conversion, the conversion field state data is stored, and the external character is called. Here, the screen transition is described based on an example in which the application field information (group information) for kana-kanji conversion is reflected in the external character function, and the external character having the same application field information is preferentially presented.

【0028】文書処理装置が文書作成可能な状態におい
て、操作者はキーボード103のアルファベットキー或
はひらがなキー等を使用して読みを入力すると、かな漢
字変換の読み入力を表示するエリアYSに、その入力さ
れた読み「はねだ」が表示される(図4(a))。そし
て次にソフトキーの「変換」に相当するキーボード10
3のキーを押下すると、ウインドウ表示画面WDSP
に、かな漢字変換された文字列候補が表示される(図4
(b))。
When the operator uses the alphabet keys or the hiragana key of the keyboard 103 to input a reading in a state where the document processing apparatus can create a document, the input is made in the area YS for displaying the reading input for kana-kanji conversion. The read "Haneda" is displayed (FIG. 4 (a)). Then, the keyboard 10 corresponding to the "conversion" soft key
Pressing the 3 key, WDSP window display screen
A character string candidate that has been converted to Kana-Kanji is displayed in FIG.
(B)).

【0029】図4(b)では、かな漢字変換の分野処理
に影響されない状態なので、単語の頻度順に、読み「は
ねだ」に該当する漢字候補文字列が、最初に「羽だ」、
次に「羽根だ」、そして最後に「羽田」が表示される。
ここで操作者は、漢字「羽田」を所望するときは、キー
ボード103のカーソル移動(上下移動)キーにより漢
字候補「羽田」の位置にカーソルを移動する(図4
(c))。そしてこの状態で操作者が、ソフトキーの
「選択」に相当するキーボード103のキーを押下する
ことにより漢字「羽田」が選択されたテキストバッファ
TEXTに格納される。
In FIG. 4B, the kana-kanji conversion field is not affected, so that the kanji candidate character strings corresponding to the reading "haneda" are first "feather" in the order of word frequency.
"Haneda" is displayed next, and "Haneda" is displayed at the end.
Here, when the operator desires the Chinese character “Haneda”, the operator moves the cursor to the position of the Chinese character candidate “Haneda” by the cursor movement (up and down) keys of the keyboard 103 (FIG. 4).
(C)). Then, in this state, the operator presses the key of the keyboard 103 corresponding to the "select" soft key to store the Chinese character "Haneda" in the selected text buffer TEXT.

【0030】ここで、選択されたかな漢字変換候補の単
語の表記「羽田」に関して、分野辞書BUNYADIC
に格納されているか検索処理を行うと存在し、更に、適
用分野情報として「地名」が格納されているので(図6
参照)、変換分野状態情報BUNYASTAに分野情報
として「地名」を格納する処理が行われる。
Here, regarding the notation “Haneda” of the selected kana-kanji conversion candidate word, the field dictionary BUNYADIC
It is present when a search process is performed to find out whether or not it is stored in. Further, since "place name" is stored as application field information (see FIG. 6).
Processing), a process of storing "place name" as field information in the conversion field status information BUNYASTA is performed.

【0031】次に、図4(d)の状態で、ソフトキー
「外字呼出」に相当するキーボード103のキーを押下
する。この時は、仮名漢字変換により変換分野状態デー
タ「地名分野」を格納した後なので、ウインドウ表示画
面WDSPに、外字データの適用分野情報に「地名分
野」をもつ外字が優先されて、外字候補が表示される。
更に、この外字以外にも、外字IDの順番に外字候補が
続いて表示される(図4(e))。
Next, in the state of FIG. 4D, the key of the keyboard 103 corresponding to the soft key "call external character" is pressed. At this time, since the conversion field state data "place name field" is stored by the kana-kanji conversion, the external character having "place name field" in the application field information of the external character data is given priority on the window display screen WDSP, and the external character candidate is selected. Is displayed.
Further, in addition to the external character, external character candidates are successively displayed in the order of the external character ID (FIG. 4 (e)).

【0032】そして図4(e)の状態で、操作者がソフ
トキー「選択」に相当するキーボード103のキーを押
下することにより、その時点で選択されている「…」が
テキストバッファTEXTに記憶される(図4
(f))。
Then, in the state of FIG. 4 (e), the operator presses the key of the keyboard 103 corresponding to the soft key "select", so that "..." Selected at that time is stored in the text buffer TEXT. (Fig. 4
(F)).

【0033】図5は、本実施の形態の文書処理装置にお
いて、外字データGAIZIに対応する適用分野情報を
格納した外字の適用分野データGAIZIBNYの構成
を説明する図である。
FIG. 5 is a diagram for explaining the structure of the external character application field data GAIZIBNY in which the application field information corresponding to the external character data GAIZI is stored in the document processing apparatus of this embodiment.

【0034】外字の適用分野データGAIZIBNY
は、図5の如く、外字の適用分野情報を有し、外字I
D、適用分野情報から構成される。この外字の適用分野
データに情報が格納される順番は、外字IDの若い順番
(昇順)とする。例えば図5の例では、外字ID“15
1”に対応する適用分野情報が「地名」となっている。
これは外字データGAIZIにおいて、「…」を示す外
字である。
Application field data GAIZIBNY for external characters
As shown in FIG. 5, the external field I has application information, and the external character I
D, application field information. The information is stored in the application field data of the external character in the ascending order of the external character ID. For example, in the example of FIG.
The application field information corresponding to 1 "is the" place name ".
This is an external character indicating "..." In the external character data GAIZI.

【0035】図6は、本実施の形態の文書処理装置にお
ける、かな漢字変換辞書の各単語の適用分野情報をもつ
分野辞書BUNYADICの構成を説明した図である。
FIG. 6 is a diagram for explaining the structure of a field dictionary BUNYADIC having application field information of each word of the Kana-Kanji conversion dictionary in the document processing apparatus of this embodiment.

【0036】図6に示すように、分野辞書BUNYAD
ICは、かな漢字変換辞書の適用分野情報を有し、単語
ID、読み情報、表記情報、品詞情報、適用分野情報と
から構成される。ここで分野辞書に情報が格納される順
番は、単語の読み情報の文字コード(JISX0208
コード)の若い順番(昇順)とする。例えば、単語ID
“140001”に対して、読み情報が「はねだ」、表
記情報が「羽田」、品詞情報が「固有名詞」、適用分野
情報「地名」が格納されている。
As shown in FIG. 6, the field dictionary BUNYAD
The IC has application field information of the Kana-Kanji conversion dictionary, and is composed of word ID, reading information, notation information, part-of-speech information, and application field information. Here, the order in which information is stored in the field dictionary is the character code (JISX0208) of the word reading information.
Codes are in ascending order (ascending order). For example, the word ID
For "140001", reading information is "Haneda", notation information is "Haneda", part-of-speech information is "proper noun", and application field information "place name" is stored.

【0037】図7は、本実施の形態の文書処理装置のテ
キストバッファTEXTにおける文書データ構成を示し
た図で、図7(A)は複数行からなる文書データの構成
を示し、図7(B)は複数文字からなる1行データの構
成を示している。
FIG. 7 is a diagram showing the document data structure in the text buffer TEXT of the document processing apparatus of this embodiment. FIG. 7A shows the document data structure consisting of a plurality of lines, and FIG. ) Indicates the structure of one-line data composed of a plurality of characters.

【0038】文書データは、複数個の固定長からなる行
データより構成され、各行データは同じく複数個の文字
データより構成される。ここで各文字データは1文字2
バイトで構成され、例えば、JISX0208コードで
格納されている。また、各文字の位置は、行位置を示す
Y座標と、その行内の文字位置を示すX座標とにより表
される。例えば、文書データの先頭より3行目で左から
4文字目の文字の位置は、X座標=4、Y座標=3で表
される。同様に、カーソルレジスタ105により指示さ
れるカーソルが、現在表示器108の画面上のどの位置
にあるかも、このX座標、Y座標を用いて表される。
The document data is composed of a plurality of line data having a fixed length, and each line data is also composed of a plurality of character data. Here, each character data is 1 character 2
It is composed of bytes and is stored, for example, in JISX0208 code. The position of each character is represented by the Y coordinate indicating the line position and the X coordinate indicating the character position within the line. For example, the position of the fourth character from the left on the third line from the beginning of the document data is represented by X coordinate = 4 and Y coordinate = 3. Similarly, the position on the screen of the display unit 108 where the cursor pointed by the cursor register 105 is currently displayed is also expressed by using the X coordinate and the Y coordinate.

【0039】次に、上述の第1の実施の形態の文書処理
装置における制御動作を図8〜図10のフローチャート
に従って説明する。
Next, the control operation of the document processing apparatus according to the first embodiment will be described with reference to the flow charts of FIGS.

【0040】図8は、仮名漢字変換により変換分野を自
動判断し、変換分野状態データを格納した後に外字呼び
出しを行うと、かな漢字変換の適用分野情報(グループ
情報)を、その前に仮名漢字変換された分野情報を外字
機能に反映させて、その仮名漢字変換と同じ適用分野情
報を有する外字を優先して提示する処理を示す全体概略
フローチャートである。
In FIG. 8, when the conversion field is automatically determined by the Kana-Kanji conversion, and the external field is called after the conversion field status data is stored, the application field information (group information) of the Kana-Kanji conversion is preceded by the Kana-Kanji conversion. 9 is an overall schematic flowchart showing a process of reflecting the applied field information in the external character function and preferentially presenting an external character having the same application field information as that of Kana-Kanji conversion.

【0041】まずステップS1で、キーボードKB10
3からのキー入力を待ち、キーボード103よりのキー
入力を受けると、その入力されたキーデータ(コード)
をキーバッファKBBUFに取り込む。ここで、キーバ
ッファKBBUFに記憶されたコードがひらがなキー
(ローマ字入力も含む)のコードであればステップS2
に分岐し、変換キーであればステップS3に分岐し、外
字呼出キーであればステップS4に分岐し、ひらがなキ
ー(数字、アルファベットキーも含む)、変換キー、外
字呼出キー以外ならば何の処理も行なわずにステップS
1に進む。
First, in step S1, the keyboard KB10
Waiting for key input from 3, and receiving key input from the keyboard 103, the input key data (code)
Is loaded into the key buffer KBBUF. If the code stored in the key buffer KBBUF is the code of the hiragana key (including the input of Roman characters), step S2
If it is a conversion key, it branches to step S3. If it is an external character calling key, it branches to step S4, and if it is not a hiragana key (including numbers and alphabetical keys), conversion key, external character calling key, what process Without performing step S
Go to 1.

【0042】ステップS2では、入力したひらがなキー
に応じて、読み入力バッファYOMIBUFヘ読みを追
加し、表示処理を行なってステップS1に進む。また、
変換キーが入力された時はステップS3に進み、図10
のフローチャートを参照して後述するように、分野処理
を有するかな漢字変換処理を行なってステップS1に戻
る。更に、外字呼出しキーの場合はステップS4に進
み、図9のフローチャートを参照して後述するように、
分野処理を有する外字呼出処理を行なってステップS1
に進む。
In step S2, reading is added to the reading input buffer YOMIBUF in accordance with the input hiragana key, display processing is performed, and the flow proceeds to step S1. Also,
When the conversion key is input, the process proceeds to step S3, and FIG.
As will be described later with reference to the flowchart of FIG. 5, the kana-kanji conversion process including the field process is performed and the process returns to step S1. Further, in the case of the external character calling key, the process proceeds to step S4, as will be described later with reference to the flowchart of FIG.
The external character calling process having the field process is performed and step S1 is performed.
Proceed to.

【0043】図9は、図8のステップS4の処理に相当
する、分野処理を有する外字呼出処理の詳細を示すフロ
ーチャートである。
FIG. 9 is a flowchart showing the details of the external character calling process having field processing, which corresponds to the process of step S4 of FIG.

【0044】まずステップS11で、変換分野状態デー
タと一致する適用分野情報をもつ外字があるかを、外字
の適用分野データより検索処理を行い、あるならばステ
ップS12に分岐し、なければステップS13に分岐す
る。ステップS12では、変換分野状態情報と一致する
適用分野情報をもつ外字を優先させて外字の一覧を表示
し、前記外字以外も、その後に外字データの外字IDの
順番に外字一覧表示処理を行う。一方、変換分野状態デ
ータと一致する適用分野情報をもつ外字が存在しないと
きはステップS13に進み、図3に示すように、外字デ
ータの外字IDの順番に外字一覧表示処理を行う。
First, in step S11, whether there is an external character having application field information that matches the conversion field state data is searched from the application field data of the external character. If there is, it branches to step S12, and if not, step S13. Branch to. In step S12, the external character having the applicable field information that matches the conversion field state information is prioritized to display the list of external characters, and the external character list display process is performed in the order of the external character ID of the external character data after that. On the other hand, when there is no external character having application field information that matches the conversion field state data, the process proceeds to step S13, and as shown in FIG. 3, the external character list display process is performed in the order of the external character ID of the external character data.

【0045】こうしてステップS12或はステップS1
3に続いてステップS14に進み、キーボードKB10
3からの入力を待ち、キー入力を受けると、その入力さ
れたキーデータ(コード)をキーバッファKBBUFに
取り込む。ここで、キーバッファKBBUFのコード
が、上下カーソルキーに相当するコードであればステッ
プS15に分岐し、選択キーであればステップS16に
分岐し、上下カーソルキー及び選択キー以外ならば何の
処理も行わずにステップS14のキー入力待ちに戻る。
Thus, step S12 or step S1
After step 3, the process proceeds to step S14, where the keyboard KB10
When the input from 3 is awaited and the key input is received, the input key data (code) is fetched into the key buffer KBBUF. Here, if the code of the key buffer KBBUF is the code corresponding to the up / down cursor key, the process branches to step S15, and if it is the selection key, the process branches to step S16. It returns to the key input waiting of step S14 without performing.

【0046】上下カーソルキーの押下によるステップS
15の処理では、外字データから呼び出された外字候補
群をウインドウ表示画面WDSPに表示させ、候補を選
択させるウインドウ表示画面WDSPのカーソル位置
(CR105の内容)を、上下カーソルキーの入力に従
って変更してステップS14に進む。
Step S by pressing the up and down cursor keys
In the process of 15, the external character candidate group called from the external character data is displayed on the window display screen WDSP, and the cursor position (contents of CR105) of the window display screen WDSP for selecting the candidate is changed according to the input of the up and down cursor keys. It proceeds to step S14.

【0047】選択キーが入力されたステップS16で
は、CR105の内容に従って選択されている外字を判
断し、その選択された外字をテキストバッファTEXT
ヘ格納して編集する処理を行なう。そしてステップS1
7に進み、その選択された外字を表示して編集する処理
を行なう。そしてステップS18に進み、外字一覧表示
したウインドウ表示画面WDSPの消去処理を行なう。
In step S16 when the selection key is input, the selected external character is determined according to the contents of CR105, and the selected external character is stored in the text buffer TEXT.
F. Store and edit. And step S1
In step 7, the selected external character is displayed and edited. Then, in step S18, the window display screen WDSP displaying the external character list is erased.

【0048】図10は、図8のステップS3の処理に相
当する、分野処理を有するかな漢字変換処理の部分詳細
を示すフローチャートで、かな漢字変換用辞書KNCN
VDICにより、読み入力からかな漢字変換候補を作成
し、かな漢字変換候補の表示優先順位を変更する処理、
作成されたかな漢字変換候補の中から選択させた候補文
字列をTEXTヘ編集する処理、変換分野状態情報を設
定する処理、の部分詳細フローチャートである。
FIG. 10 is a flow chart showing the details of a kana-kanji conversion process having field processing, which corresponds to the process of step S3 of FIG. 8, and is a kana-kanji conversion dictionary KNCN.
VDIC processing for creating kana-kanji conversion candidates from reading input and changing the display priority of kana-kanji conversion candidates,
7 is a partial detailed flowchart of a process of editing a candidate character string selected from the created kana-kanji conversion candidates into TEXT and a process of setting conversion field state information.

【0049】まずステップS21では、かな漢字変換用
辞書KNCNVDICによる、かな漢字変換候補作成処
理、及び変換分野状態情報BUNYASTAの分野をも
つ単語を含むかな漢字変換候補の出力単位を最優先にし
て、候補出力バッファヘ出力する処理を行なう。次にス
テップS22では、候補出力バッファKOUHOBUF
ヘ出力された順番に、変換候補を表示する処理を行な
う。
First, in step S21, the kana-kanji conversion candidate creation process by the kana-kanji conversion dictionary KNCNVDIC and the output unit of the kana-kanji conversion candidate including the word having the field of the conversion field status information BUNYASTA are given the highest priority, and output to the candidate output buffer. Perform the process. Next, in step S22, the candidate output buffer KOUHOBUF
(F) The conversion candidates are displayed in the order in which they are output.

【0050】ステップS23では、キーボードKB10
3からのキー入力を待ち、キー入力を受けると、そのキ
ーに対応するコードデータをキーバッファKBBUFに
取り込む処理を行なう。ここでキーバッファKBBUF
に記憶されたコードが上下カーソルキーに相当するコー
ドであればステップS24に分岐し、選択キーであれば
ステップS25に分岐し、上下カーソルキー、選択キー
以外ならば何の処理も行わずにステップS23に進む。
In step S23, the keyboard KB10
Waiting for a key input from 3, and when the key input is received, the code data corresponding to the key is fetched into the key buffer KBBUF. Here is the key buffer KBBUF
If the code stored in is a code corresponding to the up / down cursor key, the process branches to step S24; if the code is the select key, the process branches to step S25; Proceed to S23.

【0051】ステップS24では、かな漢字変換候補作
成処理で作成された候補出力バッファKOUHOBUF
の文字列群を、ウインドウ表示画面WDSPに表示さ
せ、候補を選択させるウインドウ表示画面WDSPのカ
ーソル位置を、上下カーソルキーの入力に従って変更す
る処理を行なってステップS23に戻る。
In step S24, the candidate output buffer KOUHOBUF created in the Kana-Kanji conversion candidate creation process
The character string group is displayed on the window display screen WDSP, and the cursor position on the window display screen WDSP for selecting a candidate is changed according to the input of the up and down cursor keys, and the process returns to step S23.

【0052】選択キーが入力されるとステップS25に
進み、CR105の内容に応じて選択された文字列を判
定し、その選択された文字列をテキストバッファTEX
Tヘ格納して編集する処理を行なう。次にステップS2
6に進み、選択された文字列を表示して編集する処理を
行なう。更にステップS27に進み、選択されたかな漢
字変換候補の単語の表記と、分野辞書BUNYADIC
の表記情報と一致するデータがあるか検索する処理を行
う。
When the selection key is pressed, the process proceeds to step S25, the selected character string is determined according to the contents of CR105, and the selected character string is stored in the text buffer TEX.
The process of storing in T and editing is performed. Next, step S2
In step 6, the selected character string is displayed and edited. Further, the process proceeds to step S27, in which notation of the selected kana-kanji conversion candidate word and field dictionary BUNYADIC
Perform processing to search for data that matches the notation information of.

【0053】ステップS28では一致するデータがあっ
たか否かを判別し、ある時はステップS29に進み、な
ければステップS30に進む。ステップS29では、ス
テップS27において一致した分野辞書の分野情報を、
変換分野状態情報BUNYASTAに格納する処理を行
う。
In step S28, it is determined whether or not there is matching data, and if so, the process proceeds to step S29, and if not, the process proceeds to step S30. In step S29, the field information of the field dictionary matched in step S27 is
The conversion field status information BUNYASTA is stored.

【0054】そしてステップS30では、未確定の文節
があるか判断処理を行い、なければ処理を終了し、あれ
ばステップS31に進む。ステップS31では、変換分
野状態情報BUNYASTAの分野をもつ単語を含むか
な漢字変換候補の出力順位を最優先にして、候補出力バ
ッファKOUHOBUFヘ再出力する処理を行なってス
テップS22に進む。
Then, in step S30, it is determined whether or not there is an undetermined phrase. If not, the process ends, and if there is, the process proceeds to step S31. In step S31, the output order of the kana-kanji conversion candidates including the word having the field of the conversion field state information BUNYASTA is given the highest priority, and the process of re-outputting to the candidate output buffer KOUHOBUF is performed, and the process proceeds to step S22.

【0055】以上説明したように本発明の第1の実施の
形態によれば、以前に実施されたカナ漢字変換処理によ
り変換された単語の分野情報に応じて、外字として読み
出される外字情報の分野が規定されるので、より効率良
く外字情報を読み出すことができる。
As described above, according to the first embodiment of the present invention, according to the field information of the word converted by the previously executed Kana-Kanji conversion processing, the field of the external character information read as the external character. Is defined, the external character information can be read out more efficiently.

【0056】[他の実施の形態]前述の第1の実施の形
態では、自動判断された変換分野と同じ適用分野情報を
有する外字情報を優先して呼び出す手段を用いて、その
選択文字の分野を自動判断する仮名漢字変換の結果を外
字機能に反映させて、同じ適用分野情報をもつ外字を優
先して提示可能なことを説明してきた。
[Other Embodiments] In the first embodiment, the field of the selected character is selected by using the means for preferentially calling the external character information having the same application field information as the automatically determined conversion field. It has been explained that the result of the Kana-to-Kanji conversion that automatically determines is reflected in the external character function, and the external character having the same application field information can be preferentially presented.

【0057】この第2の実施の形態では、住所録作成キ
ーを入力すると地名分野を自動判断し、地名分野の変換
属性段結果を外字機能に反映させて、地名分野の適用分
野情報をもつ外字を優先して提示する。
In the second embodiment, when the address book creation key is input, the place name field is automatically determined, the result of the conversion attribute stage of the place name field is reflected in the external character function, and the external character having application field information of the place name field is reflected. Will be given priority.

【0058】この第2の実施の形態では、前述の図8の
ステップS1のキー入力待ち処理において、入力される
キーの種類として「住所録作成」キーを追加し、この住
所録作成キーが入力された場合は、変換分野状態情報に
『地名分野』を格納する。この時の処理のフローチャー
トを図11に示す。
In the second embodiment, in the key input waiting process of step S1 of FIG. 8 described above, an "address book creation" key is added as the type of key to be entered, and this address book creation key is entered. If so, “place name field” is stored in the conversion field state information. FIG. 11 shows a flowchart of the processing at this time.

【0059】図11において、ステップS41〜ステッ
プS44のの処理は図8のステップS1〜ステップS4
の処理と同様であるため、その説明を省略する。図11
において、ソフトキーの「住所録作成」キーに対応する
キーボード103のキーが押下されるとステップS45
に進み、RAM102の変換分野状態情報BUNYAS
TAに『地名分野』を格納する。
In FIG. 11, the processes of steps S41 to S44 are the same as steps S1 to S4 of FIG.
Since the processing is the same as that of step 1, its description is omitted. FIG.
In step S45, when the key on the keyboard 103 corresponding to the "address book creation" soft key is pressed.
To the conversion field status information BUNYAS of the RAM 102.
The “place name field” is stored in TA.

【0060】また同様に、地名変換を行った後、外字の
指示が入力されると、その外字が地名分野であると自動
的に判断し、その判断結果を外字の呼出し機能に反映さ
せて、地名分野の適用分野情報をもつ外字を優先して提
示するようにしても良い。この時の処理を図12のフロ
ーチャートで示す。
Similarly, after the place name conversion, if an external character instruction is input, it is automatically determined that the external character is a place name field, and the determination result is reflected in the external character calling function. The external character having the application field information of the place name field may be preferentially presented. The processing at this time is shown in the flowchart of FIG.

【0061】図12においても、ステップS51〜S5
4の処理は前述の図8のステップS1〜S4の処理と同
様であるので、その説明を省略する。
Also in FIG. 12, steps S51 to S5.
Since the processing of No. 4 is the same as the processing of steps S1 to S4 of FIG. 8 described above, the description thereof will be omitted.

【0062】ソフトキーの「地名変換キー」に相当する
キーボード103のキーが押下されるとステップS55
に進み、地名変換処理を行って、その適用分野情報を
「地名分野」とする。
When the key of the keyboard 103 corresponding to the "place name conversion key" of the soft key is pressed, step S55
Then, the place name conversion process is performed and the applicable field information is set as the "place name field".

【0063】図13は、図12のステップS55の地名
変換処理を示すフローチャートである。
FIG. 13 is a flowchart showing the place name conversion processing of step S55 of FIG.

【0064】まず、ステップS61では、読み入力バッ
ファYOMIBUFに入力された読みから、地名変換用
辞書による、地名変換候補を作成する処理、及び、候補
出力バッファKOUHOBUFヘ出力をする処理を行
う。ステップS62では、候補出力バッファKOUHO
BUFヘ出力された順番に、地名変換候補を表示する処
理を行う。ステップS63では、キーボードKB103
からの入力を待ち、入力を受けると、キーボード103
よりのキーコードをキーバッファKBBUFに取り込む
処理を行う。ここで、キーバッファKBBUFに格納さ
れたコードが上下カーソルキーのキーコードであればス
テップS64に分岐し、選択キーであればステップS6
5に分岐し、上下カーソルキー、選択キー以外ならば、
何の処理も行なわずにステップS63に戻る。
First, in step S61, a process of creating a place name conversion candidate by a place name conversion dictionary from the reading input to the reading input buffer YOMIBUF and a process of outputting to the candidate output buffer KOUHOBUF are performed. In step S62, the candidate output buffer KOUHO
The process of displaying the place name conversion candidates is performed in the order of output to the BUF. In step S63, the keyboard KB103
Waits for input from the keyboard 103
The key code is read into the key buffer KBBUF. If the code stored in the key buffer KBBUF is the key code of the up / down cursor key, the process branches to step S64, and if it is the selection key, step S6.
It branches to 5, and if it is not the up / down cursor keys and the select key,
The process returns to step S63 without performing any processing.

【0065】ステップS64では、地名変換候補作成処
理で作成された候補出力バッファKOUHOBUFの文
字列群をウインドウ表示画面WDSPに表示させ、候補
文字列を選択させるウインドウ表示画面WDSPのカー
ソル位置(CR105の内容)を、その上下カーソルキ
ーの入力に従って変更する処理を行なってステップS6
3に進む。
In step S64, the character string group of the candidate output buffer KOUHOBUF created by the place name conversion candidate creating process is displayed on the window display screen WDSP, and the cursor position (content of CR105 of the window display screen WDSP for selecting the candidate character string is displayed. ) Is changed according to the input of the up and down cursor keys, and step S6 is performed.
Go to 3.

【0066】またステップS65では、選択キーが押下
された時のCR105の内容を基に選択されている文字
列を判定し、その選択された文字列をテキストバッファ
TEXTに格納する処理を行う。次にステップS66に
進み、その選択された文字列を表示画面に表示して編集
する。ステップS67では、変換分野状態情報BUNY
ASTAに「地名分野」を格納する処理を行う。また同
様に、仮名漢字変換の漢字レベル設定が常用、或は学年
別レベルに設定された場合は学校内文書分野であると自
動的に判断し、その判断結果を外字機能に反映させて、
学校内文書分野の適用分野情報をもつ外字を優先して提
示するようにしても良い。
In step S65, the selected character string is determined based on the contents of the CR 105 when the selection key is pressed, and the selected character string is stored in the text buffer TEXT. Next, in step S66, the selected character string is displayed on the display screen and edited. In step S67, conversion field status information BUNY
The process of storing the "place name field" in ASTA is performed. Similarly, if the Kanji level setting for Kana-Kanji conversion is set to regular or grade level, it is automatically determined to be in the school document field, and the determination result is reflected in the external character function.
It is also possible to preferentially present an external character having application field information in the school document field.

【0067】このときは、図8のステップS1のキー入
力待ち処理において、キー入力されるキーとして「漢字
変換レベルキー」を追加し、この漢字変換レベルキーが
入力された場合は、漢字変換レベルの選択及び設定処理
を行う。この詳細については図14のフローチャートを
参照して説明する。図14のステップS71〜S74の
処理は、前述の図8のステップS1〜S4と同様である
ため、その説明を省略する。
At this time, in the key input waiting process of step S1 of FIG. 8, a "Kanji conversion level key" is added as a key to be entered, and if this Kanji conversion level key is entered, the Kanji conversion level is entered. Selection and setting processing of. Details of this will be described with reference to the flowchart of FIG. The processes of steps S71 to S74 of FIG. 14 are the same as steps S1 to S4 of FIG.

【0068】そして、ソフトキーの漢字変換レベルキー
に相当するキーボード103のキーが押下されるとステ
ップS75に進み、かな漢字変換の漢字変換レベルを選
択する、漢字変換レベル選択画面の表示処理を行なって
ステップS76に進む。このステップS76では、キー
ボードKB103からのキー入力を待ち、キー入力を受
けると入力したデータをキーバッファKBBUFに取り
込む処理を行なう。ここで、キーバッファKBBUFに
記憶されたコードが上下カーソルキーであればステップ
S77に分岐し、選択キーであればステップS78に、
上下カーソルキー、選択キー以外ならば、何の処理も行
なわずにステップS76に戻る。
Then, when the key of the keyboard 103 corresponding to the Kanji conversion level key of the soft key is pressed, the process proceeds to step S75, and the Kanji conversion level selection screen for selecting the Kanji conversion level for kana-Kanji conversion is displayed. It proceeds to step S76. In this step S76, a key input from the keyboard KB103 is waited, and when the key input is received, a process of fetching the input data into the key buffer KBBUF is performed. If the code stored in the key buffer KBBUF is the up / down cursor key, the process branches to step S77, and if the code is the select key, the process proceeds to step S78.
If it is not the up / down cursor key or the select key, the process returns to step S76 without performing any processing.

【0069】ステップS77では、かな漢字変換の漢字
変換レベルを選択するための、ウインドウ表示画面WD
SPのカーソル位置を、上下カーソルの入力に従って、
変更する処理を行なってステップS76に戻る。
In step S77, the window display screen WD for selecting the kanji conversion level for kana-kanji conversion
Move the SP cursor position according to the up / down cursor input
The changing process is performed and the process returns to step S76.

【0070】選択キーが入力されるとステップS78に
進み、表示部108のウインドウ表示画面WDSPに表
示され、カーソルにより指示された漢字変換レベルを判
定し、それに対応する漢字レベル設定データをRAM1
02に記憶する。次にステップS79に進み、その漢字
レベルが常用以外かどうかを判断し、そうであればステ
ップS80に進み、変換分野状態データを学校内文書に
設定する。一方、ステップS79で漢字レベルが常用以
外であればステップS81に進み、変換分野状態データ
の設定から学校内文書を除去する処理を行う。こうして
ステップS80或はステップS81の処理が終了すると
ステップS82に進み、漢字変換レベル選択画面の表示
を消去する処理を行う。
When the selection key is input, the process proceeds to step S78, the kanji conversion level indicated on the window display screen WDSP of the display unit 108 and indicated by the cursor is determined, and the kanji level setting data corresponding thereto is stored in the RAM1.
02 is stored. Next, in step S79, it is determined whether or not the kanji level is other than the regular character, and if so, the process proceeds to step S80 to set the conversion field state data in the school document. On the other hand, if the Kanji character level is other than regular in step S79, the process proceeds to step S81, and processing for removing the in-school document from the setting of the conversion field state data is performed. When the process of step S80 or step S81 is completed in this way, the process proceeds to step S82, and the process of deleting the display of the Kanji conversion level selection screen is performed.

【0071】図15は、本実施の形態の文書処理装置に
おける外字登録処理を示すフローチャートである。
FIG. 15 is a flow chart showing the external character registration processing in the document processing apparatus of this embodiment.

【0072】まずステップS91で、キーボード103
等を使用して外字パターンを入力し、ステップS92
で、その外字パターンに対応する外字コード(外字I
D)を入力する。次にステップS93に進み、その外字
に対応する分野情報を入力する。ステップS94では、
その外字を登録するか、或は訂正などの他の作業を行な
うかの指示を待ち、登録キーが押下されるとステップS
95に進み、RAM102のGAIZIに、その外字I
Dと外字フォントを、GAIZIBNYに適用分野情報
を格納するとともに、それら情報をディスク(DIS
K)104に格納する。こうして所望の分野情報を有す
る外字パターン(フォント)を登録することができる。
First, in step S91, the keyboard 103
Enter the external character pattern using, etc., and step S92
Then, the external character code (external character I) corresponding to the external character pattern
Enter D). Next, in step S93, field information corresponding to the external character is input. In step S94,
Waiting for an instruction whether to register the external character or to perform other work such as correction, when the registration key is pressed, step S
Proceed to 95 and enter the external character I in GAIZI of RAM 102.
D and external character fonts are stored in GAIZIBNY as application field information, and the information is stored in a disc (DIS
K) 104. In this way, an external character pattern (font) having desired field information can be registered.

【0073】以上説明したように本発明の第2の実施の
形態によれば、住所録作成キーを入力すると地名分野を
自動判断し、地名分野の変換属性段結果を外字機能に反
映させて、地名分野の適用分野情報をもつ外字を優先し
て提示することができるため、外字の呼出しを効率良く
行うことができる。
As described above, according to the second embodiment of the present invention, when the address book creation key is input, the place name field is automatically determined, and the conversion attribute stage result of the place name field is reflected in the external character function, Since the external character having the application field information of the place name field can be preferentially presented, the external character can be efficiently called.

【0074】また、地名変換を行った後、外字の指示が
入力されると、その外字が地名分野であると自動的に判
断し、その判断結果を外字の呼出し機能に反映させて、
地名分野の適用分野情報をもつ外字を優先して提示する
ことにより、地名変換処理に応じて外字の呼出し分野を
設定することができるため、外字の呼出しの効率を高め
ることができる。
Further, when the external character instruction is input after the place name conversion, it is automatically judged that the external character is in the place name field, and the judgment result is reflected in the external character calling function.
By preferentially presenting the external character having the application field information of the place name field, the calling field of the external character can be set according to the place name conversion processing, so that the efficiency of calling the external character can be improved.

【0075】尚、本発明は、複数の機器から構成される
システムに適用しても、1つの機器からなる装置に適用
しても良い。また、本発明はシステム或は装置に本発明
を実施するプログラムを供給することによって達成され
る場合にも適用できる。この場合、本発明に係るプログ
ラムを格納した記憶媒体が、本発明を構成することにな
る。そして記憶媒体からそのプログラムをシステム或は
装置に読み出すことによって、そのシステム或は装置が
そのプログラムに従って動作する。
The present invention may be applied to a system composed of a plurality of devices or an apparatus composed of a single device. The present invention can also be applied to the case where it is achieved by supplying a program for implementing the present invention to a system or an apparatus. In this case, the storage medium storing the program according to the present invention constitutes the present invention. Then, by reading the program from the storage medium to the system or device, the system or device operates according to the program.

【0076】以上説明したように本実施の形態によれ
ば、外字の呼出し時、以前に変換された適用分野と同じ
適用分野情報を有する外字情報を優先して呼び出すこと
により、かな漢字変換の適用分野情報(グループ情報)
を外字機能に反映させて、同じ適用分野情報をもつ外字
を優先して提示することができる。
As described above, according to the present embodiment, when calling an external character, the external character information having the same application field information as the previously converted application field is preferentially called so that the application field of the kana-kanji conversion can be obtained. Information (group information)
The external character can be reflected in the external character function, and the external character having the same application field information can be preferentially presented.

【0077】よって、最適な分野に対応した呼び出した
いと考えている外字を候補としてすぐ提示することがで
きる。
Therefore, it is possible to immediately present, as a candidate, an external character that is desired to be called, which corresponds to the optimum field.

【0078】以上のように、操作者にあった、使いやす
い文書処理装置を実現することができる。
As described above, an easy-to-use document processing device suitable for the operator can be realized.

【0079】[0079]

【発明の効果】以上説明したように本発明によれば、そ
れまでに変換された漢字の分野に応じて、呼び出して表
示する外字の順番を定めることにより、外字の呼出し機
能に、それまでに選択された漢字の分野情報を反映させ
ることができる。
As described above, according to the present invention, by determining the order of the external characters to be called and displayed according to the field of the Kanji converted up to that time, the external character calling function can be provided until then. It is possible to reflect the field information of the selected kanji.

【0080】また本発明によれば、かな漢字変換の適用
分野情報(グループ情報)を外字機能に反映させて、同
じ適用分野情報をもつ外字を優先して提示できるという
効果がある。
Further, according to the present invention, the application field information (group information) for kana-kanji conversion is reflected in the external character function, and the external character having the same application field information can be preferentially presented.

【0081】また本発明によれば、ユーザが所望する外
字を効率良く提示できるという効果がある。
Further, according to the present invention, there is an effect that the external character desired by the user can be efficiently presented.

【0082】[0082]

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

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

【図2】本実施の形態の表示部の画面構成を説明する図
である。
FIG. 2 is a diagram illustrating a screen configuration of a display unit according to the present embodiment.

【図3】本実施の形態における仮名漢字変換により変換
分野を自動判断し、変換分野状態データを格納する前に
外字呼び出しを行った従来例と同じ例を示した図であ
る。
FIG. 3 is a diagram showing the same example as a conventional example in which a conversion field is automatically determined by kana-kanji conversion in the present embodiment, and an external character is called before storing conversion field state data.

【図4】本実施の形態の文書処理装置における処理を示
す説明する図である。
FIG. 4 is a diagram illustrating a process in the document processing apparatus according to the present embodiment.

【図5】本実施の形態の外字の外字IDと適用分野情報
を示した図である。
FIG. 5 is a diagram showing an external character ID of an external character and application field information according to the present embodiment.

【図6】本実施の形態のカナ漢字変換辞書における分野
辞書の構成を説明する図である。
FIG. 6 is a diagram illustrating a configuration of a field dictionary in the Kana-Kanji conversion dictionary according to the present embodiment.

【図7】本実施の形態の文書処理装置におけるテキスト
バッファの文書データの構成を示した図である。
FIG. 7 is a diagram showing a structure of document data in a text buffer in the document processing apparatus according to the present embodiment.

【図8】本実施の形態の文書処理装置における全体処理
を示すフローチャートである。
FIG. 8 is a flowchart showing overall processing in the document processing apparatus according to the present embodiment.

【図9】本実施の形態の文書処理装置における外字呼出
し処理を示すフローチャートである。
FIG. 9 is a flowchart showing external character calling processing in the document processing apparatus according to the present embodiment.

【図10】本実施の形態の文書処理装置における仮名漢
字変換処理を示すフローチャートである。
FIG. 10 is a flowchart showing kana-kanji conversion processing in the document processing apparatus according to the present embodiment.

【図11】第2の実施の形態の文書処理装置における全
体処理を示すフローチャートである。
FIG. 11 is a flowchart showing overall processing in the document processing apparatus of the second exemplary embodiment.

【図12】他の実施の形態の文書処理装置における全体
処理を示すフローチャートである。
FIG. 12 is a flowchart showing overall processing in a document processing device according to another embodiment.

【図13】他の実施の形態の文書処理装置における地名
変換処理を示すフローチャートである。
FIG. 13 is a flowchart showing a place name conversion process in a document processing device of another embodiment.

【図14】他の実施の形態の文書処理装置における漢字
変換レベルの設定処理を示すフローチャートである。
FIG. 14 is a flowchart showing a Kanji conversion level setting process in a document processing apparatus according to another embodiment.

【図15】本実施の形態の文書処理装置における外字登
録処理を示すフローチャートである。
FIG. 15 is a flowchart showing an external character registration process in the document processing device of the present embodiment.

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

100 CPU 101 ROM 102 RAM 103 キーボード(KB) 104 ハードディスク(DISK) 105 カーソルレジスタ(CR) 106 表示コントローラ(CRTC) 107 表示用データバッファ(DBUF) 108 表示部 109 キャラクタジェネレータ(CG) 110 フロッピィディスク 111 プログラムエリア 100 CPU 101 ROM 102 RAM 103 Keyboard (KB) 104 Hard Disk (DISK) 105 Cursor Register (CR) 106 Display Controller (CRTC) 107 Display Data Buffer (DBUF) 108 Display Unit 109 Character Generator (CG) 110 Floppy Disk 111 Program area

Claims (13)

【特許請求の範囲】[Claims] 【請求項1】 外字情報を登録して呼び出すことができ
る文書処理装置であって、 平仮名読み列を所定文字列に変換するための変換情報と
前記所定文字列の分野情報を記憶する辞書記憶手段と、 入力された平仮名読み列を前記辞書記憶手段を参照して
所定文字列に変換する変換手段と、 前記変換手段により変換された文字列の分野情報を記憶
する記憶手段と、 外字情報の呼出しを指示する指示手段と、 前記指示手段により外字情報の呼出しが指示されると、
前記記憶手段に記憶されている分野情報と同じ分野情報
を有する外字情報を優先的に読み出す読出手段と、を有
することを特徴とする文書処理装置。
1. A document processing device capable of registering and calling external character information, wherein dictionary storage means stores conversion information for converting a hiragana reading string into a predetermined character string and field information of the predetermined character string. A conversion unit for converting the input Hiragana reading string into a predetermined character string by referring to the dictionary storage unit; a storage unit for storing field information of the character string converted by the conversion unit; and a call for external character information. And an instructing means for instructing to call the external character information by the instructing means,
A document processing device comprising: a reading unit that preferentially reads out external character information having the same field information as the field information stored in the storage unit.
【請求項2】 請求項1に記載の文書処理装置であっ
て、前記変換手段は候補文字列を表示する表示手段と、
前記表示手段に表示された候補文字列の中から所望の文
字列を選択する選択手段と、前記選択手段により選択さ
れた文字列の分野情報を前記記憶手段に記憶する分野設
定手段とを有する。
2. The document processing apparatus according to claim 1, wherein the conversion means displays a candidate character string.
It has selection means for selecting a desired character string from the candidate character strings displayed on the display means, and field setting means for storing field information of the character string selected by the selection means in the storage means.
【請求項3】 請求項2に記載の文書処理装置であっ
て、前記変換手段は更に、前記表示手段に表示される他
の候補文字列の表示順序を、前記選択手段により選択さ
れた文字列の分野情報に応じて変更する。
3. The document processing apparatus according to claim 2, wherein the conversion unit further sets the display order of the other candidate character strings displayed on the display unit to the character string selected by the selection unit. Change according to the field information of.
【請求項4】 請求項1に記載の文書処理装置であっ
て、前記読出手段は、前記指示手段により指示された外
字情報の呼び出し時、前記記憶手段に記憶されている分
野情報に一致する外字情報がないときは、当該外字情報
のIDコード順に呼び出す。
4. The document processing apparatus according to claim 1, wherein the reading unit, when calling the external character information instructed by the instructing unit, matches the external character that matches the field information stored in the storage unit. When there is no information, the external character information is called in the order of the ID code.
【請求項5】 請求項1に記載の文書処理装置であっ
て、前記読出手段により読み出された外字候補を表示す
る外字候補表示手段と、前記外字候補表示手段に表示さ
れた候補文字の中から所望の文字を選択する外字選択手
段を更に有する。
5. The document processing apparatus according to claim 1, wherein the external character candidate display means for displaying the external character candidates read by the reading means and the candidate characters displayed on the external character candidate display means. It further has external character selecting means for selecting a desired character from.
【請求項6】 外字情報を登録して呼び出すことができ
る文書処理装置における文書処理方法であって、 入力された平仮名読み列を辞書を参照して所定文字列に
変換する変換工程と、 その変換された文字列の分野情報を記憶する工程と、 外字情報の呼出しを指示する工程と、 外字情報の呼出しが指示されると、記憶されている分野
情報と同じ分野情報を有する外字情報を優先的に読み出
す工程と、を有することを特徴とする文書処理方法。
6. A document processing method in a document processing device capable of registering and calling external character information, comprising: a converting step of converting an input hiragana reading string into a predetermined character string by referring to a dictionary; Storing the field information of the stored character string, instructing the calling of the external character information, and when the calling of the external character information is instructed, the external character information having the same field information as the stored field information is given priority. And a step of reading the document into a document processing method.
【請求項7】 請求項6に記載の文書処理方法であっ
て、前記辞書は、平仮名読み列を所定文字列に変換する
ための変換情報と前記所定文字列の分野情報を記憶す
る。
7. The document processing method according to claim 6, wherein the dictionary stores conversion information for converting a hiragana reading string into a predetermined character string and field information of the predetermined character string.
【請求項8】 請求項6に記載の文書処理方法であっ
て、前記変換工程は、候補文字列を表示する工程と、表
示された候補文字列の中から所望の文字列を選択する工
程と、選択された文字列の分野情報を記憶する工程とを
有する。
8. The document processing method according to claim 6, wherein the converting step includes a step of displaying a candidate character string, and a step of selecting a desired character string from the displayed candidate character strings. , Storing the field information of the selected character string.
【請求項9】 請求項8に記載の文書処理方法であっ
て、前記変換工程は更に、表示される他の候補文字列の
表示順序を、選択された文字列の分野情報に応じて変更
する。
9. The document processing method according to claim 8, wherein the converting step further changes a display order of other candidate character strings to be displayed according to field information of the selected character string. .
【請求項10】 請求項6に記載の文書処理方法であっ
て、前記読み出す工程において、指示された外字情報の
呼び出し時、記憶されている分野情報に一致する外字情
報がないときは、当該外字情報のIDコード順に呼び出
す。
10. The document processing method according to claim 6, wherein, in the reading step, when the designated external character information is called, and there is no external character information that matches the stored field information, the external character is stored. The information is called in the order of the ID code.
【請求項11】 請求項6に記載の文書処理方法であっ
て、前記読み出す工程において読み出された外字候補を
表示する工程と、その表示された外字候補文字の中から
所望の文字を選択する工程を更に有する。
11. The document processing method according to claim 6, wherein a step of displaying the external character candidates read in the reading step and selecting a desired character from the displayed external character candidate characters. It has a process further.
【請求項12】 請求項6〜11項の少なくともいずれ
か1項に記載の文書処理方法を実行するための制御プロ
グラムを記憶した記憶媒体。
12. A storage medium storing a control program for executing the document processing method according to claim 6.
【請求項13】 請求項12に記載の記憶媒体からプロ
グラムをロードして実行する情報処理装置。
13. An information processing apparatus that loads and executes a program from the storage medium according to claim 12.
JP7220145A 1995-08-29 1995-08-29 Document processing method and device therefor Withdrawn JPH0962666A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7220145A JPH0962666A (en) 1995-08-29 1995-08-29 Document processing method and device therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7220145A JPH0962666A (en) 1995-08-29 1995-08-29 Document processing method and device therefor

Publications (1)

Publication Number Publication Date
JPH0962666A true JPH0962666A (en) 1997-03-07

Family

ID=16746607

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7220145A Withdrawn JPH0962666A (en) 1995-08-29 1995-08-29 Document processing method and device therefor

Country Status (1)

Country Link
JP (1) JPH0962666A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5861229B1 (en) * 2015-04-15 2016-02-16 株式会社システム中部 Handwritten font distribution system and handwritten font distribution method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5861229B1 (en) * 2015-04-15 2016-02-16 株式会社システム中部 Handwritten font distribution system and handwritten font distribution method

Similar Documents

Publication Publication Date Title
JP4077959B2 (en) Character processing apparatus and method, and storage medium storing the program
US5319790A (en) Apparatus automatically entering mode for storing document and mode for reading document in response to representative data indicating whether stored document exists corresponding to input title
JPH0628136A (en) Function selection system of information processor
JP3108031B2 (en) Command input method for inputting characters using kana-kanji conversion software and computer-readable recording medium storing a program for causing a computer to execute the method
JPH0962666A (en) Document processing method and device therefor
JP2004145848A (en) Key input system and method
JP2000148334A (en) Device and method for processing character and storage medium having stored program thereof
JPH0922411A (en) Document processing method and its device
JP2944666B2 (en) Character processor
JPH06119314A (en) Document preparing device
JPH0981555A (en) Method and device for document processing
JPH04332074A (en) Method and device for processing character
JPH10187700A (en) Document processor
JPH0619882A (en) Method and device for processing character
JPH09251458A (en) Character processing method and device, and storage medium storing program readable by control of central processing unit
JPH08287060A (en) Character processor and its method
JPH07200565A (en) Character processor
JPH11195022A (en) Character processor, method for character processing and record medium
JPH0628062B2 (en) Character processing apparatus and method
JPS59128622A (en) Processing device of character
JPH1011429A (en) Character processor
JPH05135010A (en) Character processing method and device therefor
JPH07200590A (en) Method for setting hierarchized style and definition registration method therefor
JPH0731679B2 (en) Character processor
JPH04332073A (en) Method and device for processing character

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20021105