JP2543501B2 - Word processor - Google Patents

Word processor

Info

Publication number
JP2543501B2
JP2543501B2 JP61110149A JP11014986A JP2543501B2 JP 2543501 B2 JP2543501 B2 JP 2543501B2 JP 61110149 A JP61110149 A JP 61110149A JP 11014986 A JP11014986 A JP 11014986A JP 2543501 B2 JP2543501 B2 JP 2543501B2
Authority
JP
Japan
Prior art keywords
character string
notation
kana
kanji
key
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP61110149A
Other languages
Japanese (ja)
Other versions
JPS62266659A (en
Inventor
幸好 武藤
芳宏 国分
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
GENGO KOGAKU KENKYUSHO KK
Brother Industries Ltd
Original Assignee
GENGO KOGAKU KENKYUSHO KK
Brother Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by GENGO KOGAKU KENKYUSHO KK, Brother Industries Ltd filed Critical GENGO KOGAKU KENKYUSHO KK
Priority to JP61110149A priority Critical patent/JP2543501B2/en
Publication of JPS62266659A publication Critical patent/JPS62266659A/en
Application granted granted Critical
Publication of JP2543501B2 publication Critical patent/JP2543501B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Description

【発明の詳細な説明】 (産業上の利用分野) この発明はワードプロセッサに関するものである。The present invention relates to a word processor.

(従来の技術) かな漢字変換機能を備えた日本語ワードプロセッサに
おいてはキーボードの文字キーで複数個の文節からなる
1つの文章をかな入力で入力した場合、1つの文章が多
数の平仮名の文字データ列(未確定かな文字列)で記憶
され、その未確定かな文字列が表示器に表示される。そ
して、その未確定かな文字列を漢字交換すべくキーボー
ドに設けられた漢字変換キーを操作すると、その未確定
かな文字列が漢字変換され、漢字変換された文字列が候
補文字列として表示器に表示されるようになっている。
又、他の候補文字列が存在する場合、表示された候補文
字列はキーボード上に設けられた次候補キーの操作によ
り他の候補文字列に変更できるようになっている。
(Prior Art) In a Japanese word processor having a kana-kanji conversion function, when a sentence consisting of a plurality of clauses is input by kana input using the character keys of the keyboard, one sentence is a character data string of many hiragana characters ( (Undetermined kana character string) is stored, and the undetermined kana character string is displayed on the display. When the Kanji conversion key provided on the keyboard is operated to exchange the Kana character string for Kanji, the Kana character string is converted to Kanji, and the Kanji converted character string is displayed on the display as a candidate character string. It is supposed to be displayed.
If another candidate character string exists, the displayed candidate character string can be changed to another candidate character string by operating the next candidate key provided on the keyboard.

(発明が解決しようとする問題点) 従来の日本語ワードプロセッサにおいてはかな文字列
を入力した後にそのかな文字列を漢字変換したとき、入
力した文字列がひらがな表記と漢字表記とのいずれも一
般的に使用されている場合でも漢字変換がされてしま
い、後でひらがな表記を選択しようとしても、ひらがな
表記に変更することはできなかった。そして、そのよう
な場合には、かな文字列を区切ながら入力してひらがな
表記したい区切りで無変換キーを操作したり、全候補文
字列を一旦確定させてから所望の部分の漢字を削除して
そこにひらがなを再入力したりしなければならず、いず
れの場合もその操作は非常に面倒であった。
(Problems to be solved by the invention) In a conventional Japanese word processor, when a kana character string is input and then the kana character string is converted to kanji, the input character string is generally in both hiragana and kanji notation. Even if it was used for, it was converted to Kanji, and even if I later tried to select Hiragana notation, I could not change it to Hiragana notation. Then, in such a case, enter the kana character string while delimiting it and operate the non-conversion key at the delimiter you want to write in hiragana, or once confirm all candidate character strings and delete the kanji of the desired part. I had to re-enter the hiragana there, and in each case the operation was very cumbersome.

(目的) この発明の目的は前記問題点を解決し、入力された文
字列にかな表記及び漢字表記のいずれもがある場合に、
変更キーが操作された時、いずれかの表記が優先的に選
択され、この選択された表記が所望の表記でない場合に
は残りの表記を選択させ、最終的に選択された表記を次
回の変換のときにも優先的に選択することができ、漢字
変換処理の操作を容易に行うことができるワードプロセ
ッサを提供することにある。
(Object) The object of the present invention is to solve the above-mentioned problems, and when the input character string includes both kana and kanji notation,
When the change key is operated, one of the notations is preferentially selected, and when the selected notation is not the desired notation, the remaining notations are selected, and the finally selected notation is converted to the next notation. The purpose of the present invention is to provide a word processor that can be selected preferentially even in the case of, and can easily perform the operation of Kanji conversion processing.

(問題点を解決するための手段) 前記目的を達成するために、この発明のワードプロセ
ッサは、かな文字を入力するための入力手段と、その入
力手段により入力されるかな文字を未確定かな文字列と
して順次記憶する第1の記憶手段と、多数の候補文字列
の各々に関する情報として、読みを表すかな文字列デー
タと、漢字表記データと、かな表記と漢字表記のいずれ
かを優先するかを示す優先情報とを記憶する第2の記憶
手段と、第1の記憶手段内の変更対象となる未確定かな
文字列の読みを一致するかな文字列データに対応する候
補文字列を第2の記憶手段において検索し、未確定かな
文字列を優先情報に従った一方の表記形態で表記される
優先候補文字列に変換する変換制御手段と、その変換制
御手段によって変換された優先候補文字列を両表記の他
方の表記形態に変更する変更手段と、優先候補文字列を
確定文字列として確定する確定手段と、その確定手段に
より確定された確定文字列に対応する候補文字列の前記
優先情報を確定時の表記に従って書替える書替制御手段
とを備えている。
(Means for Solving Problems) In order to achieve the above-mentioned object, a word processor of the present invention has an input means for inputting kana characters and a kana character string in which the kana characters input by the input means are undetermined kana character strings. As a piece of information regarding each of a large number of candidate character strings, kana character string data representing reading, kanji notation data, and which of kana notation and kanji notation has priority. The second storage means for storing the priority information and the second storage means for the candidate character string corresponding to the kana character string data that matches the reading of the undetermined kana character string to be changed in the first storage means. And a conversion control means for converting an undetermined kana character string into a priority candidate character string written in one notation form according to priority information, and a priority candidate character string converted by the conversion control means. To the other notation form of both notations, a confirmation means for confirming the priority candidate character string as the confirmed character string, and the priority information of the candidate character string corresponding to the confirmed character string confirmed by the confirmation means. And a rewriting control means for rewriting according to the notation at the time of confirmation.

(作用) 上記の構成を有するこの発明のワードプローセッサに
おいては、入力手段にてかな文字を入力すると、第1の
記憶手段はその入力手段により入力されるかな文字を未
確定かな文字列として順次記憶する。そして、変換制御
手段は、前記第1の記憶手段内の変換対象となる未確定
かな文字列未確定かな文字列の読みと一致するかな文字
列データに対応する候補文字列を第2の記憶手段におい
て検索し、前記未確定かな文字列を優先情報に従って一
方の表記形態で表記される優先候補文字列を変換する。
また、変更手段は、変換制御手段によって変換された優
先候補文字列を両表記の他方の表記形態に変更する。操
作者が前記優先候補文字列あるいは変更手段により変更
された優先候補文字列を確定文字列として選択すべく確
定手段を操作すると、優先候補文字列は確定文字列とし
て確定する。すると、書替制御手段はその確定手段によ
り確定された確定文字列に対応する候補文字列の優先情
報を確定時の表記に従って書替える。
(Operation) In the word processor of the present invention having the above-mentioned configuration, when a kana character is input by the input means, the first storage means sequentially outputs kana characters input by the input means as an undetermined kana character string. Remember. Then, the conversion control means causes the second storage means to store the candidate character string corresponding to the kana character string data that matches the reading of the undetermined kana character string to be converted in the first storage means. In step 2, the undetermined kana character string is converted into a priority candidate character string represented in one notation form according to the priority information.
Further, the changing unit changes the priority candidate character string converted by the conversion control unit to the other notation form of both notations. When the operator operates the fixing means to select the priority candidate character string or the priority candidate character string changed by the changing means as the fixed character string, the priority candidate character string is fixed as the fixed character string. Then, the rewriting control means rewrites the priority information of the candidate character string corresponding to the confirmed character string confirmed by the determining means according to the notation at the time of confirmation.

(実施例) 以下、この発明を日本語ワードプロセッサに具体化し
た一実施例を第1図〜第5図に従って説明する。
(Embodiment) An embodiment in which the present invention is embodied in a Japanese word processor will be described below with reference to FIGS.

第2図において、ワードプロセッサ1の本体ケース2
の前側部には入力手段としてのキーボード3が設けら
れ、後側部にはプリンタ4が設けられている。キーボー
ド3には40桁を一行とする複数行を備える液晶表示器5
が設けられている。キーボード3上には各種操作キーが
配置されていて、アルファベット及びひらがなの各文字
及び数字等を入力する文字キー6、漢字変換キー7、変
更手段としての次候補キー8、確定手段としての実行キ
ー10、カーソル移動キー11等他の各種キーが配設されて
いる。
In FIG. 2, the main body case 2 of the word processor 1 is shown.
Is provided with a keyboard 3 as input means on the front side, and a printer 4 on the rear side. The keyboard 3 has a liquid crystal display 5 having a plurality of lines each having 40 columns.
Is provided. Various operation keys are arranged on the keyboard 3, a character key 6 for inputting letters and numbers of alphabets and hiragana, a kanji conversion key 7, a next candidate key 8 as a changing means, and an execution key as a confirming means. Various other keys such as 10 and a cursor movement key 11 are provided.

漢字変換キー7は入力されたかな文字列を漢字混じり
の候補文字列に変換したいときに操作され、次候補キー
8は漢字変換を行ったときに変換された漢字混じりの候
補文字列を他の候補文字列に替えたいときに使用され
る。又、実行キー10は操作者が選択した候補文字列を確
定文字列にしたいとき使用されると共に、文書の改行指
令信号を出力する等他の処理を実行するためにも操作さ
れる。カーソル移動キー11は前記液晶表示器5の表示画
面に表示されるカーソルを移動するとき使用される。
The Kanji conversion key 7 is operated when the input Kana character string is to be converted into a candidate character string containing Kanji characters, and the next candidate key 8 is a candidate character string containing Kanji characters converted when performing Kanji conversion. It is used when you want to change to a candidate character string. Further, the execution key 10 is used when the candidate character string selected by the operator is desired to be a confirmed character string, and is also operated to execute other processing such as outputting a document line feed command signal. The cursor movement key 11 is used to move the cursor displayed on the display screen of the liquid crystal display 5.

次に、このワードプロセッサ1の電気的構成を第1図
に示す電気ブロック回路図にて説明する。
Next, an electric configuration of the word processor 1 will be described with reference to an electric block circuit diagram shown in FIG.

本体ケース2に内蔵された変換制御手段、書替制御手
段としての中央処理装置(以下、CPUという)13には読
出し専用のメモリ(ROM)14、及び読出し及び書替可能
なメモリ(RAM)よりなる作業用メモリ15が接続されて
いる。作業用メモリ15は文字キー6にて入力されてくる
文字コードデータを一時記憶する第1の記憶手段として
の入力バッファ部15aと、候補文字列を一時記憶する第
2の記憶手段としての学習メモリ15b等を備えている。C
PU13はキーボードドライブ16を介して前記キーボード3
に接続され、表示コントローラ17を介して前記液晶表示
器5に接続され、印字ドライバ18を介して前記プリンタ
4に接続されると共にコードテーブル20が接続されてい
る。又、CPU13は漢字辞書メモリ19、文書メモリ21等の
各種メモリと接続されている。
The central processing unit (hereinafter referred to as CPU) 13 as the conversion control means and the rewriting control means built in the main body case 2 has a read-only memory (ROM) 14 and a readable and rewritable memory (RAM). A working memory 15 is connected. The working memory 15 is an input buffer section 15a as a first storage means for temporarily storing character code data input by the character keys 6, and a learning memory as a second storage means for temporarily storing candidate character strings. It has 15b etc. C
PU13 is the keyboard 3 via the keyboard drive 16
To the liquid crystal display 5 via the display controller 17, and to the printer 4 via the print driver 18 and the code table 20. Further, the CPU 13 is connected to various memories such as a kanji dictionary memory 19 and a document memory 21.

ROM14にはこのワードプロセッサを各種動作させるた
めの日本語ワードプロセッサ制御プログラム、キーボー
ド制御プログラム、プリンタ制御プログラム、液晶表示
器制御プログラム等、各種の制御プログラムが記憶され
たプログラムメモリ22とキャラクタジェネレータ23とを
備えている。そして、CPU13はこの各種制御プログラム
に従って動作するようになっている。キャラクタジェネ
レータ23は各書体毎のドットマトリックスで表示或いは
印字される文字や記号等の文字パターンデータが記憶さ
れている。
The ROM 14 includes a program memory 22 storing various control programs such as a Japanese word processor control program, a keyboard control program, a printer control program, and a liquid crystal display control program for operating the word processor in various ways, and a character generator 23. ing. Then, the CPU 13 operates according to the various control programs. The character generator 23 stores character pattern data such as characters and symbols to be displayed or printed in a dot matrix for each typeface.

前記漢字辞書メモリ19にはかな漢字変換に必要な各種
の漢字のデータが記憶され、漢字変換時に適宜選択して
読み出される。即ち、漢字辞書メモリ19には第4図に示
すように1つの読み25を表わす文字列データ、その文字
列データに対応する漢字表記データ26、文法情報27、ひ
らがなと漢字の両表記が一般的に使用されるか否かの表
記情報28及び両表記が一般的に使用される場合にはかな
表記・漢字表記のいずれかの表記を優先的に表記させる
かの優先情報29等が格納されている。
The Kanji dictionary memory 19 stores various kinds of Kanji data necessary for Kana-Kanji conversion, and is appropriately selected and read at the time of Kanji conversion. That is, in the kanji dictionary memory 19, as shown in FIG. 4, character string data representing one reading 25, kanji character data 26 corresponding to the character string data, grammatical information 27, and hiragana and kanji notation are generally used. Stores the notation information 28 that indicates whether or not it is used, and if both notations are generally used, priority information 29 that indicates which one of the kana notation and kanji notation will be given priority. There is.

さらに、コードテーブル20には各文字や記号に対応す
るコードが記憶されていて、前記文字キー等の入力操作
時にこのコードテーブル20に従って信号がコード化され
る。又、文書メモリ21は前記キーボード3の文字キー6
等を操作者が操作して入力した文字データが入力バッフ
ァ部15aに記憶され、この文字データを保存するとき等
に転送されて記憶するようになっている。
Further, the code table 20 stores codes corresponding to the respective characters and symbols, and signals are coded in accordance with the code table 20 at the time of input operation of the character keys or the like. In addition, the document memory 21 is a character key 6 of the keyboard 3.
Character data input by the operator operating the above is stored in the input buffer unit 15a, and is transferred and stored when storing the character data.

次に、上記のように構成したワードプロセッサ1の作
用を第3図のフローチャートに従って説明する。
Next, the operation of the word processor 1 configured as described above will be described with reference to the flowchart of FIG.

電源が投入されると、ステップS1(以下、単に「S1」
と略し、他も同様とする)において、所定の初期設定が
なされた後、S2において所謂キースキャン状態となり、
CPU13はキー入力がなされるのを待つ。
When the power is turned on, step S1 (hereinafter, simply "S1"
, And the same applies to others), after a predetermined initial setting has been made, a so-called key scan state is set in S2,
The CPU 13 waits for key input.

操作者がキーボード3上のいずれかのキーを操作する
と、S2の判定がYESとなり、CPU13はキーボード制御プロ
グラムに基づいて操作されたキーが何であるかをS3,S
6、S16及びS20で判定する。
When the operator operates any key on the keyboard 3, the determination in S2 becomes YES, and the CPU 13 determines in S3, S what the operated key is based on the keyboard control program.
It is judged in 6, S16 and S20.

文字キー6等の文書入力に関するキーが操作される
と、S3の判定がYESとなりCPU13はS4で入力された文字デ
ータを作業用メモリ15の入力バッファ部15aに順次記憶
させると共に、液晶表示器制御プログラムに基づいてS5
で入力バッファ部15aに記憶されたデータに従って液晶
表示器5に文書を表示する。尚、かな漢字変換される前
のかな文字列(以下、未確定かな文字列という)は反転
表示される。その後、プログラムは再びS2に戻る。
When a key related to document input such as the character key 6 is operated, the determination in S3 becomes YES, and the CPU 13 causes the input buffer unit 15a of the working memory 15 to sequentially store the character data input in S4 and controls the liquid crystal display. S5 based on the program
The document is displayed on the liquid crystal display 5 according to the data stored in the input buffer section 15a. The kana character string before being converted to kana-kanji (hereinafter referred to as an undetermined kana character string) is displayed in reverse video. After that, the program returns to S2 again.

漢字変換キー7が操作された場合には、漢字変換キー
7から入力される漢字変換指令信号に基づいてCPU13はS
3での判定をNO、S6での判定をYESとし、CPU13はS7にお
いて入力バッファ部15aに未確定かな文字列があるか無
いかを判定し、無い場合にはS15でブザーを鳴らす等の
エラー処理を行ってからS2に戻る。一方、未確定かな文
字列がある場合にはCPU13がS7でYESと判定し、カーソル
アドレスに基づいて変換対象となる未確定かな文字列を
読出し、S8において学習メモリ15bに該当する読みの候
補文字列を検索し、S9において学習メモリ15bに該当す
る候補文字列があったか無かったかを判定する。最初は
学習メモリ15bには読出すべき候補文字列が何も記憶さ
れていないため、S10に移行に、漢字辞書メモリ19を参
照して対応する読み25に対応する候補文字列を検索す
る。次にS11においてCPU13は検索した候補文字列に対応
する各種データのうち表記情報28に基づいてかな表記・
漢字表記の両表記を有しているか否かを判定する。両表
記があるとCPU13が判定すると、次にCPU13はS12で優先
情報29に基づいて漢字表記が優先か否かを判定し、YES
の場合にはCPU13はS13で漢字表記データ26に基づいて漢
字表記にてその候補文字列を液晶表示器5に表示してS2
で次のキー入力を待つ。
When the Kanji conversion key 7 is operated, the CPU 13 executes S based on the Kanji conversion command signal input from the Kanji conversion key 7.
If the determination in 3 is NO, the determination in S6 is YES, the CPU 13 determines in S7 whether or not there is an undetermined kana character string in the input buffer unit 15a, and if not, an error such as sounding the buzzer in S15. After processing, the process returns to S2. On the other hand, if there is an undetermined kana character string, the CPU 13 determines YES in S7, reads the undetermined kana character string to be converted based on the cursor address, and in S8 the reading candidate character corresponding to the learning memory 15b. The column is searched and it is determined in S9 whether or not there is a corresponding candidate character string in the learning memory 15b. Since no candidate character string to be read is initially stored in the learning memory 15b, the process moves to S10 and the Kanji dictionary memory 19 is referenced to search for a candidate character string corresponding to the corresponding reading 25. Next, in S11, the CPU 13 displays kana based on the notation information 28 among various data corresponding to the retrieved candidate character string.
It is determined whether or not the user has both the Kanji notation. If the CPU 13 determines that there are both notations, then the CPU 13 determines in S12 based on the priority information 29 whether or not the Kanji notation has priority, and YES.
In the case of, the CPU 13 displays the candidate character string in the Kanji notation on the liquid crystal display 5 based on the Kanji notation data 26 in S13, and then S2
And wait for the next key input.

S11でCPU13がNOと判定したとき、CPU13は漢字表記デ
ータ26があるときはS13で漢字表記にて候補文字列を液
晶表示器5に表示し、無いときはS14でひらがな表記に
て候補文字列を表示してS2で次のキー入力を待つ。又、
S12でCPU13がNOと判定したときにはS14で入力バッファ1
5aに記憶されている変換対象となった未確定かな文字列
の文字コードに基づいてひらがな表記にて候補文字列を
液晶表示器5に表示してS2で次のキー入力で待つ。すな
わち、S14では反転表示されていた未確定かな文字列が
通常表示され、そのひらがな候補文字列として検索され
たことになる。
When the CPU 13 determines NO in S11, the CPU 13 displays the candidate character string in the Chinese character notation on the liquid crystal display 5 in S13 when the Chinese character notation data 26 exists, and when not in S14, the candidate character string in the Hiragana notation. Is displayed and S2 waits for the next key input. or,
When the CPU 13 determines NO in S12, the input buffer 1 in S14
A candidate character string is displayed on the liquid crystal display 5 in Hiragana notation based on the character code of the undetermined kana character string which is stored in 5a and waits for the next key input in S2. That is, in S14, the undetermined kana character string that was highlighted is normally displayed and is searched as the hiragana candidate character string.

次に前記のように液晶表示器5に表示された候補表記
が所望の表記でない場合には次候補キー8を操作する。
すると、CPU13はその次候補キー8の操作により入力し
た再変換指令信号に基づいてS2でYES、S3,S6でNOで判定
をし、S16でYESの判定をする。そして、次にCPU13は現
在液晶表示器5に表示している候補文字列がかな表記・
漢字表記の両表記を有しているか否かをその読みに対応
した表記情報28に基づいて判定する。
Next, if the candidate notation displayed on the liquid crystal display 5 is not the desired notation as described above, the next candidate key 8 is operated.
Then, the CPU 13 determines YES in S2 and NO in S3 and S6 based on the reconversion command signal input by operating the next candidate key 8, and determines YES in S16. Then, the CPU 13 next displays the candidate character string currently displayed on the liquid crystal display 5 in kana notation.
Whether or not it has both the kanji notations is determined based on the notation information 28 corresponding to the reading.

CPU13がS17でYESの判定をすると、CPU13はS18で現在
液晶表示器5に表示している候補文字列の優先情報29に
基づいてその残りの他の表記を液晶表示器5に表示して
S2に戻る。又、CPU13がS17でNOの判定をすると、CPU13
はS19で現在液晶表示器5に表示している候補文字列を
除いて、S8に移行し、次の新たな候補文字列を学習メモ
リ15bにおいて検索し、無ければS10で漢字辞書メモリ19
から検索する。
When the CPU 13 makes a YES determination in S17, the CPU 13 displays the other notations on the liquid crystal display 5 based on the priority information 29 of the candidate character string currently displayed on the liquid crystal display 5 in S18.
Return to S2. If the CPU13 makes a NO determination in S17, the CPU13
Removes the candidate character string currently displayed on the liquid crystal display 5 in S19, moves to S8, searches the learning memory 15b for the next new candidate character string, and if there is no, in the Kanji dictionary memory 19
Search from.

次に前記のように液晶表示器5に表示された候補表記
が所望の表記である場合には実行キー10を操作する。す
ると、CPU13はその実行キー10の操作により入力した信
号に基づいてS2でYES、S3,S6,S16でNOの判定をし、S20
でYESの判定をする。このYESの判定をすると、CPU13はS
21で現在液晶表示器5に表示している候補文字列を確定
文字列として表示し、その候補文字列の優先情報29をこ
の確定時の表記を優先するような情報に書替えて、読み
データ25、漢字表記データ26、文法情報27、表記情報28
等とともに学習メモリ15bに転送してS2に戻る。
Next, as described above, when the candidate notation displayed on the liquid crystal display 5 is the desired notation, the execute key 10 is operated. Then, the CPU 13 determines YES in S2 and NO in S3, S6, and S16 based on the signal input by operating the execution key 10, and S20
Check YES with. When this YES determination is made, the CPU 13
At 21, the candidate character string currently displayed on the liquid crystal display 5 is displayed as a confirmed character string, and the priority information 29 of the candidate character string is rewritten to information that gives priority to the notation at the time of confirmation, and the reading data 25 , Kanji notation data 26, grammar information 27, notation information 28
And so on, and transfers to learning memory 15b and returns to S2.

このようにS2に戻って、順次文書を作成し、液晶表示
器5に表示される未確定かな文字列を確定文字列として
表示させると、学習メモリ15bには今までに漢字変換処
理された未確定文字列に対応する読みを表わす文字列デ
ータ、その文字列データに対応する漢字表記データ26、
文法情報27、ひらがなと漢字の両表記があるか無いかの
表記情報28及び両表記がある場合にはかな表記・漢字表
記のうちの確定時の表記を優先的に表記させるような情
報に書替えられた優先情報29が格納され、このワードプ
ロセッサ1は学習をすることになる。
Thus, returning to S2, the documents are sequentially created, and the undetermined kana character string displayed on the liquid crystal display 5 is displayed as the confirmed character string. Character string data representing reading corresponding to the fixed character string, Kanji notation data 26 corresponding to the character string data,
Grammar information 27, notation information 28 indicating whether or not both Hiragana and Kanji are written, and if both are written, rewrite the information so that the final kana or kanji notation is written preferentially. The priority information 29 thus obtained is stored, and the word processor 1 will learn.

このワードプロセッサ1が学習した場合には、以前に
入力した未確定かな文字列と同じ未確定かな文字列を入
力し、この未確定かな文字列を漢字変換すべく漢字変換
キー7を操作したとき、S2でYES、S3でNO、S6及びS7でY
ESとなるが、以前に入力した未確定かな文字列の読みに
対応する候補文字列の文字列データが学習メモリ15bに
記憶されているため、S8で対応する候補文字列が検索さ
れ、S9におけるCPU13の判定はYESとなる。続いて、CPU1
3はS11でその読みに対応する表記情報28に基づいてかな
表記・漢字表記の両表記があるか否かを判定し、その判
定結果に基づいてS12又はS13又はS14のいずれかに移行
する。
When this word processor 1 learns, when the same undetermined kana character string as the previously input undetermined kana character string is input and the kanji conversion key 7 is operated to convert the undetermined kana character string into kanji, YES for S2, NO for S3, Y for S6 and S7
Although it becomes ES, since the character string data of the candidate character string corresponding to the reading of the previously input undetermined kana character string is stored in the learning memory 15b, the corresponding candidate character string is searched in S8, and in S9 The determination of the CPU 13 is YES. Then, CPU1
In S11, it is determined in S11 whether or not there are both kana and kanji notations based on the notation information 28 corresponding to the reading, and the process proceeds to either S12 or S13 or S14 based on the determination result.

文字キー6、漢字変換キー7、次候補キー8、実行キ
ー10以外のキーが操作されると、S3、S6、S16及びS20の
判定がすべてNOとなり、CPU13はS22において各キーに応
じた前述の処理を行い、その後S2でキー入力を待つ。
When any key other than the character key 6, the kanji conversion key 7, the next candidate key 8, and the execute key 10 is operated, the determinations in S3, S6, S16 and S20 are all NO, and the CPU 13 determines in S22 that each of the keys described above corresponds to each key. And then wait for key input in S2.

次に、具体例を説明をする。 Next, a specific example will be described.

電源がオン操作されて、初期設定がなされ、文字を入
力している場合、S2〜S5を経て今「あいにく」の未確定
かな文字列が入力されたとすると、液晶表示器5に「あ
いにく」が表示される。そして、この未確定かな文字列
にカーソルを位置した状態で、漢字変換キー7を操作す
ると、漢字変換キー7からの漢字変換指令信号に基づい
てCPU13はS6、S7でYESと判定し、S9でNOと判定する。
When the power is turned on, the initial settings are made, and characters are being input, if an unconfirmed kana character string of “Ainiku” is now input via S2 to S5, “Ainiku” will be displayed on the LCD display 5. Is displayed. When the Kanji conversion key 7 is operated with the cursor positioned at this undetermined kana character string, the CPU 13 determines YES in S6 and S7 based on the Kanji conversion command signal from the Kanji conversion key 7, and in S9. Judge as NO.

そして、CPU13はS10で候補文字列を漢字辞書メモリ19
から検索してS11で両表記があるか否かをその検索した
候補文字列に対応する表記情報28から判定する。読み
「あいにく」に対応する表記情報28は両表記有りのデー
タとなっているため、S11ではCPU13はYESと判定し、続
いてS12でCPU13は優先情報29に基づいて判定する。この
優先情報29は漢字辞書メモリ19内でひらがな優先のデー
タとなっているため、CPU13はNOと判定し、S14でかな表
記の「あいにく」を液晶表示器5にそのまま表示し、S2
にで次のキー入力を待つ。
Then, the CPU 13 sends the candidate character string to the Kanji dictionary memory 19 in S10.
It is determined from the notation information 28 corresponding to the retrieved candidate character string whether or not there is both notations in S11. Since the notation information 28 corresponding to the reading “Ainiku” is data with both notations, the CPU 13 determines YES in S11, and subsequently, the CPU 13 determines based on the priority information 29 in S12. Since this priority information 29 is the hiragana priority data in the kanji dictionary memory 19, the CPU 13 determines NO, and in S14, the kana notation "Ainiku" is displayed on the liquid crystal display 5 as it is, and S2 is displayed.
And wait for the next key input.

表示された表記が操作者の希望する表記でない場合に
は操作者は次候補キー8を操作する。すると、次候補キ
ー8からの再変換指令信号に基づいてCPU13はS2でYES、
S3,S6でNO、S16でYESの判定をする。そして、次にS17を
経てCPU13はS18で現在液晶表示器5に表示している候補
文字列の他の表記、即ち、漢字表記「生憎」を液晶表示
器5に表示してS2に戻る。
If the displayed notation is not the one desired by the operator, the operator operates the next candidate key 8. Then, the CPU 13 determines YES in S2 based on the reconversion command signal from the next candidate key 8.
NO is determined in S3 and S6, and YES is determined in S16. Then, through S17, the CPU 13 displays another notation of the candidate character string currently displayed on the liquid crystal display 5 at S18, that is, the kanji notation "raw hater" on the liquid crystal display 5, and returns to S2.

そして、次に実行キー10が操作されると、CPU13はそ
の実行キー10の操作により入力した信号に基づいてS2で
YES、S3,S6,S16でNOの判定をし、S20でYESの判定をす
る。このYESの判定をすると、CPU13はS21で現在液晶表
示器5に表示している候補文字列を確定文字列として表
示し、第5図に示すように、優先情報29を漢字表記を優
先するような情報に書替えて読み「あいにく」に対応す
る各種データを学習メモリ15bに転送し、S2に戻る。
Then, when the execute key 10 is operated next, the CPU 13 executes S2 based on the signal input by operating the execute key 10.
YES, S3, S6, S16 makes a NO decision, and S20 makes a YES decision. If this YES determination is made, the CPU 13 displays the candidate character string currently displayed on the liquid crystal display device 5 in S21 as a confirmed character string, and as shown in FIG. It is rewritten into various information and read, and various data corresponding to "Ainiku" are transferred to the learning memory 15b, and the process returns to S2.

このようにして、一旦読み「あいにく」に対応するか
な文字列データ等が学習メモリ15に記憶され、その後
「あいにく」の読みが入力されると、その「あいにく」
の漢字変換時にはS8でCPU13はYESと判定し、以下、S11
〜S13に移行して漢字表記の「生憎」を表示することに
なる。
In this way, once the kana character string data or the like corresponding to the reading "Ainiku" is stored in the learning memory 15, and then the reading of "Ainiku" is input, the "Ainiku" is read.
When converting Kanji to S8, CPU13 determines YES in S8.
~ Go to S13 to display the kanji notation "raw hate".

なお、この発明は前記実施例に限定されるものではな
く、この発明の趣旨から逸脱しない範囲で任意に変更す
ることも可能である。
It should be noted that the present invention is not limited to the above-mentioned embodiment, and can be arbitrarily modified within a range not departing from the spirit of the present invention.

(発明の効果) 以上詳述したように、この発明のワードプロセッサに
よれば、入力された文字列にかな表記及び漢字表記のい
ずれもが一般的に使用される場合に、変換キーが操作さ
れた時、いずれかの表記が優先的に選択され、この選択
された表記が所望の表記でない場合には残りの表記を選
択させ、最終的に選択された表記を次回の変換のときに
も優先的に選択することができ、漢字変換処理の操作を
容易に行うことができる優れた効果を奏する。
(Effect of the Invention) As described in detail above, according to the word processor of the present invention, the conversion key is operated when both the kana notation and the kanji notation are generally used in the input character string. When one of the notations is selected preferentially, if the selected notation is not the desired notation, the remaining notations are selected, and the finally selected notation is prioritized at the next conversion. It has an excellent effect that it can be selected to, and the operation of the kanji conversion processing can be easily performed.

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

第1図はこの発明を具体化した一実施例の電気ブロック
回路図、第2図は同じく日本語ワードプロセッサの平面
図、第3図はフローチャート、第4図は漢字辞書メモリ
に記憶されているデータの内容を示す説明図、第5図は
学習メモリに記憶された優先情報が書替えられたときの
データの内容を示す説明図である。 1はワードプロセッサ、3はキーボード、4はプリン
タ、5は液晶表示器、6は文字キー、7は漢字変換キ
ー、8は次候補キー、10は実行キー、13はCPU、15は作
業用メモリ、15aは入力バッファ部、15bは学習メモリ、
19は漢字辞書メモリ、26は漢字表記データ、27は文法情
報、28は表記情報、29は優先情報である。
FIG. 1 is an electric block circuit diagram of an embodiment embodying the present invention, FIG. 2 is a plan view of the Japanese word processor, FIG. 3 is a flow chart, and FIG. 4 is data stored in a kanji dictionary memory. FIG. 5 is an explanatory diagram showing the contents of data when the priority information stored in the learning memory is rewritten. 1 is a word processor, 3 is a keyboard, 4 is a printer, 5 is a liquid crystal display, 6 is a character key, 7 is a kanji conversion key, 8 is a next candidate key, 10 is an execution key, 13 is a CPU, 15 is a working memory, 15a is an input buffer unit, 15b is a learning memory,
19 is a kanji dictionary memory, 26 is kanji notation data, 27 is grammatical information, 28 is notation information, and 29 is priority information.

フロントページの続き 合議体 審判長 松田 昭重 審判官 糟谷 洋治 審判官 吉村 博之 (56)参考文献 特開 昭57−57373(JP,A) 特開 昭58−172753(JP,A)Continuation of the front page Jury President Judge Akira Matsuda Judge Joji Kasuya Judge Hiroyuki Yoshimura (56) References JP 57-57373 (JP, A) JP 58-172753 (JP, A)

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】かな文字を入力するための入力手段と、 その入力手段により入力されるかな文字を未確定かな文
字列として順次記憶する第1の記憶手段と、 多数の候補文字列の各々に関する情報として、読みを表
すかな文字列データと、漢字表記データと、かな表記と
漢字表記のいずれかを優先するかを示す優先情報とを記
憶する第2の記憶手段と、 前記第1の記憶手段内の変換対象となる未確定かな文字
列の読みと一致するかな文字列データに対応する候補文
字列を前記第2の記憶手段において検索し、前記未確定
かな文字列を前記優先情報に従った一方の表記形態で表
記される優先候補文字列に変換する変換制御手段と、 その変換制御手段によって変換された優先候補文字列を
前記両表記の他方の表記形態に変更する変更手段と、 前記優先候補文字列を確定文字列として確定する確定手
段と、 その確定手段により確定された確定文字列に対応する候
補文字列の前記優先情報を確定時の表記に従って書替え
る書替制御手段と を備えることを特徴とするワードプロセッサ。
1. An input means for inputting kana characters, a first storage means for sequentially storing kana characters input by the input means as an undetermined kana character string, and a plurality of candidate character strings. Second storage means for storing, as information, kana character string data representing reading, kanji notation data, and priority information indicating whether to give priority to kana notation or kanji notation, and the first storage means. A candidate character string corresponding to kana character string data that matches the reading of the undetermined kana character string to be converted in the second storage means, and the undetermined kana character string is subjected to the priority information. Conversion control means for converting to a priority candidate character string represented in one notation form, change means for changing the priority candidate character string converted by the conversion control means to the other notation form of the both notations, And a rewriting control unit that rewrites the priority information of the candidate character string corresponding to the fixed character string fixed by the fixing unit according to the notation at the time of fixing. A word processor characterized in that.
JP61110149A 1986-05-14 1986-05-14 Word processor Expired - Fee Related JP2543501B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61110149A JP2543501B2 (en) 1986-05-14 1986-05-14 Word processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61110149A JP2543501B2 (en) 1986-05-14 1986-05-14 Word processor

Publications (2)

Publication Number Publication Date
JPS62266659A JPS62266659A (en) 1987-11-19
JP2543501B2 true JP2543501B2 (en) 1996-10-16

Family

ID=14528288

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61110149A Expired - Fee Related JP2543501B2 (en) 1986-05-14 1986-05-14 Word processor

Country Status (1)

Country Link
JP (1) JP2543501B2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5757373A (en) * 1980-09-25 1982-04-06 Canon Inc Character processing device
JPS5868145A (en) * 1981-10-19 1983-04-22 Matsushita Electric Ind Co Ltd Japanese input equipment
JPS58172735A (en) * 1982-04-05 1983-10-11 Nippon Telegr & Teleph Corp <Ntt> Japanese input device
JPS59208635A (en) * 1983-05-13 1984-11-27 Ricoh Co Ltd Document formation device

Also Published As

Publication number Publication date
JPS62266659A (en) 1987-11-19

Similar Documents

Publication Publication Date Title
JPH0117185B2 (en)
JP2543501B2 (en) Word processor
JPS61250768A (en) Device for updating conversion dictionary
JP2575650B2 (en) Kana-Kanji conversion device
JP2543501C (en)
JPS5814688B2 (en) Kanji-mixed sentence input device that sequentially displays homophones
JPH0560628B2 (en)
JP3042284B2 (en) Japanese input device
JP2573183B2 (en) Kana-Kanji conversion device
JP2944666B2 (en) Character processor
JPS6237430B2 (en)
JP2603269B2 (en) Character processor
JPH0721189A (en) Translation assisting system
JP2761606B2 (en) Document data processing device
JPH01183770A (en) Character processor
JP2509554B2 (en) Character processing method
JPS62266652A (en) Word processor
JPH0410105B2 (en)
JPS61233778A (en) Sentence generator
JPS61250769A (en) System for registering dictionary information
JPS62266663A (en) Kana/kanji converting device
JPS5814689B2 (en) Kanji-mixed sentence input device that sequentially displays homonyms
JPS61194560A (en) Character processor
JPH0340870B2 (en)
JPH0719189B2 (en) Data input device

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees