JP2975030B2 - Kana-kanji conversion device and method - Google Patents

Kana-kanji conversion device and method

Info

Publication number
JP2975030B2
JP2975030B2 JP1222849A JP22284989A JP2975030B2 JP 2975030 B2 JP2975030 B2 JP 2975030B2 JP 1222849 A JP1222849 A JP 1222849A JP 22284989 A JP22284989 A JP 22284989A JP 2975030 B2 JP2975030 B2 JP 2975030B2
Authority
JP
Japan
Prior art keywords
kana
character string
segmentation
input
phrase
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP1222849A
Other languages
Japanese (ja)
Other versions
JPH0387966A (en
Inventor
浩一郎 秋山
一男 住田
輝彦 浮田
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP1222849A priority Critical patent/JP2975030B2/en
Publication of JPH0387966A publication Critical patent/JPH0387966A/en
Application granted granted Critical
Publication of JP2975030B2 publication Critical patent/JP2975030B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) この発明は、かな表現の文字列を漢字かな混じり文に
変換するかな漢字変換装置および方法に関する。
DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Industrial application field) The present invention relates to a kana-kanji conversion apparatus and method for converting a character string of a kana expression into a sentence mixed with kana-kana.

(従来の技術) かな漢字変換装置にかな文字列を入力する方式には従
来から、漢字毎にそのよみを入力する方式(単漢字変換
方式)、文節毎に入力する方式(文節入力変換方式)、
漢字や文節にかかわらず、かな文字列を入力する方式
(べた入力方式)がある。このうち、近年の日本語ワー
ドプロセッサーにおいてはべた入力方式が主流になって
きている。このべた入力方式は漢字や文節を入力時に気
にする必要がなく便利である。しかし、一方で変換キー
を押すことなく文書を入力できるので、ともすると長く
入力し過ぎて入力ミスがあった場合、その部分が予想も
つかない漢字に変換されることから表示画面上ではその
ミスを発見することが困難であるという問題点があっ
た。また、変換キーを押すこと無く順次変換されるため
ワードプロセッサー内部での入力文の解析がいかに行わ
れているかを入力者が知る手段がないという問題点があ
った。
(Conventional technology) Conventionally, a method of inputting a kana character string to a kana-kanji conversion device includes a method of inputting a kanji for each kanji (single kanji conversion method), a method of inputting each phrase (phrase input conversion method),
There is a method (solid input method) for inputting kana character strings regardless of kanji or phrases. Of these, solid input methods have become mainstream in recent Japanese word processors. This solid input method is convenient because you don't have to worry about kanji or phrases when inputting. However, on the other hand, you can enter a document without pressing the conversion key, so if you make a mistake and input too long, the part will be converted to unexpected kanji, so the mistake will be displayed on the display screen. There was a problem that it was difficult to discover. Further, since the conversion is performed sequentially without pressing the conversion key, there is a problem that there is no means for the input user to know how the input sentence is analyzed in the word processor.

(発明が解決しようとする課題) このように近年日本語ワードプロセッサーに採用され
てきているべた入力方式は便利な半面、長い文書を入力
する際には入力文字を後から確認しにくく、また、入力
ミスがあった場合には誤った入力文字列にもとづいて変
換がなされ、その修正が困難であった。
(Problems to be Solved by the Invention) As described above, the solid input method adopted in Japanese word processors in recent years is convenient, but when inputting a long document, it is difficult to confirm the input characters later. If there is a mistake, the conversion is made based on the incorrect input character string, and it is difficult to correct it.

また、入力したひらがな文字列に対してそれをかな漢
字変換部がどのように文節切りしているか分からなく、
変換に際して入力者に不安が残った。
Also, I don't know how the Kana-Kanji conversion part cuts the input Hiragana character string,
The input user remained uneasy during the conversion.

本発明はこの点に鑑みて入力かな文字列にミスがあっ
た場合、それを発見し易く、さらに入力かな文字列に対
するかな漢字変換部の文節切りに誤りがあった場合には
変換前にそれを修正することのできる前記かな文字列の
表示修正方式を提供する。
In view of this point, the present invention makes it easy to find a mistake in the input kana character string, and if there is an error in the kana-kanji conversion section for the input kana character string, remove it before conversion. A kana character string display correction method that can be corrected is provided.

[発明の構成] (課題を解決するための手段) 上記問題点を解決するため、本発明のかな漢字変換方
式は、第一にかな文字列の入力に対して順次解析を行い
その解析で得られた文節切り情報を文字列に空白やスラ
シュまたは特別の文節切り分けコードなどをはさむこと
によって陽に表示することを特徴とする。
[Structure of the Invention] (Means for Solving the Problems) In order to solve the above problems, the kana-kanji conversion method of the present invention firstly analyzes the input of a kana character string and obtains the analysis. The phrase segmentation information is explicitly displayed by inserting a blank, a slash, or a special segmentation code into a character string.

第二に前記手段によって表示された前記文字列に対し
て、その文節切りが間違っていることに入力者が気付い
たときにはそれを切り直すことができる手段を持つこと
を特徴とする。
Secondly, the present invention is characterized in that the character string displayed by the means is provided with a means for re-cutting the character string when the input person notices that the segmentation is incorrect.

(作用) 本発明により入力者は入力文字が誤っているかどうか
を短時間で正確に把握でき、誤りがあったときにはそれ
を修正することもできる。
(Operation) According to the present invention, the input user can quickly and accurately grasp whether or not an input character is incorrect, and can correct an error when there is an error.

(実施例) 第1図は本発明の一実施例を示すブロック図である。
同図において、1はかな入力部、2は文節認定部、3は
文節切り修正部、4は入力かな文字表示部、5はかな漢
字変換部、6は変換結果表示部である。
FIG. 1 is a block diagram showing an embodiment of the present invention.
In the figure, 1 is a kana input unit, 2 is a phrase recognition unit, 3 is a phrase segmentation correction unit, 4 is an input kana character display unit, 5 is a kana-kanji conversion unit, and 6 is a conversion result display unit.

かな入力部1から入力されたかな文字列は、順次文節
認定部2へ送られ最長一致法などの手段により文節切り
を認定する。入力かな文字表示部4では入力された文字
列とその文節切りを表示する。このときもし文節切りに
誤りが生じた場合は入力者からの文節切り分け処理を経
て文節切り修正部3において文節切りを修正する。ま
た、修正以後はその文節切り情報を生かしてかな漢字変
換部5でかな漢字変換処理を行い変換結果表示部6で得
られた結果を表示する。
The kana character string input from the kana input unit 1 is sequentially sent to the phrase recognition unit 2 to recognize phrase separation by means such as the longest match method. The input kana character display section 4 displays the input character string and its segmentation. At this time, if an error occurs in the segmentation, the segmentation modification unit 3 corrects the segmentation through the segmentation processing from the input user. After the correction, the kana-kanji conversion unit 5 performs the kana-kanji conversion process using the segmentation information, and the conversion result display unit 6 displays the obtained result.

第2図は文節認定部のフローチャートである。かな文
字を1文字入力する毎に、現在未変換になっている部分
において入力文字の後で文節切りできるときにはflag=
1とし、入力文字をそのまま出力する。文節切り不可能
であり、かつflag=1であるときには文節切りコードを
挿入してからその入力文字を出力し、flag=0とする。
文節切り不可能であり、かつflag=0であるときには入
力文字をそのまま出力する。また文節切りの誤りに利用
者が気付いたときには文節切り修正部で文節の切り直し
をする。この操作を順次繰り返し、入力文字が指定文節
数に達したとき、または「。」、「、」が入力されたと
きにはその文節切り分けを基にしてかな漢字変換部5で
かな漢字変換処理をおこなう。
FIG. 2 is a flowchart of the phrase recognition unit. Whenever one Kana character is input, if the phrase that has not been converted can be segmented after the input character, flag =
Set to 1 and output the input character as it is. When segmentation is impossible and flag = 1, the input character is output after inserting a segmentation code, and flag = 0.
If phrase separation is not possible and flag = 0, the input character is output as it is. If the user notices an error in segmentation, the segmentation correction unit re-segments the segmentation. This operation is sequentially repeated, and when the number of input characters reaches the designated number of phrases, or when "." Or "," is input, the kana-kanji conversion unit 5 performs the kana-kanji conversion process based on the segmentation.

第3図は、文節切り修正部に関するフローチャートで
ある。カーソルキーまたは文節切り分けキーまたは削除
キーの押し下げによって起動され、カーソルキーが押し
下げられたときはカーソル移動を行い、文節切り分けキ
ーが押し下げられたときはカーソルの下に文節切り分け
コードを挿入する、また削除キーであったときはカーソ
ルの下の文字(文節切り分けコードも含む)を一文字削
除する。
FIG. 3 is a flowchart relating to a segmentation correction unit. Activated by pressing the cursor key, segmentation key, or delete key.The cursor moves when the cursor key is depressed, and inserts or deletes the segmentation code below the cursor when the segmentation key is depressed. If it is a key, delete the character under the cursor (including the segmentation code).

第4図は、実際に「ここで履物を脱いで下さい。」を
入力したいときの例である。ただし、ここでは3文節に
なったとき変換を開始するものとしている。最初の文字
「こ」を入力した時は「こ」は助詞でないので「こ」の
後で文節切りができない。従ってflag=0のままであ
る。次の「こ」も同様である。次の「で」は助詞であり
「ここ」は1つの単語であるので「で」の後で文節切り
の可能性が起こりflag=1となる。しかし「は」を入力
した段階で「では」が助詞になるので文節切りの可能性
が起こりやはりflag=1である。ところが、「き」を入
力した段階で「き」は一字で助詞ではなく更にその前の
文字と組み合わせても助詞にならないので、「き」の後
で文節切り不可能となり、かつflag=1であるので
「き」の前で文節切りが起こることとなる。したがって
表示は4−4のようになる。
FIG. 4 is an example of the case where the user actually wants to input "Please take off your shoes here." However, here, it is assumed that the conversion is started when three phrases have been reached. When the first character "ko" is entered, "ko" is not a particle, so the phrase cannot be cut after "ko". Therefore, flag = 0 remains. The same applies to the next “ko”. The next "de" is a particle and "here" is a single word, so that the possibility of segmentation occurs after "de" and flag = 1. However, since "wa" becomes a particle at the stage of inputting "wa", there is a possibility of segmentation and flag = 1 again. However, at the stage of inputting "ki", "ki" is not a particle and is not a particle even if it is combined with the preceding character. Therefore, after "ki", segmentation becomes impossible, and flag = 1 Therefore, segmentation will occur before "ki". Therefore, the display is as shown in 4-4.

以下は4−6まで同様にして順次処理が行われる。し
かし、4−6に示される文節切りは所望の文節切り「こ
こで はきものを ぬいで ください」とは違ってく
る。ここで、カーソル移動によってカーソルを「は」と
「き」の間の文節切りコードの上にもっていき(4−
7)削除キーを押すことによって文節切りコードを削除
する(4−8)。またカーソルを「は」の上にもってい
き(4−9)、文節切り分けキーを押すことによって文
節切り分けコードを挿入する(4−10)。そしてカーソ
ルを再び入力キーに戻せば(4−11)続きを入力でき、
「く」まで入力したとき3文節を認定するので自動的に
変換する(4−12)。その後は「。」が入力された段階
で変換を行い、最終変換結果を得る(4−13)。また、
この例のような場合では、文節切りコードを移動キーに
よって移動させても同じ効果が得られる。
Thereafter, the same processing is sequentially performed up to 4-6. However, the phrase segmentation shown in 4-6 is different from the desired phrase segmentation "Please remove the footwear here." Here, by moving the cursor, the cursor is moved over the segmentation code between “ha” and “ki” (4-
7) Press the delete key to delete the segmentation code (4-8). Also, the cursor is moved over "ha" (4-9), and a phrase separation code is inserted by pressing a phrase separation key (4-10). Then, if you return the cursor to the input key again (4-11), you can enter the rest,
When "ku" is entered, three phrases are recognized, so they are automatically converted (4-12). Thereafter, conversion is performed at the stage when "." Is input, and a final conversion result is obtained (4-13). Also,
In the case of this example, the same effect can be obtained even if the segmentation code is moved by the movement key.

[発明の効果] 以上説明してきたように、本発明によればべた書き変
換において、入力かな文字列が正しいものか否かを容易
に判定しながら利用者は入力作業を行うことができる。
また、入力文字列に対するワードプロセッサーの文節切
りが陽に示されているため、もしそれが入力者の期待す
るものと違った場合はその文節切りを修正し、正しい文
節切り情報のもとで変換することが可能となる。また、
入力文字列が変換されていない段階で、入力ミスの検
出、および修正が容易になる。
[Effects of the Invention] As described above, according to the present invention, a user can perform an input operation while easily determining whether or not an input kana character string is correct in solid writing conversion.
Also, since the word processor's segmentation for the input character string is explicitly shown, if it is not what the input user expects, correct that segmentation and convert it with the correct segmentation information It becomes possible. Also,
At the stage where the input character string has not been converted, it is easy to detect and correct an input error.

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

第1図はこの発明の一実施例を示すブロック図、第2図
は第1図のブロック図のうち文節認定部のフローチャー
ト、第3図は第1図のブロック図のうち文節切り修正部
のフローチャート、第4図はこの発明で「ここで履物を
脱いで下さい。」と入力したときの例を示す図である。 1……かな入力部、2……文節認定部、3……文節切り
修正部、4……入力かな文字列表示部、5……かな漢字
変換部、6……変換結果表示部。
1 is a block diagram showing an embodiment of the present invention, FIG. 2 is a flowchart of a phrase recognition unit in the block diagram of FIG. 1, and FIG. 3 is a flowchart of a phrase segmentation correction unit in the block diagram of FIG. FIG. 4 is a flowchart showing an example in which "Please take off your footwear here" in the present invention. 1 ... Kana input section, 2 ... Phrase recognition section, 3 ... Phrase segmentation correction section, 4 ... Input kana character string display section, 5 ... Kana-kanji conversion section, 6 ... Conversion result display section.

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭60−196868(JP,A) 特開 昭63−89970(JP,A) (58)調査した分野(Int.Cl.6,DB名) G06F 17/21 ──────────────────────────────────────────────────続 き Continuation of the front page (56) References JP-A-60-196868 (JP, A) JP-A-63-89970 (JP, A) (58) Fields investigated (Int. Cl. 6 , DB name) G06F 17/21

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】入力されたかな文字列を解析して文節を認
定する文節認定手段と、 入力された前記かな文字列と、前記文節認定手段によっ
て認定された前記かな文字列の文節の文節切りを表示す
る表示手段と、 この表示手段によって表示された前記かな文字列の文節
切りの誤りを修正させるための修正手段と、 この修正手段によって修正された文節切りで認定された
前記かな文字列の文節に基づいてかな漢字変換するかな
漢字変換手段を有することを特徴とするかな漢字変換装
置。
A phrase recognition unit for analyzing a kana character string input to recognize a phrase; a segmentation of the kana character string input by the input kana character string and a phrase of the kana character string recognized by the phrase recognition unit; Display means for displaying the kana character string displayed by the display means, and correction means for correcting an error in the segmentation of the kana character string displayed by the display means. A kana-kanji conversion device comprising kana-kanji conversion means for converting kana-kanji characters based on phrases.
【請求項2】文節切りを特別な文節切り分けコードを設
けることによって文節切り位置を前記表示手段により表
示する請求項1記載のかな漢字変換装置。
2. The kana-kanji conversion device according to claim 1, wherein a segmentation position is displayed by the display means by providing a special segmentation code.
【請求項3】入力されたかな文字列を解析して文節を認
定し、 入力された前記かな文字列と、認定された前記かな文字
列の文節の文節切りを表示させ、 表示された前記かな文字列の文節切りの誤りを修正さ
せ、 修正された文節切りで認定された前記かな文字列の文節
に基づいてかな漢字変換することを特徴とするかな漢字
変換方法。
3. An input kana character string is analyzed to identify a phrase, and the input kana character string and a phrase segmentation of the recognized kana character string are displayed, and the displayed kana character string is displayed. A kana-kanji conversion method comprising: correcting a kana-kanji character string segmentation error; and performing kana-kanji conversion based on the kana character string phrase recognized by the corrected phrase segmentation.
JP1222849A 1989-08-31 1989-08-31 Kana-kanji conversion device and method Expired - Fee Related JP2975030B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1222849A JP2975030B2 (en) 1989-08-31 1989-08-31 Kana-kanji conversion device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1222849A JP2975030B2 (en) 1989-08-31 1989-08-31 Kana-kanji conversion device and method

Publications (2)

Publication Number Publication Date
JPH0387966A JPH0387966A (en) 1991-04-12
JP2975030B2 true JP2975030B2 (en) 1999-11-10

Family

ID=16788864

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1222849A Expired - Fee Related JP2975030B2 (en) 1989-08-31 1989-08-31 Kana-kanji conversion device and method

Country Status (1)

Country Link
JP (1) JP2975030B2 (en)

Also Published As

Publication number Publication date
JPH0387966A (en) 1991-04-12

Similar Documents

Publication Publication Date Title
JPS6290762A (en) Documentation device
JP2975030B2 (en) Kana-kanji conversion device and method
US7155671B1 (en) Computer technique for providing a character mistyping conversion function
JP3311567B2 (en) Bilingual sentence association device
JP3167800B2 (en) Online character input device
JPS6118074A (en) Pre-editing system
JPH09198375A (en) Mathematical expression/chemical formula inputting and editing system
JP2659702B2 (en) Character recognition device
JP2922900B2 (en) Handwritten character recognition device
JPH06149888A (en) Electronic filing system
JP2965578B2 (en) Document creation support method
JP2890950B2 (en) Machine translation equipment
JP3137329B2 (en) Document editing device
JPS58217080A (en) Article setting system
JPH0764989A (en) Sentence preparing device by on-line handwritten character recognition
JPH08123608A (en) Character recognition system
JPH02297248A (en) Document preparation support device
JPH04332083A (en) Sentence analyzer
JPH01169568A (en) Document forming device
JPS61256467A (en) Kana(japanese syllabary)-kanji converter
JPH08305696A (en) Character processor
JPS60136868A (en) Japanese input device
JPH06187502A (en) On-line handwritten character recognizer
JPH09153037A (en) Document preparation device and electronic dictionary retrieval method
JPS61250772A (en) Kana/kanji converter

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees