Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0332824B2 - - Google Patents
[go: Go Back, main page]

JPH0332824B2 - - Google Patents

Info

Publication number
JPH0332824B2
JPH0332824B2 JP1343640A JP34364089A JPH0332824B2 JP H0332824 B2 JPH0332824 B2 JP H0332824B2 JP 1343640 A JP1343640 A JP 1343640A JP 34364089 A JP34364089 A JP 34364089A JP H0332824 B2 JPH0332824 B2 JP H0332824B2
Authority
JP
Japan
Prior art keywords
character
character string
kanji
conversion
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 - Lifetime
Application number
JP1343640A
Other languages
Japanese (ja)
Other versions
JPH02216578A (en
Inventor
Shigekazu Sumita
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.)
Computer Basic Technology Research Association Corp
Original Assignee
Computer Basic Technology Research Association 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 Computer Basic Technology Research Association Corp filed Critical Computer Basic Technology Research Association Corp
Priority to JP1343640A priority Critical patent/JPH02216578A/en
Publication of JPH02216578A publication Critical patent/JPH02216578A/en
Publication of JPH0332824B2 publication Critical patent/JPH0332824B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明は、ある字種の文字列で入力された読み
情報を、漢字混り文字列(又は漢字)に変換し、
漢字混り文字列の作成を行う日本語処理装置に関
する。
[Detailed description of the invention] [Object of the invention] (Industrial application field) The present invention converts reading information input as a character string of a certain character type into a character string containing kanji (or kanji),
This invention relates to a Japanese language processing device that creates character strings containing kanji.

(従来の技術) この種の日本語処理装置を用いて作成した文書
を校正または編集する場合に、「ひらがな」→
「カタカナ」、「カタカナ」→「ひらがな」、「カタ
カナ」→「ローマ字」、「ローマ字」→「カタカ
ナ」、「カタカナ」→「漢字」など文字種を変換し
たいことがある。このような場合、従来の日本語
処理装置では、表示モニタ上に表示されている文
書の変換を所望する文字列の開始位置をカーソル
で指示するとともに訂正キーを操作して訂正モー
ドにし、次に同じく文字列の最終位置をカーソル
で指示するとともに訂正キーを操作して文字種変
換すべき箇所を指定した後、該当文字の読みを変
換したい文字種でキー入力することによつて、文
字種の変換が行なわれるようになつていた。
(Prior art) When proofreading or editing a document created using this type of Japanese language processing device, "Hiragana" →
You may want to convert character types such as "Katakana", "Katakana" → "Hiragana", "Katakana" → "Romaji", "Romaji" → "Katakana", "Katakana" → "Kanji", etc. In such cases, with conventional Japanese language processing devices, you use the cursor to indicate the start position of the character string you wish to convert in the document displayed on the display monitor, and operate the correction key to enter correction mode, and then Similarly, after specifying the final position of the character string with the cursor and operating the correction key to specify the part where the character type should be converted, the character type conversion is performed by keying in the character type for which you want to convert the reading of the corresponding character. I was starting to be able to do it.

(発明が解決しようとする課題) このような従来の日本語処理装置では、上述し
たように文字種を変換したい文字の読みをキー入
力しなければならないため、特に変換したい文字
が多数ある場合にはキー入力操作回数が増え作業
性が著しく低下する欠点があつた。
(Problem to be Solved by the Invention) With such conventional Japanese language processing devices, as mentioned above, the reading of the character whose character type you want to convert must be entered using the keypad, so especially when there are a large number of characters you want to convert, This method has the disadvantage that the number of key input operations increases and work efficiency is significantly reduced.

本発明は上記事情に鑑みてなされたものであ
り、読み入力文字種(例えば平仮名)から漢字へ
の変換を行うもので、読み入力文字種とは他の文
字種で入力されてしまつた文字列も、改めて読み
入力文字種に直すこと無く漢字又は、漢字混り文
に変換可能な日本語処理装置を提供することを目
的とする。
The present invention was made in view of the above circumstances, and it converts the reading input character type (for example, hiragana) into kanji. It is an object of the present invention to provide a Japanese language processing device capable of converting into kanji or a sentence containing kanji without changing the reading input character type.

[発明の構成] (課題を解決するための手段と作用) 本発明の日本語処理装置は、複数の文字種の文
字列を入力するための入力手段と、前記複数の文
字種の内の特定の文字種を読み入力文字種とし、
この読み入力文字種の文字列を読みとする漢字混
り文字列を得る変換処理手段とを具備し、更に、
前記変換処理手段から得られる漢字混り文字列と
前記複数の文字種の文字列とを含む文字列を生成
する装置であり、作成された前記文字列の中から
特定の文字列を指定する文字列指定手段と、前記
変換処理手段に対し、この文字列指定手段で指定
された文字列の漢字混り文字列への変換を指示す
る漢字変換指示手段とを有する。そして、前記変
換処理手段が、前記文字列指定手段により指定さ
れた指定文字列の文字種が前記読み入力文字種で
はない場合に、この指定文字列を前記読み入力文
字種の文字列に読み替えて漢字変換を行うことを
特徴としている。
[Structure of the Invention] (Means and Effects for Solving the Problems) The Japanese language processing device of the present invention includes an input means for inputting a character string of a plurality of character types, and an input means for inputting a character string of a plurality of character types; Read and set the input character type to
and a conversion processing means for obtaining a character string containing kanji whose reading is the character string of the input character type, further comprising:
A device that generates a character string including a character string containing kanji obtained from the conversion processing means and a character string of the plurality of character types, and a character string that specifies a specific character string from among the created character strings. The apparatus includes a specifying means, and a kanji conversion instructing means for instructing the conversion processing means to convert a character string specified by the character string specifying means into a character string containing kanji. When the character type of the designated character string designated by the character string designation means is not the input character type, the conversion processing means converts the designated character string into the character string of the input character type. It is characterized by doing.

(実施例) 第1図は本発明の日本語処理装置の一実施例を
示すブロツク図である。図中、11は装置の中心
を成す処理装置(以下CPUと称する)、12は主
メモリ(以下、MEMと称する)である。13は
文書フアイルが格納される外部記憶装置たとえば
フロツピーデイスク装置(以下、FDDと称す
る)、14はひらがな漢字変換用の辞書が格納さ
れている外部記憶装置たとえばFDD(フロツピー
デイスク装置)、15はDMA(Direct Memory
Access)装置である。16は変換メモリたとえ
ばROMである。本実施例では、第2図に示され
るようにROM16の記憶領域をアドレス方向に
8ブロツクに等分割し、そのうちの6ブロツクを
文字種変換ブロツク(以下、CBLと称する)1
60〜165として割り当てている。ここで
CBL160〜165は、Nビツト構成のROMア
ドレスの上位3ビツトがそれぞれ“000”,“001”,
“010”,“011”,“100”,“101”のROM16の領
域ある。CBL160の各種「ひらがな」の文字
コード(N−3ビツト)に“000”が付加された
アドレス位置には、それぞれ対応する「ひらが
な」と同じ読みの「カタカナ」の文字コードがあ
らかじめ格納されている。CBL161の各種
「カタカナ」の文字コード(N−3ビツト)に
“001”が付加されたアドレス位置には、それぞれ
対応する「カタカナ」と同じ読みの「ひらがな」
の文字コードがあらかじめ格納されている。
CBL162の各種「カタカナ」の文字コードに
“010”が付加されたアドレス位置にはそれぞれ対
応する「カタカナ」と同じ読みの「ローマ字」の
文字コードがあらかじめ格納されている。CBL
163の各種「ローマ字」の文字コードに“011”
が付加されたアドレス位置にはそれぞれ対応する
「ローマ字」と同じ読みの「カタカナ」の文字コ
ードがあらかじめ格納されている。CBL164
については、CBL163の説明で“011”を
“100”、「カタカナ」を「ひらがな」に変え、また
CBL165についてはCBL162の説明で
“010”を“101”、「カタカナ」を「ひらがな」に
変えて読むものとする。MEM12、DMA装置
15、およびROM16はメモリバス17を介し
てCPU11に接続されている。
(Embodiment) FIG. 1 is a block diagram showing an embodiment of the Japanese language processing device of the present invention. In the figure, 11 is a processing unit (hereinafter referred to as CPU) that forms the center of the apparatus, and 12 is a main memory (hereinafter referred to as MEM). 13 is an external storage device in which document files are stored, such as a floppy disk device (hereinafter referred to as FDD); 14 is an external storage device in which a dictionary for hiragana-kanji conversion is stored, such as FDD (floppy disk device); 15 is DMA (Direct Memory
Access) device. 16 is a conversion memory, such as a ROM. In this embodiment, the storage area of the ROM 16 is equally divided into 8 blocks in the address direction as shown in FIG.
It is assigned as 60-165. here
For CBL160 to 165, the upper three bits of the N-bit ROM address are "000", "001",
There are areas of the ROM 16 labeled “010”, “011”, “100”, and “101”. At the address position where "000" is added to the various "Hiragana" character codes (N-3 bits) of CBL160, "Katakana" character codes with the same reading as the corresponding "Hiragana" are stored in advance. . At the address position where "001" is added to the character code (N-3 bits) of various "Katakana" in CBL161, "Hiragana" with the same reading as the corresponding "Katakana" is written.
The character code of is stored in advance.
At the address positions where "010" is added to the various "Katakana" character codes of CBL162, "Romaji" character codes with the same reading as the corresponding "Katakana" are stored in advance. CBL
163 various “Romaji” character codes “011”
At each address position to which is added, a ``Katakana'' character code with the same reading as the corresponding ``Romaji'' character code is stored in advance. CBL164
In the explanation of CBL163, change "011" to "100", "Katakana" to "Hiragana", and
Regarding CBL165, in the explanation of CBL162, "010" should be changed to "101" and "Katakana" should be changed to "Hiragana". MEM 12, DMA device 15, and ROM 16 are connected to CPU 11 via memory bus 17.

