JPH0344335B2 - - Google Patents

Info

Publication number
JPH0344335B2
JPH0344335B2 JP59095241A JP9524184A JPH0344335B2 JP H0344335 B2 JPH0344335 B2 JP H0344335B2 JP 59095241 A JP59095241 A JP 59095241A JP 9524184 A JP9524184 A JP 9524184A JP H0344335 B2 JPH0344335 B2 JP H0344335B2
Authority
JP
Japan
Prior art keywords
word
priority information
kana
ram area
kanji
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 - Lifetime
Application number
JP59095241A
Other languages
Japanese (ja)
Other versions
JPS61862A (en
Inventor
Shigeo Shiratori
Taisuke Kanda
Shigeki Furuta
Hideo Tanaka
Akiko Oota
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP59095241A priority Critical patent/JPS61862A/en
Publication of JPS61862A publication Critical patent/JPS61862A/en
Publication of JPH0344335B2 publication Critical patent/JPH0344335B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/40Processing or translation of natural language
    • G06F40/53Processing of non-Latin text

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、単語辞書をROMに持ち、同音異議
語の優先順位情報と使用者単語登録辞書をRAM
にもち、これらを使用しながら仮名漢字変換処理
を行う仮名漢字変換処理方式に関するものであ
る。
[Detailed Description of the Invention] [Industrial Application Field] The present invention has a word dictionary in ROM, and stores priority information of homophones and user word registration dictionary in RAM.
This invention relates to a kana-kanji conversion processing method that performs kana-kanji conversion processing using these methods.

〔従来技術と問題点〕[Conventional technology and problems]

日本語電子タイプライタは、仮名を入力できる
キーボード、入力した文字列と仮名漢字変換の結
果である漢字文字列を表示するためのデイスプレ
イ部、作成した文書を印刷するプリンタ部、およ
び入力仮名文字列を漢字文字列に変換する仮名漢
字変換機構を具備している。従来の日本語電子タ
イプライタは例えば48文字×22行の表示画面を持
つCRTデイスプレイを有すると共に、辞書類を
格納するためのフロツピイ・デイスク装置や磁気
デイスク装置などを有している。この種の日本語
電子タイプライタは持ち運び不可なこと及び高価
であること等の欠点を有しており、ポータブルな
日本語電子タイプライタの実現が望まている。
A Japanese electronic typewriter has a keyboard that can input kana, a display section that displays the input character string and the kanji string that is the result of kana-kanji conversion, a printer section that prints the created document, and the input kana character string. It is equipped with a kana-kanji conversion mechanism that converts characters into kanji strings. Conventional Japanese electronic typewriters have, for example, a CRT display with a display screen of 48 characters x 22 lines, as well as a floppy disk device or magnetic disk device for storing dictionary documents. This type of Japanese electronic typewriter has drawbacks such as being unportable and expensive, and it is desired to realize a portable Japanese electronic typewriter.

〔発明の目的〕[Purpose of the invention]

本発明は、上記の要求に応えるものであつて、
仮名漢字変換のための辞書類を格納する記憶装置
を小型化できると共に仮名漢字変換処理を効率よ
く行い得るようになつた仮名漢字変換処理方式を
提供することを目的としている。
The present invention meets the above requirements, and includes:
It is an object of the present invention to provide a kana-to-kanji conversion processing method that can reduce the size of a storage device that stores dictionary documents for kana-to-kanji conversion and can efficiently perform kana-to-kanji conversion processing.

〔問題点を解決するための手段〕[Means for solving problems]

そしてそのため、本発明の仮名漢字変換処理方
式は、 単語の読み及びこの読みを持つ漢字表記の単語
よりなる単語グループを複数個格納する単語辞書
用ROMと、 単語の読み及びこの読みを持つ漢字表記の単語
よりなる使用者登録単語グループを複数個格納で
きる使用者登録単語辞書用RAM領域と、 単語の読み及び上記単語グループにおける単語
の順序番号もしくは使用者登録単語であることを
示す使用者登録単語記号の順序集合で表現される
優先順位情報よりなる優先順位情報グループを複
数個格納できる優先順位情報用RAM領域と を具備し、 これらを使用して仮名漢字変換を行う日本語電
子タイプライタにおける仮名漢字変換処理方式で
あつて、 仮名漢字変換を行う際、入力仮名文字列と同じ
読みを持つ優先順位情報グループが優先順位情報
用RAM領域に存在するか否かを調べ、 存在する場合には、当該優先順位情報グループ
の優先順位情報に基づいて単語辞書用ROMまた
は使用者登録単語用RAM領域を参照しながら仮
名漢字変換を行い、 存在しない場合には、使用者登録単語辞書用
RAM領域を単語辞書用ROMよりも優先的に参
照しながら、仮名漢字変換を行い、 入力仮名文字列に対する漢字表記の単語が確定
したとき、この読みを持つ優先順位情報グループ
の優先順位情報が確定単語を第1順位とするよう
に、優先順位情報を更新すると共に、 当該優先順位情報グループを上記優先順位情報
用RAM領域の先頭に書き込み、既に格納されて
いる優先順位情報グループを後方にずらす ことを特徴とするものである。
Therefore, the kana-kanji conversion processing method of the present invention includes: a word dictionary ROM that stores a plurality of word groups consisting of the reading of a word and a word expressed in kanji having this reading; and a reading of the word and a kanji notation having this reading. A RAM area for a user registered word dictionary that can store multiple user registered word groups consisting of words, and a user registered word that indicates the pronunciation of the word and the order number of the word in the word group or that it is a user registered word. Kana in a Japanese electronic typewriter that is equipped with a RAM area for priority information that can store multiple priority information groups consisting of priority information expressed as ordered sets of symbols, and uses these to perform kana-kanji conversion. This is a kanji conversion processing method, and when performing kana-kanji conversion, it is checked whether a priority information group with the same pronunciation as the input kana character string exists in the priority information RAM area, and if it exists, Kana-kanji conversion is performed while referring to the word dictionary ROM or user registered word RAM area based on the priority information of the priority information group, and if it does not exist, the user registered word dictionary
Kana-kanji conversion is performed while referencing the RAM area with priority over the word dictionary ROM, and when the word written in kanji for the input kana string is determined, the priority information of the priority information group with this reading is determined. Update the priority information so that the word is ranked first, write the priority information group at the beginning of the priority information RAM area, and shift the already stored priority information group backwards. It is characterized by:

〔発明の実施例〕[Embodiments of the invention]

先ず、本発明の日本語電子タイプライタの概要
について説明する。
First, an overview of the Japanese electronic typewriter of the present invention will be explained.

(イ) 表示画面について 従来の日本語電子タイプライタにおいては表
示画面上で文書の作成などを行つているが、本
発明の基本的な考え方は、表示画面を仮名漢字
変換に必要最小限の大きさとし、用紙上の印刷
結果を従来の日本語電子タイプライタの表示画
面の代わりに使用しようというものである。本
発明の実施例ではデイスプレイ部として液晶パ
ネルを使用するが、液晶パネルのコストは表示
文字数に比例するので、表示文字数を可能な限
り小さくしている。液晶パネルの表示画面の大
きさは、例えば8文字×1行である。仮名漢字
変換方式の日本語電子タイプライタにおいて
は、入力仮名文字列と変換候補漢字文字列を表
示画面に表示する必要があるが、これらは最終
的に印刷される文字とは異なるので、表示画面
にだけ表示し、確定した後で印刷する。
(b) Regarding the display screen In conventional Japanese electronic typewriters, documents are created on the display screen, but the basic idea of the present invention is to make the display screen as large as the minimum necessary for kana-kanji conversion. The idea is to use the printed results on paper in place of the display screen of conventional Japanese electronic typewriters. In the embodiment of the present invention, a liquid crystal panel is used as the display section, but since the cost of the liquid crystal panel is proportional to the number of displayed characters, the number of displayed characters is made as small as possible. The size of the display screen of the liquid crystal panel is, for example, 8 characters x 1 line. In Japanese electronic typewriters that use the kana-kanji conversion method, it is necessary to display the input kana character string and the conversion candidate kanji character string on the display screen, but since these are different from the final printed characters, the display screen It is displayed only on the screen and printed after confirmation.

(ロ) 追い出し方式について 本発明の日本語電子タイプライタでは表示画
面が小さい(例えば8文字×1行)ので、文字
をどんどん追い出す必要があり、追い出した文
字は印刷しなければならない。表示画面から文
字を追い出す方式としては、変換が確定したら
直ぐに追い出す方式と、カーソルが表示画面の
右端を越えた状態の下でキーボードから文字が
入力されたら表示画面の文字列を左へ1文字分
シフトして表示画面の左端の文字を追い出しキ
ーボードから入力された文字を表示画面の右端
に表示させる方式とが考えられる。
(b) Regarding the expulsion method Since the display screen of the Japanese electronic typewriter of the present invention is small (for example, 8 characters x 1 line), it is necessary to expel characters one after another, and the expelled characters must be printed. There are two ways to remove characters from the display screen: one is to remove characters immediately after the conversion is confirmed, and the other is to remove characters from the display screen by one character to the left when a character is entered from the keyboard with the cursor past the right edge of the display screen. One possible method is to shift the characters to the left end of the display screen and display the characters input from the keyboard at the right end of the display screen.

(ハ) カーソルとプリンタ・ヘツドとの関係につい
て 既に、作成された前後の部分を参照したい場
合には、上方向カーソル移動キーを押下する。
そうすると、前行の同一桁範囲の文字列が文書
メモリから読み出されて表示画面上に表示され
ると共に、プリンタの逆改行動作が行われ、プ
リンタのヘツドは表示画面上の左端の文字に対
応する印刷用紙上の位置に位置付けられる。下
方向カーソル移動キーが押下されると、プリン
タの改行動作が行われる。カーソルが表示画面
の左端に存在する状態の下において、左方向カ
ーソル移動キーを押下すると、画面全体が左へ
シフトされると共に、プリンタ・ヘツドは左方
向に移動する。カーソルが表示画面の右端を越
えた状態の下において、右方向カーソル移動キ
ーを押下すると、画面全体が右シフトされると
共に、プリンタのヘツドは右方向に移動する。
このように、プリンタのヘツドは表示画面の左
端の文字が印刷される用紙上の位置に位置付け
られる。なお、上述の説明では、画面が上下左
右に移動したときに、プリンタのヘツドと用紙
との相対位置を変化させているが、表示画面の
左端の文字がi行のものからi+1のものへ又
はi行のものからi−1行のものに変化した時
に、プリンタの改行又は逆改行動作を行うよう
にしても良い。
(c) Regarding the relationship between the cursor and the printer head If you want to refer to the previous or next part that has already been created, press the upward cursor movement key.
Then, the character string in the same digit range in the previous line is read from the document memory and displayed on the display screen, and the printer performs a reverse change operation, so that the printer's head corresponds to the leftmost character on the display screen. position on the printing paper. When the downward cursor movement key is pressed, a printer change operation is performed. When the left cursor movement key is pressed while the cursor is at the left edge of the display screen, the entire screen is shifted to the left and the printer head is moved to the left. When the right cursor movement key is pressed while the cursor is past the right edge of the display screen, the entire screen is shifted to the right and the printer head is moved to the right.
In this way, the head of the printer is positioned at the position on the paper where the leftmost character on the display screen is to be printed. In the above explanation, when the screen moves up, down, left, or right, the relative position between the printer head and the paper changes. When changing from the i line to the i-1 line, the printer may perform a line feed or reverse feed operation.

(ニ) 表示画面からあふれた文字の印刷制御につい
て 表示画面から文字があふれたらその文字を印
刷する方式では、単に左端からあふれたときに
印字していると、作成途中で1つ前の行を表示
させたりした時に画面に表示中の文字を印字す
る機会がなくなつてしまう。また、画面全体を
左へシフトさせてその行で既に印刷された文字
を再度表示させたときなども、画面内でまだ印
刷されていない文字は画面の右端からあふれて
しまう。右端からあふれた文字を印刷するのは
片方向印字のプリンタでは大変(リボンも損す
る)である。そのため、プリンタのヘツドが第
i行から第j行(i≠j)に移る時点(操作者
が上方向カーソル移動キーや下方向カーソル移
動キーでカーソルを動かした時、またはプリン
タのヘツドが行の先頭にあるときに左方向カー
ソル移動キーを押してヘツドを前の行に移した
時など)で、第i行でまだ印刷されていない文
字を一括して印字する。
(d) Regarding printing control for characters that overflow from the display screen In a method that prints characters when they overflow from the display screen, if you simply print when the characters overflow from the left edge, you may end up printing the previous line during creation. When displaying, there is no opportunity to print the characters displayed on the screen. Also, when the entire screen is shifted to the left and characters that have already been printed on that line are displayed again, the characters that have not yet been printed on the screen will overflow from the right edge of the screen. Printing characters that overflow from the right edge is difficult for printers that print in one direction (it also damages the ribbon). Therefore, when the printer's head moves from the i-th line to the j-th line (i≠j) (when the operator moves the cursor using the cursor up or down keys, or when the printer's head moves from line to line), (e.g. when pressing the left cursor move key while at the beginning of the line to move the head to the previous line), the characters that have not yet been printed on the i-th line are printed all at once.

