JPS62197865A - character processing device - Google Patents

character processing device

Info

Publication number
JPS62197865A
JPS62197865A JP61041079A JP4107986A JPS62197865A JP S62197865 A JPS62197865 A JP S62197865A JP 61041079 A JP61041079 A JP 61041079A JP 4107986 A JP4107986 A JP 4107986A JP S62197865 A JPS62197865 A JP S62197865A
Authority
JP
Japan
Prior art keywords
character
headings
input
cursor
homophone
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP61041079A
Other languages
Japanese (ja)
Inventor
Toshiko Kigoshi
木越 壽子
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP61041079A priority Critical patent/JPS62197865A/en
Publication of JPS62197865A publication Critical patent/JPS62197865A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 〔分 野〕 本発明は、仮名・ローマ字で入力されたひらがなを他の
文字種に変換する文字処理装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field] The present invention relates to a character processing device that converts hiragana input in kana or romaji into other character types.

(従来技術) 従来、仮名で入力された日本語を漢字仮名混じり語に変
換する電子辞書では、仮名に対応した漢字仮名混じり語
、即ち「うつくしい」に対しては「美しい」なとのよう
な一般の国語辞書の見出しの形式で日本語を格納してい
た。しかしこれでは「カメラ展」なと片仮名・ひらがな
混じりの日本語を変換させる時、それぞれに応じて文字
種を分けて入力せねばならず、入力時の操作性は文字種
が変わるたびに低下するという欠点があった。
(Prior art) Conventionally, electronic dictionaries that convert Japanese input in kana into kanji-kana-mixed words correspond to kanji-kana-mixed words, such as ``beautiful'' for ``utsukushi''. Japanese words were stored in the form of general Japanese dictionary headings. However, this has the disadvantage that when converting Japanese words such as "Camera Exhibition" that are mixed with katakana and hiragana, you have to input the character types separately, and the operability during input deteriorates each time the character type changes. was there.

〔目 的〕〔the purpose〕

木発明は前記問題点を除去し、電子辞書ファイル中に例
えば「ひらがな見出し」 ・ 「カタカナ見出し」 ・
 「漢字見出し」 ・ 「英語見出し」の4見出しを格
納し、「ひらがな見出し」から他の3見出しを検索でき
、文章入力時の操作性を向上させる電子辞書ファイルを
提供することを目的とする。
The invention of the tree eliminates the above-mentioned problems, and allows for example "Hiragana headings", "Katakana headings", etc. in electronic dictionary files.
The purpose is to provide an electronic dictionary file that stores 4 headings: ``Kanji headings'' and ``English headings'', allows searching for the other 3 headings from ``Hiragana headings'', and improves operability when inputting text.

〔説 明〕〔explanation〕

以下に木発明の実施例による動作の一例を示す。例えば
「カメラ展」という日本語をアウトプツトとして打ち出
す場合、「かめら/てん」という入力車が与えられる。
An example of the operation according to the embodiment of the tree invention will be shown below. For example, when outputting the Japanese word ``camera exhibition'', the input wheel ``kamera/ten'' is given.

「かめら」と「てん」の間にあるスラッシュは語と語の
境目という意味である。この時第2図にあるサーチキー
を押下すると「かめら」は「カメラ」に置き変わり、変
換キーを押下すると次に「てん」に移り同じくサーチキ
ーを押下すると「テン」に置き変わるが、さらにサーチ
キーを押下すると「展」、r点」。
The slash between "kamera" and "ten" means the boundary between words. At this time, when you press the search key in Figure 2, "Camera" is replaced with "camera", when you press the conversion key, it changes to "ten", and when you also press the search key, it is replaced with "ten". If you press the search key further, you will see ``Exhibition'', point r''.

「店」の「てん」の同音異議語のグループが1つずつ表
示される。この場合は「展」が表示された時に第2図の
変換キーを押下することによって「てん」が「展」に置
き変わる。
Groups of homonyms of ``ten'' in ``shop'' are displayed one by one. In this case, by pressing the conversion key shown in FIG. 2 when "Ten" is displayed, "Ten" is replaced with "Ten".

以下図面を参照して本発明の詳細な説明する。The present invention will be described in detail below with reference to the drawings.