18は表示コードメモリとしてのリフレツシユ
メモリ(以下、RMと称する)19を有する表示
制御部(図示せず)を備えた入出力制御部(以
下、IOCと称する)、20は漢字パターンメモリ
(以下、KPMと称する)である。KPM20には、
通常よく使われる「漢字」、「英字」、「数字」、「ひ
らがな」、「カタカナ」、「記号」などの文字パター
ンが記憶されている。ICO18は入出力バス21
を介してCPU11に接続されている。22はプ
リンタ装置、23は表示モニタたとえばCRTデ
イスプレイ装置(以下、CRT装置と称する)、2
4はキーボード装置である。RM19にはCRT
装置23の1画面分の表示情報(文字コード情
報)が記憶されるようになつており、RM19か
ら読み出された文字コードに対応する文字パター
ンがKPM20から取り出されてCRT装置23に
出力されることにより文字表示が行われる。
18 is an input/output control unit (hereinafter referred to as IOC) equipped with a display control unit (not shown) having a refresh memory (hereinafter referred to as RM) 19 as a display code memory; 20 is a kanji pattern memory (hereinafter referred to as IOC); , KPM). In KPM20,
Character patterns such as commonly used ``kanji'', ``alphabet'', ``numbers'', ``hiragana'', ``katakana'', and ``symbols'' are memorized. ICO18 is input/output bus 21
It is connected to the CPU 11 via. 22 is a printer device, 23 is a display monitor such as a CRT display device (hereinafter referred to as a CRT device), 2
4 is a keyboard device. RM19 has CRT
Display information (character code information) for one screen of the device 23 is stored, and a character pattern corresponding to the character code read from the RM 19 is extracted from the KPM 20 and output to the CRT device 23. Character display is performed by this.

キーボード装置24は「英字」、「数字」、「ひら
がな」、「記号」およびフアンクシヨンキー群を有
している。これらフアンクシヨンキーとしては従
来例で説明した訂正キー、更にはカーソル移動キ
ーなどのほかに、第3図に示されるように文字種
変換指定キー241、文字種指定キーとしてのひ
らがなキー242、カタカナキー243、ローマ
字キー244、および漢字キー245がある。文
字種変換指定キー241は「ひらがな」→「カタ
カナ」、「カタカナ」→「ひらがな」等の文字種の
変換を指定するキーである。ひらがなキー24
2、カタカナキー243はそれぞれひらがな入
力、カタカナ入力を指定するキー、漢字キー24
5は「ひらがな」を「漢字」に変換するためのキ
ーであるが、文字種変換指定キー241と組み合
わされることによつて、変換前の文字種に無関係
に「ひらがな」への変換、「カタカナ」への変換、
「漢字」への変換を指定するキーとしての機能を
発揮できるようになつている。ローマ字キー24
4も同様に「ローマ字」への変換を指定するキー
としての機能を発揮できるようになつている。
The keyboard device 24 has "alphabet", "number", "hiragana", "symbol", and function keys. In addition to the correction keys and cursor movement keys described in the conventional example, these function keys include a character type conversion designation key 241, a hiragana key 242 as a character type designation key, and a katakana key 243, as shown in FIG. , a Romanji key 244, and a Kanji key 245. The character type conversion designation key 241 is a key for specifying character type conversion such as "Hiragana" → "Katakana", "Katakana" → "Hiragana", etc. Hiragana key 24
2. The katakana key 243 is a key for specifying hiragana input and katakana input, and the kanji key 24
5 is a key for converting "Hiragana" into "Kanji", but when combined with the character type conversion specification key 241, conversion to "Hiragana" or "Katakana" is possible regardless of the character type before conversion. conversion,
It is now able to function as a key to specify conversion to ``kanji''. Romaji key 24
4 is also designed to function as a key for specifying conversion to "Romaji".

CPU11はキーボード装置24の文字種変換
指定キー241がキー操作されることによつて文
字種の変換処理を行なうようになつている。この
ため、MEM12には、「ひらがな」を「漢字」
に変換するためのアルゴリズムなどのほかに、文
字種変換プログラムが記憶されている。
The CPU 11 performs character type conversion processing when a character type conversion designation key 241 of the keyboard device 24 is operated. For this reason, MEM12 replaces "hiragana" with "kanji".
In addition to algorithms for converting to , a character type conversion program is stored.

次に本発明の一実施例の動作を第4図のフロー
チヤートを参照して説明する。今、オペレータの
キーボード操作によつて或る文書の呼出しが指定
されたものとする。このとき、特に頁指定がなけ
れば指定文書の第1頁の文字コード情報がFDD
13より読み出される、DMA装置15、メモリ
バス17を介してMEM12の所定領域に記憶さ
れる。CPU11はMEM12に記憶された文書の
第1頁の文字コード情報の先頭から1文字単位で
CRT装置23の1画面分の情報を入出力バス2
1を介してIOC18に転送し、これらの情報(文
字コード)をRM19におけるCRT装置23の
画面位置に対応したアドレス位置に順次書き込
む。しかして、IOC18内の図示せぬ表示制御部
の制御により、RM19から文字コードが読み出
され、この文字コードに対応する文字パターンが
KPM20から取り出されてたとえば第5図に示
されるようにCRT装置23に文書の一部が表示
される。
Next, the operation of one embodiment of the present invention will be explained with reference to the flowchart of FIG. Assume now that the operator specifies the calling of a certain document through a keyboard operation. At this time, if there is no page specification, the character code information of the first page of the specified document will be FDD.
The data is read from the MEM 13 and stored in a predetermined area of the MEM 12 via the DMA device 15 and the memory bus 17. The CPU 11 reads character code information from the beginning of the first page of the document stored in the MEM 12 in units of characters.
Information for one screen of the CRT device 23 is transferred to the input/output bus 2.
1 to the IOC 18, and these pieces of information (character codes) are sequentially written into address positions corresponding to the screen positions of the CRT device 23 in the RM 19. Then, under the control of a display control unit (not shown) in the IOC 18, a character code is read out from the RM 19, and a character pattern corresponding to this character code is created.
A portion of the document is taken out from the KPM 20 and displayed on the CRT device 23 as shown in FIG. 5, for example.

今、CRT装置23に表示されている文書の中
にあるたとえば“カタカナ”を“片仮名”に変
換、すなわち「カタカナ」を「漢字」に文字種変
換したいものである。そこでオペレータはキーボ
ード装置24の文字種変換指定キー241をキー
操作する。そして、文字種変換指定キー241の
キー操作がCPU11によつて検出されると、
MEM12に記憶されている文字種変換プログラ
ムが起動され、CPU11はこのプログラムの実
行を開始する。まずCPU11は第4図のフロー
チヤートに示されるように文字種の指定が行われ
たか否かの判定待ちの状態に入る。
For example, it is desired to convert "Katakana" in the document displayed on the CRT device 23 to "Katakana", that is, to convert "Katakana" to "Kanji". The operator then operates the character type conversion designation key 241 on the keyboard device 24. Then, when the CPU 11 detects a key operation of the character type conversion designation key 241,
The character type conversion program stored in the MEM 12 is activated, and the CPU 11 starts executing this program. First, the CPU 11 enters a state in which it waits to determine whether or not a character type has been specified, as shown in the flowchart of FIG.

