JPH01228057A - Kana/kanji converter - Google Patents

Kana/kanji converter

Info

Publication number
JPH01228057A
JPH01228057A JP63055391A JP5539188A JPH01228057A JP H01228057 A JPH01228057 A JP H01228057A JP 63055391 A JP63055391 A JP 63055391A JP 5539188 A JP5539188 A JP 5539188A JP H01228057 A JPH01228057 A JP H01228057A
Authority
JP
Japan
Prior art keywords
kana
kanji
character
parenthesis
input
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
JP63055391A
Other languages
Japanese (ja)
Inventor
Hiromitsu Honjiyuku
本宿 弘光
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 JP63055391A priority Critical patent/JPH01228057A/en
Publication of JPH01228057A publication Critical patent/JPH01228057A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To suitably execute KANA (Japanese syllabary)/KANJI (Chinese character) conversion even when a parenthesis exists by processing a character after the front parenthesis symbol in the same way as the input character from a sentence head and processing the character after a rear parenthesis as the continuation of the character before the front parenthesis. CONSTITUTION:When a character is inputted from a keyboard 2, it is judged whether or not it is a front parenthesis, and at the time of the front parenthesis, the word information inputted early is transferred to a temporary storing part 25 of a converting processing part 6. Thus, the character inputted thereafter is processed in the same way as the character to start from the character head. Next, it is judged whether or not the rear parenthesis is obtained, and at the time of the rear parenthesis, the inputted character is converted and after the completion, the word information stored in the temporary storing part 25 is returned to a storing part. Thus, the character in continuation to the rear parenthesis is processed as the continuation of the character before the front parenthesis.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明はかな漢字変換装置に関し、詳細には、入力され
たかなを所定数ごとに前の単語と比較して漢字に変換す
るかな漢字変換装置に関する。
[Detailed Description of the Invention] (Industrial Application Field) The present invention relates to a kana-kanji conversion device, and more particularly, to a kana-kanji conversion device that compares input kana with the previous word every predetermined number of times and converts it into kanji. .

(従来の技術) かな漢字変換装置は日本語ワードプロセッサをはじめと
する日本語入力装置において使用されており、オペレー
タの入力操作が容易なことからいわゆるべた書き入力か
な漢字変換装置がよく用いられる。
(Prior Art) Kana-Kanji conversion devices are used in Japanese input devices such as Japanese word processors, and so-called solid input Kana-Kanji conversion devices are often used because they allow easy input operations by operators.

従来、このようなべた書き入力によるかな漢字変換装置
においては、入力されたかな文字を先頭文字から所定の
複数文字入力されると漢字に変換し、順次、所定文字数
ごとに前の単語と比較しながら漢字に変換していく。そ
して、途中、文章の区切りを示す、句、読点等が入ると
、所定の文字数に達していなくても漢字への変換を行っ
ている。
Conventionally, in such a kana-kanji conversion device that uses solid writing input, when a predetermined number of characters are input from the first character, the input kana characters are converted into kanji, and the conversion is performed while sequentially comparing each predetermined number of characters with the previous word. Convert it to kanji. If a phrase, comma, etc. that indicates a break in the sentence is inserted in the middle, the conversion to kanji is performed even if the predetermined number of characters has not been reached.

(発明が解決しようとする課題) しかしながら、このような従来のかな漢字変換装置にお
いては、入力される文字を所定文字数ごとに前の単語と
比較しながら漢字に変換しており、句点や読点が途中に
入ったときのみ、入力文字数が所定数に達していないと
きでもかな漢字変換を行っていたため、かっこ記号が入
力されてもかな文字と同様に評価されて変換が行われて
いた。したがって、かっこ記号の内と外との入力文字が
連続文字として評価され、文章的に適切でないかな漢字
変換が行われるという不具合があった。
(Problem to be solved by the invention) However, in such conventional kana-kanji conversion devices, input characters are converted into kanji while comparing each predetermined number of characters with the previous word, and periods and commas are , even if the number of input characters did not reach a predetermined number, Kana-Kanji conversion was performed, so even if parentheses were input, they were evaluated and converted in the same way as Kana characters. Therefore, there was a problem in that input characters inside and outside the parentheses were evaluated as continuous characters, resulting in kana-kanji conversion that was not appropriate for the text.

