JPH11272657A - Document processor, its method and medium storing its control program - Google Patents

Document processor, its method and medium storing its control program

Info

Publication number
JPH11272657A
JPH11272657A JP10074099A JP7409998A JPH11272657A JP H11272657 A JPH11272657 A JP H11272657A JP 10074099 A JP10074099 A JP 10074099A JP 7409998 A JP7409998 A JP 7409998A JP H11272657 A JPH11272657 A JP H11272657A
Authority
JP
Japan
Prior art keywords
document
dictionary
unit
conversion
rate
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
JP10074099A
Other languages
Japanese (ja)
Inventor
Masahiko Tatezono
理彦 立薗
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sharp Corp
Original Assignee
Sharp Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sharp Corp filed Critical Sharp Corp
Priority to JP10074099A priority Critical patent/JPH11272657A/en
Publication of JPH11272657A publication Critical patent/JPH11272657A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To change a previously inputted document to a document including the kinds of letters of a designated coexisting rate through the use of plural dictionaries storing the candidates of the different kinds of letters such as KANJI (Chinese characters), Roman letters by providing a document processing part changing to the document including the kinds of the characters of the designated coexisting rate so as to display on a display part. SOLUTION: A document is inputted by a key board 101, the inputted document is displayed on a display part 107, reading notation and the candidates of the kinds of different letters such as KANJI, Roman letters are stored in plural dictionaries by corresponding to each other and the reading notation of each segment of the document is converted to the candidates of the kinds of different letters through the use of each dictionary to be stored in the document information storing part of RAM 105. Then, the converting rate of each candidate converted by each dictionary is calculated and the mixing rate of the kinds of the letters is calculated from the converting rate to generate a bar of a fixed length for designating the mixing rate of the kinds of letters to display on the tip part of the screen of the part 107. Then, the mixing rate of the kinds of letters included in the document is designated by the length of the bar to change the document to a document including the kinds of letters of the designated coexisting rate to display on the part 107.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、ワードプロセッ
サ、パーソナルコンピュータ、携帯端末などの文書処理
装置に適用され、入力された文書の表記を複数種の字種
別辞書を用いて指定された混在率の字種の候補を含む文
書に変更して表示する文書処理装置及び方法並びにその
制御プログラムを記憶した媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention is applied to a word processing device such as a word processor, a personal computer, a portable terminal, etc., and uses a plurality of character type dictionaries to specify the notation of an input document. The present invention relates to a document processing apparatus and method for changing and displaying a document including a kind candidate and a medium storing a control program therefor.

【0002】[0002]

【従来の技術】従来、日本語ワードプロセッサなどにお
ける文書作成装置の仮名漢字変換技術は、キーボードな
どの入力手段で入力された平仮名文字列を、仮名漢字変
換辞書を参照して同音異義の仮名漢字混じり文の候補に
順次変換して表示し、所望の候補があれば確定して仮名
漢字混じり文書を作成し記憶装置に記憶するものであっ
た。
2. Description of the Related Art Conventionally, a kana-kanji conversion technique of a document creation device in a Japanese word processor or the like is based on a kana-kanji conversion of a hiragana character string inputted by an input means such as a keyboard with reference to a kana-kanji conversion dictionary. The document is sequentially converted into sentence candidates and displayed. If there is a desired candidate, the document is determined and a kana-kanji mixed document is created and stored in a storage device.

【0003】例えば、低学年の児童が、従来の日本語ワ
ードプロセッサを使用して漢字混じり文書を作成すると
き、児童の漢字の履修程度を考慮して漢字変換するよう
構成されていなかった。また、従来の日本語ワードプロ
セッサでは、その記憶装置に記憶された文書の漢字を使
用目的に応じて平仮名などに再変換するよう構成されて
いなかった。これらの問題を考慮した日本語ワードプロ
セッサとして以下の従来技術が知られている。
For example, when a lower grade child prepares a document containing kanji using a conventional Japanese word processor, the kanji is not converted in consideration of the degree of kanji of the child. Further, the conventional Japanese word processor is not configured to reconvert kanji of a document stored in the storage device into hiragana or the like according to the purpose of use. The following prior arts are known as Japanese word processors considering these problems.

【0004】例えば、特開平3−228171号公報の
記載によれば、予め学年別に整理された教育漢字学年別
辞書ファイルを備え、入力された仮名文字列を漢字仮名
混じり文に変換する際に学年別教育指定キーを押すこと
で、教育漢字学年別辞書ファイルを参照して、指定した
学年までに学習した教育漢字のみを変換する文書作成機
が提案されている。この文書作成機では、ある学年が指
定されると、指定された学年までに学習した教育漢字に
変換されるので、低学年の児童でも、また教師が児童向
けの文書を作成するときでも手軽に文書作成ができると
いう効果がある。
For example, according to the description in Japanese Patent Application Laid-Open No. 3-228171, an educational kanji grade-specific dictionary file arranged in advance for each grade is provided, and when converting an input kana character string into a sentence mixed with kanji kana, A document creator has been proposed which converts an educational kanji learned only by a designated grade by referring to an educational kanji grade-specific dictionary file by pressing another education designation key. With this document creator, when a certain grade is designated, it is converted to educational kanji learned by the designated grade, so that it can be easily used even in lower grades and when teachers create documents for children. There is an effect that a document can be created.

【0005】また、特開平4−138557号公報の記
載によれば、各学年ごとに学習する教育漢字を記憶した
教育漢字辞書を参照して、既に作成された文書から教育
漢字以外の漢字を自動的に検出し、これを平仮名に置換
する日本語ワードプロセッサの教育外漢字検出訂正機構
が提案されている。この日本語ワードプロセッサの教育
外漢字検出訂正機構では、既に作成された文書から難易
度の高い教育外漢字を平仮名に短時間で正確に訂正で
き、かつ児童の学年に適した漢字の文書に再変換できる
という効果がある。
According to the description of Japanese Patent Application Laid-Open No. 4-138557, a kanji other than educational kanji is automatically extracted from an already created document by referring to an educational kanji dictionary in which educational kanji to be learned for each grade is stored. A non-educational kanji detection and correction mechanism for Japanese word processors has been proposed, which detects such characters and replaces them with hiragana. This non-educational kanji detection and correction mechanism of the Japanese word processor can quickly and accurately correct difficult-to-education non-educational kanji from already created documents to hiragana and reconverts them to kanji documents suitable for children's grades. There is an effect that can be.

【0006】また、特開平5−94473号公報の記載
によれば、既に作成された日本語文章から形態素解析し
て得た単語の字種情報から漢字字種の混在比率を求め、
漢字の難易度、使用目的に基づいて予め設定された既定
値と比較して、平仮名を漢字に、または漢字を平仮名に
再変換することによって日本語文章の漢字字種の混在比
率を一定に調整する日本語文章編集方法が提案されてい
る。この日本語文章編集方法では、既に作成された日本
語文章の漢字字種の混在比率を一定に調整して、例え
ば、マニュアル、パンフレットなどに適用できる日本語
文章に編集することができるという効果がある。
According to the description in Japanese Patent Application Laid-Open No. Hei 5-94473, the mixture ratio of Kanji character types is obtained from the character type information of words obtained by morphological analysis from a Japanese sentence that has already been created.
Reconversion of hiragana to kanji or kanji to hiragana by comparing with the preset value based on the difficulty of kanji and the purpose of use, and adjusting the mixture ratio of kanji character types in Japanese sentences to a constant Japanese text editing methods have been proposed. This Japanese sentence editing method has the effect of adjusting the mixture ratio of the kanji character types of the already created Japanese sentence to a constant, so that it can be edited into a Japanese sentence applicable to manuals, pamphlets, etc. is there.

【0007】[0007]

【発明が解決しようとする課題】しかしながら、従来例
の文書作成機、日本語ワードプロセッサの教育外漢字検
出訂正機構では、児童の学年に適した教育漢字で文書を
作成する文書処理技術が提案されているが、多くの字種
の混在率を変更し読み手の好みに適した文書を作成する
よう構成されていない。また、従来例の日本語文章編集
方法では、指定した漢字の混在率の文書に変更する文書
処理技術が提案されているが、漢字以外のローマ字、カ
タカナ、外国語など異なる字種の混在率を任意に変更し
た文書を作成するよう構成されていない。
However, in the conventional document creator and the non-educational kanji detection and correction mechanism of the Japanese word processor, a document processing technique for creating a document with educational kanji suitable for the grade of a child has been proposed. However, it is not configured to change the mixing ratio of many character types and create a document suitable for the reader's preference. In addition, in the conventional Japanese sentence editing method, a document processing technology for changing to a document having a specified mixture ratio of kanji has been proposed.However, a mixture ratio of different character types such as Roman characters other than kanji, katakana, and foreign languages has been proposed. Not configured to create arbitrarily modified documents.

【0008】本発明は以上の事情を考慮してなされたも
ので、例えば、漢字、ローマ字、カタカナ、外国語など
の異なる字種の候補を記憶した複数の辞書を用いて、予
め入力された文書を指定された混在率の字種が含む文書
に変更できる文書処理装置及び方法並びにその制御プロ
グラムを記憶した媒体を提供する。
The present invention has been made in view of the above circumstances. For example, a document input in advance by using a plurality of dictionaries storing candidates of different character types such as kanji, romaji, katakana, and foreign languages. A document processing apparatus and method capable of changing a character string to a document containing a character type having a specified mixing ratio, and a medium storing a control program therefor.

【0009】[0009]

【課題を解決するための手段】本発明は、文書を入力す
る入力部と、入力された文書を表示する表示部と、読み
表記とローマ字、漢字、カタカナ、外国語などの異なる
字種の候補を対応させて記憶した複数の辞書と、前記文
書の各文節ごとの読み表記に対して前記各辞書を用いて
異なる字種の候補に変換して文書情報記憶部に記憶させ
る変換処理部と、辞書別に変換された各候補の変換率と
その変換率から字種の混合率とを算出する算出部と、字
種の混合率を指定するための一定長さのバーを生成して
前記表示部の画面端部に表示するバー生成部と、前記バ
ーの始点からの長さにより文書に含まれる字種の混在率
を指定する指定部と、指定された混在率の字種が含む文
書に変更して前記表示部に表示する文書処理部とを備え
たことを特徴とする文書処理装置である。
According to the present invention, there is provided an input unit for inputting a document, a display unit for displaying the input document, and reading candidates and candidates for different character types such as Roman, Kanji, Katakana, and foreign languages. A plurality of dictionaries that are stored in association with each other, a conversion processing unit that converts the reading notation for each clause of the document into candidates of different character types using the dictionaries and stores the candidates in the document information storage unit, A calculation unit for calculating a conversion rate of each candidate converted for each dictionary and a mixture ratio of character types based on the conversion ratio; and a display unit for generating a bar of a fixed length for designating the mixture ratio of character types. A bar generation unit to be displayed at the end of the screen, a specification unit to specify the mixing ratio of the character types included in the document by the length from the starting point of the bar, and a change to the document including the character type of the specified mixing ratio And a document processing unit for displaying on the display unit. It is a document processing apparatus.

【0010】なお、本発明において、入力部、指定部
は、キーボード、マウス、ペン・タブレットなどの入力
装置で構成することができる。表示部はLCD(液晶デ
ィスプレイ)、プラズマディスプレイなどで表示装置で
構成することができる。辞書、文書情報記憶部、変換処
理部、算出部、バー生成部、文書処理部は、CPU、R
OM、RAM、I/Oポートからなるコンピュータで構
成してもよい。各辞書は、この中のROM、または外部
記憶媒体のフロッピィーディスク、ハードディスクなど
で構成することができる。文書情報記憶部は、この中の
RAMで構成することができる。
In the present invention, the input unit and the designation unit can be constituted by input devices such as a keyboard, a mouse, a pen and a tablet. The display unit can be configured with a display device such as an LCD (Liquid Crystal Display), a plasma display, or the like. The dictionary, the document information storage unit, the conversion processing unit, the calculation unit, the bar generation unit, and the document processing unit are CPU, R
The computer may be configured by an OM, a RAM, and an I / O port. Each dictionary can be constituted by a ROM therein or a floppy disk or hard disk of an external storage medium. The document information storage unit can be constituted by the RAM therein.

【0011】本発明によれば、漢字、ローマ字、カタカ
ナ、外国語などの異なる字種の辞書を用いて、予め入力
された文書を指定された混在率の字種が含む文書に変更
できる。
According to the present invention, using a dictionary of different character types such as kanji, romaji, katakana, and a foreign language, a previously input document can be changed to a document containing a character type having a specified mixture rate.

【0012】前記変換処理部が参照する字種別の辞書と
その使用順序をそれぞれ選択するための選択画面を表示
する表示処理部と、前記選択画面により辞書の種類と使
用順序を選択する辞書選択部と、前記辞書選択部により
選択された各辞書の種類と使用順序を記憶する選択情報
記憶部とをさらに備えた構成にしてもよい。なお、表示
処理部、選択情報記憶部はコンピュータで構成し、選択
情報記憶部は、RAMで構成することができる。また、
辞書選択部は、キーボード、ペン・タブレットで構成す
ることができる。前記構成によれば、予め入力された文
書の表現を目的別に変更する各種字種の辞書を画面に表
示して選択することができ、選択した辞書を記憶して目
的別の文書に変更にすることができる。
A display processing unit for displaying a selection screen for selecting a dictionary of a character type referred to by the conversion processing unit and a use order thereof, and a dictionary selection unit for selecting a dictionary type and a use order on the selection screen. And a selection information storage unit for storing the type and use order of each dictionary selected by the dictionary selection unit. The display processing unit and the selection information storage unit can be configured by a computer, and the selection information storage unit can be configured by a RAM. Also,
The dictionary selection unit can be composed of a keyboard, a pen and a tablet. According to the above configuration, a dictionary of various character types for changing the expression of a previously input document for each purpose can be displayed on the screen and selected, and the selected dictionary is stored and changed to a document for each purpose. be able to.

【0013】前記変換処理部は、入力された文書の各文
節ごとの読み表記に対して前記辞書選択部により選択さ
れた辞書の種類と使用順序に基づいて異なる字種の候補
に変換して文書情報記憶部に記憶し、前記算出部は、選
択された辞書別に変換された各候補の変換率とその変換
率から字種の混合率とを算出し、前記バー生成部は、字
種の混合率を指定するための一定長さのバーを生成して
前記表示部の画面端部に表示するよう構成してもよい。
前記構成によれば、予め入力された文書を選択された辞
書の種類と使用順序で目的別の文書に変更できる。
[0013] The conversion processing unit converts the reading notation of each phrase of the input document into candidates of different character types based on the dictionary type selected by the dictionary selection unit and the order of use, and converts the input document into a document. The information is stored in an information storage unit, and the calculation unit calculates a conversion rate of each candidate converted for each selected dictionary and a mixture ratio of character types from the conversion ratio. A bar of a fixed length for designating the rate may be generated and displayed at the screen edge of the display unit.
According to the above configuration, a previously input document can be changed into a document for each purpose in accordance with the type of the selected dictionary and the order of use.

【0014】前記算出部が、辞書別に変換された各候補
の変換率とその変換率から字種の混合率とを算出するた
めの辞書間の変換優先度を記憶した変換優先度テーブル
をさらに備えた構成にしてもよい。なお、変換優先度テ
ーブルは、ROM、または外部記憶媒体のフロッピィー
ディスク、ハードディスクなどで構成することができ
る。前記構成によれば、候補の変換率、文書の字種の混
在率が短時間で算出されるので、指定した混在率の字種
の変更も短時間で行われる。
[0014] The calculating unit may further include a conversion priority table storing conversion rates between the dictionaries for calculating a conversion rate of each candidate converted for each dictionary and a mixture rate of character types from the conversion rates. May be adopted. The conversion priority table can be constituted by a ROM or a floppy disk or a hard disk as an external storage medium. According to the above configuration, the conversion rate of the candidate and the mixing rate of the character type of the document are calculated in a short time, so that the change of the character type of the specified mixing rate is also performed in a short time.

【0015】前記バー生成部は、前記バー上に文書に含
まれる候補の字種の混在率を指定するためのマークを生
成して前記表示部の画面端部に表示する構成にしてもよ
い。前記構成によれば、混在率をマークにより随時して
してその混在率の字種の候補を文書情報記憶部から読み
出して文書の字種を変更して表示部に表示することがで
きる。
[0015] The bar generation unit may be configured to generate a mark on the bar for designating a mixture rate of character types of candidates included in a document, and display the mark at an end of a screen of the display unit. According to the above configuration, it is possible to read the candidate of the character type of the mixing ratio from the document information storage unit, change the character type of the document, and display it on the display unit at any time by using the mark.