オペレータはキーボード装置24のカーソル移
動キー(図示せず)を操作してCRT装置23の
表示画面上で文字種変換したい文字列の先頭位
置、この例では“カタカナ”の“カ”の位置にカ
ーソルを移動し、文字種指定キー、この例では漢
字キー245をキー操作する。これにより、
CPU11は「漢字」への文字種変換を判断する
とともに、周知の技術により変換開始位置を認識
する。次にCPU11は第6図に示されるように
CRT装置23に指定された文字種を表示せしめ
るとともに、変換終了位置を問い合わせるための
操作案内情報を表示せしめる。オペレータはこの
操作案内情報に従つて、上述した場合と同様にカ
ーソル移動キーを操作してCRT装置23の表示
画面上で“カタカナ”の“ナ”の位置にカーソル
を移動し、続いて再び漢字キー245(文字種指
定キー)をキー操作する。これによりCPU11
は変換すべき文字列の終了位置を認識する。
The operator operates the cursor movement keys (not shown) on the keyboard device 24 to place the cursor on the display screen of the CRT device 23 at the beginning position of the character string for which character type conversion is desired, in this example, at the position of “Ka” in “Katakana”. The character type specification key, in this example, the kanji key 245, is operated. This results in
The CPU 11 determines the character type conversion to "kanji" and recognizes the conversion start position using well-known technology. Next, the CPU 11 is operated as shown in Figure 6.
The specified character type is displayed on the CRT device 23, and operation guide information for inquiring about the conversion end position is displayed. In accordance with this operation guidance information, the operator operates the cursor movement keys in the same way as in the case described above to move the cursor to the "na" position of "katakana" on the display screen of the CRT device 23, and then moves the cursor to the "na" position of "katakana" again. Operate key 245 (character type designation key). This will cause CPU11
recognizes the end position of the string to be converted.

