JPH0594431A - Japanese sillabary converter - Google Patents

Japanese sillabary converter

Info

Publication number
JPH0594431A
JPH0594431A JP3255237A JP25523791A JPH0594431A JP H0594431 A JPH0594431 A JP H0594431A JP 3255237 A JP3255237 A JP 3255237A JP 25523791 A JP25523791 A JP 25523791A JP H0594431 A JPH0594431 A JP H0594431A
Authority
JP
Japan
Prior art keywords
character
code
kana
hiragana
katakana
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
JP3255237A
Other languages
Japanese (ja)
Inventor
Matsutaka Ito
松孝 伊東
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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP3255237A priority Critical patent/JPH0594431A/en
Publication of JPH0594431A publication Critical patent/JPH0594431A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To improve an operability by providing a function which converts a 'HIRAGANA' (round type Japanese syllabary) into a ' KATAKANA' (square type Japanese syllabary) or a 'KATAKANA' into 'HIRAGANA' without converting a Chinese character, in sentence including a Japanese syllabary and a Chinese character by the operation of a specific conversion key, in a Japanese processor. CONSTITUTION:An encoding means 103 converts a character string inputted by an inputting means 101 into a character code. Moreover, a converting means 104 converts the character code into the character string code of a Japanese syllabary and Chinese character. A judging means 105 judges whether the Japanese syllabary of the character string code of the Japanese syllabary and Chinese character is the 'HIRAGANA' or the 'KATAKANA' based on the code. A replacing means 106 operates the addition or substraction of a prescribed number to the judges Japanese syllabary character code in order to replace the Japanese syllabary into the 'HIRAGANA' or the 'KATAKANA' from the output from the key inputting means 101, and the output from the judging means 105. Then, an outputting means 107 converts the coded character string into a character pattern, and outputs it to a display means 102. Thus, the operability can be improved by providing a changing function exclusive for 'HIRAGANA' 'KATAKANA' which is operated by the specific conversion key.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、ワードプロセッサや
パソコンなどのような日本語処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a Japanese processor such as a word processor or a personal computer.

【0002】[0002]

【従来の技術】従来、日本語ワードプロセッサでは、仮
名キーボードなどの入力装置によって仮名文を入力し、
仮名漢字変換辞書を検索して、対応の漢字もしくは仮名
漢字まじり文を出力するものが知られている。
2. Description of the Related Art Conventionally, in a Japanese word processor, a kana sentence is input by an input device such as a kana keyboard.
It is known to search a kana-kanji conversion dictionary and output a corresponding kanji or kana-kanji magic sentence.

【0003】そして、このようなワードプロセッサにお
いては、仮名漢字変換を行った仮名漢字まじり文に対
し、使用者が表記を不適当と考える文節があるときは、
文節移動キーやカーソルキーを複数回操作してその文節
へ移動する。そこで特定の変換キーを押して、適当な表
記に変更する。その場合例えば、「がり勉」という文節
を「がりべん」または「ガリベン」という文節に変更す
ることは可能であった。
In such a word processor, when there is a clause in which the user considers the notation appropriate for a kana-kanji kanji converted sentence that has undergone kana-kanji conversion,
Move to the phrase by operating the phrase move key or cursor key multiple times. Then press a specific conversion key to change the notation. In that case, for example, it was possible to change the phrase “Gariben” to the phrase “Gariben” or “Gariben”.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、例え
ば、「がり勉」に対して「ガリ勉」、「さじ加減」に対
して「サジ加減」、「さそり座」に対して「サソリ座」
というように平仮名漢字まじり文を片仮名漢字まじり文
に変更することが出来ないという問題点があった。
[Problems to be Solved by the Invention] However, for example, "Gari Tsutomu" for "Gari Tsutomu", "Sajure" for "Truth" and "Scorpio" for "Scorpio"
As described above, there is a problem in that it is not possible to change the Hiragana / Kanji kanji mixed sentence into a Katakana / Kanji kanji mixed sentence.

【0005】この発明はこのような事情を考慮してなさ
れたもので、特定の変換キーを操作することにより、仮
名漢字まじり文のうちの漢字は変換せず、平仮名を片仮
名に、または片仮名を平仮名に変換する機能を備えるこ
とにより、操作性を向上させた仮名漢字変換装置を提供
するものである。
The present invention has been made in consideration of such circumstances, and by operating a specific conversion key, the kanji in the kana-kanji magic sentence is not converted and the hiragana or katakana is converted. A kana-kanji conversion device having improved operability by providing a function for converting into hiragana.

【0006】[0006]

【発明が解決するための手段】図1はこの発明の基本構
成を示すブロック図である。キー入力手段101と、表
示手段102と、キー入力手段101から入力される仮
名文字列を文字コードに変換する符号化手段103と、
コード化された文字列をキー入力手段101から指令を
受けて仮名漢字文字列コードに変換する変換手段104
と、前記仮名漢字文字列コードの仮名が、平仮名である
か片仮名であるかをそのコードに基づいて判別する判別
手段105と、キー入力手段101からの出力と前記判
別手段105からの出力により、判別された仮名文字の
コードに所定数を加減算してその仮名を平仮名又は片仮
名に置換する置換手段106と、コード化された文字列
を文字パターンに変換して表示手段102に出力する出
力手段107を備えた仮名変換装置である。
FIG. 1 is a block diagram showing the basic configuration of the present invention. Key input means 101, display means 102, encoding means 103 for converting a kana character string input from the key input means 101 into a character code,
Conversion means 104 for receiving a command from the key input means 101 and converting the coded character string into a kana-kanji character string code.
And a discrimination means 105 for discriminating whether the kana of the kana / kanji character string code is a hiragana or katakana based on the code, and an output from the key input means 101 and an output from the discrimination means 105. Substitution means 106 for adding and subtracting a predetermined number to the code of the distinguished kana character to replace the kana character with hiragana or katakana, and output means 107 for converting the coded character string into a character pattern and outputting it to the display means 102. It is a kana conversion device equipped with.

【0007】[0007]

【作用】図1において、符号化手段103は、入力手段
101によって入力された文字列を文字コードに変換す
る。さらに変換手段104は、その文字コードを仮名漢
字文字列コードに変換する。判別手段105は、前記仮
名漢字文字列コードの仮名が、平仮名であるか片仮名で
あるかをそのコードに基づいて判別する。置換手段10
6は、キー入力手段101からの出力と判別手段105
からの出力により判別された仮名文字のコードに対して
所定数を加減算して、その仮名を平仮名又は片仮名に置
換する。そこで、出力手段107は、コード化された文
字列を文字パターンに変換して表示手段102に出力す
る。
In FIG. 1, the encoding means 103 converts the character string input by the input means 101 into a character code. Further, the conversion means 104 converts the character code into a kana-kanji character string code. The discrimination means 105 discriminates whether the kana of the kana / kanji character string code is hiragana or katakana based on the code. Replacement means 10
6 is an output from the key input means 101 and a discrimination means 105.
A predetermined number is added to or subtracted from the code of the kana character determined by the output from, and the kana is replaced with hiragana or katakana. Therefore, the output means 107 converts the coded character string into a character pattern and outputs it to the display means 102.

【0008】例えば、「がり勉」のような平仮名漢字ま
じり文は仮名のみが置換されて、「ガリ勉」という片仮
名漢字まじり文に容易に変換される。
For example, a hiragana kanji magic sentence such as "Kari Tsutomu" can be easily converted into a Katakana Kanji magic sentence of "Gari Tsutomu" by replacing only the Kana.

【0009】[0009]

【実施例】以下、図面に示す実施例に基づいてこの発明
を詳述する。これによってこの発明が限定されるもので
はない。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described in detail below based on the embodiments shown in the drawings. This does not limit the invention.