【0016】本発明の別の観点によれば、文書を入力部
により入力し、入力された文書を表示部に表示し、読み
表記とローマ字、漢字、カタカナ、外国語などの異なる
字種の候補を対応させて複数の辞書に記憶し、前記文書
の各文節ごとの読み表記に対して前記各辞書を用いて異
なる字種の候補に変換して文書情報記憶部に記憶し、辞
書別に変換された各候補の変換率とその変換率から字種
の混合率とを算出し、字種の混合率を指定するための一
定長さのバーを生成して前記表示部の画面端部に表示
し、前記バーの始点からの長さにより文書に含まれる字
種の混在率を指定部により指定し、指定された混在率の
字種が含む文書に変更して前記表示部に表示することを
特徴とする文書処理方法が提供される。
According to another aspect of the present invention, a document is input by an input unit, the input document is displayed on a display unit, and the reading notation and candidates of different character types such as Roman characters, kanji, katakana, and foreign languages are used. Are stored in a plurality of dictionaries in correspondence with each other, and the reading notation for each clause of the document is converted into a candidate of a different character type by using each of the dictionaries, stored in the document information storage unit, and converted for each dictionary. The conversion rate of each candidate and the mixture rate of the character type are calculated from the conversion rate, and a bar of a fixed length for designating the mixture rate of the character type is generated and displayed at the end of the screen of the display unit. The designating unit specifies the mixing ratio of the character types included in the document based on the length from the starting point of the bar, and changes the document to a document containing the character type with the specified mixing ratio and displays the document on the display unit. Is provided.

【0017】さらに、本発明の別の観点によれば、文書
を入力する入力部と、入力された文書を表示する表示部
とを備えた文書処理装置をコンピュータによって制御す
るためのプログラムを記憶した媒体であって、読み表記
とローマ字、漢字、カタカナ、外国語などの異なる字種
の候補を対応させて複数の辞書に記憶させ、前記コンピ
ュータに、前記文書の各文節ごとの読み表記に対して前
記各辞書を用いて異なる字種の候補に変換して文書情報
記憶部に記憶させ、辞書別に変換された各候補の変換率
とその変換率から字種の混合率とを算出させ、字種の混
合率を指定するための一定長さのバーを生成して前記表
示部の画面端部に表示させ、前記バーの始点からの長さ
により文書に含まれる字種の混在率を指定部により指定
させ、指定された混在率の字種が含む文書に変更して前
記表示部に表示させる文書処理装置制御プログラムを記
憶した媒体が提供される。
According to another aspect of the present invention, there is stored a program for controlling a document processing apparatus provided with an input unit for inputting a document and a display unit for displaying the input document by a computer. A medium, and stores in a plurality of dictionaries the reading notation and romaji, kanji, katakana, and different character types such as foreign languages in association with each other. Using each of the dictionaries, convert to a different character type candidate and store it in the document information storage unit, calculate the conversion rate of each candidate converted for each dictionary and the mixture rate of character types from the conversion rate, A bar of a fixed length for designating the mixing ratio of the bar is generated and displayed at the end of the screen of the display unit, and the mixing ratio of the character types included in the document by the length from the starting point of the bar is specified by the specifying unit. Let me specify Medium storing a document processing apparatus control program to change the document character type of resident rate includes is displayed on the display unit is provided.

【0018】例えば、前記記憶媒体に記憶された制御プ
ログラム、漢字、ローマ字、カタカナ、外国語などの異
なる字種の変更辞書のデータをコンピュータのRAMに
インストールすることによって、予め入力された文書を
指定された混在率の字種が含む文書に変更できる文書処
理装置を構成することができる。
For example, by installing a control program stored in the storage medium and data of a change dictionary of different character types such as kanji, romaji, katakana, and a foreign language into a RAM of a computer, a document input in advance is designated. It is possible to configure a document processing apparatus that can change to a document that includes the character type having the mixed ratio.

【0019】[0019]

【発明の実施の形態】以下、図に示す実施例に基づいて
本発明を詳述する。なお、本発明は、これによって限定
されるものではない。図1は本発明の文書処理装置のハ
ード構成を示すブロック図である。101は文字を入力
するキーボードを示し、入力部として機能する。102
は全体を制御するコンピュータのCPUを示し、変換処
理部、算出部、バー生成部、文書処理部、表示処理部と
して機能する。103は座標入力を行うマウス、ペン・
タブレットなどの座標入力部を示し、指定部、辞書選択
部として機能する。104は本発明の文書処理装置を制
御するプログラム、各種辞書データを記憶するROMを
示し、複数の字種別辞書、変換優先度テーブルとして機
能する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, the present invention will be described in detail based on an embodiment shown in the drawings. Note that the present invention is not limited by this. FIG. 1 is a block diagram showing a hardware configuration of the document processing apparatus of the present invention. Reference numeral 101 denotes a keyboard for inputting characters, which functions as an input unit. 102
Denotes a CPU of a computer that controls the whole, and functions as a conversion processing unit, a calculation unit, a bar generation unit, a document processing unit, and a display processing unit. 103 is a mouse and a pen for inputting coordinates.
Indicates a coordinate input unit such as a tablet, and functions as a designation unit and a dictionary selection unit. A ROM 104 stores a program for controlling the document processing apparatus of the present invention and various dictionary data, and functions as a plurality of character type dictionaries and a conversion priority table.

【0020】105は入力した文書データ、選択デー
タ、プログラム実行時のデータを記憶するRAMを示
し、文書情報記憶部、選択情報記憶部として機能する。
106はサーマルプリンタ、レーザプリンタなどで構成
される印刷部を示し、入力した文書、目的別に字種を変
更した文書を印刷する。107はLCD(液晶ディスプ
レイ)、プラズマディスプレイなどで構成される表示部
を示し、入力した文書、変換辞書の選択する画面、字種
の混在率を指定する画面、指定した混在率の字種が含む
文書などを表示する。
Reference numeral 105 denotes a RAM for storing input document data, selection data, and data at the time of executing a program, and functions as a document information storage unit and a selection information storage unit.
Reference numeral 106 denotes a printing unit including a thermal printer, a laser printer, or the like, which prints an input document or a document whose character type has been changed for each purpose. Reference numeral 107 denotes a display unit including an LCD (liquid crystal display), a plasma display, and the like. The display unit 107 includes an input document, a screen for selecting a conversion dictionary, a screen for specifying a mixed ratio of character types, and a character type having the specified mixed ratio. Display documents and so on.

【0021】108はEEPROM、フロッピィーディ
スク、ハードディスク、CD−ROM、MDなどからな
る外部記憶媒体を示し、本発明の文書処理装置を制御す
るプログラム、各種辞書データを記憶している。109
は外部記憶媒体108に記憶された各種データを読み取
る媒体読取部を示す。110は通信回線と接続する通信
部を示し、ネットワークに接続された外部情報端末とデ
ータ通信する。111はCPU102及び各部のアドレ
ス、データを転送するバスを示す。
Reference numeral 108 denotes an external storage medium such as an EEPROM, a floppy disk, a hard disk, a CD-ROM, or an MD, which stores a program for controlling the document processing apparatus of the present invention and various dictionary data. 109
Denotes a medium reading unit that reads various data stored in the external storage medium 108. Reference numeral 110 denotes a communication unit connected to a communication line, and performs data communication with an external information terminal connected to a network. Reference numeral 111 denotes a bus for transferring addresses and data of the CPU 102 and each unit.

【0022】外部記憶媒体108は、前記コンピュータ
102に、読み表記とローマ字、漢字、カタカナ、外国
語などの異なる字種の表記を対応させて複数の辞書(R
AM105の領域)に記憶させ、前記文書の各文節ごと
の読み表記に対して前記各辞書を用いて異なる字種の候
補に変換して文書情報記憶部(RAM105の領域)に
記憶させ、辞書別に変換された各候補の変換率とその変
換率から字種の混合率とを算出させ、字種の混合率を指
定するための一定長さのバーを生成して前記表示部10
7の画面端部に表示させ、前記バーの始点からの長さに
より文書に含まれる字種の混在率を指定部103により
指定させ、指定された混在率の字種が含む文書に変更し
て前記表示部107に表示させる文書処理装置制御プロ
グラムを記憶している。
The external storage medium 108 stores a plurality of dictionaries (R) in which the computer 102 associates reading notations with notations of different character types such as Roman characters, kanji, katakana, and foreign languages.
AM 105 area), the reading notation for each clause of the document is converted into a candidate of a different character type by using each dictionary, and stored in the document information storage unit (RAM 105 area). The conversion rate of each converted candidate and the mixture rate of the character type are calculated from the conversion rate, and a bar of a fixed length for designating the mixture rate of the character type is generated to display the display unit 10.
7 is displayed at the end of the screen, and the mixing ratio of the character types included in the document is specified by the specification unit 103 based on the length from the starting point of the bar, and the document is changed to the document including the character type of the specified mixing ratio. A document processing device control program to be displayed on the display unit 107 is stored.