これを解消するために、かっこ記号を文章の区切りと判
断してかな漢字変換することも考えられるが、かっこ記
号を文章の区切りと判断して処理すると、対となる前か
っこ記号と後かっこ記号を挾んだ前後の文章が無関係に
かな漢字変換され、文章のつながりが無(なる、しかし
ながら、通常、かっこ記号を挟んだ前後の文章は一定の
文章的なつながりを有しており、かっこ記号を単に文章
の区切りと判断すると、適切なかな漢字変換を行うこと
ができないという問題が生じる。
To solve this problem, it may be possible to convert parentheses into kana-kanji characters by interpreting them as text delimiters, but if the parentheses are considered to be text delimiters and processed, the pairs of front and rear parentheses will be converted. The sentences before and after the parentheses are converted into kana-kanji without any connection, and there is no connection between the sentences. However, normally, the sentences before and after the parentheses have a certain textual connection, If this is determined to be a break in a sentence, a problem arises in that appropriate kana-kanji conversion cannot be performed.

(発明の目的) そこで、本発明は、前かっこ記号を検出すると、以降の
文力文字は文頭からの入力文字と同様に処理し、対とな
る後かっこ記号を検出すると、文末の処理を行うととも
に、後かっこ記号以降に入力される入力文字を前かっこ
記号の前に入力された文字の続きとして処理することに
より、対となるかっこ記号内の文章を独立の文章として
かな漢字変換するとともに、対となるかっこ記号の前後
の文字入力を連続する文字入力としてかな漢字変換して
かっこ内の文章およびかっこを挟んだ前後の文章を適切
にかな漢字変換することを目的としている。
(Purpose of the Invention) Therefore, in the present invention, when a front parenthesis symbol is detected, the following literary characters are processed in the same way as input characters from the beginning of the sentence, and when a pair of trailing parenthesis symbols are detected, the end of the sentence is processed. At the same time, by processing the input characters after the trailing parenthesis symbol as a continuation of the characters input before the front bracket symbol, the sentences inside the pair of parentheses are converted into kana-kanji as independent sentences, and The aim is to convert the characters input before and after the parentheses symbol into kana-kanji as continuous character input, and to appropriately convert the sentences inside the parentheses and the sentences before and after the parentheses.

(発明の構成) 本発明は、上記目的を達成するため、入力されたかな文
字を所定数のかな文字毎に前の単語と比較して漢字に変
換するかな漢字変換装置において、前かっこ記号を検出
すると、前かっこ記号以降の入力文字を文頭からのかな
入力と判断してかな漢字変換し、核部かっこ記号と対と
なる後かっこ記号を検出すると、文末と判断してかな漢
字変換するとともに、211kかっこ記号以後に入力さ
れる入力文字を核部かっこ記号の前に入力された入力文
字の続き文字としてかな漢字変換することを特徴とする
ものである。
(Structure of the Invention) In order to achieve the above object, the present invention detects front parenthesis symbols in a kana-kanji conversion device that converts input kana characters into kanji by comparing each predetermined number of kana characters with the previous word. Then, the input characters after the front parenthesis symbol are determined to be kana input from the beginning of the sentence and are converted to kana-kanji, and when a trailing parenthesis symbol that pairs with the core parenthesis symbol is detected, it is determined to be the end of the sentence and is converted to kana-kanji. This system is characterized in that the input character input after the symbol is converted into kana-kanji as a continuation character of the input character input before the core parenthesis symbol.

以下、本発明の実施例に基づいて具体的に説明する。Hereinafter, the present invention will be specifically explained based on examples.

第1図〜第4図は本発明の一実施例を示す図である。1 to 4 are diagrams showing one embodiment of the present invention.

第1図において、1はかな漢字変換装置であり、かな漢
字変換装置lにはキーボード2から文字コード等が入力
される。キーボード2には文字キー、記号キー、数字キ
ーおよびファンクションキー等が設けられており、オペ
レータがキー操作することにより文字コード等が入力さ
れる。キーボード2で入力された文字コードは入出力イ
ンターフェース3、バッファ4およびドライバ5を介し
て変換処理部6に入力され、変換処理部6で文字変換さ
れてCRTドライバ7を介して表示部であるCRT (
Cathode Ray Tube) 8に表示される
。また、キーボード2ではひらがな入力や変換方法等の
指示がキー操作により行われ、この指示に従って変換処
理部6で変換処理を行う、変換処理部6での漢字への変
換は漢字DO39で辞書10を検索する。
In FIG. 1, 1 is a kana-kanji conversion device, and character codes and the like are inputted from a keyboard 2 to the kana-kanji conversion device l. The keyboard 2 is provided with character keys, symbol keys, numeric keys, function keys, etc., and character codes and the like are inputted by the operator's key operations. The character code entered on the keyboard 2 is inputted to the conversion processing unit 6 via the input/output interface 3, buffer 4 and driver 5, converted into characters by the conversion processing unit 6, and sent to the CRT which is the display unit via the CRT driver 7. (
Cathode Ray Tube) 8. In addition, on the keyboard 2, instructions such as hiragana input and conversion methods are performed by key operations, and conversion processing is performed in the conversion processing section 6 according to these instructions.Conversion to kanji in the conversion processing section 6 is performed using the dictionary 10 with the kanji DO 39. search for.

ことにより行い、かな文字の読みに従って辞書10を検
索して当該読みに合った漢字を読み出す。
This is done by searching the dictionary 10 according to the reading of the kana character and reading out the kanji that matches the reading.

変換処理部6で変換処理され、キーボード2の操作によ
り読みの決定された文字データはバッファ11および入
出力インターフェース12を介して本かな漢字変換装置
1の適用されているワードプロセッサ等に転送される。
Character data that has been converted by the conversion processing unit 6 and whose reading has been determined by operating the keyboard 2 is transferred via the buffer 11 and the input/output interface 12 to a word processor or the like to which the Honkana-Kanji conversion device 1 is applied.

上記変換処理部6は、第2図にその機能ブロック図を示
すように、文字コード取得部21、変換部22、辞書検
索部23、前単語情報記憶部24、簡単語情報−時記憶
部25、文字列格納部26を備えており、文字列格納部
26から前記CRTドライバ7およびCRT8で構成さ
れた表示部27に表示データが出力される。
As shown in FIG. 2, the conversion processing section 6 includes a character code acquisition section 21, a conversion section 22, a dictionary search section 23, a previous word information storage section 24, and a simple word information-time storage section 25. , a character string storage section 26, and display data is output from the character string storage section 26 to a display section 27 composed of the CRT driver 7 and CRT 8.

