JPH08180054A - Document processor - Google Patents

Document processor

Info

Publication number
JPH08180054A
JPH08180054A JP6336679A JP33667994A JPH08180054A JP H08180054 A JPH08180054 A JP H08180054A JP 6336679 A JP6336679 A JP 6336679A JP 33667994 A JP33667994 A JP 33667994A JP H08180054 A JPH08180054 A JP H08180054A
Authority
JP
Japan
Prior art keywords
conversion
character string
information
kanji
kana
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP6336679A
Other languages
Japanese (ja)
Inventor
Takashi Maruyama
貴 丸山
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP6336679A priority Critical patent/JPH08180054A/en
Publication of JPH08180054A publication Critical patent/JPH08180054A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE: To convert a certain KANA (Japanese syllabary) character string to a KANJI (Chinese character) character string provided with a certain conversion format (the information of TAB and line feed, etc.). CONSTITUTION: Conversion information provided with conversion format information (the information of TAB and line feed, etc.,) is stored in a special dictionary file 14 beforehand. Then, when the KANA character string is inputted and a conversion operation is instructed from an input device 18, a control part 10 reads the conversion information pertinent to the inputted KANA character string from the special dictionary file 14, converts the conversion format information in the read conversion information into actual control codes (a TAB code and a line feed code, etc.,) and thus, displays and outputs the KANJI character string matched with the conversion format to a display device 20.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ワードプロセッサ等の
文書処理装置に係り、特に、仮名漢字変換に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document processing device such as a word processor, and more particularly to kana-kanji conversion.

【0002】[0002]

【従来の技術】近年、文書の作成にワードプロセッサ等
の文書処理装置が用いられることが多くなってきてい
る。
2. Description of the Related Art In recent years, a document processing device such as a word processor is often used to create a document.

【0003】この種の文書処理装置では、基本辞書を参
照して、入力された仮名文字列を漢字文字列に変換する
仮名漢字変換機能を有している。また、ユーザが所望の
単語や短文を任意の読み仮名文字列に対応させて記憶さ
せておく所謂辞書登録機能を有している。
This type of document processing apparatus has a kana-kanji conversion function for converting an input kana character string into a kanji character string by referring to a basic dictionary. Further, the user has a so-called dictionary registration function of storing a desired word or short sentence in association with an arbitrary reading kana character string.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、従来の
仮名漢字変換は、ある仮名文字列をある漢字文字列へ変
換するものであり、変換する漢字文字列の変換フォーマ
ット(改行やTAB等の情報)を指定できないといった
問題があった。
However, the conventional Kana-Kanji conversion is to convert a Kana character string into a Kanji character string, and the conversion format of the Kanji character string to be converted (information such as line feed and TAB). There was a problem that you could not specify.

【0005】具体的な例を上げて説明すると、従来の仮
名漢字変換では、ある仮名文字列を図2の(C)に示す
ような、TABや改行等の含まれている漢字文字列へ変
換できない、つまり辞書登録できないという問題があっ
た。
A specific example will be described. In the conventional kana-kanji conversion, a kana character string is converted into a kanji character string including TAB, line feed, etc., as shown in FIG. There was a problem that I couldn't, that is, I couldn't register in the dictionary.

【0006】本発明の課題は、ある仮名文字列を、ある
変換フォーマット(TABや改行等の情報)を含んだ漢
字文字列へ変換可能にすることである。
An object of the present invention is to make it possible to convert a certain kana character string into a kanji character string containing a certain conversion format (information such as TAB and line feed).

【0007】[0007]

【課題を解決するための手段】本発明の手段は次の通り
である。本発明の文書処理装置は、入力手段から入力さ
れた仮名文字列を漢字文字列へ変換する機能を有するも
のである。特殊辞書手段は、変換フォーマット情報(例
えば、改行やTAB等の情報)を含んだ変換情報を格納
する。読み出し手段は、入力された仮名文字列に該当す
る変換情報を前記特殊辞書手段から読み出す。変換出力
手段は、前記読み出し手段によって読み出した変換情報
中の変換フォーマット情報を実際の制御コード(例え
ば、改行コードやTABコード等)に変換することによ
り、変換フォーマットにあわせた漢字文字列を出力す
る。
The means of the present invention are as follows. The document processing apparatus of the present invention has a function of converting a kana character string input from the input means into a kanji character string. The special dictionary means stores conversion information including conversion format information (for example, information such as line feed and TAB). The reading means reads the conversion information corresponding to the inputted kana character string from the special dictionary means. The conversion output unit converts the conversion format information in the conversion information read by the reading unit into an actual control code (for example, a line feed code or a TAB code) to output a Kanji character string that matches the conversion format. .