【0023】外部記憶媒体108から、本発明の文書処
理装置を制御するプログラム、各種辞書データを読み取
り、RAM105にインストールすることにより、予め
入力された文書を指定された混在率の字種が含む文書に
変更できる文書処理装置を構成することができる。
A program for controlling the document processing apparatus of the present invention and various dictionary data are read from the external storage medium 108 and installed in the RAM 105 to convert a previously input document into a document containing a character type having a specified mixing ratio. A document processing apparatus that can be changed to the above can be configured.

【0024】図2は本発明の文書処理装置の機能部を示
すブロック図である。図2において、201は辞書選択
部、202は辞書選択情報記憶部(選択情報記憶部)、
203は入力処理部、204は変換処理部、205は種
類別辞書、206は文書バッファ(文書情報記憶部)を
示す。207は重み設定処理部(算出部)、208は重
み設定辞書(変換優先度テーブル)、209は文書処理
部、210は基準値指定部(指定部)を示す。211は
目的別辞書設定テーブルを示す。辞書選択部201は、
図3で示す辞書選択画面で選択された辞書の種類と使用
順位を辞書選択情報記憶部202に記憶する。
FIG. 2 is a block diagram showing functional units of the document processing apparatus of the present invention. In FIG. 2, 201 is a dictionary selection unit, 202 is a dictionary selection information storage unit (selection information storage unit),
Reference numeral 203 denotes an input processing unit, 204 denotes a conversion processing unit, 205 denotes a dictionary for each type, and 206 denotes a document buffer (document information storage unit). Reference numeral 207 denotes a weight setting processing unit (calculation unit), 208 denotes a weight setting dictionary (conversion priority table), 209 denotes a document processing unit, and 210 denotes a reference value designating unit (designating unit). Reference numeral 211 denotes a purpose-specific dictionary setting table. The dictionary selection unit 201
The dictionary type and use order selected on the dictionary selection screen shown in FIG. 3 are stored in the dictionary selection information storage unit 202.

【0025】図3は本実施例による辞書選択画面を示す
図である。図3において、301は現在使用できる辞書
の種類リストを示す。本実施例で文書処理に用いられる
辞書の種類としては、常用漢字辞書、常用外漢字辞書、
カタカナ(外来語)辞書、ローマ辞書、かな辞書などが
ROM104に記憶され、それぞれの辞書には種類別に
候補が記憶されている。
FIG. 3 is a view showing a dictionary selection screen according to this embodiment. In FIG. 3, reference numeral 301 denotes a dictionary type list that can be currently used. The types of dictionaries used for document processing in this embodiment include a common kanji dictionary, a non-common kanji dictionary,
A katakana (foreign language) dictionary, a Roman dictionary, a kana dictionary, and the like are stored in the ROM 104, and each dictionary stores candidates for each type.

【0026】302はリスト301の中から選択された
辞書の順番リストを示す。この表示例では、ローマ字辞
書とかな辞書と常用漢字辞書を選択した状態を示してい
る。リスト302に新しく辞書を追加したり削除すると
きは、ボタン303及び304を操作する。この操作
は、座標入力部103のマウスやペンで、表示一体型タ
ブレットに対して303、304のボタン領域を指示す
ることによって行われる。右向き矢印のボタン303
は、リスト301中の辞書のうち、カーソル307で選
択された辞書をリスト302に追加する。左向き矢印の
ボタン304は、リスト302中のカーソル308で選
択された辞書を削除する。
Reference numeral 302 denotes an ordered list of dictionaries selected from the list 301. This display example shows a state in which a Roman dictionary, a kana dictionary, and a common kanji dictionary are selected. To add or delete a new dictionary from the list 302, the user operates buttons 303 and 304. This operation is performed by pointing the button areas 303 and 304 to the display-integrated tablet with the mouse or pen of the coordinate input unit 103. Right arrow button 303
Adds the dictionary selected by the cursor 307 among the dictionaries in the list 301 to the list 302. The left arrow button 304 deletes the dictionary selected by the cursor 308 in the list 302.

【0027】リスト302の中の辞書の順位を入れ換え
るには、ボタン305及び306のを操作する。上向き
矢印のボタン305は、リスト302の中の選択された
辞書の順位を一つ上げ、本来その順位にあった辞書の順
位を一つ下げて、順位の入れ換えをする。逆に、下向き
矢印のボタン306は、選択された辞書の順位を一つ下
げ、一つ下の順位の辞書の順位を上げて、順位を入れ換
える。
To change the order of the dictionaries in the list 302, the buttons 305 and 306 are operated. An upward arrow button 305 raises the rank of the selected dictionary in the list 302 by one, lowers the rank of the dictionary originally in that rank by one, and changes the rank. Conversely, a button 306 with a downward arrow lowers the rank of the selected dictionary by one, raises the rank of the dictionary one rank lower, and swaps the rank.

【0028】図4は本実施例による目的別辞書設定画面
を示す図である。図4により目的別辞書設定について説
明する。図3の辞書選択画面において、設定/保存のボ
タン309が押されると、辞書選択部201は、図4の
リスト402に示す、現在選択されている辞書と、辞書
の使用順序の設定を目的別辞書設定テーブル211に追
加する。フィールド401に入力された文字列は、目的
別辞書を識別するための名前として保存される。この名
前には、図6に示すように、文書用途「外国人向け」と
いった、文書の読み手や目的を簡潔に記述することがで
き、目的別辞書設定時の名前の設定を実現する。
FIG. 4 is a diagram showing a dictionary setting screen for each purpose according to this embodiment. The purpose-specific dictionary setting will be described with reference to FIG. When the setting / save button 309 is pressed on the dictionary selection screen of FIG. 3, the dictionary selection unit 201 sets the currently selected dictionaries and the use order of the dictionaries shown in the list 402 of FIG. It is added to the dictionary setting table 211. The character string entered in the field 401 is stored as a name for identifying a purpose-specific dictionary. In this name, as shown in FIG. 6, the reader and purpose of the document, such as "for foreigners", can be described in a simple manner, and the name can be set when setting a dictionary for each purpose.

【0029】本実施例では、文書作成中の任意の時点で
の目的別辞書の変更機能を実現している。辞書選択部2
01は、予め決められたキーが押されたとき、またはメ
ニューが選択されたときに起動する。文書作成者は、作
成中の文書の任意の場所から、目的別辞書を変更でき
る。ここでは、主に日本語が得意でない外国人向けに、
ローマ字、ひらがな、常用漢字を含む文書を作成する。
本実施例では、リスト302において、1=ローマ字、
2=かな、3=常用漢字と設定を行う。
In this embodiment, the function of changing the dictionary according to purpose at any time during the document creation is realized. Dictionary selection unit 2
01 is activated when a predetermined key is pressed or when a menu is selected. The document creator can change the purpose dictionary from any place of the document being created. Here, mainly for foreigners who are not good at Japanese,
Create a document that contains Roman characters, Hiragana, and Kanji characters.
In this embodiment, in the list 302, 1 = Roman alphabet,
2 = Kana, 3 = Common Kanji.

【0030】図5は本実施例による目的別辞書設定テー
ブルの構成を示す図である。図5に示すように、目的別
辞書設定テーブル211は、文書用途と対応する辞書の
設定情報が対になっている。辞書選択部201は、文書
用途をキーワードとして目的別辞書設定テーブル211
を検索し、マッチした辞書設定情報を現在の辞書選択情
報記憶部202に記憶する。
FIG. 5 is a diagram showing the configuration of a purpose-specific dictionary setting table according to this embodiment. As shown in FIG. 5, the purpose-specific dictionary setting table 211 is a pair of dictionary setting information corresponding to a document use. The dictionary selecting unit 201 uses the document purpose as a keyword and sets a dictionary setting table 211 for each purpose.
And stores the matched dictionary setting information in the current dictionary selection information storage unit 202.

【0031】これにより、図3の辞書選択画面で辞書を
個別に選択したときと同様に、辞書設定情報が辞書選択
情報記憶部202に記憶される。修正のボタン602が
押されると、現在選択された文書用途に対応した設定
で、図3の辞書選択画面が呼び出され、現在の項目の修
正を行うことができる。
As a result, the dictionary setting information is stored in the dictionary selection information storage unit 202 in the same manner as when the dictionaries are individually selected on the dictionary selection screen of FIG. When the correction button 602 is pressed, the dictionary selection screen shown in FIG. 3 is called with settings corresponding to the currently selected document purpose, and the current item can be corrected.

