JPS61862A - Kana-to-kanji conversion processing system - Google Patents

Kana-to-kanji conversion processing system

Info

Publication number
JPS61862A
JPS61862A JP59095241A JP9524184A JPS61862A JP S61862 A JPS61862 A JP S61862A JP 59095241 A JP59095241 A JP 59095241A JP 9524184 A JP9524184 A JP 9524184A JP S61862 A JPS61862 A JP S61862A
Authority
JP
Japan
Prior art keywords
kana
kanji
priority information
word
characters
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.)
Granted
Application number
JP59095241A
Other languages
Japanese (ja)
Other versions
JPH0344335B2 (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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To miniaturize a memory for a KANA (Japanese syllabary)/KANJI (Chinese character) conversion dictionary, etc. and also to improve the processing efficiency of KANA/KANJI conversion, by providing a RAM area for priority information, a RAM area for user registered word dictionary, etc. CONSTITUTION:A RAM area 25 for priority information stores the priority information groups of word readings and the KANJI words having said reading. While a RAM area 26 for user registered word dictionary stores the user registered word dictionary stores the user registered word groups. In a KANA/ KANJI conversion mode, the priority information group having the reading of the corresponding word is written on the head of the area 25 with reference to the area 25 or 26 when the KANJI words are fixed to an input KANA character string. Therefore the priority information group already stored is shifted backward. Thus a memory for KANA/KANJI conversion dictionary, etc. can be miniaturized and at the same time the processing efficiency is improved for KANA/KANJI conversion by providing both areas 25 and 26.

Description

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

〔従来技術と問題点〕[Prior art and problems]

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

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

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

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

そしてそのため、本発明の仮名漢字変換処理方式は、単
語の読み及びこの読みを持つ漢字表記の単語よりなる単
語グループを複数個格納する単語辞書用ROMと、単語
の読み及びこの読みを持つ漢字表記の単語よりなる使用
者登録単語グループを複数個格納できる使用者登録単語
辞書用RAM領域と、単語の読み及びこの読みを持つ漢
字表記の単語の優先順位情報よりなる優先順位情報グル
ープを複数個格納できる優先順位情報用RAM領域とを
具備し、これらを使用して仮名漢字変換を行う日本語電
子タイプライタにおいて、入力仮名文字列に対する漢字
表記の単語が確定したとき、この読みを持つ優先順位情
報グループを上記優先順位情報用RAM領域の先頭に書
込み、既に格納されている優先順位情報グループを後方
にずらずことを特徴とするものである。
Therefore, the kana-kanji conversion processing method of the present invention includes a word dictionary ROM that stores a plurality of word groups each consisting of a word's reading and a word expressed in kanji having this reading; RAM area for user registered word dictionary that can store multiple user registered word groups consisting of words, and multiple priority information groups consisting of word readings and priority information of words written in kanji with these readings. In a Japanese electronic typewriter that is equipped with a RAM area for priority information that can be used to convert kana to kanji, when a word written in kanji for an input kana character string is determined, priority information with this reading is determined. The present invention is characterized in that the group is written at the beginning of the priority information RAM area, and the priority information groups already stored are shifted to the rear.

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

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

(イ)表示画面について 従来の日本語電子タイプライタにおいては表示画面上で
文書の作成などを行っているが、本発明の基本的な考え
方は、表示画面を仮名漢字変換に必要最小限の大きさと
し、用紙上の印刷結果を従来の日本語電子タイプライタ
の表示画面の代わりに使用しようというものである。本
発明の実施例ではディスプレイ部として液晶パネルを使
用するが、液晶パネルのコストは表示文字数に比例する
ので、表示文字数を可能な限り小さくしている。
(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 keep the display screen to the minimum size 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.

液晶パネルの表示画面の大きさは、例えば8文字×1行
である。仮名漢字変換方式の日本語電子タイプライタに
おいては、入力仮名文字列と変換候補漢字文字列を表示
画面に表示する必要があるが、これらは最終的に印刷さ
れる文字とは異なるので、表示画面にだけ表示し、確定
した後で印刷する。
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 ejecting 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 eject characters one after another, and the ejected characters must be printed. There are two methods for removing 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 keyboard manually when the cursor is past the right edge of the display screen, then move the character string on the display screen one character to the left. 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+lのものへ又はi行のものからi−1行の
ものに変化した時に、プリンタの改行又は逆改行動作を
行うようにしても良い。
(c) If you want to refer to the previous and subsequent parts that have already been created regarding the relationship between the cursor and the printer head, press the upward cursor movement key. Then, the character string in the same digit range of the previous line is read from the document memory and displayed on the display screen, and the printer performs a reverse change operation, and the printer 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 end 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 printer head 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つ前の行を表示させたりした時に画面に表示
中の文字を印字する機会がなくなってしまう。また、画
面全体を左−、シフトさせてその行で既に印刷された文
字を再度表示させたときなども、画面内でまだ印刷され
ていない文字は画面の右端からあふれてしまう。右端か
らあふれた文字を印刷するのは片方向印字のプリンタで
は大変(リボンも損する)である。そのため、プリンタ
のヘッドが第1行から第1行(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, the previous line will be When displaying, there is no opportunity to print the characters currently displayed on the screen. Also, when the entire screen is shifted to the left and characters already printed on that line are displayed again, the characters that have not yet been printed on the screen 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 head moves from the first line to the first line (i≠J) (when the operator moves the cursor using the up cursor movement key or down cursor movement key, or when the printer head moves from the first line to the first line (i≠J), When the head is moved to the previous line by pressing the left cursor movement key when it is at the beginning), the characters that have not yet been printed on the i-th line are printed all at once.

表示画面からあふれた文字を常に印刷していると、既印
刷部分の文字列を表示画面に表示されている状態の下で
カーソルを動かして表示画面の左端から文字があふれる
と、用紙上の既に文字が印刷された部分に更に文字が印
刷されてしまう。また、既に入力した文章を修正する場
合もそのま5印刷すると、元の文字の上に上書きされて
読みなくなってしまう。そのため、空白の上に文字を書
いたときのみ印字を行う。
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 correct text that has already been input, if you print it out, 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) Line boundary display Although character strings spanning lines are displayed continuously on the display screen, marks are displayed on the screen to indicate line boundaries. For example, there is a character string "Kyo wa", and "Kyo" 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 "ha" is in the left end of the i-th line At one point, on the display screen, ``Kyou; ha...'' is displayed.

(へ)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 upper When the directional cursor movement key or the downward cursor movement key is pressed, the character string in the digit range just above or below is read from the character memory and displayed on the screen.

(ト)仮名漢字変換処理について ■ 単語辞書をROMに持ち、同音異義語の優先順位情
報と使用者登録単語辞書をRAMで持つ。
(G) Regarding the Kana-Kanji conversion process ■ A word dictionary is stored in ROM, and priority order information of homophones and a user registered word dictionary are stored in RAM.

そして優先順位情報に割当てられたR A M nJf
域からの優先順位情報の追い出しと、使用者登録単語辞
書に割当てられたR A M f+i域からの使用者登
録単語の追い出しを独立して行う。
and R A M nJf assigned to priority information
The expulsion of priority information from the area and the expulsion of user registered words from the RAM f+i area assigned to the user registered word dictionary are performed independently.

■ 追い出し候補は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 in one group, so if the pronunciation to be registered or to be added with first order ranking information 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, show the candidates to the user and get their confirmation before expelling them.

■ 同音異義語の優先順位情報と、使用者登録単語辞書
を外部に取り出させるようにする。
■ Allow the priority order information of homophones and the user's registered word dictionary to be retrieved externally.

第1図は本発明の1実施例のブロック図である。FIG. 1 is a block diagram of one embodiment of the present invention.

図において、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に送られ、表示コー
ド・バッファll内の対応する仮名文字列は漢字文字列
に置き換えられる。制御部5は、日本語電子タイプライ
タ全体を制御するものであって、文字数カウンタ6、カ
ーソル位置レジスタ7、有効読み長カウンタ8、入力状
態フラグ9、確定状態フラグ10を有している。文字数
カウンタ6は行境界表示のためのものである。カーソル
位置レジスタ7は、液晶パネル15上のカーソル位置を
示すものである。
In the figure, 1 is a keyboard, 2 is an input cover sofa, 3 is a kana-kanji conversion mechanism, 4 is a conversion result holding unit, 5 is a control unit,
6 is a character number counter, 7 is a cursor position register, 8 is an effective reading length counter section, 9 is an input status flag section, 10 is a confirmed status flag, 11 is a display code buffer, 12 is a save/receiver buffer, 13 is an overflow control 14 is a character generator, 15 is a liquid crystal panel, 16 is a printer, 17 is a format memory, 18 is a document memory, 19 and 20
21 indicates an input row buffer, 21 a comparison section, 22 an address generation section, and 23 a +1 circuit. The keyboard 1 is used to input kana characters, alphanumeric characters, and the like. The manual buffer 2 temporarily stores kana character strings input manually from the keyboard 1. The character string of the input cover sofa 2 is stored in the display code buffer 11 via the control section 5. 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 converts the kana character string in the input kabanofa 2 into a kanji character string, and writes this into the conversion result holding unit 4. The kanji character string in the conversion result holding unit 4 is stored in the control unit 5.
is sent to the display code buffer 11, and the corresponding kana character string in the display code buffer 11 is replaced with a kanji character string. The control unit 5 controls the entire Japanese electronic typewriter, and includes a character number counter 6, a cursor position register 7, an effective reading length counter 8, an input status flag 9, and a confirmed status 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.

有効読み長カウンタ8は、変換対象仮名文字列の仮名文
字数を示すものである。変換キーが押された後にキーボ
ード1から次の文字が入力されると、変換対象仮名文字
列に対する漢字文字列は確定したことになる。確定状態
になった文字列は、文書メモリ18に格納される。表示
コード・バッファ11には文字コードが格納され、表示
コード・へソファ11の内容はキャラクタ・ジェネレー
タ14により文字パターンに変換され、液晶パネル15
に送られる。即ち、液晶パネル15には表示コード・へ
ソファ11の内容に対応した文字パターンが表示される
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 in the confirmed state is stored in the document memory 18. A character code is stored in the display code buffer 11, and the content of the display code buffer 11 is converted into a character pattern by the character generator 14, and then displayed on the liquid crystal panel 15.
sent to. That is, a character pattern corresponding to the content of the display code/hesofa 11 is displayed on the liquid crystal panel 15.

セーブ・バッファ12は、表示コード・バッファ11の
内容をセーブするために使用されるものである。
The save buffer 12 is used to save the contents of the display code buffer 11.

例えば表示コード・バッファ11にrABcDJと書き
込まれ且つカーソルがrAJを指示している状態の下で
、キーボード1から「きょうは」を入力するとrABc
DJが「きょうは」に置き換えられる。この状態で変換
キーを押すと「今日はD」という文字が表示コード・バ
ッファ11に書き込まれる。セーブ−・バッファ12は
、例えばこのような機能を実現するために用いられるも
のである。
For example, if you enter "Kyouha" from the keyboard 1 with rABcDJ written in the display code buffer 11 and the cursor pointing to rAJ, rABc
DJ is replaced with "Kyoha". When the conversion key is pressed in this state, the character "Today is D" is written into the display code buffer 11. The save buffer 12 is used, for example, to implement such a function.

カーソルが液晶パネル15の右端を越えた状態にあると
き即ちカーソル位置レジスタ7の値が“′8”のときに
、新たな文字が表示コード・バッファ11に送られて来
ると、表示コード・バッファ11の左端の文字があふれ
、新たな文字が表示コード・バッファ11の右端に書き
込まれる。また、カーソル位置レジスタ7の値が“8”
のときに右方向カーソル移動キーを押すと、表示コード
・バッファ11の左端の文字があふれ、空白が表示コー
ド・バッファ11の右端に書き込まれる。あふれ制御部
13は、表示コード・バッファ11の左端からあふれた
文字を入力行バッファ19に書き込む制御などを行うも
のである。文書の書式は書式メモ1月7の内容によって
定められる。文書メモ1月8を管理するために、表示先
頭位置レジスタが設けられている。この表示先頭位置レ
ジスタは、表示コード・バッファ11の左端の桁に対応
する文書メモリのアドレスを示すものである。上方向カ
ーソル移動キーに対応する上方向カーソル移動コードが
入力される度に表示先頭位置レジスタの内容は−n(た
・′しnは1行桁数)され、下方向カーソル移動コード
が人力される度に上記内容は+nされる。カーソル位置
レジスタ7の内容が“0”のときに左方向カーソル移動
コードが入力されると表示先頭位置レジスタの内容は−
1される。カーソル位置レジスタ7の内容が“8”のと
きに右方向カーソル移動コードが入力されると表示先頭
位置レジスタの内容は+1される。
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 The leftmost character of display code buffer 11 is overflowed and a new character is written to the right end of display code buffer 11. Also, the value of cursor position register 7 is “8”
If the right cursor movement key is pressed at this time, 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 performs controls such as writing characters overflowing from the left end of the display code buffer 11 into the input line buffer 19. The format of the document is determined by the contents of Format Memo January 7. In order to manage the document memo January 8, a display start position register is provided. This display start 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 incremented by -n (where n is the number of digits in one line), and the downward cursor movement code is input manually. The above contents are incremented by +n each time. If the leftward cursor movement code is input when the content of the cursor position register 7 is "0", the content of the display start position register will be -
1 will be given. 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
行に変わったときには、文書メモリ比の第i行の文字列
のうち未だ印刷されていない文字がプリンタ16により
印刷される。プリンタ16は例えば感熱式プリンタであ
る。この処理が終了した後、プリンタ16の改行又は逆
改行動作が行われプリンタ16のへノドは第j行の位置
に位置付けられると共に、文書メモ1月8の第j行の文
字が入力行バ・ノファ20に書き込まれる。表示コード
・へソファ11の左端から第j行のX桁の文字があふれ
ると、この文字は入力行バッファ19のX桁に格納され
、この文字と入力行バッファ20のX桁の文字とが比較
部21によって比較され、入力行バ・ノファ20のX桁
の文字が空白であったならば、表示コード・バッファ1
1からあふれた第j行第X桁の文字はプリンタ16によ
って第j行第X桁に印刷される。表示コード・バッファ
11の左端の桁に対応する文書メモリ上の位置が第j行
から第に行に変わったときには、文書メモ1月8の第j
行の文字列のうち未だ印刷されていない文字をプリンタ
16で印刷しなくてはならない。このため下記のような
処理を行う。
The leftmost digit of the display code buffer 11 is from the i-th line to the j-th digit.
When the line changes, the printer 16 prints the characters that have not yet been printed out of the character string in the i-th line of the document memory ratio. The printer 16 is, for example, a thermal printer. After this process is completed, the line feed or reverse feed operation of the printer 16 is performed, and the printer 16's end is positioned at the jth line, and the characters on the jth line of the document memo January 8 are placed in the input line bar. Written to Nofa 20. When the character in the X digit of the jth row overflows from the left end of the display code 11, this character is stored in the X digit of the input line buffer 19, and this character is compared with the character in the X digit of the input line buffer 20. 21, and if the character in the X digit of the input row buffer 20 is blank, the display code buffer 1
The character in the j-th row, X-th column that overflows from 1 is printed on the j-th row, X-th column by the printer 16. 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 jth line, the jth position of the document memo January 8
The printer 16 must print the characters in the string of rows that have not yet been printed. For this reason, the following processing is performed.

入力行バッファ19に格納されている文字列aI+aZ
+”’anと入力行バッファ20に格納されている文字
列す、、b2.− b7とを比較する。b。
Character string aI+aZ stored in input line buffer 19
+"'an and the character strings s, , b2.-b7 stored in the input line buffer 20 are compared.b.

(i=1.2−n)が空白であればす、をaiに変え、
空白でなく一般の文字であればす、をそのま\にしてお
く。この結果得られる文字列をCI+cz + ’−’
cnとする。現に文書メモリ18の第j行の文字列をd
、、d2.−d、、とする。文字列d、、d2.− d
、と文字列c、 +  02 +−C11とを比較する
。、C8が空白であれば、d、を残し、d8が空白でな
く一般の文字であればd、を除く。
If (i=1.2-n) is blank, change s to ai,
If it is not a blank but a regular character, leave it as is. The resulting string is CI + cz + '-'
Let it be cn. Currently, the character string in the jth line of the document memory 18 is
,,d2. −d, . Character string d,,d2. -d
, and the character string c, + 02 +-C11. , C8 is blank, leave d, and if d8 is not a blank but a regular character, remove d.

この結果得られる文字列をe、+  C2+ −enと
する。この文字列e l’+  e 21−e 6の各
文字をプリンタ16で第j行の対応する桁位置に印刷す
ればよい。アドレス発生部22は文書メモリ18をアク
セスする際のアドレスを決定するものであり、+1回路
23はこのアドレスを+1するものである。
Let the character string obtained as a result be e, + C2+ -en. The printer 16 may print each character of this character string e l'+e 21-e 6 at the corresponding column position of the j-th row. The address generator 22 determines the address when accessing the document memory 18, and the +1 circuit 23 increments this address by +1.

なお、本発明を実施するための実際のハードウェアは、
書式メモリ17と文書メモリ18とはRAMで構成され
、キャラクタ・ジェネレータ14はROMで構成され、
このRAM、キーボード1、液晶パネル15、プリンタ
16を除く部分は、プログラム・メモリ、辞書メモリ、
マイクロプロセッサ及びその他のメモリ領域で構成され
ている。
Note that the actual hardware for implementing the present invention is as follows:
The format memory 17 and the document memory 18 are composed of RAM, the character generator 14 is composed of ROM,
The parts other than this RAM, keyboard 1, liquid crystal panel 15, and printer 16 are program memory, dictionary memory,
It consists of a microprocessor and other memory areas.

第2図は本発明の仮名漢字変換処理で使用される単語辞
書、優先順位情報および使用者登録単語辞書を説明する
ための図である。第2図において、24はROM、°2
5は優先順位情報を格納するために割当てられたR A
 M jI域、26は使用者登録単語を格納するために
割当てられたR A M ′w4域をそれぞれ示してい
る。ROM24には、単語の読み及びこの読みを持つ漢
字表記の単語よりなる単語グループが複数個格納されて
いる。図示のように、「きこう」という読みを持つ漢字
表記の単語には「気候」、「寄港」、「寄稿」、「気孔
」などがあるが、これらは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 Figure 2, 24 is a ROM, °2
5 is RA allocated to store priority information
The MjI area 26 indicates the R A M 'w4 area allocated for storing user registered 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. .

RAM領域25には単語の読み及びこの読みを持つ漢字
表記の単語の優先順位情報より成る優先順位情報グルー
プが複数個格納されている。第2図図示の優先順位情報
グループは きこう 3.2 という文字列から構成されているが、これは優先順位が
1寄稿」、「寄港」、「気候」、「気孔」であることを
示す。なお、優先順位情報グループ内の3″、a2″な
どの数字は、「きこう」という読みの単語グループに格
納されている漢字表記の単語の順序番号を示している。
A plurality of priority order information groups are stored in the RAM area 25, each consisting of word pronunciations and priority order information of words written in kanji having these pronunciations. The priority information group shown in Figure 2 is composed of the character string 3.2, which indicates that the priorities are ``1 contribution'', ``port call'', ``climate'', and ``stomata''. Note that the numbers such as 3'' and a2'' in the priority information group indicate the order numbers of the words written in kanji and stored in the word group with the reading "Kiko".

RAM領域26には、単語の読み及びこの読みを持つ漢
字表記の単語より成泡使用者登録単語グループが複数個
格納されている。図示の例では「きこう」という読みを
持つ使用者登録単語は、「前校」、「貴公」である。な
お、RAM領域25の大きさは固定であり、RAM1U
域26の大きさも固定である。第3図は使用者登録辞書
の内容も含めた優先順位グループの内容の1例を示す。
A plurality of foam user registered word groups are stored in the RAM area 26, including the pronunciations of words and words written in kanji having these pronunciations. In the illustrated example, the user-registered words that have the pronunciation "Kikou" are "Maegyo" and "Kikyou." Note that the size of the RAM area 25 is fixed, and the size of the RAM area 25 is fixed.
The size of 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 "Contribution", "Previous School", "Climate"
, "Your Honor," and "Port Call."

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

RA M iJf域25に「きこう」という読みを持つ
優先順位情報グループが存在しない場合にはRAM領j
lU26がサーチされる。RAM領域26には「きこう
」という読みを持つ使用者登録単語グループが存在する
ので、第1番目の「前校」が読み出され、液晶パネル1
5に表示される6再び変換キーが押下されると、「貴公
」がRA M fil域2域外6読み出され、液晶パネ
ル15に表示される。「貴公」が表示されている状態の
下で次の文字が入力されると、「きこうjに対する漢字
表記の単語が確定したことになる。「貴公」が「きこう
」に対する漢字文字列であると確定すると、「きこう」
という読みの使用者登録単語グループにおいて「貴公」
が第1番目、「前校」が第2番目となり、そして「きこ
う uJという優先順位情報グループがRAM領域25
の先頭に書き込まれる。この際、RAM領域25に既に
書き込まれていた優先順位情報グループは、「きこう」
という読みを持つ優先順位情報グループの後に続くよう
にシフトされる。この際、入り切らない場合には、1番
後のものが追い出される。もし「貴公」が表示されてい
る状態の下で変換キーが押下されると、ROM24が「
きこう」というキーでサーチされる。そして、ROM2
4から「気候」が読み出され、液晶パネル15に表示さ
れる。「気候」が表示されている状態の下で変換キーが
押下されると、「寄港JがROM24より読み出され、
液晶パネル15に表示される。「寄港」が表示されてい
る状態の下で次の文字が入力されると、「きこう 2」
という内容の優先順位情報グループがRAM領域25の
先頭に書込まれ、既に格納されている優先順位情報グル
ープは後方にシフトされる。
If there is no priority information group with the pronunciation "Kikou" in the RAM area 25, the RAM area j
lU26 is searched. Since there is a user registered word group with the pronunciation "Kikou" in the RAM area 26, the first word "Maegoshi" is read out and the LCD panel 1
When the conversion key 6 displayed at 5 is pressed again, "Kiryou" is read out from the RAM file area 2 and outside 6 and displayed on the liquid crystal panel 15. When the next character is entered while "Kikou" is displayed, the word written in kanji for "Kikou j" is confirmed. Once confirmed, “Let’s go”
In the user registered word group with the reading ``Kikyou''
is placed first, “previous school” is placed second, and the priority information group “Kiko uJ” is placed in the RAM area 25.
is written at the beginning of. At this time, the priority information group already written in the RAM area 25 is "Kikou".
It is shifted to follow the priority information group with the reading. At this time, if there is not enough space, the last one will be kicked out. If the conversion key is pressed while "Mrs." is displayed, the ROM24 will be changed to "
It is searched using the key "Kikō". And ROM2
"Climate" is read out from 4 and displayed on the liquid crystal panel 15. When the conversion key is pressed while "Climate" is displayed, "Port of call J" is read from the ROM 24,
It is displayed on the liquid crystal panel 15. When the following characters are entered while "Port Call" is displayed, "Kikou 2" is displayed.
A priority information group with the contents is written at the beginning of the RAM area 25, and the priority information group already stored is shifted backward.

「きこう」という読みを持つ優先順位情報グループが存
在する場合には、この優先順位情報グループが読み出さ
れる。「きこう」という読みを持つ優先順位情報グルー
プが きこう3.  u、  1 というものであったと仮定すると、ROM24から「寄
稿」が読み出され、液晶パネル15に表示される。「寄
稿」が表示されている状態の下で次の文字が入力された
とすると、「きこう3.u、IJと言う優先順位情報グ
ループがRA M N域25の先頭に書き込まれ、既に
格納されている優先順位情報グループは後方にシフトさ
れる。もし「寄稿」が表示されている状態の下で変換キ
ーが押されると、RAM顯@26から「前校」が読み一
出され、液晶パネル15に表示される。「前校」が確定
したとすると、「きこうu、3.IJという優先順位情
報グループが上述のようにしてRA M fJ域25に
書き込まれる。「前校」が表示されている状態の下で変
換キーが押されると、ROM24からr気候」が読み出
され、液晶パネル15に表示される。「気候」が確定す
ると、[きこう1,3.’uJという優先順位情報グル
ープが上述のようにしてRAM領域25に書き込まれる
。「気候」が表示されている状態の下で変換キーが押下
されると、RAM1Jf域26から「貴公」が読み出さ
れ、表示される。「貴公」が確定したとすると、「きご
う」という使用者登録単語グループの内容は「きこう 
貴公前校Jと変更され、「きこう u、3.u、IJと
いう優先順位情報グループが上述のようにしてRAM領
域25に格納される。「貴公」が表示されている状態の
下で変換キーが押下されると、ROM24から「寄港」
が読み出され、表示される。「寄港」が確定すると、「
きこう 2.3.u、1」という優先順位情報グループ
が上述のようにしてRAM領域25に書き込まれる。「
寄港」の表示されている状態の下が変換キーが押下され
ると、ROM24から「気孔」が読み出され、表示され
る。
If a priority information group with the pronunciation "Kikou" exists, this priority information group is read out. The priority information group with the pronunciation "Kikō" is Kikō 3. Assuming that u, 1, "contribution" is read from the ROM 24 and displayed on the liquid crystal panel 15. If the following characters are input while "Contribution" is being displayed, a priority information group called "Kikou 3.u, IJ" will be written to the beginning of the RAM N area 25, and if the priority information group is already stored. If the conversion key is pressed while "Contribution" is displayed, "Previous School" is read out from the RAM 顯@26, and the priority information group is shifted backward. will be displayed. Assuming that the "previous school" is confirmed, the priority information group "Kiko u, 3.IJ" is written to the RAM fJ area 25 as described above. When the conversion key is pressed, "r climate" is read out from the ROM 24 and displayed on the liquid crystal panel 15. Once the “climate” is determined, [Kikou 1, 3. The priority information group 'uJ is written into the RAM area 25 as described above. When the conversion key is pressed while "Climate" is being displayed, "Kiki" is read out from the RAM1Jf area 26 and displayed. Assuming that "Kikou" is confirmed, the contents of the user registration word group "Kigou" will be "Kikou".
The priority information group ``Kiko u, 3.u, IJ'' is stored in the RAM area 25 as described above. When is pressed, "Port call" is sent from ROM24.
is read out and displayed. Once the “port call” is confirmed, “
Listening 2.3. The priority information group "u, 1" is written into the RAM area 25 as described above. "
When the conversion key is pressed under the state where "Port Call" is displayed, "Stomata" is read from the ROM 24 and displayed.

「気孔」が確定すると、「きこう 4,3.u。When the "stoma" is confirmed, "Kikou 4,3.u.

I」という優先順位情報グループが上述のようにしてR
AM領域25に書き込まれる。
The priority information group ``I'' is set to R as described above.
It is written into the AM area 25.

「きこう 機構」という単語を使用者が登録すると、「
きこう」という使用者登録単語グループは「きこう 機
構 前校 貴公」と更新され、RAMv4域26の先頭
に書き込まれ、既に格納されている使用者登録単語グル
ープは後方にシフトされる。「きてき 汽笛Jという単
語を使用者単語登録したとき、「きてき」という読みを
使用者登録単語グループが存在しない場合には、「きて
き汽笛」という使用者登録単語グループがそのま\RA
M領域26の先頭に書き込まれ、既に格納されている使
用者登録単語グループは後方にシフトされる。
When a user registers the word "Kikou Organization", "
The user registration word group ``Kikou'' is updated to ``Kikou Kikou Maegoshi Nobleman'' and is written to the beginning of the RAMv4 area 26, and the user registration word group already stored is shifted backward. ``When you register the word ``Kiki Kiki Whistle J'' as a user word, if there is no user registered word group with the pronunciation ``Kiki Kiki'', the user registered word group ``Kiki Kiki Whistle'' will be used as is\RA
The user registration word group written at the beginning of the M area 26 and already stored is shifted backward.

〔発明の効果〕〔Effect 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 perform kana-kanji conversion processing efficiently, and it is easy to manage the storage area. It is possible to achieve the following effects.

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

第1図は本発明が通用される日本語電子タイプライタの
1実施例のブロック図、第2図は本発明で使用される単
語辞書、優先順位情報および使用者登録単語辞書を説明
する図である。 24−単語辞書を格納するROM、25−優先順位情報
を格納するRAM領域、26−使用者登録単語辞書を格
納するRAMv4域。
Fig. 1 is a block diagram of one embodiment of a Japanese electronic typewriter to which the present invention is applicable, and Fig. 2 is a diagram explaining the word dictionary, priority information, and user registered word dictionary used in the present invention. be. 24 - ROM for storing a word dictionary, 25 - RAM area for storing priority information, 26 - RAMv4 area for storing a user registered word dictionary.

Claims (1)

【特許請求の範囲】[Claims] 単語の読み及びこの読みを持つ漢字表記の単語よりなる
単語グループを複数個格納する単語辞書用ROMと、単
語の読み及びこの読みを持つ漢字表記の単語よりなる使
用者登録単語グループを複数個格納できる使用者登録単
語辞書用RAM領域と、単語の読み及びこの読みを持つ
漢字表記の単語の優先順位情報よりなる優先順位情報グ
ループを複数個格納できる優先順位情報用RAM領域と
を具備し、これらを使用して仮名漢字変換を行う日本語
電子タイプライタにおいて、入力仮名文字列に対する漢
字表記の単語が確定したとき、この読みを持つ優先順位
情報グループを上記優先順位情報用RAM領域の先頭に
書込み、既に格納されている優先順位情報グループを後
方にずらすことを特徴とする仮名漢字変換処理方式。
A word dictionary ROM that stores a plurality of word groups consisting of word readings and words written in kanji with these readings, and a plurality of user-registered word groups consisting of word readings and words written in kanji with these readings. A RAM area for a user-registered word dictionary, and a RAM area for priority information that can store a plurality of priority information groups each consisting of the reading of a word and the priority information of the word written in kanji with this reading. In a Japanese electronic typewriter that performs kana-kanji conversion using , a kana-kanji conversion processing method characterized by shifting already stored priority information groups backwards.
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 true JPS61862A (en) 1986-01-06
JPH0344335B2 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)

Cited By (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
JPS6485776A (en) * 1987-09-28 1989-03-30 Hitachi Ltd Document generator
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

Cited By (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
JPS6485776A (en) * 1987-09-28 1989-03-30 Hitachi Ltd Document generator
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

Also Published As

Publication number Publication date
JPH0344335B2 (en) 1991-07-05

Similar Documents

Publication Publication Date Title
US3970185A (en) Syllabic typewriter
US5395173A (en) Bar code and text printer capable of displaying bar code location
GB2229837A (en) Word processing
JPS61862A (en) Kana-to-kanji conversion processing system
JPS60111284A (en) Typewriter with display
US4934851A (en) Text processing system including plural text and corresponding memories
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
JPS612582A (en) Electronic japanese character typewriter
JPH0354376B2 (en)
JPS61860A (en) Format setting system for electronic typewriter of japanese word
JPS61122776A (en) Input/output device
JPS61861A (en) Line end setting system for electronic typewriter of japanese word
JPS61122773A (en) Japanese input/output device
JPS60238966A (en) Kana and kanji reverse conversion processing system
JP3077777B2 (en) Document processing device
JPS61122775A (en) Input/output device
JPH01288957A (en) Character processor
JPS63293669A (en) Character processor
JPS61296388A (en) Rule deletion
JPS62120528A (en) Keyboard device
JPS6158745A (en) Composition letter processing apparatus
JPH02297659A (en) Document processor
JPS60111286A (en) Typewriter with display
JPH04318660A (en) Document format setting method

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term