第1図は、本発明による一実施例の構成を示すブロック
図であ、る。ここで、CPUは中央処理装置で、各種の
演算、周辺機器の制御を司る。ROMはプログラムメモ
リで、第3図、第4図、第6図、第9図に示すような中
央処理装置cpuの実行プログラムを記憶している。B
Lはパスラインで、その他のメモリ、周辺機器等を接続
して、信号を伝える。KBはキーボードで、入力機能を
果している。RAMはランダムアクセスメモリで、文書
メモリME、同音語バッファBU、同音語カウンタCO
1文書エンドアドレスEAD、カーソルアドレスCAD
、挿入フラグIFで構成される。文書メモリMEは、キ
ーボードKBより入力された文字及び、変換された漢字
等を格納する。。
FIG. 1 is a block diagram showing the configuration of an embodiment according to the present invention. Here, the CPU is a central processing unit that is in charge of various calculations and control of peripheral devices. The ROM is a program memory that stores execution programs for the central processing unit CPU as shown in FIGS. 3, 4, 6, and 9. B
L is a pass line that connects other memories, peripheral devices, etc. and transmits signals. KB is a keyboard, which performs an input function. RAM is a random access memory that includes document memory ME, homophone buffer BU, and homophone counter CO.
1 document end address EAD, cursor address CAD
, and an insertion flag IF. The document memory ME stores characters input from the keyboard KB, converted Kanji characters, and the like. .

同音語バッファBUは、読みと、読みに対応する漢字を
格納する。同音語カウンタCOは、同音語バッファBU
に格納された同音語の表示順位を指定する。文書エンド
アドレスEADは、文書メモリMEのうち文字の存在す
る最後のアドレスを記憶する。カーソルアドレスCAD
はカーソルの位置を記憶する。挿入フラグIFは挿入処
理を行うか否かのスイッチの役割をする。
The homophone buffer BU stores readings and kanji corresponding to the readings. Homophone counter CO is homophone buffer BU
Specify the display order of homophones stored in . The document end address EAD stores the last address where a character exists in the document memory ME. cursor address CAD
remembers the cursor position. The insertion flag IF serves as a switch for determining whether or not to perform insertion processing.

LCDは液晶表示器で、キーボードKBより入力された
文字列や、文書メモリMEの内容、その他カーソル等を
表示する。
The LCD is a liquid crystal display that displays character strings input from the keyboard KB, contents of the document memory ME, and other information such as a cursor.

DCTは、表示制御器で、液晶表示器LCDをコントロ
ールする。
The DCT is a display controller that controls a liquid crystal display (LCD).

CGは、キャラクタ−ジェネレータで、文字コードに対
応するフォントを格納している。
CG is a character generator that stores fonts corresponding to character codes.

DTCは、電子辞書ファイルで、ひらがなに対応する「
カタカナ」、「漢字」、「英語」が記憶されている。
DTC is an electronic dictionary file that corresponds to hiragana.
"Katakana", "Kanji", and "English" are memorized.

第2図は、第1図のキーボードKBの詳細を示す概観図
である。このうち仮名、記号キ一群は、平仮名や片仮名
及び「、」 「。」等の文字・記号キーが複数個装備さ
れている。カーソル左移動、カーソル右移動キーは、カ
ーソルを左右に動かす為のキーである。LILはアッパ
ーラインキーでカーソル表示上の文字にアッパーライン
を付加する機能をもつ。SCはサーチキーで仮名文字列
と辞書の読みとの比較、同音語バッファの作成、同音語
の選択確定等の機能を有する。TRは、変換キーで、同
音語バッファ内の漢字を順次表示させる機能を有する。
FIG. 2 is an overview diagram showing details of the keyboard KB of FIG. 1. Among these, the kana and symbol key group is equipped with a plurality of hiragana, katakana, and character/symbol keys such as "," and ".". The cursor left movement and cursor right movement keys are keys for moving the cursor left and right. LIL has the function of adding an upper line to the characters displayed on the cursor display using the upper line key. The SC has functions such as comparing a kana character string with a dictionary reading, creating a homophone buffer, and confirming the selection of a homophone using a search key. TR is a conversion key and has a function of sequentially displaying kanji in the homophone buffer.

以上の構成の下で、本発明実施例の動作をフローチャー
トを参照して説明する。
With the above configuration, the operation of the embodiment of the present invention will be explained with reference to flowcharts.

