JP2701255B2 - Japanese language processor - Google Patents

Japanese language processor

Info

Publication number
JP2701255B2
JP2701255B2 JP61311002A JP31100286A JP2701255B2 JP 2701255 B2 JP2701255 B2 JP 2701255B2 JP 61311002 A JP61311002 A JP 61311002A JP 31100286 A JP31100286 A JP 31100286A JP 2701255 B2 JP2701255 B2 JP 2701255B2
Authority
JP
Japan
Prior art keywords
katakana
converted
character string
hiragana
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.)
Expired - Fee Related
Application number
JP61311002A
Other languages
Japanese (ja)
Other versions
JPS63167964A (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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP61311002A priority Critical patent/JP2701255B2/en
Publication of JPS63167964A publication Critical patent/JPS63167964A/en
Application granted granted Critical
Publication of JP2701255B2 publication Critical patent/JP2701255B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Machine Translation (AREA)
  • Document Processing Apparatus (AREA)

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、片仮名変換機能を搭載した日本語処理装置
に関する。 従来の技術 従来、この種の日本語処理装置に搭載されている片仮
名変換機能は、入力された文字列の読みをすべて片仮名
に変換するようになっている。 発明が解決しようとする問題点 上記のように従来の日本語処理装置では、入力された
文字列の読みがすべて片仮名に変換されてしまうため、
入力文字列に付属語などの平仮名で表記する文字が含ま
れている場合、その平仮名文字も片仮名文字に変換され
てしまう。 例えば「わーぷろに」や「すぴーどくじ」と文節や単
語単位で入力し、片仮名変換すると、「ワープロに」や
「スピードくじ」と変換させたい場合に「ワープロニ」
や「スピードクジ」と変換されてしまう。このため、従
来の日本語処理装置では、まず「わーぷろ」や「すぴー
ど」と入力して片仮名変換を行い、次に「に」や「く
じ」を入力しなければならず、操作が面倒であった。 そこで、本発明は、このような従来の問題を解決する
ものであり、付属語など、平仮名表記部分を含んだ文字
列を連続して入力しても、希望する部分のみを片仮名文
字に変換することができ、操作性を向上することができ
るようにした日本語処理装置を提供しようとするもので
ある。 問題点を解決するための手段 本発明は、上記目的を達成するために、入力手段によ
り入力された文字列を格納する手段と、入力された文字
列に対して片仮名変換する文字を最後から1文字ずつ短
く設定する手段と、この設定手段からの情報により片仮
名変換及び平仮名変換する手段とを備え、入力された文
字列に対して最初は全て片仮名変換した文字列から、片
仮名変換した文字列を最後から1文字ずつ短くし、短く
した部分は平仮名に変換し、全て片仮名から全て平仮名
として表示した候補から最適な1つを選択するものであ
る。 作用 したがって、本発明によれば、入力した文字列に対し
て、最初は全て片仮名変換した文字列を表示し、片仮名
変換した文字列を最後から1文字ずつ短くし、短くした
部分は平仮名に変換し、全て片仮名から全て平仮名とし
て表示した候補から最適な1つを選択する。 実 施 例 以下、本発明の実施例について図面を参照しながら説
明する。第1図は本発明の一実施例を示す概略ブロック
図である。 第1図において、11は入力された文字列の読み情報を
格納する読みバッファ、12は入力された文字列に対して
平仮名変換する読みを後方より1文字ずつ短くするよう
に設定する読み設定処理部、13は読み設定処理部12から
の情報による読みを片仮名に変換する片仮名変換処理
部、14は変換結果を格納する同音語バッファである。 次に上記実施例の動作について説明する。 文字列が入力されると、その読み情報が読みバッファ
11に格納される。読み設定処理部12はその読み情報をま
ず、片仮名変換処理部13に送り、ここで全部平仮名に変
換し、その変換結果を同音語バッファ14に格納する。次
に読み設定処理部12は読みバッファ11に格納されている
読み情報を後方より1文字断して短く設定し、その前側
部を片仮名変換処理部13で片仮名に変換し、後方の1文
字は片仮名に変換せず、平仮名のままとし、これら片仮
名変換部分と平仮名部分を接続して同音語バッファ14に
格納する。以下、読み情報を1文字ずつ短くなるように
設定し、上記と同様にして順次同音語バッファ14に格納
し、最後に読み情報の全部を片仮名変換処理部13で片仮
名変換させることなく通過させ、平仮名のまま同音語バ
ッファ14に格納する。そして入力部より同音語要求する
ことにより同音語バッファ14に格納されている情報を表
示部に表示することができる。すなわち、全部を片仮名
変換したり文字列、片仮名変換した部分を1文字ずつ短
くし、残りの部分を平仮名とした文字列及び全部を平仮
名とした文字列を表示することができる。したがって、
その中より希望する表記の文字列を選択し、出力するこ
とができる。 第2図に上記実施例の具体例として、文字列「りんご
に」を入力した場合の同音語表示画面を示す。第2図に
おいて、21は同音語表示領域である。 まず、読み設定処理部12は入力された読み「りんご
に」の全部を片仮名変換処理部13に送り、片仮名に変換
した「リンゴニ」を同音語バッファ14に格納する。次に
読み設定処理部12は「りんごに」の読みの後側の1文字
「に」を分断し、その前方の「りんご」を片仮名変換処
理部13に送り、片仮名変換し、この片仮名変換した「リ
ンゴ」と、片仮名変換しなかった「に」を接続して同音
語バッファ14に格納し、以降、順次、上記と同様の処理
を行い、同音語バッファ14に「リンごに」、「リんご
に」を格納し、最後に全部平仮名の「りんごに」を格納
する。そして同音語要求することにより第2図に示すよ
うに1番目に全部、片仮名に変換した「リンゴニ」を表
示し、2番目に、1文字短くした「りんご」を片仮名に
変換し、残りの「に」を平仮名とした「リンゴに」を表
示し、以降、1文字ずつ片仮名に変換する部分を減ら
し、残りを平仮名とした「リンゴに」、「リんごに」を
表示し、最後に全部を平仮名とした「りんごに」を表示
する。したがって2番目の文字例「リンゴに」を選択し
て出力することができる。 このように「リンゴに」の表記を得たい場合に「りん
ご」と「に」を分けずに付属語「に」を含む「りんご
に」という単位で入力しても、同音語要求することによ
り「リンゴに」と変換した表記できる。 発明の効果 上記実施例から明らかなように、入力手段により入力
された文字列を格納する手段と、入力された文字列に対
して片仮名変換する文字を最後から1文字ずつ短く設定
する手段と、この設定手段からの情報により片仮名変換
及び平仮名変換する手段とを備え、入力された文字列に
対して最初は全て片仮名変換した文字列を表示し、片仮
名変換した文字列を最後から1文字ずつ短くし、短くし
た部分は平仮名に変換し、全て片仮名から全て平仮名と
して表示した候補から最適な1つを選択する。よって、
片仮名辞書を必要とせず、入力した文字列を片仮名と平
仮名が混在した文字列に変換し、変換して表示した候補
から最適な1つを選択することができるので、操作性が
向上するという利点を有する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a Japanese processing device equipped with a katakana conversion function. 2. Description of the Related Art Conventionally, a katakana conversion function mounted on a Japanese-language processing device of this type converts all readings of an input character string into katakana characters. Problems to be Solved by the Invention As described above, in the conventional Japanese-language processing device, all readings of the input character string are converted into katakana,
If the input character string contains characters to be written in hiragana, such as adjunct words, the hiragana characters are also converted to katakana characters. For example, if you enter "Waporoni" or "Superdoku" in units of phrases or words and convert them to katakana, you can use "Waproni" to convert them to "Word processing" or "Speed lottery".
Or "speed lottery". For this reason, in a conventional Japanese-language processing device, it is necessary to first input "Wapuro" or "Spado" to perform katakana conversion, and then input "Ni" or "Kuji". It was troublesome. Therefore, the present invention solves such a conventional problem. Even if a character string including a hiragana portion such as an accessory word is continuously input, only a desired portion is converted into katakana characters. It is an object of the present invention to provide a Japanese language processing device capable of improving operability. Means for Solving the Problems In order to achieve the above object, the present invention provides a means for storing a character string input by an input means, and a method for converting a character to be subjected to katakana conversion to the input character string from the last one. A means for shortening each character and a means for performing katakana conversion and hiragana conversion based on information from the setting means are provided. The character is shortened by one character from the end, and the shortened portion is converted into hiragana, and the most suitable one is selected from all katakana candidates displayed as hiragana. Therefore, according to the present invention, for the input character string, the entire character string that has been converted to katakana is displayed first, the character string that has been converted to katakana is shortened one character at a time from the end, and the shortened portion is converted to hiragana. Then, an optimal one is selected from all the katakana candidates displayed as all hiragana. Embodiments Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a schematic block diagram showing an embodiment of the present invention. In FIG. 1, reference numeral 11 denotes a reading buffer for storing reading information of an input character string, and reference numeral 12 denotes a reading setting process for setting the reading of the input character string to be converted into hiragana characters one character at a time from the rear. And 13, a katakana conversion processing unit for converting the reading based on the information from the reading setting processing unit 12 into katakana, and a homophone buffer 14 for storing the conversion result. Next, the operation of the above embodiment will be described. When a character string is input, the reading information is read
Stored in 11. The reading setting processing unit 12 first sends the reading information to the katakana conversion processing unit 13, where it converts all the reading information into hiragana, and stores the conversion result in the homophone buffer 14. Next, the reading setting processing unit 12 cuts off the reading information stored in the reading buffer 11 by one character from the back and sets it short. The front part is converted into katakana by the katakana conversion processing unit 13, and the back one character is The conversion into katakana is not performed, and the katakana conversion part and the hiragana part are connected and stored in the homophone buffer 14. Hereinafter, the reading information is set so as to be shortened one character at a time, sequentially stored in the homophone buffer 14 in the same manner as described above, and finally, the entire reading information is passed through the katakana conversion processing unit 13 without being converted into katakana, It is stored in the homophone buffer 14 as hiragana. By requesting a homophone from the input unit, the information stored in the homophone buffer 14 can be displayed on the display unit. In other words, it is possible to display a character string in which the whole part is converted into katakana or a character string, the part in which katakana conversion is performed is shortened one character at a time, and the remaining part is a hiragana character string and the whole is a hiragana character string. Therefore,
A desired character string can be selected and output. FIG. 2 shows a homophone display screen when a character string "apple" is input as a specific example of the above embodiment. In FIG. 2, reference numeral 21 denotes a homophone display area. First, the reading setting processing unit 12 sends all of the input reading “apple” to the katakana conversion processing unit 13, and stores the “ringo” converted into katakana in the homophone buffer 14. Next, the reading setting processing unit 12 divides the one character "Ni" after the reading of "Apple", sends the "Apple" ahead of it to the Katakana conversion processing unit 13, converts it into Katakana, and converts the Katakana. "Apple" and "Ni" which were not converted to katakana are connected and stored in the homophone buffer 14, and then the same processing as above is sequentially performed. "Nigo ni" is stored, and finally, the whole hiragana "Apple" is stored. By requesting the same phonetic word, as shown in FIG. 2, first, "Ringoni" converted into katakana is displayed first, and "Apple" shortened by one character is converted into katakana second, and the remaining ""Apple" with Hiragana as "Ni" is displayed. After that, the part to be converted into Katakana character by character is reduced, and "Apple" and "Ringo" with Hiragana as the rest are displayed. "Apples" with hiragana is displayed. Therefore, it is possible to select and output the second character example "apple ni". In this way, if you want to get the notation of "apples", you can enter the word "apples" that includes the adjunct "ni" without separating "apples" and "ni". The notation can be converted to "Apple". As is clear from the above embodiment, means for storing a character string input by the input means, means for shortening the characters to be katakana-converted to the input character string one character at a time from the end, Means for performing katakana conversion and hiragana conversion based on the information from the setting means, and displays a character string which is all katakana converted at first for the input character string, and shortens the katakana converted character string by one character from the end. Then, the shortened portion is converted into Hiragana, and the most suitable one is selected from all Katakana candidates displayed as Hiragana. Therefore,
The advantage is that operability is improved because the input character string can be converted into a character string in which katakana and hiragana are mixed, and an optimum one can be selected from the candidates displayed after conversion without the need for a katakana dictionary. Having.

【図面の簡単な説明】 第1図は本発明の一実施例における日本語処理装置を示
す概略ブロック図、第2図は本発明により処理した同音
語表示例を示す図である。 11……読みバッファ、12……読み設定処理部、13……片
仮名変換処理部、14……同音語バッファ。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a schematic block diagram showing a Japanese-language processing device according to one embodiment of the present invention, and FIG. 2 is a diagram showing an example of displaying homophones processed according to the present invention. 11 reading buffer, 12 reading setting processing unit, 13 katakana conversion processing unit, 14 homophone buffer.

Claims (1)

(57)【特許請求の範囲】 1.入力手段により入力された文字列を格納する手段
と、入力された文字列に対して片仮名変換する文字を最
後から1文字ずつ短く設定する手段と、この設定手段か
らの情報により片仮名変換及び平仮名変換する手段とを
備え、入力された文字列に対して最初は全て片仮名変換
した文字列から、片仮名変換した文字列を最後から1文
字ずつ短くし、短くした部分は平仮名に変換し、全て片
仮名から全て平仮名として表示した候補から最適な1つ
を選択することを特徴とする日本語処理装置。
(57) [Claims] Means for storing the character string input by the input means, means for setting the characters to be katakana converted to the input character string one character at a time from the end, and katakana conversion and hiragana conversion based on information from the setting means. Means that the input character string is converted from katakana characters at the beginning to the katakana converted character string, shortened one character at a time from the end, and the shortened part is converted to hiragana characters. A Japanese-language processing apparatus, wherein an optimum one is selected from candidates displayed as hiragana.
JP61311002A 1986-12-29 1986-12-29 Japanese language processor Expired - Fee Related JP2701255B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61311002A JP2701255B2 (en) 1986-12-29 1986-12-29 Japanese language processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61311002A JP2701255B2 (en) 1986-12-29 1986-12-29 Japanese language processor

Publications (2)

Publication Number Publication Date
JPS63167964A JPS63167964A (en) 1988-07-12
JP2701255B2 true JP2701255B2 (en) 1998-01-21

Family

ID=18011944

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61311002A Expired - Fee Related JP2701255B2 (en) 1986-12-29 1986-12-29 Japanese language processor

Country Status (1)

Country Link
JP (1) JP2701255B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01263864A (en) * 1988-04-15 1989-10-20 Matsushita Electric Ind Co Ltd Japanese word processor

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60160469A (en) * 1984-02-01 1985-08-22 Canon Inc Device for processing characters

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60160469A (en) * 1984-02-01 1985-08-22 Canon Inc Device for processing characters

Also Published As

Publication number Publication date
JPS63167964A (en) 1988-07-12

Similar Documents

Publication Publication Date Title
US4636977A (en) Language translator with keys for marking and recalling selected stored words
JP2701255B2 (en) Japanese language processor
JPS57187733A (en) Japanese language input device for kana (japanese syllabary)-kanji (chinese character) conversion
JPH042982B2 (en)
JPS5822767B2 (en) Japanese typewriter
JPS61248155A (en) Word processing system
JPS5771073A (en) Document forming system
JPS63167965A (en) Japanese language processor
JPH0346857B2 (en)
JPH01113858A (en) Japanese word processor
JPS628259A (en) Kana (japanese syllabary)-kanji (chinese character) converting system
JPH027159A (en) Japanese processor
JPS56108166A (en) Producing device for mixture sentence of chinese character and japanese syllabary
JPH03154154A (en) Kana to kanji converter
JP2825807B2 (en) Kana-Kanji conversion device
JPH07129562A (en) Device and method for preparing document
JPS63156275A (en) Automatic kana and katakana name dictionary adding system
JPS57161970A (en) Character processor
JPS60204067A (en) Kana-kanji conversion system
JPS6315633B2 (en)
JPH1078955A (en) Kana-to-kanji conversion system
JPH04357550A (en) Character string registeration and learning system
JPS63273965A (en) Kana/kanji converting system
JPH0758489B2 (en) Japanese processor
JPH0232460A (en) Document processor

Legal Events

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