CPU11はカーソルによつて指定されたCRT
装置23の表示画面上の文字領域に対応するRM
19(MEM12であつてもよくこの場合には
MEM12の所定領域が表示コードメモリとな
る)の領域の内容を1文字単位で読み取る。そし
て、CPU11はこの読み取つた文字(文字コー
ド)を以下に示すようにして指定された文字種
(の文字コード)に変換する文字種変換処理を行
なう。まずCPU11は上記読み取つた文字(文
字コード)の文字種を判別する。この文字種が漢
字の場合には文字種変換は行なわれない。次に、
CPU11は読み取り文字と、文字種の判別結果
と、変換文字種の指定内容とに基づいてROM1
6に対するROMアドレスを生成する。この場
合、読み取り文字は“カ”であり、その文字種は
「カタカナ」である。また変換文字種は「漢字」
である。そこでCPU11は「カタカナ」→「漢
字」変換を判断し、まず「カタカナ」→「ひらが
な」変換を行ない、次に「ひらがな」→「漢字」
変換を行なう手順をとる。CPU11は「カタカ
ナ」→「ひらがな」変換の場合、変換すべき文字
(この場合“カ”)の文字コード(N−3ビツト)
の上位に3ビツトの情報“001”を付加してNビ
ツトのROMアドレスを生成する。そして、CPU
11はこのROMアドレスを用いてROM16を
アクセスする。これにより、ROM16のCBL1
61の対応するアドレス位置から文字“カ”と同
じ読みの「ひらがな」すなわち文字“か”(の文
字コード)が読み出される。以下、同様にして文
字“タ”、“カ”、“ナ”とそれぞれ同じ読みの「ひ
らがな」すなわち文字“た”、“か”“な”(の各文
字コード)が順次読み出される。次にCPU11
はこれらの文字“ひらかな”を周知のひらがな漢
字変換機能により「漢字」すなわち“片仮名”に
変換する。CPU11はこのようにして得られた
文字“片仮名”の文字コード列をMEM12の
(前記所定領域に記憶されている指定文書の第1
頁の文字コード情報中の)“「カタカナ”を示す文
字コード列の記憶領域に書き込むとともにRM1
9に記憶されている“カタカナ)を示す文字コー
ド列を“片仮名”を示す文字コード列に書き換え
る。この結果、CRT装置23に表示されていた
表示文字“カタカナ”は“片仮名”に変換され
る。すなわち「カタカナ」が「漢字」に変換され
る。CPU11はMEM12内の前記書き換えられ
た所定領域の記憶情報をFDD13に戻す。これ
により文書フアイルの一部の校正が完了する。
CPU11 is the CRT specified by the cursor.
RM corresponding to the character area on the display screen of the device 23
19 (MEM12 may also be used in this case)
The contents of the area (a predetermined area of the MEM 12 serves as a display code memory) are read character by character. Then, the CPU 11 performs a character type conversion process to convert the read character (character code) into a designated character type (character code) as shown below. First, the CPU 11 determines the character type of the read character (character code). If this character type is a kanji, character type conversion is not performed. next,
The CPU 11 uses the ROM 1 based on the read character, the character type determination result, and the specified content of the converted character type.
Generate a ROM address for 6. In this case, the read character is "ka" and the character type is "katakana". Also, the conversion character type is "Kanji"
It is. Therefore, the CPU 11 determines whether to convert "Katakana" to "Kanji", first converts "Katakana" to "Hiragana", then converts "Hiragana" to "Kanji".
Take steps to perform the conversion. When converting from "Katakana" to "Hiragana", the CPU 11 uses the character code (N-3 bits) of the character to be converted (in this case "Ka").
3-bit information "001" is added to the upper part of the address to generate an N-bit ROM address. And the CPU
11 accesses the ROM 16 using this ROM address. As a result, CBL1 of ROM16
``Hiragana'' having the same pronunciation as the character ``KA'', that is, the character ``KA'' (character code) is read out from the corresponding address position of 61. Thereafter, in the same manner, the characters "ta", "ka", and "na" and "hiragana" having the same pronunciation, that is, the characters "ta", "ka", and "na" (character codes) are sequentially read out. Next CPU11
converts these characters ``hirakana'' into ``kanji'' or ``katakana'' using a well-known hiragana-kanji conversion function. The CPU 11 inputs the character code string of the character “Katakana” obtained in this way into the MEM 12 (the first
RM1.
The character code string indicating "Katakana" stored in 9 is rewritten to the character code string indicating "Katakana". As a result, the displayed characters "Katakana" displayed on the CRT device 23 are converted to "Katakana". In other words, "Katakana" is converted to "Kanji". The CPU 11 returns the rewritten storage information of the predetermined area in the MEM 12 to the FDD 13. This completes proofreading a portion of the document file.

ところで、上述した説明では「カタカナ」を
「漢字」に変換する場合について説明したが、「漢
字」を「ひらがな」に変換する場合を除いて各種
の文字種変換を行なうことができることは明らか
である。第7図はROM16内のCBL160〜1
65をを用いたCPU11の文字種変換機能の模
式図であり、「ひらがな」→「カタカナ」,「カタ
カナ」→「ひらがな」,「カタカナ」→「ローマ
字」,「ローマ字」→「カタカナ」,「ローマ字」→
「ひらがな」,「ひらがな」→「ローマ字」の文字
種変換は対応するCBL160〜165を介して
行なわれることが示されている。また、第7図に
は、「カタカナ」→「漢字」,「ローマ字」→「漢
字」の文字種変換はそれぞれCBL161、CBL
164を介して「ひらがな」に変換した後、周知
のひらがな漢字変換機能により漢字に変換するこ
とが示されている。
By the way, in the above explanation, the case of converting "katakana" to "kanji" was explained, but it is clear that various character type conversions can be performed except for the case of converting "kanji" to "hiragana". Figure 7 shows CBL160 to 1 in ROM16.
This is a schematic diagram of the character type conversion function of the CPU 11 using the 65. ”→
It is shown that character type conversion from "Hiragana" and "Hiragana" to "Romaji" is performed via the corresponding CBLs 160 to 165. Also, in Figure 7, the character type conversions for "Katakana" → "Kanji" and "Romaji" → "Kanji" are shown in CBL161 and CBL161, respectively.
164 into "hiragana" and then into kanji by a well-known hiragana-kanji conversion function.

このように本実施例によれば、文字種を変えた
い場合、単に変換箇所並びに変換文字種の指定を
行なうだけでよく、従来の訂正のように同じ読み
の入力操作を行なうことが不要となるので作業性
が著しく向上する。しかも、多種の文字種間の変
換が容易になるため、修正、校正、編集作業効率
が向上する。ところで、一般にひらがな漢字変換
において拗音、促音等のキー入力操作時に、小文
字で入力すべき「や」,「ゆ”,「よ」,「つ」を誤つ
て大文字で入力してしまつたために正しく漢字に
変換されないことがしばしばある。このような場
合、従来の日本語処理装置では、誤入力文字を含
む単語の正しい読みを全て再入力しなければなら
なかつたが、本発明によれば誤入力文字だけを訂
正するだけて正しい漢字に訂正することが可能と
なる。
In this way, according to this embodiment, when you want to change the character type, you only need to specify the conversion location and the conversion character type, and there is no need to input the same reading as in conventional corrections. performance is significantly improved. Moreover, since conversion between various character types becomes easy, the efficiency of correction, proofreading, and editing work is improved. By the way, when converting hiragana to kanji, when inputting keys such as consonants and consonants, I mistakenly entered capital letters for ``ya'', ``yu'', ``yo'', and ``tsu'', which should be input in lowercase letters. It is often not converted to kanji. In such cases, with conventional Japanese language processing devices, it was necessary to re-enter all the correct pronunciations of the word containing the incorrectly input characters, but with the present invention, correct kanji can be obtained by correcting only the incorrectly input characters. It becomes possible to make corrections.

なお、前記実施例では文字種変換指定キー24
1を設けた場合について説明したが、文字種の変
換指定と、どの文字種に変換したいかの文字種指
定とを行なう専用のキー、たとえばひらがな変換
指定キー、カタカナ変換指定キーを新たに設ける
ようにしてもよい。この場合、キー操作回数が1
回少なくなる。また、前記実施例ではROM16
を設け、「ひらがな」→「漢字」変換を除いてハ
ード的に文字種変換を行なう場合について説明し
たが、たとえばMEM12内に各種の変換テーブ
ルを置き、テーブルを索引することによつて文字
種変換を行なうようにしてもよい。
In the above embodiment, the character type conversion designation key 24
Although we have explained the case where 1 is provided, it is also possible to newly provide a dedicated key for specifying the character type conversion and specifying the character type to be converted, such as a hiragana conversion specification key and a katakana conversion specification key. good. In this case, the number of key operations is 1
fewer times. In addition, in the above embodiment, the ROM16
We have explained the case where character type conversion is performed using hardware, except for "Hiragana" → "Kanji" conversion, but for example, character type conversion can be performed by placing various conversion tables in MEM12 and indexing the tables. You can do it like this.

[発明の効果] 本発明の日本語処理装置によれば、読み入力文
字種とは他の文字種で入力されてしまつた文字列
も、オペレータがその文字列を指定し、漢字混り
文(又は漢字)への変換を指示するだけで、所望
の漢字、又は、漢字混じり文を得ることができ
る。従つて、他の文字種で入力されてしまつた文
字列を読み入力文字種で入力し直して漢字、又
は、漢字混り文に変換したり、他の文字種で入力
されてしまつた文字列を読み入力文字種に変換し
た後に改めてこの文字列を指定して漢字、又は、
漢字混り文に変換したりするという手間がなくな
り、作業性が著しく向上する。
[Effects of the Invention] According to the Japanese language processing device of the present invention, even if a character string has been input in a character type other than the reading input character type, the operator can specify the character string and convert it into a kanji-containing sentence (or a kanji-containing sentence). ), you can obtain the desired kanji or a sentence containing kanji. Therefore, you can read character strings that were input using other character types, re-enter them using the input character type, and convert them to kanji or sentences containing kanji, or read and input character strings that were input using other character types. After converting to the character type, specify this string again to convert it to kanji, or
This eliminates the hassle of converting sentences containing kanji, and the work efficiency is significantly improved.

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

