JPH08194701A - Character processor - Google Patents
Character processorInfo
- Publication number
- JPH08194701A JPH08194701A JP7007127A JP712795A JPH08194701A JP H08194701 A JPH08194701 A JP H08194701A JP 7007127 A JP7007127 A JP 7007127A JP 712795 A JP712795 A JP 712795A JP H08194701 A JPH08194701 A JP H08194701A
- Authority
- JP
- Japan
- Prior art keywords
- word
- dictionary
- conversion
- reading
- input
- 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.)
- Pending
Links
Landscapes
- Document Processing Apparatus (AREA)
Abstract
(57)【要約】
【目的】 頻度情報の影響を受けない単語変換を行な
う。
【構成】 ユーザの登録可能なユーザ辞書(YKBU
F)と、頻度情報により単語検索を行う通常の単語辞書
の2種類の単語辞書を用意する。漢字変換に際し、KB
5からユーザ辞書(YDBUF)が指示された場合は、
変換第1候補を得るためにユーザ辞書を参照し、同音語
の変換第2候補以降を得るために通常の単語辞書を用い
る。
(57) [Summary] [Purpose] Performs word conversion that is not affected by frequency information. [Structure] User dictionary (YKBU) that allows users to register
Two types of word dictionaries are prepared: F) and an ordinary word dictionary that performs word searches based on frequency information. KB when converting kanji
If the user dictionary (YDBUF) is specified from 5,
The user dictionary is referenced to obtain the first conversion candidate, and the normal word dictionary is used to obtain the second conversion candidate of the homophone.
Description
【0001】[0001]
【産業上の利用分野】本発明は、かな漢字変換を行いな
がら文字を入力し、日本語の文書などのドキュメントを
作成編集する文字処理装置に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a character processing apparatus for inputting characters while performing kana-kanji conversion to create and edit documents such as Japanese documents.
【0002】[0002]
【従来の技術】日本文を入力する文字処理装置において
は、かな漢字変換を使用して文字を入力するのが普通で
ある。従来は、単語の読みと表記と対応づけて記憶した
辞書にあらかじめ格納されている頻度情報や、装置操作
者の入力結果から得られた頻度情報(学習)の他には、
単語の出現順を決める手段がなかった。そのため、装置
操作者の望む時だけ、望む単語を第一候補として変換さ
せるということができなく、結果として望まない単語が
第一候補と変換してしまうといった煩わしさがあった。2. Description of the Related Art In a character processing device for inputting Japanese sentences, it is common to input characters using kana-kanji conversion. Conventionally, in addition to frequency information stored in advance in a dictionary stored in association with word reading and notation and frequency information (learning) obtained from the input result of the device operator,
There was no way to determine the order in which words appeared. Therefore, it is not possible to convert the desired word as the first candidate only when the device operator desires, and as a result, the undesired word is converted into the first candidate.
【0003】[0003]
【発明が解決しようとする課題】単語の読みを表記と対
応づけて記憶した辞書にあらかじめ格納されている頻度
情報や、装置操作者の入力結果から得られる頻度情報
(学習)だけでは、100%装置操作者の望むどおりの
変換結果が得られるとは言えない。例えば、単語の読み
を表記と対応づけて記憶した辞書にあらかじめ一番高い
頻度で格納されている「合う」という単語と一番低い頻
度で格納されている「遭う」という単語を交互に使用し
たいとする。その際、まず「合う」という単語を選択し
たとする。学習機能が働いている時は、「合う」を選択
した後「あう」と入力すると再び「合う」という単語が
第一候補として変換してしまう。このため、装置操作者
が望む「遭う」は変換されない。また、学習機能が働い
ていない時であっても、(この時はあらかじめ辞書に格
納されている頻度情報に依存した変換になるので)「合
う」と選択した後「あう」と入力すると、再び頻度情報
が一番高い「合う」が変換され、やはり装置操作者が望
む単語とは異なる単語が変換されてしまう。[Problems to be Solved by the Invention] The frequency information stored in advance in a dictionary in which word readings are associated with notations and the frequency information (learning) obtained from the input result of the apparatus operator alone yields 100%. It cannot be said that the conversion result that the device operator desires can be obtained. For example, you want to alternately use the word "fit" that is stored in the dictionary with the highest frequency in advance and the word "encounter" that is stored with the lowest frequency in the dictionary that stores the readings of words in association with notations. And At that time, it is assumed that the word "fit" is selected first. When the learning function is working, if you select "fit" and then type "aou", the word "fit" will be converted as the first candidate again. Therefore, the "encounter" desired by the device operator is not converted. Also, even when the learning function is not working, if you select "fit" and enter "Au" again (because the conversion depends on the frequency information stored in the dictionary in advance at this time), enter "Au" again. The word “match” with the highest frequency information is converted, and a word different from the word desired by the device operator is also converted.
【0004】本発明は上記、従来例に鑑みてなされたも
ので、あらかじめ備えつけられている単語の読みを表記
と対応づけて記憶した辞書からでも、学習からでも第一
候補として変換することのできない装置操作者の望む単
語を、装置操作者の好きな時に第一候補として変換させ
ることのできる文書処理及びその装置を提供することを
目的としている。The present invention has been made in view of the above-mentioned conventional example, and cannot be converted as a first candidate either from a dictionary in which the reading of a word provided in advance is stored in association with a notation or from learning. An object of the present invention is to provide a document processing capable of converting a word desired by a device operator as a first candidate when the device operator likes and a device thereof.
【0005】[0005]
【課題を解決するための手段】このような目的を達成す
るために、請求項1の発明は、単語の読みを入力する入
力手段と、単語の読みを表記と対応づけて記憶した複数
種単語辞書であって、使用頻度情報により単語検索する
単語辞書および単語登録が可能なユーザ辞書を含む複数
種の辞書と、参照対象の単語辞書を指示する指示手段
と、前記入力手段により入力された読みを、当該指示さ
れた単語辞書を参照することにより単語の表記に変換す
る変換手段と、前記変換手段により変換された変換結果
を出力する出力手段とを具えたことを特徴とする。In order to achieve such an object, the invention of claim 1 provides an input means for inputting a reading of a word and a plurality of kinds of words stored in association with the notation of the reading of the word. A plurality of types of dictionaries, including a word dictionary for performing a word search based on frequency-of-use information and a user dictionary in which words can be registered, an instruction means for instructing a word dictionary to be referred to, and a reading input by the input means. Is provided with conversion means for converting into a word notation by referring to the instructed word dictionary, and output means for outputting the conversion result converted by the conversion means.
【0006】さらに、請求項2の発明は前記変換手段は
前記指示手段により指示された単語辞書を参照して、第
1番目の変換候補として変換結果を出力し、第2番目以
降の変換候補として他の単語辞書を参照して単語の読み
に対する変換結果を得ることを特徴とする。Further, in the invention of claim 2, the conversion means refers to the word dictionary designated by the designating means, outputs the conversion result as the first conversion candidate, and outputs it as the second and subsequent conversion candidates. It is characterized in that a conversion result for reading a word is obtained by referring to another word dictionary.
【0007】[0007]
【作用】請求項1の発明では、ユーザは使用頻度に関係
なく、使用したい単語をユーザ辞書に登録しておけばよ
く、必要に応じて指示手段によりユーザ辞書を指定する
ことで、使用頻度に依らない単語変換が可能となる。According to the invention of claim 1, regardless of the frequency of use, the user only has to register the words he / she wants to use in the user dictionary. By specifying the user dictionary by the instruction means as necessary, the frequency of use can be changed. Word conversion that does not depend on it is possible.
【0008】請求項2の発明では、第1の変換候補の取
得にのみ指定辞書を用いることで、多種の変換候補を得
ることができ、また、ユーザの辞書の指示操作を簡素化
できる。According to the second aspect of the present invention, since the designated dictionary is used only for obtaining the first conversion candidate, various conversion candidates can be obtained, and the user's instruction operation of the dictionary can be simplified.
【0009】[0009]
【実施例】以下図面を参照しながら本発明の実施例を詳
細に説明する。Embodiments of the present invention will be described below in detail with reference to the drawings.
【0010】図1は本発明を適用した文字処理装置のシ
ステム構成を示す。FIG. 1 shows the system configuration of a character processing apparatus to which the present invention is applied.
【0011】図1において、1は装置全体を制御し文書
処理のための演算、論理判断等を実行するマイクロプロ
セッサ(CPU)、2はCPU1が実行する制御プログ
ラム、文書処理プログラム、頻度情報を用いた単語検索
を行うための単語辞書を格納するROM、3は装置構成
要素から送られてくる各種データの一時記憶やCPUが
各種プログラムを実行する時の作業領域として用いる1
ワード16ビットの構成のRAMである。RAM3に
は、以下に述べるバッファエリアが設けられている。す
なわち、作成編集される文書データを記憶する領域とな
るテキストバッファ(TBUF)、同音語バッファエリ
アの索引を格納する領域(エリア)であるDBIND、
同音語バッファエリア(DBBUY)、キーボード(K
B)5から入力された読み列を一時的に蓄えるためのキ
ーボードバッファ(KBBUF)、ユーザ辞書を起動す
るかどうかの情報を格納するユーザ辞書起動バッファ
(YKBUF)が設けられている。さらに、ユーザ辞書
起動バッファ(YKBUF)に起動するという情報が格
納された場合にアクセスするユーザ辞書バッファ(YD
BUF)には、ユーザが第一候補として変換させたい単
語の読み列である「読み」(20文字)と、その「読
み」の表記であるところの「表記」(20文字)と、そ
の「表記」の持つ文法情報が示す「文法情報」(10文
字)のデータを格納する。このユーザ辞書へはKB5を
介して入力された読みと、表記をCPU1により単語登
録する。In FIG. 1, reference numeral 1 is a microprocessor (CPU) that controls the entire apparatus and executes calculations and logical judgments for document processing, and 2 is a control program executed by the CPU 1, a document processing program, and frequency information. The ROM 3 for storing the word dictionary for performing the word search is used as a temporary storage of various data sent from the device components and a work area when the CPU executes various programs.
A 16-bit word RAM. The RAM 3 is provided with a buffer area described below. That is, a text buffer (TBUF) which is an area for storing document data to be created and edited, a DBIND which is an area (area) for storing an index of a homophone buffer area,
Homophone buffer area (DBBUY), keyboard (K
B) A keyboard buffer (KBBUF) for temporarily storing the reading sequence input from 5 and a user dictionary activation buffer (YKBUF) for storing information on whether to activate the user dictionary are provided. Further, the user dictionary buffer (YDBUF) to be accessed when the information to start is stored in the user dictionary startup buffer (YKBUF).
In the BUF), "reading" (20 characters), which is the reading string of the word that the user wants to convert as the first candidate, "notation" (20 characters) that is the notation of the "reading", and its " The data of "grammar information" (10 characters) indicated by the grammar information of "notation" is stored. The reading and the notation input via the KB 5 are registered in the user dictionary as words by the CPU 1.
【0012】また、4はテキストバッファ(TBUF)
の作成された文書を保存するためのハードディスクある
いはフロッピーディスクなどの外部記憶装置(DIS
K)、5はアルファベットキー、ひらがなキー、カタカ
ナキー等の文字記号入力キー、本装置に対する各種機能
の起動停止を指示する変換キーや各種ファンクションキ
ーを備えたキーボード(KB)である。6はカーソルレ
ジスタ(CR)、7は表示すべきデータのドットパター
ンを格納する表示用バッファメモリ(DBUF)であ
る。8はCR6及びDBUF7に格納された情報をCR
T9に表示するための制御を行うCRTコントローラ
(CRTC)、9はCRTC8によって、制御されたド
ットパターンやカーソルを画面表示するCRTは陰極線
管などを用いた表示装置(CRT)である。10はCR
T9に表示する文字、記号のパターンを記憶するキャラ
クタジェネレータ(CG)である。そして、11〜13
はそれぞれ、上記各構成要素を接続するアドレスバス
(AB)、コントロールバス(CB)、データバス(D
B)である。AB13はCPU1の制御対象となる構成
要素を指示するアドレス信号を転送する。CB11はC
PU1の制御対象となる各構成要素に対して、制御信号
を転送する。DB12は各構成要素間のデータの転送転
送を行う。例えば、キーボード(KB)5からCPU1
へDB12を介して、入力された文字に対応する信号を
転送する。Reference numeral 4 is a text buffer (TBUF)
External storage device (DIS, such as a hard disk or a floppy disk) for storing the created document of
K) and 5 are keyboards (KB) equipped with alphabetic keys, hiragana keys, katakana keys, and other character / symbol input keys, conversion keys for instructing start / stop of various functions of the apparatus, and various function keys. Reference numeral 6 is a cursor register (CR), and 7 is a display buffer memory (DBUF) for storing a dot pattern of data to be displayed. 8 CR the information stored in CR6 and DBUF7
A CRT controller (CRTC) that performs control for displaying at T9, and 9 is a display device (CRT) that uses a cathode ray tube or the like, and a CRT that displays a dot pattern or cursor controlled by the CRTC 8 on the screen. 10 is CR
It is a character generator (CG) that stores patterns of characters and symbols displayed at T9. And 11-13
Are an address bus (AB), a control bus (CB), and a data bus (D) that connect the above-mentioned components, respectively.
B). The AB 13 transfers an address signal designating a component to be controlled by the CPU 1. CB11 is C
A control signal is transferred to each component that is the control target of PU1. The DB 12 transfers data between the respective constituent elements. For example, keyboard (KB) 5 to CPU 1
A signal corresponding to the input character is transferred to the DB 12 via.
【0013】ROM2に格納された単語辞書には読み
と、その表記と、その文法とに関する情報が対応して記
憶されており、かな漢字変換などで参照される。図2
は、その単語辞書の構成を示す図である。図2に示され
るように、その単語辞書に格納される単語各々は、単語
の読み列である「読み」(20文字)と、その「読み」
の表記であるところの「表記」(20文字)、その「表
記」の持つ文法情報を示す「文法」(10文字)、その
「表記」の持つ「頻度情報」(10文字)の固定データ
長の3つの情報を有している。The word dictionary stored in the ROM 2 stores information on reading, its notation, and its grammar in association with each other, and is referred to by kana-kanji conversion or the like. Figure 2
FIG. 6 is a diagram showing the structure of the word dictionary. As shown in FIG. 2, each of the words stored in the word dictionary includes “yomi” (20 characters), which is a reading sequence of words, and the “yomi”.
The fixed data length of "notation" (20 characters), "grammar" (10 characters) indicating the grammatical information of the "notation", and "frequency information" (10 characters) of the "notation". It has three pieces of information.
【0014】図3はキーボードバッファ(KBBUF)
の構成を示す。KBBUFのバッファ長は1024バイ
トである。このバッファにはKB5から入力された読み
列の情報がかな漢字変換が実行できる条件が整うまで蓄
積される。そして、変換条件が整った段階でその読み列
が漢字に変換され、バッファの内容がクリアされる。入
力文字列は、本実施例の場合、JIS X 0208コ
ードを使用して1文字2バイトで格納される。FIG. 3 shows a keyboard buffer (KBBUF)
Shows the configuration of. The buffer length of KBBUF is 1024 bytes. The reading string information input from the KB 5 is accumulated in this buffer until the conditions for executing the kana-kanji conversion are satisfied. Then, when the conversion conditions are satisfied, the reading string is converted into Kanji and the contents of the buffer are cleared. In the case of the present embodiment, the input character string is stored in 2 bytes per character using the JIS X 0208 code.
【0015】図4は、ユーザ辞書起動バッファ(YKB
UF)の構成を示す。このバッファにはユーザ辞書を起
動するかどうかの情報を格納する。そのバッファ内に格
納される値が“0”ならばユーザ辞書は起動せず、
“1”ならばユーザ辞書を起動することを示す。FIG. 4 shows a user dictionary activation buffer (YKB).
UF) configuration is shown. This buffer stores information on whether to activate the user dictionary. If the value stored in that buffer is "0", the user dictionary will not start,
"1" indicates that the user dictionary is activated.
【0016】図5は、装置操作者作成辞書(YDBU
F)の構成を示す。図5に示されるように、その単語辞
書に格納される単語各々は、単語の読み列である「読
み」(20文字)と、その「読み」の表記であるところ
の「表記」(20文字)、その「表記」の持つ文法情報
を示す「文法」(10文字)の固定データ長の3つの情
報を有している。FIG. 5 shows a dictionary created by the device operator (YDBU).
The structure of F) is shown. As shown in FIG. 5, each of the words stored in the word dictionary is a reading string of the word, "reading" (20 characters), and a "notation" (20 characters) that is the notation of the reading. ) Has three pieces of information of a fixed data length of “grammar” (10 characters) indicating the grammatical information of the “notation”.
【0017】図6は、作成編集中の文書データの内容を
格納するテキストバッファ(TBUF)の構成を示す。
図6の符号(a)が(TBUF)の全体構成を、図6の
符号(b)が各文字についてのバッファ構成をしてい
る。FIG. 6 shows the structure of a text buffer (TBUF) for storing the contents of document data being created and edited.
Reference numeral (a) in FIG. 6 shows the overall structure of (TBUF), and reference numeral (b) in FIG. 6 shows the buffer structure for each character.
【0018】図6の全体構成(a)に示すように、文書
は1文字2バイトの構成で文字の羅列として記憶され
る。As shown in the overall structure (a) of FIG. 6, a document is stored as a list of characters with a structure of one character and two bytes.
【0019】図6の文字のバッファ構成(b)において
1文字は2バイトで構成される。MSB(215ビット)
は同音語アクセントレベルであり、残りの部分(214〜
20ビット)は、コード部である。同音語アクセントレ
ベルは、その文字が同音語であるか、通常文字であるか
を指示し、「0」の時通常文字であり、「1」の時同音
語である。通常文字の時はコード部に文字コードが、J
IS X 0208コードで記憶される。同音語の時は
コード部に同音語番号が格納される。同音語番号は後述
する同音語バッファエリアの索引部かのインデックスと
なり、特定の同音語バッファを指定する。In the character buffer structure (b) of FIG. 6, one character is composed of 2 bytes. MSB (2 15 bits)
Is the homophonic accent level, and the rest (2 14 ~
2 0 bit) is a code part. The homophone accent level indicates whether the character is a homophone or a normal character, and when it is "0", it is a normal character, and when it is "1", it is a homophone. For normal characters, the character code is J
It is stored in the IS X 0208 code. For a homophone, the homophone number is stored in the chord part. The homophone number becomes an index of the index part of the homophone buffer area described later, and specifies a specific homophone buffer.
【0020】以上の構成を持つ文字処理装置は、KB5
からのさまざまな入力指示に応じて動作する。すなわ
ち、KB5に入力指示が与えられると、インタラプト信
号がCPU1に送られ、これに応じて、CPU1がRO
M2に格納されている各種の制御・処理プログラムを読
み出し実行して各種の制御や処理を行う。例えば、KB
5からの指示により、DISK4に保存された文書がテ
キストバッファ(TBUF)に読み出され、更なるKB
5からの指示により、TBUFのデータをDBUFにパ
ターン展開して文書データの内容の表示を行う。The character processing device having the above configuration is KB5.
It operates according to various input instructions from. That is, when an input instruction is given to the KB5, an interrupt signal is sent to the CPU1, and the CPU1 responds to the RO signal in response to this.
Various control / processing programs stored in M2 are read out and executed to perform various controls and processing. For example, KB
According to the instruction from 5, the document stored in DISK4 is read into the text buffer (TBUF), and further KB is read.
In response to an instruction from 5, the pattern of the TBUF data is expanded into DBUF and the content of the document data is displayed.
【0021】次に、上記構成の文字処理装置を用いた入
力文字列に対するかな漢字変換処理について図7に示す
CRT9の画面表示例を参照にして説明する。なお、本
実施例の場合、かな漢字変換はキー「。」の入力を契機
として実行される。また、以下に説明する処理における
キー入力において、DISK4からの文書読み出しや文
書編集等の機能にかかわるキー入力は扱わないものとす
る。Next, a kana-kanji conversion process for an input character string using the character processing device having the above configuration will be described with reference to a screen display example of the CRT 9 shown in FIG. In the case of the present embodiment, kana-kanji conversion is executed when the key "." Is input. Further, in the key input in the process described below, the key input related to the function of reading the document from the DISK 4 and the document editing will not be handled.
【0022】図7においてCMは次にキー入力を行った
時文字が表示される位置を示すカーソルを表し、TSは
テキストバッファ(TBUF)に格納されている文書の
内容が表示されるテキスト画面を表わす、MSは入力さ
れるキーデータを逐一表示するモニタラインを表わす。
以下に説明するかな漢字変換を実行する時には、一旦モ
ニタラインMSに読み列が表示され、かな漢字変換後、
その変換結果がテキストバッファTSに表示される。In FIG. 7, CM represents a cursor indicating the position where a character is displayed when the next key input is performed, and TS represents a text screen on which the contents of the document stored in the text buffer (TBUF) are displayed. In the figure, MS represents a monitor line that displays the input key data one by one.
When the kana-kanji conversion described below is executed, the reading line is once displayed on the monitor line MS, and after the kana-kanji conversion,
The conversion result is displayed in the text buffer TS.
【0023】すでに「合う」が変換されている状態で、
あらたに装置操作者が同じ文字「あう」をKB5から入
力して、これをかな漢字変換する場合を取り上げて文字
処理装置の漢字変換処理を説明する。本実施例では以下
の3種類の漢字変換処理が可能である。With "match" already converted,
The Kanji conversion process of the character processing device will be explained by taking up the case where the device operator newly inputs the same character "Au" from KB5 and converts it into Kana-Kanji. In this embodiment, the following three types of Kanji conversion processing are possible.
【0024】(1)ROMに格納されている単語辞書情
報に依存した変換が行われる場合(図7(a)) ROM2の単語辞書において読み「あう」に対して最も
頻度が高い表記は「合う」であるから、(1)ですでに
「合う」が選択された後再び「あう」と入力しても「合
う」が第一候補になる。(1) When conversion is performed depending on the word dictionary information stored in the ROM (FIG. 7 (a)) In the word dictionary of the ROM 2, the most frequent notation for "Au" is "fit". Therefore, even if “match” is already selected in (1) and then “match” is input again, “match” becomes the first candidate.
【0025】(2)装置操作者の変換結果(学習)に依
存した変換が行われる場合(図7(b)) 装置操作者の変換結果(学習)から読み「あう」に対し
て表記が「合う」であることを学習してしまっている場
合、次に読み「あう」を入力しても「合う」が第一候補
になる。(2) When conversion is performed depending on the conversion result (learning) of the device operator (FIG. 7 (b)) The notation "Au" is read from the conversion result (learning) of the device operator. If you have already learned that “fit”, then even if you input “read” next time, “fit” will be the first candidate.
【0026】(3)ユーザ辞書を起動させることによ
り、装置操作者の望む表記を第一候補として変換させる
場合(図7(c)) 「合う」とすでに変換されていた場合やいかなる環境下
であってもユーザ辞書を起動させた時は、ユーザ辞書に
格納されている読み「あう」に対する表記「遭う」が変
換される。(3) When the notation desired by the device operator is converted as the first candidate by activating the user dictionary (FIG. 7 (c)) When it is already converted to "fit" or under any environment Even if there is, when the user dictionary is activated, the notation "encounter" for the reading "Au" stored in the user dictionary is converted.
【0027】以上の処理を実行するためのCPU1の処
理手順を図8〜図10に示す。The processing procedure of the CPU 1 for executing the above processing is shown in FIGS.
【0028】図8は、キー入力を取り込み漢字変換処理
を行う部分の概略処理手順を示す。FIG. 8 shows a schematic processing procedure of a part which takes in a key input and performs a kanji conversion process.
【0029】まず、ステップS81では、キーボード
(KB)5から入力されたデータをキーボードバッファ
(KBBUF)に取り込む。続くステップS82では、
KBBUFに格納された入力キーの種類を調べる。ここ
で、ユーザ辞書起動キーが入力された場合には処理手順
はS83に進み、ユーザ辞書起動バッファ(YDBU
F)にユーザ辞書(YDBUF)を起動する情報が格納
され、S84でキーボードバッファ(KBBUF)に格
納された読み文字列をもとに、S85において、かな漢
字変換A(図7の符号(c)の漢字変換処理)を実行す
る。続くステップS88の処理でそのかな漢字変換の結
果をCRT9に表示する。First, in step S81, the data input from the keyboard (KB) 5 is loaded into the keyboard buffer (KBBUF). In the following step S82,
Check the type of input key stored in KBBUF. Here, if the user dictionary activation key is input, the processing procedure proceeds to S83, where the user dictionary activation buffer (YDBU
Information for activating the user dictionary (YDBUF) is stored in F), and based on the reading character string stored in the keyboard buffer (KBBUF) in S84, in S85, kana-kanji conversion A (code (c) in FIG. 7) Kanji conversion process) is executed. In the subsequent step S88, the result of the kana-kanji conversion is displayed on the CRT 9.
【0030】入力キーが文字入力キーであった場合、す
なわち、ユーザ辞書起動キーが入力されない場合には、
処理はS86でキーボードバッファ(KBBUF)に格
納された読み文字列をもとに、ステップS87に進み、
かな漢字変換B(図7の符号(a),(b)の漢字変換
処理)を実行する。続くステップS88の処理でそのか
な漢字変換の結果をCRT9に表示する。If the input key is a character input key, that is, if the user dictionary activation key is not input,
The process proceeds to step S87 based on the read character string stored in the keyboard buffer (KBBUF) in S86,
Kana-Kanji conversion B (Kanji conversion process of symbols (a) and (b) in FIG. 7) is executed. In the subsequent step S88, the result of the kana-kanji conversion is displayed on the CRT 9.
【0031】また、入力キーがユーザ辞書起動キーでも
文字入力キーでもない場合には、処理はステップS89
に進み、そのキー入力に応じた処理(例えば、カーソル
の移動、文字列の挿入削除など)を行って、続くステッ
プS88の処理でその結果をCRT9に表示する。If the input key is neither the user dictionary activation key nor the character input key, the process proceeds to step S89.
Then, the processing corresponding to the key input (for example, movement of the cursor, insertion / deletion of character string, etc.) is performed, and the result is displayed on the CRT 9 in the processing of the following step S88.
【0032】図9は、図8のステップS85の「かな漢
字変換A」の処理を詳細化したフローチャートである。FIG. 9 is a detailed flowchart of the process of "Kana-Kanji conversion A" in step S85 of FIG.
【0033】まず、ステップS83において、ユーザ辞
書起動バッファ(YKBUF)にユーザ辞書起動情報が
格納された場合は、すなわち、KB(本発明の入力手段
および指示手段)5からユーザ辞書を指示するユーザ辞
書起動情報が入力された場合、参照の対象の辞書をユー
ザ辞書(YDBUF)に設定する。次に、入力され、抽
出された文節の「読み」に基づいて、S91のユーザ辞
書(YDBUF)から変換候補を検索し、それらの変換
候補のうちどれがもっともらしいかを判断し、S92で
変換候補を作成する。そして、最尤単語を第一候補とし
て決定する。ステップS93では、参照対象の辞書を単
語辞書(ROM2)に変更し、決定された第一候補に基
づいてROMに格納されている単語辞書(ROM2)を
検索し、ステップS94で同音語を決定、作成する。作
成された同音語バッファをみて最後にステップS95で
はその変換結果をCRT9に出力する。したがって、こ
の処理手順を実行するCPU1が本発明の変換手段、出
力手段として機能する。First, in step S83, when the user dictionary activation information is stored in the user dictionary activation buffer (YKBUF), that is, the user dictionary for instructing the user dictionary from KB (input means and instruction means of the present invention) 5 is entered. When the activation information is input, the reference target dictionary is set to the user dictionary (YDBUF). Next, based on the "reading" of the input and extracted phrase, a conversion candidate is searched from the user dictionary (YDBUF) of S91, which of these conversion candidates is most likely, and conversion is performed in S92. Create a candidate. Then, the maximum likelihood word is determined as the first candidate. In step S93, the reference dictionary is changed to the word dictionary (ROM2), the word dictionary (ROM2) stored in the ROM is searched based on the determined first candidate, and the homophone is determined in step S94. create. Looking at the created homophone word buffer, finally, in step S95, the conversion result is output to the CRT 9. Therefore, the CPU 1 that executes this processing procedure functions as the conversion unit and the output unit of the present invention.
【0034】図10は、図8のステップS87「かな漢
字変換B」の処理を詳細化したフローチャートである。FIG. 10 is a detailed flowchart of the process of step S87 "Kana-Kanji conversion B" of FIG.
【0035】まず、ステップS82において、入力キー
が文字入力キーであった場合には、処理はステップS1
01に進み、ROMに格納されている単語辞書(ROM
2)から変換候補を検索する。そして、ステップS10
6において、頻度情報に基き最ももっともらしい単語を
第一候補として決定する。ステップS87においては、
決定された第一候補に基づいて同音語を作成する。作成
された同音語バッファをみてステップS104でその変
換結果を出力する。なお、学習モードが設定されている
場合には第一候補が学習単語となり(ステップS10
1,S102)、ついで単語辞書(ROM2)を参照し
て同音語が作成される(ステップS103→S10
4)。First, when the input key is the character input key in step S82, the process is step S1.
Proceed to 01, and the word dictionary (ROM
Search for conversion candidates from 2). Then, step S10
In 6, the most plausible word is determined as the first candidate based on the frequency information. In step S87,
A homophone is created based on the determined first candidate. The created homophone word buffer is viewed and the conversion result is output in step S104. When the learning mode is set, the first candidate is the learning word (step S10).
, S102) and then the word dictionary (ROM2) is referred to to create a homophone (steps S103 → S10).
4).
【0036】本実施例の他に次の例を実施できる。In addition to this embodiment, the following example can be carried out.
【0037】1)装置操作者の使用する単語が限られて
いるにもかかわらず、同音語候補がたくさんある時、ユ
ーザ辞書起動キーを起動した時のみだけ、ユーザ辞書に
登録してある単語のみ変換させないようにすることも可
能である。1) When there are many homonym candidates even though the number of words used by the device operator is limited, only when the user dictionary activation key is activated, only the words registered in the user dictionary It is also possible not to convert.
【0038】2)以上の説明においては辞書を固定長で
持つ場合について述べたが、辞書は可変長で持つことも
できる。単語の読み列である「読み」、その「読み」の
表記であるところの「表記」、その「表記」の持つ文法
辞書を示す「文法情報」、その「表記」の持つ頻度情報
を示す「頻度情報」の4つの情報を持つ辞書であるが、
それぞれのデータの終わりにそれぞれのデータの終わり
を示すコードを入れることによって辞書を可変長のもの
とする。2) In the above description, the case where the dictionary has a fixed length has been described, but the dictionary can also have a variable length. "Yomi" which is a reading string of words, "notation" which is the notation of the "Yomi", "grammar information" which shows the grammar dictionary of the "notation", and "frequency" which the "notation" has It is a dictionary that has four pieces of information "frequency information",
The dictionary is made variable in length by inserting a code indicating the end of each data at the end of each data.
【0039】[0039]
【発明の効果】以上、説明したように、請求項1の発明
では、ユーザは使用頻度に関係なく、使用したい単語を
ユーザ辞書に登録しておけばよく、必要に応じて指示手
段によりユーザ辞書を指定することで、使用頻度に依ら
ない単語変換が可能となる。As described above, according to the first aspect of the present invention, the user may register the word he / she wants to use in the user dictionary regardless of the frequency of use, and the user dictionary may be used by the instructing means as necessary. By specifying, the word conversion can be performed regardless of the frequency of use.
【0040】請求項2の発明では、第1の変換候補の取
得にのみ指定辞書を用いることで、多種の変換候補を得
ることができ、また、ユーザの辞書の指示操作を簡素化
できる。According to the second aspect of the present invention, by using the designated dictionary only for obtaining the first conversion candidate, various conversion candidates can be obtained, and the user's operation of instructing the dictionary can be simplified.
【図1】本発明実施例のシステム構成を示すブロック図
である。FIG. 1 is a block diagram showing a system configuration of an embodiment of the present invention.
【図2】本発明実施例の単語辞書(ROM2)の構成を
示す説明図である。FIG. 2 is an explanatory diagram showing a configuration of a word dictionary (ROM2) according to the embodiment of the present invention.
【図3】本発明実施例におけるキーボードバッファの構
成を示す説明図である。FIG. 3 is an explanatory diagram showing a configuration of a keyboard buffer according to the embodiment of the present invention.
【図4】本発明実施例におけるユーザ辞書起動バッファ
の構成を示す説明図である。FIG. 4 is an explanatory diagram showing a configuration of a user dictionary activation buffer according to the embodiment of the present invention.
【図5】本発明実施例におけるユーザ辞書バッファの構
成を示す説明図である。FIG. 5 is an explanatory diagram showing a configuration of a user dictionary buffer according to the embodiment of the present invention.
【図6】本発明実施例における作成編集中の文書データ
の内容を格納するテキストバッファ(TBUF)の構成
を示す説明図である。FIG. 6 is an explanatory diagram showing the configuration of a text buffer (TBUF) that stores the contents of document data being created and edited in the embodiment of the present invention.
【図7】本発明におけるCRT9の画面表示例を示す図
である。FIG. 7 is a diagram showing a screen display example of a CRT 9 according to the present invention.
【図8】本発明実施例における文字処理装置の動作を示
すフローチャートである。FIG. 8 is a flowchart showing an operation of the character processing device in the embodiment of the present invention.
【図9】本発明実施例における文字処理装置の動作を示
すフローチャートである。FIG. 9 is a flowchart showing the operation of the character processing device in the embodiment of the present invention.
【図10】本発明実施例における文字処理装置の動作を
示すフローチャートである。FIG. 10 is a flowchart showing an operation of the character processing device in the embodiment of the present invention.
1 CPU 2 ROM 3 RAM 4 外部記憶装置(DISK) 5 キーボード(KB) 6 カーソルレジスタ(CR) 7 DBUF 8 CRTC 9 CRT 10 キャラクタジェネレータ(CG) 11 コントロールバス(CBus) 12 データバス(DBus) 13 アドレスバス(ABus) 1 CPU 2 ROM 3 RAM 4 External storage device (DISK) 5 Keyboard (KB) 6 Cursor register (CR) 7 DBUF 8 CRTC 9 CRT 10 Character generator (CG) 11 Control bus (CBus) 12 Data bus (DBus) 13 Address Bus (ABus)
Claims (2)
であって、使用頻度情報により単語検索する単語辞書お
よび単語登録が可能なユーザ辞書を含む複数種の辞書
と、 参照対象の単語辞書を指示する指示手段と、 前記入力手段により入力された読みを、当該指示された
単語辞書を参照することにより単語の表記に変換する変
換手段と、前記変換手段により変換された変換結果を出
力する出力手段とを具えたことを特徴とする文字処理装
置。1. An input means for inputting a word reading, and a plural-type word dictionary in which the word reading is stored in association with a notation, the word dictionary performing a word search based on frequency-of-use information, and a user capable of registering a word. A plurality of types of dictionaries including a dictionary, an instruction means for instructing a reference word dictionary, and a conversion means for converting the reading input by the input means into a word notation by referring to the instructed word dictionary. And a character output device for outputting the conversion result converted by the conversion unit.
された単語辞書を参照して、第1番目の変換候補として
変換結果を出力し、第2番目以降の変換候補として他の
単語辞書を参照して単語の読みに対する変換結果を得る
ことを特徴とする請求項1に記載の文字処理装置。2. The conversion unit refers to the word dictionary designated by the designation unit, outputs the conversion result as the first conversion candidate, and refers to another word dictionary as the second and subsequent conversion candidates. The character processing device according to claim 1, wherein a conversion result for reading the word is obtained.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP7007127A JPH08194701A (en) | 1995-01-20 | 1995-01-20 | Character processor |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP7007127A JPH08194701A (en) | 1995-01-20 | 1995-01-20 | Character processor |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH08194701A true JPH08194701A (en) | 1996-07-30 |
Family
ID=11657422
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP7007127A Pending JPH08194701A (en) | 1995-01-20 | 1995-01-20 | Character processor |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH08194701A (en) |
-
1995
- 1995-01-20 JP JP7007127A patent/JPH08194701A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH08314910A (en) | Different kind of code character string transcribing device and electronic dictionary | |
| JP3290451B2 (en) | Electronic dictionary | |
| JPH08194701A (en) | Character processor | |
| JP2621999B2 (en) | Document processing device | |
| JP2833650B2 (en) | Document processing device | |
| JP3847801B2 (en) | Character processing apparatus and processing method thereof | |
| JP2737160B2 (en) | Sentence processing equipment | |
| JPH0380363A (en) | Document processor | |
| JPS60207948A (en) | Kana-kanji conversion processing device | |
| JPH08335217A (en) | Reading conversion method and document creation device | |
| JPH08202703A (en) | Character processing device and its kana-kanji conversion method | |
| JPH08171568A (en) | Multiple language input method | |
| JPH07200569A (en) | Character processor | |
| JPH09179858A (en) | Document creation device and display method | |
| JPH0561855A (en) | Japanese language processor | |
| JPH04332073A (en) | Method and device for processing character | |
| JPH103475A (en) | Character processor | |
| JPH08147287A (en) | Document input method and document processing apparatus | |
| JPH07160696A (en) | Document processing method and apparatus | |
| JPH04133167A (en) | Kana/kanji converter | |
| JPH0370066A (en) | character processing device | |
| JPH08320868A (en) | Kana-Kanji converter | |
| JPH0981555A (en) | Document processing apparatus and method | |
| JPH08194698A (en) | Character processor | |
| JPS63308664A (en) | Character processing device |