JPH11328159A - Device and method for chinese input conversion processing and recording medium where chinese input conversion processing program is recorded - Google Patents

Device and method for chinese input conversion processing and recording medium where chinese input conversion processing program is recorded

Info

Publication number
JPH11328159A
JPH11328159A JP10131887A JP13188798A JPH11328159A JP H11328159 A JPH11328159 A JP H11328159A JP 10131887 A JP10131887 A JP 10131887A JP 13188798 A JP13188798 A JP 13188798A JP H11328159 A JPH11328159 A JP H11328159A
Authority
JP
Japan
Prior art keywords
pinyin
input
character string
chinese
conversion
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
JP10131887A
Other languages
Japanese (ja)
Inventor
Yukihiro Karasaki
幸弘 唐崎
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP10131887A priority Critical patent/JPH11328159A/en
Publication of JPH11328159A publication Critical patent/JPH11328159A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PROBLEM TO BE SOLVED: To confirm a part which can be interpreted as pinyin and other parts in the case of pinyin input. SOLUTION: When a character string is inputted from an input part 21, an input control processing part 22 decides whether or not the input character string is a pinyin through a pinyin substitution control part 23. Then the pinyin substitution control part 23 checks the input character string by referring to a pinyin rule table 23a. Then an indication is sent to an editor 27 so that the character string is displayed in a 1st display style when pinyin and in a 2nd display style when not.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、中国語文書の作成
に用いられる中国語ワードプロセッサ等の中国語入力変
換処理装置に係り、特にピンイン入力により変換処理を
行う場合に用いて好適な中国語入力変換処理装置と、こ
の中国語入力変換処理装置に用いられる中国語入力変換
処理方法、中国語入力変換処理プログラムを記録した記
録媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a Chinese input conversion device such as a Chinese word processor used for creating a Chinese document, and more particularly to a Chinese input suitable for use in performing a conversion process by pinyin input. The present invention relates to a conversion processing apparatus, a Chinese input conversion processing method used in the Chinese input conversion processing apparatus, and a recording medium that stores a Chinese input conversion processing program.

【0002】[0002]

【従来の技術】中国語の入力方法は、字形情報を利用す
る入力方法(字形入力方法)と字音情報を使用する入力
方法(字音入力方法)の2つに大きく分類することがで
きる。前者の字形情報とは、漢字の形から得られる情報
のことであり、部首、筆画、画数などに相当する。後者
の字音情報とは、漢字の読みから得られる情報である。
字音入力方法では、漢字の読みを音韻的に分解した声
母、介音、韻部、声調や、これらの組み合わせからなる
字音情報がよく使われる。
2. Description of the Related Art Chinese input methods can be broadly classified into two methods: an input method using character information (character input method) and an input method using character information (character input method). The former character shape information is information obtained from the shape of a kanji, and corresponds to a radical, a stroke, the number of strokes, and the like. The latter character information is information obtained from reading a kanji.
In the syllabary input method, vowels, syllables, rhymes, tones obtained by phonetically decomposing kanji readings, and syllabic information including combinations of these are often used.

【0003】現在は前者の字形入力方法がポピュラーで
あるが、自分で文章を考えながら入力する場合に適して
いる字音入力方法の需要も最近増してきている。字音入
力方法には、主にピンインという表音記号が使われ、ピ
ンインはアルファベット26文字とu、eを使って中国
語すべての音節を表すものである。
At present, the former character-shape input method is popular, but the demand for a character-sound input method suitable for inputting while considering a sentence by oneself has been increasing recently. The phonetic input method mainly uses a phonetic symbol called pinyin, which represents all Chinese syllables using 26 letters of the alphabet and u and e.

【0004】すなわち、中国語では、1つの漢字の発音
は必ず1音節になっている。1つの音節はさらに「声
母」と呼ばれる先頭子音(音節の先頭にくる子音)と、
「韻母」と呼ばれる「声母」を除いた部分(母音、二重
母音、鼻音化母音などがある)とで構成されている。ま
た、音節の抑揚を表わす「四声」と呼ばれる声調(日本
語のアクセントに似たようなもの)があり、1つの音節
は声母、韻母と四声の3要素から構成される。
That is, in Chinese, the pronunciation of one kanji is always one syllable. One syllable further includes a leading consonant called "vowel" (a consonant at the beginning of the syllable),
It is composed of parts excluding "vowels" called "final vowels" (including vowels, diphthongs, nasal vowels, etc.). There is also a tone called "four voices" (similar to Japanese accent) which represents the inflection of a syllable, and one syllable is composed of three elements, a vowel, a final and a four voice.

【0005】声母の例:b,p,m,f,d,t,n,
l,zh,ch,sh,… 韻母の例:a,o,e,i,u,ai,en,ang,
iong,… 字音入力方法は、このような声母と韻母をピンインで入
力する方法である。ピンインは近年基礎教育で学べるの
で、ピンインによる字音入力方法は習得しやすい入力方
法といえる。以下では、ピンインによる字音入力方法を
用いる場合を想定して説明する。
Examples of vowels: b, p, m, f, d, t, n,
l, zh, ch, sh,... Examples of rhyme: a, o, e, i, u, ai, en, ang,
ong,... The character input method is a method of inputting such a voice and a final in pinyin. Since Pinyin can be learned in basic education in recent years, it can be said that the Pinyin input method is easy to learn. The following description is made on the assumption that a character input method based on pinyin is used.

【0006】アルファベットによるピンイン入力を中国
語に変換する装置において、現在の課題はいかに早く、
効率的かつ正確にピンインを中国語漢字に変換するかで
ある。
[0006] In a device for converting Pinyin input by alphabet into Chinese, the current problem is how quickly.
Efficient and accurate conversion of Pinyin to Chinese Kanji.

【0007】上述したように、ピンイン入力はアルファ
ベットにより中国語漢字の読みを表記する入力方式であ
るが、日本語のローマ字読みと同様、中国語漢字の読み
を表現するためのアルファベットの組み合わせは規定さ
れており、それ以外の組み合わせはピンインとして成立
しない。
[0007] As described above, Pinyin input is an input method in which Chinese kanji readings are represented by alphabets. Similar to Japanese Roman alphabet readings, combinations of alphabets for expressing Chinese kanji readings are prescribed. Other combinations are not established as pinyin.

【0008】また、日本語のローマ字入力では、入力し
た時点でひらがなに変換されて表示され、ローマ字とし
て成立しない入力を行った場合には、そのままローマ字
(アルファベット)が表示される。したがって、ユーザ
は入力時にローマ字入力した文字列が正しいか否かを即
座に判断することができる。
[0008] In addition, when inputting Japanese Roman characters, the characters are converted to Hiragana and displayed at the time of input, and when an input that does not hold as Roman characters is performed, Roman characters (alphabet) are displayed as they are. Therefore, the user can immediately judge whether or not the character string input in Roman characters at the time of input is correct.

【0009】しかしながら、中国語のピンイン入力で
は、日本語のひらがなに相当するものがないため、アル
ファベットを入力した時点で変化はなく、変換キーの押
下により中国語漢字に変換してみないと、ピンインとし
て正しいアルファベットを入力したのか否かを判断する
ことができない。
However, in Chinese Pinyin input, there is no equivalent to Japanese Hiragana, so there is no change at the time of inputting the alphabet, and unless it is converted to Chinese Kanji by pressing the conversion key, It is not possible to determine whether the correct alphabet has been entered as Pinyin.

【0010】[0010]

【発明が解決しようとする課題】上記したように、従
来、ピンイン入力では、変換結果を見るまで、ピンイン
として正しいアルファベットを入力したのか否かを判断
することができなかった。このため、ピンイン入力時に
文字列を注意深く確認するか、あるいは、変換後、誤り
部分を再度ピンイン入力して変換するなど、非常に不具
合な問題があった。
As described above, conventionally, with pinyin input, it has not been possible to determine whether or not the correct alphabet has been input as pinyin until the conversion result is viewed. For this reason, there has been a very inconvenient problem such as carefully checking the character string at the time of pinyin input, or re-inputting and converting the error portion after conversion.

【0011】また、ピンインとして成立しない文字列を
入力したとき、それ以降の入力文字列をピンインとする
か、入力時のアルファベットのままとするような切り替
えを行うことができなかった。このため、例えば意図的
にアルファベットを入力したいときや、アルファベット
混在でピンイン入力をしたい場合などに不便であった。
Further, when a character string that does not hold as pinyin is input, it is not possible to perform switching so that subsequent input character strings are pinyin or remain in the alphabet at the time of input. For this reason, it is inconvenient when, for example, it is desired to input alphabets intentionally or when pinyin input is to be performed with mixed alphabets.

【0012】本発明は上記のような点に鑑みなされたも
ので、ピンイン入力を行う場合に、ピンインとして解釈
できる部分とそうでない部分とを入力時に確認すること
ができ、また、ピンインとして解釈して変換するか否か
をモードにより指定可能とし、スムーズなピンイン入力
を実現する中国語入力変換処理装置、中国語入力変換処
理方法、中国語入力変換処理プログラムを記録した記録
媒体を提供することを目的とする。
The present invention has been made in view of the above points, and when performing pinyin input, a portion that can be interpreted as pinyin and a portion that cannot be interpreted as pinyin can be confirmed at the time of input. To provide a Chinese input conversion processing device, a Chinese input conversion processing method, and a recording medium on which a Chinese input conversion processing program for realizing smooth pinyin input is provided. Aim.

【0013】[0013]

【課題を解決するための手段】本発明の請求項1に係る
中国語入力変換処理装置は、文字列を入力する入力手段
と、この入力手段によって入力された文字列がピンイン
として成立するか否かを判定するピンイン判定手段と、
このピンイン判定手段の判定結果に応じた属性情報を上
記入力された文字列に付加して記憶する入力文字列記憶
手段と、この入力文字列記憶手段に記憶された入力文字
列を上記属性情報に基づいて区別表示するものであり、
ピンインとして成立する文字列を第1の表示形態で表示
し、ピンインとして成立しない文字列を第2の表示形態
で表示する表示手段とを具備したことを特徴とする。
According to a first aspect of the present invention, there is provided a Chinese character input conversion processing device, comprising: an input unit for inputting a character string; and whether or not the character string input by the input unit is pinyin. Pinyin determination means for determining whether
Input character string storage means for adding attribute information corresponding to the determination result of the pinyin determination means to the input character string and storing the input character string; and storing the input character string stored in the input character string storage means in the attribute information. And distinguish them based on
Display means for displaying, in a first display mode, a character string that is established as Pinyin, and displaying a character string that is not established as Pinyin in a second display mode.

【0014】このような構成によれば、入力された文字
列がピンインとして成立する場合には第1の表示形態で
表示され、ピンインとして成立しない場合には第2の表
示形態で表示される。したがって、入力時に文字列がピ
ンインとして成立しているか否かを判断することがで
き、ピンインとして成立していない部分を変換前に訂正
することができる。
According to such a configuration, when the input character string is established as pinyin, it is displayed in the first display mode, and when it is not established as pinyin, it is displayed in the second display mode. Therefore, at the time of input, it can be determined whether or not a character string is established as Pinyin, and a portion not established as Pinyin can be corrected before conversion.

【0015】また、本発明の請求項2に係る中国語入力
変換処理装置は、文字列を入力する入力手段と、この入
力手段によって入力された文字列がピンインとして成立
するか否かを判定するピンイン判定手段と、このピンイ
ン判定手段の判定結果に応じた属性情報を上記入力され
た文字列に付加して記憶する入力文字列記憶手段と、第
1または第2の表示モードを設定する表示モード設定手
段と、上記入力文字列記憶手段に記憶された入力文字列
を上記属性情報に基づいて区別表示するものであり、上
記表示モード設定手段によって上記第1の表示モードが
設定されている場合には、ピンインとして成立する文字
列を第1の表示形態で表示し、ピンインとして成立しな
い文字列を第2の表示形態で表示し、上記第2の表示モ
ードが設定されている場合には、ピンインとして成立し
ない文字列以降に入力された文字列をピンインとして解
釈せずに上記第2の表示形態で表示する表示手段とを具
備したことを特徴とする。
According to a second aspect of the present invention, there is provided a Chinese character input conversion processing device for inputting a character string and determining whether or not the character string input by the input means is valid as a pinyin. Pinyin determination means, input character string storage means for adding attribute information according to the determination result of the pinyin determination means to the input character string and storing the same, and a display mode for setting a first or second display mode Setting means for displaying the input character string stored in the input character string storage means based on the attribute information, wherein the first display mode is set by the display mode setting means. Displays a character string that is established as Pinyin in a first display mode, displays a character string that is not established as Pinyin in a second display mode, and sets the second display mode. If that is characterized by comprising a display means for displaying the character string input to the subsequent string not true as pinyin in the second display mode without interpreting as Pinyin.

【0016】このような構成によれば、入力文字列の表
示に際し、第1または第2の表示モードを任意に選択す
ることができる。第2の表示モードでは、ピンインとし
て成立しない文字列以降の文字列がピンインとして解釈
されずに第2の表示形態で表示される。したがって、例
えば意図的にアルファベットを入力したり、ピンインと
アルファベットとを混在して入力する場合などにおいて
便利である。
According to such a configuration, the first or second display mode can be arbitrarily selected when displaying the input character string. In the second display mode, character strings subsequent to a character string that does not hold as pinyin are displayed in the second display mode without being interpreted as pinyin. Therefore, for example, it is convenient when the alphabet is intentionally input, or when pinyin and the alphabet are mixed and input.

【0017】第1の表示モードでは、ピンインとして成
立しない文字列以降の文字列がピンインとして解釈さ
れ、ピンインとして成立する場合に第1の表示形態で表
示され、ピンインとして成立しない場合に第2の表示形
態で表示される。したがって、ピンイン入力する場合
に、入力時に文字列がピンインとして成立しているか否
かを判断することができ、ピンインとして成立していな
い部分を変換前に訂正することができる。
In the first display mode, a character string subsequent to a character string that is not satisfied as pinyin is interpreted as pinyin, and is displayed in the first display mode when it is satisfied as pinyin, and is displayed in the second display mode when it is not satisfied as pinyin. It is displayed in a display form. Therefore, when performing pinyin input, it is possible to determine whether or not a character string is established as pinyin at the time of input, and it is possible to correct a portion that is not established as pinyin before conversion.

【0018】また、請求項3では、上記請求項1または
請求項2において、非区別表示モードを設定する表示モ
ード設定手段を有し、上記表示手段は、上記表示モード
設定手段によって上記非区別表示モードが設定された場
合に、上記入力された文字列のすべてを同じ表示形態で
表示することを特徴とする。
According to a third aspect of the present invention, in the first or second aspect, there is provided a display mode setting means for setting a non-differential display mode, and the display means is provided with the non-differential display by the display mode setting means. When the mode is set, all of the input character strings are displayed in the same display form.

【0019】このような構成によれば、非区別表示モー
ドを選択することにより、入力された文字列はすべて同
じ表示形態で表示されるため、例えばピンイン入力時に
通常通りの表示を好む場合などに便利である。
According to such a configuration, by selecting the non-distinguishable display mode, all of the input character strings are displayed in the same display form. It is convenient.

【0020】本発明の請求項4に係る中国語入力変換処
理装置は、文字列を入力する入力手段と、この入力手段
によって入力された文字列がピンインとして成立するか
否かを判定するピンイン判定手段と、このピンイン判定
手段の判定結果に応じた属性情報を上記入力された文字
列に付加して記憶する入力文字列記憶手段と、第1また
は第2の変換モードを設定する変換モード設定手段と、
上記入力文字列記憶手段に記憶された入力文字列を上記
属性情報に基づいて中国語漢字に変換するものであり、
上記変換モード設定手段によって上記第1の変換モード
が設定されている場合には、ピンインとして成立する文
字列を中国語漢字に変換して出力し、ピンインとして成
立しない文字列をそのまま出力し、上記第2の変換モー
ドが設定されている場合には、ピンインとして成立しな
い文字列以降に入力された文字列をピンインとして解釈
せずに、そのまま出力する変換手段とを具備したことを
特徴とする。
According to a fourth aspect of the present invention, there is provided a Chinese input conversion processing apparatus comprising: an input unit for inputting a character string; and a pinyin determination for determining whether or not the character string input by the input unit is valid as a pinyin. Means, input character string storage means for adding attribute information corresponding to the determination result of the pinyin determination means to the input character string and storing the same, and conversion mode setting means for setting the first or second conversion mode When,
Converting the input character string stored in the input character string storage means into Chinese kanji based on the attribute information;
When the first conversion mode is set by the conversion mode setting means, the character string that is established as Pinyin is converted into Chinese kanji and output, and the character string that is not established as Pinyin is output as it is. In the case where the second conversion mode is set, a character string input after a character string that is not satisfied as pinyin is not interpreted as pinyin, but is output as it is without conversion.

【0021】このような構成によれば、入力文字列の変
換に際し、第1または第2の変換モードを任意に選択す
ることができる。第2の変換モードでは、ピンインとし
て成立しない文字列以降に入力された文字列はピンイン
として解釈されず、変換時にはそのままの状態で表示さ
れる。よって、例えば意図的にアルファベットを入力し
たいときや、アルファベット混在でピンイン入力をした
い場合などにおいて、モードの切り替え操作なしで、例
えばアルファベットからなる単語を得ることができる。
According to such a configuration, when converting the input character string, the first or second conversion mode can be arbitrarily selected. In the second conversion mode, character strings input after a character string that does not hold as pinyin are not interpreted as pinyin, and are displayed as they are during conversion. Therefore, for example, when an alphabet is intentionally input or when pinyin input is to be performed with a mixture of alphabets, a word composed of, for example, an alphabet can be obtained without a mode switching operation.

【0022】第1の変換モードでは、ピンインとして成
立しない文字列以降に入力された文字列はピンインとし
て解釈され、ピンインとして成立していれば、変換時に
中国語変換され、ピンインとして成立していなければ、
そのままの状態で表示される。よって、ピンイン入力す
る場合において、ピンインとして正しい文字列に対応す
る変換候補を得ることができる。
In the first conversion mode, a character string input after a character string that is not satisfied as Pinyin is interpreted as Pinyin. If the character string is satisfied as Pinyin, it is converted to Chinese at the time of conversion and must not be realized as Pinyin. If
It is displayed as it is. Therefore, when inputting Pinyin, a conversion candidate corresponding to a character string correct as Pinyin can be obtained.

【0023】[0023]

【発明の実施の形態】以下、図面を参照して本発明の実
施形態を説明する。 (第1の実施形態)図1は本発明の中国語入力変換処理
装置のシステム構成を示すブロック図である。本装置
は、アルファベットのピンインを入力して中国語変換を
行うものである。
Embodiments of the present invention will be described below with reference to the drawings. (First Embodiment) FIG. 1 is a block diagram showing the system configuration of a Chinese input conversion processing device according to the present invention. This device is for inputting alphabetic pinyin and performing Chinese conversion.

【0024】なお、本実施形態における中国語入力変換
処理装置は、例えば磁気ディスク等の記録媒体に記録さ
れたプログラムを読み込み、このプログラムによって動
作が制御されるコンピュータによって実現される。
Note that the Chinese input conversion processing device in the present embodiment is realized by a computer which reads a program recorded on a recording medium such as a magnetic disk and the operation of which is controlled by the program.

【0025】図1に示すように、本実施形態における中
国語入力変換処理装置は、CPU11、メモリ12、入
力装置13、表示装置14、外部記憶装置15、印刷装
置16、通信装置17によって構成される。
As shown in FIG. 1, the Chinese input conversion processing device according to the present embodiment includes a CPU 11, a memory 12, an input device 13, a display device 14, an external storage device 15, a printing device 16, and a communication device 17. You.

【0026】CPU11は、本装置の動作全体を制御す
るものであり、メモリ12に格納されたプログラムの起
動で動作する。なお、メモリ12に格納されたプログラ
ムに基づいて実現される機能としては、アプリケーショ
ンプログラムによるワードプロセッサ等がある。
The CPU 11 controls the entire operation of the present apparatus, and operates by activating a program stored in the memory 12. The functions realized based on the program stored in the memory 12 include a word processor by an application program.

【0027】メモリ12は、例えばROMやRAMから
なり、本装置で使用される各種プログラムやフォント
(中国語フォントを含む)等のデータを格納する。この
メモリ12には、ワードプロセッサを実現するアプリケ
ーションプログラムなどのプログラムデータを格納する
ためのプログラム領域12aの他、入力バッファ12
b、候補バッファ12c、文書バッファ12dなどが設
けられている。
The memory 12 is composed of, for example, a ROM or a RAM, and stores various programs and fonts (including Chinese fonts) used in the apparatus. The memory 12 includes a program area 12 a for storing program data such as an application program for realizing a word processor, and an input buffer 12.
b, a candidate buffer 12c, a document buffer 12d, and the like.

【0028】入力バッファ12bは、文書作成のために
入力された中国語漢字の読みであるピンイン文字列を格
納する。候補バッファ12cは、ピンイン漢字変換によ
って得られた変換候補を格納する。文書バッファ12d
は、ピンイン漢字変換によって得られた中国語漢字から
なる文書データを格納する。
The input buffer 12b stores a Pinyin character string which is a Chinese kanji reading input for document creation. The candidate buffer 12c stores the conversion candidates obtained by the Pinyin Kanji conversion. Document buffer 12d
Stores document data consisting of Chinese kanji obtained by Pinyin kanji conversion.

【0029】入力装置13は、キーボードからなり、本
装置に対する指示やデータの入力を行うものであり、中
国語の読み表記であるピンイン文字列の入力や、その入
力されたピンイン文字列に対するピンイン漢字変換指示
(「変換」キーの操作による指示)や単漢字変換指示
(「単漢字」キーの操作による指示)などを行うための
ものである。
The input device 13 is composed of a keyboard and is used for inputting instructions and data to the device. The input device 13 is used to input a Pinyin character string, which is a Chinese reading notation, and to input a Pinyin Chinese character for the input Pinyin character string. It is for giving a conversion instruction (instruction by operating a “conversion” key) or a single kanji conversion instruction (instruction by operating a “single kanji” key).

【0030】表示装置14は、例えばCRT (Cathode
Ray Tube) やLCD (Liquid Crystal Display) からな
り、入力装置13を通じて入力されたピンイン文字列や
ピンイン漢字変換結果などの表示を行う。
The display device 14 is, for example, a CRT (Cathode
It comprises a Ray Tube) and an LCD (Liquid Crystal Display), and displays a Pinyin character string, a Pinyin Kanji conversion result, and the like input through the input device 13.

【0031】外部記憶装置15は、例えばHDD (Hard
Disk Drive)やCD−ROM (Compact Disc Read Only
Memory)からなり、各種プログラムや文書などのデータ
を保存する。この外部記憶装置15には、ワードプロセ
ッサを実現するためのアプリケーションプログラムの
他、ピンイン漢字変換処理で使用する辞書などのデータ
も含まれる。
The external storage device 15 is, for example, an HDD (Hard
Disk Drive) and CD-ROM (Compact Disc Read Only)
Memory), which stores data such as various programs and documents. The external storage device 15 includes data such as a dictionary used in Pinyin kanji conversion processing in addition to an application program for realizing a word processor.

【0032】印刷装置16は、文書の印刷等を行うため
に用いられる。この印刷装置16としては、本装置に内
蔵されたものでも、外付けにて接続されるものでも良
い。また、通信装置17は、例えば構内LAN (Local
Area Network) や通信ネットワーク等を介して外部装置
とのデータの送受信制御を行う。
The printing device 16 is used for printing a document and the like. The printing device 16 may be built in the printing apparatus or may be connected externally. The communication device 17 is, for example, a private LAN (Local
It controls the transmission and reception of data with external devices via an Area Network) or a communication network.

【0033】次に、図1に示すシステム構成によって実
現される中国語入力変換処理装置の機能構成について説
明する。図2は図1のシステム構成によって実現される
中国語入力変換処理装置の機能構成を示すブロック図で
ある。図2に示すように、本実施形態における中国語入
力変換処理装置は、入力部21、入力制御処理部22、
ピンイン置換制御部23、変換制御部24、中国語変換
処理部25、中国語辞書26、エディタ27、出力部2
8を有する。
Next, the functional configuration of the Chinese input conversion processing device realized by the system configuration shown in FIG. 1 will be described. FIG. 2 is a block diagram showing a functional configuration of the Chinese input conversion processing device realized by the system configuration of FIG. As shown in FIG. 2, the Chinese input conversion processing device according to the present embodiment includes an input unit 21, an input control processing unit 22,
Pinyin replacement control unit 23, conversion control unit 24, Chinese conversion processing unit 25, Chinese dictionary 26, editor 27, output unit 2
8

【0034】入力部21は、変換対象となる読み文字列
や変換指示等の入力を行う。入力制御処理部22は、入
力部21より入力された情報を受け取り、管理するもの
である。この入力制御処理部22は、ピンインで入力さ
れた読み文字列を記憶するための読み文字列バッファ2
2a、ピンインとして解釈するか否かを示すピンイン解
釈フラグを記憶するためのフラグバッファ22b、ユー
ザによって指定された表示モードや変換モードを記憶す
るためのモードバッファ22cなどを有する。
The input section 21 inputs a read character string to be converted, a conversion instruction, and the like. The input control processing unit 22 receives and manages information input from the input unit 21. The input control processing unit 22 includes a reading character string buffer 2 for storing a reading character string input in Pinyin.
2a, a flag buffer 22b for storing a Pinyin interpretation flag indicating whether or not to interpret as Pinyin, a mode buffer 22c for storing a display mode or a conversion mode designated by the user, and the like.

【0035】ピンイン置換制御部23は、ピンイン規則
を記憶したピンイン規則テーブル23aを有し、入力文
字列がピンインとして成立しているか否かを判断する。
変換制御部24は、中国語変換処理部25を制御し、ピ
ンイン入力された読みを中国語漢字に変換するための処
理を行う。また、同音語選択処理、学習処理なども行
う。この変換制御部24で行う処理は、入力制御処理部
22またはエディタ27に含めることも可能である。
The pinyin replacement control section 23 has a pinyin rule table 23a in which pinyin rules are stored, and determines whether or not the input character string is valid as pinyin.
The conversion control unit 24 controls the Chinese conversion processing unit 25, and performs a process for converting the pinyin-input yomi into Chinese kanji. In addition, a homophone selection process, a learning process, and the like are also performed. The processing performed by the conversion control unit 24 can be included in the input control processing unit 22 or the editor 27.

【0036】中国語変換処理部25は、構文解析などを
行い、中国語辞書26を参照して読みを中国語漢字に変
換する。中国語辞書26には、ピンイン表記で中国語漢
字の読みとそれに対応する見出しなどが登録されている
(図3参照)。この中国語辞書26は、外部記憶装置1
5に格納される。
The Chinese conversion processing unit 25 performs syntax analysis and the like, and converts the reading into Chinese kanji with reference to the Chinese dictionary 26. In the Chinese dictionary 26, Chinese kanji readings and corresponding headings are registered in Pinyin notation (see FIG. 3). This Chinese dictionary 26 is stored in the external storage device 1
5 is stored.

【0037】エディタ27は、入力制御処理部22また
は変換制御部24から得た文字列を記憶、編集し、表示
指示を行う。出力部28は、エディタ27から送られて
くる文字列を表示装置14に表示するなどの出力処理を
行う。
The editor 27 stores and edits a character string obtained from the input control processing unit 22 or the conversion control unit 24, and gives a display instruction. The output unit 28 performs output processing such as displaying the character string sent from the editor 27 on the display device 14.

【0038】図3は中国語辞書26の構成を示す図であ
る。中国語辞書26には、各単語毎に中国語のピンイン
読み、見出し、品詞など、ピンイン漢字変換処理に必要
な情報が登録されている。図3の例では、「ciang
iutonang」という読みで、「沈睡」といった中
国語漢字が見出しとして登録されている。また、「ke
tang」という読みで、「客堂」といった中国語漢字
が見出しとして登録されている。この中国語辞書27に
は、読みはすべてピンインで登録されている。
FIG. 3 shows the structure of the Chinese dictionary 26. In the Chinese dictionary 26, information necessary for the Pinyin kanji conversion process, such as Chinese Pinyin reading, headline, part of speech, etc., is registered for each word. In the example of FIG.
A Chinese kanji character such as “slumber” is registered as a heading with the reading “itonang”. Also, "ke
A Chinese kanji such as "Kado" is registered as a heading with the reading "tang." In the Chinese dictionary 27, all readings are registered in pinyin.

