JPH0251769A - Character processor - Google Patents

Character processor

Info

Publication number
JPH0251769A
JPH0251769A JP63203354A JP20335488A JPH0251769A JP H0251769 A JPH0251769 A JP H0251769A JP 63203354 A JP63203354 A JP 63203354A JP 20335488 A JP20335488 A JP 20335488A JP H0251769 A JPH0251769 A JP H0251769A
Authority
JP
Japan
Prior art keywords
conversion
character string
cursor
phrase
character
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
JP63203354A
Other languages
Japanese (ja)
Inventor
Yoshizo Saito
齋藤 佳三
Shigeru Tasaka
田坂 滋
Fusao Makino
牧野 房雄
Takuji Kawamura
卓司 川村
Matsutaka Ito
伊東 松孝
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.)
Sharp Corp
Original Assignee
Sharp Corp
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 Sharp Corp filed Critical Sharp Corp
Priority to JP63203354A priority Critical patent/JPH0251769A/en
Publication of JPH0251769A publication Critical patent/JPH0251769A/en
Pending legal-status Critical Current

Links

Landscapes

  • 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] (a) Industrial application field This invention relates to a character processing device that performs kana-kanji conversion processing, and more specifically, a procedure for re-converting an input character string when it is not converted into a correct word. This invention relates to a character processing device that can easily perform the following operations.

<a>従来の技術 従来この種の文字処理装置においては、キーボードから
入力された変換情報としての文字列は、大力バッファに
一時的に記憶され、キーボードから変換指示が行われる
と、入力バッファから文節単位で文字列の切り出しが行
われ、切り出された文節の先頭から順次かな漢字変換処
理が行われるよう構成されている。そして連文節変換に
おいて文節の切り出しが正しく行われず、再度変換指示
を行った場合は、文節の長さを短い文節に置き換えて変
換するか、またはオペレータがカーソルにて指定した文
節切り出し位置に基づいて変換し直していた。
<a> Conventional technology Conventionally, in this type of character processing device, a character string as conversion information inputted from a keyboard is temporarily stored in a power buffer, and when a conversion instruction is given from the keyboard, it is stored from the input buffer. The system is configured such that character strings are extracted in units of clauses, and kana-kanji conversion processing is performed sequentially from the beginning of the extracted clauses. If the phrase is not correctly extracted during continuous clause conversion and the conversion instruction is issued again, the length of the phrase will be replaced with a shorter phrase, or the phrase will be converted based on the phrase extraction position specified by the operator with the cursor. I was redoing it.

(ハ)発明が解決しようとする課題 しかし上記の文字処理装置における連文節変換では、文
節の長さを変更して処理することはできるものの、最初
に切り出された文節の位置を変更することができないた
め、再度変換をし直しても殆どの場合、所望する文章が
得られないという問題があった。
(c) Problems to be solved by the invention However, in the continuous clause conversion in the above character processing device, although it is possible to change the length of the clause, it is not possible to change the position of the initially extracted clause. Therefore, even if the conversion is performed again, the desired text cannot be obtained in most cases.

また、第11図の(1)〜(9)に、オペレータが文節
切り出しの位置を変更することにより、所望の文を得る
処理手順を示す。同図の(3)において切り出し位置が
正しくないことが分かり、取り消しキーを押すと、同図
の(4)の状態になるが、ここで変換位置までカーソル
を移動させるにはカーソル移動キー(日キーや日キー)
を用いて1スペースづつ移動させなければならず、キー
操作に手間がかかっていた。また、このキー操作は同図
の(6)においてら必要であり、カーソル位置以降の変
換対象が長いほど、カーソル移動キーを押す回数が増え
ていた。したがって、このようなキー操作はオペレータ
にとって著しい負担となっていた。
Further, (1) to (9) in FIG. 11 show a processing procedure for obtaining a desired sentence by the operator changing the position of phrase extraction. In (3) of the same figure, you find that the cutting position is incorrect and press the Cancel key to return to the state of (4) in the same figure. However, in order to move the cursor to the conversion position, press the cursor movement key. key or day key)
It was necessary to use the keys to move one space at a time, making key operations time-consuming. Further, this key operation is necessary from (6) in the same figure, and the longer the conversion target after the cursor position, the more times the cursor movement key is pressed. Therefore, such key operations have placed a significant burden on the operator.

この発明は以上の事情を考慮してなされたもので、誤変
換された際の再変換手続きが簡単に行える文字処理装置
を提供する。
The present invention has been made in consideration of the above circumstances, and provides a character processing device that can easily perform reconversion procedures when erroneous conversion occurs.

(ニ)課題を解決するための手段 第1の発明の文字処理装置は、文字情報および各種の指
示を入力する入力手段lと、入力手段1から入力された
文字情報を文字列として記憶する文字列記憶手段2と、
文字情報と対応する単語を多数記憶している辞書手段3
と、各種情報を表示する表示手段4と、第1の変換指示
を受け文字列記憶手段2から文字列を文yt5毎に切り
出す文節切出手段5と、切り出した文節を順次対応する
単語に変換し表示手段4に出力する変換手段6と、変換
取り消し指示を受けた際に、文字列記憶手段2から再度
文字列を読み出し、表示手段4に表示中の変換された単
語と置き換える変換取消手段7と、置き換えた文字列中
に、第1の変換指示により変換した際の文節区切りを指
示する文節位置指示手段8と、入力手段1からの指示を
受け、指示されている文節区切りを移動させる文節区切
り移動手段9とを備え、第2の変換指示を行った際に、
移動された文節区切りに基づいて文節の切り出しが行わ
れ、対応する単語に変換するよう構成したことを特徴と
する。
(d) Means for Solving the Problems The character processing device of the first invention includes an input means 1 for inputting character information and various instructions, and a character processing apparatus for storing the character information inputted from the input means 1 as a character string. column storage means 2;
Dictionary means 3 storing a large number of words corresponding to character information
, a display means 4 for displaying various information, a phrase cutting means 5 for receiving the first conversion instruction and cutting out a character string from the character string storage means 2 for each sentence yt5, and sequentially converting the cut out phrases into corresponding words. a conversion means 6 which outputs the converted word to the display means 4; and a conversion cancellation means 7 which reads the character string again from the character string storage means 2 and replaces it with the converted word currently displayed on the display means 4 when receiving a conversion cancellation instruction. and a phrase position indicating means 8 for instructing the phrase break when converted by the first conversion instruction, and a phrase for moving the specified phrase break in response to an instruction from the input means 1, in the replaced character string. and a delimiter moving means 9, when the second conversion instruction is given,
The present invention is characterized in that a clause is cut out based on the moved clause break and converted into a corresponding word.