木装置は、電源を投入するとます第3図ステップStに
進む。ステップS1ではランダムアクセスメモリRAM
内の文書メモリME、同音語バッファBU、同音語カウ
ンタCoをクリア、同円文書エンドアドレスEADの0
セツト、カーソルアドレスCADの1セツト、挿入フラ
グIFをOFFなどのイニシャライズ処理を行う。その
後、ステップS2に進み第2図に示したキーボードKB
からのキー入力待ちの状態を保つ。そこで、何らかのキ
ーが入力されたならステップS3に進み入力されたキー
の判別を行いステップ34〜10のいずれかのステップ
に進む。ステップS4は文字・記号キーが操作された時
の処理を行う。
As soon as the power is turned on, the wood device proceeds to step St in FIG. 3. In step S1, random access memory RAM
Clear the document memory ME, homophone buffer BU, and homophone counter Co in the same circle, and set the same circle document end address EAD to 0.
Initialization processing is performed such as setting the cursor address CAD, setting the cursor address CAD, and turning off the insertion flag IF. After that, the process proceeds to step S2, and the keyboard KB shown in FIG.
Waits for key input from . Therefore, if any key is input, the process proceeds to step S3, where the input key is determined, and the process proceeds to any one of steps 34 to 10. Step S4 performs processing when a character/symbol key is operated.

前述の文字入力処理ステップS4の詳しいフローチャー
トを第4図に示す。まずステップS4・1において入力
された文字コートにアッパーラインビットを付加する。
A detailed flowchart of the above-mentioned character input processing step S4 is shown in FIG. First, an upper line bit is added to the input character code in step S4.1.

ここで通常の表示文字とアッパーライン付文字との内部
コード上の違いを説明する。
Here, the difference in internal code between normal display characters and characters with an upper line will be explained.

一般に文字処理装置の文書メモリは1文字にっき1ワー
ド即ち16ビツトで構成されている。各文字のコードは
15ビツトから1対1に対応して各ビットに付与されて
いるが最上位ビット即ちビット0はアッパーラインビッ
トUBとしての役目を果たすようになっている。例えば
第5図(a)に示した如く「あ」のコードは16進表示
でr2422Jであるが、これにアッパーラインが付い
た「あ」は第5図(b)の如くrA422Jというコー
ド体系になっている。
Generally, the document memory of a character processing device consists of one word, or 16 bits, for each character. The code of each character is assigned to each bit in a one-to-one correspondence starting from 15 bits, and the most significant bit, ie, bit 0, serves as the upper line bit UB. For example, as shown in Figure 5(a), the code for "A" is r2422J in hexadecimal notation, but the code for "A" with an upper line is rA422J as shown in Figure 5(b). It has become.

さて、ステップS4・2では、ランダムアクセスメモリ
RAM内の挿入フラグIFがON状態であるかOFF状
態であるかを判定し、OFFの場合は、ステップS4・
4に、ONのときはステップS4・3に進む。
Now, in step S4.2, it is determined whether the insertion flag IF in the random access memory RAM is in the ON state or in the OFF state. If it is OFF, step S4.
4, if it is ON, proceed to step S4.3.

挿入フラグがONのとき、進むステップS4・3では、
文書メモリMEにおいて、カーソルアドレスCADは示
すアドレス以後の文字配列を1文字ずつ後方にずらす。
When the insertion flag is ON, in step S4.3,
In the document memory ME, the cursor address CAD shifts the character array after the address indicated backward one character at a time.

次にステップS4・4において、カーソルアドレスCA
Dの示す、文書メモリME内の当該アドレスに、入力さ
れた文字コードを格納する。その後ステップS4・5に
おいてカーソルアドレスCADに1を加えて、第3図の
フローチャート中の文字入力処理S4を終了する。
Next, in step S4.4, the cursor address CA
The input character code is stored at the address indicated by D in the document memory ME. Thereafter, in steps S4 and 5, 1 is added to the cursor address CAD, and the character input process S4 in the flowchart of FIG. 3 is ended.

次に第3図のサーチ処理S5の辞書サーチを説明する。Next, the dictionary search in search process S5 in FIG. 3 will be explained.

サーチキーSCが押下されると、入力された読みに対応
する電子辞書ファイルのカタカナ見出し、漢字見出し、
英語見出しのすべてを同音語バッファBUに格納する。
When the search key SC is pressed, the katakana heading, kanji heading,
Store all English headings in the homophone buffer BU.

サーチキーSCを操作するのは、「カメラ展」という語
を作成する場合の過程を示した第6図を例にとると、第
6図(a)から第6図(b)、第6図(d)から第6図
(e)に移行するステップである。尚、同音語バッファ
BUの様子を第7図で説明する。一つの単語が入るエリ
アは9ワードで構成されている。
Using the example of FIG. 6, which shows the process of creating the word "camera exhibition," the search key SC is operated from FIG. 6(a) to FIG. 6(b) and FIG. This is a step from (d) to FIG. 6(e). Incidentally, the state of the homophone buffer BU will be explained with reference to FIG. The area for one word consists of nine words.