表示画面からあふれた文字を常に印刷してい
ると、既印刷部分の文字列を表示画面に表示さ
れている状態の下でカーソルを動かして表示画
面の左端から文字があふれると、用紙上の既に
文字が印刷された部分に更に文字が印刷されて
しまう。また、既に入力した文章を修正する場
合もそのまゝ印刷すると、元の文字の上に上書
きされて読めなくなつてしまう。そのため、空
白の上に文字を書いたときのみ印字を行う。
If you are constantly printing characters that overflow from the display screen, if you move the cursor under the state where the character string of the already printed part is displayed on the display screen and the characters overflow from the left edge of the display screen, the characters already on the paper will be printed. More characters are printed in the area where characters were printed. Also, if you want to edit text that has already been entered, if you print it as is, the text will be overwritten on top of the original text and will become unreadable. Therefore, printing is performed only when characters are written on blank spaces.

(ホ) 行境界表示について 行に跨がる文字列でも表示画面に連続して表
示されるが、行の境界を示すためのマークを画
面上に表示する。例えば、「きようは」という
文字列があり、「きよう」が第i行のm−2な
いしm桁(m桁は文章を作る範囲の右端)にあ
り、「は」が第i+1行の左端にあるとき表示
画面上では …きよう〓は… と表示される。
(e) Regarding line boundary display Character strings that span lines are displayed continuously on the display screen, but marks are displayed on the screen to indicate the line boundaries. For example, there is a character string ``Kiyo wa'', ``Kiyo'' is in the m-2 to m digit of the i-th line (the m digit is the right end of the range to make a sentence), and ``wa'' is in the i-th line When it is at the left end, it is displayed as... on the display screen.

