JPH03246663A - Single kanji converter - Google Patents

Single kanji converter

Info

Publication number
JPH03246663A
JPH03246663A JP2043895A JP4389590A JPH03246663A JP H03246663 A JPH03246663 A JP H03246663A JP 2043895 A JP2043895 A JP 2043895A JP 4389590 A JP4389590 A JP 4389590A JP H03246663 A JPH03246663 A JP H03246663A
Authority
JP
Japan
Prior art keywords
kanji
character string
string
input
kana
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
JP2043895A
Other languages
Japanese (ja)
Inventor
Tsuneaki Kato
加藤 恒昭
Yoshiji Oyama
芳史 大山
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2043895A priority Critical patent/JPH03246663A/en
Publication of JPH03246663A publication Critical patent/JPH03246663A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To simply input a single 'KANJI' (Chinese character) by inputting a single 'KANJI' to be inputted and a word including the single 'KANJI', converting the word into 'KANJI' and selecting the single 'KANJI' from the 'KANJI' string. CONSTITUTION:The single 'KANJI' converter is provided with an input charac ter string analysis part 1, a 'KANA' (Japanese syllabary)/'KANJI' conversion part 2 and a 'KANJI' selection part 3. When the 'KANA' (Roma-ji) notation of a 'KANJI' phrase (word) including the single 'KANJI' to be inputted, a dividing code such as 'no' or ' .. ' and the reading of the single 'KANJI' to be inputted out of the 'KANJI' phrase are inputted and the execution of single 'KANJI' conversion is transmitted to a converter (in order to obtain 'KANJI' 'sho' e.g., a character string 'showa no sho' ('sho' out of 'showa') consisting of the 'KANJI' phrase 'showa' including the single 'KANJI' 'sho' to be inputted, a division code 'no' (meaning 'out of') and the single 'KANJI' 'sho' is inputted and a single 'KANJI' conversion key is pressed), the 'KANJI' to be inputted is outputted as a converted result. Consequently, the preparation of skill, a code book, etc., is made unnecessary and a simple and easily usable single 'KANJI' converter is obtained.

Description