【0010】図2はこの発明の一実施例を示すブロック
図である。同図において、1は文字入力手段であるキャ
ラクタキーボードであり、このキーボード1には仮名キ
ーや数字キーが配列されている。キーボード1の操作に
よって入力されるキー信号は符号化回路3に与えられ
る。符号化回路3には更にファンクションキーボード2
からのキー信号が入力される。
FIG. 2 is a block diagram showing an embodiment of the present invention. In the figure, reference numeral 1 is a character keyboard which is a character input means. Kana keys and numeral keys are arranged on the keyboard 1. A key signal input by operating the keyboard 1 is given to the encoding circuit 3. The encoding circuit 3 further includes a function keyboard 2
The key signal from is input.

【0011】キーボード2は編集制御キーを備え、編集
制御キーには仮名文字を漢字もしくは漢字まじり文に変
換指令するための変換キー、漢字変換する必要のないこ
とを指令するための無変換キー、前候補キー、カーソル
移動キー、実行キー、解除キー及びモード設定用の特別
機能キー等を備えている。符号化回路3はキーボード
1,2のキー信号を文字コードに符号化し入力バッファ
4に一時記憶させると共に、キーボード2に含まれる各
キーのコード化信号を中央処理装置(CPU)5へ直接
入力する。CPU5は後述の動作プログラムを実行する
ことによって演算処理手段としても働くものであり、仮
名漢字変換機能、書込機能及び読出し機能を備えてい
る。
The keyboard 2 is provided with an edit control key. The edit control key is a conversion key for instructing conversion of kana characters into kanji or kanji mixed sentences, a non-conversion key for instructing that kanji conversion is not required, It is provided with a front candidate key, a cursor movement key, an execution key, a release key, a special function key for mode setting, and the like. The encoding circuit 3 encodes the key signals of the keyboards 1 and 2 into character codes, temporarily stores them in the input buffer 4, and directly inputs the encoded signals of each key included in the keyboard 2 to the central processing unit (CPU) 5. .. The CPU 5 also functions as an arithmetic processing means by executing an operation program described later, and has a kana-kanji conversion function, a writing function, and a reading function.

【0012】CPU5にはCRTディスプレイ6及び印
字装置(プリンタ)7が接続されている。CRTディス
プレイ6は仮名入力された仮名文及び変換された漢字も
しくは漢字まじり文等を表示するのに用いられる。プリ
ンタ7は仮名又は漢字まじり文を印刷するために用いら
れる。更にCPU5には変換処理部8、文章データメモ
リ11、仮名漢字変換辞書部10が接続されている。
A CRT display 6 and a printing device (printer) 7 are connected to the CPU 5. The CRT display 6 is used to display a kana input kana sentence and a converted kanji or kanji spelling sentence. The printer 7 is used to print kana or kanji kanji characters. Further, the CPU 5 is connected with a conversion processing unit 8, a sentence data memory 11, and a Kana-Kanji conversion dictionary unit 10.

【0013】変換処理部8はCPU5と共に漢字変換手
段として働くものである。文章データメモリ11はキー
ボードから入力され、かつ変換処理部8によって変換さ
れた漢字まじり文を文章データとして記憶するものであ
る。仮名漢字変換辞書部10は例えば読出し専用メモリ
(ROM)等からなり、単語辞書を記憶する記憶領域、
活用語尾表を記憶する記憶領域及び付属語表を記憶する
記憶領域等を含んでいる。この単語辞書記憶領域には5
0音順の仮名見出し部と、仮名見出し部に対応する漢字
表記部と、品詞データ等が記憶される。
The conversion processing unit 8 works together with the CPU 5 as Kanji conversion means. The text data memory 11 is for storing the kanji mixed text input from the keyboard and converted by the conversion processing unit 8 as text data. The Kana-Kanji conversion dictionary unit 10 is composed of, for example, a read-only memory (ROM), and has a storage area for storing a word dictionary,
It includes a storage area for storing an inflection table and a storage area for storing an auxiliary word table. 5 in this word dictionary storage area
A kana heading part in the order of 0, a kanji writing part corresponding to the kana heading part, part-of-speech data, and the like are stored.