(ヘ) 2種の呼出方法について 左方向カーソル移動キー又は右方向カーソル
移動キーを押下し続けると、横方向に画面がシ
フトして行き、次々と各行が表示画面に表示さ
れていくが、上方向カーソル移動キー又は下方
向カーソル移動キーを押下すると、丁度真上又
は真下の桁範囲の文字列文字メモリから読み出
されて画面上に表示される。
(f) About the two calling methods If you keep pressing the left cursor movement key or the right cursor movement key, the screen will shift horizontally and each line will be displayed one after another on the display screen, but the top When the directional cursor movement key or the downward cursor movement key is pressed, a character string in the digit range just above or below is read from the character memory and displayed on the screen.

(ト) 仮名漢字変換処理について 単語辞書をROMに持ち、同音異議語の優
先順位情報と使用者登録単語辞書をRAMで
持つ。そして優先順位情報に割当てられた
RAM領域からの優先順位情報の追い出し
と、使用者登録単語辞書に割当てられた
RAM領域からの使用者登録単語の追い出し
を独立して行う。
(g) Regarding the Kana-Kanji conversion process: A word dictionary is stored in ROM, and priority order information for homophones and a user-registered word dictionary are stored in RAM. and assigned to priority information
Evicting priority information from the RAM area and assigning it to the user registered word dictionary
User registration words are independently purged from the RAM area.

追い出し候補はLRUで決めるが、最新の
情報を領域の先頭に追加し、領域の最後のも
のを追い出すようにする。同音異議語は1グ
ループであるので、登録又は優先順位情報を
付けようとする読みが領域の途中にあるとき
は、それを先頭位置に持つて来て、そこに新
情報を付加する。
Evict candidates are determined by LRU, but the latest information is added to the beginning of the area and the last information in the area is evicted. Homophones are one group, so if the pronunciation to be registered or to which priority information is to be attached is in the middle of the area, it is brought to the top position and new information is added there.

使用者登録単語があふれる場合には、追い
出し候補を使用者に見せて、確認を得てから
追い出す。
If there are too many user-registered words, candidates for removal are shown to the user and removed after confirmation.

同音異議語の優先順位情報と、使用者登録
単語辞書を外部に取り出させるようにする。
To make it possible to take out the priority order information of homophone opposite words and a user registered word dictionary.

