JPH03212759A - Document processor - Google Patents

Document processor

Info

Publication number
JPH03212759A
JPH03212759A JP2009029A JP902990A JPH03212759A JP H03212759 A JPH03212759 A JP H03212759A JP 2009029 A JP2009029 A JP 2009029A JP 902990 A JP902990 A JP 902990A JP H03212759 A JPH03212759 A JP H03212759A
Authority
JP
Japan
Prior art keywords
character string
display
homophone
characters
character
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
JP2009029A
Other languages
Japanese (ja)
Inventor
Kazuo Aihara
相原 一雄
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox 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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP2009029A priority Critical patent/JPH03212759A/en
Publication of JPH03212759A publication Critical patent/JPH03212759A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To improve the efficiency of display processing and document processing by securing an area necessary for displaying a character string having the most characters at the time of selecting and displaying homonym candidates. CONSTITUTION:When a 'KANKI' (Chinese character) conversion instruction is applied, a character conversion control part 3 converts an already stored 'KANA' (Japanese syllabary) character string into a 'KANJI'/'KANA' mixed character string and display the converted character string on a display part 6. When a user specifies a character string to be reconverted, the control part 3 sends the maximum word length value of a homonym to a display control part 4, secures a homonym display area for displaying homophones and then displays the homonym candidates on the homonym display area.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は文書処理装置に関し、特に同音語の表示を行う
文書処理装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a document processing device, and particularly to a document processing device that displays homonyms.

〔従来の技術〕[Conventional technology]

従来の文書処理装置では、入力された仮名文字列を仮名
漢字変換方式によって漢字かな混じり文字列に変換して
、デイスプレィの文字表示領域に表示するとともに、該
表示された漢字かな混じり文字列における指定された変
換対象文字列を、該文字列に対応する同音語の文字列に
再変換して、前記文字表示領域に表示している。
Conventional document processing devices convert input kana character strings into kanji/kana mixed character strings using the kana/kanji conversion method, display the converted characters in the character display area of the display, and also specify specifications in the displayed kanji/kana mixed character strings. The character string to be converted is reconverted into a homophone character string corresponding to the character string and displayed in the character display area.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

ところで、上記従来の文書処理装置では、変換対象文字
列に対応する同音語候補を順次選択して文字表示領域に
表示する場合、表示される同音語候補の文字数に応じて
、変換対象文字列の後に続いている文字列あるいは当該
変換対象文字列を包含している行全体を書き換える処理
をしなければならず、移動処理および再表示処理に時間
がかかり、これに伴って文書作成や文書編集等の文書処
理に時間がかかるという欠点があった。
By the way, in the conventional document processing device described above, when homophone candidates corresponding to a character string to be converted are sequentially selected and displayed in the character display area, the number of homophone candidates corresponding to the character string to be converted is changed depending on the number of characters of the displayed homophone candidates. It is necessary to rewrite the following character string or the entire line that includes the conversion target character string, which takes time to move and redisplay, and this requires document creation, document editing, etc. The disadvantage is that it takes time to process documents.

本発明は上記欠点を解消し、表示処理および文書処理効
率を向上させることのできる文書処理装置を提供するこ
とを目的とする。
SUMMARY OF THE INVENTION An object of the present invention is to provide a document processing device that can eliminate the above-mentioned drawbacks and improve display processing and document processing efficiency.

〔課題を解決するための手段〕[Means to solve the problem]

本発明は、仮名漢字変換された文字列を表示領域に表示
する表示手段と、該表示された文字列における指定され
た変換対象文字列を対応する同音語に再変換する変換手
段とを有する文書処理装置において、変換対象文字列に
対応する同音語候補を前記表示領域に表示する際に、当
該同音語候補の中で最も多い文字数の文字列を表示する
のに必要な領域を前記表示領域中に確保するように構成
したものである。
The present invention provides a document having a display means for displaying a character string converted into kana-kanji in a display area, and a conversion means for re-converting a specified conversion target character string in the displayed character string into a corresponding homophone. In the processing device, when displaying a homophone candidate corresponding to a character string to be converted in the display area, an area necessary to display a character string with the largest number of characters among the homophone candidates is allocated in the display area. It is designed to ensure that

〔作用〕[Effect]

本発明の文書処理装置によれば、変換対象文字列に対応
する同音語候補を順次選択して表示領域に表示する場合
、確保された表示領域内に同音語候補が表示され、また
変換対象文字列の後に続いている文字列の移動処理及び
再表示処理は行われない。そして、同音語候補か確定さ
れた際には、変換対象文字列の後に続いている文字列は
、正常な位置に移動された状態で再表示される。
According to the document processing device of the present invention, when homophone candidates corresponding to a character string to be converted are sequentially selected and displayed in the display area, the homophone candidates are displayed within the reserved display area, and the character string to be converted is The character strings following the column are not moved or redisplayed. Then, when it is determined that the character string is a homophone candidate, the character string following the conversion target character string is moved to its normal position and redisplayed.

従って、本発明によれば、変換対象文字列の後に続いて
いる既に仮名漢字変換されている文字列の移動処理およ
び再表示処理を最小限に抑制することができる。
Therefore, according to the present invention, it is possible to minimize the movement process and redisplay process of a character string that has already been converted into kana-kanji characters and which follows a character string to be converted.

〔実施例〕〔Example〕

以下、本発明に係る文書処理装置の実施例を添付図面を
参照して説明する。
Embodiments of a document processing device according to the present invention will be described below with reference to the accompanying drawings.

第1図は本発明に係る文書処理装置の一実施例を示すブ
ロック図である。同図において、入力部1は、ひらがな
文字、カタカナ文字、英数字文字等の各種文字キーと漢
字変換キーとを備えたキーボードを有しており、読みが
なの文字列等を人力するものである。
FIG. 1 is a block diagram showing an embodiment of a document processing device according to the present invention. In the same figure, the input unit 1 has a keyboard equipped with various character keys such as hiragana characters, katakana characters, alphanumeric characters, etc., and a kanji conversion key, and is used to manually enter reading character strings, etc. .

入力制御部2は、漢字変換キーが押下されると、入力さ
れたかな文字列を文字変換制御部3及び表示制御部4に
送出する。
When the kanji conversion key is pressed, the input control unit 2 sends the input kana character string to the character conversion control unit 3 and display control unit 4.