【0032】図6は本実施例による文書用途選択画面を
示す図である。図3の辞書選択画面において、目的別の
ボタン310を操作することににより、リスト601が
表示され、修正のボタン602により文書用途をリスト
601から選択することができる。デフォルトとして予
め設定された文書用途、または選択された文書用途に対
応する辞書グループが用意される。
FIG. 6 is a view showing a document use selection screen according to this embodiment. By operating the purpose-specific button 310 on the dictionary selection screen in FIG. 3, a list 601 is displayed, and a document use can be selected from the list 601 by using the correction button 602. A dictionary group corresponding to a document usage preset as a default or a selected document usage is prepared.

【0033】リスト601から、文書用途が選択される
と、辞書選択部201は、それぞれの用途に対応した辞
書の種類と使用順序が予め設定された目的別辞書設定テ
ーブル211を参照する。
When a document use is selected from the list 601, the dictionary selection unit 201 refers to a purpose-specific dictionary setting table 211 in which the types and use order of dictionaries corresponding to each use are set in advance.

【0034】図7は本実施例による辞書の使用順位設定
を示す図である。図7で示すように、辞書選択情報記憶
部202は、選択された辞書とその選択順序を記憶す
る。辞書の使用順位は、この画面に文書内容を表示する
際に参照される。図7で示す表示内容は「ローマ字→か
な→常用漢字」の順に切り替わって行き、結果として、
この文書はローマ字による表記から、難易度の低い常用
漢字の表記間で、順に変換結果が切り替わる。
FIG. 7 is a diagram showing the setting of the use order of the dictionary according to the present embodiment. As shown in FIG. 7, the dictionary selection information storage unit 202 stores the selected dictionaries and their selection order. The use order of the dictionary is referred to when displaying the document content on this screen. The display contents shown in FIG. 7 are switched in the order of “Roman alphabet → Kana → Joyokanji”, and as a result,
In this document, the conversion result is switched in order from the notation of Roman characters to the notation of common kanji with low difficulty.

【0035】図8は本実施例による入力文字列の変換処
理の手順を示すフローチャートである。図8のフローチ
ャートにより、文字列の入力から、変換処理部による変
換結果の出力までを説明する。変換されるべき文字列が
入力処理部203に入力されると(S110)、変換が
必要か否かがチェックされる(S120)。変換処理が
必要なら、変換処理部204は、文書バッファ206中
の終了マークの後ろに開始マークを出力し(S13
0)、以降、変換結果とその重み情報(辞書間の変換
率)を順次出力していく(図11参照)。
FIG. 8 is a flowchart showing the procedure of the input character string conversion processing according to this embodiment. A process from input of a character string to output of a conversion result by the conversion processing unit will be described with reference to the flowchart of FIG. When a character string to be converted is input to the input processing unit 203 (S110), it is checked whether conversion is necessary (S120). If conversion processing is necessary, the conversion processing unit 204 outputs a start mark after the end mark in the document buffer 206 (S13).
0) Thereafter, the conversion result and its weight information (conversion rate between dictionaries) are sequentially output (see FIG. 11).

【0036】変換処理部204は、種類別辞書205の
内から、辞書選択情報記憶部202に記憶された辞書を
選択し(S140)、入力された文字列をキーワード
(入力単語の読み表記)として、各辞書205を検索す
る。検索の結果マッチしたキーワードに対応する変換結
果は、全て変換候補として、表示が面の一部の領域に図
9のように表示される。
The conversion processing unit 204 selects a dictionary stored in the dictionary selection information storage unit 202 from among the type-specific dictionaries 205 (S140), and uses the input character string as a keyword (reading notation of an input word). , Each dictionary 205 is searched. The conversion results corresponding to the keyword matched as a result of the search are all displayed as conversion candidates in a partial area of the surface as shown in FIG.

【0037】図9は本実施例による変換結果による全候
補の一例を示す図である。図9に示すように、一つの辞
書中に、同一のキーワードに対応する複数の変換結果が
存在する場合は、複数の全ての候補が表示される。この
例では、「nihongo」というキーワードに対して、常用
漢字辞書での変換結果が2通りあったことを示してい
る。
FIG. 9 is a diagram showing an example of all candidates based on the conversion result according to the present embodiment. As shown in FIG. 9, when there are a plurality of conversion results corresponding to the same keyword in one dictionary, all the plurality of candidates are displayed. This example shows that there are two conversion results for the keyword “nihongo” in the common kanji dictionary.

【0038】図9の例では、辞書選択情報記憶部202
は、図7に示す辞書の使用順位で候補を記憶し、図9に
示す候補は、それぞれ、ローマ字辞書、かな辞書、漢字
辞書で変換されており、候補表示における順位は、辞書
間の順位の関係を反映している。それぞれの辞書毎の変
換結果は、文書バッファ206に記憶する(S15
0)。このとき、先に辞書選択情報記憶部202に記憶
された辞書の使用順位が参照され、それぞれの辞書の変
換結果は設定された順序に従って、文書バッファ206
に記憶される。
In the example of FIG. 9, the dictionary selection information storage unit 202
Stores the candidates in the order of use of the dictionary shown in FIG. 7, and the candidates shown in FIG. 9 are converted into a Roman dictionary, a kana dictionary, and a kanji dictionary, respectively. Reflects the relationship. The conversion result for each dictionary is stored in the document buffer 206 (S15).
0). At this time, the use order of the dictionaries previously stored in the dictionary selection information storage unit 202 is referred to, and the conversion result of each dictionary is stored in the document buffer 206 according to the set order.
Is stored.

【0039】変換処理時、重み設定処理部207は、変
換される文字列をキーワードとして重み設定辞書208
を検索する(S160)。重み設定辞書208の内部
は、文字列とその文字列を変換する際に用いられる辞書
の変換優先度のテーブルとして記憶されている。この例
の場合では、重み設定辞書には、図10で示す値が、予
め記憶されている。図10は本実施例による重み設定辞
書の内容を示す図である。図11は本実施例による文書
バッファの構造を示す図である。
At the time of the conversion process, the weight setting processing unit 207 uses the character string to be converted as a keyword as the weight setting dictionary 208
Is searched (S160). The inside of the weight setting dictionary 208 is stored as a table of character strings and the conversion priority of the dictionary used when converting the character strings. In the case of this example, the values shown in FIG. 10 are stored in the weight setting dictionary in advance. FIG. 10 is a diagram showing the contents of the weight setting dictionary according to the present embodiment. FIG. 11 is a diagram showing the structure of the document buffer according to this embodiment.

【0040】重み設定処理部207は、辞書間において
検索にマッチする仮名と対になった重み情報(辞書間の
変換率)を算出し、変換結果に関連づけて文書バッファ
206に記憶する(図11参照)。この数値は、0から
100の間を取り、変換結果の重みの合計の中で、対応
する変換結果の重みが占める割合を正規化した値が設定
される。
The weight setting processing unit 207 calculates weight information (conversion rate between dictionaries) paired with a pseudonym matching the search in the dictionaries, and stores the weight information in the document buffer 206 in association with the conversion results (FIG. 11). reference). This numerical value ranges from 0 to 100, and is set to a value obtained by normalizing the ratio of the weight of the corresponding conversion result to the total of the weights of the conversion result.

【0041】図12は本実施例による変換結果の重み計
算方法を示す図である。図12において、辞書選択情報
記憶部202の設定をもとに、対象の重みを、選択され
た全ての辞書の重みの合計で割った値を100倍して、
同一単語中の重みの合計が常に100となるよう、補正
値が加算される。
FIG. 12 is a diagram showing a method of calculating the weight of the conversion result according to this embodiment. In FIG. 12, based on the setting of the dictionary selection information storage unit 202, the value obtained by dividing the target weight by the sum of the weights of all the selected dictionaries is multiplied by 100,
The correction value is added so that the sum of the weights in the same word is always 100.

【0042】次に、重み情報が文書バッファ206に出
力され、辞書選択情報記憶部202に記憶された辞書全
ての変換処理が終了したか否かのチェックを行う(S1
70)。以下、辞書選択部で選択された辞書の数だけ変
換結果とその重み情報が記憶される。 全ての変換結果
と重み情報が記憶されると、終了を表すマークが文書バ
ッファ206に出力される(S180)。このときの文
書バッファ206の記憶内容を図13に示す。図13は
本実施例による文書バッファの記憶内容を示す図であ
る。
Next, the weight information is output to the document buffer 206, and it is checked whether the conversion processing of all the dictionaries stored in the dictionary selection information storage unit 202 has been completed (S1).
70). Hereinafter, conversion results and their weight information are stored for the number of dictionaries selected by the dictionary selection unit. When all the conversion results and the weight information are stored, a mark indicating the end is output to the document buffer 206 (S180). FIG. 13 shows the contents stored in the document buffer 206 at this time. FIG. 13 is a diagram showing the contents stored in the document buffer according to this embodiment.