【0039】ここで、ピンインについて簡単に説明して
おく。中国語では、中国音を表すのにピンインと呼ばれ
る表音記号を使っている。ピンインはアルファベット2
6文字とu、eを使って中国語すべての音節を表すもの
である。1つの音節は、基本的には「声母」と「韻母」
からなる。「声母」とは、音節の先頭にくる子音のこと
であり、図4に示すように21種類定義されている。
「韻母」とは、音節中の声母を除いた部分であり、図5
に示すように35種類定義されている(実際には、その
他にer等がある)。
Here, pinyin will be briefly described. In Chinese, phonetic symbols called Pinyin are used to represent Chinese sounds. Pinyin is alphabet 2
It represents all Chinese syllables using 6 letters and u and e. One syllable is basically “vowel” and “final”
Consists of The "vowel" is a consonant at the beginning of a syllable, and 21 types are defined as shown in FIG.
The “final” is a part of the syllable excluding the vowel, and FIG.
As shown in the table, 35 types are defined (actually, there are er and the like).

【0040】中国音では、一般に1音節は1つの声母と
1つの韻母との組み合わせからなるが、実際にはあり得
ない組み合わせもあるため、約400種類となる。図6
に声母と韻母の組み合わせからなる音節の種類の一部を
示す。図中の「○」で示される組み合わせが現代中国語
の標準音として使われているものである。なお、図6に
は一部の組み合わせのみ示すが、実際にはさらに多数の
組み合わせが存在する。
In Chinese sounds, one syllable generally consists of a combination of one vowel and one final, but there are some combinations that are not possible in practice, so there are about 400 types. FIG.
Shows some syllable types consisting of a combination of the initial and final. The combination indicated by “○” in the figure is used as a standard Chinese standard tone. FIG. 6 shows only a part of the combinations, but there are actually many more combinations.

【0041】上記図2のピンイン規則テーブル23aに
は、このような中国語の標準音として使われている声母
と韻母の組み合わせがピンイン規則として予め記憶され
ている。中国語漢字の読みをピンインで入力する場合に
は、このピンイン規則に従った入力が必要となる。
In the Pinyin rule table 23a of FIG. 2, the combination of the initial and final used as the Chinese standard tone is stored in advance as the Pinyin rule. When inputting Chinese kanji readings in Pinyin, it is necessary to input in accordance with the Pinyin rules.

【0042】次に、本発明の第1の実施形態としての処
理動作を説明する。従来、ピンイン入力において、日本
語のひらがなに相当するものがないため、変換結果が出
力されるまで、ピンインとして成立しない部分を簡単に
見分けることができなかった。そこで、第1の実施形態
では、文字列を入力した時点で、ピンインとして成立し
ている部分を第1の表示形態で表示し、ピンインとして
成立していない部分を第2の表示形態で表示するように
したものである。
Next, the processing operation according to the first embodiment of the present invention will be described. Conventionally, since there is no equivalent of Japanese Hiragana in pinyin input, it is not possible to easily identify a portion that does not hold as pinyin until a conversion result is output. Therefore, in the first embodiment, when a character string is input, a portion that is established as pinyin is displayed in the first display mode, and a portion that is not established as pinyin is displayed in the second display mode. It is like that.

【0043】図7は本発明の第1の実施形態としての処
理動作を説明するためのフローチャートである。まず、
初期設定として、入力制御処理部22に設けられたフラ
グバッファ22bのピンイン解釈フラグをONにしてお
く(ステップA11)。ピンイン解釈フラグは、入力文
字列をピンインとして解釈するか否かを示すものであ
り、ONのときにピンインとして解釈することを示し、
OFFのときにピンインとして解釈しないことを示す。
FIG. 7 is a flowchart for explaining the processing operation according to the first embodiment of the present invention. First,
As an initial setting, the pinyin interpretation flag of the flag buffer 22b provided in the input control processing unit 22 is turned on (step A11). The Pinyin interpretation flag indicates whether or not to interpret the input character string as Pinyin, and indicates that it is interpreted as Pinyin when ON.
Indicates that it is not interpreted as pinyin when OFF.

【0044】入力部21より変換対象となる読み文字列
(アルファベット)あるいは変換指示がキー入力される
(ステップA12)。入力制御処理部22はその入力キ
ーを判断し、文字入力キーであれば(ステップA13の
No)、その入力文字を読み文字列バッファ22aに順
次格納していく(ステップA14)。その際に、入力制
御処理部22は当該入力文字に属性情報として付加され
る文字ステータス情報を「不明」状態にしておく(ステ
ップA15)。この文字ステータス情報には、「不
明」、「成立」、「不成立」の3つ状態がある。
A reading character string (alphabet) or a conversion instruction to be converted is input by a key through the input unit 21 (step A12). The input control processing unit 22 determines the input key. If the input key is a character input key (No in step A13), the input characters are sequentially stored in the reading character string buffer 22a (step A14). At this time, the input control processing unit 22 sets the character status information added as attribute information to the input character to an “unknown” state (step A15). This character status information has three states: "unknown", "established", and "not established".

【0045】ここで、入力制御処理部22は、読み文字
列バッファ22aに格納された入力文字をピンイン置換
制御部23に送って、ピンインとして成立するか否かの
判定処理を行う(ステップA16、A17)。ピンイン
置換制御部23では、ピンイン規則テーブル23aを参
照して、その入力文字がピンインとして成立するか否か
を判定し、その判定結果を入力制御処理部22に返す。
ピンイン規則テーブル23aには、図6に示すように、
中国語の標準音として使われている声母と韻母の組み合
わせがピンイン規則として予め記憶されている。このピ
ンイン規則にない文字列はピンインとして成立しないと
判断できる。
Here, the input control processing section 22 sends the input characters stored in the read character string buffer 22a to the pinyin replacement control section 23, and performs a process of determining whether or not the input character is established as pinyin (step A16). A17). The Pinyin replacement control unit 23 refers to the Pinyin rule table 23a to determine whether the input character is valid as Pinyin, and returns the determination result to the input control processing unit 22.
In the pinyin rule table 23a, as shown in FIG.
A combination of the initial and the final used as a Chinese standard tone is stored in advance as a Pinyin rule. It can be determined that a character string that is not in this pinyin rule does not hold as pinyin.

【0046】この場合、1文字が入力された時点では、
まだ、ピンインとして成立するか否かの判断が付かない
ため(ステップA17のNo)、入力制御処理部22は
その文字ステータス情報を「不明」状態のままとし(ス
テップA19)、ピンイン解釈フラグをON状態にして
(ステップA21)、当該入力文字を一時的に表示色A
で表示するようにエディタ27に指示する(ステップA
22)。これにより、当該入力文字は表示色A(例えば
青色)で画面上に表示される。
In this case, when one character is input,
Since it is not yet determined whether or not it is established as pinyin (No in step A17), the input control processing unit 22 keeps the character status information in the "unknown" state (step A19) and turns on the pinyin interpretation flag. State (step A21), and the input character is temporarily displayed in the display color A.
Instructs the editor 27 to display in step A.
22). Thereby, the input character is displayed on the screen in the display color A (for example, blue).

【0047】また、何文字かの入力により、その文字列
がピンインとして成立することが判明すると(ステップ
A17のYes)、入力制御処理部22は現在入力され
た文字からそれ以前に入力された文字で「不明」状態に
ある文字のステータス情報を「成立」状態にする(ステ
ップA18)。そして、入力制御処理部22はピンイン
解釈フラグをONにした後(ステップA21)、当該入
力文字およびそれ以前の入力文字を表示色Aで表示する
ようにエディタ27に指示する(ステップA22)。こ
れにより、ピンインとして成立する文字列は表示色A
(例えば青色)で画面上に表示されることになる。
If it is determined that the character string is formed as a pinyin by inputting a number of characters (Yes in step A17), the input control processing unit 22 changes the currently input character to the previously input character. To set the status information of the character in the "unknown" state to the "established" state (step A18). After turning on the Pinyin interpretation flag (step A21), the input control processing unit 22 instructs the editor 27 to display the input character and the previous input character in the display color A (step A22). As a result, the character string established as pinyin is displayed in color A
(For example, blue) on the screen.

【0048】一方、何文字かの入力により、その文字列
がピンインとして成立しないことが判明すると(ステッ
プA16のYes)、入力制御処理部22は現在入力さ
れた文字からそれ以前に入力された文字で「不明」状態
にある文字のステータス情報を「不成立」状態にする
(ステップA20)。そして、入力制御処理部22はピ
ンイン解釈フラグをOFFにした後(ステップA2
3)、当該入力文字およびそれ以前の入力文字を表示色
Bで表示するようにエディタ27に指示する(ステップ
A24)。これにより、ピンインとして成立しない文字
列は表示色B(例えば赤色)で画面上に表示されること
になる。
On the other hand, if it is determined that the character string is not established as a pinyin by inputting a number of characters (Yes in step A16), the input control processing unit 22 changes the character input from the currently input character to the character input earlier. To set the status information of the character in the "unknown" state to the "unsatisfied" state (step A20). Then, the input control processing unit 22 turns off the pinyin interpretation flag (step A2).
3) Instruct the editor 27 to display the input character and the previous input character in the display color B (step A24). As a result, a character string that does not hold as pinyin is displayed on the screen in the display color B (for example, red).

【0049】また、上記ステップA13において、変換
キーあるいは単漢字キーの入力により中国語変換が指示
された場合には、入力制御処理部22は読み文字列バッ
ファ22aに格納された文字列を変換制御部24に渡
す。変換制御部24では、各文字のステータス情報に基
づいて、ピンインとして成立する文字列を対象に中国語
変換処理を行う(ステップA25)。具体的には、中国
語変換処理部25を通じて中国語辞書26から当該文字
列を読みとした見出しを検索し、これを変換候補として
出力する処理を行う。
In step A13, when a Chinese character conversion is instructed by inputting a conversion key or a single kanji key, the input control processing unit 22 converts the character string stored in the reading character string buffer 22a into a conversion character string. Hand over to section 24. The conversion control unit 24 performs a Chinese conversion process on a character string that is established as Pinyin based on the status information of each character (step A25). Specifically, a process of searching for a heading that reads the character string from the Chinese dictionary 26 through the Chinese conversion processing unit 25 and outputting this as a conversion candidate is performed.

【0050】このように、入力された文字列がピンイン
として成立する場合には表示色Aで表示され、ピンイン
として成立しない場合には表示色Bで表示されるため、
ユーザは入力時に文字列がピンインとして成立している
か否かを判断することができ、ピンインとして成立して
いない部分(つまり、表示色Bで表示されている部分)
を変換前に訂正することができる。
As described above, when the input character string is established as pinyin, it is displayed in display color A, and when it is not established as pinyin, it is displayed in display color B.
The user can determine at the time of input whether or not the character string is established as a pinyin, and a portion that is not established as a pinyin (that is, a portion displayed in the display color B).
Can be corrected before conversion.

【0051】なお、上記実施形態では、1文字毎にピン
イン判定処理を行って区別表示を行うようにしたが、ピ
ンインとして判定可能な文字列になった時点でピンイン
判定処理を行って当該文字列を区別表示することもでき
る。
In the above-described embodiment, the pinyin determination processing is performed for each character to perform the distinction display. However, when a character string that can be determined as pinyin is obtained, the pinyin determination processing is performed to execute the character string. Can also be distinguished.

【0052】また、上記実施形態では、色によって区別
表示を行うようにしたが、例えばピンインとして成立し
ない文字列に下線を付加するなど、他の表示形態を用い
て区別表示を行うようにしても良い。
Further, in the above-described embodiment, the distinction display is performed according to the color. However, the distinction display may be performed using another display form, for example, by adding an underline to a character string that does not hold as pinyin. good.

【0053】(第2の実施形態)第2の実施形態では、
区別表示モードとして第1および第2の表示モードを有
し、第2の表示モードのときにピンインとして成立しな
い文字列以降の文字列をピンインとして解釈せずに第2
の表示形態で表示し、第1の表示モードのときにピンイ
ンとして成立しない文字列以降の文字列をピンインとし
て解釈し、ピンインとして成立する場合に第1の表示形
態で表示し、ピンインとして成立しない場合に第2の表
示形態で表示するものである。
(Second Embodiment) In the second embodiment,
There are a first display mode and a second display mode as distinctive display modes, and a character string subsequent to a character string that does not hold as pinyin in the second display mode is not interpreted as pinyin.
Is interpreted as a pinyin, and a character string subsequent to a character string that does not hold as pinyin in the first display mode is displayed as pinyin. In this case, it is displayed in the second display mode.

【0054】図8は本発明の第2の実施形態としての処
理動作を説明するためのフローチャートである。なお、
ステップB11〜B15、ステップB18〜B27の処
理は上記図7のステップA11〜A15、ステップA1
6〜A25までの処理と同様である。
FIG. 8 is a flow chart for explaining the processing operation according to the second embodiment of the present invention. In addition,
The processing in steps B11 to B15 and steps B18 to B27 is performed in steps A11 to A15 and step A1 in FIG.
This is the same as the processing from 6 to A25.

【0055】すなわち、まず、初期設定として、入力制
御処理部22に設けられたフラグバッファ22bのピン
イン解釈フラグをONにしておく(ステップB11)。
ピンイン解釈フラグは、入力文字列をピンインとして解
釈するか否かを示すものであり、ONのときにピンイン
として解釈することを示し、OFFのときにピンインと
して解釈しないことを示す。
That is, first, as an initial setting, the pinyin interpretation flag of the flag buffer 22b provided in the input control processing unit 22 is turned on (step B11).
The Pinyin interpretation flag indicates whether or not to interpret the input character string as Pinyin. When it is ON, it indicates that it is interpreted as Pinyin, and when it is OFF, it indicates that it is not interpreted as Pinyin.