また、第2の発明の文字処理装置は、変換した際の文節
区切りを文節区切り記憶手段10に記憶させ、カーソル
移動手段11により、変換取り消しの際のカーソル移動
を、記憶された文節区切り単位で移動しうるよう構成し
たものである。
Further, the character processing device of the second invention stores the phrase delimiter at the time of conversion in the phrase delimiter storage means 10, and causes the cursor movement means 11 to move the cursor at the time of canceling the conversion in units of the stored phrase delimiters. It is constructed so that it can be moved.

また第3の発明の文字処理装置は、変換した際の文節切
り出し位置を文節区切り記憶手段10に記憶させ、カー
ソル制御手段12により、変換未確定の際に入力手段1
からの指示を受けてカーソルを文頭または文末に文節単
位で移動させ、変換取り消しの際に入力手段1からの指
示を受けて文頭方向には力〜ツルを文節単位で移動させ
るとともに文末方向にはカーソルを取り消し範囲の末尾
まで飛び越し移動しうろよう構成したものである。
Further, the character processing device of the third invention stores the bunsetsu cutout position at the time of conversion in the bunsetsu delimiter storage means 10, and uses the cursor control means 12 to control the input means 1 when the conversion is undetermined.
The cursor is moved to the beginning or the end of the sentence in units of clauses in the direction of the beginning of the sentence, and when canceling the conversion, the cursor is moved in units of clauses in the direction of the beginning of the sentence, and the cursor is moved in units of clauses in the direction of the end of the sentence. The cursor is skipped and moved to the end of the undo range.

(ホ)作用 第1の文字処理装置は、誤変換された際に入力手段から
変換取り消し指示を行うと、表示中である誤変換された
文章が、変換前の文字列に置き換えられその文字列中に
、変換した際の文節区切りが指示される。次いで入力手
段から指示することにより文節区切りを移動さ仕再度変
換指示を行うと、移動させた文節区切りに基づいて文節
切り出しが行われ変換が行われる。
(E) Effect When the first character processing device issues a conversion cancellation instruction from the input means when an erroneous conversion occurs, the erroneously converted sentence being displayed is replaced with the character string before conversion, and the character string Inside, the bunsetsu separation when converting is indicated. Next, when the bunsetsu break is moved by an instruction from the input means and a conversion instruction is given again, bunsetsu segmentation is performed based on the moved bunsetsu break and conversion is performed.

また、第2の文字処理装置では、変換取り消し時に所定
のカーソル移動キーを押すと、カーソルが文節単位で文
末方向に移動する。
Furthermore, in the second character processing device, when a predetermined cursor movement key is pressed when canceling conversion, the cursor moves toward the end of the sentence in units of clauses.

また、第3の文字処理装置では、変換未確定時に所定の
カーソル移動キーを押すと、カーソルが文節単位で文頭
または文末方向に移動し、変換取り消し時に所定のカー
ソル移動キーを押すと、カーソルが文頭方向には文節単
位で移動し、また文末方向には取り消し範囲の末尾まで
移動するよう作用する。
Furthermore, in the third character processing device, when a predetermined cursor movement key is pressed when the conversion is unconfirmed, the cursor moves toward the beginning or end of the sentence in units of clauses, and when a predetermined cursor movement key is pressed when canceling the conversion, the cursor moves. It moves in the direction of the beginning of the sentence in units of phrases, and in the direction of the end of the sentence, it moves to the end of the cancellation range.

(へ)実施例 以下図に示す実施例に基づいてこの発明を詳述する。な
お、これによってこの発明は限定されるものではない。
(F) EXAMPLES The present invention will be described in detail below based on examples shown in the figures. Note that this invention is not limited by this.

第4図〜第6図に、第1の発明の文字処理装置に係る一
実施例を説明し、第7図〜第9図に第2の発明の文字処
理装置に係る一実施例を説明し、第7図および第10図
に第3の発明に係る一実施例を説明する。
4 to 6 illustrate an embodiment of the character processing device of the first invention, and FIGS. 7 to 9 illustrate an embodiment of the character processing device of the second invention. , 7 and 10, an embodiment according to the third invention will be described.

第4図は第1の発明における一実施例の構成を示すブロ
ック図であり、40は入力手段としてのキーボードであ
り、かな漢字変換するための変換情報である文字列を入
力するものである。なお入力手段はキーボードに限らず
タブレット装置やOCRや磁気テープで構成することら
できる。
FIG. 4 is a block diagram showing the configuration of an embodiment of the first invention, and 40 is a keyboard as an input means for inputting a character string as conversion information for kana-kanji conversion. Note that the input means is not limited to the keyboard, but may also be constructed from a tablet device, OCR, or magnetic tape.

41は記憶手段としての記憶装置であり、キーボード4
0から入力された文字列を記憶するものである。記憶手
段は例えばコアメモリやICメモリや磁気ディスクなど
から構成される。
41 is a storage device as a storage means, and a keyboard 4
It stores the character string input from 0. The storage means includes, for example, a core memory, an IC memory, a magnetic disk, and the like.

42は表示手段としてのCRTであり、記憶装置41に
記憶、保存された結果を出力するらのである。なお表示
手段はCRTに限らず例えばプリンタや磁気テープや磁
気ディスク装置などで構成することができる。
Reference numeral 42 denotes a CRT as a display means, which outputs the results stored and saved in the storage device 41. Note that the display means is not limited to a CRT, and may be configured by, for example, a printer, a magnetic tape, a magnetic disk device, or the like.

43は文節切出手段としての文章切出処理装置であり、
記憶装置41に記憶されている文字列が文章単位、次い
で文節単位に切り出された際に切り出し位置としての文
節区切りを記憶する乙のである。文章切出処理装置43
は例えばコアメモリやICメモリやROMや磁気ディス
クなどから構成できる。
43 is a sentence cutting processing device as a phrase cutting means;
When the character string stored in the storage device 41 is cut out in units of sentences and then in units of phrases, phrase breaks are stored as extraction positions. Sentence cutting processing device 43
For example, it can be configured from core memory, IC memory, ROM, magnetic disk, etc.

44は例えば16ビツトのマイクロプロセッサから構成
される装置 Mに書き込まれたプログラムに従って、以下の処理を行
う。すなわちキーボード40から変換指示を受けた際に
文章切出処理装置43に対して、記憶装置4Iから文字
列を文節毎に切り出すよう指示し、切り出された文節を
順次対応する単語に変換してCRT42に出力し、キー
ボード40から変換取り消し指示を受けた際に、記憶装
置4Iから再度文字列を読み出し、CRT42に表示中
である変換された単語と置き換え、置き換えた文字列中
に、先に変換した際の文節区切りを縦罫線で指示し、さ
らにキーボード40から変換指示を受けた際に、縦罫線
の位置を移動させる。なお制御装置44にはかな漢字変
換辞書が備えられている。
44 performs the following processing according to a program written in device M, which is composed of, for example, a 16-bit microprocessor. That is, when a conversion instruction is received from the keyboard 40, the sentence cutting processing device 43 is instructed to cut out a character string for each phrase from the storage device 4I, and the cut out phrases are sequentially converted into corresponding words and sent to the CRT 42. When a conversion cancellation instruction is received from the keyboard 40, the character string is read out again from the storage device 4I and replaced with the converted word currently displayed on the CRT 42, and the previously converted word is included in the replaced character string. A vertical ruled line is used to indicate a break between phrases, and when a conversion instruction is received from a keyboard 40, the position of the vertical ruled line is moved. Note that the control device 44 is equipped with a kana-kanji conversion dictionary.

次に上記実施例の動作を第5図に示すフローチャートに
従って説明する。なお、キーボード40から文字列が入
力されて記憶装置4lに記憶され、CRT42の画面上
にその文字列が表示されてことを前提とする。
Next, the operation of the above embodiment will be explained according to the flowchart shown in FIG. It is assumed that a character string is input from the keyboard 40 and stored in the storage device 4l, and that the character string is displayed on the screen of the CRT 42.

まず変換キーを押す(ステップ50)と、文章切出処理
装置43によって記憶装置41に記憶されている文字列
が文節毎に切り出され(ステップ51)、かな漢字辞書
を参照することにより単語に変換される(ステップ52
)。変換結果をオペレータが見て切り出し位置が違って
いた場合(正しい変換がなされなかったとき)に機能+
変換キーを押すと(ステップ53)、表示中である変換
された文章を、変換前の文字列に復帰させ(ステップ5
4)同時に区切りを縦罫線にてその文字列中に指示する
(ステップ55)。ここでカーソル移動キーを操作する
ことによりカーソルを移動させ(ステップ5B−57)
、縦罫線で示した位置で実行キーを押すと縦罫線は消去
され、その部分の文節の区切りがなくなる。
First, when the conversion key is pressed (step 50), the text extraction processing device 43 extracts the character string stored in the storage device 41 for each clause (step 51), and converts it into words by referring to the kana-kanji dictionary. (Step 52
). When the operator looks at the conversion result and finds that the cropping position is wrong (when the correct conversion is not done), the function +
When the conversion key is pressed (step 53), the converted text being displayed is restored to the character string before conversion (step 5).
4) At the same time, delimiters are indicated in the character string using vertical ruled lines (step 55). Here, the cursor is moved by operating the cursor movement key (step 5B-57).
, if you press the execution key at the position indicated by the vertical ruled line, the vertical ruled line will be erased and there will be no separation between clauses in that part.

また縦罫線のない位置で実行キーを押すとそこに新たな
文節の区切りが発生する。これにより文節の区切りの設
定が完了すると文節切出処理装置43に記憶されている
文節区切りを、新たに設定された文節区切りに変更する
(ステップ58)、ここで再度変換キーが押されると(
ステップ59)、ステップ51に戻り、変更した文節の
区切りに基づいて再度変換を行い(ステップ52)、新
たに設定された文節の区切りは常置機能によって登録さ
れる(ステップ60)、これにより以後、同様の文章を
変換する場合は、−回の変換キー操作によって所望の文
章を得ることができる。
Also, if you press the execution key at a position where there is no vertical ruled line, a new phrase break will occur at that position. When the setting of the bunsetsu break is completed, the bunsetsu break stored in the bunsetsu extraction processing device 43 is changed to the newly set bunsetsu break (step 58), and when the conversion key is pressed again (
Step 59), return to step 51, perform conversion again based on the changed phrase delimiter (step 52), and register the newly set phrase delimiter by the permanent function (step 60). When converting similar sentences, the desired sentence can be obtained by operating the conversion key - times.

なお、強制的に区切られた文節において、変換候補が存
在しない場合はすべて無変換で処理を行つ。
Note that if there are no conversion candidates in the forcibly separated clauses, all processing is performed without conversion.

第6図(a)および(b)は上記実施例の操作例を示し
た図であり、両図における記号Aは変更訂の文節区切り
を示す縦罫線であり、記号Bは変更後の文節区切りを示
す縦罫線である。
FIGS. 6(a) and 6(b) are diagrams showing an operation example of the above embodiment, and in both figures, the symbol A is a vertical ruled line indicating the phrase break of the revised phrase, and the symbol B is the phrase break after the change. This is a vertical ruled line that indicates.

第6図(b)の操作例から分かるように、ある箇所での
み文節の区切りが間違ったため、それ以降の変換が正し
く行われていない。したがって、この実施例によると、
変換が正しく行われず変換し直す場合においてら、文節
毎に変換し直すのではなくある箇所の文節区切りを変更
するだけで変換し直すことができ、所望する文章を速く
得ることができる。
As can be seen from the operation example shown in FIG. 6(b), because the segmentation of phrases was incorrect at a certain point, subsequent conversions were not performed correctly. Therefore, according to this example:
Even if the conversion is not performed correctly and the conversion is to be performed again, the conversion can be performed by simply changing the phrase break at a certain location instead of reconverting each phrase, and the desired sentence can be quickly obtained.

第7図は第2の発明における一実施例の構成を示すブロ
ック図である。なお、第1の発明と同じ構成部分は同一
符号を付して説明を省略する。
FIG. 7 is a block diagram showing the configuration of an embodiment of the second invention. Note that the same components as those in the first invention are designated by the same reference numerals, and the description thereof will be omitted.

70は例えば16ビツトのマイクロプロセッサから構成
される装置 70a、かな漢字変換処理170b、入力編集処理部7
Qc,記憶制御郎70dおよび表示制御部70eから構
成される。キー判定部70aは、機能キー、カーソル移
動キー、取消キー、その池のキー(変換キー、実行キー
、かなキーなど)のどのキーか押されたかを判定する。
70 is a device 70a composed of, for example, a 16-bit microprocessor, a kana-kanji conversion processing 170b, and an input editing processing section 7.
Qc, a storage controller 70d, and a display controller 70e. The key determination unit 70a determines which key among the function key, cursor movement key, cancel key, and other keys (conversion key, execution key, kana key, etc.) has been pressed.

かな漢字変換処理部70bは、キーボード40から入力
されかな文字列記憶部41aに記憶されている文字列を
、かな漢字混じり文に変換し、変換文字列記憶部4[c
に記憶させる。入力編集処理部70cは、未確定状態、
取り消し状態、その池の状態を判定し、かつ未確定状態
の範囲、取り消し状態の範囲、カーソル位置を処理し、
記憶装置41の編集情報記憶部41dl.:輻集情報と
して記憶する。記憶制御部70dは記憶装置41に対し
て入力または出力される情報を制御し、表示制御部70
eは入力編集処理部70cから出力される情報を表示用
信号に変換する。
The kana-kanji conversion processing unit 70b converts the character string input from the keyboard 40 and stored in the kana character string storage unit 41a into a sentence containing kana-kanji characters, and converts the character string input from the keyboard 40 into a sentence containing kana and kanji, and stores the character string in the converted character string storage unit 4 [c
to be memorized. The input editing processing unit 70c is in an undetermined state,
Determine the cancellation state, the state of the pond, and process the range of the undefined state, the range of the cancellation state, and the cursor position,
Edit information storage section 41dl. of storage device 41. : Stored as congestion information. The storage control unit 70d controls information input to or output from the storage device 41, and controls the display control unit 70.
e converts the information output from the input editing processing section 70c into a display signal.

第2の発明の一実施例における制御装置70は、図示し
ないR O Mに書き込まれたプログラムに従って次の
処理をj〒う。すなわち変換指示を受け記憶装置4lの
かな文字列記憶部41aから文字列を文節毎に切り出し
、切り出した際の文節の区切りを区切り情報記憶部4l
bに記憶させ、切り出した文節を順次対応する単語に変
換して変換文字列記憶部41cに記憶するとともに表示
制御部70eに出力し、変換取り消し権示を受けた際に
、かな文字列記憶部41aから再度かな文字列を読み出
し、表示手段42に表示中の誤変換された単語と置き換
え、変換取り消し指示がなされている際に、区切り情報
記憶部4lbに記憶されている文節の区切りをカーソル
移動単位としカーソルを移動させる。
The control device 70 in an embodiment of the second invention performs the following processing according to a program written in a ROM (not shown). That is, upon receiving a conversion instruction, a character string is cut out for each clause from the kana character string storage section 41a of the storage device 4l, and the segmentation of the segmented clauses is stored in the delimiter information storage section 4l.
b, and sequentially converts the cut out phrases into corresponding words and stores them in the converted character string storage section 41c, and outputs them to the display control section 70e. When the conversion cancellation right is received, the kana character string storage section The kana character string is read out again from 41a and replaced with the erroneously converted word displayed on the display means 42, and when the conversion cancellation instruction is given, the cursor is moved to the clause break stored in the break information storage unit 4lb. Move the cursor as a unit.

次に上記実施例の動作を、第8図に示すフローチャート
および第9図に示す操作例に従って説明する。なお、か
な漢字変換する文章として“見込み額を推計する゜を例
にとり説明する。
Next, the operation of the above embodiment will be explained according to the flowchart shown in FIG. 8 and the operation example shown in FIG. 9. In addition, as an example of a sentence to be converted into kana-kanji, ``estimate the expected amount゜゜ will be explained.

まず、キーボード40から文字列“みこみがくをすいけ
いする゛を入力する(ステップ80)。入力された文字
列は、キー判定部70aにより文字であることを判定し
くステップ81)、入力編集処理部70cを介し、記憶
制御部70dによって記憶装置41のかな文字列記憶部
41aに格納される(ステップ82)とともに、表示制
御部70eを介して表示手段42に表示される(ステッ
プ83)。
First, the character string "Mikomigaku wo sukuishuru" is input from the keyboard 40 (step 80).The input character string is determined to be a character by the key determination unit 70a (step 81), and the input editing processing unit 70c, it is stored in the kana character string storage section 41a of the storage device 41 by the storage control section 70d (step 82), and is displayed on the display means 42 via the display control section 70e (step 83).

第9図(1)に表示状態を示す。FIG. 9(1) shows the display state.

この状態でキーボード40から変換キーが押されるとキ
ー判定部70aは変換キーであることを判定しくステッ
プ84)、かな漢字変換処理部70bは、かな文字列記
憶部41aに記憶されている文字列を、かな漢字混じり
文に変換し結果を記憶装置41の変換文字列記憶部41
cに格納し、文節の区切りを区切り情報記憶部41bに
記憶する(ステップ86)。次いでこの結果を基に、入
力編集処理部70cにより入力編集を行い、かな漢字混
じり文は、表示制御部70eを介して表示手段42に表
示される(ステップ83)。第9図(2)に表示状轢を
示す。同図において記号“D゛はカーソル位置を示して
いる。また、カーソルDの前に位置するアンダーライン
Eの付された文字°推計する”は、文字列から自動的に
切り出された文節の内の1つを示している。この段階で
は正しい変換が行われていないので、修正が必要である
When a conversion key is pressed from the keyboard 40 in this state, the key determination unit 70a determines that it is a conversion key (step 84), and the kana-kanji conversion processing unit 70b converts the character string stored in the kana character string storage unit 41a. , converted into a sentence containing kana and kanji, and the result is stored in the converted character string storage section 41 of the storage device 41.
c, and the phrase delimiter is stored in the delimiter information storage section 41b (step 86). Next, based on this result, the input editing processing unit 70c performs input editing, and the sentence containing kana and kanji is displayed on the display means 42 via the display control unit 70e (step 83). The display condition is shown in FIG. 9 (2). In the figure, the symbol “D” indicates the cursor position. Also, the character with an underline E placed before the cursor D “estimate” is one of the clauses automatically cut out from the character string. One of the following is shown. At this stage, the correct conversion has not been performed, so correction is necessary.

次に修正作業として、まず文節単位でカーソルDを移動
させるため、キーボード40の実行キーを押すと(ステ
ップ87)、キー判定部70aを介して入力編集処理部
70cは、カーソルDを文節単位で、取り消す変換対象
となる文字列の文頭方向に移動させ(ステップ8g−8
9)、表示手段42にそのカーソル位置を表示する(ス
テップ83)。
Next, as a correction work, when the execution key of the keyboard 40 is pressed to move the cursor D in units of clauses (step 87), the input editing processing unit 70c moves the cursor D in units of clauses via the key determination unit 70a. , move toward the beginning of the character string to be canceled (step 8g-8).
9) Display the cursor position on the display means 42 (step 83).

取り消す変換対象となる文字列がない場合は、次の文字
列における文節位置へカーソルDを移動させろ(ステッ
プ90)。第9図(3)に、実行キーを2回押した状態
を示す。
If there is no character string to be converted to be canceled, move cursor D to the phrase position in the next character string (step 90). FIG. 9(3) shows a state in which the execution key is pressed twice.

この状態でカーソルDの前に位置する文字列“見込みが
苦を”取り消し、再変換を行うため取消キーを押すと(
ステップ91)、入力編集処理部70cは、カーソルD
前に位置するかな漢字混じり文を変換館の文字列に戻す
(ステップ92)ととらにカーソルDを、取消キー操作
回数に応じて移動させ、そのカーソル位置を表示手段4
2に表示する(ステップ83)。第9図(4)に取消キ
ーを2回押した状態を示す。
In this state, if you press the Cancel key to cancel the character string “Prospects are difficult” located in front of cursor D and reconvert (
Step 91), the input editing processing unit 70c moves the cursor D
When the previously located sentence containing kana and kanji is returned to the character string in the conversion library (step 92), the cursor D is moved according to the number of times the cancel key is pressed, and the cursor position is displayed on the display means 4.
2 (step 83). FIG. 9(4) shows a state in which the cancel key is pressed twice.

次にオペレータは、正しい変換が行われると思う文節の
区切りにカーソルDを移動させる操作を行う。カーソル
移動キー(日キー)を押すと、第9図(5)に示すカー
ソル位置となり(ステップ93−94)、ここで変換キ
ーを押すと、文字列“みこみ“が“見込み”に変換され
る。変換処理の流れは府述した変換処理(ステップ84
→85−86→83)と同じである。第9図(6)に変
換された状態を示す。
Next, the operator performs an operation to move the cursor D to a break between phrases that he or she believes will result in correct conversion. When the cursor movement key (day key) is pressed, the cursor position is as shown in Figure 9 (5) (steps 93-94), and when the conversion key is pressed here, the character string "Mikomi" is converted to "Mikomi". . The flow of the conversion process is as described above (step 84).
→85-86→83). FIG. 9(6) shows the converted state.

次にこの実施ρjの特徴であるカーソル移動処理につい
て説明する。従来のカーソル移動では、ここでカーソル
移動キー(日キー)を3回押すことにより、カーソルD
を文字“推”の位置に移動させていた。
Next, the cursor movement process, which is a feature of this implementation ρj, will be explained. In conventional cursor movement, by pressing the cursor movement key (day key) three times, the cursor D
was moved to the position of the character ``pusu''.

この実施例において実行キーを押すと、文節の区切りが
区切り情報記憶部41bに記憶されているので、現在変
換対象として残っている文字列“がくを”内にある文節
区切りの単位によって、カーソルDを移動させることが
できる。第9図(7)に実行キーを2回押した状態を示
す。実施例の例文では従来のカーソル移動操作とこの実
施例のカーソル移動操作に大差はないように思えろが、
しかし、後ろに残る変換対象が長くなれば長くなるほど
この実施例のカーソル移動処理の効果か発揮される。
In this embodiment, when the execution key is pressed, the phrase delimiter is stored in the delimiter information storage section 41b, so the cursor D can be moved. FIG. 9 (7) shows a state in which the execution key is pressed twice. From the example sentences in the example, it seems that there is not much difference between the conventional cursor movement operation and the cursor movement operation in this example.
However, the longer the conversion target that remains behind, the more effective the cursor movement processing of this embodiment becomes.

ここで変換キーを押すと文字列゛がくを′が“額を”に
変換される。第9図(8)に変換された状態を示す。な
お′M9図(9)は最終的に変換された結果であり、さ
らに実行キーを押してカーソルDを次の文字入力位置に
移動させた状態である。
If you press the conversion key here, the character string ``Gaku wo'' will be converted to ``Amount wo''. FIG. 9(8) shows the converted state. Note that FIG. 9(9) shows the final converted result, and shows the state in which the execution key is further pressed to move the cursor D to the next character input position.

なお、ステップ93においてカーソル移動キーが押され
なかった場合は、その他の処理に移る(ステップ95)
Note that if the cursor movement key is not pressed in step 93, the process moves to other processing (step 95).
.

(以下余白) また、第3の発明の一実施例における制御装置70は、
図示しないROM1.:書き込まれたプログラムに従っ
て次の処理を行う。すなわち、キーボード40からの変
換指示を受け、かな文字列記憶部41aから文字列を文
節毎に切り出し、切り出した際の文節の区切りを区切り
情報記憶部41bにg2憶し、切り出した文節を順次対
応する単語に変換して表示手段42に出力し、変換取り
消し指示を受けた際に、かな文字列記憶部41aから再
度文字列を涜み出し、表示手段42に表示中の誤変換さ
れた単語と置き換え、そして変換未確定の際にはキーボ
ード40からの指示を受けてカーソルを文頭または文末
方向に文節単位で移動させ、さらに変換取り消しの際に
はキーボード40からの指示を受けてカーソルを文頭方
向には文節単位で移動させ、また、文末方向には取り消
し範囲の末尾まで飛び越し移動させる。
(Hereinafter, blank space) Further, the control device 70 in an embodiment of the third invention is as follows:
ROM1. :Performs the following processing according to the written program. That is, upon receiving a conversion instruction from the keyboard 40, a character string is cut out from the kana character string storage unit 41a for each clause, the segmentation of the segment at the time of segmentation is stored in the delimiter information storage unit 41b, and the segmented clauses are sequentially handled. When an instruction to cancel the conversion is received, the character string is extracted again from the kana character string storage section 41a and is displayed on the display means 42. When replacing and conversion is unconfirmed, the cursor is moved in the direction of the beginning or end of the sentence in response to instructions from the keyboard 40, and when canceling the conversion, the cursor is moved toward the beginning of the sentence in response to instructions from the keyboard 40. , it is moved in units of clauses, and in the direction of the end of the sentence, it is moved to the end of the cancellation range.

次に上記実施例の動作を、第10図に示すフローチャー
トに従って説明する。
Next, the operation of the above embodiment will be explained according to the flowchart shown in FIG.

同図におけるステップ80〜ステツプ86までの処理は
、第2の発明の実施例の動作と同じ動作なので説明を省
略する。ステップ84に引き続き機能子カーソル移動キ
ーを押すと(ステップ100) 、入力編集処理部70
cは未確定状態かどうか判断しくステップ101) 、
未確定状態の場合はさらに取り消し状態かどうか判断す
る(ステップ102)。
The processing from step 80 to step 86 in the figure is the same as the operation of the second embodiment of the invention, so the explanation will be omitted. When the function cursor movement key is pressed following step 84 (step 100), the input editing processing section 70
Step 101) to determine whether c is in an undetermined state.
If it is in an undetermined state, it is further determined whether it is in a canceled state (step 102).

ここで取り消し状態であれば、カーソル移動キーのM類
を判別しくステップ103) 、日キーであれば取り消
し範囲の末尾へカーソルを移動させ(ステップ104)
、また、日キーであれば左隣の文節の区切りへカーソル
を移動させる(ステップ105)。
If it is in the cancellation state, check the M type of the cursor movement key (step 103), and if it is the day key, move the cursor to the end of the cancellation range (step 104).
, and if it is the day key, the cursor is moved to the break of the phrase on the left (step 105).

そしてカーソルが移動した範囲が取り消し範囲となる。The range to which the cursor has moved becomes the cancellation range.

また、ステップ102において取り消し状態でなければ
、すなわち未確定状態であり、日キーであればカーソル
を右隣の文節区切りへ移動させ(ステップ108−10
7) 、日キーであれば左隣の文節区切りへ移動させる
(ステップ106−108) 、これにより文節単位で
カーソルを両方向に移動させることができるので、適正
な変換が行われなかった文節に対して次候補変換する際
に必要とされるカーソル移動が、効率良く行われる。
In addition, if the state is not canceled in step 102, that is, the state is unconfirmed, and if it is a day key, the cursor is moved to the bunsetsu break on the right (step 108-10).
7) If it is a day key, move it to the next bunsetsu break on the left (steps 106-108).This allows you to move the cursor in both directions for each bunsetsu, so it is possible to move the cursor in both directions for clauses that have not been properly converted. The cursor movement required when converting the next candidate is performed efficiently.

また、ステップlotにおいて未確定状態でなければ、
カーソル移動キーの種類を判別しくステップIQ9) 
、日キーであればカーソルを行末へ移動させ(ステップ
110)、日キーであればカーソルを行頭へ移動させる
(ステップ1ll)。
Also, if it is not in an undetermined state at step lot,
Step IQ9) to determine the type of cursor movement key
, if it is a day key, the cursor is moved to the end of the line (step 110), and if it is a day key, the cursor is moved to the beginning of the line (step 1ll).

(ト)発明の効果 第1の発明によれば、変換において所望する文章が得ら
れない場合、変換処理における文節の区切り位置を、オ
ペレータが変更することができるので、変換処理の効率
を向上させることができる。
(g) Effects of the Invention According to the first invention, when the desired sentence cannot be obtained in the conversion, the operator can change the break position of the clause in the conversion process, thereby improving the efficiency of the conversion process. be able to.

また、第2の発明によれば、変換取り消し状態において
、カーソルを文節単位で文末方向へ移動さ仕ることがで
きるので、カーソル移動のための操作回数が減少し、再
変換の際の効率を向上させることができる。
Furthermore, according to the second invention, in the state of cancellation of conversion, the cursor can be moved toward the end of the sentence in units of clauses, so the number of operations for moving the cursor is reduced, and the efficiency of reconversion is improved. can be improved.

また、第3の発明によれば、未確定状態においてはカー
ソルを、文頭、文末方向に文節単位で移動させることが
でき、さらに取り消し状態においてはカーソルを、文頭
方向には文節単位で移動、文末方向には取り消し範囲の
末尾まで飛び越し移動することができるので、誤変換が
生じた際にカーソルを素早くその場所に移動させること
ができ、また、取り消し状態において誤変換の原因とな
った文節を訂正した後は、取り消し範囲の末尾までカー
ソルを一気に移動させ、再変換させることができる。
Further, according to the third invention, in the undetermined state, the cursor can be moved in the direction of the beginning of the sentence and the end of the sentence, in units of clauses, and in the canceled state, the cursor can be moved in the direction of the beginning of the sentence, in units of clauses, and in the direction of the end of the sentence. In the direction, you can jump to the end of the undo range, so if an incorrect conversion occurs, you can quickly move the cursor to that location, and in the undo state, you can correct the clause that caused the incorrect conversion. After doing so, you can move the cursor all at once to the end of the undo range and reconvert.

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

第1図は第1の発明の構成を示すブロック図、第2図は
第2の発明の構成を示すブロック図、第3図は第3の発
明の構成を示すブロック図、第4図は第1の発明の一実
施例の構成を示すブロック図、第5図は同実施例の動作
を説明するフローチャート、第6図(a)および(b)
は同実施例の操作例を示す説明図、第7図は第2および
第3の発明の一実施例の構成を示すブロック図、第8図
は第2の発明の実施例の動作を説明するフローチャート
、第9図の(1)〜(9)は同実施例の操作例を示す説
明図、第10図は第3の発明の一実施例の動作を説明す
るフローチャート、第11図の(1)〜(9)は従来例
の変換し直しの際の操作例を示す説明図である。 1・・・・・・入力手段、 2・・・・・・文字列記憶
手段、3・・・・・・辞書手段、 4・・・・・・表示
手段、5・・・・・・文節切出手段、  6・・・・・
・変換手段、7・・・・・・変換取消手段、 8・・・・・・文節区切り指示手段、 9・・・・・・文節区切り移動手段、 IO・・・・・・文節区切り記憶手段、!■・・・・・
・カーソル移動手段、 12・・・・・・カーソル制御手段。 第4図 第6図(a) 、を舞1;組み分杓さ、た 第6図(b) 1 lエト 自転車に★ると歯や苦楽に目的尤へ行ける自転車に 乗るビ漣く 東に 目的地へ打1アろ 第8図 第7図 ム0
FIG. 1 is a block diagram showing the configuration of the first invention, FIG. 2 is a block diagram showing the configuration of the second invention, FIG. 3 is a block diagram showing the configuration of the third invention, and FIG. FIG. 5 is a block diagram showing the configuration of an embodiment of the invention, FIG. 5 is a flowchart explaining the operation of the embodiment, and FIGS. 6(a) and (b)
is an explanatory diagram showing an operation example of the same embodiment, FIG. 7 is a block diagram showing the configuration of an embodiment of the second and third inventions, and FIG. 8 is an explanation of the operation of the embodiment of the second invention. Flowcharts (1) to (9) in FIG. 9 are explanatory diagrams showing operation examples of the embodiment, FIG. 10 is a flowchart explaining the operation of an embodiment of the third invention, and (1) in FIG. ) to (9) are explanatory diagrams showing examples of operations when reconverting the conventional example. 1... Input means, 2... Character string storage means, 3... Dictionary means, 4... Display means, 5... Bunsetsu Cutting means, 6...
・Conversion means, 7...Conversion canceling means, 8...Bunsetsu break instruction means, 9...Bunsetsu break moving means, IO...Bunsetsu break storage means ,! ■・・・・・・
- Cursor moving means, 12...Cursor control means. Figure 4 Figure 6 (a), Figure 6 (a), Figure 6 (b) 1. If you ride a bicycle, you will be able to ride a bicycle to the east, where you will be able to reach your goals, pleasures, and sorrows. Hit 1 to the destination Figure 8 Figure 7 Mu 0

Claims (1)

