JPH07104863B2 - Kana-Kanji converter - Google Patents

Kana-Kanji converter

Info

Publication number
JPH07104863B2
JPH07104863B2 JP61069999A JP6999986A JPH07104863B2 JP H07104863 B2 JPH07104863 B2 JP H07104863B2 JP 61069999 A JP61069999 A JP 61069999A JP 6999986 A JP6999986 A JP 6999986A JP H07104863 B2 JPH07104863 B2 JP H07104863B2
Authority
JP
Japan
Prior art keywords
word
kana
sentence
conversion
dictionary
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
JP61069999A
Other languages
Japanese (ja)
Other versions
JPS62226371A (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.)
Seiko Epson Corp
Original Assignee
Seiko Epson 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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP61069999A priority Critical patent/JPH07104863B2/en
Publication of JPS62226371A publication Critical patent/JPS62226371A/en
Publication of JPH07104863B2 publication Critical patent/JPH07104863B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、カナコード等で入力された日本語文章をかな
漢字混じり文に変換して出力する、かな漢字変換装置に
関する。
TECHNICAL FIELD The present invention relates to a kana-kanji conversion device for converting a Japanese sentence input by a kana code or the like into a kana-kanji mixed sentence and outputting it.

〔従来の技術〕[Conventional technology]

従来のキー入力等により入力された日本語かな文章をか
な漢字混じり文章に変換する、かな漢字変換装置におい
ては、変換対象を口語か文語に固定していた。しかし、
手紙文や引用文等両者が混在する場合、どちらか一方
(通常は口語のみ)しか対応しておらず、不便であっ
た。
In a conventional kana-kanji conversion device for converting a Japanese kana sentence input by key input or the like into a kana-kanji mixed sentence, the conversion target is fixed to a spoken word or a sentence word. But,
When both letters and quotes are mixed, only one of them (usually only spoken) is supported, which is inconvenient.

また、この両者を混在して変換する場合は、文章解析に
おいて、多くのあいまい性をもたらす要因となる為、こ
れは行ない得ない。
In addition, when both of them are mixed and converted, this cannot be done because it causes a lot of ambiguity in the sentence analysis.

〔発明が解決しようとする問題点〕[Problems to be solved by the invention]

前述の従来技術に対して、文章解析にあいまい性をもた
らさず文語・口語どちらも変換したいのであるから、こ
れを切り換えて処理する事になり、この為には2通りの
辞書が必要でありこれを合理的に行なおうとするもので
ある。
In contrast to the above-mentioned conventional technique, since it is desired to convert both the spoken language and the spoken language without introducing ambiguity in the sentence analysis, it is necessary to switch and process them. For this purpose, two dictionaries are required. It is intended to do rationally.

〔問題点を解決する為の手段〕[Means for solving problems]

前述の問題点を解決する為に本発明のかな漢字変換装置
は、 語見出しと該語見出しに対応する語候補とを記憶した辞
書と、入力されたかな文字列を前記辞書を参照して文節
分かち書きする文節処理手段とを備え、前記かな文字列
をかな漢字混じり文に変換するかな漢字変換装置におい
て、 口語のかな漢字変換か、文語のかな漢字変換かを指定す
る指定手段を備え、 前記辞書は、口語の語見出しと該口語の語見出しに対応
する語候補とを記憶した口語領域と、文語の語見出しと
該文語の語見出しに対応する語候補とを記憶した文語領
域とを有し、 前記文節処理手段は、 前記指定手段による指定に基づいて、口語による変換と
文語による変換とを切り換える変換切換手段と、 前記変換切換手段により口語による変換に切り換えられ
たとき、前記かな文字列から切り出された語見出しにつ
いて前記辞書の前記口語領域を参照し、該参照された語
候補と口語の文法規則とに基づいて前記かな文字列を文
節分かち書きする口語処理手段と、 前記変換切換手段により文語による変換に切り換えられ
たとき、前記かな文字列から切り出された語見出しにつ
いて前記辞書の前記文語領域を参照し、該参照された語
候補と文語の文法規則とに基づいて前記かな文字列を文
節分かち書きする文語処理手段とを備える ことを特徴とする。
In order to solve the above-mentioned problems, a kana-kanji conversion device of the present invention refers to a dictionary storing a word heading and a word candidate corresponding to the word heading, and an input kana character string with reference to the dictionary, and word segmentation. In the kana-kanji conversion device for converting the kana character string into a kana-kanji mixed sentence, the kana-kanji conversion device is provided with specification means for designating kana-kanji conversion of colloquial words or kana-kanji conversion of sentence words. A clause area storing a headline and a word candidate corresponding to the colloquial word heading, and a sentence word area storing a sentence word heading and a word candidate corresponding to the sentence word heading; Is a conversion switching unit that switches between conversion by colloquial words and conversion by sentence words based on the designation by the designating unit; and The colloquial language processing means for referring to the colloquial area of the dictionary for word headings cut out from the kana character string, and segmenting the kana character string into phrases based on the referenced word candidates and grammatical rules of colloquial words; When switching to conversion by a sentence word by the switching means, the sentence word area of the dictionary is referred to for the word heading cut out from the kana character string, and the kana is obtained based on the referred word candidate and the grammatical rule of the sentence word. And a word processing means for writing a character string into sub-clauses.

[作用] 以上のように構成された本発明のかな漢字変換装置は、
文節処理手段が、口語の語見出しとこの口語の語見出し
に対応する語候補とを記憶した口語領域と、文語の語見
出しとこの文語の語見出しに対応する語候補とを記憶し
た文語領域とを備える辞書を参照して、入力されたかな
文字列を文節分かち書きする。
[Operation] The kana-kanji conversion device of the present invention configured as described above
A clause processing means, a colloquial area storing a colloquial word heading and a word candidate corresponding to this colloquial word heading, and a sentence word area storing a sentence word heading and a word candidate corresponding to this colloquial word heading; The input kana character string is segmented into phrases by referring to a dictionary including.

操作者は、指定手段により、口語のかな漢字変換か、文
語のかな漢字変換かを指定する。文節処理手段が備える
変換切換手段は、指定手段による指定に基づいて、口語
による変換と文語による変換とを切り換える。文節処理
手段が備える口語処理手段は、変換切換手段により口語
による変換に切り換えられたとき、入力されたかな文字
列から切り出された語見出しについて辞書の口語領域を
参照し、この参照された語候補と口語の文法規則とに基
づいてかな文字列を文節分かち書きする。文節処理手段
が備える文語処理手段は、変換切換手段により文語によ
る変換に切り換えられたとき、入力されたかな文字列か
ら切り出された語見出しについて辞書の文語領域を参照
し、この参照された語候補と文語の文法規則とに基づい
てかな文字列を文節分かち書きする。
The operator designates either kana-kanji conversion of colloquial words or kana-kanji conversion of sentence words by the specifying means. The conversion switching means included in the clause processing means switches between conversion by colloquial words and conversion by sentence words based on the designation by the designating means. The colloquial word processing means included in the phrase processing means refers to the colloquial area of the dictionary for a word heading cut out from the input kana character string when the conversion switching means switches to the conversion by the colloquial word, and the referred word candidate Based on the grammatical rules of colloquial language, the kana character string is segmented into phrases. The word processing means included in the clause processing means refers to the word area of the dictionary for the word heading cut out from the input kana character string when the conversion switching means switches to the conversion by the word, and the referenced word candidate Based on the grammatical rules of the sentence and the grammar, the kana character string is segmented into sentences.

[実施例] ここで、以下に本発明の詳細を図示した実施例に基づい
て説明する。
[Examples] Here, details of the present invention will be described below based on illustrated examples.

第1図は本発明のかな漢字変換装置の一実施例を示す図
である。図中符号1は入力部2(キーボード等)より入
力されたデータに基づき、システム全体の制御を行なう
中央処理装置である。入力部2により読み込まれた文字
列および制御コードは、かな漢字変換装置8に送られか
な漢字変換が行なわれる。
FIG. 1 is a diagram showing an embodiment of a kana-kanji conversion device of the present invention. Reference numeral 1 in the figure is a central processing unit that controls the entire system based on data input from an input unit 2 (keyboard or the like). The character string and the control code read by the input unit 2 are sent to the kana-kanji conversion device 8 for kana-kanji conversion.

かな文字入力部9により取り込まれたかな文字列は文節
区切り部10により、辞書展開区分11において自立語辞書
と付属語辞書と単語検定部より相互にの連結の可能性を
検定しながら自動的に文節区切りが行なわれ、文節単位
にかな漢字候補が作られ、文節候補格納部12に格納され
た文節候補出力部13により出力される。
The kana character string taken in by the kana character input unit 9 is automatically detected by the phrase delimiter unit 10 in the dictionary expansion section 11 while verifying the possibility of mutual connection from the independent word dictionary, the auxiliary word dictionary, and the word test unit. Phrase segmentation is performed, Kana-Kanji candidates are created for each segment, and the segment candidate output unit 13 stored in the segment candidate storage unit 12 outputs.

この時、口語・文語切換指定部7で指定された文語,口
語の区分に従い、文語・口語切換部14により、口語の場
合は口語専用自立語辞書15,共通使用自立語辞書17,口語
専用付属語辞書18,共通使用付属語辞書20,口語検定部22
が選択され、文語の場合は文語専用自立語辞書15,共通
使用自立語辞書17,口語専用付属語辞書18,共通使用付属
語辞書20,文語検定部22が選択され使用される。
At this time, according to the sentence word / spoken word switching unit 14 specified by the spoken word / sentence word switching specification unit 7, the spoken word / spoken word switching unit 14 makes a spoken word independent word dictionary 15, a common use independent word dictionary 17, a spoken word exclusive Word dictionary 18, Commonly used accessory dictionary 20, Colloquial language test unit 22
In the case of a sentence word, the sentence word independent word dictionary 15, the commonly used independent word dictionary 17, the colloquial auxiliary word dictionary 18, the commonly used auxiliary word dictionary 20, and the sentence word verification unit 22 are selected and used.

これらの解析が終了した段階で、かな漢字候補選択部3
よりの表示要求により文節候補出力部13より文節候補群
を出力し、文節候補表示部4により、表示部5に表示さ
れかな漢字候補選択部3により候補が選択され文節候補
確定部6により候補が確定する。
When these analyzes are completed, the Kana-Kanji candidate selection unit 3
The phrase candidate output unit 13 outputs a phrase candidate group in response to a display request from the phrase candidate display unit 4, the phrase candidate display unit 4 displays the display unit 5, the Kana / Kanji candidate selection unit 3 selects a candidate, and the phrase candidate determination unit 6 determines the candidate. To do.