【0056】入力部21より変換対象となる読み文字列
(アルファベット)あるいは変換指示がキー入力される
(ステップB12)。入力制御処理部22はその入力キ
ーを判断し、文字入力キーであれば(ステップB13の
No)、その入力文字を読み文字列バッファ22aに順
次格納していく(ステップB14)。その際に、入力制
御処理部22は当該入力文字に属性情報として付加され
る文字ステータス情報を「不明」状態にしておく(ステ
ップB15)。この文字ステータス情報には、「不
明」、「成立」、「不成立」の3つ状態がある。
A reading character string (alphabet) or a conversion instruction to be converted is input by a key input from the input unit 21 (step B12). The input control processing unit 22 determines the input key, and if it is a character input key (No in step B13), the input characters are sequentially stored in the reading character string buffer 22a (step B14). At this time, the input control processing unit 22 sets the character status information added as attribute information to the input character to an “unknown” state (step B15). This character status information has three states: "unknown", "established", and "not established".

【0057】ここで、第2の実施形態では、第1の表示
モードが設定されている場合と第2の表示モードが設定
されている場合とで処理が分岐する。第2の表示モード
では、ピンインとして成立しない文字列以降の文字列を
ピンインとして解釈せずに第2の表示形態で表示する。
第1の表示モードでは、ピンインとして成立しない文字
列以降の文字列をピンインとして解釈し、ピンインとし
て成立する場合に第1の表示形態で表示し、ピンインと
して成立しない場合に第2の表示形態で表示する。これ
らの表示モードは、例えば文書作成時に環境設定操作に
よって任意選択的に指定することができ、指定されたモ
ードの種類が入力制御処理部22のモードバッファ22
cに保持される。
Here, in the second embodiment, the process branches depending on whether the first display mode is set or when the second display mode is set. In the second display mode, a character string subsequent to a character string that does not hold as pinyin is displayed in the second display mode without being interpreted as pinyin.
In the first display mode, a character string subsequent to a character string that is not satisfied as pinyin is interpreted as pinyin, and is displayed in the first display form when it is realized as pinyin, and is displayed in the second display form when it is not satisfied as pinyin. indicate. These display modes can be arbitrarily designated by, for example, an environment setting operation at the time of document creation, and the type of the designated mode is determined by the mode buffer 22 of the input control processing unit 22.
c.

【0058】第1の表示モードが設定されている場合に
は(ステップB16のYes)、上記第1の実施形態と
同様の処理となる。すなわち、入力制御処理部22は、
読み文字列バッファ22aに格納された入力文字をピン
イン置換制御部23に送って、ピンインとして成立する
か否かの判定処理を行う(ステップB18、B19)。
ピンイン置換制御部23では、ピンイン規則テーブル2
3aを参照して、その入力文字がピンインとして成立す
るか否かを判定し、その判定結果を入力制御処理部22
に返す。ピンイン規則テーブル23aには、図6に示す
ように、中国語の標準音として使われている声母と韻母
の組み合わせがピンイン規則として予め記憶されてい
る。このピンイン規則にない文字列はピンインとして成
立しないと判断できる。
When the first display mode is set (Yes in step B16), the same processing as in the first embodiment is performed. That is, the input control processing unit 22
The input characters stored in the read character string buffer 22a are sent to the Pinyin replacement control unit 23, and a determination process is performed to determine whether or not Pinyin is established (steps B18 and B19).
In the Pinyin replacement control unit 23, the Pinyin rule table 2
3a, it is determined whether or not the input character is established as a pinyin, and the determination result is input to the input control processing unit 22.
To return. As shown in FIG. 6, the combination of the initial and final used as the Chinese standard tone is stored in the pinyin rule table 23a as the pinyin rule in advance. It can be determined that a character string that is not in this pinyin rule does not hold as pinyin.

【0059】この場合、1文字が入力された時点では、
まだ、ピンインとして成立するか否かの判断が付かない
ため(ステップB19のNo)、入力制御処理部22は
その文字ステータス情報を「不明」状態のままとし(ス
テップB21)、ピンイン解釈フラグをON状態にして
(ステップB23)、当該入力文字を一時的に表示色A
で表示するようにエディタ27に指示する(ステップB
24)。これにより、当該入力文字は表示色A(例えば
青色)で画面上に表示される。
In this case, when one character is input,
Since it is not yet determined whether or not it is established as a pinyin (No in step B19), the input control processing unit 22 keeps the character status information in the “unknown” state (step B21) and turns on the pinyin interpretation flag. State (step B23), and the input character is temporarily displayed in the display color A.
Instruct the editor 27 to display (Step B)
24). Thereby, the input character is displayed on the screen in the display color A (for example, blue).

【0060】また、何文字かの入力により、その文字列
がピンインとして成立することが判明すると(ステップ
B19のYes)、入力制御処理部22は現在入力され
た文字からそれ以前に入力された文字で「不明」状態に
ある文字のステータス情報を「成立」状態にする(ステ
ップB20)。そして、入力制御処理部22はピンイン
解釈フラグをONにした後(ステップB23)、当該入
力文字およびそれ以前の入力文字を表示色Aで表示する
ようにエディタ27に指示する(ステップB24)。こ
れにより、ピンインとして成立する文字列は表示色A
(例えば青色)で画面上に表示されることになる。
If it is determined that the character string is formed as a pinyin by inputting a number of characters (Yes in step B19), the input control processing unit 22 determines whether the currently input character is a previously input character. To set the status information of the character in the "unknown" state to the "established" state (step B20). After turning on the Pinyin interpretation flag (step B23), the input control processing unit 22 instructs the editor 27 to display the input character and the previous input character in the display color A (step B24). As a result, the character string established as pinyin is displayed in color A
(For example, blue) on the screen.

【0061】一方、何文字かの入力により、その文字列
がピンインとして成立しないことが判明すると(ステッ
プB18のYes)、入力制御処理部22は現在入力さ
れた文字からそれ以前に入力された文字で「不明」状態
にある文字のステータス情報を「不成立」状態にする
(ステップB22)。そして、入力制御処理部22はピ
ンイン解釈フラグをOFFにした後(ステップB2
5)、当該入力文字およびそれ以前の入力文字を表示色
Bで表示するようにエディタ27に指示する(ステップ
B26)。これにより、ピンインとして成立しない文字
列は表示色B(例えば赤色)で画面上に表示されること
になる。
On the other hand, if it is determined that the character string is not established as a pinyin by inputting some characters (Yes in step B18), the input control processing unit 22 determines that the currently input character is To set the status information of the character in the "unknown" state to the "unsatisfied" state (step B22). Then, the input control processing unit 22 turns off the pinyin interpretation flag (step B2).
5) Instruct the editor 27 to display the input character and the previous input character in the display color B (step B26). As a result, a character string that does not hold as pinyin is displayed on the screen in the display color B (for example, red).

【0062】また、上記ステップB16において、第2
の表示モードが設定されている場合には、入力制御処理
部22はフラグバッファ22bのピンイン解釈フラグを
チェックする(ステップB17)。このピンイン解釈フ
ラグがON状態であれば(ステップB17のNo)、入
力制御処理部22はそれ以降に入力される文字列をピン
インとして解釈し、その解釈結果に応じて第1または第
2の表示形態で表示する(ステップB18〜B26)。
In step B16, the second
If the display mode is set, the input control processing unit 22 checks the Pinyin interpretation flag in the flag buffer 22b (step B17). If the pinyin interpretation flag is ON (No in step B17), the input control processing unit 22 interprets the character string input thereafter as pinyin, and displays the first or second display according to the interpretation result. It is displayed in a form (steps B18 to B26).

【0063】一方、ピンイン解釈フラグがOFF状態で
あれば(ステップB17のYes)、入力制御処理部2
2はそれ以降に入力される文字列をピンインとして解釈
せずに、第2の表示形態で表示する(ステップB22〜
B26)。つまり、一度ピンインとして解釈されない文
字列が入力された後は、それ以降の入力文字列をすべて
ピンインの対象とせずに第2の表示形態で表示する。
On the other hand, if the pinyin interpretation flag is in the OFF state (Yes in step B17), the input control processing unit 2
No. 2 does not interpret a character string inputted thereafter as pinyin but displays it in the second display mode (steps B22 to B22).
B26). That is, once a character string that is not interpreted as Pinyin is input, all subsequent input character strings are displayed in the second display format without being subject to Pinyin.

【0064】また、上記ステップB13において、変換
キーあるいは単漢字キーの入力により中国語変換が指示
された場合には、入力制御処理部22は読み文字列バッ
ファ22aに格納された文字列を変換制御部24に渡
す。変換制御部24では、各文字のステータス情報に基
づいて、ピンインとして成立する文字列を対象に中国語
変換処理を行う(ステップB27)。具体的には、中国
語変換処理部25を通じて中国語辞書26から当該文字
列を読みとした見出しを検索し、これを変換候補として
出力する処理を行う。
In the step B13, when the conversion is instructed by inputting the conversion key or the single kanji key, the input control processing unit 22 converts the character string stored in the read character string buffer 22a into the conversion character string. Hand over to section 24. The conversion control unit 24 performs a Chinese conversion process on a character string that is established as Pinyin based on the status information of each character (step B27). Specifically, a process of searching for a heading that reads the character string from the Chinese dictionary 26 through the Chinese conversion processing unit 25 and outputting this as a conversion candidate is performed.

【0065】このように、第1の表示モードと第2の表
示モードを任意に選択することができる。この場合、第
2の表示モードでは、ピンインとして成立しない文字列
以降の文字列がピンインとして解釈されずに第2の表示
形態で表示されるため、例えば意図的にアルファベット
を入力したり、ピンインとアルファベットとを混在して
入力する場合などにおいて便利である。
As described above, the first display mode and the second display mode can be arbitrarily selected. In this case, in the second display mode, a character string subsequent to a character string that does not hold as pinyin is displayed in the second display format without being interpreted as pinyin. This is convenient when inputting alphabets and other characters together.

【0066】また、第1の表示モードでは、ピンインと
して成立しない文字列以降の文字列がピンインとして解
釈され、ピンインとして成立する場合に第1の表示形態
で表示され、ピンインとして成立しない場合に第2の表
示形態で表示されるため、ピンイン入力する場合に、上
記第1の実施形態と同様に、ユーザは入力時に文字列が
ピンインとして成立しているか否かを判断することがで
き、ピンインとして成立していない部分(つまり、表示
色Bで表示されている部分)を変換前に訂正することが
できる。
In the first display mode, a character string subsequent to a character string that is not satisfied as pinyin is interpreted as pinyin, and is displayed in the first display mode when it is satisfied as pinyin. 2, the user can determine whether or not a character string is established as Pinyin at the time of input, as in the first embodiment. The portion that does not hold (that is, the portion displayed in the display color B) can be corrected before conversion.

【0067】(第3の実施形態)第3の実施形態では、
区別表示モードと非区別表示モードを有し、非区別表示
モードのときにピンインとして成立する/しないに関係
なく、ずべての入力文字列を同じ表示形態で表示し、区
別表示モードのときに上記第1の実施形態と同様に、文
字列を入力した時点で、ピンインとして成立している部
分を第1の表示形態で表示し、ピンインとして成立して
いない部分を第2の表示形態で表示するようにしたもの
である。
(Third Embodiment) In the third embodiment,
It has a distinctive display mode and a non-distinguishable display mode, and displays all input character strings in the same display form regardless of whether or not it is established as a pinyin in the non-distinctive display mode. As in the first embodiment, when a character string is input, a portion that is established as pinyin is displayed in the first display mode, and a portion that is not established as pinyin is displayed in the second display mode. It is like that.

【0068】図9は本発明の第3の実施形態としての処
理動作を説明するためのフローチャートである。なお、
ステップC11〜C14、ステップC16〜C26の処
理は上記図7のステップA11〜A14、ステップA1
6〜A26までの処理と同様である。
FIG. 9 is a flowchart for explaining a processing operation according to the third embodiment of the present invention. In addition,
The processing in steps C11 to C14 and steps C16 to C26 is performed in steps A11 to A14 and step A1 in FIG.
This is the same as the processing from 6 to A26.

【0069】すなわち、まず、初期設定として、入力制
御処理部22に設けられたフラグバッファ22bのピン
イン解釈フラグをONにしておく(ステップC11)。
ピンイン解釈フラグは、入力文字列をピンインとして解
釈するか否かを示すものであり、ONのときにピンイン
として解釈することを示し、OFFのときにピンインと
して解釈しないことを示す。
That is, first, as an initial setting, the Pinyin interpretation flag of the flag buffer 22b provided in the input control processing unit 22 is turned on (step C11).
The Pinyin interpretation flag indicates whether or not to interpret the input character string as Pinyin. When it is ON, it indicates that it is interpreted as Pinyin, and when it is OFF, it indicates that it is not interpreted as Pinyin.

【0070】入力部21より変換対象となる読み文字列
(アルファベット)あるいは変換指示がキー入力される
(ステップC12)。入力制御処理部22はその入力キ
ーを判断し、文字入力キーであれば(ステップC13の
No)、その入力文字を読み文字列バッファ22aに順
次格納していく(ステップC14)。
A reading character string (alphabet) or a conversion instruction to be converted is input through the input unit 21 (step C12). The input control processing unit 22 determines the input key. If the input key is a character input key (No in step C13), the input characters are sequentially stored in the read character string buffer 22a (step C14).

【0071】ここで、第3の実施形態では、区別表示モ
ードが設定されている場合と非区別表示モードが設定さ
れている場合とで処理が分岐する。非区別表示モードで
は、ピンインとして成立する/しないに関係なく、すべ
ての入力文字列を同じ表示形態で表示し、区別表示モー
ドのときに上記第1の実施形態と同様に、文字列を入力
した時点で、ピンインとして成立している部分を第1の
表示形態で表示し、ピンインとして成立していない部分
を第2の表示形態で表示するようにしたものである。こ
れらの表示モードは、例えば文書作成時に環境設定操作
によって任意選択的に指定することができ、指定された
モードの種類が入力制御処理部22のモードバッファ2
2cに保持される。
Here, in the third embodiment, the processing branches depending on whether the distinctive display mode is set or not and the case where the non-distinct display mode is set. In the non-differentiated display mode, all input character strings are displayed in the same display format regardless of whether or not they are established as pinyin. In the distinctive display mode, character strings are input in the same manner as in the first embodiment. At a point in time, a portion that has been established as pinyin is displayed in the first display mode, and a portion that has not been established as pinyin is displayed in the second display mode. These display modes can be arbitrarily specified by, for example, an environment setting operation when a document is created, and the type of the specified mode is determined by the mode buffer 2 of the input control processing unit 22.
2c.