【0008】[0008]

【作用】本発明の手段の作用は次の通りである。予め、
特殊辞書手段に、変換フォーマット情報を含んだ変換情
報を格納しておく。そして、入力手段から仮名文字列が
入力されて変換動作が指示されると、読み出し手段は、
その入力された仮名文字列に該当する変換情報を前記特
殊辞書手段から読み出し、変換出力手段によって、この
読み出した変換情報中の変換フォーマット情報を実際の
制御コードに変換することにより、変換フォーマットに
あわせた漢字文字列を出力する。
The operation of the means of the present invention is as follows. In advance
The conversion information including the conversion format information is stored in the special dictionary means. Then, when the kana character string is input from the input means and the conversion operation is instructed, the reading means
The conversion information corresponding to the input kana character string is read from the special dictionary means, and the conversion output means converts the conversion format information in the read conversion information into an actual control code to match the conversion format. Outputs a kanji character string.

【0009】[0009]

【実施例】以下、図1乃至図3を参照して本発明の一実
施例を説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT An embodiment of the present invention will be described below with reference to FIGS.

【0010】図1の(A)はその構成を示す図で、図中
の参照番号10は、仮名漢字変換機能全体を制御する制
御部である。12は仮名漢字変換に於ける基本辞書ファ
イル、14はTABや改行を含む文字列への変換定義を
格納する特殊辞書ファイルであり、16は特殊辞書ファ
イル14中の変換フォーマットを有効にするか否かの情
報が格納される変換制御ファイルである。そして、18
はキーボード等の入力装置であり、20はCRT等の表
示装置である。
FIG. 1A is a diagram showing the structure thereof, and reference numeral 10 in the drawing is a control unit for controlling the entire kana-kanji conversion function. Reference numeral 12 is a basic dictionary file in Kana-Kanji conversion, 14 is a special dictionary file that stores conversion definition to a character string including TAB and line feed, and 16 is whether the conversion format in the special dictionary file 14 is valid or not. It is a conversion control file in which the above information is stored. And 18
Is an input device such as a keyboard, and 20 is a display device such as a CRT.

【0011】次に、このような構成における動作を説明
する。
Next, the operation in such a configuration will be described.

【0012】図1の(B)は、上記特殊辞書ファイル1
4の定義画面であり、図2の(A)はこの変換定義の格
納フォーマットを示す図である。
FIG. 1B shows the special dictionary file 1 described above.
4 is a definition screen of FIG. 4, and FIG. 2A is a diagram showing a storage format of this conversion definition.

【0013】即ち、入力装置18の所定のキー操作によ
って特殊辞書ファイル14への登録が指定されると、制
御部10は、表示装置20に定義画面を表示する。ここ
で、図1の(B)に示すように「けいわく」という仮名
文字列に対して複数行(この場合は4行)の漢字文字列
への変換定義の入力がなされた場合、制御部10は、そ
の変換定義の登録時に、各漢字文字列の行と行の間に改
行制御文字(この例の楊合は「@K」)を付加して、図
2の(A)に示すように特殊辞書ファイル14ヘ登録す
る。また、「かいしゃ」という仮名文字列に対して、T
ABを含む複数行の漢字文字列への変換定義がされた場
合には、変換定義の登録時、各漢字文字列の行と行のあ
いだに改行制御文字を付加し、各TABコードはTAB
制御文字(この例の場合は「@T」)ヘ置き換えて、そ
れぞれ特殊辞書ファイル14ヘ登録する。
That is, when the registration in the special dictionary file 14 is designated by a predetermined key operation of the input device 18, the control unit 10 displays the definition screen on the display device 20. Here, as shown in FIG. 1B, when a conversion definition is input to a kanji character string of a plurality of lines (four lines in this case) for a kana character string "Keiwaku", the control unit When the conversion definition is registered, 10 adds a line feed control character ("@K" in this example is "Y" in this example) between lines of each Kanji character string, as shown in Fig. 2 (A). To the special dictionary file 14 in. In addition, for the kana character string "Kaisha", T
When a conversion definition to a multi-line kanji character string including AB is made, a line feed control character is added between the lines of each kanji character string when the conversion definition is registered, and each TAB code is TAB.
The control character ("@T" in this example) is replaced and registered in the special dictionary file 14 respectively.

【0014】また、この特殊辞書ファイル14中の変換
フォーマットを有効にするか否かの情報が格納されるフ
ァイルである変換制御ファイル16に、図2の(B)に
示すように、特殊辞書ファイル14中の変換フォーマッ
トを有効にする旨の情報(「変換フォーマット=有
効」)を記憶しておく。なおここで、この変換フォーマ
ットを有効にするか否かは、入力装置18からの所定の
操作によってユーザが任意に設定できることは勿論であ
る。
Further, as shown in FIG. 2B, the special dictionary file is stored in the conversion control file 16 which is a file storing information as to whether the conversion format in the special dictionary file 14 is valid or not. Information indicating that the conversion format in 14 is valid (“conversion format = valid”) is stored. Here, it is needless to say that the user can arbitrarily set whether or not to enable this conversion format by a predetermined operation from the input device 18.

【0015】このようにして特殊辞書ファイル14に変
換定義が登録された状況において、文書入力を行う場
合、制御部10は、図3に示すフローチャートに従って
動作する。
When a document is input in the situation where the conversion definition is registered in the special dictionary file 14 as described above, the control unit 10 operates according to the flowchart shown in FIG.

【0016】即ち、入力装置18より仮名文字列の入力
が行われ(ステップS10)、「変換」キーが押される
と(ステップS12)、その情報は仮名漢字変換の制御
部10へ渡される。制御部10では、基本辞書ファイル
12及び特殊辞書ファイル14を参照し、変換候補を表
示装置20へ表示する(ステップS14)。
That is, when a kana character string is input from the input device 18 (step S10) and the "convert" key is pressed (step S12), the information is passed to the kana-kanji conversion control unit 10. The control unit 10 refers to the basic dictionary file 12 and the special dictionary file 14 and displays the conversion candidates on the display device 20 (step S14).

【0017】ここで、入力装置18よりこの変換候補の
中より1つが選択されると(ステップS16)、制御部
10では、それが特殊辞書ファイル14のものかどうか
の判定を行う(ステップS18)。
When one of the conversion candidates is selected by the input device 18 (step S16), the control unit 10 determines whether or not the conversion dictionary file belongs to the special dictionary file 14 (step S18). .

【0018】この際、選択された変換候補が特殊辞書フ
ァイル14のもの以外の場合は、従来の変換処理が行わ
れ(ステップS20)、仮名漢字変換の処理を終了する
(この場合の動作は周知の技術であるため、説明は省略
する)。
At this time, if the selected conversion candidate is other than that of the special dictionary file 14, the conventional conversion processing is performed (step S20), and the kana-kanji conversion processing is completed (the operation in this case is well known. Since it is a technology of, the description is omitted).

【0019】また、変換候補が特殊辞書ファイル14の
ものであった場合には、変換制御ファイル16が参照さ
れ、特殊辞書ファイル14中の変換フォーマットを有効
にするか否かの判定が行われる(ステップS22)。
If the conversion candidate is that of the special dictionary file 14, the conversion control file 16 is referred to, and it is determined whether the conversion format in the special dictionary file 14 is valid ( Step S22).

【0020】この判定で、特殊辞書ファイル14中の変
換フォーマットを有効にするモードであった場合(変換
制御ファイル16中へ「変換フォーマット=有効」の記
述があった場合)には、特殊辞書ファイル14より該当
の漢字文字列を読み取り、その文字列中にフォーマット
制御文字(@+1バイト)があればそれを実際の制御コ
ードヘ(@TはTABコードヘ、@Kは改行コードヘ)
それぞれ置き換えて、フォーマット付の漢字文字列へ変
換する処理を行って(ステップS24)、仮名漢字変換
の処理を終了する。
If it is determined in this determination that the conversion format in the special dictionary file 14 is valid (when there is a description of "conversion format = valid" in the conversion control file 16), the special dictionary file Read the corresponding Kanji character string from 14, and if there is a format control character (@ + 1 byte) in the character string, convert it to the actual control code (@T to TAB code, @K to line feed code).
After replacing each of them, a process of converting into a kanji character string with a format is performed (step S24), and the process of kana-kanji conversion is completed.