【0043】文書処理部209は、文書バッファ206
に記憶された重み情報と辞書の順序情報から、それぞれ
の単語中の変換結果の変換優先範囲を設定する(図14
参照)。範囲の値は、0から100の間を取る整数で、
それぞれの変換結果ごとに、下限値と上限値を記憶す
る。
The document processing unit 209 includes a document buffer 206
The conversion priority range of the conversion result in each word is set from the weight information and the dictionary order information stored in FIG.
reference). The range value is an integer between 0 and 100,
A lower limit and an upper limit are stored for each conversion result.

【0044】図14は本実施例による変換優先範囲値の
設定処理手順を示すフローチャートである。図14にお
いて、まず、単語開始マークをもとに、単語ごとの変換
結果と重み情報を取り出す(S200)。最初の変換結
果の変換優先範囲値は0となる(S210)。次に、ス
テップS200で取得した条件数値のうち、n番目の変
換結果の重み値を取得する(S220)。
FIG. 14 is a flowchart showing a procedure for setting a conversion priority range value according to this embodiment. In FIG. 14, first, a conversion result and weight information for each word are extracted based on the word start mark (S200). The conversion priority range value of the first conversion result is 0 (S210). Next, the weight value of the n-th conversion result among the condition values acquired in step S200 is acquired (S220).

【0045】現在の下限値にS220で取得した重み値
を加えた数値を変換優先範囲値の上限としてセットする
(S230)。図11に示す終了マークをチェックし、
全ての変換結果の処理が終了したかチェックする(S2
40)。未処理の変換結果が無ければ、設定を終了す
る。未処理の変換結果がある場合は、カウンタnに1を
加えてS260へ進む(S250)。S230でセット
された、変換結果n−1の表示範囲の上限値を変換結果
nの下限値にセットし、S220へ進む(S260)。
A numerical value obtained by adding the weight value acquired in S220 to the current lower limit value is set as the upper limit of the conversion priority range value (S230). Check the end mark shown in FIG.
It is checked whether processing of all conversion results has been completed (S2
40). If there is no unprocessed conversion result, the setting ends. If there is an unprocessed conversion result, 1 is added to the counter n and the process proceeds to S260 (S250). The upper limit of the display range of the conversion result n-1 set in S230 is set to the lower limit of the conversion result n, and the process proceeds to S220 (S260).

【0046】図15は本実施例による文書バッファに記
憶された単語ごとの重み情報を変換優先範囲情報に変換
した結果を示す図である。文書処理部209は、文書バ
ッファ206に0から100の値を取る変換優先範囲を
保持する。この変換優先範囲値は、文書を作成する際の
異なる字種の混在率を示している。
FIG. 15 is a diagram showing a result of converting the weight information for each word stored in the document buffer into the conversion priority range information according to the present embodiment. The document processing unit 209 holds a conversion priority range that takes a value from 0 to 100 in the document buffer 206. This conversion priority range value indicates the mixing ratio of different character types when creating a document.

【0047】図16は本実施例による文書処理の手順を
示すフローチャートである。文書表示の際に、基準値
(指定混在率)を参照し、基準値指定部210により基
準値が変更されると、文書処理部は、S200〜S26
0のステップで設定した変換優先範囲値と基準値の比較
を行う。
FIG. 16 is a flowchart showing the procedure of document processing according to this embodiment. When the document is displayed, the reference value (designated mixture rate) is referred to, and when the reference value is changed by the reference value designating unit 210, the document processing unit proceeds to S200 to S26.
The conversion priority range value set in step 0 is compared with the reference value.

【0048】まず単語iの変換優先範囲情報を取得する
(S300)。この条件数値は一つの単語に対する複数
の変換結果の数値全てを含む。S300で取得した変換
優先範囲情報のうち、変換結果jの範囲情報を取得する
(S310)。変換優先範囲情報の上限値と現在の基準
値を比較する(S320)。上限値の方が小さい場合
は、カウンタjに1を加えて、S310に戻る。変換結
果jを選択し、表示または印刷が行われる(S33
0)。単語jが文書バッファ206の最後の単語かチェ
ックし、最後でなければ、カウンタiに1を加えてS3
00に戻る(S340)。
First, the conversion priority range information of the word i is obtained (S300). This condition numerical value includes all numerical values of a plurality of conversion results for one word. The range information of the conversion result j is obtained from the conversion priority range information obtained in S300 (S310). The upper limit value of the conversion priority range information is compared with the current reference value (S320). If the upper limit is smaller, 1 is added to the counter j, and the process returns to S310. The conversion result j is selected and displayed or printed (S33).
0). It is checked whether the word j is the last word in the document buffer 206, and if not, 1 is added to the counter i and S3
Return to 00 (S340).

【0049】図17は本実施例による基準値と選択され
る処理内容の関係を示す図である。図17は、基準値
(指定混在率)が40の場合、文書バッファ206のそ
れぞれの単語ごとの重みから、処理内容が選択される例
を示す。縦の線が基準値を示し、基準値ごとに変換結果
のいずれかが選択される。選択された結果は、表示部1
07の画面に表示され、または印刷部106によって印
刷される。
FIG. 17 is a diagram showing the relationship between the reference value and the selected processing content according to this embodiment. FIG. 17 shows an example in which the processing content is selected from the weight of each word in the document buffer 206 when the reference value (designated mixture rate) is 40. A vertical line indicates a reference value, and one of the conversion results is selected for each reference value. The selected result is displayed on the display 1
07, or printed by the printing unit 106.

【0050】図18は本実施例によるマーク指定とその
文書処理例(1)を示す図である。図18において、基
準値指定部210は、バー上を移動するマーク181の
位置を数値化する。マークが左端にあるときは、基準値
(指定混在率)は0となり、マークが右端にあるとき
は、基準値は100となり、始点からの長さで指定でき
る。
FIG. 18 is a diagram showing a mark designation and its document processing example (1) according to this embodiment. In FIG. 18, the reference value designation unit 210 digitizes the position of the mark 181 moving on the bar. When the mark is at the left end, the reference value (designated mixture rate) is 0, and when the mark is at the right end, the reference value is 100, which can be specified by the length from the start point.

【0051】マークは、マウスなどの入力機器の動作に
関連して移動するカーソル、表示一体型タブレットに対
してペンによる位置指定で、画面上のマークの領域を押
下した状態で、これら入力機器を左右に移動することに
対応して左右に移動する。マークが右方に移動すること
で基準値は上昇し、左方に移動することで減少する。マ
ークの移動という直観的な入力が可能になり、同時にマ
ークの位置が、現在の基準値を視覚的に表現する。
The mark is a cursor that moves in relation to the operation of an input device such as a mouse, and the position of the display-integrated tablet is designated by a pen. Move left and right corresponding to moving left and right. The reference value increases as the mark moves to the right, and decreases as the mark moves to the left. The intuitive input of the movement of the mark becomes possible, and at the same time, the position of the mark visually represents the current reference value.

【0052】以下、異なる辞書を用いた場合の実施例を
示す。図19は本実施例によるマーク指定と文書処理例
(2)を示す図である。図19の例は、ひらがな辞書、
カタカナ辞書、常用漢字辞書、及び技術英語辞書を用い
た文書処理例である。技術英語辞書には、単に入力単語
を日本語に直すのではなく、対応する英語単語が保存さ
れている。重み設定辞書に設定される技術英語の重み値
は、ほとんどの単語で0となり、文書上で変換結果が現
れることは少ないが、特定の技術用語に関して重み値が
高くなる。これは、技術者向けの文書に適している。
An embodiment in which different dictionaries are used will be described below. FIG. 19 is a diagram showing an example of mark designation and document processing (2) according to this embodiment. The example of FIG. 19 is a hiragana dictionary,
It is a document processing example using a katakana dictionary, a common kanji dictionary, and a technical English dictionary. In the technical English dictionary, corresponding English words are stored instead of simply converting input words into Japanese. The weight value of the technical English set in the weight setting dictionary is 0 for most words, and the conversion result rarely appears on the document, but the weight value is high for a specific technical term. It is suitable for technical documents.