【発明の詳細な説明】 「産業上の利用分野」 この発明は、入力装置から入力される平仮名(ローマ字
)文字列を、カナ漢字変換して出力する文書作成装W(
ワードプロセッサ等)や、上記入力文字列をカナ漢字変
換して処理装置に送る日本語フロントエンド等における
カナ漢字変換装置、特に単漢字に変換する単漢字変換装
置に関する。
DETAILED DESCRIPTION OF THE INVENTION "Field of Industrial Application" This invention is a document creation device W (
The present invention relates to a kana-kanji conversion device used in a word processor (such as a word processor) or a Japanese front end that converts the input character string into kana-kanji and sends it to a processing device, and particularly relates to a single-kanji conversion device that converts the input character string into a single kanji.

「従来の技術」 従来のカナ漢字変換装置において、姓名・地名等の固有
名詞を入力する場合、単語辞書にその固有名詞が登録さ
れていないことが多く、この場合、利用者は漢字を一文
字ずつカナ漢字変換して入力することが必要となる。例
えば「恒昭(つねあき)」と入力したい場合、「つねあ
き」をカナ漢字変換しても所望の変換結果は得られない
ことが多く、「恒」と「昭」とを一文字ずつ入力する必
要がある、固有名詞の数は膨大で、その全てを単語辞書
に登録しておくことは困難であるため、このような単漢
字の入力は必ず生じる事態である。従来のカナ漢字変換
装置においては、この様な単漢字入力の手段として以下
のものが主に提供されている。
"Conventional technology" When inputting a proper noun such as a surname or place name in a conventional kana-kanji conversion device, the proper noun is often not registered in the word dictionary, and in this case, the user inputs the kanji character by character. It is necessary to convert the text to kana-kanji before inputting it. For example, if you want to input ``Tsuneaki'', converting ``Tsuneaki'' to kana-kanji will often not yield the desired conversion result, and you will need to input ``Tsuneaki'' and ``昭'' one character at a time. There are a huge number of proper nouns, and it is difficult to register them all in a word dictionary, so inputting a single kanji like this always occurs. In conventional kana-kanji conversion devices, the following are mainly provided as means for inputting single kanji.

■ツー1入力法−・入力したい漢字のコード(JISコ
ードや句点コード)を入力 して変換する。
■2-1 input method--Enter the code (JIS code or period code) of the kanji you want to input and convert.

■2ストローク法−漢字ごとに特殊なコードを決め、そ
れを入力する。
■Two-stroke method - Decide on a special code for each kanji and enter it.

■読み入力法−・入力したい漢字の音読み(「昭Jであ
れば、「しょう」)を入力し て変換する。
■ Reading input method--Enter the on-yomi of the kanji you want to input (for Sho J, ``Sho'') and convert.

「発明が解決しようとする課題」 第1のコード入力法は、入力したい漢字のコードをコー
ドブック等で調べる必要があり、手間のかかる手法であ
る。第2の2ストローク法は、特殊なコードを暗記する
必要があり、熟練を要する手法である。第3の読み入力
法は、一般には同音異語(「シょう」については、章、
賞、小、星、等)が多く、所望の漢字を得るまでに、多
数回、次候補キイを押下するなどの操作が必要であり、
使い勝手の良いものではなかった。つまり、単漢字を入
力するための簡便な手段が、従来は提供されていなかっ
た。
"Problem to be Solved by the Invention" The first code input method is a time-consuming method as it requires searching the code of the kanji to be input in a code book or the like. The second two-stroke method requires memorization of special codes and requires skill. The third reading input method is generally used for homophones (for ``sho'', refer to chapters,
There are many kanji (prize, small, star, etc.), and it is necessary to press the next candidate key many times to get the desired kanji.
It wasn't easy to use. In other words, a simple means for inputting single kanji has not been provided in the past.

「課題を解決するための手段」 この発明では入力文字列を解析し、前半の熟語部分(左
文字列)と、後半の読みの部分(右文字列)とに分離し
、その分離された右文字列が左文字列のどの部分である
かの位置情報を抽出する入力文字列解析部と、分離され
た前半部(左文字列)を従来のカナ漢字変換(単語変換
)Ill能によりカナ漢字変換して漢字文字列を得るカ
ナ漢字変換部と、得られた結果から位置情報を用いて後
半の読みの部分(右文字列)に相当する部分(漢字一文
字)を選択して出力する漢字選択部とよりなる。
"Means for Solving the Problem" In this invention, an input string is analyzed, separated into the first half of the idiom part (left string) and the second half of the reading part (right string), and the separated right An input character string analysis unit extracts the positional information of which part of the left character string the character string is, and converts the separated first half (left character string) into kana-kanji using conventional kana-kanji conversion (word conversion) Ill-noh. A kana-kanji converter that converts to obtain a kanji string, and a kanji selection unit that selects and outputs the part (one kanji character) that corresponds to the second half of the reading (right string) using position information from the obtained result. It becomes more than the department.

「作 用」 この構成の装置に対し、入力したい単漢字を含む漢字熟
語(単語)の平板名(ローマ字)表記と、[のJもしく
は「、コなどの区切り記号と、その漢字熟語中での入力
したい単漢字の読みとを入力し、(特殊キイの押下等に
より)単漢字変換を行うことを装置に伝えることにより
(例えば、[昭1を得るためにこれを含む漢字熟語「昭
和」と、[の]と、入力したい単漢字「昭」とよりなる
文字列「しょうわのしょう」と入力し、単漢字変換キイ
を押下する)、入力したい漢字が変換結果として出力さ
れる。なお、次候補が必要な場合には、それを(特殊キ
イの押下等により)装置に伝えることにより、カナ漢字
変換部に得られている次候補単語と位置情報とを基に、
変換結果の次候補を出力する。
``Function'' For a device with this configuration, you can write the plain name (Roman alphabet) of the kanji compound word (word) that includes the single kanji character you want to input, the delimiters such as [J or ``, ko, and By inputting the pronunciation of the single kanji that you want to input and telling the device to convert the single kanji (by pressing a special key, etc.) (for example, enter the kanji idiom ``Showa'' containing this to obtain ``Showa''). , [No] and the single kanji character ``昭'' that you want to input, such as ``showa no sho'', and presses the ``single kanji conversion key''), and the kanji you want to input is output as the conversion result. If you need the next candidate, you can tell it to the device (by pressing a special key, etc.), and based on the next candidate word and position information obtained by the kana-kanji converter,
Outputs the next candidate of the conversion result.

「実施例」 第1図は、この発明の実施例を示す。この発明の単漢字
変換装置は入力文字列解析部lと、カナ漢字変換部2と
、漢字選択部3とよりなる。ここで、カナ漢字変換部2
は従来のカナ漢字変換装置と同様のものであり、単語の
平板名(ローマ字)表記を入力すると、変換結果の漢字
列を出力し、次候補を要求することで変換結果の次候補
を出力するものである。次候補出力の形式や、カナ漢字
変換の方式については問題としない。
"Embodiment" FIG. 1 shows an embodiment of the present invention. The single kanji conversion device of the present invention includes an input character string analysis section 1, a kana-kanji conversion section 2, and a kanji selection section 3. Here, kana-kanji converter 2
is similar to a conventional kana-kanji conversion device; when you input the plain name (romanization) of a word, it outputs the kanji string of the conversion result, and when you request the next candidate, it outputs the next candidate of the conversion result. It is something. There is no problem with the format of the next candidate output or the method of kana-kanji conversion.

以下、第1図を用いてこの発明装置の動作を説明する。The operation of this inventive device will be explained below with reference to FIG.

ユーザが入力手段(図示せず)により、入力したい単漢
字を含む漢字熟語(単語)の平板名(ローマ字)表記と
、「の」もしくは「、」などの区切り記号と、その漢字
熟語中での入力したい単漢字の読みとよりなる文字列を
入力し、(特殊キイの押下等により)単漢字変換を行う
ことを装置に伝えることにより(例えば、「昭」を得る
ために「しょうわのしょう」と入力し、単漢字変換キイ
を押下する)、入力された文字列が入力文字列解析部l
に入力される。入力文字列解析部1では、この入力され
た文字列を「の」もしくは区切り記号の部分で、かつ、
その前半部(左文字列)と、後半部(右文字列)とに分
割する。例えば、入力文字列が「しょうわのしょう」で
あれば、左文字列「しようね」と右文字列「しょう」と
を得る。左文字列が右文字列を包含するという条件から
、「きのうのき」の分割は、左文字列「き」、右文字列
[うのき]ではなく、左左文字列きのう」、右文字列「
き」となる。
The user uses an input means (not shown) to enter the plain name (Roman alphabet) of the kanji compound word (word) containing the single kanji character that the user wants to input, the delimiter such as "no" or "," and the name of the kanji compound word in the kanji compound word. By inputting a character string consisting of the pronunciation of the single kanji that you want to input, and telling the device (by pressing a special key, etc.) that you want to convert the single kanji (for example, to get ``昭'', ” and press the single kanji conversion key), the input character string will be displayed in the input character string analysis section.
is input. The input string analysis unit 1 converts the input string into "no" or the delimiter part, and
It is divided into the first half (left string) and the second half (right string). For example, if the input character string is "showa no sho", the left character string "sho ne" and the right character string "sho" are obtained. From the condition that the left character string includes the right character string, the division of "yesterday's ki" is not the left character string "ki", the right character string [unoki], but the left and left character string "kino", the right character. Column “
It becomes 'ki'.

次に、分割された左文字列中に包含された右文字列が左
文字列中のどの位置に存在するかによって、次のように
位置情報を生成する。
Next, position information is generated as follows depending on the position in the left character string of the right character string included in the divided left character string.

左文字列の先頭に右文字列が含まれる場合は、位置情報
をLとする。
If the right character string is included at the beginning of the left character string, the position information is set to L.

左文字列の最後に右文字列が含まれる場合は、位置情報
をRとする。
If the right character string is included at the end of the left character string, the position information is set to R.

それ以外の場所に右文字列が含まれる場合は、位置情報
をMとする。
If the right character string is included elsewhere, the position information is set to M.

例えば、 左文字列がししょうわ」、右文字列が「しょう」のとき
、位置情報はL 左文字列が「しょうわ」、右文字列が「わ」のとき、位
置情報はR 左文字列が「けんびきょう」、右文字列が「び」のとき
、位置情報はM のように位置情報が生成される。なお、右文字列が、左
文字列の複数の位置に含まれる場合(「シげんしのし」
のような場合)、どちらかの位置情報(例えば、L)を
生成する。
For example, if the left character string is "Showa" and the right character string is "Shou", the position information is L. If the left character string is "Showa" and the right character string is "WA", the position information is R. When the column is "kenbikyou" and the right character string is "bi", position information is generated as shown in M. In addition, if the right character string is included in multiple positions of the left character string ("shigenshinoshi")
), either position information (for example, L) is generated.

入力文字列解析部1は、このようにして得られた左文字
列をカナ漢字変換部2へ、位置情報を漢字選択部3に渡
す。
The input character string analysis unit 1 passes the left character string thus obtained to the kana-kanji conversion unit 2 and the position information to the kanji selection unit 3.

カナ漢字変換部2は、入力された左文字列をカナ漢字変
換し、漢字文字列を得て、これを漢字選択部3に渡す。
The kana-kanji converter 2 converts the input left character string into kana-kanji, obtains a kanji character string, and passes this to the kanji selector 3.

漢字選択部3ば、入力文字列解析部1より渡された位置
情報と、カナ漢字変換部2から渡された漢字文字列とか
ら、以下の手法で漢字一文字を選択して出力とする。
The Kanji selection section 3 selects and outputs one Kanji character from the positional information passed from the input character string analysis section 1 and the Kanji character string passed from the Kana-Kanji conversion section 2 using the following method.

位置情報がLのとき、漢字文字列の先頭文字を出力とす
る 位置情報がRのとき、漢字文字列の最終文字を出力とす
る 位置情報がMで、漢字文字列の長さが3以上のとき、漢
字文字列の第2文字を出力とする入力文字列が「しょう
わのしょう」の場合の処理の流れを第2図に示す。
When the position information is L, the position information that outputs the first character of the kanji character string is R, the position information that outputs the last character of the kanji character string is M, and the length of the kanji character string is 3 or more. FIG. 2 shows the flow of processing when the input character string whose output is the second character of the kanji character string is "showa no sho."

次候補の要求が入力された場合、入力文字列解析部1は
、左文字列中に先に出力した位置情報の位置以外の位置
に右文字列が存在するか(「シけんしのし」のような場
合であるか)を調べ、そうであれば先に出力したものと
は異なる位置情報を漢字選択部3に送る(この例で、既
に位置情報りが送られていれば位置情報Rを送る)。漢
字選択部3は、先の漢字文字列とこの位置情報を用いて
同様の処理を行い、選択された漢字一文字を出力する。
When a request for the next candidate is input, the input character string analysis unit 1 determines whether there is a right character string in the left character string at a position other than the position of the previously output position information (for "Shikenshinoshi"). If so, send positional information different from that previously output to the kanji selection unit 3 (in this example, if positional information R has already been sent, positional information R is sent). send). The kanji selection unit 3 performs similar processing using the previous kanji character string and this position information, and outputs one selected kanji character.

例えば、「しけんしのし」の場合、最初の候補が「試」
であれば、次候補は「紙」となる。
For example, in the case of ``shikenshinoshi'', the first candidate is ``shiken''.
If so, the next candidate is "paper".

次候補の要求が入力され、かつ、それ以外の場合(「シ
ょうわのしょう」のように、左文字列中に既に出力した
位置情報以外の位置に右文字列が存在しない場合)、次
候補の要求をカナ漢字変換部2に伝える。カナ漢字変換
部2は、先の左文字列の変換の次候補である漢字文字列
を漢字選択部3に渡す。漢字選択部3は、この漢字文字
列と先の位置情報とを用いて同様の処理を行い、選択さ
れた漢字一文字を出力する。例えば、カナ漢字変換部2
において「しょうわ」の次候補が「唱和」であるとき、
入力文字列「しょうわのしょう」に対する次候補処理の
出力は「唱」となる。
If a request for the next candidate is input, and in any other case (if the right character string does not exist in a position other than the position information that has already been output in the left character string, such as "Showa no Sho"), the next candidate is input. The request for candidates is conveyed to the kana-kanji conversion unit 2. The kana-kanji conversion unit 2 passes the kanji character string that is the next candidate for conversion of the left character string to the kanji selection unit 3. The kanji selection unit 3 performs similar processing using this kanji character string and the previous position information, and outputs one selected kanji character. For example, kana-kanji converter 2
When the next candidate for ``showa'' is ``showa'',
The output of the next candidate processing for the input character string "showa no sho" is "shou".

また、次候補の要求以外に、左右移動要求を設け、カナ
漢字変換部2によって得られた漢字文字列の長さがn 
(n>3)であり、位置情報がMであるときに、出力す
べき漢字を2文字目から、n11文字目での中から選択
することも可能である。上述では前半部を単語(熟語)
、後半部をその単語に含まれる単漢字としたが、これを
逆としてもよい。
In addition to the request for the next candidate, a left/right movement request is provided, and the length of the kanji character string obtained by the kana-kanji converter 2 is n.
(n>3), and when the position information is M, it is also possible to select the kanji to be output from the second character to the n11th character. In the above, the first half is a word (idiom)
, the second half is the single kanji included in the word, but this may be reversed.

「発明の効果」 以上で説明したように、この発明によれば入力したい単
漢字と、これを含む単語とを入力し、その単語を漢字変
換し、その漢字列から単漢字を選択するようにしたから
、熟語の同音異語は、漢字訓読みの同音異語に較べて、
極めて少ないために(「シょうわ」については、昭和、
唱和、程度)、次候補キイ押下の回数は読み入力の場合
に較べて大きく減少する。また、この装置を利用する場
合に熟練は必要としないし、コードブック等も不要であ
る。このため、従来の単漢字変換手段に較べて、簡便で
使い勝手の良いものとなる。
"Effects of the Invention" As explained above, according to this invention, a single kanji to be input and a word containing the same are input, the word is converted into kanji, and a single kanji is selected from the kanji string. Therefore, the homonyms of idioms are different from the homonyms of kanji kunyomi.
Because it is extremely rare (for ``showa'', it is said that
The number of presses of the next candidate key is greatly reduced compared to the case of reading input. Furthermore, no skill is required to use this device, and no codebook or the like is required. Therefore, it is simpler and more convenient to use than conventional single kanji conversion means.

更に、この発明は従来のカナ漢字変換機能を利用するた
めに、この発明をカナ漢字変換装置に組み込む際、辞書
等の新しい情報を必要としないうえ、従来部分の変更も
殆ど必要としない。
Furthermore, since the present invention utilizes the conventional kana-kanji conversion function, when this invention is incorporated into a kana-kanji conversion device, new information such as a dictionary is not required, and there is almost no need to change the conventional parts.

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

第1図はこの発明の実施例を示すブロック図、第2図は
この発明装置の動作例における情報の流れの一例を示す
図である。 1:入力文字列解析部、2:カナ漢字変換部、3:漢字
選択部。
FIG. 1 is a block diagram showing an embodiment of the invention, and FIG. 2 is a diagram showing an example of the flow of information in an example of the operation of the device of the invention. 1: Input character string analysis section, 2: Kana-Kanji conversion section, 3: Kanji selection section.

Claims (1)

【特許請求の範囲】[Claims] (1)文字列を入力する手段と、その入力手段で入力さ
れた文字列に対するカナ漢字変換結果である文字列を出
力する手段とを有するカナ漢字変換装置において、 熟語の読み(以下、左文字列と記す)と、 「の」もしくは区切り記号と、上記熟語の読みの一部(
以下、右文字列と記す)とからなる文字列を入力とし、
その入力文字列を上記各部分に分割し、その分割された
右文字列が左文字列のどの部分であるかの位置情報を抽
出する入力文字列解析部と、 上記分割された左文字列をカナ漢字変換(単語変換)し
て、漢字文字列を得るカナ漢字変換部と、 その変換された漢字文字列と上記位置情報とを用いて、
その漢字文字列から上記分割された右文字列に対応する
位置にある漢字一文字を選択して、出力とする漢字選択
部と、 を持つことを特徴とする単漢字変換装置。
(1) In a kana-kanji conversion device that has a means for inputting a character string and a means for outputting a character string that is a kana-kanji conversion result for the character string input by the input means, ``no'' or a delimiter, and part of the pronunciation of the above idiom (
(hereinafter referred to as the right string) is input,
an input string analysis unit that divides the input string into each of the above parts and extracts positional information on which part of the left string the divided right string is; A kana-kanji conversion unit that performs kana-kanji conversion (word conversion) to obtain a kanji string, and using the converted kanji string and the above position information,
A single kanji conversion device comprising: a kanji selection unit that selects and outputs a kanji character located at a position corresponding to the divided right character string from the kanji character string;
JP2043895A 1990-02-23 1990-02-23 Single kanji converter Pending JPH03246663A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2043895A JPH03246663A (en) 1990-02-23 1990-02-23 Single kanji converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2043895A JPH03246663A (en) 1990-02-23 1990-02-23 Single kanji converter

Publications (1)

Publication Number Publication Date
JPH03246663A true JPH03246663A (en) 1991-11-05

Family

ID=12676446

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2043895A Pending JPH03246663A (en) 1990-02-23 1990-02-23 Single kanji converter

Country Status (1)

Country Link
JP (1) JPH03246663A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56162132A (en) * 1980-05-16 1981-12-12 Mitsubishi Electric Corp Chinese character input device
JPS5816342A (en) * 1981-07-22 1983-01-31 Toshiba Corp Japanese word processor

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56162132A (en) * 1980-05-16 1981-12-12 Mitsubishi Electric Corp Chinese character input device
JPS5816342A (en) * 1981-07-22 1983-01-31 Toshiba Corp Japanese word processor

Similar Documents

Publication Publication Date Title
JPH07114558A (en) Chinese character conversion correcting process system
JPH03246663A (en) Single kanji converter
JPS6389970A (en) Kana-kanji conversion device
JPS61233862A (en) Kana-kanji converter
JP2710442B2 (en) First and last name kana-kanji conversion method
JPH01259448A (en) Kanji input system
JPS63221464A (en) Input device for japanese sentence
JP3058423B2 (en) Document processing device
JPH04205051A (en) Document preparing device
JPS58129534A (en) Chinese character input device
JPS63156275A (en) Automatic kana and katakana name dictionary adding system
JPH0475162A (en) Japanese syllabary/chinese character conversion device
JPH08335217A (en) Reading converting method and document preparation device
JP3010946B2 (en) Sentence input method
JPH04372047A (en) Kana/kanji converter
JPH03225462A (en) Roman character/kanji converter
JPH08171568A (en) Multilingual input method
JPS6175954A (en) Input system of kanji data
JPS62174868A (en) Chinese character input device
JPH01158560A (en) Method for kana/kanji conversion in character
JPS63217467A (en) Kana/kanji conversion system
JPS63262752A (en) Kana/kanji converter
JPH0217568A (en) Kana-kanji conversion system for clause including katakana word
JPH0488463A (en) Japanese word processor
JPH0748212B2 (en) Single Kanji converter