JPS60200360A - Japanese language processing device - Google Patents

Japanese language processing device

Info

Publication number
JPS60200360A
JPS60200360A JP59056267A JP5626784A JPS60200360A JP S60200360 A JPS60200360 A JP S60200360A JP 59056267 A JP59056267 A JP 59056267A JP 5626784 A JP5626784 A JP 5626784A JP S60200360 A JPS60200360 A JP S60200360A
Authority
JP
Japan
Prior art keywords
cursor
hiragana
input
japanese
conversion
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
JP59056267A
Other languages
Japanese (ja)
Other versions
JPH0630096B2 (en
Inventor
Kenji Matsuse
松瀬 健司
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP59056267A priority Critical patent/JPH0630096B2/en
Publication of JPS60200360A publication Critical patent/JPS60200360A/en
Publication of JPH0630096B2 publication Critical patent/JPH0630096B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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)
  • Machine Translation (AREA)
  • 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] Technical Field The present invention relates to a Japanese language processing device, and more specifically, to converting kana characters in an input Japanese sentence from hiragana characters to katakana characters, or from hiragana characters to katakana characters as necessary. The present invention relates to a Japanese language processing device equipped with a hiragana-kana conversion function for converting kana characters into hiragana characters.

従来技術 日本語処理装置は、文書作成や文書管理を迅速・容易と
し、事務処理作業の合理化を可能にするものとして近年
急速な普及を見せている装置である。
Background Art Japanese language processing devices are devices that have become rapidly popular in recent years as they enable quick and easy document creation and document management, and rationalization of office work.

日本語処理装置の内、例えばかな漢字変換式では、キー
ボードによりかな文字で入力された日本語文をかな漢字
変換し画面に表示する。そしてオ被レータは画面を見な
がら挿入・削除・訂正などの所望の編集作業を行なうこ
とができるようになっている。キーデートは、かなキー
及びひらがなとかたかなの間でモード切換(ここで、モ
ードは、ひらがな、かたかな、漢字。
Among Japanese language processing devices, for example, a kana-kanji conversion type converts a Japanese sentence inputted in kana characters from a keyboard into kana-kanji characters and displays the result on the screen. The editor can perform desired editing operations such as insertion, deletion, and correction while looking at the screen. The key date is the kana key and mode switching between hiragana and katakana (here, the mode is hiragana, katakana, kanji).

英字などの種別を指す。)を行なうためのかなモード指
定キーを有しており、オペレータはこのかなモード指定
キーを切換えてひらがな入力又はかたかな入力を選択す
ることができる。
Refers to types such as alphabetic characters. ), and the operator can select hiragana input or katakana input by switching this kana mode specification key.

ところで、従来の日本語処理装置においては、日本語入
力操作の際、ひらがなとかたかなのモードを間違えて、
入力しようとしたモードとは異なるモードで入力を行な
ってしまった場合、それからモードを切換ても、その後
のキー人力に関してのみ有効であり、既に入力を終えた
文字に関してはモードの変更処理はされない。従って、
日本語入力をやシ直すか、後に行なう編集作業において
訂正しなければならなかった。
By the way, with conventional Japanese language processing devices, when inputting Japanese, the mode may be incorrectly selected for Hiragana or Katakana.
If you end up inputting in a mode different from the mode you were trying to input, even if you change the mode, it will only be effective for subsequent manual keystrokes, and the mode will not be changed for characters that have already been input. Therefore,
I had to either correct the Japanese input a bit or make corrections in later editing work.

一方、編集作業での訂正は、−文字単位でしか処理でき
ないので誤入力した文字が複数並んで存在する場合には
、個々にカーソルの移動、訂正キーの操作及び訂正する
文字キーの入力操作をくり返し行なわれなければならず
、操作上非常に不便で作業能率の低下を招く原因となっ
ていた。
On the other hand, corrections in editing work can only be processed character by character, so if there are multiple incorrectly entered characters in a row, you must individually move the cursor, operate the correction key, and input the character key to be corrected. This has to be done repeatedly, which is very inconvenient to operate and causes a decrease in work efficiency.

目的 本発明はこのような従来技術の欠点を解消し、簡単なキ
ー操作で画面に表示された日本語文を見ながら、あるモ
ードで既に入力されているひらがな又はかたかな文字列
を一度に他のモードのかたかな又はひらがな文字列に変
換することのできる操作性の良好な日本語処理装置を提
供することを目的とする。
Purpose The present invention solves the drawbacks of the prior art, and allows you to read and write hiragana or katakana character strings that have already been input in one mode at a time while looking at the Japanese text displayed on the screen with simple key operations. An object of the present invention is to provide a Japanese language processing device with good operability and which can convert character strings into Katakana or Hiragana characters in the mode.

構成 本発明の構成について以下、一実施例に基づいて説明す
る。
Configuration The configuration of the present invention will be described below based on one embodiment.

第1図は本発明によるかな漢字変換式の日本語処理装置
の構成例を示すブロック図である。
FIG. 1 is a block diagram showing an example of the configuration of a kana-kanji conversion type Japanese processing device according to the present invention.

同図において、キー?−ド10にキー判定部12を介し
て日本語処理部14−が接続されている。キーデート1
0は、かなキー、英字キーなどの文字キー、挿入キー、
削除キー、訂正キーなどのファンクションキーなど日本
語入力操作及びかな漢字変換、編集操作等を行なうため
に必要な各種キーを有しておシ、キーを押下すると各キ
ーに対応するコードデータが出力されるようになってい
る。キーデート10にはカタカナキー、シフトキー、ひ
らがな・カタカナ変換キー、カーソルキーも設けられて
いる。カタカナキーを解除した状態でかなキーを押下す
るとひらがな文字を入力することができ、カタカナキー
を押下した状態でかなキーを押下するとかたかな文字を
人力することができる。日本語入力はかな文字を用いて
べた書で行なう。ひらがな・カタカナ変換キーは既に入
力したかな文字のモード変換を指示するだめのもので、
シフトキーを解除した状態で押下したときはひらがなか
らカタカナへの変換、シフトキーを押下した状態のとき
はかたかなからひらがなへの変換を表わす。カーソルキ
ーを操作すると、移動量データが後述するカーンル移動
部16へ出力されるようになっておシ、画面上のカーソ
ルがX又はy方向へ移動する。
In the same figure, the key? A Japanese language processing section 14- is connected to the card 10 via a key determination section 12. Key date 1
0 is character keys such as kana key, alphabet key, insert key,
It has various keys necessary for performing Japanese input operations, kana-kanji conversion, editing operations, etc., such as function keys such as a delete key and a correction key. When a key is pressed, code data corresponding to each key is output. It has become so. The Key Date 10 also has a katakana key, a shift key, a hiragana/katakana conversion key, and a cursor key. If you press the Kana key while the Katakana key is released, you can input hiragana characters, and if you press the Kana key while the Katakana key is pressed, you can input katakana characters manually. Japanese input is done in solid writing using kana characters. The hiragana/katakana conversion key is only used to instruct the mode conversion of kana characters that have already been input.
When pressed with the shift key released, it represents conversion from hiragana to katakana, and when the shift key is pressed, it represents conversion from katakana to hiragana. When the cursor key is operated, movement amount data is output to a Kahnle moving unit 16, which will be described later, and the cursor on the screen moves in the X or Y direction.

キー判定部12は、キーボード10からの入力データが
ひらがな・カタカナ変換キーに係るコマンドか否か判定
する機能を有しひらがな・カタカナ変換キーに係るコマ
ンド以外の文字データ又はコマンドを入力したときは日
本語処理部14へそのまま出力する。ひらがな・カタカ
ナ変換キーに係るコマンドを入力したときは出力側に接
続されたカーソル位置記憶部18へ読込信号を出力する
ようになっている。
The key determination unit 12 has a function of determining whether input data from the keyboard 10 is a command related to a hiragana/katakana conversion key. The data is output as is to the word processing section 14. When a command related to the hiragana/katakana conversion key is input, a read signal is output to the cursor position storage section 18 connected to the output side.

日本語処理部14は、オ被レータの入力操作でキーボー
ド10から送られるべた書きの日本語文をまずメモIJ
 20の入力行記憶領域へ蓄積する。そして、句読点若
しくはスペースを入力すると日本語処理部14は入力行
記憶領域に蓄積したべた書きの日本語文を単語辞書及び
文法規則を用いてかな漢字変換しメモリ20の変換行記
憶領域に蓄積する。メモリ20の出力側にはCRT制御
部22、CRTディスプレイ24が接続されており、メ
モリ20に蓄積された入力文及び変換文データが文字・
々ターンに変えられて各々画面の所定の入力行表示位置
及び変換行表示位置に表示されるようになっている。C
RT制御部22はカーソル移動部16から送られるカー
ソルデータに基づき画面にカーソル表示も行なう。
The Japanese language processing unit 14 first converts the solid Japanese text sent from the keyboard 10 by the input operation of the operator into a memo IJ.
20 input row storage areas. When a punctuation mark or space is input, the Japanese processing unit 14 converts the solid Japanese sentence stored in the input line storage area into kana-kanji using a word dictionary and grammar rules, and stores it in the converted line storage area of the memory 20. A CRT control unit 22 and a CRT display 24 are connected to the output side of the memory 20, and the input sentence and converted sentence data stored in the memory 20 are converted into characters and characters.
The lines are changed every turn and displayed at predetermined input line display positions and conversion line display positions on the screen, respectively. C
The RT control unit 22 also displays a cursor on the screen based on cursor data sent from the cursor moving unit 16.

日本語処理部14は、また変換文に削除・挿入・訂正な
どを施す編集機能を有している。画面に表示された変換
文を変更するためオイレータがキーボード10のカーソ
ルキーを操作して位置を指定するとカーソル移動部16
からカーソルデータが日本語処理部14に人力される。
The Japanese language processing unit 14 also has an editing function for deleting, inserting, correcting, etc. the converted sentence. When the oirator operates the cursor keys on the keyboard 10 to specify a position in order to change the converted sentence displayed on the screen, the cursor moving part 16
The cursor data is manually inputted to the Japanese language processing section 14.

また削除・挿入・訂正キーなどの編集キー(但し、ひら
がな・カタカナ変換キーを除く)及び変更に必要な文字
キーを操作すると対応するコマンド及び文字データが日
本語処理部14に送られる。
Also, when editing keys such as deletion, insertion, and correction keys (excluding hiragana/katakana conversion keys) and character keys necessary for changes are operated, the corresponding commands and character data are sent to the Japanese language processing section 14.

日本語処理部14は、入力した編集コマンドに基づきメ
モリ20に蓄積した変換文を読出し削除・挿入・訂正等
を行なって修正・変更する。
The Japanese language processing unit 14 reads out the converted sentences stored in the memory 20 based on the input editing commands, and performs deletion, insertion, correction, etc. to modify and change them.