【0072】非区別表示モードが設定されている場合に
は(ステップC15のYes)、入力制御処理部22は
入力された文字列をすべて同じ表示形態(ここでは第1
の表示形態とする)で表示するようにエディタ27に指
示する。これにより、当該入力文字は表示色A(例えば
青色)で画面上に表示される。
When the non-discriminating display mode is set (Yes in step C15), the input control processing unit 22 displays all the input character strings in the same display form (here, the first character string).
To the editor 27). Thereby, the input character is displayed on the screen in the display color A (for example, blue).

【0073】また、区別表示モードが設定されている場
合には(ステップC15のNo)、上記第1の実施形態
と同じ処理となる。すなわち、入力制御処理部22は当
該入力文字に属性情報として付加される文字ステータス
情報を「不明」状態にしておく(ステップC16)。こ
の文字ステータス情報には、「不明」、「成立」、「不
成立」の3つ状態がある。
When the distinctive display mode is set (No in step C15), the same processing as in the first embodiment is performed. That is, the input control processing unit 22 sets the character status information added as attribute information to the input character to an “unknown” state (step C16). This character status information has three states: "unknown", "established", and "not established".

【0074】ここで、入力制御処理部22は、読み文字
列バッファ22aに格納された入力文字をピンイン置換
制御部23に送って、ピンインとして成立するか否かの
判定処理を行う(ステップC17、C18)。ピンイン
置換制御部23では、ピンイン規則テーブル23aを参
照して、その入力文字がピンインとして成立するか否か
を判定し、その判定結果を入力制御処理部22に返す。
ピンイン規則テーブル23aには、図6に示すように、
中国語の標準音として使われている声母と韻母の組み合
わせがピンイン規則として予め記憶されている。このピ
ンイン規則にない文字列はピンインとして成立しないと
判断できる。
Here, the input control processing unit 22 sends the input characters stored in the read character string buffer 22a to the pinyin replacement control unit 23, and performs a process of determining whether or not the input character is established as pinyin (step C17, C18). The Pinyin replacement control unit 23 refers to the Pinyin rule table 23a to determine whether the input character is valid as Pinyin, and returns the determination result to the input control processing unit 22.
In the pinyin rule table 23a, as shown in FIG.
A combination of the initial and the final used as a Chinese standard tone is stored in advance as a Pinyin rule. It can be determined that a character string that is not in this pinyin rule does not hold as pinyin.

【0075】この場合、1文字が入力された時点では、
まだ、ピンインとして成立するか否かの判断が付かない
ため(ステップC18のNo)、入力制御処理部22は
その文字ステータス情報を「不明」状態のままとし(ス
テップC20)、ピンイン解釈フラグをON状態にして
(ステップC22)、当該入力文字を一時的に表示色A
で表示するようにエディタ27に指示する(ステップC
23)。これにより、当該入力文字は表示色A(例えば
青色)で画面上に表示される。
In this case, when one character is input,
Since it is not yet determined whether or not the condition is established as Pinyin (No in Step C18), the input control processing unit 22 keeps the character status information in the “unknown” state (Step C20) and turns on the Pinyin interpretation flag. State (step C22), and the input character is temporarily displayed in the display color A.
Instructs the editor 27 to display the image (step C).
23). Thereby, the input character is displayed on the screen in the display color A (for example, blue).

【0076】また、何文字かの入力により、その文字列
がピンインとして成立することが判明すると(ステップ
C18のYes)、入力制御処理部22は現在入力され
た文字からそれ以前に入力された文字で「不明」状態に
ある文字のステータス情報を「成立」状態にする(ステ
ップC19)。そして、入力制御処理部22はピンイン
解釈フラグをONにした後(ステップC22)、当該入
力文字およびそれ以前の入力文字を表示色Aで表示する
ようにエディタ27に指示する(ステップC23)。こ
れにより、ピンインとして成立する文字列は表示色A
(例えば青色)で画面上に表示されることになる。
If it is determined that the character string is formed as a pinyin by inputting a number of characters (Yes in step C18), the input control processing unit 22 changes the currently input character to the previously input character. To set the status information of the character in the "unknown" state to the "established" state (step C19). After turning on the Pinyin interpretation flag (step C22), the input control processing unit 22 instructs the editor 27 to display the input character and the previous input character in the display color A (step C23). As a result, the character string established as pinyin is displayed in color A
(For example, blue) on the screen.

【0077】一方、何文字かの入力により、その文字列
がピンインとして成立しないことが判明すると(ステッ
プC17のYes)、入力制御処理部22は現在入力さ
れた文字からそれ以前に入力された文字で「不明」状態
にある文字のステータス情報を「不成立」状態にする
(ステップC21)。そして、入力制御処理部22はピ
ンイン解釈フラグをOFFにした後(ステップC2
4)、当該入力文字およびそれ以前の入力文字を表示色
Bで表示するようにエディタ27に指示する(ステップ
C25)。これにより、ピンインとして成立しない文字
列は表示色B(例えば赤色)で画面上に表示されること
になる。
On the other hand, if it is determined that the character string is not valid as a pinyin by inputting some characters (Yes in step C17), the input control processing unit 22 determines the character input from the currently input character to the character input before it. To set the status information of the character in the "unknown" state to the "unsatisfied" state (step C21). Then, the input control processing unit 22 turns off the Pinyin interpretation flag (step C2).
4) Instruct the editor 27 to display the input character and the previous input character in the display color B (step C25). As a result, a character string that does not hold as pinyin is displayed on the screen in the display color B (for example, red).

【0078】また、上記ステップC13において、変換
キーあるいは単漢字キーの入力により中国語変換が指示
された場合には、入力制御処理部22は読み文字列バッ
ファ22aに格納された文字列を変換制御部24に渡
す。変換制御部24では、各文字のステータス情報に基
づいて、ピンインとして成立する文字列を対象に中国語
変換処理を行う(ステップC26)。具体的には、中国
語変換処理部25を通じて中国語辞書26から当該文字
列を読みとした見出しを検索し、これを変換候補として
出力する処理を行う。
In the above step C13, if a Chinese conversion is instructed by inputting a conversion key or a single kanji key, the input control processing unit 22 converts the character string stored in the reading character string buffer 22a into a conversion character string. Hand over to section 24. The conversion control unit 24 performs a Chinese conversion process on the character string that is established as Pinyin based on the status information of each character (step C26). Specifically, a process of searching for a heading that reads the character string from the Chinese dictionary 26 through the Chinese conversion processing unit 25 and outputting this as a conversion candidate is performed.

【0079】このように、区別表示モードと非区別表示
モードを任意に選択することができる。この場合、非区
別表示モードでは、入力された文字列はすべて同じ表示
形態で表示されるため、例えばピンイン入力時に通常通
りの表示を好む場合などに便利である。
As described above, the distinction display mode and the non-discrimination display mode can be arbitrarily selected. In this case, in the non-distinguishable display mode, all the input character strings are displayed in the same display form, which is convenient when, for example, normal display is desired at the time of pinyin input.

【0080】また、区別表示モードでは、ピンインとし
て成立する文字列と成立しない文字列が区別表示される
ため、ピンイン入力する場合に、上記第1の実施形態と
同様に、ユーザは入力時に文字列がピンインとして成立
しているか否かを判断することができ、ピンインとして
成立していない部分(つまり、表示色Bで表示されてい
る部分)を変換前に訂正することができる。
Further, in the distinction display mode, a character string that is established as a pinyin and a character string that is not established are displayed in a distinctive manner. Can be determined whether Pinyin is established as Pinyin, and a portion that is not established as Pinyin (that is, a portion displayed in the display color B) can be corrected before conversion.

【0081】なお、このような区別表示モードと非区別
表示モードを有する表示処理は上記第2の実施形態(第
1の表示モードと第2の表示モードを有する表示処理)
にも適用可能である。この場合、上記図8のステップB
14の後に、上記ステップC15の判断処理を加え、非
区別表示モードのときにステップB22の表示色Aの表
示処理を行うようにすれば良い。
The display processing having such a distinctive display mode and a non-differential display mode is performed in the second embodiment (display processing having a first display mode and a second display mode).
Is also applicable. In this case, step B in FIG.
After step 14, the determination processing in step C15 may be added to perform the display processing of the display color A in step B22 in the non-discriminating display mode.

【0082】(第4の実施形態)従来は、ピンインとし
て成立しない文字列を入力したとき、それ以降の入力文
字列をピンインとするか、アルファベットのままとする
ような切り替えを行うことができなかったため、例えば
意図的にアルファベットを入力したいときや、アルファ
ベット混在でピンイン入力をしたい場合などに不便であ
った。
(Fourth Embodiment) Conventionally, when a character string that does not hold as pinyin is input, it is not possible to switch between subsequent input character strings as pinyin or as an alphabet. Therefore, it is inconvenient when, for example, it is desired to input alphabets intentionally or when pinyin input is to be performed with alphabets mixed.

【0083】そこで、第4の実施形態では、ピンインと
して解釈して変換するか否かをモードにより指定可能と
するものである。具体的には、第1の変換モードと第2
の変換モードを有し、第2の変換モードのときにピンイ
ンとして成立しない文字列以降の文字列をピンインとし
て解釈せずにそのまま出力し、第2の変換モードのとき
にピンインとして成立しない文字列以降の文字列をピン
インとして解釈し、ピンインとして成立する場合に中国
語変換してその変換候補を出力し、ピンインとして成立
しない場合にそのまま出力するものである。
Therefore, in the fourth embodiment, it is possible to specify whether or not to interpret and convert as pinyin by a mode. Specifically, the first conversion mode and the second conversion mode
And a character string that does not hold as pinyin in the second conversion mode is output as it is without being interpreted as pinyin, and a character string that does not hold as pinyin in the second conversion mode The subsequent character string is interpreted as Pinyin, and if it is established as Pinyin, it is converted into Chinese and its conversion candidate is output. If it is not established as Pinyin, it is output as it is.

【0084】図10および第11は本発明の第4の実施
形態としての処理動作を説明するためのフローチャート
である。なお、ステップD11〜D15、ステップD1
8〜D26の処理は上記図7のステップA11〜A1
5、ステップA16〜A24までの処理と同様である。
FIGS. 10 and 11 are flow charts for explaining the processing operation according to the fourth embodiment of the present invention. Steps D11 to D15 and step D1
8 to D26 are performed in steps A11 to A1 in FIG.
5. The processing is the same as the processing in steps A16 to A24.

【0085】すなわち、まず、初期設定として、入力制
御処理部22に設けられたフラグバッファ22bのピン
イン解釈フラグをONにしておく(ステップD11)。
ピンイン解釈フラグは、入力文字列をピンインとして解
釈するか否かを示すものであり、ONのときにピンイン
として解釈することを示し、OFFのときにピンインと
して解釈しないことを示す。
That is, first, as an initial setting, the Pinyin interpretation flag of the flag buffer 22b provided in the input control processing section 22 is turned on (step D11).
The Pinyin interpretation flag indicates whether or not to interpret the input character string as Pinyin. When it is ON, it indicates that it is interpreted as Pinyin, and when it is OFF, it indicates that it is not interpreted as Pinyin.

【0086】入力部21より変換対象となる読み文字列
(アルファベット)あるいは変換指示がキー入力される
(ステップD12)。入力制御処理部22はその入力キ
ーを判断し、文字入力キーであれば(ステップD13の
No)、その入力文字を読み文字列バッファ22aに順
次格納していく(ステップD14)。その際に、入力制
御処理部22は当該入力文字に属性情報として付加され
る文字ステータス情報を「不明」状態にしておく(ステ
ップD15)。この文字ステータス情報には、「不
明」、「成立」、「不成立」の3つ状態がある。
A reading character string (alphabet) or a conversion instruction to be converted is input through the input unit 21 (step D12). The input control processing unit 22 determines the input key. If the input key is a character input key (No in step D13), the input characters are sequentially stored in the reading character string buffer 22a (step D14). At this time, the input control processing unit 22 sets the character status information added as attribute information to the input character to an “unknown” state (step D15). This character status information has three states: "unknown", "established", and "not established".

【0087】ここで、第4の実施形態では、第1の変換
モードが設定されている場合と第2の変換モードが設定
されている場合とで処理が分岐する。第2の変換モード
では、ピンインとして成立しない文字列以降の文字列を
ピンインとして解釈せずにそのまま出力する。第2の変
換モードでは、ピンインとして成立しない文字列以降の
文字列をピンインとして解釈し、ピンインとして成立す
る場合に中国語変換してその変換候補を出力し、ピンイ
ンとして成立しない場合にそのまま出力する。これらの
変換モードは、例えば文書作成時に環境設定操作によっ
て任意選択的に指定することができ、指定されたモード
の種類が入力制御処理部22のモードバッファ22cに
保持される。
Here, in the fourth embodiment, the process branches depending on whether the first conversion mode is set or when the second conversion mode is set. In the second conversion mode, a character string subsequent to a character string that does not hold true as Pinyin is output without being interpreted as Pinyin. In the second conversion mode, a character string subsequent to a character string that is not satisfied as Pinyin is interpreted as Pinyin, and if it is realized as Pinyin, it is converted into Chinese and its conversion candidate is output. . These conversion modes can be arbitrarily designated by, for example, an environment setting operation at the time of document creation, and the type of the designated mode is held in the mode buffer 22c of the input control processing unit 22.

【0088】第1の変換モードが設定されている場合に
は(ステップD16のYes)、上記第1の実施形態と
同様の入力処理を行った後、変換処理に移行することに
なる。
If the first conversion mode is set (Yes in step D16), the same input processing as in the first embodiment is performed, and then the processing shifts to the conversion processing.

【0089】すなわち、入力制御処理部22は、読み文
字列バッファ22aに格納された入力文字をピンイン置
換制御部23に送って、ピンインとして成立するか否か
の判定処理を行う(ステップD18、D19)。ピンイ
ン置換制御部23では、ピンイン規則テーブル23aを
参照して、その入力文字がピンインとして成立するか否
かを判定し、その判定結果を入力制御処理部22に返
す。ピンイン規則テーブル23aには、図6に示すよう
に、中国語の標準音として使われている声母と韻母の組
み合わせがピンイン規則として予め記憶されている。こ
のピンイン規則にない文字列はピンインとして成立しな
いと判断できる。
That is, the input control processing unit 22 sends the input characters stored in the read character string buffer 22a to the pinyin replacement control unit 23, and performs a process of determining whether the input character is established as pinyin (steps D18 and D19). ). The Pinyin replacement control unit 23 refers to the Pinyin rule table 23a to determine whether the input character is valid as Pinyin, and returns the determination result to the input control processing unit 22. As shown in FIG. 6, the combination of the initial and final used as the Chinese standard tone is stored in the pinyin rule table 23a as the pinyin rule in advance. It can be determined that a character string that is not in this pinyin rule does not hold as pinyin.