文字変換制御部3は、入力制御部2からの文字列をユー
ザ辞書をも含んでいるかな漢字変換用辞書5を用いて対
応する漢字かな混じり文字列に変換するとともに、その
変換された漢字かな混じり文字列を表示制御部4に送出
する。このとき、仮名漢字変換された漢字かな混じり文
字列における指定された漢字変換候補文字列(以下、変
換対象文字列という)であった場合は、その同音語候補
の中で最も多い文字数(即ち、最大語長数)も合わせて
送出する。
The character conversion control unit 3 converts the character string from the input control unit 2 into a corresponding kanji-kana-mixed character string using the kana-kanji conversion dictionary 5, which also includes a user dictionary, and also converts the character string from the converted kanji-kana-mixed character string. The character string is sent to the display control section 4. At this time, if the specified kanji conversion candidate character string (hereinafter referred to as the conversion target character string) is a character string containing kanji and kana that has been converted into kana-kanji, the character string with the largest number of characters among the homophone candidates (i.e., (maximum word length) is also sent.

表示制御部4は、人力制御部2および文字変換制御部3
から送出された文字列を表示部6に表示させる。また、
表示すべき内容が、変換対象文字列の場合は、文字変換
制御部3から送出された最大語長数の文字何分だけの同
音語表示領域を確保して同音語候補の表示制御を行う。
The display control section 4 includes the human power control section 2 and the character conversion control section 3.
The character string sent from is displayed on the display section 6. Also,
If the content to be displayed is a character string to be converted, a homophone display area corresponding to the maximum word length number of characters sent from the character conversion control unit 3 is secured to control the display of homophone candidates.

表示部6は、例えばデイスプレィ等から構成され、編集
された文書や入力された読みがなの文字列、同音語候補
などの情報を表示する。
The display unit 6 is composed of, for example, a display, and displays information such as edited documents, input character strings with readings, homophone candidates, and the like.

ここで、同音語候補の中で最も多い文字数(最大語長数
)とは、変換対象文字列に対応する同音語の読みの文字
数、あるいは、ユーザ辞書などに予め登録されている読
みに対応する漢字混じり文字列の文字数のうち、値が大
きい文字数のことである。例えば、変換対象文字列が「
変換Jの場合には、対応する同音語の読みの文字数は「
へんかん」で4文字であり、またユーザ辞書に「へんか
ん」に対応して「変換対象文字列jの文字列が登録され
ていた場合には、漢字混じり文字列の文字数は「変換対
象文字列」で7文字であるので、最大語長数は7文字と
なる。
Here, the largest number of characters among the homophone candidates (maximum word length) corresponds to the number of characters in the pronunciation of the homophone corresponding to the character string to be converted, or the pronunciation registered in advance in the user dictionary, etc. It is the number of characters with a large value among the number of characters in a string containing kanji. For example, if the string to be converted is "
In the case of conversion J, the number of characters in the corresponding homophone reading is “
If the number of characters in the kanji-containing character string is 4 characters, and if the user dictionary has a character string of ``conversion target string j'' registered for ``henkan'', the number of characters in the character string containing kanji is ``conversion target character Since the word length is 7 characters, the maximum word length is 7 characters.

次に上記文書処理装置の同音語の表示処理動作を説明す
る。
Next, the homophone display processing operation of the document processing device will be explained.

いま、「車で箱を運ぶ」なる文書を入力するものと仮定
する。
Assume that you are inputting the document ``Transporting a box by car.''

ユーザは、入力部1のキーボードを操作して、第2図に
示すように、かな文字列「くるまではこをはこぶ」を入
力した後、「車で箱を運ぶ」の文字列を得ようと漢字変
換キーを押下する。
As shown in Figure 2, the user operates the keyboard of input unit 1 to input the kana character string ``Kuruma hako wo hakobu,'' and then attempts to obtain the character string ``Carry a box by car.'' Press the Kanji conversion key.

このとき、入力制御部2は、ユーザによって順次入力さ
れるかな文字を、文字変換制御部3および表示制御部4
に送出すると共に、漢字変換キが押下された場合には漢
字変換命令を文字変換制御部3に送出する。
At this time, the input control section 2 converts the kana characters sequentially input by the user into the character conversion control section 3 and the display control section 4.
At the same time, when the kanji conversion key is pressed, a kanji conversion command is sent to the character conversion control section 3.

表示制御部4は、順次人力された文字を表示部6に表示
させる。
The display control unit 4 causes the display unit 6 to display the manually input characters in sequence.

一方、文字変換制御部3は、順次入力された文字を保持
し、さらに漢字変換命令が与えられると、その命令が与
えられる前まで保持しているかな文字列(この例では、
「くるまではこをはこぶ」)を、かな漢字変換用辞書5
を用いて対応する漢字かな混じり文字列に変換して、表
示制御部4に送出する。
On the other hand, the character conversion control unit 3 holds the sequentially input characters, and when a kanji conversion command is given, it holds the kana character string until the command is given (in this example,
"Kuruma hako o hakobu"), Kana-Kanji conversion dictionary 5
is used to convert it into a corresponding character string containing kanji and kana, and sends it to the display control section 4.

ここて、文字変換制御部3が「くるまでほこをはこぶ」
の文字列を、第3図(a)に示すように「来るまで箱を
運ぶ」の漢字がな混じり文字列に変換したとする。この
とき、表示部6には「来るまで箱を運ぶJが表示される
ことになる。
At this point, the character conversion control unit 3 says,
Assume that the character string ``carry the box until it comes'' is converted into a character string containing the kanji characters ``carry the box until it comes'' as shown in FIG. 3(a). At this time, the display section 6 will display "J carrying the box until it comes."

そしてユーザは、仮名漢字変換された上記文字列の中で
再変換すべき変換対象文字列を指定し、変換キーや再変
換キーを押下して再変換要求を行う。ここで変換対象文
字列として、文字列「来るまで」か指定されたとする。
Then, the user specifies a character string to be reconverted from among the character strings that have been converted into kana and kanji, and presses a conversion key or a reconversion key to request reconversion. Assume that the character string "until" is specified as the character string to be converted.

すると文字変換制御部3には、人力制御部2がらの「来
るまで」を再変換すべく再変換命令か人力されることに
なるので、文字変換制御部3は「来るまで」のかな文字
列「くるまて」の同音語の最大語長数「4」および、当
該「くるまて」に対応する同音語、例えば「車で」を表
示制御部4に送出する。ここでは、ユーザ辞書に、「く
るまで」の読みの文字列に対応して漢字かな混じり文字
列が登録されていないものとする。
Then, the character conversion control unit 3 is given a re-conversion command to reconvert the character string “until you come” from the human control unit 2, so the character conversion control unit 3 converts the character string “until you come”. The maximum word length number of homophones of "Kuruma-te", "4", and the homophone corresponding to "Kuruma-te", for example, "by car" are sent to the display control unit 4. Here, it is assumed that a character string containing kanji and kana is not registered in the user dictionary corresponding to the character string with the pronunciation of "Kuruma".

表示制御部4では、入力された最大語長数の文字骨(こ
の例では4文字分)を表示するための同音語表示領域を
確保した後、その同音語表示領域に次なる同音語の候補
(この例では「車で」)を表示する。なお表示制御部4
は、同音語「車で」を表示させる際には、この同音語の
候補の文字数は「2」であるため、第3図(b)に示す
ように、変換された同音語の後に、最大語長数と実際に
変換された同音語の文字数との差の文字数分のスペース
(この場合は2文字分(4−2=2)(7)スペース)
を入れて表示させる。このように、同音語の候補を表示
させる場合は、同音語の候補中で最大語長数分の文字列
を表示するための同音語表示領域を予め確保しているの
で、どの様な同音語が選択された場合であっても、必ず
確保された同音語表示領域内に表示されることになる。
The display control unit 4 secures a homophone display area for displaying character bones of the maximum input word length (four characters in this example), and then displays the next homophone candidate in the homophone display area. (in this example, "by car"). Note that the display control section 4
When displaying the homophone ``by car'', the number of candidate characters for this homophone is ``2'', so as shown in Figure 3(b), the maximum number of characters is displayed after the converted homophone. Space for the number of characters that is the difference between the number of word lengths and the number of characters of the actually converted homophone (in this case, 2 characters (4-2=2) (7) spaces)
Enter and display. In this way, when displaying homophone candidates, the homophone display area is reserved in advance to display the maximum number of word lengths among the homophone candidates. Even if the word is selected, it will always be displayed within the reserved homophone display area.

そしてユーザは表示部6に所望の表記が表示された場合
には、確定要求操作を行って当該文字列の確定要求をす
る。
When the desired notation is displayed on the display unit 6, the user performs a confirmation request operation to request confirmation of the character string.

ここで、確定要求操作とは、確定キーの押下、次文節へ
のカーソル移動、次文節のマウスによる選択、カタカナ
入力モードやひらがな人力モードなどのモード切替等の
操作のことである。
Here, the confirmation request operation refers to operations such as pressing the confirmation key, moving the cursor to the next clause, selecting the next clause with the mouse, and switching modes such as katakana input mode and hiragana manual mode.

このような確定要求操作が行われると、表示制御部4は
、入力制御部2からの確定要求命令を認識し、スペース
領域(この例では2文字分の余分なスペース)を取り去
り、第4図に示すように、正しい位置に文字列を表示さ
せる。
When such a confirmation request operation is performed, the display control unit 4 recognizes the confirmation request command from the input control unit 2, removes the space area (extra space for two characters in this example), and displays the screen shown in FIG. Display the string in the correct position as shown in

なお上記実施例では、同音語表示領域を確保する際に、
スペースを用いたが、これに限定されることなく、タブ
、記号等であっても良い。
In addition, in the above embodiment, when securing the homophone display area,
Although spaces are used, the present invention is not limited to this, and tabs, symbols, etc. may also be used.

以上説明したように本実施例によれば、変換対象文字列
に対応する同音語候補を順次選択して表示領域に表示す
る場合は、当該同音語候補の中で最も多い文字数の文字
列を表示するための同音語表示領域を確保し、その表示
領域に同音語候補を表示するようにしているので、同音
語候補の選択途中での変換対象文字列に続いている文字
列の移動及び再表示処理をしなくてもよいので、表示処
理が速くなる。
As explained above, according to this embodiment, when homophone candidates corresponding to a character string to be converted are sequentially selected and displayed in the display area, the character string with the largest number of characters among the homophone candidates is displayed. Since a homophone display area is secured for the conversion and homophone candidates are displayed in that display area, it is possible to move and redisplay the character string following the conversion target character string while selecting the homophone candidate. Since no processing is required, display processing becomes faster.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明によれば、変換対象文字列に
対応する同音語候補を順次選択して表示領域に表示する
際には、同音語候補の中で最も多い文字数の文字列を表
示するための表示領域を確保し、その表示領域に同音語
候補を表示するようにしたため、変換対象文字列の後に
文字列か続いている場合における同音語候補の選択途中
においては1.変換対象文字列に続いている文字列の移
動及び再表示処理をしなくてもよいので、表示処理を迅
速に行うことができるという利点がある。
As described above, according to the present invention, when homophone candidates corresponding to a character string to be converted are sequentially selected and displayed in the display area, the character string with the largest number of characters among the homophone candidates is displayed. Since a display area for the conversion target character string is secured and homophone candidates are displayed in that display area, 1. Since there is no need to move and re-display the character string following the conversion target character string, there is an advantage that the display process can be performed quickly.

また、表示処理を迅速に行うことができるので、文書処
理効率を向上させることが可能となる。
Furthermore, since display processing can be performed quickly, document processing efficiency can be improved.

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

第1図は本発明に係る文書処理装置の一実施例を示すブ
ロック図、第2図乃至第4図は同音語の表示処理を説明
するだめの説明図である。 1・・人力部、2・・入力制御部、3・・・文字変換制
御部、4・・・表示制御部、5・・・辞書、6・・・表
示部。
FIG. 1 is a block diagram showing an embodiment of a document processing apparatus according to the present invention, and FIGS. 2 to 4 are explanatory diagrams for explaining homophone display processing. DESCRIPTION OF SYMBOLS 1...Manpower section, 2...Input control section, 3...Character conversion control section, 4...Display control section, 5...Dictionary, 6...Display section.

Claims (1)

【特許請求の範囲】[Claims] 仮名漢字変換された文字列を表示領域に表示する表示手
段と、該表示された文字列における指定された変換対象
文字列を対応する同音語に再変換する変換手段とを有す
る文書処理装置において、変換対象文字列に対応する同
音語候補を前記表示領域に表示する際に、当該同音語候
補の中で最も多い文字数の文字列を表示するのに必要な
領域を前記表示領域中に確保するようにしたことを特徴
とする文書処理装置。
A document processing device comprising a display means for displaying a character string converted into kana-kanji in a display area, and a conversion means for re-converting a specified conversion target character string in the displayed character string into a corresponding homophone, When displaying a homophone candidate corresponding to a character string to be converted in the display area, an area necessary for displaying a character string having the largest number of characters among the homophone candidates is secured in the display area. A document processing device characterized by:
JP2009029A 1990-01-18 1990-01-18 Document processor Pending JPH03212759A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009029A JPH03212759A (en) 1990-01-18 1990-01-18 Document processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009029A JPH03212759A (en) 1990-01-18 1990-01-18 Document processor

Publications (1)

Publication Number Publication Date
JPH03212759A true JPH03212759A (en) 1991-09-18

Family

ID=11709230

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009029A Pending JPH03212759A (en) 1990-01-18 1990-01-18 Document processor

Country Status (1)

Country Link
JP (1) JPH03212759A (en)

Similar Documents

Publication Publication Date Title
JPS5971536A (en) Japanese sentence creation device
JPS5969829A (en) Device for documentation
JPS6154559A (en) Japanese word processor
JPS62295177A (en) Translation supporting word processor
JPH02255936A (en) Document preparing and editing device
JPS605318A (en) Input device of sentence composed of kana and kanji
JPH0380363A (en) Document processor
JPH08171568A (en) Multiple language input method
JPH027159A (en) Japanese processor
JP2878461B2 (en) Document input device
JPS5911435A (en) Kana-Kanji conversion device
JPH0380361A (en) Document processor
JPH06236399A (en) Word processor with translation function
JPS6091434A (en) Document producer
JPS6257055A (en) Japanese word processor
JPS60211566A (en) Japanese input device
JPH08335217A (en) Reading conversion method and document creation device
JPH03142558A (en) Kana/kanji converting device
JPH03245260A (en) Document processor
JPH04133165A (en) Kana/kanji converter
JPH0687240B2 (en) Document processor
JPH05342197A (en) Japanese word processor
JPS63276166A (en) document creation device
JPH03110663A (en) Document processor
JPH0727523B2 (en) Document creation device