【0014】以上の構成は、従来の例えば仮名漢字変換
機能付きワードプロセッサなどに見られる構成と同等で
ある。この発明において、更にCPU5に平仮名/片仮
名専用変換処理部9が接続されている。
The above configuration is equivalent to the configuration found in a conventional word processor with a kana-kanji conversion function, for example. In the present invention, a conversion processing section 9 for exclusive use of hiragana / katakana is further connected to the CPU 5.

【0015】平仮名/片仮名専用変換処理部9は、変換
処理部8によって変換された漢字まじりの文節または文
字列について、ファンクションキーボード2の、特定の
変換キーが押圧されると、漢字まじりの文節または文字
列の仮名が平仮名か片仮名かをそれらのコードに基づい
て判別し、漢字の部分は変換せず、平仮名を片仮名に、
または仮名を平仮名に専用的に変換処理するものであ
る。
The Hiragana / Katakana exclusive conversion processing unit 9 presses a specific conversion key on the function keyboard 2 for the phrase or character string in Kanji characters converted by the conversion processing unit 8 or Whether the kana of the character string is hiragana or katakana is determined based on those codes, the kanji part is not converted, and the hiragana is converted to katakana.
Alternatively, the kana is converted into a hiragana exclusively.

【0016】図3はこの発明の一実施例の要部動作を説
明するためのフローチャートである。先ず、ステップ1
で特定の変換キー入力があるかどうか判断して、特定の
変換キーが押圧された場合はステップ2に進む。ステッ
プ2では平仮名又は片仮名漢字まじりの文節や文字列で
あれば受け付けステップ3に進める。そして平仮名、片
仮名または漢字だけの文節や文字列ならステップ11に
進める。
FIG. 3 is a flow chart for explaining the operation of the main part of one embodiment of the present invention. First, step 1
It is determined whether or not there is a specific conversion key input at, and if the specific conversion key is pressed, the process proceeds to step 2. In step 2, if it is a phrase or character string that is mixed with hiragana or katakana kanji, the process proceeds to acceptance step 3. Then, if the phrase or character string is made up of only hiragana, katakana, or kanji, the process proceeds to step 11.

【0017】ステップ3では、文節や文字列の文字数N
がカウンタ(又はレジスタ)にプリセットされる。ステ
ップ4では、文節や文字列のN番目の文字コードがJI
Sの平仮名コードの数値0401〜0486と比較さ
れ、平仮名文字コードであるか、照合される。平仮名文
字コードであれば、次のステップ5で片仮名文字コード
に変換されるべき数値0100を加算して、片仮名文字
コードに変換される。
In step 3, the number N of characters in the phrase or character string
Is preset in the counter (or register). In step 4, the Nth character code of the phrase or character string is JI.
It is compared with the numerical values 0401 to 0486 of the hiragana code of S, and it is collated with the hiragana character code. If it is a hiragana character code, the numerical value 0100 to be converted to a katakana character code is added in the next step 5 to be converted to a katakana character code.