【0090】この場合、1文字が入力された時点では、
まだ、ピンインとして成立するか否かの判断が付かない
ため(ステップD19のNo)、入力制御処理部22は
その文字ステータス情報を「不明」状態のままとし(ス
テップD21)、ピンイン解釈フラグをON状態にして
(ステップD23)、当該入力文字を一時的に表示色A
で表示するようにエディタ27に指示する(ステップD
24)。これにより、当該入力文字は表示色A(例えば
青色)で画面上に表示される。
In this case, when one character is input,
Since it is not yet determined whether or not the condition is established as Pinyin (No in Step D19), the input control processing unit 22 keeps the character status information in the “unknown” state (Step D21) and turns on the Pinyin interpretation flag. State (step D23), and the input character is temporarily displayed in the display color A.
Instructs the editor 27 to display in step D.
24). Thereby, the input character is displayed on the screen in the display color A (for example, blue).

【0091】また、何文字かの入力により、その文字列
がピンインとして成立することが判明すると(ステップ
D19のYes)、入力制御処理部22は現在入力され
た文字からそれ以前に入力された文字で「不明」状態に
ある文字のステータス情報を「成立」状態にする(ステ
ップD20)。そして、入力制御処理部22はピンイン
解釈フラグをONにした後(ステップD23)、当該入
力文字およびそれ以前の入力文字を表示色Aで表示する
ようにエディタ27に指示する(ステップD24)。こ
れにより、ピンインとして成立する文字列は表示色A
(例えば青色)で画面上に表示されることになる。
If it is determined that the character string is formed as a pinyin by inputting a number of characters (Yes in step D19), the input control processing unit 22 determines whether the currently input character is a character input earlier. To set the status information of the character in the "unknown" state to the "established" state (step D20). Then, after turning on the Pinyin interpretation flag (step D23), the input control processing unit 22 instructs the editor 27 to display the input character and the previous input character in the display color A (step D24). As a result, the character string established as pinyin is displayed in color A
(For example, blue) on the screen.

【0092】一方、何文字かの入力により、その文字列
がピンインとして成立しないことが判明すると(ステッ
プD18のYes)、入力制御処理部22は現在入力さ
れた文字からそれ以前に入力された文字で「不明」状態
にある文字のステータス情報を「不成立」状態にする
(ステップD22)。そして、入力制御処理部22はピ
ンイン解釈フラグをOFFにした後(ステップD2
5)、当該入力文字およびそれ以前の入力文字を表示色
Bで表示するようにエディタ27に指示する(ステップ
D26)。これにより、ピンインとして成立しない文字
列は表示色B(例えば赤色)で画面上に表示されること
になる。
On the other hand, if it is determined that the character string is not established as a pinyin by inputting some characters (Yes in step D18), the input control processing unit 22 determines that the currently input character is To set the status information of the character in the "unknown" state to the "unsatisfied" state (step D22). Then, the input control processing unit 22 turns off the Pinyin interpretation flag (step D2).
5) Instruct the editor 27 to display the input character and the previous input character in the display color B (step D26). As a result, a character string that does not hold as pinyin is displayed on the screen in the display color B (for example, red).

【0093】また、上記ステップD16において、第2
の変換モードが設定されている場合には、入力制御処理
部22はフラグバッファ22bのピンイン解釈フラグを
チェックする(ステップD17)。このピンイン解釈フ
ラグがON状態であれば(ステップD17のNo)、入
力制御処理部22はそれ以降に入力される文字列をピン
インとして解釈し、その解釈結果に応じて第1または第
2の表示形態で表示する(ステップD18〜D26)。
In step D16, the second
If the conversion mode is set, the input control processing unit 22 checks the Pinyin interpretation flag in the flag buffer 22b (step D17). If the pinyin interpretation flag is ON (No in step D17), the input control processing unit 22 interprets the character string input thereafter as pinyin, and displays the first or second display according to the interpretation result. It is displayed in a form (steps D18 to D26).

【0094】一方、ピンイン解釈フラグがOFF状態で
あれば(ステップD17のYes)、入力制御処理部2
2はそれ以降に入力される文字列をピンインとして解釈
せずに、第2の表示形態で表示する(ステップD22〜
D26)。つまり、一度ピンインとして解釈されない文
字列が入力された後は、それ以降の入力文字列をすべて
ピンインの対象とせずに第2の表示形態で表示する。
On the other hand, if the Pinyin interpretation flag is in the OFF state (Yes in step D17), the input control processing unit 2
No. 2 does not interpret a character string inputted thereafter as pinyin but displays it in the second display form (steps D22 to D22).
D26). That is, once a character string that is not interpreted as Pinyin is input, all subsequent input character strings are displayed in the second display format without being subject to Pinyin.

【0095】次に、このような入力処理の後の変換処理
について説明する。上記ステップD13において、変換
キーあるいは単漢字キーの入力により中国語変換が指示
された場合には、入力制御処理部22は読み文字列バッ
ファ22aに格納された文字列をステータス情報と共に
変換制御部24に渡す。変換制御部24では、各文字の
ステータス情報を先頭文字から順にチェックする(ステ
ップD27、D28)。
Next, conversion processing after such input processing will be described. In step D13, when the Chinese conversion is instructed by inputting the conversion key or the single kanji key, the input control processing unit 22 converts the character string stored in the reading character string buffer 22a together with the status information into the conversion control unit 24. Pass to. The conversion control unit 24 checks the status information of each character in order from the first character (steps D27 and D28).

【0096】その結果、文字ステータス情報が「成立」
状態となっている場合には(ステップD29のYe
s)、変換制御部24はその文字を含む「成立」状態の
文字列を1つの変換単位として抽出し、中国語変換処理
部25に送る(ステップD30)。中国語変換処理部2
5では、その文字列に基づいて中国語辞書26を検索
し、当該文字列を読みとした見出しを中国語辞書26か
ら抽出して変換制御部24に返す(ステップD30)。
As a result, the character status information becomes "established".
If it is in the state (Ye in step D29)
s), the conversion control unit 24 extracts the character string in the “established” state including the character as one conversion unit, and sends it to the Chinese conversion processing unit 25 (step D30). Chinese conversion processing unit 2
In 5, the Chinese dictionary 26 is searched based on the character string, and a heading that reads the character string is extracted from the Chinese dictionary 26 and returned to the conversion control unit 24 (step D30).

【0097】変換制御部24は、中国語変換処理部25
から取得した見出しを変換候補として出力するようにエ
ディタ27に指示する(ステップD31)。これによ
り、読みとして入力された文字列(アルファベット)に
代わって中国語漢字が画面上に表示されることになる。
The conversion control unit 24 includes a Chinese conversion processing unit 25
The editor 27 is instructed to output the headline acquired from the above as a conversion candidate (step D31). As a result, Chinese characters are displayed on the screen in place of the character string (alphabet) input as a reading.

【0098】一方、文字ステータス情報が「不成立」ま
たは「不明」状態となっている場合には(ステップD2
9のNo)、変換制御部24はその文字をそのまま出力
するようにエディタ27に指示する(ステップD3
2)。これにより、読みとして入力された文字列(アル
ファベット)はそのまま画面上に表示されることにな
る。
On the other hand, when the character status information is in the "unsatisfied" or "unknown" state (step D2).
9: No), the conversion control unit 24 instructs the editor 27 to output the character as it is (step D3).
2). As a result, the character string (alphabet) input as a reading is displayed on the screen as it is.

【0099】このように、変換が指示された際に、その
変換対象となる文字列に付加されたステータス情報に基
づいて、当該入力文字列が中国語変換されて出力される
か、あるいは、そのまま出力される。
As described above, when the conversion is instructed, the input character string is converted into Chinese and output based on the status information added to the character string to be converted, or is directly output. Is output.

【0100】この場合、第2の変換モードが設定されて
いるときには、ピンインとして成立しない文字列以降に
入力された文字列はピンインとして解釈されず、それら
のステータス情報はすべて「不成立」状態になってい
る。したがって、変換時にはそのままの状態(アルファ
ベット)で表示されることになる。よって、例えば意図
的にアルファベットを入力したいときや、アルファベッ
ト混在でピンイン入力をしたい場合などにおいて、モー
ドの切り替え操作なしで、アルファベットからなる単語
を得ることができる。
In this case, when the second conversion mode is set, character strings input after a character string that is not satisfied as pinyin are not interpreted as pinyin, and all of their status information is in a “not satisfied” state. ing. Therefore, at the time of conversion, it is displayed as it is (alphabet). Therefore, for example, when the alphabet is intentionally input or when the pinyin input is to be performed with the alphabet mixed, a word composed of the alphabet can be obtained without the mode switching operation.

【0101】一方、第1の変換モードが設定されている
場合には、ピンインとして成立しない文字列以降に入力
された文字列はピンインとして解釈され、その解釈結果
に応じてステータス情報が変更されている。したがっ
て、ピンインとして成立していれば、変換時に中国語変
換され、ピンインとして成立していなければ、そのまま
の状態(アルファベット)で表示されることになる。よ
って、ピンイン入力する場合において、ピンインとして
正しい文字列に対応する変換候補を得ることができる。
On the other hand, when the first conversion mode is set, character strings input after a character string that does not hold as pinyin are interpreted as pinyin, and status information is changed according to the interpretation result. I have. Therefore, if it is established as Pinyin, it is converted into Chinese at the time of conversion, and if it is not established as Pinyin, it is displayed as it is (alphabet). Therefore, when inputting Pinyin, a conversion candidate corresponding to a character string correct as Pinyin can be obtained.

【0102】ここで、上述した第1と第2の表示モー
ド、第1と第2の変換モードについて、具体例を挙げて
説明する。図12に具体例を示す。
Here, the first and second display modes and the first and second conversion modes will be described with reference to specific examples. FIG. 12 shows a specific example.

【0103】例えば、図12(a)に示すように、「a
nzhuangruanjiandecd−romqu
dongqi」といった文字列がピンイン入力されたと
する。この文字列の中で、「cd−rom」の部分はピ
ンインとして成立しない文字列である。
For example, as shown in FIG.
nzhuangruangjiandecd-romqu
It is assumed that a character string such as “dongqi” has been pinyin input. In this character string, the “cd-rom” part is a character string that does not hold as pinyin.

【0104】ここで、入力時において、第2の表示モー
ド(第2の変換モードも同様)が設定されている場合に
は、ピンインとして成立しない文字列以降に入力された
文字列「qu dong qi」はピンインとして解釈
されない。したがって、図12(b)に示すように、
「cd−rom qu dong qi」の部分が第2
の表示形態(例えば赤色)で表示され、他の部分「an
zhuang ruan jian de」は第1の
表示形態(例えば青色)で表示されることになる。
Here, when the second display mode (the same applies to the second conversion mode) is set at the time of input, the character string “qu donq qi” input after the character string that does not hold as pinyin Is not interpreted as Pinyin. Therefore, as shown in FIG.
The “cd-rom quong qi” part is the second
Is displayed in a display mode (for example, red), and the other part “an
“zhuang ran jian de” will be displayed in the first display mode (for example, blue).

【0105】一方、第1の表示モード(第1の変換モー
ドも同様)が設定されている場合には、ピンインとして
成立しない文字列以降に入力された文字列「qu do
ngqi」はピンインとして解釈される。この場合、
「qu dong qi」はピンインとして成立する文
字列である。したがって、図12(c)に示すように、
「cd−rom」の部分のみが第2の表示形態(例えば
赤色)で表示され、他の部分「an zhuang r
uan jian de」と「qu dongqi」は
第1の表示形態(例えば青色)で表示されることにな
る。
On the other hand, when the first display mode (the same is true for the first conversion mode) is set, the character string “qu do
"ngqi" is interpreted as pinyin. in this case,
“Qu dong qi” is a character string that is established as Pinyin. Therefore, as shown in FIG.
Only the portion of “cd-rom” is displayed in the second display mode (for example, red), and the other portion “an zhuang r” is displayed.
"uan jian de" and "qu donqqi" will be displayed in the first display mode (for example, blue).

【0106】また、変換時において、第2の変換モード
が設定されている場合には、ピンインとして成立しない
文字列以降に入力された文字列は表示時と同様にピンイ
ンとして解釈されない。したがって、図12(d)に示
すように、「an zhuang ruan jia
n」の部分は「安装軟件的」といった中国語漢字に変換
されるが、「cd−rom qu dong qi」の
部分はそのまま出力されることになる。
When the second conversion mode is set at the time of conversion, character strings input after a character string that does not hold as pinyin are not interpreted as pinyin as in the case of display. Therefore, as shown in FIG. 12 (d), "an zhang ruan jia
The part "n" is converted to a Chinese kanji such as "Aso soft", but the part "cd-rom qong qi" is output as it is.

【0107】一方、第1の変換モードが設定されている
場合には、表示時と同様に、ピンインとして成立しない
文字列以降に入力された文字列はピンインとして解釈さ
れる。この場合、「qu dong qi」はピンイン
として成立する文字列であり、「駆動器」といった中国
語漢字に変換することができる。したがって、図12
(e)に示すように、「cd−rom」の部分のみがそ
のまま出力されることになる。
On the other hand, when the first conversion mode is set, as in the case of display, character strings input after a character string that does not hold as pinyin are interpreted as pinyin. In this case, "qu dong qi" is a character string that is established as Pinyin, and can be converted into Chinese kanji such as "driver". Therefore, FIG.
As shown in (e), only the “cd-rom” portion is output as it is.

【0108】なお、図12(b)〜(e)の例では、入
力文字列が区切られて表示されているが、これは変換単
位を分かりやすく明示したものであって、実際には、図
12(a)のように、入力文字列は区切りなく表示され
る(日本語のローマ字入力と同じ)。
In the examples shown in FIGS. 12B to 12E, the input character strings are displayed as being separated from each other. However, this is because the conversion unit is clearly shown, and in practice As shown in FIG. 12 (a), the input character string is displayed without delimiters (same as Japanese Roman character input).