第1図は本発明の1実施例のブロツク図であ
る。図において、1はキーボード、2は入力バツ
フア、3は仮名漢字変換機構、4は変換結果保持
部、5は制御部、6は文字数カウンタ、7はカー
ソル位置レジスタ、8は有効読み長カウンタ部、
9は入力状態フラグ部、10は確定状態フラグ、
11は表示コード・バツフア、12はセーブ・バ
ツフア、13はあふれ制御部、14はキヤラク
タ・ジエネレータ、15は液晶パネル、16は、
プリンタ、17は書式メモリ、18は文書メモ
リ、19と20は入力行バツフア、21は比較
部、22はアドレス発生部、23は+1回路をそ
れぞれ示している。キーボード1は、仮名文字や
英数字などを入力できるものである。入力バツフ
ア2はキーボード1から入力された仮名文字列な
どを一時的に保持するものである。入力バツフア
2の文字列は、制御部5を経由して表示コード・
バツフア11に格納される。キーボード1上の変
換キーが押されると、仮名漢字変換機構3が起動
される。起動されると、仮名漢字変換機構3は、
入力バツフア2内の仮名文字列を漢字文字列に変
換し、これを変換結果保持部4に書き込む。変換
結果保持部4の漢字文字列は、制御部5によつて
表示コード・バツフア11に送られ、表示コー
ド・バツフア11内の対応する仮名文字列は漢字
文字列に置き換えられる。制御部5は、日本語電
子タイプライタ全体を制御するものであつて、文
字数カウンタ6、カーソル位置レジスタ7、有効
読み長カウンタ8、入力状態フラグ9、確定状態
フラグ10を有している。文字数カウンタ6は行
境界表示のためのものである。カーソル位置レジ
スタ7は、液晶パネル15上のカーソル位置を示
すものである。有効読み長カウンタ8は、変換対
象仮名文字列の仮名文字数を示すものである。変
換キーが押された後にキーボード1から次の文字
が入力されると、変換対象仮名文字列に対する漢
字文字列は確定したことになる。確定状態になつ
た文字列は、文書メモリ18に格納される。表示
コード・バツフア11には文字コードが格納さ
れ、表示コード・バツフア11の内容はキヤラク
タ・ジエネレータ14により文字パターンに変換
され、液晶パネル15に送られる。即ち、液晶パ
ネル15には表示コード・バツフア11の内容に
対応した文字パターンが表示される。セーブ・バ
ツフア12は、表示コード・バツフア11の内容
をセーブするために使用されるものである。例え
ば表示コード・バツフア11に「ABCD」と書
き込まれ且つカーソルが「A」を指示している状
態の下で、キーボード1から「きようは」を入力
すると「ABCD」が「きようは」に置き換えら
れる。この状態で変換キーを押すと「今日はD」
という文字が表示コード・バツフア11に書き込
まれる。セーブ・バツフア12は、例えばこのよ
うな機能を実現するために用いられるものであ
る。カーソルが液晶パネル15の右端を越えた状
態にあるとき即ちカーソル位置レジスタ7の値が
“8”のときに、新たな文字が表示コード・バツ
フア11に送られて来ると、表示コード・バツフ
ア11の左端の文字があふれ、新たな文字が表示
コード・バツフア11の右端に書き込まれる。ま
た、カーソル位置レジスタ7の値が“8”のとき
に右方向カーソル移動キーを押すと、表示コー
ド・バツフア11の左端の文字があふれ、空白が
表示コード・バツフア11の右端に書き込まれ
る。あふれ制御部13は、表示コード・バツフア
11の左端からあふれた文字を入力行バツフア1
9に書き込む制御などを行うものである。文書の
書式は書式メモリ17の内容によつて定められ
る。文書メモリ18を管理するために、表示先頭
位置レジスタが設けられている。この表示先頭位
置レジスタは、表示コード・バツフア11の左端
の桁に対応する文書メモリのアドレスを示すもの
である。上方向カーソル移動キーに対応する上方
向カーソル移動コードが入力される度に表示先頭
位置レジスタの内容は−n(たゞしnは1行桁数)
され、下方向カーソル移動コードが入力される度
に上記内容は+nされる。カーソル位置レジスタ
7の内容が“0”のときに左方向カーソル移動コ
ードが入力されると表示先頭位置レジスタの内容
は−1される。カーソル位置レジスタ7の内容が
“8”のときに右方向カーソル移動コードが入力
されると表示先頭位置レジスタの内容は+1され
る。
FIG. 1 is a block diagram of one embodiment of the present invention. In the figure, 1 is a keyboard, 2 is an input buffer, 3 is a kana-kanji conversion mechanism, 4 is a conversion result holding section, 5 is a control section, 6 is a character number counter, 7 is a cursor position register, 8 is an effective reading length counter section,
9 is an input state flag section, 10 is a confirmed state flag,
11 is a display code buffer, 12 is a save buffer, 13 is an overflow control section, 14 is a character generator, 15 is a liquid crystal panel, and 16 is a
17 is a format memory, 18 is a document memory, 19 and 20 are input line buffers, 21 is a comparison section, 22 is an address generation section, and 23 is a +1 circuit. The keyboard 1 is used to input kana characters, alphanumeric characters, and the like. The input buffer 2 temporarily holds kana character strings input from the keyboard 1. The character string in the input buffer 2 is sent to the display code via the control unit 5.
It is stored in the buffer 11. When the conversion key on the keyboard 1 is pressed, the kana-kanji conversion mechanism 3 is activated. When activated, the kana-kanji conversion mechanism 3 will:
The kana character string in the input buffer 2 is converted into a kanji character string, and this is written into the conversion result holding section 4. The kanji character string in the conversion result holding section 4 is sent to the display code buffer 11 by the control section 5, and the corresponding kana character string in the display code buffer 11 is replaced with the kanji character string. The control section 5 controls the entire Japanese electronic typewriter, and has a character number counter 6, a cursor position register 7, an effective reading length counter 8, an input state flag 9, and a confirmed state flag 10. The character number counter 6 is for displaying line boundaries. The cursor position register 7 indicates the cursor position on the liquid crystal panel 15. The effective reading length counter 8 indicates the number of kana characters in the kana character string to be converted. When the next character is input from the keyboard 1 after the conversion key is pressed, the kanji character string for the kana character string to be converted is determined. The character string that has become finalized is stored in the document memory 18. A character code is stored in a display code buffer 11, and the contents of the display code buffer 11 are converted into a character pattern by a character generator 14 and sent to a liquid crystal panel 15. That is, a character pattern corresponding to the contents of the display code buffer 11 is displayed on the liquid crystal panel 15. The save buffer 12 is used to save the contents of the display code buffer 11. For example, when "ABCD" is written in the display code buffer 11 and the cursor is pointing to "A", if you enter "Kiyouha" from the keyboard 1, "ABCD" changes to "Kiyouha". Replaced. If you press the conversion key in this state, "Today is D"
These characters are written into the display code buffer 11. The save buffer 12 is used, for example, to implement such a function. When a new character is sent to the display code buffer 11 when the cursor is beyond the right edge of the liquid crystal panel 15, that is, when the value of the cursor position register 7 is "8", the display code buffer 11 The characters on the left end of the display code buffer 11 overflow, and new characters are written on the right end of the display code buffer 11. If the right cursor movement key is pressed when the value of the cursor position register 7 is "8", the characters at the left end of the display code buffer 11 overflow and a blank space is written at the right end of the display code buffer 11. The overflow control unit 13 transfers characters overflowing from the left end of the display code buffer 11 to the input line buffer 1.
It controls writing to 9. The format of the document is determined by the contents of format memory 17. In order to manage the document memory 18, a display start position register is provided. This display head position register indicates the document memory address corresponding to the leftmost digit of the display code buffer 11. Every time the upward cursor movement code corresponding to the upward cursor movement key is input, the contents of the display start position register are -n (where n is the number of columns in one line).
The above contents are incremented by +n each time a downward cursor movement code is input. If the leftward cursor movement code is input when the content of the cursor position register 7 is "0", the content of the display head position register is incremented by 1. If the rightward cursor movement code is input when the content of the cursor position register 7 is "8", the content of the display head position register is incremented by 1.