【0053】図20は本実施例によるマーク指定と文書
処理例(3)を示す図である。図20の例は、ひらがな
辞書、カタカナ辞書、常用漢字辞書、俗称辞書、正式
名、及び称辞書を用いた文書処理例である。地名など、
俗称で呼ばれることの多い単語を、正式名称でも表示で
きる。これは、公式な文書の作成に適している。
FIG. 20 is a diagram showing an example of mark designation and document processing (3) according to this embodiment. The example of FIG. 20 is an example of document processing using a hiragana dictionary, a katakana dictionary, a kanji dictionary, a common name dictionary, a formal name, and a name dictionary. Place names,
Words that are often called by common names can also be displayed with their official names. It is suitable for formal documentation.

【0054】図21は本実施例によるマーク指定と文書
処理例(4)を示す図である。図21の例は、ひらがな
辞書、カタカナ辞書、漢字辞書、電話番号辞書、及びメ
ールアドレス辞書を用いた例である。連絡先の表現に電
話とメールアドレスを使い分けることができ、ネットワ
ーク上で配布する文書の作成に適している。
FIG. 21 is a diagram showing an example of mark designation and document processing (4) according to this embodiment. The example of FIG. 21 is an example using a hiragana dictionary, a katakana dictionary, a kanji dictionary, a telephone number dictionary, and a mail address dictionary. The phone and email address can be used for contact information, making it suitable for creating documents to be distributed over a network.

【0055】前記構成によれば、文書作成時に、予め想
定される読み手ごとに、複数の種類別辞書を指定し、変
換処理時、それぞれの辞書を用いて漢字変換を行い、ま
た辞書毎の変換結果に重みづけを行うことで、文書表示
時に読み手に読みやすい文書を作成でき、また読み手は
自分の好みに応じて、文書中の文字の表示形態を切替え
ることが可能になる。また、ネットワーク上で文書デー
タを送信する際、単一の文書データをより多くの読み手
に読みやすく文書を変更して送信することができる。
According to the above configuration, a plurality of types of dictionaries are designated for each reader assumed in advance when a document is created, and kanji conversion is performed using each dictionary during conversion processing. By weighting the result, a document that is easy for the reader to read when displaying the document can be created, and the reader can switch the display mode of the characters in the document according to his / her preference. Further, when transmitting document data over a network, a single document data can be changed and transmitted so that it can be easily read by more readers.

【0056】ユーザは、使用する辞書の種類や、辞書の
変換結果の表示順位の組合せを自由に設定して保存でき
るので、一度作成した目的別文書作成環境を再利用する
こともできる。ユーザは、目的別辞書設定において、独
自の文書用途名が設定できるので、ユーザ専用の文書作
成環境を作ることができる。
Since the user can freely set and save the type of dictionary to be used and the combination of the display order of the conversion result of the dictionary, it is possible to reuse the purpose-specific document creation environment once created. The user can set a unique document use name in the purpose-specific dictionary setting, so that a user-specific document creation environment can be created.

【0057】[0057]

【発明の効果】本発明によれば、漢字、ローマ字、カタ
カナ、外国語などの異なる字種の変更辞書を用いて、予
め入力された文書を指定された混在率に基づいた異なる
字種を含む文書に変更できる。
According to the present invention, using a change dictionary of different character types such as kanji, romaji, katakana, and a foreign language, a pre-input document includes different character types based on a specified mixture rate. Can be changed to a document.

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

【図1】本発明の文書処理装置のハード構成を示すブロ
ック図である。
FIG. 1 is a block diagram illustrating a hardware configuration of a document processing apparatus according to the present invention.

【図2】本発明の文書処理装置の機能部を示すブロック
図である。
FIG. 2 is a block diagram illustrating functional units of the document processing apparatus according to the present invention.

【図3】本実施例による辞書選択画面を示す図である。FIG. 3 is a diagram showing a dictionary selection screen according to the embodiment.

【図4】本実施例による辞書設定画面を示す図である。FIG. 4 is a diagram showing a dictionary setting screen according to the embodiment.

【図5】本実施例による目的別辞書設定テーブルの構成
を示す図である。
FIG. 5 is a diagram showing a configuration of a purpose-specific dictionary setting table according to the embodiment.

【図6】本実施例による目的別辞書設定画面を示す図で
ある。
FIG. 6 is a diagram showing a purpose-specific dictionary setting screen according to the embodiment.

【図7】本実施例による辞書の使用順位設定を示す図で
ある。
FIG. 7 is a diagram showing the setting of the use order of the dictionary according to the embodiment.

【図8】本実施例による入力文字列の変換処理の手順を
示すフローチャートである。
FIG. 8 is a flowchart illustrating a procedure of an input character string conversion process according to the embodiment;

【図9】本実施例による変換結果による全候補の一例を
示す図である。
FIG. 9 is a diagram illustrating an example of all candidates based on a conversion result according to the embodiment;

【図10】本実施例による重み設定辞書の内容を示す図
である。
FIG. 10 is a diagram showing the contents of a weight setting dictionary according to the embodiment.

【図11】本実施例による文書バッファの構造を示す図
である。
FIG. 11 is a diagram showing a structure of a document buffer according to the embodiment.

【図12】本実施例による変換結果の重み計算方法を示
す図である。
FIG. 12 is a diagram illustrating a weight calculation method of a conversion result according to the present embodiment.

【図13】本実施例による文書バッファの記憶内容を示
す図である。
FIG. 13 is a diagram showing storage contents of a document buffer according to the embodiment.

【図14】本実施例による変換優先範囲値の設定処理手
順を示すフローチャートである。
FIG. 14 is a flowchart illustrating a procedure for setting a conversion priority range value according to the embodiment;

【図15】本実施例による文書バッファに記憶された単
語ごとの重み情報を変換優先範囲情報に変換した結果を
示す図である。
FIG. 15 is a diagram illustrating a result of converting weight information for each word stored in the document buffer into conversion priority range information according to the embodiment;

【図16】本実施例による文書処理の手順を示すフロー
チャートである。
FIG. 16 is a flowchart illustrating a document processing procedure according to the present embodiment.

【図17】本実施例による基準値と選択される表示内容
の関係を示す図である。
FIG. 17 is a diagram showing a relationship between a reference value and selected display content according to the embodiment.

【図18】本実施例によるマーク指定とその文書処理例
(1)を示す図である。
FIG. 18 is a diagram illustrating a mark designation and a document processing example (1) according to the present embodiment.

【図19】本実施例によるマーク指定とその文書処理例
(2)を示す図である。
FIG. 19 is a diagram illustrating mark designation and document processing example (2) according to the present embodiment.

【図20】本実施例によるマーク指定とその文書処理例
(3)を示す図である。
FIG. 20 is a diagram illustrating a mark designation and a document processing example (3) according to the present embodiment.

【図21】本実施例によるマーク指定とその文書処理例
(4)を示す図である。
FIG. 21 is a diagram illustrating a mark designation and a document processing example (4) according to the present embodiment.

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