【0109】図13に別の具体例を示す。例えば、図1
3(a)に示すように、「xitongbanbenw
indows95yishang」といった文字列がピ
ンイン入力されたとする。この文字列の中で、「win
dows95」の部分はピンインとして成立しない文字
列である。
FIG. 13 shows another specific example. For example, FIG.
As shown in FIG. 3 (a), “xitonbanbenw
It is assumed that a character string such as “windows95yishang” has been pinyin-inputted. In this string, "win
The part “dos95” is a character string that does not hold as pinyin.

【0110】ここで、入力時において、第2の表示モー
ド(第2の変換モードも同様)が設定されている場合に
は、ピンインとして成立しない文字列以降に入力された
文字列「yishang」はピンインとして解釈されな
い。したがって、図13(b)に示すように、「win
dows95 yishang」の部分が第2の表示形
態(例えば赤色)で表示され、他の部分「xitong
banben」は第1の表示形態(例えば青色)で表
示されることになる。
Here, when the second display mode (the same applies to the second conversion mode) is set at the time of input, the character string "yishhang" input after the character string that does not hold as pinyin Not interpreted as Pinyin. Therefore, as shown in FIG.
The part “dos95 yishang” is displayed in the second display form (for example, red), and the other part “xitong”
“banben” will be displayed in the first display format (for example, blue).

【0111】一方、第1の表示モード(第1の変換モー
ドも同様)が設定されている場合には、ピンインとして
成立しない文字列以降に入力された文字列「yisha
ng」はピンインとして解釈される。この場合、「yi
shang」はピンインとして成立する文字列である。
したがって、図13(c)に示すように、「windo
ws95」の部分のみが第2の表示形態(例えば赤色)
で表示され、他の部分「xitong banben」
と「yishang」は第1の表示形態(例えば青色)
で表示されることになる。
On the other hand, when the first display mode (the same is true for the first conversion mode) is set, the character string “yishha” input after the character string that does not hold as pinyin
"ng" is interpreted as pinyin. In this case, "yi
"shang" is a character string that is established as pinyin.
Therefore, as shown in FIG.
ws95 ”only in the second display mode (for example, red)
And the other part "xitong banben"
And "yishhang" are the first display format (for example, blue)
Will be displayed.

【0112】また、変換時において、第2の変換モード
が設定されている場合には、表示時と同様に、ピンイン
として成立しない文字列以降に入力された文字列はピン
インとして解釈されない。したがって、図13(d)に
示すように、「xitongbanben」の部分は
「系統版本」といった中国語漢字に変換されるが、「w
indows95 yishang」の部分はそのまま
出力されることになる。
When the second conversion mode is set at the time of conversion, as in the case of display, character strings input after a character string that does not hold as pinyin are not interpreted as pinyin. Therefore, as shown in FIG. 13 (d), the part of “xitongbanben” is converted into Chinese kanji such as “sequel edition book”,
The part of “windows95yishang” is output as it is.

【0113】一方、第1の変換モードが設定されている
場合には、表示時と同様に、ピンインとして成立しない
文字列以降に入力された文字列はピンインとして解釈さ
れる。この場合、「yishang」はピンインとして
成立する文字列であり、「以上」といった中国語漢字に
変換することができる。したがって、図13(e)に示
すように、「windows95」の部分のみがそのま
ま出力されることになる。
On the other hand, when the first conversion mode is set, the character strings input after the character string that does not hold as pinyin are interpreted as pinyin, as in the case of display. In this case, "yishhang" is a character string that is established as a pinyin, and can be converted into Chinese characters such as "or more." Therefore, as shown in FIG. 13E, only the "windows95" portion is output as it is.

【0114】なお、図13(b)〜(e)の例では、入
力文字列が区切られて表示されているが、これは変換単
位を分かりやすく明示したものであって、実際には、図
13(a)のように、入力文字列は区切りなく表示され
る(日本語のローマ字入力と同じ)。
In the examples shown in FIGS. 13B to 13E, the input character strings are displayed as being separated from each other. However, this is because the conversion unit is clearly indicated, and in practice, As shown in FIG. 13 (a), the input character string is displayed without delimiters (same as Japanese Roman character input).

