JPH04333965A - Kana/kanji converting device - Google Patents

Kana/kanji converting device

Info

Publication number
JPH04333965A
JPH04333965A JP3105517A JP10551791A JPH04333965A JP H04333965 A JPH04333965 A JP H04333965A JP 3105517 A JP3105517 A JP 3105517A JP 10551791 A JP10551791 A JP 10551791A JP H04333965 A JPH04333965 A JP H04333965A
Authority
JP
Japan
Prior art keywords
kana
conversion
kanji
input
space
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
JP3105517A
Other languages
Japanese (ja)
Inventor
Yasunori Fujisawa
藤澤 康則
Mamoru Katayose
守 片寄
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP3105517A priority Critical patent/JPH04333965A/en
Publication of JPH04333965A publication Critical patent/JPH04333965A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

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

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、文字列を漢字かな混じ
り文に変換するかな漢字変換装置に係り、特に、スペー
ス混じりの文字列をかな漢字変換するかな漢字変換装置
に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a kana-kanji conversion device for converting a character string into a sentence containing kanji and kana, and more particularly to a kana-kanji conversion device for converting a character string containing spaces into kana-kanji.

【0002】0002

【従来の技術】かな漢字変換装置が進歩し、いろいろな
書式の文書を編集できるようになってきている。また、
一般文書だけでなく表形式のもの、定形書類に入力する
もの等、多種多様化されている。
BACKGROUND OF THE INVENTION As kana-kanji conversion devices have progressed, it has become possible to edit documents in various formats. Also,
In addition to general documents, there are a wide variety of types, such as those in table format and those for inputting into fixed-form documents.

【0003】しかし、表形式等の文書で出力イメージを
考慮し文字と文字の間にスペース(空白)を入れてかな
漢字変換した際、スペースが文字の区切りとみなされて
かな漢字変換される為、オペレータの思いどうりの変換
結果が得られない。これは、かな漢字変換は句読点やス
ペースを文節の区切りとみなす方式となっているためで
ある。このため、文字間にスペースが必要な場合はかな
漢字変換した後にスペースを挿入しなければならない欠
点があった。
[0003] However, when converting a document such as a tabular format into kana-kanji by inserting spaces (blanks) between characters in consideration of the output image, the operator may I can't get the desired conversion result. This is because Kana-Kanji conversion uses punctuation marks and spaces as delimiters between clauses. For this reason, if a space is needed between characters, it has to be inserted after the kana-kanji conversion.

【0004】0004

【発明が解決しようとする課題】本発明の目的は上記従
来技術の欠点をなくすことにあり、スペース混じり文字
列のかな漢字変換においても正しい変換結果を得ること
ができるかな漢字変換装置を提供することにある。
[Problems to be Solved by the Invention] The purpose of the present invention is to eliminate the above-mentioned drawbacks of the prior art, and to provide a Kana-Kanji conversion device that can obtain correct conversion results even in Kana-Kanji conversion of character strings containing spaces. be.

【0005】[0005]

【課題を解決するための手段】上記目的は、入力された
文字列の中で、スペースを判別し、変換の対象となる文
字とスペースを分離してかな漢字変換を行う手段と、入
力された文字列にスペースがあった場合は、変換された
かな漢字混じり文からスペースの位置を検出する手段を
有し、変換結果にスペースを再配置する手段をもつこと
により達成される。
[Means for solving the problem] The above purpose is to provide a means for determining spaces in an input character string, separating characters to be converted from spaces, and converting the input characters into kana-kanji. If there is a space in the column, this is achieved by having means for detecting the position of the space from the converted Kana-Kanji mixed sentence, and having means for rearranging the space in the conversion result.

【0006】[0006]

【作用】上記構成により、かな漢字変換においてはスペ
ースを無視できるため従来と同等のかな漢字変換を能率
よく行うことができ、一方、変換後スペースを再配置す
るため、文字配置を乱すことなくかな漢字変換を行える
[Effect] With the above configuration, spaces can be ignored in Kana-Kanji conversion, so Kana-Kanji conversion can be performed as efficiently as before. On the other hand, since spaces are rearranged after conversion, Kana-Kanji conversion can be performed without disturbing the character arrangement. I can do it.

【0007】[0007]

【実施例】以下、本発明の一実施例を説明する。[Embodiment] An embodiment of the present invention will be described below.

【0008】図2は本発明になるかな漢字変換装置の構
成を表すブロック図で、かな入力部1,表示部4,制御
部2,辞書メモリ5および記憶部3から成る。入力部1
は、かな入力および変換対象文字列の指定,変換を入力
するための例えばキーボードであり、表示部4は文字列
入力および変換結果を表示するための例えばCRT表示
機などとからなる。制御部2はかな漢字変換の実行制御
を司るものでCPUや表示用文字フォント,プログラム
ROM,RAMで構成される。記憶部3は入力かな文字
列や変換で用いられるデータを一時保存するRAMから
なる。辞書メモリ5は、変換対象の文字列を漢字かな混
じり文に変換する辞書ROMと漢字の読みを参照する漢
字辞書からなり、前記制御部2におけるCPUのプログ
ラムによって参照される。
FIG. 2 is a block diagram showing the configuration of the kana-kanji conversion device according to the present invention, which includes a kana input section 1, a display section 4, a control section 2, a dictionary memory 5, and a storage section 3. Input section 1
is, for example, a keyboard for inputting kana characters, specifying character strings to be converted, and inputting conversions, and the display section 4 includes, for example, a CRT display for displaying character string inputs and conversion results. The control unit 2 is in charge of execution control of kana-kanji conversion, and is composed of a CPU, a display character font, a program ROM, and a RAM. The storage unit 3 consists of a RAM that temporarily stores input kana character strings and data used in conversion. The dictionary memory 5 includes a dictionary ROM for converting a character string to be converted into a sentence containing kanji and kana, and a kanji dictionary for referring to the readings of kanji, and is referenced by the program of the CPU in the control section 2.

【0009】次に、図2を用いかな漢字変換例を示す。Next, an example of Kana-Kanji conversion will be shown using FIG.

【0010】まず、かな漢字変換に関するプログラムが
制御部2のROM,RAMに記憶されているものとする
。オペレータは、かな漢字変換するための文字の入力を
入力部1より入力する。入力された文字データより制御
部2は該当する文字フォントを表示部4に表示する。 オペレータは表示部4を見て目的の文章を入力し、入力
が終われば変換キーを入力部1より入力する。制御部2
は入力された文字列よりその文字に該当する漢字を辞書
メモリ5を参照し、漢字の候補を表示部4に表示する。 該当する漢字がなければ変換せず、入力された文字列を
表示する。オペレータは、表示部4の結果を見て修正や
次の入力を入力部1より行う。
First, it is assumed that a program related to kana-kanji conversion is stored in the ROM and RAM of the control unit 2. The operator inputs characters to be converted into kana-kanji from the input unit 1. Based on the input character data, the control section 2 displays a corresponding character font on the display section 4. The operator looks at the display section 4 and inputs the desired text, and when the input is completed, inputs the conversion key from the input section 1. Control unit 2
refers to the dictionary memory 5 for the kanji corresponding to the input character string, and displays kanji candidates on the display section 4. If there is no corresponding kanji, no conversion is performed and the input character string is displayed. The operator looks at the results on the display section 4 and makes corrections or inputs the next step from the input section 1.

【0011】図1は本発明の特徴である、スペースを含
んだかな漢字変換の処理機能フローチャートであり、本
図に従いその内容を以下に説明する。
FIG. 1 is a flowchart of the processing function of Kana-Kanji conversion including spaces, which is a feature of the present invention, and its contents will be explained below with reference to this figure.