表示コード・バツフア11の左端の桁が第i行
から第j行に変わつたときには、文書メモリ18
の第i行の文字列のうち未だ印刷されていない文
字がプリンタ16により印刷される。プリンタ1
6は例えば感熱式プリンタである。この処理が終
了した後、プリンタ16の改行又は逆改行動作が
行われプリンタ16のヘツドは第j行の位置に位
置付けられると共に、文書メモリ18の第j行の
文字入力行バツフア20に書き込まれる。表示コ
ード・バツフア11の左端から第j行のx桁の文
字があふれると、この文字は入力行バツフア19
のx桁に格納され、この文字と入力行バツフア2
0のx桁の文字とが比較部21によつて比較さ
れ、入力行バツフア20のx桁の文字が空白であ
つたならば、表示コード・バツフア11からあふ
れた第j行第x桁の文字はプリンタ16によつて
第j行第x桁に印刷される。表示コード・バツフ
ア11の左端の桁に対応する文書メモリ上の位置
が第j行から第k行に変わつたときには、文書メ
モリ18の第j行の文字列のうち未だ印刷されて
いない文字をプリンタ16で印刷しなくてはなら
ない。このため下記のような処理を行う。入力行
バツフア19に格納されている文字列a1、a2、ao
と入力行バツフア20に格納されている文字列
b1、b2、…boとを比較する。bi(i=1、2…n)
が空白であればbiをaiに変え、空白でなく一般の
文字であればbiをそのまゝにしておく。この結果
得られる文字列をc1、c2、…coとする。現に文書
メモリ18の第j行の文字列をd1、d2…doとす
る。文字列d1、d2…doと文字列c1、c2…coとを比
較する。ciが空白であれば、diを残し、diが空白
でなく一般の文字であればdiを除く。この結果得
られる文字列をe1、e2、…eoとする。この文字
e1、e2、…eoの各文字をプリンタ16で第j行の
対応する桁位置に印刷すればよい。アドレス発生
部22は文書メモリ18をアクセスする際のアド
レスを決定するものであり、+1回路23はこの
アドレスを+1するものである。なお、本発明を
実施するための実際のハードウエアは、書式メモ
リ17と文書メモリ18とはRAMで構成され、
キヤラクタ・ジエネレータ14はROMで構成さ
れ、このRAM、キーボード1、液晶パネル1
5、プリンタ16を除く部分は、プログラム・メ
モリ、辞書メモリ、マイクロプロセツサ及びその
他のメモリ領域で構成されている。
When the leftmost digit of the display code buffer 11 changes from the i-th line to the j-th line, the document memory 18
The printer 16 prints the characters that have not been printed yet among the character strings in the i-th row of the character string. printer 1
6 is, for example, a thermal printer. After this process is completed, a line feed or reverse feed operation of the printer 16 is performed, the head of the printer 16 is positioned at the jth line position, and the text is written into the character input line buffer 20 of the jth line of the document memory 18. When the x-digit character of the j-th row overflows from the left end of the display code buffer 11, this character
This character and the input line buffer 2
The character in the x digit of 0 is compared by the comparison unit 21, and if the character in the x digit of the input row buffer 20 is a blank, the character in the is printed by the printer 16 in the jth row and xth column. When the position in the document memory corresponding to the leftmost digit of the display code buffer 11 changes from the jth line to the kth line, the printer prints the characters that have not yet been printed out of the character string in the jth line of the document memory 18. 16 must be printed. For this reason, the following processing is performed. Character strings a 1 , a 2 , a o stored in the input row buffer 19
and the character string stored in the input row buffer 20
Compare b 1 , b 2 , ... bo . b i (i=1, 2...n)
If is a blank, change b i to a i ; if it is not a blank and is a regular character, leave b i as is. Let the resulting character strings be c 1 , c 2 , ...c o . Assume that the character strings in the jth line of the document memory 18 are d 1 , d 2 , . . . d o . Compare the strings d 1 , d 2 ...d o and the strings c 1 , c 2 ...c o . If c i is a blank, leave d i ; if d i is a non-blank character, remove d i . Let the resulting character strings be e 1 , e 2 , ...e o . this character
The printer 16 may print each character e 1 , e 2 , . The address generator 22 determines the address when accessing the document memory 18, and the +1 circuit 23 increments this address by +1. Note that the actual hardware for implementing the present invention is that the format memory 17 and the document memory 18 are composed of RAM;
The character generator 14 is composed of ROM, this RAM, a keyboard 1, and a liquid crystal panel 1.
5. The parts other than the printer 16 are comprised of a program memory, a dictionary memory, a microprocessor, and other memory areas.

第2図は本発明の仮名漢字変換処理で使用され
る単語辞書、優先順位情報および使用者登録単語
辞書を説明するための図である。第2図におい
て、24はROM、25は優先順位情報を格納す
るために割当てられたRAM領域、26は使用者
登録単語を格納するために割当てられたRAM領
域をそれぞれ示している。ROM24には、単語
の読み及びこの読みを持つ漢字表記の単語よりな
る単語グループが複数個格納されている。図示の
ように、「きこう」という読みを持つ漢字表記の
単語には「気候」、「寄港」、「寄稿」、「気孔」など
があるが、これらは1個の単語グループを構成し
ている。RAM領域25には単語の読み及びこの
読みを持つ漢字表記の単語の優先順位情報より成
る優先順位情報グループが複数個格納されてい
る。第2図図示の優先順位情報グループは きこう 3,2 という文字列から構成されているが、これは優先
順位が「寄稿」、「寄港」、「気候」、「気孔」である
ことを示す。なお、優先順位情報グループ内の
“3”、“2”などの数字は、「きこう」という読み
の単語グループに格納されている漢字表記の単語
の順序番号を示している。RAM領域26には、
単語の読み及びこの読みを持つ漢字表記の単語よ
り成る使用者登録単語グループが複数個格納され
ている。図示の例では「きこう」という読みを持
つ使用者登録単語は、「貴校」、「貴公」である。
なお、RAM領域25の大きさは固定であり、
RAM領域26の大きさも固定である。第3図は
使用者登録辞書の内容も含めた優先順位グループ
の内容の1例を示す。この例では、優先順位は
「寄稿」、「貴校」、「気候」、「貴公」、「寄港」の

になる。
FIG. 2 is a diagram for explaining the word dictionary, priority information, and user registered word dictionary used in the kana-kanji conversion process of the present invention. In FIG. 2, reference numeral 24 indicates a ROM, 25 indicates a RAM area allocated for storing priority information, and 26 indicates a RAM area allocated for storing user registration words. The ROM 24 stores a plurality of word groups each consisting of a word's reading and a word written in kanji having this reading. As shown in the diagram, words written in kanji that have the reading ``kiko'' include ``climate,'' ``port call,''``contribution,'' and ``stomata,'' but these constitute one word group. . The RAM area 25 stores a plurality of priority information groups each consisting of word readings and priority information of words written in kanji having these readings. The priority information group shown in Figure 2 consists of the character string 3,2, which indicates that the priorities are ``contribution,'' ``port call,''``climate,'' and ``pore.'' Note that the numbers such as "3" and "2" in the priority information group indicate the order numbers of the words written in Kanji characters stored in the word group with the reading "Kiko". In the RAM area 26,
A plurality of user-registered word groups each consisting of a word's reading and a word written in kanji having this reading are stored. In the illustrated example, the user-registered words that have the pronunciation "Kikou" are "Kikagyou" and "Kikyou."
Note that the size of the RAM area 25 is fixed;
The size of the RAM area 26 is also fixed. FIG. 3 shows an example of the contents of the priority group including the contents of the user registration dictionary. In this example, the priorities are "contributions,""yourschool,""climate,""yours," and "port calls."

「きこう」という仮名文字列を入力して変換キ
ーが押されたと仮定する。そうすると、先ず
RAM領域25がサーチされ、「きこう」という
読みを持つ優先順位情報グループがあるか否かを
調べられる。
Assume that the kana character string "Kikou" is input and the conversion key is pressed. Then, first
The RAM area 25 is searched to see if there is a priority information group having the pronunciation "Kikou".

RAM領域25に「きこう」という読みを持つ
優先順位情報グループが存在しない場合には
RAM領域26がサーチされる。RAM領域26
には「きこう」という読みを持つ使用者登録単語
グループが存在するので、第1番目の「貴校」が
読み出され、液晶パネル15に表示される。再び
変換キーが押下されると、「貴公」がRAM領域
26から読み出され、液晶パネル15に表示され
る。「貴公」が表示されている状態の下で次の文
字が入力されると、「きこう」に対する漢字表記
の単語が確定したことになる。「貴公」が「きこ
う」に対する漢字文字列であると確定すると、
「きこう」という読みの使用者登録単語グループ
において「貴公」が第1番目、「貴校」が第2番
目となり、そして「きこうu」という優先順位情
報グループがRAM領域25の先頭に書き込まれ
る。この際、RAM領域25に既に書き込まれて
いた優先順位情報グループは、「きこう」という
読みを持つ優先順位情報グループの後に続くよう
にシフトされる。この際、入り切らない場合に
は、1番後のものが追い出される。もし「貴公」
が表示されている状態の下で変換キーが押下され
ると、ROM24が「きこう」というキーでサー
チされる。そして、ROM24から「気候」が読
み出され、液晶パネル15に表示される。「気候」
が表示されている状態の下で変換キーが押下され
ると、「寄港」がROM24より読み出され、液
晶パネル15に表示される。「寄港」が表示され
ている状態の下で次の文字が入力されると、「き
こう2」という内容の優先順位情報グループが
RAM領域25の先頭に書込まれ、既に格納され
ている優先順位情報グループは後方にシフトされ
る。
If there is no priority information group with the reading "Kikou" in the RAM area 25,
RAM area 26 is searched. RAM area 26
Since there is a user registered word group with the pronunciation "Kikou", the first word "Kigaku" is read out and displayed on the liquid crystal panel 15. When the conversion key is pressed again, "Kiki" is read from the RAM area 26 and displayed on the liquid crystal panel 15. When the next character is input while "Kikou" is displayed, the word written in kanji for "Kikou" is determined. Once it is confirmed that “Kiko” is a kanji character string for “Kikou”,
In the user registered word group with the pronunciation of "Kikou", "Kikou" is the first word, "Kikou" is the second word, and the priority information group "Kikou" is written at the beginning of the RAM area 25. At this time, the priority information group that has already been written in the RAM area 25 is shifted so that it follows the priority information group having the pronunciation "Kikou". At this time, if there is not enough space, the last one will be kicked out. If “nobleman”
When the conversion key is pressed under the condition where is displayed, the ROM 24 is searched with the key "Kikou". Then, "climate" is read from the ROM 24 and displayed on the liquid crystal panel 15. "climate"
When the conversion key is pressed while "Port Call" is being displayed, "Port Call" is read from the ROM 24 and displayed on the liquid crystal panel 15. If the following characters are entered while "Port Call" is displayed, the priority information group with the content "Visiting 2" will be displayed.
The priority information group that is written to the beginning of the RAM area 25 and already stored is shifted backward.