【0115】また、上述した各実施形態において記載し
た手法は、コンピュータに実行させることのできるプロ
グラムとして、例えば磁気ディスク(フロッピーディス
ク、ハードディスク等)、光ディスク(CD−ROM、
DVD等)、半導体メモリなどの記録媒体に書き込んで
各種装置に適用したり、通信媒体により伝送して各種装
置に適用することも可能である。本装置を実現するコン
ピュータは、記録媒体に記録されたプログラムを読み込
み、このプログラムによって動作が制御されることによ
り、上述した処理を実行する。
Further, the method described in each of the above-described embodiments may be a computer-executable program such as a magnetic disk (floppy disk, hard disk, etc.), an optical disk (CD-ROM,
It is also possible to write the data on a recording medium such as a DVD or a semiconductor memory and apply it to various devices, or to transmit it via a communication medium and apply it to various devices. A computer that realizes the present apparatus reads the program recorded on the recording medium, and executes the above-described processing by controlling the operation of the program.

【0116】[0116]

【発明の効果】以上のように本発明によれば、入力され
た文字列がピンインとして成立するか否かを判定し、ピ
ンインとして成立する場合には第1の表示形態で表示
し、ピンインとして成立しない場合には第2の表示形態
で表示するようにしたため、入力時に文字列がピンイン
として成立しているか否かを判断することができ、ピン
インとして成立していない部分を変換前に訂正すること
ができる。
As described above, according to the present invention, it is determined whether or not an input character string is established as pinyin. If the input character string is established as pinyin, the character string is displayed in the first display mode. If the condition is not satisfied, the character string is displayed in the second display mode, so that it can be determined whether or not the character string is formed as pinyin at the time of input, and the portion not formed as pinyin is corrected before conversion. be able to.

【0117】また、入力文字列の表示に際し、第1また
は第2の表示モードを設定可能とし、第2の表示モード
では、ピンインとして成立しない文字列以降の文字列を
ピンインとして解釈せずに第2の表示形態で表示するよ
うにしたため、例えば意図的にアルファベットを入力し
たり、ピンインとアルファベットとを混在して入力する
場合などにおいて便利である。
In displaying an input character string, the first or second display mode can be set. In the second display mode, a character string subsequent to a character string that does not hold as pinyin is interpreted as pinyin without interpreting it as pinyin. Since the display is performed in the display mode 2, it is convenient when, for example, an alphabet is intentionally input, or when pinyin and the alphabet are mixed and input.

【0118】一方、第1の表示モードでは、ピンインと
して成立しない文字列以降の文字列をピンインとして解
釈し、ピンインとして成立する場合に第1の表示形態で
表示し、ピンインとして成立しない場合に第2の表示形
態で表示するようにしたため、ピンイン入力する場合
に、入力時に文字列がピンインとして成立しているか否
かを判断することができ、ピンインとして成立していな
い部分を変換前に訂正することができる。
On the other hand, in the first display mode, a character string subsequent to a character string that is not satisfied as pinyin is interpreted as pinyin, and is displayed in the first display mode when it is satisfied as pinyin, and is displayed in a first display mode when it is not satisfied as pinyin. Since the display is performed in the display mode of 2, it is possible to determine whether or not a character string is established as a pinyin at the time of inputting, and to correct a portion that is not established as a pinyin before conversion. be able to.

【0119】また、非区別表示モードが設定された場合
に、入力された文字列をすべて同じ表示形態で表示する
ようにしたため、例えばピンイン入力時に通常通りの表
示を好む場合などに便利である。
Further, when the indistinguishable display mode is set, all the input character strings are displayed in the same display form, which is convenient when, for example, normal display is desired at the time of pinyin input.

【0120】また、入力文字列の変換に際し、第1また
は第2の変換モードを設定可能とし、第2の変換モード
では、ピンインとして成立しない文字列以降に入力され
た文字列をピンインとして解釈せずに、変換時にそのま
まアルファベットの状態で表示するようにしたため、例
えば意図的にアルファベットを入力したいときや、アル
ファベット混在でピンイン入力をしたい場合などにおい
て、モードの切り替え操作なしで、例えばアルファベッ
トからなる単語を得ることができる。
When converting an input character string, the first or second conversion mode can be set. In the second conversion mode, a character string input after a character string that does not hold as pinyin is interpreted as pinyin. Instead, it is displayed as it is in the state of the alphabet at the time of conversion, so for example, when you want to enter the alphabet intentionally or when you want to input Pinyin with a mixture of alphabets, for example, a word consisting of alphabets without mode switching operation Can be obtained.

【0121】一方、第1の変換モードでは、ピンインと
して成立しない文字列以降に入力された文字列をピンイ
ンとして解釈し、ピンインとして成立していれば、変換
時に中国語変換し、ピンインとして成立していなけれ
ば、そのままの状態で表示するようにしたため、ピンイ
ン入力する場合において、ピンインとして正しい文字列
に対応する変換候補を得ることができる。
On the other hand, in the first conversion mode, a character string input after a character string that does not hold as Pinyin is interpreted as Pinyin. If not, it is displayed as it is. Therefore, when inputting pinyin, a conversion candidate corresponding to a character string correct as pinyin can be obtained.

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

【図1】本発明の中国語入力変換処理装置のシステム構
成を示すブロック図。
FIG. 1 is a block diagram showing a system configuration of a Chinese input conversion processing device of the present invention.

【図2】上記図1のシステム構成によって実現される中
国語入力変換処理装置の機能構成を示すブロック図。
FIG. 2 is a block diagram showing a functional configuration of a Chinese input conversion processing device realized by the system configuration of FIG. 1;

【図3】上記中国語入力変換処理装置に用いられる中国
語辞書の構成を示す図。
FIG. 3 is a diagram showing a configuration of a Chinese dictionary used in the Chinese input conversion processing device.

【図4】中国語の声母の種類を示す図。FIG. 4 is a diagram showing types of Chinese initials.

【図5】中国語の韻母の種類を示す図。FIG. 5 is a diagram showing types of Chinese rhymes.

【図6】声母と韻母の組み合わせからなる音節の種類の
一部を示す図。
FIG. 6 is a diagram showing a part of syllable types composed of a combination of an initial and a final.

【図7】本発明の第1の実施形態としての処理動作を示
すフローチャート。
FIG. 7 is a flowchart showing a processing operation according to the first embodiment of the present invention.

【図8】本発明の第2の実施形態としての処理動作を示
すフローチャート。
FIG. 8 is a flowchart illustrating a processing operation according to a second embodiment of the present invention.

【図9】本発明の第3の実施形態としての処理動作を示
すフローチャート。
FIG. 9 is a flowchart illustrating a processing operation according to a third embodiment of the present invention.

【図10】本発明の第4の実施形態としての処理動作を
示すフローチャート。
FIG. 10 is a flowchart showing a processing operation according to a fourth embodiment of the present invention.

【図11】本発明の第4の実施形態としての処理動作を
示すフローチャート。
FIG. 11 is a flowchart showing a processing operation according to a fourth embodiment of the present invention.

【図12】本発明の第1と第2の表示モード、第1と第
2の変換モードを説明するための具体例。
FIG. 12 is a specific example for explaining the first and second display modes and the first and second conversion modes of the present invention.

【図13】本発明の第1と第2の表示モード、第1と第
2の変換モードを説明するための具体例。
FIG. 13 is a specific example for explaining the first and second display modes and the first and second conversion modes of the present invention.

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

11…CPU 12…メモリ 13…入力装置 14…表示装置 15…外部記憶装置 16…印刷装置 17…通信装置 21…入力部 22…入力制御処理部 22a…読み文字列バッファ 22b…フラグバッファ 22c…モードバッファ 23…ピンイン置換制御部 23a…ピンイン規則テーブル 24…変換制御部 25…中国語変換処理部 26…中国語辞書 27…エディタ 28…出力部 DESCRIPTION OF SYMBOLS 11 ... CPU 12 ... Memory 13 ... Input device 14 ... Display device 15 ... External storage device 16 ... Printing device 17 ... Communication device 21 ... Input part 22 ... Input control processing part 22a ... Reading character string buffer 22b ... Flag buffer 22c ... Mode Buffer 23 Pinyin replacement control unit 23a Pinyin rule table 24 Conversion control unit 25 Chinese conversion processing unit 26 Chinese dictionary 27 Editor 28 Output unit

Claims (10)

【特許請求の範囲】[Claims] 【請求項1】 文字列を入力する入力手段と、 この入力手段によって入力された文字列がピンインとし
て成立するか否かを判定するピンイン判定手段と、 このピンイン判定手段の判定結果に応じた属性情報を上
記入力された文字列に付加して記憶する入力文字列記憶
手段と、 この入力文字列記憶手段に記憶された入力文字列を上記
属性情報に基づいて区別表示するものであり、ピンイン
として成立する文字列を第1の表示形態で表示し、ピン
インとして成立しない文字列を第2の表示形態で表示す
る表示手段とを具備したことを特徴とする中国語入力変
換処理装置。
An input unit for inputting a character string; a pinyin determination unit for determining whether a character string input by the input unit is established as pinyin; and an attribute corresponding to a determination result of the pinyin determination unit. Input character string storage means for adding information to the input character string and storing the information; and input character strings stored in the input character string storage means for distinguishing and displaying the input character strings based on the attribute information. A display device for displaying a character string that is satisfied in a first display format and a character string that is not satisfied as pinyin in a second display format.
【請求項2】 文字列を入力する入力手段と、 この入力手段によって入力された文字列がピンインとし
て成立するか否かを判定するピンイン判定手段と、 このピンイン判定手段の判定結果に応じた属性情報を上
記入力された文字列に付加して記憶する入力文字列記憶
手段と、 第1または第2の表示モードを設定する表示モード設定
手段と、 上記入力文字列記憶手段に記憶された入力文字列を上記
属性情報に基づいて区別表示するものであり、上記表示
モード設定手段によって上記第1の表示モードが設定さ
れている場合には、ピンインとして成立する文字列を第
1の表示形態で表示し、ピンインとして成立しない文字
列を第2の表示形態で表示し、上記第2の表示モードが
設定されている場合には、ピンインとして成立しない文
字列以降に入力された文字列をピンインとして解釈せず
に上記第2の表示形態で表示する表示手段とを具備した
ことを特徴とする中国語入力変換処理装置。
2. An input means for inputting a character string, a pinyin determining means for determining whether or not the character string input by the input means is established as pinyin, and an attribute corresponding to a determination result of the pinyin determining means Input character string storage means for adding information to the input character string and storing the information; display mode setting means for setting the first or second display mode; and input characters stored in the input character string storage means A column is distinguished and displayed based on the attribute information. When the first display mode is set by the display mode setting means, a character string that is established as pinyin is displayed in a first display mode. Then, a character string that does not hold as pinyin is displayed in the second display mode, and when the second display mode is set, the character string that does not hold as pinyin is displayed. Chinese input conversion processing device characterized by without interpreting a force string as pinyin equipped with a display means for displaying in the second display mode.
【請求項3】 非区別表示モードを設定する表示モード
設定手段を有し、 上記表示手段は、上記表示モード設定手段によって上記
非区別表示モードが設定された場合に、上記入力された
文字列のすべてを同じ表示形態で表示することを特徴と
する請求項1または請求項2記載の中国語入力変換処理
装置。
3. A display mode setting means for setting a non-differential display mode, wherein the display means sets the input character string when the non-differential display mode is set by the display mode setting means. The Chinese input conversion processing device according to claim 1 or 2, wherein all of them are displayed in the same display form.
【請求項4】 文字列を入力する入力手段と、 この入力手段によって入力された文字列がピンインとし
て成立するか否かを判定するピンイン判定手段と、 このピンイン判定手段の判定結果に応じた属性情報を上
記入力された文字列に付加して記憶する入力文字列記憶
手段と、 第1または第2の変換モードを設定する変換モード設定
手段と、 上記入力文字列記憶手段に記憶された入力文字列を上記
属性情報に基づいて中国語漢字に変換するものであり、
上記変換モード設定手段によって上記第1の変換モード
が設定されている場合には、ピンインとして成立する文
字列を中国語漢字に変換して出力し、ピンインとして成
立しない文字列をそのまま出力し、上記第2の変換モー
ドが設定されている場合には、ピンインとして成立しな
い文字列以降に入力された文字列をピンインとして解釈
せずに、そのまま出力する変換手段とを具備したことを
特徴とする中国語入力変換処理装置。
4. An input means for inputting a character string, a pinyin determination means for determining whether or not the character string input by the input means is established as pinyin, and an attribute corresponding to a determination result of the pinyin determination means Input character string storage means for adding information to the input character string and storing the information; conversion mode setting means for setting a first or second conversion mode; and input characters stored in the input character string storage means The column is converted into Chinese kanji based on the attribute information,
When the first conversion mode is set by the conversion mode setting means, the character string that is established as Pinyin is converted into Chinese kanji and output, and the character string that is not established as Pinyin is output as it is. When the second conversion mode is set, a character string input after the character string that does not hold as pinyin is not interpreted as pinyin, but is output as it is without converting means. Word input conversion processor.
【請求項5】 ピンインで入力された文字列を中国語漢
字に変換する中国語入力変換処理方法であって、 入力された文字列がピンインとして成立するか否かを判
定し、 この判定結果に応じた属性情報を上記入力された文字列
に付加してメモリに記憶しておき、 このメモリに記憶された入力文字列を上記属性情報に基
づいて区別表示するものであり、ピンインとして成立す
る文字列を第1の表示形態で表示し、ピンインとして成
立しない文字列を第2の表示形態で表示することを特徴
とする中国語入力変換処理方法。
5. A Chinese input conversion processing method for converting a character string input in Pinyin into Chinese / Kanji characters, and determines whether or not the input character string is valid as Pinyin. The corresponding attribute information is added to the input character string and stored in a memory, and the input character string stored in the memory is distinguished and displayed based on the attribute information. A Chinese input conversion processing method, wherein a string is displayed in a first display form, and a character string that does not hold as pinyin is displayed in a second display form.
【請求項6】 ピンインで入力された文字列を中国語漢
字に変換する中国語入力変換処理方法であって、 入力された文字列がピンインとして成立するか否かを判
定し、 この判定結果に応じた属性情報を上記入力された文字列
に付加してメモリに記憶しておき、 第1または第2の表示モードを設定し、 上記メモリに記憶された入力文字列を上記属性情報に基
づいて区別表示するものであり、上記第1の表示モード
が設定されている場合には、ピンインとして成立する文
字列を第1の表示形態で表示し、ピンインとして成立し
ない文字列を第2の表示形態で表示し、上記第2の表示
モードが設定されている場合には、ピンインとして成立
しない文字列以降に入力された文字列をピンインとして
解釈せずに上記第2の表示形態で表示することを特徴と
する中国語入力変換処理方法。
6. A Chinese input conversion processing method for converting a character string input in Pinyin into a Chinese character, comprising: determining whether the input character string is valid as Pinyin; The corresponding attribute information is added to the input character string and stored in the memory, the first or second display mode is set, and the input character string stored in the memory is set based on the attribute information. When the first display mode is set, a character string that is established as pinyin is displayed in the first display mode, and a character string that is not established as pinyin is displayed in the second display mode. In the case where the second display mode is set, character strings input after a character string that does not hold as pinyin are displayed in the second display mode without being interpreted as pinyin. Special Chinese input conversion processing method and.
【請求項7】 ピンインで入力された文字列を中国語漢
字に変換する中国語入力変換処理方法であって、 入力された文字列がピンインとして成立するか否かを判
定し、 この判定結果に応じた属性情報を上記入力された文字列
に付加してメモリに記憶しておき、 第1または第2の変換モードを設定し、 上記メモリに記憶された入力文字列を上記属性情報に基
づいて中国語漢字に変換するものであり、上記第1の変
換モードが設定されている場合には、ピンインとして成
立する文字列を中国語漢字に変換して出力し、ピンイン
として成立しない文字列をそのまま出力し、上記第2の
変換モードが設定されている場合には、ピンインとして
成立しない文字列以降に入力された文字列をピンインと
して解釈せずに、そのまま出力することを特徴とする中
国語入力変換処理方法。
7. A Chinese input conversion processing method for converting a character string input in Pinyin into Chinese / Kanji characters, wherein it is determined whether or not the input character string is valid as Pinyin. The corresponding attribute information is added to the input character string and stored in the memory, and the first or second conversion mode is set. The input character string stored in the memory is set based on the attribute information. When the first conversion mode is set, a character string that is established as Pinyin is converted into Chinese Kanji and output, and a character string that is not established as Pinyin is output as it is. Output, and when the second conversion mode is set, character strings input after a character string that does not hold as pinyin are output as they are without being interpreted as pinyin. Chinese input conversion processing method.
【請求項8】 ピンインで入力された文字列を中国語漢
字に変換する中国語入力変換処理プログラムを記録した
記録媒体であって、 入力された文字列がピンインとして成立するか否かを判
定し、 この判定結果に応じた属性情報を上記入力された文字列
に付加してメモリに記憶しておき、 このメモリに記憶された入力文字列を上記属性情報に基
づいて区別表示するものであり、ピンインとして成立す
る文字列を第1の表示形態で表示し、ピンインとして成
立しない文字列を第2の表示形態で表示する変換処理を
コンピュータに実行させるためのプログラムを記録した
コンピュータ読取り可能な記録媒体。
8. A recording medium recording a Chinese input conversion program for converting a character string input in Pinyin into Chinese / Kanji characters, and determining whether or not the input character string is valid as Pinyin. The attribute information corresponding to the determination result is added to the input character string and stored in a memory, and the input character string stored in the memory is displayed based on the attribute information. A computer-readable storage medium storing a program for causing a computer to execute a conversion process of displaying a character string that is not satisfied as Pinyin in a first display form and displaying a character string that cannot be formed as Pinyin in a second display form .
【請求項9】 ピンインで入力された文字列を中国語漢
字に変換する中国語入力変換処理プログラムを記録した
記録媒体であって、 入力された文字列がピンインとして成立するか否かを判
定し、 この判定結果に応じた属性情報を上記入力された文字列
に付加してメモリに記憶しておき、 第1または第2の表示モードを設定し、 上記メモリに記憶された入力文字列を上記属性情報に基
づいて区別表示するものであり、上記第1の表示モード
が設定されている場合には、ピンインとして成立する文
字列を第1の表示形態で表示し、ピンインとして成立し
ない文字列を第2の表示形態で表示し、上記第2の表示
モードが設定されている場合には、ピンインとして成立
しない文字列以降に入力された文字列をピンインとして
解釈せずに上記第2の表示形態で表示する変換処理をコ
ンピュータに実行させるためのプログラムを記録したコ
ンピュータ読取り可能な記録媒体。
9. A recording medium recording a Chinese input conversion processing program for converting a character string input in Pinyin into Chinese / Chinese characters, and determining whether or not the input character string is valid as Pinyin. The attribute information corresponding to the determination result is added to the input character string and stored in the memory, the first or second display mode is set, and the input character string stored in the memory is stored in the memory. When the first display mode is set, a character string that is established as pinyin is displayed in the first display mode, and a character string that is not established as pinyin is displayed. When the display is performed in the second display mode and the second display mode is set, a character string input after a character string that does not hold as pinyin is not interpreted as pinyin and the second table is displayed. Computer-readable recording medium storing a program for executing the conversion process to the computer to be displayed in the form.
【請求項10】 ピンインで入力された文字列を中国語
漢字に変換する中国語入力変換処理プログラムを記録し
た記録媒体であって、 入力された文字列がピンインとして成立するか否かを判
定し、 この判定結果に応じた属性情報を上記入力された文字列
に付加してメモリに記憶しておき、 第1または第2の変換モードを設定し、 上記メモリに記憶された入力文字列を上記属性情報に基
づいて中国語漢字に変換するものであり、上記第1の変
換モードが設定されている場合には、ピンインとして成
立する文字列を中国語漢字に変換して出力し、ピンイン
として成立しない文字列をそのまま出力し、上記第2の
変換モードが設定されている場合には、ピンインとして
成立しない文字列以降に入力された文字列をピンインと
して解釈せずに、そのまま出力する変換処理をコンピュ
ータに実行させるためのプログラムを記録したコンピュ
ータ読取り可能な記録媒体。
10. A recording medium storing a Chinese input conversion program for converting a character string input in Pinyin into Chinese / Kanji characters, and determining whether or not the input character string is valid as Pinyin. The attribute information according to the determination result is added to the input character string and stored in the memory, and the first or second conversion mode is set. The input character string stored in the memory is When the first conversion mode is set, a character string that is established as Pinyin is converted into Chinese Kanji and output, and is converted as Chinese Pinyin when the first conversion mode is set. If the second conversion mode is set, a character string input after the character string that does not hold as pinyin is not interpreted as pinyin, and Or computer-readable recording medium storing a program for executing the conversion process to the computer output.
JP10131887A 1998-05-14 1998-05-14 Device and method for chinese input conversion processing and recording medium where chinese input conversion processing program is recorded Pending JPH11328159A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10131887A JPH11328159A (en) 1998-05-14 1998-05-14 Device and method for chinese input conversion processing and recording medium where chinese input conversion processing program is recorded

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10131887A JPH11328159A (en) 1998-05-14 1998-05-14 Device and method for chinese input conversion processing and recording medium where chinese input conversion processing program is recorded

Publications (1)

Publication Number Publication Date
JPH11328159A true JPH11328159A (en) 1999-11-30

Family

ID=15068477

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10131887A Pending JPH11328159A (en) 1998-05-14 1998-05-14 Device and method for chinese input conversion processing and recording medium where chinese input conversion processing program is recorded

Country Status (1)

Country Link
JP (1) JPH11328159A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113723082A (en) * 2021-08-30 2021-11-30 支付宝(杭州)信息技术有限公司 Method and device for detecting Chinese pinyin from text

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113723082A (en) * 2021-08-30 2021-11-30 支付宝(杭州)信息技术有限公司 Method and device for detecting Chinese pinyin from text

Similar Documents

Publication Publication Date Title
US6490563B2 (en) Proofreading with text to speech feedback
JP2002014954A (en) Chinese language inputting and converting processing device and method, and recording medium
WO2012071630A1 (en) Text conversion and representation system
JP3476007B2 (en) Recognition word registration method, speech recognition method, speech recognition device, storage medium storing software product for registration of recognition word, storage medium storing software product for speech recognition
JPH1125098A (en) Information processor and method for obtaining link destination file and storage medium
JPH11338858A (en) Device and method for predicting input and storage medium recording input predictive program
JPH11238051A (en) Chinese input conversion processor, chinese input conversion processing method and recording medium stored with chinese input conversion processing program
JPH11328159A (en) Device and method for chinese input conversion processing and recording medium where chinese input conversion processing program is recorded
JP2580565B2 (en) Voice information dictionary creation device
JP2001229155A (en) Device and method for chinese input conversion processing, and recording medium
JP2001014304A (en) Document creating device, conversion processing method, and recording medium where conversion processing program is recorded
JP2003202886A (en) Device, method, and program for text input processing
JPH11175511A (en) Chinese input conversion processor and method therefor and storage medium storing chinese input conversion processing program
JP3796651B2 (en) Recording medium for Korean language input program
JP2001109740A (en) Device and method for preparing chinese document
JP2001134557A (en) Device and method for chinese input conversion, and recording medium with recorded chinese input converting program
JPH11161641A (en) Chinese input/conversion processor, method therefor and recording medium recorded with chinese input conversion processing program
JP2000003355A (en) Chinese input conversion processor, new word register method used for the same, and recording medium
JP2003288098A (en) Device, method and program of dictation
KR100464019B1 (en) Pronunciation string display method at the time of edit for voice recognizing apparatus
JPH0380363A (en) Document processor
JPH08272780A (en) Processor and method for chinese input processing, and processor and method for language processing
JPH11312158A (en) Chinese input conversion processor, its method and recording medium with chinese input conversion processing program recorded therein
JP2004086449A (en) Chinese language phonetic orthography input device with comparison function for inputting imperfect or vague phonetic orthography
JPH1125083A (en) Kana/kanji converter and computer-readable storage medium