第1図は本発明の一実施例を示すブロツク図、
第2図は上記実施例におけるROM内の文字種変
換ブロツク割り当てマツプを示す図、第3図はキ
ーボード装置の要部のキー構成例を示す図、第4
図は動作を説明するためのフローチヤート、第5
図および第6図は表示画面を示す図、第7図は文
字種変換機能の模式図である。 11……処理装置(CPU)、12……主メモリ
(MEM)、16……ROM(変換メモリ)、19…
…リフレツシユメモリ(RM)、23……CRT装
置(表示モニタ)、24……キーボード装置、1
60〜165……文字種変換ブロツク(CBL,
変換テーブル)。
FIG. 1 is a block diagram showing one embodiment of the present invention;
FIG. 2 is a diagram showing a character type conversion block assignment map in the ROM in the above embodiment, FIG. 3 is a diagram showing an example of the key configuration of the main part of the keyboard device, and FIG.
The figure is a flowchart for explaining the operation.
6 and 6 are diagrams showing the display screen, and FIG. 7 is a schematic diagram of the character type conversion function. 11... Processing unit (CPU), 12... Main memory (MEM), 16... ROM (conversion memory), 19...
... Refresh memory (RM), 23 ... CRT device (display monitor), 24 ... Keyboard device, 1
60-165...Character type conversion block (CBL,
conversion table).

Claims (1)