【0018】平仮名文字コードでなければ、ステップ6
に進み、JISの片仮名文字コードの数値0501〜0
586と比較され、片仮名文字コードあるか、照合され
る(ステップ6)。片仮名文字コードであれば、次のス
テップ7で、平仮名文字コードに変換されるべき数値0
100を減算して、平仮名文字コードに変換される。S
4〜S7のステップで処理されるこどに文字数カウンタ
の数値から1を減算する(ステップ8)。文字数カウン
トの数値が0にならない場合は、すべての文字が処理さ
れていないと判断されステップ4に戻りS4〜S9の動
作が繰り返えされる。また文字数カウンタの数値が0に
なれば、すべての文字が処理されたとしてステップ10
に進む(ステップ9)。
If it is not a hiragana character code, step 6
Proceed to and the numerical value of JIS Katakana character code 0501-0
It is compared with 586 and it is checked whether or not there is a katakana character code (step 6). If it is a Katakana character code, the numerical value 0 to be converted to the Hiragana character code in the next step 7
It is converted to a hiragana character code by subtracting 100. S
1 is subtracted from the numerical value of the character number counter for the child processed in steps 4 to S7 (step 8). If the number of characters counted is not 0, it is determined that all the characters have not been processed, and the process returns to step 4 and the operations of S4 to S9 are repeated. If the value of the character number counter becomes 0, it is determined that all the characters have been processed, and step 10 is performed.
(Step 9).

【0019】ステップ10で変換前の文節や文字列と、
変換後の文節や文字列と記憶内容が変換され、変換後の
文節や文字列をCRTディスプレイ6やプリンタ7に出
力する(ステップ11)。
In step 10, the phrase or character string before conversion,
The converted phrase or character string and the stored content are converted, and the converted phrase or character string is output to the CRT display 6 or the printer 7 (step 11).

【0020】図4は、具体的として文字列「がり勉」の
仮名部分のコードに100を加算することにより、文字
列が「ガリ勉」のJISコードにそれぞれ変換され、逆
に「ガリ勉」の仮名部分のJISコードから100を減
算することにより、文字列が「がり勉」のJISコード
にそれぞれ変換されることを示している。
In FIG. 4, concretely, by adding 100 to the code of the kana part of the character string “Gari Tsutomu”, the character string is converted into the JIS code of “Gari Tsutomu”, and conversely, the Kana of “Gari Tsutomu”. By subtracting 100 from the part of the JIS code, the character string is converted into the “simple study” JIS code.

【0021】[0021]

【発明の効果】この発明によれば、平仮名または片仮名
と漢字などの混合から成る文節や単語がある場合に、平
仮名部分を片仮名に、片仮名部分を平仮名へ簡単に変換
できる。従って、例えば、「がり勉」のような単語を別
単語「ガリ勉」として仮名漢字辞書部に登録することな
く変換できるので、使用者の操作性を向上することがで
きる。
According to the present invention, when there is a phrase or word composed of hiragana or a mixture of katakana and kanji, the hiragana part can be easily converted to katakana and the katakana part can be easily converted to hiragana. Therefore, for example, a word such as "Gari Tsutomu" can be converted as another word "Gari Tsutomu" without registering it in the Kana-Kanji dictionary unit, so that the operability of the user can be improved.

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

【図1】この発明の基本構成を示すブロック図である。FIG. 1 is a block diagram showing a basic configuration of the present invention.

【図2】この発明の一実施例を示すブロック図である。FIG. 2 is a block diagram showing an embodiment of the present invention.

【図3】この発明の一実施例の要部動作を示すフローチ
ャートである。
FIG. 3 is a flowchart showing the operation of the main part of one embodiment of the present invention.

【図4】文字列とJIS文字コードとの関連を示す図で
ある。
FIG. 4 is a diagram showing a relationship between a character string and a JIS character code.

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

1 キャラクタキーボード 2 ファンクションキーボード 3 符号化回路 4 入力バッファ 5 CPU 6 CRTディスプレイ 7 プリンタ 8 変換処理部 9 平仮名/片仮名専用変換処理部 10 仮名漢字変換辞書部 11 文章データメモリ 1 Character keyboard 2 Function keyboard 3 Encoding circuit 4 Input buffer 5 CPU 6 CRT display 7 Printer 8 Conversion processing unit 9 Hiragana / Katakana dedicated conversion processing unit 10 Kana-Kanji conversion dictionary unit 11 Text data memory

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 キー入力手段と、表示手段と、キー入力
手段から入力される仮名文字列を文字コードに変換する
符号化手段と、コード化された文字列をキー入力手段か
ら指令を受けて仮名漢字文字列コードに変換する変換手
段と、前記仮名漢字文字列コードの仮名が、平仮名であ
るか片仮名であるかをそれらのコードに基づいて判別す
る判別手段と、キー入力手段からの出力と前記判別手段
からの出力により、判別された仮名文字のコードに対し
て所定数を加減算してその仮名を平仮名又は片仮名に置
換する置換手段と、コード化された文字列を文字パター
ンに変換して表示手段に出力する出力手段を備えたこと
を特徴とする仮名変換装置。
1. A key input means, a display means, an encoding means for converting a kana character string input from the key input means into a character code, and an encoded character string received from the key input means. Conversion means for converting to kana-kanji character string code; discrimination means for discriminating whether the kana of the kana-kanji character string code is hiragana or katakana based on those codes; and output from the key input means. Based on the output from the determination means, a predetermined number is added to or subtracted from the code of the determined kana character to replace the kana with hiragana or katakana, and the coded character string is converted into a character pattern. A kana conversion device comprising output means for outputting to a display means.
JP3255237A 1991-10-02 1991-10-02 Japanese sillabary converter Pending JPH0594431A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3255237A JPH0594431A (en) 1991-10-02 1991-10-02 Japanese sillabary converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3255237A JPH0594431A (en) 1991-10-02 1991-10-02 Japanese sillabary converter

Publications (1)

Publication Number Publication Date
JPH0594431A true JPH0594431A (en) 1993-04-16

Family

ID=17275942

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3255237A Pending JPH0594431A (en) 1991-10-02 1991-10-02 Japanese sillabary converter

Country Status (1)

Country Link
JP (1) JPH0594431A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003027895A3 (en) * 2001-09-25 2003-10-23 Apple Computer Character string conversion
DE102008021721A1 (en) 2007-05-08 2008-11-27 Citizen Electronics Co., Ltd., Fujiyoshida-shi Optical component, backlight unit and display device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003027895A3 (en) * 2001-09-25 2003-10-23 Apple Computer Character string conversion
US7136803B2 (en) 2001-09-25 2006-11-14 Apple Computer, Inc. Japanese virtual dictionary
US7630880B2 (en) 2001-09-25 2009-12-08 Apple Inc. Japanese virtual dictionary
JP2010165369A (en) * 2001-09-25 2010-07-29 Apple Inc Japanese virtual dictionary
JP2013242895A (en) * 2001-09-25 2013-12-05 Apple Inc Japanese virtual dictionary
DE102008021721A1 (en) 2007-05-08 2008-11-27 Citizen Electronics Co., Ltd., Fujiyoshida-shi Optical component, backlight unit and display device

Similar Documents

Publication Publication Date Title
JPS5994131A (en) Word processor
JPH0594431A (en) Japanese sillabary converter
JPS607514A (en) Word processor
JPH08297663A (en) Device and method for correcting input error
JPH0740263B2 (en) Japanese word processor
JP2615851B2 (en) Key input device
JP2870524B2 (en) Character conversion processor
JPH06110878A (en) Kana-kanji conversion method
JP2761622B2 (en) Character converter
JP2870525B2 (en) Character conversion processor
JP2629946B2 (en) Document processing device
JP2802369B2 (en) Kana-Kanji conversion device
JPS60207948A (en) "kana"/"kanji" conversion processor
JP2939063B2 (en) Document processing device
JPH0585055B2 (en)
JPH04171571A (en) Document processor
JPS6246031B2 (en)
JPH07191992A (en) Character processing device
JPH0785030A (en) Language processing system
JPH08147285A (en) Processing system for inputting negative symbol from additional ten key
JPS6175466A (en) Kana (japanese syllabary) and kanji (chinese character) converting device
JPS62264321A (en) Keyboard input device
JPH0561855A (en) Japanese language processor
JPH0468466A (en) Kana / kanji converting device
JPH05128094A (en) Method and device for automatic setting input mode