【0012】まず、入力作業を行う前にスペースが入力
されたかどうかを判定するスペースフラグをOFFして
入力待ちにする(10)。オペレータは、入力部1より
変換対象文字を入力する(11)。制御部2では、入力
部1より入力された文字列と変換キーを判別し(12)
、変換キーでなければ、まず、入力された文字列をスペ
ース挿入用バッファに格納(13)。つぎに、入力部1
より入力された文字列がスペースかどうかを判別する(
14)。入力部1より入力された文字列がスペース以外
の場合、記憶部3の変換対象バッファへ記憶し(15)
、入力部1より入力された文字列がスペースならばスペ
ースフラグをONする(16)。この時スペースは変換
対象バッファに格納されない。また、入力部1より入力
された文字が、変換キーならば変換対象バッファに記憶
された文字列を辞書メモリ5により辞書ROMを参照し
変換する(20)。
First, before performing an input operation, the space flag for determining whether a space has been input is turned off to wait for input (10). The operator inputs characters to be converted from the input unit 1 (11). The control unit 2 determines the character string and conversion key input from the input unit 1 (12).
, if it is not a conversion key, first store the input character string in the space insertion buffer (13). Next, input section 1
Determine whether the input string is a space (
14). If the character string input from input section 1 is other than a space, it is stored in the conversion target buffer of storage section 3 (15).
, if the character string input from the input unit 1 is a space, the space flag is turned on (16). At this time, no space is stored in the conversion target buffer. Further, if the character input from the input unit 1 is a conversion key, the character string stored in the conversion target buffer is converted by the dictionary memory 5 with reference to the dictionary ROM (20).

【0013】変換処理後、制御部2では、スペースフラ
グがONであるかを判別する(21)。スペースフラグ
がONであれば、スペース挿入用バッファのスペース位
置が変換結果のどの位置になるか辞書メモリ5の漢字辞
書を参照し検出する(22)。検出結果をもとに変換さ
れた文字間にスペースを挿入する(23)。
After the conversion process, the control unit 2 determines whether the space flag is ON (21). If the space flag is ON, the position of the space in the space insertion buffer in the conversion result is detected by referring to the kanji dictionary in the dictionary memory 5 (22). A space is inserted between the converted characters based on the detection result (23).

【0014】以上の処理結果を表示部(4)に表示する
The results of the above processing are displayed on the display section (4).

【0015】以下、入力及び変換例を示す。尚、説明上
スペースを△で表す。
Examples of input and conversion will be shown below. Note that for the sake of explanation, spaces are represented by △.

【0016】図3の様な文字列を入力すれば、変換対象
バッファにスペースの無い「いずはんとう」と記憶され
、スペース挿入用バッファに「い△ず△はん△とう」と
記憶され、スペースフラグがONする。変換キーが入力
されると変換処理により「伊豆半島」と変換される。 また、スペースフラグがONしているので、スペース挿
入バッファよりスペース位置を検出すると、「い」の次
にあることがわかる。変換結果より「伊」の読みを漢字
辞書より参照し、調べることにより該当していることが
わかるので「伊」の次にスペースを挿入する。以下、同
様に行うことにより図4の様な結果が得られる。
[0016] If you input a character string like the one shown in Figure 3, "Izuhanto" with no space will be stored in the conversion target buffer, and "I△zu△han△to" will be stored in the space insertion buffer. and the space flag turns ON. When the conversion key is input, the conversion process converts it to "Izu Peninsula". Also, since the space flag is ON, when the space position is detected from the space insertion buffer, it is found that it is next to "i". From the conversion result, refer to the reading of ``Ita'' in a kanji dictionary and find out that it matches, so insert a space next to ``Ita''. Thereafter, by performing the same procedure, a result as shown in FIG. 4 can be obtained.

【0017】また、図5の様な入力例では、「いず」の
次にスペースがあるので、辞書より「伊」一文字では「
い」「これ」等の候補しかないため該当しない。そこで
次の文字である「豆」を合わせ「伊豆」を調べると「い
ず」と該当するので、「伊豆」の次にスペースを挿入し
、図6の様な変換結果を得られる。
[0017] Also, in the input example shown in Figure 5, there is a space after "Izu", so the dictionary says that the single character "Izu" is "Izu".
This is not applicable because there are only candidates such as "Yes" and "This". Then, when we look up ``Izu'' by combining the next character ``Mame'', we find that it corresponds to ``Izu'', so we insert a space after ``Izu'' and obtain the conversion result as shown in Figure 6.

【0018】また、本発明では図3の様に「い△ず△は
ん△とう」と入力し「伊△豆△半△島」と変換したい場
合は、変換候補を選択することにより希望の文字に変換
できるのは言うまでもない。
Furthermore, according to the present invention, when inputting "I△zu△han△to" and wishing to convert it to "I△zu△han△jima" as shown in FIG. 3, the desired conversion can be done by selecting a conversion candidate. Needless to say, it can be converted into text.

【0019】[0019]

【発明の効果】本発明により、文字と文字の間にスペー
スのある文字列を入力し、かな漢字変換してもオペレー
タの思い通りの変換結果となる。
According to the present invention, even if a character string with spaces between characters is input and Kana-Kanji conversion is performed, the conversion results as desired by the operator can be obtained.

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

【図1】本発明になる変換処理を示すフローチャートで
ある。
FIG. 1 is a flowchart showing a conversion process according to the present invention.

【図2】本発明になるかな漢字変換装置の構成図である
FIG. 2 is a configuration diagram of a kana-kanji conversion device according to the present invention.

【図3】入力例1を表す図である。FIG. 3 is a diagram representing input example 1;

【図4】出力例1を表す図である。FIG. 4 is a diagram representing output example 1.

【図5】入力例2を表す図である。FIG. 5 is a diagram representing input example 2;

【図6】出力例2を表す図である。FIG. 6 is a diagram representing output example 2;

【符号の説明】[Explanation of symbols]

1…入力部、2…制御部、3…記憶部、4…出力部、5
…辞書メモリ。
DESCRIPTION OF SYMBOLS 1...Input part, 2...Control part, 3...Storage part, 4...Output part, 5
...Dictionary memory.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】かな漢字変換の対象となる文字列を入力す
る入力部と、入力した文字列を漢字かな混じり文に変換
する変換処理部と、変換結果を表示する表示部と辞書を
備えたかな漢字変換装置において、入力された文字列の
中のスペースを無視してかな漢字変換するとともに、前
記入力したスペースを変換時文字間に挿入することを特
徴とするかな漢字変換装置。
[Claim 1] Kana-Kanji comprising an input section for inputting a character string to be converted into Kana-Kanji, a conversion processing section for converting the input character string into a Kanji-Kana mixed sentence, a display section for displaying the conversion result, and a dictionary. A kana-kanji conversion device, characterized in that the conversion device performs kana-kanji conversion while ignoring spaces in an input character string, and inserts the input spaces between characters during conversion.
JP3105517A 1991-05-10 1991-05-10 Kana/kanji converting device Pending JPH04333965A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3105517A JPH04333965A (en) 1991-05-10 1991-05-10 Kana/kanji converting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3105517A JPH04333965A (en) 1991-05-10 1991-05-10 Kana/kanji converting device

Publications (1)

Publication Number Publication Date
JPH04333965A true JPH04333965A (en) 1992-11-20

Family

ID=14409797

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3105517A Pending JPH04333965A (en) 1991-05-10 1991-05-10 Kana/kanji converting device

Country Status (1)

Country Link
JP (1) JPH04333965A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9061488B2 (en) 2011-08-25 2015-06-23 Sharp Kabushiki Kaisha Image forming apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9061488B2 (en) 2011-08-25 2015-06-23 Sharp Kabushiki Kaisha Image forming apparatus

Similar Documents

Publication Publication Date Title
EP0359110A2 (en) Entry text display system
US5835921A (en) Data processing apparatus for creating and storing a text file from input data
JPS5994131A (en) word processor
JPH04333965A (en) Kana/kanji converting device
JP2787822B2 (en) Document processing device
JPH04205548A (en) Word processor
JPS60253572A (en) Blank filling printing system
JPH0666066B2 (en) Document processor with furigana addition function
JP2723908B2 (en) Document creation device
JPH0666065B2 (en) Document processor with furigana addition function
JPS59116691A (en) document creation device
JP3273778B2 (en) Kana-kanji conversion device and kana-kanji conversion method
JP3213991B2 (en) Word processor
JPH08180054A (en) Document processing device
JPH07182344A (en) Machine translation device
JPH0721189A (en) Translation support device
JPH04139568A (en) document processing device
JPH087747B2 (en) Kana-Kanji mutual conversion device
JPS63146157A (en) Document processor
JPH04276854A (en) Word processor
JPH0661080B2 (en) Document processor with furigana addition function
JPH06119320A (en) Kana-Kanji converter
JPH05120259A (en) Japanese syllabary to chinese character conversion device
JPH0731675B2 (en) Kana-Kanji mutual conversion device
JPS61230193A (en) word processor