「きこう」という読みを持つ優先順位情報グル
ープが存在する場合には、この優先順位情報グル
ープが読み出される。「きこう」という読みを持
つ優先順位情報グループが きこう3、u、1 というものであつたと仮定すると、ROM24か
ら「寄稿」が読み出され、液晶パネル15に表示
される。「寄稿」が表示されている状態の下で次
の文字が入力されたとすると、「きこう3、u、
1」と言う優先順位情報グループがRAM領域2
5の先頭に書き込まれ、既に格納されている優先
順位情報グループは後方にシフトされる。もし
「寄稿」が表示されている状態の下で変換キーが
押されると、RAM領域26から「貴校」が読み
出され、液晶パネル15に表示される。「貴校」
が確定したとすると、「きこうu、3、1」とい
う優先順位情報グループが上述のようにして
RAM領域25に書き込まれる。「貴校」が表示
されている状態の下で変換キーが押されると、
ROM24から「気候」が読み出され、液晶パネ
ル15に表示される。「気候」が確定すると、「き
こう1、3、u」という優先順位情報グループが
上述のようにしてRAM領域25に書き込まれ
る。「気候」が表示されている状態の下で変換キ
ーが押下されると、RAM領域26から「貴公」
が読み出され、表示される。「貴公」が確定した
とすると、「きこう」という使用者登録単語グル
ープの内容は「きこう 貴公 貴校」と変更さ
れ、「きこうu、3、u、1」という優先順位情
報グループが上述のようにしてRAM領域25に
格納される。「貴公」が表示されている状態の下
で変換キーが押下されると、ROM24から「寄
港」が読み出され、表示される。「寄港」が確定
すると、「きこう2、3、u、1」という優先順
位情報グループが上述のようにしてRAM領域2
5に書き込まれる。「寄港」の表示されている状
態の下が変換キーが押下されると、ROM24か
ら「気孔」が読み出され、表示される。「気孔」
が確定すると、「きこう4、3、u、1」という
優先順位情報グループが上述のようにしてRAM
領域25に書き込まれる。
If a priority information group with the pronunciation "Kikou" exists, this priority information group is read out. Assuming that the priority information group having the pronunciation "Kikou" is Kikou 3, u, 1, "Contribution" is read from the ROM 24 and displayed on the liquid crystal panel 15. If the following characters are entered while "Contribution" is displayed, "Kikou 3, u,
The priority information group "1" is in RAM area 2.
The priority information group that is written at the beginning of No. 5 and already stored is shifted backward. If the conversion key is pressed while "Contribution" is displayed, "Your school" is read from the RAM area 26 and displayed on the liquid crystal panel 15. "Your school"
is determined, the priority information group "Kiko u, 3, 1" is created as described above.
It is written to the RAM area 25. When the conversion key is pressed while "Your school" is displayed,
“Climate” is read from the ROM 24 and displayed on the liquid crystal panel 15. When the "climate" is determined, the priority information group "Kikou 1, 3, u" is written into the RAM area 25 as described above. When the conversion key is pressed while "climate" is displayed, "Mr.
is read out and displayed. Assuming that "Kikou" is confirmed, the contents of the user registration word group "Kikou" will be changed to "Kikou, Youkoki, Your school", and the priority information group of "Kikou u, 3, u, 1" will be changed as described above. and stored in the RAM area 25. When the conversion key is pressed while "Your Honor" is displayed, "Port Call" is read from the ROM 24 and displayed. When the "port call" is confirmed, the priority information group "Kikou 2, 3, u, 1" is assigned to the RAM area 2 as described above.
5 is written. When the conversion key is pressed under the displayed state of "port call", "pore" is read from the ROM 24 and displayed. "Stomata"
Once determined, the priority information group “Kikou 4, 3, u, 1” is stored in the RAM as described above.
It is written in area 25.

「きこう 機構」という単語を使用者が登録す
ると、「きこう」という使用者登録単語グループ
は「きこう 機構 貴校 貴公」と更新され、
RAM領域26の先頭に書き込まれ、既に格納さ
れている使用者登録単語グループは後方にシフト
される。「きてき 気笛」という単語を使用者単
語登録したとき、「きてき」という読みを使用者
登録単語グループが存在していない場合には、
「きてき 気笛」という使用者登録単語グループ
がそのまゝRAM領域26の先頭に書き込まれ、
既に格納されている使用者登録単語グループは後
方にシフトされる。
When a user registers the word "Kikou Organization", the user registered word group "Kikou" is updated to "Kikou Organization, Your High School, Mr.
The user registration word group written to the beginning of the RAM area 26 and already stored is shifted backward. When the word "Kiki Kibue" is registered as a user word, if the pronunciation "Kiki" does not exist in the user registered word group,
The user-registered word group “Kiki Kibue” is written as is at the beginning of the RAM area 26,
Already stored user registered word groups are shifted backwards.

〔発明の効果〕 以上の説明から明らかなように、本発明によれ
ば、仮名漢字変換のための辞書類を格納する記憶
装置を小型化できること、仮名漢字変換を効率よ
く行い得ること及び記憶領域の管理が簡単をこと
等の効果を奏することが出来る。
[Effects of the Invention] As is clear from the above description, according to the present invention, it is possible to downsize a storage device that stores dictionary documents for kana-kanji conversion, it is possible to efficiently perform kana-kanji conversion, and it is possible to improve the storage area. It is possible to achieve effects such as easy management.

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

第1図は本発明が適用される日本語電子タイプ
ライタの1実施例のブロツク図、第2図は本発明
で使用される単語辞書、優先順位情報および使用
者登録単語辞書を説明する図、第3図は使用者登
録辞書の内容も含めた優先順位グループの内容の
1例を示す図である。 24……単語辞書を格納するROM、25……
優先順位情報を格納するRAM領域、26……使
用者登録単語辞書を格納するRAM領域。
FIG. 1 is a block diagram of one embodiment of a Japanese electronic typewriter to which the present invention is applied; FIG. 2 is a diagram illustrating a word dictionary, priority information, and user registered word dictionary used in the present invention; FIG. 3 is a diagram showing an example of the contents of the priority group including the contents of the user registration dictionary. 24...ROM for storing a word dictionary, 25...
RAM area for storing priority information, 26... RAM area for storing user registered word dictionary.

Claims (1)

【特許請求の範囲】 1 単語の読み及びこの読みを持つ漢字表記の単
語よりなる単語グループを複数個格納する単語辞
書用ROMと、 単語の読み及びこの読みを持つ漢字表記の単語
よりなる使用者登録単語グループを複数個格納で
きる使用者登録単語辞書用RAM領域と、 単語の読み及び上記単語グループにおける単語
の順序番号もしくは使用者登録単語であることを
示す使用者登録単語記号の順序集合で表現される
優先順位情報よりなる優先順位情報グループを複
数個格納できる優先順位情報用RAM領域と を具備し、 これらを使用して仮名漢字変換を行う日本語電
子タイプライタにおける仮名漢字変換処理方式で
あつて、 仮名漢字変換を行う際、入力仮名文字列と同じ
読みを持つ優先順位情報グループが優先順位情報
用RAM領域に存在するか否かを調べ、 存在する場合には、当該優先順位情報グループ
の優先順位情報に基づいて単語辞書用ROMまた
は使用者登録単語用RAM領域を参照しながら仮
名漢字変換を行い、 存在しない場合には、使用者登録単語辞書用
RAM領域を単語辞書用ROMよりも優先的に参
照しながら、仮名漢字変換を行い、 入力仮名文字列に対する漢字表記の単語が確定
したとき、この読みを持つ優先順位情報グループ
の優先順位情報が確定単語を第1順位とするよう
に、優先順位情報を更新すると共に、 当該優先順位情報グループを上記優先順位情報
用RAM領域の先頭に書き込み、既に格納されて
いる優先順位情報グループを後方にずらす ことを特徴とする仮名漢字変換処理方式。
[Scope of Claims] 1. A word dictionary ROM that stores a plurality of word groups consisting of the reading of a word and a word written in Kanji having this reading, and a user consisting of a reading of a word and a word written in Kanji having this reading. A RAM area for a user registered word dictionary that can store multiple registered word groups, and an ordered set of word pronunciations and word order numbers in the word groups or user registered word symbols indicating that the words are user registered words. This is a kana-kanji conversion processing method for Japanese electronic typewriters, which is equipped with a priority information RAM area that can store a plurality of priority information groups consisting of priority information groups, and uses these to perform kana-kanji conversion. When performing kana-kanji conversion, it is checked whether a priority information group with the same pronunciation as the input kana character string exists in the priority information RAM area, and if it exists, the priority information group is Kana-kanji conversion is performed while referring to the word dictionary ROM or user registered word RAM area based on the priority information, and if it does not exist, the user registered word dictionary ROM area is used.
Kana-kanji conversion is performed while referencing the RAM area with priority over the word dictionary ROM, and when the word written in kanji for the input kana string is determined, the priority information of the priority information group with this reading is determined. Update the priority information so that the word is ranked first, write the priority information group at the beginning of the priority information RAM area, and shift the already stored priority information group backwards. A Kana-Kanji conversion processing method featuring the following.
JP59095241A 1984-05-12 1984-05-12 Kana-to-kanji conversion processing system Granted JPS61862A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59095241A JPS61862A (en) 1984-05-12 1984-05-12 Kana-to-kanji conversion processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59095241A JPS61862A (en) 1984-05-12 1984-05-12 Kana-to-kanji conversion processing system

Publications (2)

Publication Number Publication Date
JPS61862A JPS61862A (en) 1986-01-06
JPH0344335B2 true JPH0344335B2 (en) 1991-07-05

Family

ID=14132256

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59095241A Granted JPS61862A (en) 1984-05-12 1984-05-12 Kana-to-kanji conversion processing system

Country Status (1)

Country Link
JP (1) JPS61862A (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6381559A (en) * 1986-09-25 1988-04-12 Nec Corp Kana-kanji conversion learning system
JPH0747329B2 (en) * 1987-09-28 1995-05-24 株式会社日立製作所 Document creation device
JPH03240863A (en) * 1990-02-19 1991-10-28 Sanyo Electric Co Ltd Kana/kanji converting device
JPH06332885A (en) * 1993-05-24 1994-12-02 Nec Corp Document editing system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS554663A (en) * 1978-06-27 1980-01-14 Fujitsu Ltd Character row conversion processor
JPS5544670A (en) * 1978-09-26 1980-03-29 Fujitsu Ltd Kana-chinese character conversion process system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS554663A (en) * 1978-06-27 1980-01-14 Fujitsu Ltd Character row conversion processor
JPS5544670A (en) * 1978-09-26 1980-03-29 Fujitsu Ltd Kana-chinese character conversion process system

Also Published As

Publication number Publication date
JPS61862A (en) 1986-01-06

Similar Documents

Publication Publication Date Title
JP2002215612A5 (en)
US5395173A (en) Bar code and text printer capable of displaying bar code location
GB2229837A (en) Word processing
JPH0344335B2 (en)
JPS60111284A (en) Typewriter with display
JPS612583A (en) Layout-displaying system for electronic japanese character typewriter
US5121481A (en) Text (word processor) having right end justified variable size display area for information related to input data
US5404517A (en) Apparatus for assigning order for sequential display of randomly stored titles by comparing each of the titles and generating value indicating order based on the comparison
JPH0316662B2 (en)
JPS612582A (en) Electronic japanese character typewriter
JPH0354376B2 (en)
JPS61860A (en) Format setting system for electronic typewriter of japanese word
KR930006804B1 (en) Document processing equipment
JPS61122778A (en) Input/output device provided with display device
JPS61122773A (en) Japanese input/output device
JPS61122776A (en) Input/output device
JP3077777B2 (en) Document processing device
JPH07114542A (en) Zip code input processor and printer
JPH0122943B2 (en)
JP2983566B2 (en) Data processing device
JPS62107367A (en) Document generating device with line modification setting function
JPH05324641A (en) Tape printer
JPS61296388A (en) Rule deletion
JPS61122775A (en) Input/output device
JPH06168238A (en) Format information display method for document preparing device

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term