【0021】一方、特殊辞書ファイル14中の変換フォ
ーマットを有効にしないモードであった場合(変換制御
ファイル16中へ「変換フォーマット=有効」の記述が
なかった場合)には、特殊辞書ファイル14より該当の
漢字文字列を読み取り、その文字中にフォーマット制御
文字(@+1バイト)があればそれを無視して漢字文字
列へ変換を行って(ステップS26)、仮名漢字変換の
処理を終了する。
On the other hand, when the conversion format in the special dictionary file 14 is not valid (when there is no description of "conversion format = valid" in the conversion control file 16), the special dictionary file 14 The corresponding kanji character string is read, and if there is a format control character (@ + 1 byte) in the character, it is ignored and converted to a kanji character string (step S26), and the kana-kanji conversion process is terminated.

【0022】具体例を上げると、まず入力装置18より
仮名文字列「かいしゃ」が入力されて「変換」キーが押
されると、制御部10は、基本辞書ファイル12及び特
殊辞書ファイル14より変換候補を表示装置20ヘ表示
する。その変換候補の中より、図2の(A)に示す候補
が選択された場合には、変換制御ファイル16が参照さ
れ、特殊辞書ファイル14中の変換フォーマットが有効
であるか否かの判定が行われる。そして、この判定で特
殊辞書ファイル14中の変換フォーマットが有効なモー
ドになっていた場合(変換制御ファイル16中へ「変換
フォーマット=有効」の記述があった場合)には、図2
の(C)に示すように変換を行い、仮名漢字変換の処理
を終了する。また、上記ステップS22の判定で、特殊
辞書ファイル14中の変換フォーマットが有効なモード
になっていなかった場合(変換制御ファイル16中へ
「変換フォーマット=有効」の記述がなかった場合)に
は、図2の(D)に示すように変換を行い、仮名漢字変
換の処理を終了する。
As a concrete example, when the kana character string "kaisha" is input from the input device 18 and the "conversion" key is pressed, the control unit 10 selects conversion candidates from the basic dictionary file 12 and the special dictionary file 14. Is displayed on the display device 20. When the candidate shown in FIG. 2A is selected from the conversion candidates, the conversion control file 16 is referred to and it is determined whether or not the conversion format in the special dictionary file 14 is valid. Done. If the conversion format in the special dictionary file 14 is in the valid mode in this determination (when the description "conversion format = valid" in the conversion control file 16),
The conversion is performed as shown in (C), and the kana-kanji conversion process ends. If it is determined in step S22 that the conversion format in the special dictionary file 14 is not in the valid mode (when there is no description of "conversion format = valid" in the conversion control file 16), Conversion is performed as shown in FIG. 2D, and the kana-kanji conversion process is completed.

【0023】以上のように、特殊辞書ファイル14ヘ変
換フォーマット付の漢字文字列を格納することができ、
この特殊辞書ファイル14を参照することにより、ある
仮名文字列をあるフォーマット(TABや改行等の情
報)を含んだ漢字文字列へ変換することができるように
なる。また、変換制御ファイル16を参照することによ
り、特殊辞書ファイル14中の変換フォーマットを有効
にするか否かといった制御ができる。
As described above, the Kanji character string with the conversion format can be stored in the special dictionary file 14,
By referring to the special dictionary file 14, it becomes possible to convert a certain kana character string into a kanji character string including a certain format (information such as TAB and line feed). Further, by referring to the conversion control file 16, it is possible to control whether to enable the conversion format in the special dictionary file 14.

【0024】[0024]

【発明の効果】本発明によれば、ある仮名文字列を、あ
る変換フォーマット(TABや改行等の情報)を含んだ
漢字文字列へ変換できるようになる。
According to the present invention, a certain kana character string can be converted into a kanji character string containing a certain conversion format (information such as TAB and line feed).