編集後の変換文を再びメモI720の変換行記憶領域に
蓄積し、画面に表示させる。
The edited converted sentence is stored again in the converted line storage area of the memo I720 and displayed on the screen.

また、本構成例による日本語処理装置は、かな文字で日
本語入力を行なっている際、既に入力してしまったモー
ドの間違ったひらがな文字列又はかたかな文字列のモー
ドを訂正したいときは画面の入力行に表示されている所
望のかな文字列の最後の文字にカーソルを合わせたのち
ひらがな・カタカナ変換キーを押せば前にさかのぼって
複数文字分一度にモード変換できるようになっている。
In addition, when the Japanese language processing device according to this configuration example is inputting Japanese using kana characters, if you want to correct the mode of the wrong hiragana character string or katakana character string that has already been input, By placing the cursor on the last character of the desired kana character string displayed on the input line of the screen and pressing the hiragana/katakana conversion key, you can go back and convert multiple characters at once.

また、編集時に、画面の変換性に表示されているひらが
な文字列又はかたかな文字列のモードを変換したいとき
は画面の変換性に表示されている所望のかな文字列の最
初と最後の文字にカーソルを合わせたのち各々ひらがな
・カタカナ変換キーを押せばカーソルで指定された区間
のかな文字列を一度にモード変換できるようになってい
る。
Also, when editing, if you want to convert the mode of the hiragana character string or katakana character string displayed in the conversion property of the screen, you can use the first and last characters of the desired kana character string displayed in the conversion property of the screen. By placing the cursor on the cursor and pressing the hiragana/katakana conversion key, you can convert the kana character string in the section specified by the cursor at once.

即ち、キーボード10でひらがな・カタカナ変換キーが
押下されるとキー判定部12がこれを判別してカーソル
位置記憶部18へ読込信号を送出する。また、この際、
シフトキーが押下されている場合には、キー判定部12
はカーソル位置記憶部18の出力側に接続されたひらが
な・カタカナ変換部26にシフトキーが押下されている
ことを表わすシフト信号を送出する。
That is, when the hiragana/katakana conversion key is pressed on the keyboard 10, the key determination unit 12 determines this and sends a read signal to the cursor position storage unit 18. Also, at this time,
If the shift key is pressed, the key determination unit 12
sends a shift signal indicating that the shift key is pressed to the hiragana/katakana conversion section 26 connected to the output side of the cursor position storage section 18.

カーソル位置記憶部18は、モード変換するかな文字列
の区間を記憶する機能を有している。
The cursor position storage unit 18 has a function of storing a section of a kana character string to be converted into a mode.

最初の読込信号を入力するとまずカーソル位置記憶部1
8はそのときカーソル移動部16が出力しているカーソ
ルデータを読込み第1データとして記憶する。続いて、
カーソルデータが画面の変換行表示領域にかかるデータ
か、入力行表示領域にかかるデータか判別し前者の場合
はキー判定部12から次の読込信号が入力されるのを待
つ。そしてカーソルキー操作でカーソル移動後ひらがな
・カタカナ変換キーの押下で2回目の読込信号を入力す
ると、カーソル位置記憶部18は再びそのときカーソル
移動部16が出力している第2のカーソルデータを読込
み記憶する。カーソル位置記憶部18に記憶された第1
.第2のカーソルデータは変換文の中のモード変換を所
望するかな文字列の区間を表わす。
When the first read signal is input, the cursor position memory section 1
8 reads the cursor data outputted by the cursor moving unit 16 at that time and stores it as first data. continue,
It is determined whether the cursor data is data related to the conversion line display area of the screen or data related to the input line display area, and if it is the former, it waits for the next read signal to be input from the key determination unit 12. Then, after moving the cursor by operating the cursor keys, when a second read signal is input by pressing the hiragana/katakana conversion key, the cursor position storage unit 18 again reads the second cursor data that the cursor movement unit 16 is outputting at that time. Remember. The first
.. The second cursor data represents the section of the kana character string for which mode conversion is desired in the conversion sentence.

これとは別に1回目の読込信号に応動してカーソル移動
部16から入力したカーソルデータが、画面の入力行表
示領域にかかるデータのときカーソル位置記憶部18は
このデータを第1のカーソルデータとして記憶するとと
もにカーソル移動部16にカーソル後退信号を出力する
Separately, when the cursor data input from the cursor moving unit 16 in response to the first read signal is data related to the input line display area of the screen, the cursor position storage unit 18 stores this data as the first cursor data. At the same time, a cursor backward signal is output to the cursor moving section 16.