【特許請求の範囲】 1、文字情報および各種の指示を入力する入力手段と、
入力手段から入力された文字情報を文字列として記憶す
る文字列記憶手段と、文字情報と対応する単語を多数記
憶している辞書手段と、各種情報を表示する表示手段と
、第1の変換指示を受け文字列記憶手段から文字列を文
節毎に切り出す文節切出手段と、切り出した文節を順次
対応する単語に変換し表示手段に出力する変換手段と、
変換取り消し指示を受けた際に、文字列記憶手段から再
度文字列を読み出し、表示手段に表示中の変換された単
語と置き換える変換取消手段と、置き換えた文字列中に
、第1の変換指示により変換した際の文節区切りを指示
する文節区切り指示手段と、入力手段からの指示を受け
、指示されている文節区切りを移動させる文節区切り移
動手段とを備え、第2の変換指示を行った際に、移動さ
れた文節区切りに基づいて文節の切り出しが行われ、対
応する単語に変換するよう構成したことを特徴とする文
字処理装置。 2、文字情報および各種の指示を入力する入力手段と、
入力手段から入力された文字情報を文字列として記憶す
る文字列記憶手段と、文字情報と対応する単語を多数記
憶している辞書手段と、各種情報を表示する表示手段と
、変換指示を受け文字列記憶手段から文字列を文節毎に
切り出す文節切出手段と、切り出した際の文節の区切り
を記憶する文節区切り記憶手段と、切り出した文節を順
次対応する単語に変換し表示手段に出力する変換手段と
、変換取り消し指示を受けた際に、文字列記憶手段から
再度文字列を読み出し、表示手段に表示中の変換された
単語と置き換える変換取消手段と、変換取り消し指示が
なされている際に、文節区切り記憶手段に記憶されてい
る文節の区切りをカーソル移動単位としカーソルを文末
方向に移動させるカーソル移動手段とを備えてなる文字
処理装置。 3、第2項記載の文字処理装置において、カーソル移動
手段に代えて、変換未確定の際に入力手段からの指示を
受けてカーソルを文頭または文末に文節単位で移動させ
、変換取り消しの際に入力手段からの指示を受けてカー
ソルを文頭方向には文節単位で移動させるとともに文末
方向には取り消し範囲の末尾まで飛び越し移動させるカ
ーソル制御手段を備えたことを特徴とする文字処理装置
[Claims] 1. Input means for inputting character information and various instructions;
A character string storage means for storing character information input from the input means as a character string, a dictionary means for storing a large number of words corresponding to the character information, a display means for displaying various information, and a first conversion instruction. a phrase extraction means for cutting out a character string from the received character string storage means for each phrase; a conversion means for sequentially converting the extracted phrases into corresponding words and outputting them to a display means;
Upon receiving a conversion cancellation instruction, the conversion cancellation means reads out a character string again from the character string storage means and replaces it with the converted word currently displayed on the display means; A bunsetsu break instructing means for instructing a bunsetsu break when converted, and a bunsetsu break moving means for receiving an instruction from the input means and moving the specified bunsetsu break, and when a second conversion instruction is given. . A character processing device characterized in that the phrase is cut out based on the moved phrase break and converted into a corresponding word. 2. Input means for inputting character information and various instructions;
a character string storage means for storing character information input from the input means as a character string; a dictionary means for storing a large number of words corresponding to the character information; a display means for displaying various information; A phrase extraction means for cutting out a character string into each phrase from the string storage means, a phrase separation storage means for storing the division of phrases at the time of extraction, and a conversion for sequentially converting the extracted phrases into corresponding words and outputting them to a display means. means, upon receiving a conversion cancellation instruction, a conversion cancellation means which reads out a character string again from the character string storage means and replaces it with the converted word displayed on the display means; and when a conversion cancellation instruction is given, A character processing device comprising cursor moving means for moving a cursor toward the end of a sentence by using a phrase break stored in a phrase break storage means as a cursor movement unit. 3. In the character processing device described in item 2, instead of the cursor moving means, the cursor is moved to the beginning or end of a sentence in units of clauses in response to an instruction from the input means when the conversion is unconfirmed, and when canceling the conversion. A character processing device characterized by comprising a cursor control means for moving a cursor in the direction of the beginning of a sentence in units of phrases and in the direction of the end of a sentence, in response to instructions from an input means.
JP63203354A 1988-08-16 1988-08-16 Character processor Pending JPH0251769A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63203354A JPH0251769A (en) 1988-08-16 1988-08-16 Character processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63203354A JPH0251769A (en) 1988-08-16 1988-08-16 Character processor

Publications (1)

Publication Number Publication Date
JPH0251769A true JPH0251769A (en) 1990-02-21

Family

ID=16472639

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63203354A Pending JPH0251769A (en) 1988-08-16 1988-08-16 Character processor

Country Status (1)

Country Link
JP (1) JPH0251769A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6365561A (en) * 1986-09-05 1988-03-24 Brother Ind Ltd 'kana' to 'kanji' converter
JPS6389970A (en) * 1986-10-02 1988-04-20 Matsushita Electric Ind Co Ltd Kana-Kanji conversion device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6365561A (en) * 1986-09-05 1988-03-24 Brother Ind Ltd 'kana' to 'kanji' converter
JPS6389970A (en) * 1986-10-02 1988-04-20 Matsushita Electric Ind Co Ltd Kana-Kanji conversion device

Similar Documents

Publication Publication Date Title
EP0370774B1 (en) Machine translation system
EP0201096B1 (en) Processing method and processor for machine translation
EP0244871A2 (en) Machine translation system
JPS61107430A (en) Editing unit for voice information
JPH0510704B2 (en)
JPS60164863A (en) Word processor
JPH0251769A (en) Character processor
JPH03233670A (en) Text data conversion system
JPH0883280A (en) Document processor
JPS61228572A (en) Document producing and editing device
JPS62203268A (en) Mechanical translation system
JPS62245366A (en) Document processor
JPS6175950A (en) Character correction method for solid kana-kanji conversion
JPS5965347A (en) Japanese sentence forming device
JP2682873B2 (en) Recognition device for tabular documents
JPS61229161A (en) Document creation and editing device
JPS62143178A (en) Natural language translation system
JPS62290966A (en) Sentence editing device
JPH04227570A (en) Translation display device
JPH06314274A (en) Document preparing device and document information input method
JPS59135533A (en) Calibration method
JPH07110844A (en) Japanese document processor
JPS62151972A (en) Japanese sentence creation device
JPH07182344A (en) Machine translation device
JP2924955B2 (en) Translation method and translation device