【特許請求の範囲】 1 複数の文字種の文字列を入力するための入力
手段と、前記複数の文字種の内の特定の文字種を
読み入力文字種とし、この読み入力文字種の文字
列を読みとする漢字混り文字列を得る変換処理手
段とを具備し、前記変換処理手段から得られる漢
字混り文字列と前記複数の文字種の文字列とを含
む文字列を生成する日本語処理装置において、 作成された前記文字列の中から特定の文字列を
指定する文字列指定手段と、前記変換処理手段に
対し、この文字列指定手段で指定された文字列の
漢字混り文字列への変換を指示する漢字変換指示
手段とを有し、 前記変換処理手段は、前記文字列指定手段によ
り指定された指定文字列の文字種が前記読み入力
文字種ではない場合、この指定文字列を前記読み
入力文字種の文字列に読み替えて漢字変換を行う
ことを特徴とした日本語処理装置。 2 前記変換処理手段は、前記読み入力文字種の
各文字とその他の文字種の各文字の対応を記憶
し、前記指定文字列中の各文字を対応する読み入
力文字種の文字に読み替えて漢字混り文字列に変
換することを特徴とした特許請求の範囲第1項記
載の日本語処理装置。 3 前記読み入力文字種は片仮名、又は、平仮名
であり、前記変換処理手段は、英文字で入力され
ている前記指定文字列をローマ字列として対応す
る平仮名、又は、片仮名に読み替えて漢字混り文
字列に変換することを特徴とした特許請求の範囲
第1項記載の日本語処理装置。
[Scope of Claims] 1. An input means for inputting a character string of a plurality of character types, a kanji whose reading input character type is a specific character type among the plurality of character types, and whose reading is the character string of the input character type. and a conversion processing means for obtaining a mixed character string, and generates a character string including a kanji mixed character string obtained from the conversion processing means and a character string of the plurality of character types. a character string specifying means for specifying a specific character string from among the character strings selected, and instructing the conversion processing means to convert the character string specified by the character string specifying means into a character string containing kanji. and a kanji conversion instruction means, when the character type of the designated character string designated by the character string designation means is not the input character type, the conversion processing means converts the designated character string into a character string of the input character type. A Japanese language processing device that performs kanji conversion by translating the reading into . 2. The conversion processing means stores the correspondence between each character of the reading input character type and each character of other character types, and converts each character in the designated character string into a character of the corresponding reading input character type to create a kanji-mixed character. 2. The Japanese language processing device according to claim 1, wherein the Japanese language processing device converts into a string. 3. The reading input character type is katakana or hiragana, and the conversion processing means converts the specified character string input in English characters into a corresponding hiragana or katakana character string as a Roman character string, and converts it into a character string containing kanji. 2. The Japanese language processing device according to claim 1, wherein the Japanese language processing device converts the Japanese language into the Japanese language.
JP1343640A 1989-12-28 1989-12-28 Japanese language processor Granted JPH02216578A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1343640A JPH02216578A (en) 1989-12-28 1989-12-28 Japanese language processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1343640A JPH02216578A (en) 1989-12-28 1989-12-28 Japanese language processor

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP57037781A Division JPS58155439A (en) 1982-03-10 1982-03-10 Japanese language processing device

Publications (2)

Publication Number Publication Date
JPH02216578A JPH02216578A (en) 1990-08-29
JPH0332824B2 true JPH0332824B2 (en) 1991-05-14

Family

ID=18363093

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1343640A Granted JPH02216578A (en) 1989-12-28 1989-12-28 Japanese language processor

Country Status (1)

Country Link
JP (1) JPH02216578A (en)

Also Published As

Publication number Publication date
JPH02216578A (en) 1990-08-29

Similar Documents

Publication Publication Date Title
JPH0332824B2 (en)
JPS6010348B2 (en) Automatic conversion method for half-width and full-width characters
JPH045224B2 (en)
JP2559363B2 (en) Document creation device
JPS58155439A (en) Japanese language processing device
JP3042284B2 (en) Japanese input device
JPS605318A (en) Input device of sentence composed of kana and kanji
JPH05282296A (en) Document creation support device
JPS60201467A (en) Japanese processing device
JP2590643B2 (en) Document processing method and document processing device
JP2509554B2 (en) Character processing method
JPS6265162A (en) Kana-kanji conversion method and device
JPS61223977A (en) Translation processor
JPH0375812A (en) Sentence generating device
JPH0589139A (en) Document preparing device
JPH096772A (en) Character processor
JPS6319060A (en) Kana-kanji conversion device
JPS6091434A (en) Document producer
JPH04155571A (en) Document processor
JPH076172A (en) Word processor
JPH07271787A (en) Reading character string converter
JPS6338737B2 (en)
JPH03206551A (en) Method and device for displaying conversion candidates for reading input character strings
JPH05242078A (en) Processing method for character
JPH0562794B2 (en)