最初にひらがな見出し、次にカタカナ見出し、三番目に
漢字見出し、最後に英語見出しの順に格納され、最後に
チェックコードCCDが入るようになっている。
Hiragana headings are stored first, then katakana headings, kanji headings third, English headings last, and the check code CCD is stored at the end.

次に第3図変換処理S6の手順を第8図を参照して説明
する。まずステップS6・1において同音語カウンタC
Oを1加算する。これは現在表示されている同音語の次
の同音語エリアを指示する為である。引続いてステップ
S6・2では上記の新たな同音語エリア内の文字コード
をチェックコードCCDの時はステップS6・3に進み
、同音語バッファBUの先頭から再表示するための準備
として同音語カウンタCoを1にセットする。
Next, the procedure of the conversion process S6 in FIG. 3 will be explained with reference to FIG. First, in step S6.1, the homophone counter C
Add 1 to O. This is to indicate the next homophone area of the currently displayed homophone. Subsequently, in step S6.2, the character code in the new homophone area is checked. If the code is CCD, the process proceeds to step S6.3, where the homophone counter is set in preparation for redisplaying the homophone buffer BU from the beginning. Set Co to 1.

他方ステップS6・2でチェックコードCCD以外だっ
た時、ステップS6・4に進み、同音語カウンタCOに
対応したエリア内の文字コードを文書メモリMEに格納
する。この時文書メモリMEにすき間が空かない様、少
ない文字数の時は文書メモリMEを詰める。変換キーを
操作するのはS6図を例にとると、S6図(b)から第
6図(C)、第6図(e)から第6図(f)に移行する
過程である。尚、この電子辞書ファイルの構成は第9図
に示す通りである。
On the other hand, if the check code is other than CCD in step S6.2, the process proceeds to step S6.4, and the character code in the area corresponding to the homophone counter CO is stored in the document memory ME. At this time, the document memory ME is filled up when the number of characters is small so that there is no space left in the document memory ME. Taking Figure S6 as an example, the conversion key is operated during the process of transitioning from Figure S6 (b) to Figure 6 (C) and from Figure 6 (e) to Figure 6 (f). The structure of this electronic dictionary file is as shown in FIG.

&LTm71.+−h−\ノII/f:i?、i’+I
+#−Vl+h−)/Iレブ;移動キーが操作された時
の処理を行う。即ちカーソル左移動キーの場合はランダ
ムアクセスメモリRAM上のカーソルアドレスから1減
算し、カーソル右移動キーの時は逆に1加算させる。か
かる処理の後、カーソルを液晶表示器LCDに表示させ
る。
&LTm71. +-h-\ノII/f:i? ,i'+I
+#-Vl+h-)/I Rev; Performs processing when a movement key is operated. That is, in the case of a cursor left movement key, 1 is subtracted from the cursor address on the random access memory RAM, and in the case of a cursor right movement key, 1 is added. After such processing, a cursor is displayed on the liquid crystal display LCD.

アッパーライン処理を行うステップS8は、アッパーラ
インキーULが操作されたときの処理で、カーソルアド
レスCADに示される文書メモリME上のアドレスに格
納される文字コートのビットO即ちアッパーラインビッ
トに1を立てて選択確定前の状態にし、カーソルアドレ
スCADの1加算及びカーソル表示を行う。
Step S8 for performing upper line processing is a process when the upper line key UL is operated, and sets 1 to bit O of the character code stored at the address on the document memory ME indicated by the cursor address CAD, that is, the upper line bit. It is set to the state before the selection is confirmed, and the cursor address CAD is incremented by 1 and the cursor is displayed.

ステップS9は挿入キーが押下されたときの処理で、ラ
ンダムアクセスメモリRAM内の挿入フラグIFをON
の時はOFF、OFFの時はONにする。
Step S9 is a process when the insert key is pressed, and turns on the insert flag IF in the random access memory RAM.
When it is OFF, turn it OFF, and when it is OFF, turn it ON.

ステップS10は削除キーSKが押下された時の処理で
、カーソルアドレスCADに示される文書メモリME上
のアドレスの文字を1文字削除して、その文字以降の文
字コードを1アドレスづつ詰める。
Step S10 is a process when the delete key SK is pressed, in which one character at the address on the document memory ME indicated by the cursor address CAD is deleted, and the character code after that character is filled in one address at a time.