101 キーボード 102 CPU 103 座標入力部 104 ROM 105 RAM 106 印刷部 107 表示部 108 外部記憶媒体 109 媒体読取部 110 通信部 111 バス 201 辞書選択部 202 辞書選択情報記憶部 203 入力処理部 204 変換処理部 205 種類別辞書 206 文書バッファ 207 重み設定処理部 208 重み設定辞書 209 文書処理部 210 基準値指定部 211 目的別辞書設定テーブル 101 keyboard 102 CPU 103 coordinate input unit 104 ROM 105 RAM 106 printing unit 107 display unit 108 external storage medium 109 medium reading unit 110 communication unit 111 bus 201 dictionary selection unit 202 dictionary selection information storage unit 203 input processing unit 204 conversion processing unit 205 Type-specific dictionary 206 Document buffer 207 Weight setting processing unit 208 Weight setting dictionary 209 Document processing unit 210 Reference value specifying unit 211 Purpose-specific dictionary setting table

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 文書を入力する入力部と、入力された文
書を表示する表示部と、読み表記とローマ字、漢字、カ
タカナ、外国語などの異なる字種の候補を対応させて記
憶した複数の辞書と、前記文書の各文節ごとの読み表記
に対して前記各辞書を用いて異なる字種の候補に変換し
て文書情報記憶部に記憶させる変換処理部と、辞書別に
変換された各候補の変換率とその変換率から字種の混合
率とを算出する算出部と、字種の混合率を指定するため
の一定長さのバーを生成して前記表示部の画面端部に表
示するバー生成部と、前記バーの始点からの長さにより
文書に含まれる字種の混在率を指定する指定部と、指定
された混在率の字種が含む文書に変更して前記表示部に
表示する文書処理部とを備えたことを特徴とする文書処
理装置。
1. An input unit for inputting a document, a display unit for displaying the input document, and a plurality of words which are stored in correspondence with reading notations and candidates for different character types such as romaji, kanji, katakana, and foreign languages. A dictionary, a conversion processing unit that converts the reading notation for each phrase of the document into candidates of different character types using the respective dictionary and stores the candidates in the document information storage unit, and a conversion processing unit for each candidate converted for each dictionary. A calculation unit for calculating a conversion rate and a character type mixing rate from the conversion rate; and a bar for generating a bar of a fixed length for designating the character type mixing rate and displaying the bar at the screen end of the display unit A generation unit, a specification unit that specifies the mixing ratio of the character types included in the document based on the length from the starting point of the bar, and a document that includes the character types with the specified mixing ratio and displays the document on the display unit A document processing apparatus comprising: a document processing unit.
【請求項2】 前記変換処理部が参照する字種別の辞書
とその使用順序をそれぞれ選択するための選択画面を表
示する表示処理部と、前記選択画面により辞書の種類と
使用順序を選択する辞書選択部と、前記辞書選択部によ
り選択された各辞書の種類と使用順序を記憶する選択情
報記憶部とをさらに備えたことを特徴とする請求項1記
載の文書処理装置。
2. A display processing section for displaying a selection screen for selecting a dictionary of character types referred to by the conversion processing section and a use order thereof, and a dictionary for selecting a dictionary type and a use order on the selection screen. 2. The document processing apparatus according to claim 1, further comprising a selection unit, and a selection information storage unit that stores a type and a use order of each dictionary selected by the dictionary selection unit.
【請求項3】 前記変換処理部は、入力された文書の各
文節ごとの読み表記に対して前記辞書選択部により選択
された辞書の種類と使用順序に基づいて異なる字種の候
補に変換して文書情報記憶部に記憶し、前記算出部は、
選択された辞書別に変換された各候補の変換率とその変
換率から字種の混合率とを算出し、前記バー生成部は、
字種の混合率を指定するための一定長さのバーを生成し
て前記表示部の画面端部に表示することを特徴とする請
求項2記載の文書処理装置。
3. The conversion processing unit converts the reading notation for each phrase of the input document into candidates of different character types based on the type of dictionary and the order of use selected by the dictionary selecting unit. Stored in the document information storage unit, and the calculation unit
Calculating the conversion rate of each candidate converted for each selected dictionary and the mixture rate of character types from the conversion rate, the bar generation unit,
3. The document processing apparatus according to claim 2, wherein a bar having a fixed length for designating a mixture ratio of character types is generated and displayed at an end of a screen of the display unit.
【請求項4】 前記算出部が、辞書別に変換された各候
補の変換率とその変換率から字種の混合率とを算出する
ための辞書間の変換優先度を記憶した変換優先度テーブ
ルをさらに備えたことを特徴とする請求項1記載の文書
処理装置。
4. A conversion priority table which stores conversion rates between dictionaries for calculating a conversion rate of each candidate converted for each dictionary and a mixing rate of character types from the conversion rates. 2. The document processing apparatus according to claim 1, further comprising:
【請求項5】 前記バー生成部は、前記バー上に文書に
含まれる候補の字種の混在率を指定するためのマークを
生成して前記表示部の画面端部に表示することを特徴と
する請求項1記載の文書処理装置。
5. The bar generating unit generates a mark for designating a mixture rate of candidate character types included in a document on the bar, and displays the mark on a screen edge of the display unit. The document processing apparatus according to claim 1, wherein
【請求項6】 文書を入力部により入力し、入力された
文書を表示部に表示し、読み表記とローマ字、漢字、カ
タカナ、外国語などの異なる字種の候補を対応させて複
数の辞書に記憶し、前記文書の各文節ごとの読み表記に
対して前記各辞書を用いて異なる字種の候補に変換して
文書情報記憶部に記憶し、辞書別に変換された各候補の
変換率とその変換率から字種の混合率とを算出し、字種
の混合率を指定するための一定長さのバーを生成して前
記表示部の画面端部に表示し、前記バーの始点からの長
さにより文書に含まれる字種の混在率を指定部により指
定し、指定された混在率の字種が含む文書に変更して前
記表示部に表示することを特徴とする文書処理方法。
6. A document is input by an input unit, the input document is displayed on a display unit, and a plurality of dictionaries are prepared by associating reading notation with candidates of different character types such as Roman characters, kanji, katakana, and foreign languages. Using the dictionaries for each phrase in the document, converting them into candidates of different character types using the dictionaries and storing them in the document information storage unit.The conversion rate of each candidate converted for each dictionary and its conversion rate Calculate the mixed ratio of the character type from the conversion rate, generate a bar of a fixed length for designating the mixed ratio of the character type, display it at the end of the screen of the display unit, and display the bar from the starting point of the bar A document processing method, wherein the mixture ratio of character types included in the document is designated by a designation unit, the document is changed to a document containing the designated character type, and displayed on the display unit.
【請求項7】 文書を入力する入力部と、入力された文
書を表示する表示部とを備えた文書処理装置をコンピュ
ータによって制御するためのプログラムを記憶した媒体
であって、前記コンピュータに、読み表記とローマ字、
漢字、カタカナ、外国語などの異なる字種の候補を対応
させて複数の辞書に記憶させ、前記文書の各文節ごとの
読み表記に対して前記各辞書を用いて異なる字種の候補
に変換して文書情報記憶部に記憶させ、辞書別に変換さ
れた各候補の変換率とその変換率から字種の混合率とを
算出させ、字種の混合率を指定するための一定長さのバ
ーを生成して前記表示部の画面端部に表示させ、前記バ
ーの始点からの長さにより文書に含まれる字種の混在率
を指定部により指定させ、指定された混在率の字種が含
む文書に変更して前記表示部に表示させる文書処理装置
制御プログラムを記憶した媒体。
7. A medium storing a program for controlling a document processing apparatus provided with an input unit for inputting a document and a display unit for displaying the input document by a computer. Notation and Roman letters,
Candidates of different character types such as kanji, katakana, and foreign languages are stored in a plurality of dictionaries in correspondence with each other, and the reading notation for each segment of the document is converted into a candidate of a different character type using each dictionary. The conversion rate of each candidate converted for each dictionary and the mixture rate of the character type are calculated from the conversion rate, and a bar of a certain length for designating the mixture rate of the character type is stored in the document information storage unit. Generate and display at the end of the screen of the display unit, specify the mixture rate of the character type included in the document by the length from the starting point of the bar by the specifying unit, the document containing the character type of the specified mixture rate And a storage medium storing a document processing device control program to be displayed on the display unit after being changed to.
JP10074099A 1998-03-23 1998-03-23 Document processor, its method and medium storing its control program Pending JPH11272657A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10074099A JPH11272657A (en) 1998-03-23 1998-03-23 Document processor, its method and medium storing its control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10074099A JPH11272657A (en) 1998-03-23 1998-03-23 Document processor, its method and medium storing its control program

Publications (1)

Publication Number Publication Date
JPH11272657A true JPH11272657A (en) 1999-10-08

Family

ID=13537412

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10074099A Pending JPH11272657A (en) 1998-03-23 1998-03-23 Document processor, its method and medium storing its control program

Country Status (1)

Country Link
JP (1) JPH11272657A (en)

Similar Documents

Publication Publication Date Title
US8199112B2 (en) Character input device
JPH1145290A (en) Document processor, storage medium storing document processing program and document processing method
JPH09245038A (en) Sentence preparation device
JPH11272657A (en) Document processor, its method and medium storing its control program
JPS62209666A (en) Word processor
JP2008217770A (en) Language data display system, language data display method, and language data display program
JP2006012188A (en) Document processing method and processor
JP2580138B2 (en) Kana-Kanji conversion attribute change processor
JPH09269943A (en) Document preparing device and kana/kanji converting method
JP2870524B2 (en) Character conversion processor
JP2878461B2 (en) Document input device
JP2761622B2 (en) Character converter
JP5338482B2 (en) Chinese sentence example search device and program
JPH0778133A (en) Document preparing device and method for outputting character pattern
JP2001043217A (en) Terminal, device and method for processing document
JPH0424759A (en) Document processor
JPH0934885A (en) Document processing unit
JPH08335217A (en) Reading converting method and document preparation device
JPH0776966B2 (en) Kana-Kanji conversion device
JPH05151194A (en) Document preparation supporting device
JPH028956A (en) Document processor
JPH06259414A (en) Method and device for outputting furikana (japanese pronunciation of chinese character) for word processor
JPH09120399A (en) Document preparing device and conversion result output control method
JPH05151199A (en) Document preparation device
JPH08320868A (en) Japanese syllabary-chinese character conversion device