【0025】即ち、文書処理装置の仮名漢字変換に於い
て、ある仮名文字列をある変換フォーマット(改行やT
AB等の情報)を含んだ漢字文字列へ変換できるという
利点があるため、複数行の漢字文字列への変換や、TA
Bを含んだ漢字文字列への変換が仮名漢字変換で実現で
きるという効果がある。
That is, in the kana-kanji conversion of the document processing device, a kana character string is converted into a conversion format (line feed or T
Since there is an advantage that it can be converted into a Kanji character string that contains information such as AB, it can be converted into a Kanji character string of multiple lines or TA
There is an effect that conversion into a kanji character string containing B can be realized by kana-kanji conversion.

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

【図1】(A)は本発明の一実施例のブロック構成図で
あり、(B)は特殊辞書ファイルの定義画面を示す図で
ある。
FIG. 1A is a block configuration diagram of an embodiment of the present invention, and FIG. 1B is a diagram showing a definition screen of a special dictionary file.

【図2】(A)は特殊辞書ファイルの格納フォーマット
を示す図、(B)は変換制御ファイルの格納内容を示す
図であり、(C)及び(D)はそれぞれ変換結果を示す
図である。
FIG. 2A is a diagram showing a storage format of a special dictionary file, FIG. 2B is a diagram showing storage contents of a conversion control file, and FIGS. 2C and 2D are diagrams showing conversion results. .

【図3】一実施例の動作フローチャートである。FIG. 3 is an operation flowchart of one embodiment.

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

10…制御部、12…基本辞書ファイル、14…特殊辞
書ファイル、16…変換制御ファイル、18…入力装
置、20…表示装置。
10 ... Control unit, 12 ... Basic dictionary file, 14 ... Special dictionary file, 16 ... Conversion control file, 18 ... Input device, 20 ... Display device.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 入力手段から入力された仮名文字列を漢
字文字列へ変換する機能を有する文書処理装置に於い
て、 変換フォーマット情報を含んだ変換情報を格納する特殊
辞書手段と、 入力された仮名文字列に該当する変換情報を前記特殊辞
書手段から読み出す読み出し手段と、 前記読み出し手段によって読み出した変換情報中の変換
フォーマット情報を実際の制御コードに変換することに
より、変換フォーマットにあわせた漢字文字列を出力す
る変換出力手段と、 を具備したことを特徴とする文書処理装置。
1. In a document processing device having a function of converting a kana character string input from an input means into a kanji character string, a special dictionary means for storing conversion information including conversion format information and an input Read-out means for reading out conversion information corresponding to a kana character string from the special dictionary means, and kanji characters adapted to the conversion format by converting the conversion format information in the conversion information read out by the reading means into an actual control code. A document processing apparatus comprising: a conversion output unit that outputs a column.
JP6336679A 1994-12-26 1994-12-26 Document processor Pending JPH08180054A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6336679A JPH08180054A (en) 1994-12-26 1994-12-26 Document processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6336679A JPH08180054A (en) 1994-12-26 1994-12-26 Document processor

Publications (1)

Publication Number Publication Date
JPH08180054A true JPH08180054A (en) 1996-07-12

Family

ID=18301683

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6336679A Pending JPH08180054A (en) 1994-12-26 1994-12-26 Document processor

Country Status (1)

Country Link
JP (1) JPH08180054A (en)

Similar Documents

Publication Publication Date Title
JPH08180054A (en) Document processor
JP2615851B2 (en) Key input device
JPH0452500B2 (en)
JPH052578A (en) Kana/kanji conversion system
JP3058423B2 (en) Document processing device
JP3042284B2 (en) Japanese input device
JP2629946B2 (en) Document processing device
JP2761622B2 (en) Character converter
JP2870525B2 (en) Character conversion processor
JPH0340871B2 (en)
JPH04133165A (en) Kana/kanji converter
JPS63146157A (en) Document processor
JPH0340418B2 (en)
JPH04105163A (en) Document processor
JPS60238967A (en) Display processing system for kana and kanji conversion result
JPS60245074A (en) Automatic agate display system
JPH0410164A (en) Character processing device
JPS61260353A (en) Document processing system
JPH0421901B2 (en)
JPH03137768A (en) Document processor
JPH01233653A (en) Japanese word processor
JPH05158930A (en) Japanese input device
JPH0766382B2 (en) Document creation device
JPH028956A (en) Document processor
JPH01133172A (en) Kanji-katakana converter