なお、本発明の電子辞書ファイルは「ひらがな見出し」
、「カタカナ見出し」、「漢字見出し」、「英語見出し
」の4種類の見出しで構成されているが、フランス語、
ドイツ語など他言語の見出しを具備しても本発明の主旨
を損うことはない。
In addition, the electronic dictionary file of the present invention is "Hiragana Heading"
, consists of four types of headings: ``Katakana headings'', ``Kanji headings'', and ``English headings'', but French,
Even if headings are provided in other languages such as German, the gist of the present invention will not be diminished.

(効 果) 以上説明したように、本発明によると仮名漢字変換処理
装置において、電子辞書ファイル中にひらがな見出し、
カタカナ見出し、漢字見出し、英語見出しの4f!!類
を格納したことにより、入力文中に異なる文字種があっ
ても入力時にモード切換えを行う必要性がなくなり、入
力作業の操作性が向上するという効果がある。
(Effects) As explained above, according to the present invention, in the kana-kanji conversion processing device, hiragana headings,
4F of katakana headings, kanji headings, and English headings! ! By storing the types, there is no need to switch modes during input even if there are different character types in the input sentence, which has the effect of improving the operability of input work.

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

第1図は本発明の実施例の構成を示すブロック図。第2
図はキーボードの外観図。第3図は処理過程を示すフロ
ーチャート。第4図は文字入力処理過程を示すフローチ
ャート。第5図(a)〜(b)は文字コードのアッパー
ラインビットを示す図。第6図(a)〜(f)は入力例
を示す図。 第7図は同音語バッファの様子を示す図。第8図は変換
処理の処理過程を示す図。第9図は電子辞書ファイルの
構成を示す図。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention. Second
The figure is an external view of the keyboard. FIG. 3 is a flowchart showing the processing process. FIG. 4 is a flowchart showing the character input processing process. FIGS. 5(a) and 5(b) are diagrams showing upper line bits of character codes. FIGS. 6(a) to 6(f) are diagrams showing input examples. FIG. 7 is a diagram showing the state of the homophone buffer. FIG. 8 is a diagram showing the process of conversion processing. FIG. 9 is a diagram showing the structure of an electronic dictionary file.

Claims (1)

【特許請求の範囲】 読みを入力する入力手段と、 前記読みに対応する片仮名を記憶した第1記憶手段と、 前記読みに対応する漢字を記憶した第2記憶手段と、 前記入力手段で入力された読み、或いは前記第1記憶手
段に記憶された片仮名、或いは前記第2記憶手段に記憶
された漢字を表示する表示手段と、 を有することを特徴とする文字処理装置。
[Scope of Claims] Input means for inputting a reading; first storage means for storing katakana corresponding to the reading; second storage means for storing kanji corresponding to the reading; 1. A character processing device comprising: display means for displaying a reading, or a katakana character stored in the first storage means, or a kanji character stored in the second storage means.
JP61041079A 1986-02-25 1986-02-25 character processing device Pending JPS62197865A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61041079A JPS62197865A (en) 1986-02-25 1986-02-25 character processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61041079A JPS62197865A (en) 1986-02-25 1986-02-25 character processing device

Publications (1)

Publication Number Publication Date
JPS62197865A true JPS62197865A (en) 1987-09-01

Family

ID=12598455

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61041079A Pending JPS62197865A (en) 1986-02-25 1986-02-25 character processing device

Country Status (1)

Country Link
JP (1) JPS62197865A (en)

Similar Documents

Publication Publication Date Title
JPH0346857B2 (en)
JPS6161392B2 (en)
JPS5948413B2 (en) character processing device
JPH02144762A (en) Kanji input device
JPH0531190B2 (en)
JPS5951015B2 (en) document creation device
JPS6385962A (en) Kana-kanji converter
JPH0778795B2 (en) Character processor
JP2845234B2 (en) Document data processing device
JPH0411393B2 (en)
JPH0651891A (en) Document input device
JPS60103435A (en) Kana-kanji conversion device
JP2713942B2 (en) Kana-Kanji conversion device
JPS61109168A (en) Kana-kanji conversion device
JPS5814688B2 (en) Kanji-mixed sentence input device that sequentially displays homophones
JPS60173666A (en) Kanji retrieval device
JPS61196359A (en) character processing device
JPS61180360A (en) Document editing device
JPS62119665A (en) Word processor
JPS61177568A (en) Document processor
JPS62266662A (en) Kana-Kanji conversion device
JPS62266665A (en) Kana-Kanji conversion device
JPS63282786A (en) Word processor
JPH03206551A (en) Method and device for displaying conversion candidates for reading input character strings
JPH02250148A (en) Character processor