ここで、例をあげて説明するならば、例えば〔ここで、
本分には次の文章がまず出てくる。「昔 男の子 あり
けり」〕という文章を入力したい場合、まず、口語・文
語切換指定部7により、口語を入力するスイツチをたて
る。
Here, to give an example, for example, [where,
The following sentence appears first in the book. If you want to input the sentence "Old boy boy", first, use the colloquial / sentence word switching designation unit 7 to make a switch to input the colloquial language.

そして、「ここで、ほんぶんにはつぎのぶんしょうがま
ずでてくる」という口語文章を入力部2により入力す
る。このかな文字はかな文字列入力部9により、取り込
まれ文節区切り部10により辞書展開部11を使用しながら
文節候補を文節候補格納部12に格納する。この辞書展開
部11においては、先のスイツチにより、口語検定部22口
語専用付属語辞書18,共通使用付属語辞書20,口語専門自
立語辞書15,共通使用自立語辞書17が分析に使用される
様に設定され、口語としての解析がなされ、文節候補出
力部13より、逐次文節単位に候補が出力され、文節候補
表示部4により表示部5に表示され、かな漢字候補選択
部3と文節候補確定部6により、所望のかな漢字混じり
文章に変換できる。
Then, the colloquial sentence "Here, the next sentence comes first" is input by the input unit 2. The kana character is input by the kana character string input unit 9 and the bunsetsu delimiter 10 stores the bunsetsu candidate in the bunsetsu candidate storage 12 while using the dictionary expansion unit 11. In the dictionary expansion unit 11, the collation test unit 22 the spoken word adjunct dictionary 18, the commonly used adjunct dictionary 20, the colloquial independent word dictionary 15, and the commonly used independent word dictionary 17 are used for analysis by the switch. Are set as described above, analysis is performed as a colloquial language, candidates are sequentially output from the phrase candidate output unit 13 in units of phrases, and the candidates are displayed on the display unit 5 by the phrase candidate display unit 4, and the kana-kanji candidate selection unit 3 and the phrase candidates are confirmed. The unit 6 can convert the sentence into a desired kana-kanji mixed sentence.

次に口語のままで「むかしおのこありけり」と入力した
のでは、文語である「男の子」「ありけり」などが正し
く変換されず「昔お鋸有り蹴り」などという誤変換を行
なう。そこで次に口語・文語切換指定部7により、文語
を入力するスイツチをたてる。
Next, if you enter "Mukashio Noko Arikari" in colloquial words, the sentence words "boy" and "Arikari" will not be converted correctly, and an erroneous conversion such as "old-fashioned saw kick" will be performed. Then, next, the spoken language / sentence word switching designation unit 7 makes a switch for inputting a sentence word.

そして、「むかしおのこありけり」という文語文章を入
力部2より入力する。このかな文字はかな文字列入力部
9により、取り込まれ文節区切り部10により辞書展開部
11を使用しながら文節候補を文節候補格納部12に格納す
るこの辞書展開部11においては、先のスイツチにより、
文語検定部21,文語専用付属語辞書19,共通使用付属語辞
書20,文語専門自立語辞書16,共通使用自立語辞書17が分
析に使用される様に設定され、文語としての解析がなさ
れ、文節候補出力部13より、逐次文節単位に候補が出力
され、文節候補表示部4により表示部5に表示され、か
な漢字候補選択部3と文節候補確定部6により、所望の
かな漢字混じり文章に変換できる事になる。
Then, the word sentence “Mukashio no Korekari” is input from the input unit 2. This kana character is taken in by the kana character string input unit 9 and is extracted by the phrase delimiter unit 10 into a dictionary expansion unit.
In this dictionary expansion unit 11, which stores the phrase candidates in the phrase candidate storage unit 12 while using 11,
The sentence test unit 21, the sentence-specific auxiliary word dictionary 19, the common-use auxiliary word dictionary 20, the sentence-specific independent word dictionary 16, the common-use independent word dictionary 17 are set to be used for analysis, and are analyzed as sentence words. Candidates are sequentially output from the phrase candidate output unit 13 in units of phrases, displayed on the display unit 5 by the phrase candidate display unit 4, and can be converted into a desired Kana-Kanji mixed sentence by the Kana-Kanji candidate selection unit 3 and the phrase candidate determination unit 6. It will be a matter.

第2図は、本発明の一実施例の動作を示すフローチヤー
トである。
FIG. 2 is a flow chart showing the operation of the embodiment of the present invention.

まず、<200>において口語文語切換部7により、どち
らを行なうか指定する。ここで、口語であればSWを0と
し、文語であればSWを1としておく。そして、<201>
によって変換するかな文字列を入力するが、先のSWが0
であれば口語の文法処理と口語の辞書類による<203>
の口語変換がなされ、そうでなければ文語の文法処理と
文語の辞書類による<202>の文語変換がなされ、<204
>で文節候補表示しながら、所望の漢字文字列を<205
>で選択しながら、これを繰り返し確定する。
First, in <200>, the colloquial sentence switching unit 7 designates which is to be performed. Here, SW is set to 0 for colloquial words, and SW is set to 1 for sentence words. And <201>
Input the kana character string to be converted by, but the previous SW is 0
If so, grammar processing of colloquial language and colloquial dictionaries <203>
The colloquial translation of <202> is performed otherwise, and the grammatical processing of the sentence and the dictionary conversion of <202> are performed, and <204>
Use > to display the phrase candidates and <205
Repeat this while selecting with>.

以上説明した実施例のかな漢字変換装置によれば、口語
・文語切換指定部からの指示により単語検索する辞書1
5,16および18,19と検定部21,22とを切り換えるから、口
語または文語からなるかな文字列を適切に文節分かち書
きすると共にかな漢字変換することができる。
According to the kana-kanji conversion device of the above-described embodiment, the dictionary 1 for searching a word according to the instruction from the colloquial / sentence word switching designation unit 1
Since 5, 16 and 18, 19 and the test units 21, 22 are switched, it is possible to appropriately write a kana character string consisting of colloquial words or sentence words into bunsetsu and perform kana-kanji conversion.

〔発明の効果〕〔The invention's effect〕

以上説明した本発明のかな漢字変換装置によれば、変換
切換手段により口語による変換と文語による変換とを切
り換えることにより参照する辞書の領域を変えてるか
ら、口語の文法規則または文語の文法規則に基づき口語
または文語からなるかな文字列を適切に文節分かち書き
すると共にかな漢字変換することができる。
According to the kana-kanji conversion device of the present invention described above, since the area of the dictionary to be referred to is changed by switching between conversion by colloquial words and conversion by sentence words by the conversion switching means, based on the grammatical rules of colloquial words or the grammatical rules of sentence words. Kana-Kanji conversion can be performed while appropriately writing a Kana character string consisting of colloquial or sentence words into bunsetsu.

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

第1図は本発明の一実施例のかな漢字変換装置の概略を
示す機能ブロツク図である。 第2図は本発明の動作を示すフローチヤートである。 18……口語専用付属語辞書 19……文語専用付属語辞書
FIG. 1 is a functional block diagram showing an outline of a kana-kanji conversion device according to an embodiment of the present invention. FIG. 2 is a flow chart showing the operation of the present invention. 18 …… Adjective dictionary for colloquial words 19 …… Adjective dictionary for sentence words

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】語見出しと該語見出しに対応する語候補と
を記憶した辞書と、入力されたかな文字列を前記辞書を
参照して文節分かち書きする文節処理手段とを備え、前
記かな文字列をかな漢字混じり文に変換するかな漢字変
換装置において、 口語のかな漢字変換か、文語のかな漢字変換かを指定す
る指定手段を備え、 前記辞書は、口語の語見出しと該口語の語見出しに対応
する語候補とを記憶した口語領域と、文語の語見出しと
該文語の語見出しに対応する語候補とを記憶した文語領
域とを有し、 前記文節処理手段は、 前記指定手段による指定に基づいて、口語による変換と
文語による変換とを切り換える変換切換手段と、 前記変換切換手段により口語による変換に切り換えられ
たとき、前記かな文字列から切り出された語見出しにつ
いて前記辞書の前記口語領域を参照し、該参照された語
候補と口語の文法規則とに基づいて前記かな文字列を文
節分かち書きする口語処理手段と、 前記変換切換手段により文語による変換に切り換えられ
たとき、前記かな文字列から切り出された語見出しにつ
いて前記辞書の前記文語領域を参照し、該参照された語
候補と文語の文法規則とに基づいて前記かな文字列を文
節分かち書きする文語処理手段とを備える ことを特徴とするかな漢字変換装置。
1. A kana character string, comprising: a dictionary storing a word heading and a word candidate corresponding to the word heading; and a phrase processing means for writing an input kana character string into phrase segments with reference to the dictionary. In a kana-kanji conversion device for converting kana-kanji mixed sentences, a kana-kanji conversion for colloquial words or a kana-kanji conversion for sentence words is provided with a specifying means, and the dictionary includes word headings of colloquial words and word candidates corresponding to the word headings of the colloquial words. And a word area storing a word heading of the sentence word and a word candidate corresponding to the word heading of the sentence word, the clause processing means, based on the designation by the designating means, Conversion switching means for switching between conversion by the word conversion and conversion by the sentence word, and when the conversion switching means switches to conversion by the colloquial words, the word heading cut out from the kana character string is A collaborative processing unit that refers to the colloquial area of the dictionary and punctures the kana character string based on the referred word candidates and collaborative grammatical rules, and the conversion switching unit switches to conversion by sentence words. At this time, a word processing unit that refers to the word area of the dictionary for word headings cut out from the kana character string, and performs word segmentation of the kana character string on the basis of the referred word candidates and grammatical rules of the word. A kana-kanji conversion device that is equipped with.
JP61069999A 1986-03-28 1986-03-28 Kana-Kanji converter Expired - Fee Related JPH07104863B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61069999A JPH07104863B2 (en) 1986-03-28 1986-03-28 Kana-Kanji converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61069999A JPH07104863B2 (en) 1986-03-28 1986-03-28 Kana-Kanji converter

Publications (2)

Publication Number Publication Date
JPS62226371A JPS62226371A (en) 1987-10-05
JPH07104863B2 true JPH07104863B2 (en) 1995-11-13

Family

ID=13418877

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61069999A Expired - Fee Related JPH07104863B2 (en) 1986-03-28 1986-03-28 Kana-Kanji converter

Country Status (1)

Country Link
JP (1) JPH07104863B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2729996B2 (en) * 1988-06-22 1998-03-18 キヤノン株式会社 Document processing apparatus and method
JP2810880B2 (en) * 1992-09-25 1998-10-15 住友金属工業株式会社 Document creation system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58127231A (en) * 1982-01-22 1983-07-29 Toshiba Corp Kanji (chinese character)-kana (japanese syllabary) converter

Also Published As

Publication number Publication date
JPS62226371A (en) 1987-10-05

Similar Documents

Publication Publication Date Title
JPH0433069B2 (en)
JPH07104863B2 (en) Kana-Kanji converter
JP2595934B2 (en) Kana-Kanji conversion processor
JPS58123129A (en) Converting device of japanese syllabary to chinese character
JPS62197864A (en) Language information offering device
JPH0130173B2 (en)
JPH0380363A (en) Document processor
JPS58123124A (en) Documentation device
JPH0154744B2 (en)
JPS60207948A (en) &#34;kana&#34;/&#34;kanji&#34; conversion processor
JPH0421901B2 (en)
JPH08335217A (en) Reading converting method and document preparation device
JPH08171568A (en) Multilingual input method
JPH0131229B2 (en)
JPH0350669A (en) Information processor
JPS60112175A (en) Abbreviation conversion system of kana (japanese syllabary)/kanji (chinese character) convertor
JPS62140165A (en) Kana-kanji conversion system
JPH05342197A (en) Japanese word processor
JPS62120571A (en) Conversion processing system for continuous paragraph in japanese documentation device
JPS6091434A (en) Document producer
JPH0546612A (en) Sentence error detector
JPH08241315A (en) Word registering mechanism for document processor
JPH0468466A (en) Kana / kanji converting device
JPH064519A (en) Word processor
JPH0816572A (en) Automatic recognition system of alphanumerics/kana character

Legal Events

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