文字コード取得部21は前記ドライバ5から入力される
文字コードを受は取りキーボード2で指示された変換方
法、例えばかな変換等に従ってココドデータを“かな”
に変換するとともに、各種記号コードを検出して記号に
変換する。特に、前かっこ記号、例えば、“(”〔” 
ぴ等と後かっこ記号、例えば、“)m “〕”“)”等
を検出して変換するとともに、検出結果を変換部22に
出力する。
The character code acquisition unit 21 receives the character code input from the driver 5 and converts the cocodo data into "kana" according to the conversion method instructed by the keyboard 2, such as kana conversion.
It also detects various symbol codes and converts them into symbols. In particular, the front parenthesis symbol, e.g. “(” [”
It detects and converts symbols such as ")" and ")", and outputs the detection results to the converter 22.

変換部22は文字コード取得部21から入力されるかな
を漢字に変換処理するものであり、文字コード取得部2
1から入力されたかなを格納する読みバッファを備えて
いる。変換部22は文字コード取得部21から入力され
るかな文字数が所定数に達すると、入力されたかなの読
みを決定して辞書検索部23へ辞書10の検索を指示し
、辞書検索部23は変換部22からの指示に従って辞書
10を検索する。辞書検索部23は辞書10から当該読
みに該当する漢字を読み出して、変換部22に出力する
。変換部22は文字コード取得部21から漢字情報が入
力されると、その単語番号、読みサイズ、表記サイズ、
さらには、学習値、品詞コード、かかりコード等を作製
して単語情報バッファである前単語情報記憶部24に格
納し、前単語情報記憶部24は単!!1個に対して固定
バイト数の情報を持つ、単語番号は単語情報バッファ内
での先頭からの単語番号であり、読みサイズは当該単語
の読みバッファでの大きさを示している。また、表記サ
イズは当該単語の表記バッファである文字列格納部26
での大きさを示しており、学習値は過去の選択回数等を
示している。
The conversion unit 22 converts the kana input from the character code acquisition unit 21 into kanji, and the character code acquisition unit 2
It is equipped with a reading buffer that stores the kana input from 1. When the number of kana characters input from the character code acquisition section 21 reaches a predetermined number, the conversion section 22 determines the reading of the input kana and instructs the dictionary search section 23 to search the dictionary 10. The dictionary 10 is searched according to instructions from the converter 22. The dictionary search unit 23 reads out the kanji corresponding to the reading from the dictionary 10 and outputs it to the conversion unit 22 . When the kanji information is input from the character code acquisition unit 21, the conversion unit 22 converts the word number, reading size, notation size,
Furthermore, learning values, part-of-speech codes, starting codes, etc. are created and stored in the previous word information storage unit 24, which is a word information buffer, and the previous word information storage unit 24 is used for single! ! The word number, which has a fixed number of bytes of information for one word, is the word number from the beginning in the word information buffer, and the reading size indicates the size of the word in the reading buffer. Also, the notation size is determined by the character string storage section 26 which is the notation buffer of the word.
The learning value shows the number of past selections, etc.

このようにして当該かなの読みに対する漢字が辞書検索
部23から入力されると、変換部22は表記バッファで
ある文字列格納部26に漢字データを出力し、文字列格
納部26は表示部27、すなわちCRTドライバ7を介
してCRT8に当該漢字を表示する。この一連のかな漢
字変換処理を各バッファについてフォーマント的に表示
すると、第3図(a)(b)(c)ように示される。
When the kanji corresponding to the kana reading is input from the dictionary search unit 23 in this way, the conversion unit 22 outputs the kanji data to the character string storage unit 26 which is a notation buffer, and the character string storage unit 26 outputs the kanji data to the display unit 27. That is, the kanji is displayed on the CRT 8 via the CRT driver 7. When this series of kana-kanji conversion processing is displayed formantly for each buffer, it is shown as shown in FIGS. 3(a), (b), and (c).

前単語情報記憶部(単語情報バッファ)24は所定数分
の単語(例えば、2〜3単語数)の単語情報を格納して
おり、入力される単語数が増えると、順次更新される。
The previous word information storage unit (word information buffer) 24 stores word information for a predetermined number of words (for example, 2 to 3 words), and is sequentially updated as the number of input words increases.

変換部22は前記かな漢字変換に際し、前単語情報記憶
部24に格納されている前単語および前々回の単語等の
単語情報を参照し、前の単語との連がりを評価しながら
漢字変換する。
When performing the kana-kanji conversion, the conversion unit 22 refers to word information such as the previous word and the word before the previous time stored in the previous word information storage unit 24, and performs the kanji conversion while evaluating the continuity with the previous word.

また、変換部22は文字コード取得部21から前かっこ
記号を検出した旨のデータが入力されると、前単語情報
記憶部24に格納されている前単語情報を全て、簡単語
情報−時記憶部25に移して格納し、前単語情報記憶部
24内をクリアする。この前かっこ記号以降に入力され
る文字データ(すなわち、かな)を文頭からの入力と同
様に処理する。すなわち、前かっこ記号以降に入力され
る文字数が所定数に達する毎に1@次かな漢字変換し、
前単語情報を前単語情報記憶部24に格納する。その後
、文字コード取得部21から後かっこ記号を検出した旨
のデータが入力されると、°変換部22は文末処理と同
様に後かっこ記号の前に入力された文字データ(かな)
を漢字に変換するとともに、前単語情報記憶部24に格
納されている全ての前単語情報をクリアし、簡単語情報
−時記憶部25に格納した前かっこ記号の前の単語情報
を読み出して前単語情報記憶部24に格納する。変換部
22は後かっこ記号以降に入力された文字データ(かな
)を前かっこ記号の前の単語の続きとしてかな漢字変換
処理を行う、すなわち、後かっこ記号以降に入力された
かなを漢字に変換するに際し、前単語情報記憶部24に
格納された前かっこ記号の前の単語情報を参照して漢字
に変換する。
Further, when data indicating that a front parenthesis symbol has been detected is inputted from the character code acquisition unit 21, the conversion unit 22 converts all the previous word information stored in the previous word information storage unit 24 into simple word information - hour storage. 25 and stores it, and the previous word information storage section 24 is cleared. Character data input after this front parenthesis symbol (ie, kana) is processed in the same way as input from the beginning of the sentence. In other words, every time the number of characters input after the front parenthesis symbol reaches a predetermined number, 1@ next kana-kanji conversion is performed,
The previous word information is stored in the previous word information storage section 24. After that, when data indicating that a trailing parenthesis symbol has been detected is input from the character code acquisition unit 21, the ° conversion unit 22 converts the character data (kana) input before the trailing bracket symbol in the same manner as the end-of-sentence processing.
At the same time, all the previous word information stored in the previous word information storage section 24 is cleared, and the word information before the front parenthesis symbol stored in the simple word information-time storage section 25 is read out and the previous word information stored in the previous word information storage section 25 is read out. The word information is stored in the word information storage section 24. The conversion unit 22 performs kana-kanji conversion processing on the character data (kana) input after the back parenthesis symbol as a continuation of the word before the front parenthesis symbol, that is, converts the kana input after the back parenthesis symbol into kanji. At this time, the word information before the front parenthesis symbol stored in the previous word information storage section 24 is referred to and converted into a kanji character.

次に、作用を説明する。Next, the effect will be explained.

本発明はかな漢字変換においてかっこ記号を検出したと
きの処理にその特徴がある。
The present invention is characterized by processing when a parenthesis symbol is detected in kana-kanji conversion.

以下、第4図に示すフローチャートにしたがってこのか
な漢字変換処理について説明する。
This kana-kanji conversion process will be explained below according to the flowchart shown in FIG.

まず、文字コード取得部21はキーボード2から入力さ
れた文字コードを取得すると(ステップP、)、かなや
記号に変換して文字列格納部26に出力するとともに、
かっこ記号の検出を行う(ステップPg 、P3 ) 
、文字コード取得部21は前かっこ記号を検出しないと
きには、漢字に変換するか否か判断して(ステップP4
)、漢字変換するときには、入力されたかなの読みに応
じて辞書検索部23に辞書10を検索させ、漢字に変換
する(ステップPs )−このとき、前単語情報を参照
し、前の単語の連がりの適切な漢字をまず最初に選択す
る。その選択された読みの漢字を文字列格納部26に格
納しくステップP、)、表示部27のCRT8に表示す
る(ステップpv)。
First, when the character code acquisition unit 21 acquires the character code input from the keyboard 2 (step P), it converts it into a kana or symbol and outputs it to the character string storage unit 26.
Detect parentheses (steps Pg, P3)
, when the character code acquisition unit 21 does not detect a front parenthesis symbol, it determines whether or not to convert it into a kanji (step P4).
), when converting into kanji, the dictionary search unit 23 searches the dictionary 10 according to the input kana reading and converts into kanji (step Ps) - At this time, referring to the previous word information, First, select the appropriate kanji for the series. The selected kanji reading is stored in the character string storage section 26 (step P,) and displayed on the CRT 8 of the display section 27 (step pv).