カーソル移動部16は、カーソルデータレジスタを有し
ておシ、カーソルキー操作によってキーボード10から
X方向又はX方向の移動量データを人力するとレジスタ
に貯えたカーソルデータに加減算しカーソルデータの更
新を行なう。また、カーソル位置記憶部18からカーソ
ル後退信号を入力するとレジスタに貯えたカーソルデー
タを逐次デクリメントしカーソルを1文字ずつ後退させ
るようになっている。この方−ツルデータの後退はカー
ソル位置記憶部18から停止信号を入力するまで行なわ
れる。カーソル移動部16に貯えられたカーソルデータ
はCRT制御部2zに送出されて画面にカーソル表示が
行なわれるとともに、かな文字のモード変換処理を行な
う間カーソル位置記憶部18に送出される。また、カー
ソル後退信号を入力してデクリメントを行なう場合カー
ソルデータはカーソル移動部16の出力側に接続された
モード記憶部28に送出されるようになっている。
The cursor moving unit 16 has a cursor data register, and when the user enters movement amount data in the X direction or the X direction from the keyboard 10 by operating the cursor keys, the cursor moving unit 16 adds or subtracts the data to the cursor data stored in the register to update the cursor data. . Further, when a cursor backward signal is input from the cursor position storage section 18, the cursor data stored in the register is sequentially decremented to move the cursor backward one character at a time. In this way, the vine data is retracted until a stop signal is input from the cursor position storage section 18. The cursor data stored in the cursor moving section 16 is sent to the CRT control section 2z to display a cursor on the screen, and is also sent to the cursor position storage section 18 during the mode conversion process for kana characters. Further, when decrementing is performed by inputting a cursor backward signal, cursor data is sent to a mode storage section 28 connected to the output side of the cursor moving section 16.

モード記憶部28は、カーソル移動部16からカーソル
データを入力するとメモ9200人力行記憶領域からカ
ーソルデータが示すアドレスの文字データを読出し文字
モードがひらがな(mode = 1 )かかたか1 
(mode = 2 )かを識別する。そして、デクリ
メントする前のオペレータによって指定された最初のカ
ーソルデータに係る文字(変換を所望するかな文字列の
最後の文字)Aのモードをmode ’A (−1又は
2)とし、デクリメント中の各カーソルデータに係る文
字モードを順にmode Bl + mode B2 
* mode B3 、−(=1又は2)として記憶す
るとともに出力側に接続されたモード判定部30へ出力
する。
When the cursor data is input from the cursor moving unit 16, the mode storage unit 28 reads out character data at the address indicated by the cursor data from the memo 9200 human power running storage area and sets the character mode to hiragana (mode = 1) or 1.
(mode = 2). Then, set the mode of the character A related to the first cursor data specified by the operator before decrementing (the last character of the character string desired to be converted) to mode 'A (-1 or 2), and set each character during decrement to mode 'A (-1 or 2). Character modes related to cursor data are set in order: mode Bl + mode B2
*mode B3, stored as -(=1 or 2) and output to the mode determination unit 30 connected to the output side.

モード判定部30は、mode Aを基準にしてカーソ
ルデータのデクリメント動作に従い順にモード記憶部2
8から送出されるmodeBl ・modeB2+・・
・と比較して行く。変換を所望するかな文字列の最後の
文字とは異なるモードの文字となりmode A 笑m
ode B4となったときカーソル位置記憶部18に選
定信号を出力する。この選定信号を入力したカーソル位
置記憶部18はそのときカーソル移動部16が出力して
いるカーソルデータを入力し、■だけインクリメントし
第2のカーソルデータとして記憶する。但し、入力行の
文頭までカーソルを後退してもmode ’A %mo
deJとならないときは文頭アドレスを第2のカーソル
データとする。これにより、入力行のモード変換を所望
するかな文字列の最後の文字位置を指定すれば最初の文
字位置が自動的に選定されることになる。
The mode determining unit 30 sequentially selects the mode storage unit 2 according to the decrement operation of the cursor data based on mode A.
modeBl sent from 8, modeB2+...
・Let's compare. The last character of the character string you want to convert will be a character in a different mode, mode A lol.
When the ode B4 is reached, a selection signal is output to the cursor position storage section 18. The cursor position storage unit 18, which has received this selection signal, inputs the cursor data that the cursor moving unit 16 is outputting at that time, increments it by ■, and stores it as second cursor data. However, even if you move the cursor back to the beginning of the input line, mode 'A %mo
When it is not deJ, the sentence start address is used as the second cursor data. As a result, if the last character position of the kana character string for which mode conversion of the input line is desired is specified, the first character position will be automatically selected.

カーソル位置記憶部18の出力側にはひらがな・カタカ
ナ変換部26が接続されている。カーソル位置記憶部1
8は、変換すべきかな文字列の区間の選定動作を終える
と、範囲を表わす第1.第2のカーソルデータをひらが
な・カタカナ変換部26へ出力する。このひらがな・カ
タカナ変換部26は、メモリ20と接続されており、こ
のメモリzOから第1.第2のカーソルデータで表わさ
れた区間にあるかな文字列データを読出し、モードを変
換して再びメモリ20に記憶させるようになっている。
A hiragana/katakana conversion section 26 is connected to the output side of the cursor position storage section 18. Cursor position storage unit 1
8 indicates the range after completing the selection of the section of the kana character string to be converted. The second cursor data is output to the hiragana/katakana converter 26. This hiragana/katakana converter 26 is connected to the memory 20, and the first . Kana character string data in the section represented by the second cursor data is read out, the mode is converted, and the data is stored in the memory 20 again.

但し、ひらが々・カタカナ変換部26はキー判定部12
からンフト信号を入力しているときはかたかなからひら
がなへモード変換を行ない、/フト信号の入力がないと
きはひらがなからかたかなへモード変換を行なう。モー
ド変換処理は、例えばひらがなコードとかたかなコード
が一定の対応関係にあることを利用して一定数の加減算
で行なうことができる。
However, the hiragana/katakana conversion section 26 is the key determination section 12.
When the /ft signal is input, the mode is converted from katakana to hiragana, and when the /ft signal is not input, the mode is converted from hiragana to katakana. The mode conversion process can be performed by adding and subtracting a certain number of codes, for example, by taking advantage of the fact that hiragana chords and katakana chords have a certain correspondence relationship.

このようにしてかな文字列のモードが訂正されたメモリ
20の記憶内容は、CRTディスプレイ24の画面に直
ちに表示される。入力行のかな文字列のモードを訂正し
たときは一文人力完了後前述したように日本語処理部1
4でかな漢字変換がなされる。また、変換行のかな文字
列のモードを訂正したときは、続いて挿入・削除等信の
編集作業を行なうことが可能である。
The contents of the memory 20 whose kana character string mode has been corrected in this manner are immediately displayed on the screen of the CRT display 24. When the mode of the kana character string in the input line is corrected, the Japanese processing unit 1 is
Kana-kanji conversion is done in 4. Furthermore, when the mode of the kana character string in the conversion line is corrected, it is possible to subsequently perform message editing operations such as insertion and deletion.

次に、上記実施例の全体的な作用を第2図及び第3図に
基づいて説明する。第2図は、編集時に変換文中のかな
文字列のモード変換を行なう場合の動作を表わすフロー
チャートであシ、第3図は入力時に入力文中のかな文字
列のモード変換を行なう場合のフローチャートである。
Next, the overall operation of the above embodiment will be explained based on FIGS. 2 and 3. Figure 2 is a flowchart showing the operation when converting the mode of a kana character string in a converted sentence during editing, and Figure 3 is a flowchart showing the operation when converting the mode of a kana character string in an input sentence during input. .

初めに第2図を参照しながら変換文中のひらがな文字列
をかたかな文字列に変更する場合について述べる。捷ず
、オ被レータが画面を見ながらカーソルキーを操作して
変換行の内、モード変換をしたいひらがな文字列の最初
の文字位置にカーソルを合わせる。このときカーソル移
動部16が最初の文字位置のカーソルデータをカーソル
位置記憶部18へ出力する。続いてシフトキーを解除し
たままひらがな・カタカナ変換キーを押しコマンドをキ
ー判定部12へ送出する。
First, the case of changing a hiragana character string in a converted sentence to a katakana character string will be described with reference to FIG. Without changing the mode, the operator operates the cursor keys while looking at the screen to move the cursor to the first character position of the hiragana character string for which mode conversion is desired in the conversion line. At this time, the cursor moving unit 16 outputs cursor data at the first character position to the cursor position storage unit 18. Next, with the shift key released, the hiragana/katakana conversion key is pressed to send the command to the key determination section 12.

このキー判定部12は予めキーボード10によるキー人
力があるか否か判断してお、!1)(50)、キー人力
があるときはひらがな・カタカナ変換キーによるものか
否か判断しく51)、他のキー人力のときは日本語処理
部14で対応する処理を行なわせる(52)。ひらがな
・カタカナ変換キーによるものであるとき、キー判定部
12は読込信号を出力しカーソル位置記憶部18にカー
ソル移動部16が出力している第1のカーソルデータを
記憶させる(53)。カーソルデータが変換性に関する
データであるので、次にカーソル位置記憶部18はひら
がな・カタカナ変換キーが2度押されたか判断しく54
)、否のときはキー人力あるかのフローへ戻る(50)
。ここでオペレータが変換を所望するひらがな文字列の
最後の文字位置にカーソルを合わせ、ひらがな・カタカ
ナ変換キーを押すと、前述と同様にしてカーソル位置記
憶部18にそのときカーソル移動部16が出力している
第2のカーソルデータを記憶させる(53)。
This key determination unit 12 determines in advance whether or not there is human power to press the keys on the keyboard 10! 1) (50), when there is human power on the key, it is determined whether or not the hiragana/katakana conversion key is used 51), and when there is human power on other keys, the corresponding processing is performed in the Japanese processing unit 14 (52). If the hiragana/katakana conversion key is used, the key determination unit 12 outputs a read signal and causes the cursor position storage unit 18 to store the first cursor data output by the cursor movement unit 16 (53). Since the cursor data is data related to conversion, the cursor position storage unit 18 then determines whether the hiragana/katakana conversion key has been pressed twice.
), if no, return to the flow of whether key personnel are available (50)
. Here, when the operator places the cursor on the last character position of the hiragana character string that the operator desires to convert and presses the hiragana/katakana conversion key, the cursor moving unit 16 outputs the current value to the cursor position storage unit 18 in the same manner as described above. second cursor data is stored (53).

ひらがな・カタカナ変換キーが2回押されてカーソル位
R記憶部18に第19M2のカーソルデータが記憶され
ると、このデータはひらがな・カタカナ変換部26へ送
られる。シフト信号を入力していないひらがな・カタカ
ナ変換部26はメモリ20の変換行記憶領域の内第1゜
第2のカーソルデータが示す区間のひらがな文字列デー
タを対応するかたかな文字列データに変換する(55)
。画面上にはかたかな文字列に一度に訂正された変換文
が表示される。次にオ被レータは変換文中のかな文字列
のモード変換が全て終了したか判断しく56)終了した
ときはフローを終わシ、否のときは最初に戻シ同様にし
て変換文中の他のかな文字列のモードを変換する。この
際、かたかな文字列をひらがな文字列に変換したい場合
は予めシフトキーを押しておけばよい。
When the hiragana/katakana conversion key is pressed twice and the 19th M2 cursor data is stored in the cursor position R storage section 18, this data is sent to the hiragana/katakana conversion section 26. The hiragana/katakana converter 26 to which the shift signal is not input converts the hiragana character string data in the section indicated by the first and second cursor data in the conversion line storage area of the memory 20 into the corresponding katakana character string data. Do (55)
. The corrected converted sentence is displayed on the screen all at once. Next, the operator judges whether the mode conversion of all the Kana character strings in the conversion sentence has been completed. 56) When it has finished, the flow is ended, and if not, it returns to the beginning. Convert string mode. At this time, if you want to convert a katakana character string to a hiragana character string, you can press the shift key in advance.

なお、変換文中の成るかな文字にカーソルを合わせ、ひ
らがな・カタカナ変換キーを2度続けて押せば、第1カ
ーソルデーター第2カーソルデータとなシー字だけモー
ドを変換できるようになっている。
In addition, by placing the cursor on the kana character in the conversion sentence and pressing the hiragana/katakana conversion key twice, you can convert the mode between the first cursor data and the second cursor data.

次に、第3図を参照しながらひらがなモードで日本語入
力を行なっている際、誤って入力したかたかな文字列を
ひらがな文字列に修正する場合について述べる。1ず、
オ被レータが画面を見ながらカーソルキ〜を操作して入
力行表示領域に表示された入力文の内、モード変換を所
望するかたかな文字列の最後の文字位置にカーソルを合
わせる。続いてシフトキーを押下した状態でひらがな・
カタカナ変換キーを押し所定のコマンドをキー判定部1
2へ送出スル。
Next, with reference to FIG. 3, a case will be described in which a katakana character string that is erroneously input while inputting Japanese in the hiragana mode is corrected to a hiragana character string. 1st,
While looking at the screen, the operator operates the cursor keys to move the cursor to the last character position of the kana character string for which mode conversion is desired in the input sentence displayed in the input line display area. Next, hold down the shift key and type hiragana/
Press the katakana conversion key and send the specified command to key determination unit 1
Send to 2.

キー 判定部12は、予め、キーボード10によるキー
人力があるか否か判断しており(13O)、キー人力が
あるときは更にひらがな・カタカナ変換キーによるもの
か否か判断しく61)、他のキー人力のときは日本語処
理部で対応する処理を行なわせる(62)。ひらがな・
カタカナ変換キーによるものであるとき、キー判定部1
2はひらがな・カタカナ変換部26へシフト信号を出力
するとともに読込信号をカーソル位置記憶部18へ出力
しカーソル移動部16が出力している第1のカーソルデ
ータを記憶させる(63)。このカーソルデータが入力
行に関するデータであるので、カーソル位置記憶部18
は後退信号をカーソル移動部2oへ送出する。
The key determination unit 12 determines in advance whether or not there is human power to press the keys on the keyboard 10 (13O), and if there is human power to key the keys, it further determines whether or not the keys are hiragana/katakana conversion keys 61). When the key is human power, the Japanese language processing section is made to perform the corresponding processing (62). Hiragana・
When it is based on a katakana conversion key, the key determination unit 1
2 outputs a shift signal to the hiragana/katakana conversion section 26 and a read signal to the cursor position storage section 18 to store the first cursor data output from the cursor movement section 16 (63). Since this cursor data is data related to the input line, the cursor position storage unit 18
sends a backward signal to the cursor moving unit 2o.

後退信号を入力したカーソル移動部2oは、カーソルデ
ータをデクリメントする前に、このカーソルデータをモ
ード記憶部22へ送出する。
The cursor moving section 2o that has received the backward signal sends this cursor data to the mode storage section 22 before decrementing the cursor data.

モード記憶部22はメモI720の入力行記憶領域に記
憶された文字データの内カーソルデータが示す位置のか
な文字(ここではがたがな文字)のモードを識別しmo
de A = 2として記憶するとともKC64)モー
ド判定部24へ送出する。
The mode storage unit 22 identifies the mode of the kana character (here, the gatagana character) at the position indicated by the cursor data among the character data stored in the input line storage area of the memo I720.
It is stored as de A = 2 and sent to the mode determination section 24 (KC64).

一方、カーソル位置記憶部18はカーソル移動部20か
ら、入力しているカーソルデータが入カ行の文頭か判断
しく65)、文頭のときは第1カーソルデーター第2カ
ーソルデータとしてひらがな・カタカナ変換部26へデ
ータを送出する。シフト信号を入力しているひらがな・
カタカナ変換部26は、カーソルデータに対応するメモ
リ20内のかたかな文字をひらがな文字に変換する(6
6)。
On the other hand, the cursor position storage unit 18 receives information from the cursor movement unit 20 to determine whether the input cursor data is the beginning of the input line (65), and if it is the beginning of the sentence, the hiragana/katakana conversion unit converts the first cursor data to the second cursor data. 26. Hiragana inputting the shift signal
The katakana conversion unit 26 converts katakana characters in the memory 20 corresponding to the cursor data into hiragana characters (6
6).

これとは別に、カーソル移動部20から入力しているカ
ーソルデータが入力行の文頭でないとき、カーソル移動
部20がカーソルを1文字分戻しく67)、デクリメン
トしたカーソルデータをモード記憶部22へ送出する。
Separately, when the cursor data input from the cursor moving unit 20 is not at the beginning of the input line, the cursor moving unit 20 moves the cursor back by one character (67) and sends the decremented cursor data to the mode storage unit 22. do.

モード記憶部22は1だけデクリメントしたカーソルデ
ータが示す位置のかな文字のモードを識別しmode 
B l= 1又は2 として記憶するとともに(68)
、モード判定部24へ送出する。モード判定部24は、
mode A = mode B 1か判断しく69)
、同じとき、即ちmode B 1 = 2のときは文
頭かの判断に戻る(65)。そして、カーソルデータの
デクリメントとともに順次mode Aとmode B
2 # mode B3 e−を比較していく。カーソ
ルデータが示す位置の文字がひらがなでありmode 
A ’xi、 mode B 1となったとき、モード
判定部24からカーソル位置記憶部18に選定信号が出
力される。
The mode storage unit 22 identifies the mode of the kana character at the position indicated by the cursor data decremented by 1, and stores the mode.
While storing as B l= 1 or 2 (68)
, is sent to the mode determination section 24. The mode determination unit 24
Please judge whether mode A = mode B 169)
, when they are the same, that is, when mode B 1 = 2, the process returns to determining whether it is the beginning of a sentence (65). Then, as the cursor data is decremented, mode A and mode B are sequentially changed.
2 # mode B3 e- will be compared. The character at the position indicated by the cursor data is Hiragana and mode
When A'xi, mode B 1 is reached, a selection signal is output from the mode determination section 24 to the cursor position storage section 18.

カーソル位置記憶部18は選定信号を入力したときカー
ソル移動部20から送られるカーソルデータを1だけイ
ンクリメントし、変換を所望するかたかな文字列の最初
の文字位置を表わす第2のカーソルデータとして記憶す
る(70)。
When the selection signal is input, the cursor position storage unit 18 increments the cursor data sent from the cursor movement unit 20 by 1 and stores it as second cursor data representing the first character position of the Katakana character string desired to be converted. Do (70).

カーソル位置記憶部20に第1.第2のカーソルデータ
が記憶されると、このデータはひらがな・カタカナ変換
部26へ送られる。シフト信号を入力しているひらがな
・カタカナ変換部26はメモリ20の入力行記憶領域の
内、第1・第2のカーソルデータが示す区間のかたかな
文字列データを対応するひらがな文字列データに変換す
る(71)。
The first . Once the second cursor data is stored, this data is sent to the hiragana/katakana converter 26. The hiragana/katakana converter 26 to which the shift signal is input converts the kana character string data of the section indicated by the first and second cursor data in the input line storage area of the memory 20 into the corresponding hiragana character string data. Do (71).

次にオ被レータは、既に入力した部分における入力文中
のかたかな文字列のモード変換が全て終了したか判断し
く72)、終了したとき、はフローを終わシ、否のとき
は最初に戻って入力文中の他のかたかな文字列を変換す
る。画面上には全てひらがな文字列に訂正された入力文
が表示される。従って、残シの未入力文字をひらがな入
力すれば日本語処理部16の働きで入力文がかな漢字変
換される。入力文中に1文字だけかたかな文字があると
きは、第1カーソルデーター第2カーソルデータとなっ
て同様にモード変換される。
Next, the operator judges whether all the mode conversions of the hard character strings in the input sentence in the part that has already been input have been completed (72). Convert other kana strings in the input sentence. The input sentence, all corrected to hiragana character strings, is displayed on the screen. Therefore, if the remaining uninput characters are input in hiragana, the Japanese processing unit 16 converts the input sentence into kana-kanji. If there is only one kana character in the input sentence, the first cursor data becomes the second cursor data and the mode is converted in the same way.

なお、上記実施例ではかなキーを用いて入力した日本語
文をかな漢字変換する場合を例にして説明したが本発明
は何らこれに限定されるものではなく、ローマ字キーを
用いて入力した日本語文をローマ字漢字変換する場合に
もそのま1適用できるものである。
In the above embodiment, the case where a Japanese sentence inputted using the Kana key is converted to kana-kanji was explained as an example, but the present invention is not limited to this in any way, and the case where a Japanese sentence inputted using the Romaji key is converted to Kana-Kanji is explained as an example. This method can also be directly applied when converting Roman characters to Kanji.

塾困 本発明によればこのように、かな文字を用いて日本語入
力を行なっている際、モードを間違えて入力したかな文
字がある場合でも、簡単な操作で複数文字分一度にモー
ドの修正を行なうことができるので再入力する手間が除
は迅速な入力作業をなすことができる。また、かな漢字
変換後面面上で編集作業を行なう場合に、既に入力され
ている連続した複数文字からなるひらがな文字列又はか
たかな文字列のモードを所望の範囲分一度にモード変換
できるので編集作業が容易となり、全体として操作性の
極めて良好な日本語処理装置を得られる。
According to the present invention, when inputting Japanese using kana characters, even if there are kana characters entered in the wrong mode, the mode can be corrected for multiple characters at once with a simple operation. This eliminates the need for re-input, allowing for faster input work. In addition, when editing on the screen after Kana-Kanji conversion, you can change the mode of the Hiragana character string or Katakana character string consisting of multiple consecutive characters that have already been input at once for the desired range, so the editing work can be done. This makes it possible to obtain a Japanese language processing device with extremely good operability as a whole.

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

第1図は、本発明によるかな漢字変換式の日本語処理装
置の構成例を示すブロック図、第2図は編集時にかな文
字のモード変換処理を行なう場合の動作を示すフローチ
ャート、第3図は入力時にかな文字のモード変換処理を
行なう場合の動作を示すフローチャートである。 主要部分の符号の説明 10・・・キーボード ■4・・・日本語処理部 l8・・・カーソル位置記憶部 20・・・メモリ 24・・・CRTディスプレイ 26・・・ひらがな・カタカナ変換部 第2図 第3図
FIG. 1 is a block diagram showing an example of the configuration of a Japanese language processing device using a kana-kanji conversion method according to the present invention, FIG. 2 is a flowchart showing the operation when performing mode conversion processing for kana characters during editing, and FIG. 3 is an input 12 is a flowchart showing an operation when performing mode conversion processing of kana characters. Explanation of symbols of main parts 10...Keyboard 4...Japanese processing section 18...Cursor position storage section 20...Memory 24...CRT display 26...Hiragana/Katakana conversion section 2nd Figure 3

Claims (1)

【特許請求の範囲】 日本語入力操作を行なうための表音文字キー :及びカ
ーソルキーを含む入力手段と、 該入力手段で入力した日本語文を一時的に記憶する記憶
手段を含みかな漢字変換及び語処理を行なう日本語処理
手段と、 前記記憶手段に記憶された日本語文及び入力手段で位置
指定されたカーソルを表示する表示手段とを有する日本
語処理装置において、前記入力手段は、ひらがなとかた
かなの間でモード変換を指示するひらがなかたかな変換
キーを有し、 前記日本語処理手段は、前記入力手段のカーソルキー操
作に応動して前記記憶手段に記憶された日本語文の中か
ら所望の変換区間を選定する変換区間選定手段と、 前記ひらがなかたかな変換キーの操作に応動して、前記
記憶手段に記憶された日本語文の内、前記変換区間選定
手段で選定された区間のがな文字のモードを変換する手
段とを備えたことを特徴とする日本語処理装置。
[Scope of Claims] An input means including phonetic character keys and cursor keys for performing Japanese input operations, and a storage means for temporarily storing Japanese sentences inputted by the input means. A Japanese language processing device comprising a Japanese language processing means for performing processing, and a display means for displaying a Japanese sentence stored in the storage means and a cursor positioned by the input means, wherein the input means is configured to input Japanese characters such as hiragana, katakana, etc. The Japanese language processing means has a hiragana, kana, and kana conversion key for instructing mode conversion between hiragana and kana, and the Japanese language processing means selects a desired Japanese sentence from among the Japanese sentences stored in the storage means in response to a cursor key operation of the input means. a conversion interval selection means for selecting a conversion interval; and a conversion interval selection means for selecting a conversion interval, in response to the operation of the hiragana/kana conversion key, the length of the interval selected by the conversion interval selection means from among the Japanese sentences stored in the storage means. A Japanese language processing device characterized by comprising: means for converting character modes.
JP59056267A 1984-03-26 1984-03-26 Japanese processor Expired - Lifetime JPH0630096B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59056267A JPH0630096B2 (en) 1984-03-26 1984-03-26 Japanese processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59056267A JPH0630096B2 (en) 1984-03-26 1984-03-26 Japanese processor

Publications (2)

Publication Number Publication Date
JPS60200360A true JPS60200360A (en) 1985-10-09
JPH0630096B2 JPH0630096B2 (en) 1994-04-20

Family

ID=13022301

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59056267A Expired - Lifetime JPH0630096B2 (en) 1984-03-26 1984-03-26 Japanese processor

Country Status (1)

Country Link
JP (1) JPH0630096B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63263565A (en) * 1987-04-22 1988-10-31 Canon Inc word processor
US5136504A (en) * 1989-03-28 1992-08-04 Canon Kabushiki Kaisha Machine translation system for output of kana/kanji characters corresponding to input character keys

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57203128A (en) * 1981-06-10 1982-12-13 Fujitsu Ltd Language processing system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57203128A (en) * 1981-06-10 1982-12-13 Fujitsu Ltd Language processing system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63263565A (en) * 1987-04-22 1988-10-31 Canon Inc word processor
US5136504A (en) * 1989-03-28 1992-08-04 Canon Kabushiki Kaisha Machine translation system for output of kana/kanji characters corresponding to input character keys

Also Published As

Publication number Publication date
JPH0630096B2 (en) 1994-04-20

Similar Documents

Publication Publication Date Title
JPS5971536A (en) Japanese sentence creation device
JPS60200360A (en) Japanese language processing device
JPS6351306B2 (en)
JPS6351305B2 (en)
JPH0363101B2 (en)
JPS6175950A (en) Character correction method for solid kana-kanji conversion
JPS6172356A (en) Display cursor control method in solid kana-kanji conversion
JPS6327745B2 (en)
JPH0565898B2 (en)
JPH0346857B2 (en)
JPH0823744B2 (en) Character string processor
JPS6172359A (en) Character correction method for solid kana-kanji conversion
JPS60201467A (en) Japanese processing device
JPH0666065B2 (en) Document processor with furigana addition function
JPS59142630A (en) character processing device
JPH0148581B2 (en)
JPH0744299A (en) Character input device
JPS6172360A (en) Solid kana kanji conversion method
JPS6195438A (en) electronic typewriter
JPH01123359A (en) Kana/kanji conversion system
JPS60173662A (en) System for eliminating declensional kana
JPH0638256B2 (en) Input/Output Devices
JPS62119665A (en) Word processor
JPS62266662A (en) Kana-Kanji conversion device
JPH0749851A (en) Document shaping device