なお、ステップP4で漢字に変換するか否かは、入力か
な数があらかじめ設定された文字数に達したか、句、読
点等の文末を示す記号が入力されたか、さらにはキーボ
ード2でオペレータが変換を指示するキー操作を行った
か等により判断する。
In addition, whether or not to convert to kanji in step P4 depends on whether the number of input kana characters reaches a preset number of characters, whether a symbol indicating the end of a sentence such as a phrase or comma is input, or whether the operator converts using the keyboard 2. The judgment is made based on whether a key operation was performed to instruct.

変換時期でないときには入力された文字や記号はかなや
記号として文字列格納部26に格納され、表示部27の
CRT8に表示される(ステップpt)。
When it is not time for conversion, the input characters and symbols are stored as kana or symbols in the character string storage section 26 and displayed on the CRT 8 of the display section 27 (step pt).

ステップptで、文字コード取得部21が前かっこ記号
を検出すると、まず、変換部22は前かっこ記号までの
かなを前単語情報記憶部24の前単語情報を参照して漢
字に変換しくステップP、)、次いで、前単語情報記憶
部24の前単語情報を全て簡単語情報−時記憶部25に
移して前単語情報記憶部24をクリアする(ステップP
9)。したがって、前かっこ記号以降に入力されたかな
はステップP、からステップP7に示した処理、すなわ
ち、文頭からのかな入力と同様の処理を行う。
When the character code acquisition section 21 detects a front parenthesis symbol in step pt, first, the conversion section 22 converts the kana up to the front parenthesis symbol into kanji by referring to the previous word information in the previous word information storage section 24.Step P ), then all the previous word information in the previous word information storage section 24 is transferred to the simple word information-time storage section 25 to clear the previous word information storage section 24 (step P
9). Therefore, for kana input after the front parenthesis symbol, the processing shown in steps P to P7 is performed, that is, the same processing as for kana input from the beginning of the sentence.

その後、後かっこ記号を検出するとくステップP、)、
入力されたかなか所定数に達していなくても、文末と同
様にかな漢字変換処理を行い(ステップP10)、前単
語情報記憶部24をクリアして簡単語情報−時記憶部2
5に格納した前かっこ記号の前の単語情報を前単語情報
記憶部24に格納する(ステップP+t)、そしてかな
漢字変換した漢字を文字列格納部26に格納しくステッ
プP、)、表示部27のCRT8に表示する(ステップ
P?)。
Then, when detecting the trailing parenthesis symbol, step P, ),
Even if the predetermined number of kana characters input has not been reached, the kana-kanji conversion process is performed in the same way as at the end of a sentence (step P10), the previous word information storage section 24 is cleared, and the simple word information-hour storage section 2 is stored.
The word information before the front parenthesis symbol stored in step 5 is stored in the previous word information storage section 24 (step P+t), and the kanji converted to kana-kanji is stored in the character string storage section 26 (step P,), and the display section 27 is Display on CRT 8 (step P?).

したがって、一対のかっこ記号でく(られた内のかな入
力を文頭からのかな人力と同様に独立にかな漢字変換す
ることができ、かっこ記号内の文章を適切にかな漢字変
換することができる。
Therefore, a pair of parentheses can be used to independently convert kana input into kana-kanji from the beginning of the sentence in the same way as kana input, and the text within the parentheses can be appropriately converted to kana-kanji.

さらに、後かっこ記号の後に入力されたかなはステップ
P、からステップP、に従ってかな漢字変換され、この
とき、前単語情報記憶部24に格納された前単語情報を
参照してかな漢字変換される。
Further, the kana input after the trailing parenthesis symbol is converted into kana-kanji according to steps P and P, and at this time, the previous word information stored in the previous word information storage section 24 is referred to for kana-kanji conversion.

したがって、後かっこ記号の文章を前かっこ記号の前の
文章を参照して前かっこ記号の続きとしてかな漢字変換
することができ、かっこ記号の前後の文章を連がりのあ
る文章として適切にかな漢字変換することができる。
Therefore, the sentence with the trailing parenthesis symbol can be converted into kana-kanji as a continuation of the front bracket symbol by referring to the sentence before the front bracket symbol, and the sentences before and after the parenthesis symbol can be properly converted into kana-kanji as a continuous sentence. be able to.

また、かっこ記号内にさらにかっこ記号が入っているよ
うな重複したかっこ記号を含む文章においても同様に処
理を行い、それぞれ対となるかっこ記号ごとに文章の区
切とその前後の文章の参照を行ってかな漢字変換を行う
、このようにして漢字に変換された文字データはキーボ
ード2の操作により決定されると、バッファ11および
入出力インターフェース12を介して図外のワードプロ
セッサ等に出力される。
In addition, the same process is applied to sentences that contain duplicate parentheses, such as parentheses containing another parenthesis, and each pair of parentheses separates the sentence and refers to the sentences before and after it. When the character data thus converted into Kanji is determined by operating the keyboard 2, it is outputted via the buffer 11 and input/output interface 12 to a word processor (not shown) or the like.

なお、上記実施例においては、前かっこ記号を検出した
とき1、前かっこ記号の前に入力されたかなをまず漢字
に変換した後、前単語情報を前単語情報記憶部24から
簡単語情報−時記憶部25に移しているが、これに限る
ものではなく、前かっこ記号を検出しても所定の文字数
になるか、変換を指示するキー操作が行われないときに
は漢字への変換処理は行わず、読みデータを一時他のバ
ッファに格納し、前単語情報記憶部24の前単語情報を
簡単語情報−時記憶部25に移してもよく。この場合、
後かっこ記号を検出したとき、前かっこ記号の前の読み
データを読みバッファに写し、後かっこ記号の後で人力
されるかなを前かっこ記号前のかなの続きとして処理す
る。
In the above embodiment, when a front parenthesis symbol is detected, 1, the kana input before the front parenthesis symbol is first converted into kanji, and then the previous word information is transferred from the previous word information storage unit 24 to the simple word information - However, the present invention is not limited to this, and if a predetermined number of characters is reached even if a front parenthesis symbol is detected, or if a key operation instructing conversion is not performed, the conversion process to kanji is not performed. First, the reading data may be temporarily stored in another buffer, and the previous word information in the previous word information storage section 24 may be transferred to the simple word information-time storage section 25. in this case,
When a trailing parenthesis symbol is detected, the reading data before the front bracket symbol is copied to the reading buffer, and the kana entered manually after the trailing bracket symbol is processed as a continuation of the kana before the front bracket symbol.

(効果) 本発明によれば、対となるかっこ記号内の文章を独立の
文章としてかな漢字変換するとともに、対となるかっこ
記号の前後の文字入力を連続する文字入力としてかな漢
字変換することができ、かっこ内の文章およびかっこを
挟んだ前後の文章を適切にかな漢字変換することができ
る。
(Effects) According to the present invention, it is possible to convert a sentence within a pair of parentheses into kana-kanji as an independent sentence, and to convert characters input before and after the pair of parentheses into kana-kanji as continuous character input. Sentences inside parentheses and sentences before and after the parentheses can be appropriately converted into kana-kanji.

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

第1図〜第4図は本発明のかな漢字変換装置の一実施例
を示す図であり、第1図はそのかな漢字変換装置のブロ
ック図、第2図はその変換処理部の機能ブロック図、第
3図(a)(b)(c)はそれぞれ文字列格納部(表記
バッファ)のデータフォーマット、変換部(読みバッフ
ァ)のデータフォーマットおよび前単語情報記憶部(単
語情報バッファ)あるいは簡単語情報−時記憶部のデー
タフオーマント、第4図はそのかな漢字変換処理を示す
フローチャートである。 1・・・・・・かな漢字変換装置、 6・・・・・・変換処理部、 8・・・・・・CRT。 10・・・・・・辞書、 21・・・・・・文字コード取得部、 22・・・・・・変換部、 23・・・・・・辞書検索部、 24・・・・・・前単語情報記憶部、 25・・・・・・簡単語情報−時記憶部、26・・・・
・・文字列格納部、 27・・・・・・表示部。
1 to 4 are diagrams showing one embodiment of the kana-kanji conversion device of the present invention, FIG. 1 is a block diagram of the kana-kanji conversion device, FIG. 2 is a functional block diagram of the conversion processing section, and FIG. 3 (a), (b), and (c) respectively show the data format of the character string storage section (notation buffer), the data format of the conversion section (reading buffer), and the previous word information storage section (word information buffer) or simple word information. FIG. 4 is a flowchart showing the kana-kanji conversion process. 1... Kana-kanji conversion device, 6... Conversion processing unit, 8... CRT. 10... Dictionary, 21... Character code acquisition unit, 22... Conversion unit, 23... Dictionary search unit, 24... Front Word information storage unit, 25... Simple word information-time storage unit, 26...
...Character string storage section, 27...Display section.

Claims (1)

【特許請求の範囲】[Claims] 入力されたかな文字を所定数のかな文字毎に前の単語と
比較して漢字に変換するかな漢字変換装置において、前
かっこ記号を検出すると、前かっこ記号以降の入力文字
を文頭からのかな入力と判断してかな漢字変換し、該前
かっこ記号と対となる後かっこ記号を検出すると、文末
と判断してかな漢字変換するとともに、該後かっこ記号
以後に入力される入力文字を該前かっこ記号の前に入力
された入力文字の続き文字としてかな漢字変換すること
を特徴とするかな漢字変換装置。
In a kana-kanji conversion device that converts input kana characters into kanji by comparing them with the previous word every predetermined number of kana characters, when a front parenthesis symbol is detected, the input characters after the front parenthesis symbol are converted into kana input from the beginning of the sentence. When a trailing bracket symbol that pairs with the front bracket symbol is detected, it is determined to be the end of a sentence and converted to kana-kanji, and the input characters input after the trailing bracket symbol are converted into kana-kanji characters before the front bracket symbol. A kana-kanji conversion device that converts input characters into kana-kanji as continuation characters.
JP63055391A 1988-03-08 1988-03-08 Kana/kanji converter Pending JPH01228057A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63055391A JPH01228057A (en) 1988-03-08 1988-03-08 Kana/kanji converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63055391A JPH01228057A (en) 1988-03-08 1988-03-08 Kana/kanji converter

Publications (1)

Publication Number Publication Date
JPH01228057A true JPH01228057A (en) 1989-09-12

Family

ID=12997217

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63055391A Pending JPH01228057A (en) 1988-03-08 1988-03-08 Kana/kanji converter

Country Status (1)

Country Link
JP (1) JPH01228057A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007004637A (en) * 2005-06-24 2007-01-11 Microsoft Corp Kana-kanji conversion

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007004637A (en) * 2005-06-24 2007-01-11 Microsoft Corp Kana-kanji conversion

Similar Documents

Publication Publication Date Title
US4777600A (en) Phonetic data-to-kanji character converter with a syntax analyzer to alter priority order of displayed kanji homonyms
JPS6359660A (en) Information processor
JPH01228057A (en) Kana/kanji converter
JP2595934B2 (en) Kana-Kanji conversion processor
JPH05233600A (en) Word processor
JP2634596B2 (en) Kana-Kanji conversion device
JP2719453B2 (en) Machine translation equipment
JP3351397B2 (en) Chinese input device and Chinese input method
JPS60189573A (en) Character convertor
JP3466761B2 (en) Document processing apparatus and control method thereof
JPS62203266A (en) Mechanical translation system
JPH0535788A (en) Information processing device
JPH05210629A (en) Display control system
JP2982162B2 (en) Kana-Kanji conversion device
JPH01195576A (en) Dictionary editor device
JPH06290219A (en) Document processor with character retrieving function
JPS62282364A (en) Character string retrieval system
JPS60207948A (en) "kana"/"kanji" conversion processor
JPH0695330B2 (en) Document creation device
JPH08241315A (en) Word registering mechanism for document processor
JPS62150462A (en) Sentence error automatic correcting system
JPH0350669A (en) Information processor
JPH06332938A (en) Natural language analyzing device and machine translation device
JPH0371369A (en) English word retrieving device
JPH01126770A (en) Kana/kanji converter