JP2003122744A - Character display control method - Google Patents

Character display control method

Info

Publication number
JP2003122744A
JP2003122744A JP2001313899A JP2001313899A JP2003122744A JP 2003122744 A JP2003122744 A JP 2003122744A JP 2001313899 A JP2001313899 A JP 2001313899A JP 2001313899 A JP2001313899 A JP 2001313899A JP 2003122744 A JP2003122744 A JP 2003122744A
Authority
JP
Japan
Prior art keywords
characters
character
displayed
character string
phonetic
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
JP2001313899A
Other languages
Japanese (ja)
Inventor
Mari Kameda
麻里 亀田
Akari Saeki
明加理 佐伯
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.)
Tsubasa System Co Ltd
Original Assignee
Tsubasa System 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 Tsubasa System Co Ltd filed Critical Tsubasa System Co Ltd
Priority to JP2001313899A priority Critical patent/JP2003122744A/en
Publication of JP2003122744A publication Critical patent/JP2003122744A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a KANA (Japanese syllabary) character input control method by which a user is not required to perform a redundant input operations by reflecting input of character strings including a plurality of character forms and changes of the inputted contents to the character strings also on reading KANAs (Japanese syllabary). SOLUTION: One or more inputted characters are displayed by converting them into one or more other characters, the one or more characters are displayed in the vicinity of the other displayed characters as the reading KANAs, in the case that a first character string consisting of two or more other characters and a second character string consisting of the reading KANAs corresponding to each of other characters to constitute the first character string are displayed, when one or more characters to be converted into other characters are inputted between the characters to constitute the first character string, the one or more characters are converted into one or more other characters, inserted and displayed between the characters and simultaneously inserted and displayed between reading KANAs of the second character string corresponding to the characters as the inserted and displayed reading KANAs of other characters.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、漢字や英数字等の
文字に対応するふりがなを付して表示する文字表示制御
方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a character display control method for displaying a kana or alphanumeric character with a phonetic guide.

【0002】[0002]

【従来の技術】従来、パーソナルコンピュータ(PC)
やワークステーション(WS)等のコンピュータに漢字
や平仮名等の文字形態を用いた語句及びこの語句に対応
するふりがなを入力するためのユーザインターフェイス
をユーザに提供するカナ漢字入力制御方法がある。この
方法によれば、ユーザはコンピュータに対し、漢字,平
仮名,半角片仮名,全角片仮名,英数字等を用いた語句
の入力(以後「通常入力」と呼ぶ)と、通常入力による
語句に対応したふりがなの入力(以後「ふりがな入力」
と呼ぶ)とを行う。
2. Description of the Related Art Conventionally, a personal computer (PC)
There is a kana-kanji input control method for providing a user with a user interface for inputting a phrase using a character form such as kanji or hiragana and a furigana corresponding to the phrase on a computer such as a workstation or a workstation (WS). According to this method, the user inputs to the computer a word or phrase using Kanji, hiragana, half-width katakana, full-width katakana, alphanumeric characters, etc. (hereinafter referred to as "normal input"), and the phonetic gesture corresponding to the word by normal input. Input of "(hereinafter," phonetic input ")
Call).

【0003】通常入力は、一度、カナ文字(何ら変換処
理を行わない、初期入力の文字を指す)を用いた入力を
行い、必要に応じて変換命令を実行し入力したカナ文字
を所望の文字形態(漢字,平仮名,全角片仮名,半角片
仮名,英数字等)に変換することによって行う。また、
ふりがな入力は、一度カナ文字を用いた入力を行い、必
要があれば入力したカナ文字を所望の文字形態に変換す
ることによって行う。
For normal input, once input is performed using kana characters (pointing to initial input characters that are not subjected to any conversion processing), conversion commands are executed as necessary, and the input kana characters are converted into desired characters. It is performed by converting to a form (kanji, hiragana, full-width katakana, half-width katakana, alphanumeric characters, etc.). Also,
The phonetic input is performed by once inputting kana characters and converting the input kana characters into a desired character form if necessary.

【0004】しかしながらこの方法は、通常入力とふり
がな入力とにおいて同じカナ文字の入力を2度行わなく
てはならないため、2度目のカナ文字入力の操作が冗長
であり、ユーザによる入力操作の負担の増加を招いてい
た。
However, in this method, the same kana character must be input twice for the normal input and the furigana input, so the second kana character input operation is redundant, and the burden of the input operation by the user is increased. Was inviting an increase.

【0005】このような問題に対し、通常入力において
入力されたカナ文字を全て記憶し、記憶したカナ文字を
ふりがなとして自動的に入力するカナ漢字入力制御方法
がある。この方法によれば、ユーザが通常入力を行う
と、通常入力の際に入力されたカナ文字が自動的にふり
がなとして使用される文字形態に変換され、ふりがなと
して入力される。このため、2度目のカナ文字入力が不
必要となり、ユーザによる入力操作の負担が軽減され
る。
For such a problem, there is a kana-kanji input control method in which all kana characters input in normal input are stored and the stored kana characters are automatically input as phonetic characters. According to this method, when the user performs a normal input, the kana character input during the normal input is automatically converted into a character form used as a furigana and is input as a furigana. Therefore, the second kana character input becomes unnecessary, and the burden of the input operation by the user is reduced.

【0006】[0006]

【発明が解決しようとする課題】しかしながら上記方法
を用いた場合、コンピュータは、ユーザによって通常入
力の際に入力されたカナ文字をシーケンシャルに記憶し
ふりがな入力を行う。このため、例えばユーザが一度
「引例」と通常入力し、後に用という文字を挿入し「引
用例」と変更した場合は、「インレイヨウ」とふりがな
入力されてしまう。このように、正しいふりがな入力が
行われず、ユーザがふりがなを訂正する必要があった。
However, when the above method is used, the computer sequentially stores kana characters input by the user during normal input and performs phonetic input. For this reason, for example, if the user normally inputs “reference” once and then inserts the word “use” and changes it to “quote”, the user will be pretended to input “inlay”. Thus, the correct phonetic input was not made, and the user had to correct the phonetic guide.

【0007】また同様に、例えばユーザが一度「引用
例」と通常入力し、後に用という文字を削除し「引例」
と変更した場合は、「インヨウレイ」とふりがな入力さ
れたままであり、通常入力された語句に対する削除と同
様の削除をふりがなについてもユーザが行う必要があっ
た。
Similarly, for example, the user normally inputs "quotation example" once, deletes the word "after", and deletes "citation".
If it is changed to, the phonetic input of "Inyourei" is still input, and the user has to perform the same deletion as the deletion of the normally input word.

【0008】本発明では、このような問題を解決し、通
常入力による入力及び入力内容の変更をふりがな入力に
対しても反映させ、ユーザが冗長な入力操作を行う必要
がない方法を提供することを目的とする。
The present invention solves such a problem, and provides a method in which the input by normal input and the change of the input content are reflected also in the phonetic input so that the user does not need to perform redundant input operation. With the goal.

【0009】[0009]

【課題を解決するための手段】本発明は、上記目的を達
成するために以下の構成を採用する。即ち、本発明は文
字表示制御方法であって、コンピュータが、入力された
1以上の文字を1以上の他の文字に変換して表示するス
テップと、前記コンピュータが、表示された他の文字の
近傍に前記1以上の文字をふりがなとして表示するステ
ップと、前記コンピュータが、2以上の他の文字からな
る第一の文字列と、この第一の文字列をなす各他の文字
に対応するふりがなからなる第二の文字列とが表示され
ている場合において、第一の文字列をなす文字間に他の
文字に変換される1以上の文字が入力されたときに、こ
の1以上の文字を、1以上の他の文字に変換して前記文
字間に挿入表示するとともに、挿入表示された他の文字
のふりがなとして、前記文字間に対応する前記第二の文
字列のふりがな間に挿入表示するステップとを含む。
The present invention adopts the following configurations in order to achieve the above object. That is, the present invention is a character display control method, wherein a computer converts one or more input characters into one or more other characters for display, and the computer displays the other displayed characters. A step of displaying the one or more characters as phonetic characters in the vicinity, the computer having a first character string composed of two or more other characters and phonetic characters corresponding to the respective other characters forming the first character string; When a second character string consisting of is displayed and one or more characters that are converted into other characters are input between the characters that form the first character string, the one or more characters One or more other characters are converted and inserted and displayed between the characters, and as a phonetic guide of the other characters inserted and displayed, the second character string corresponding to the characters is inserted and displayed between the phonetic guides. And steps.

【0010】本発明によれば、変換された他の文字によ
り構成される第一の文字列を表示するとともにこの他の
文字に対応するふりがなにより構成される第二の文字列
を表示する。そして、第一の文字列の任意の文字間に新
たに他の文字に変換される1以上の文字が入力された場
合、この新たな他の文字を挿入表示するとともに、第二
の文字列においてこの入力された位置に対応する位置
に、新たに入力された他の文字に対応するふりがなを表
示する。
According to the present invention, the first character string composed of the converted other characters is displayed, and the second character string composed of the furigana corresponding to the other character is displayed. Then, when one or more characters that are newly converted to other characters are input between arbitrary characters in the first character string, the new other character is inserted and displayed, and in the second character string, At the position corresponding to this input position, a phonetic guide corresponding to another newly input character is displayed.

【0011】このため、ユーザが第一の文字列の文字間
に新たに他の文字を入力した場合、第二の文字列として
正確にふりがなが挿入表示される。
Therefore, when the user newly inputs another character between the characters of the first character string, the phonetic characters are accurately inserted and displayed as the second character string.

【0012】また本発明は、コンピュータが、入力され
た1以上の文字を1以上の他の文字に変換して表示する
ステップと、前記コンピュータが、表示された他の文字
の近傍に前記1以上の文字をふりがなとして表示するス
テップと、前記コンピュータが、1以上の他の文字から
なる第一の文字列と、この第一の文字列をなす各他の文
字に対応するふりがなからなる第二の文字列とが表示さ
れている場合において、この第一の文字列の他の文字が
削除されたときに、前記第一の文字列を削除された他の
文字分を詰めて表示するとともに、削除された他の文字
に対応するふりがなを前記第二の文字列から削除しこの
文字分を詰めて表示するステップとを含むように構成し
ても良い。
The present invention also includes the step of a computer converting the input one or more characters into one or more other characters and displaying the characters, and the computer including the one or more characters in the vicinity of the other displayed characters. Displaying the characters as phonetic characters, the computer comprises a second character string consisting of a first character string consisting of one or more other characters and a phonetic string corresponding to each of the other characters forming the first character string. When the character string and are displayed, when the other characters of the first character string are deleted, the first character string is displayed together with the deleted other characters and is deleted. It is also possible to include the step of deleting the phonetic characters corresponding to the other generated characters from the second character string and filling and displaying the characters.

【0013】本発明によれば、変換された他の文字によ
り構成される第一の文字列を表示するとともにこの他の
文字に対応するふりがなにより構成される第二の文字列
を表示する。そして、第一の文字列の任意の他の文字が
削除された場合、この他の文字分を詰めて第一の文字列
を表示するとともに、第二の文字列においてこの削除さ
れた他の文字に対応するふりがなの文字分を詰めて第二
の文字列を表示する。
According to the present invention, the first character string composed of the converted other characters is displayed, and the second character string composed of the furigana corresponding to the other character is displayed. Then, if any other character of the first character string is deleted, the first character string is displayed by packing the other character and the other character deleted in the second character string. The second character string is displayed by filling in the phonetic characters corresponding to.

【0014】このため、ユーザが第一の文字列の任意の
他の文字を削除した場合、第二の文字列において削除さ
れた他の文字に対応するふりがなが削除されてふりがな
が正確に表示される。
Therefore, when the user deletes any other character in the first character string, the phonetic guide corresponding to the other character deleted in the second character string is deleted and the phonetic guide is accurately displayed. It

【0015】また本発明は、前記コンピュータが、前記
挿入表示された他の文字について、前記第一の文字列に
おけるこの他の文字の表示位置を示す位置番号と、この
他の文字に対応するふりがなの文字列とを読み出す表示
結果読み出しステップと、前記コンピュータが、既に表
示されている前記第一の文字列の各他の文字について、
前記既表示の各他の文字の前記位置番号と、前記既表示
の各他の文字に対応するふりがなの文字数とを読み出す
既表示結果読み出しステップとをさらに有し、前記コン
ピュータが、前記表示結果読み出しステップで読み出し
た情報と前記既表示結果読み出しステップにおいて読み
出した情報とを用いて、前記挿入表示された他の文字に
対応するふりがなの文字列を対応する前記第二の文字列
のふりがな間に挿入表示するように構成しても良い。
Further, according to the present invention, the computer, with respect to the other characters inserted and displayed, a position number indicating a display position of the other character in the first character string, and a phonetic reference corresponding to the other character. And a display result reading step of reading the character string of, and the computer, for each other character of the first character string already displayed,
The computer further includes an already-displayed result reading step of reading the position number of each of the other displayed characters and the number of phonetic characters corresponding to each of the already-displayed characters. Using the information read in the step and the information read in the already-displayed result reading step, insert a phonetic character string corresponding to the other character displayed and inserted between the phonetic characters of the corresponding second character string. It may be configured to display.

【0016】また本発明は、前記コンピュータが、前記
削除された他の文字について、前記第一の文字列におい
て前記削除された他の文字が表示されていた表示位置を
示す位置番号を読み出す削除結果読み出しステップと、
前記コンピュータが、既に表示されている前記第一の文
字列の各他の文字について、前記既表示の各他の文字の
前記位置番号と、前記既表示の各他の文字に対応するふ
りがなの文字数とを読み出す既表示結果読み出しステッ
プとをさらに有し、前記コンピュータが、前記削除結果
読み出しステップにおいて読み出した情報と前記既表示
結果読み出しステップにおいて読み出した情報とを用い
て、前記削除された他の文字に対応するふりがなを前記
第二の文字列から削除しこの文字分を詰めて表示するよ
うに構成しても良い。
Further, according to the present invention, the deletion result in which the computer reads a position number indicating a display position where the deleted other character is displayed in the first character string for the deleted other character A read step,
The computer, for each other character of the first character string that has already been displayed, the position number of each of the other characters that have already been displayed, and the number of furigana characters that correspond to each of the other characters that have already been displayed. And an already-displayed result reading step of reading the other characters, wherein the computer uses the information read in the deletion result reading step and the information read in the already-displayed result reading step to delete the other characters. It may be configured such that the phonetic characters corresponding to are deleted from the second character string and the characters are packed and displayed.

【0017】また本発明の前記コンピュータは、前記既
表示の各他の文字について、前記位置番号と、前記ふり
がなの文字数とを関連づけて記憶する既表示結果データ
ベースを有するように構成しても良い。
Further, the computer of the present invention may be configured to have an already-displayed result database that stores the position number and the number of the phonetic characters of each of the other displayed characters in association with each other.

【0018】また本発明の前記コンピュータは、前記既
表示の各他の文字について、前記位置番号と、前記ふり
がなの文字数とを関連づけて記憶する既表示結果データ
ベースを有するように構成しても良い。
Further, the computer of the present invention may be configured to have an already-displayed result database that stores the position number and the number of the phonetic characters of each of the other displayed characters in association with each other.

【0019】また本発明の前記表示更新ステップは、前
記挿入表示された他の文字について、この他の文字の前
記位置番号と、この他の文字に対応するふりがなの文字
数とを用いて、前記既表示結果データベースを更新する
データベース更新ステップをさらに含むように構成して
も良い。
Further, the display updating step of the present invention uses the position number of the other character and the number of furigana characters corresponding to the other character for the other character that has been inserted and displayed, and It may be configured to further include a database updating step of updating the display result database.

【0020】また本発明の前記削除更新ステップは、前
記削除された他の文字について、前記第一の文字列にお
いて前記削除された他の文字が表示されていた表示位置
を示す位置番号を用いて、前記既表示結果データベース
を更新するデータベース更新ステップをさらに含むよう
に構成しても良い。
Further, in the deleting and updating step of the present invention, for the deleted other character, a position number indicating a display position where the deleted other character is displayed in the first character string is used. The database updating step of updating the already-displayed result database may be further included.

【0021】また本発明の前記表示更新ステップは、前
記挿入表示された他の文字のうち最初に挿入表示された
他の文字の位置番号よりも小さな位置番号を持つ、前記
既表示結果読み出しステップによって読み出した情報の
各他の文字に対応するふりがなの文字数を全て加算して
挿入表示するための位置番号を得るステップと、既に表
示されている前記第二の文字列において、前記挿入表示
する位置番号の指す位置に前記ユーザによって入力され
た他の文字に対応するふりがなの文字列を挿入するステ
ップとをさらに含むように構成しても良い。
In the display updating step of the present invention, the already-displayed result reading step has a position number smaller than the position number of the other character inserted and displayed first among the other characters displayed and inserted. The step of adding all the numbers of the phonetic characters corresponding to each other character of the read information to obtain the position number for inserting and displaying, and the position number for inserting and displaying in the already displayed second character string. It may be configured to further include a step of inserting a phonetic character string corresponding to another character input by the user at the position pointed to by.

【0022】また本発明の前記削除更新ステップは、削
除された他の文字のうち最初に削除された他の文字の位
置番号よりも小さな位置番号を持つ、前記既表示結果読
み出しステップによって読み出した情報の他の文字に対
応するふりがなの文字数を全て加算して削除位置番号を
得るステップと、削除され他の文字の位置番号に対応す
る前記既表示結果読み出しステップによって読み出した
情報の他の文字に対応するふりがなの文字数を全て加算
して削除文字数を得るステップと、既に入力されている
第二の文字列において前記削除位置番号の指す位置から
前記削除文字数だけ文字を削除するように構成しても良
い。
In the deletion update step of the present invention, the information read by the already-displayed result reading step having a position number smaller than the position number of the first deleted other character among the other deleted characters. Corresponding to other characters of the information read by the already displayed result reading step corresponding to the position number of the deleted other character The step of adding all the phonetic characters of the phonetic alphabet to obtain the number of deleted characters, and deleting the character by the number of deleted characters from the position indicated by the deleted position number in the second character string that has already been input may be configured. .

【0023】また本発明は、入力された1以上の文字を
1以上の他の文字に変換して表示するステップと、表示
された他の文字の近傍に前記1以上の文字をふりがなと
して表示するステップと、2以上の他の文字からなる第
一の文字列と、この第一の文字列をなす各他の文字に対
応するふりがなからなる第二の文字列とが表示されてい
る場合において、第一の文字列をなす文字間に他の文字
に変換される1以上の文字が入力されたときに、この1
以上の文字を、1以上の他の文字に変換して前記文字間
に挿入表示するとともに、挿入表示された他の文字のふ
りがなとして、前記文字間に対応する前記第二の文字列
のふりがな間に挿入表示するステップとをコンピュータ
に実行させるプログラムであっても良い。
In the present invention, the step of converting the input one or more characters into one or more other characters and displaying the characters, and displaying the one or more characters in the vicinity of the other displayed characters as a phonetic guide. In the case where the step, the first character string composed of two or more other characters, and the second character string composed of the furigana corresponding to each of the other characters forming the first character string are displayed, When one or more characters that are converted into other characters are input between the characters that make up the first character string, this 1
The above characters are converted into one or more other characters and inserted and displayed between the characters, and it is assumed that other inserted characters are phonetically displayed as the phonetic spaces of the second character strings corresponding to the characters. It may be a program that causes a computer to execute the step of inserting and displaying.

【0024】また本発明は、入力された1以上の文字を
1以上の他の文字に変換して表示するステップと、表示
された他の文字の近傍に前記1以上の文字をふりがなと
して表示するステップと、1以上の他の文字からなる第
一の文字列と、この第一の文字列をなす各他の文字に対
応するふりがなからなる第二の文字列とが表示されてい
る場合において、この第一の文字列の他の文字が削除さ
れたときに、前記第一の文字列を削除された他の文字分
を詰めて表示するとともに、削除された他の文字に対応
するふりがなを前記第二の文字列から削除しこの文字分
を詰めて表示するステップとをコンピュータに実行させ
るプログラムであっても良い。
The present invention also includes a step of converting the input one or more characters into one or more other characters and displaying the converted characters, and displaying the one or more characters in the vicinity of the other displayed characters as a phonetic guide. In the case where the step, the first character string composed of one or more other characters, and the second character string composed of phonetic characters corresponding to the respective other characters forming the first character string are displayed, When the other characters of the first character string are deleted, the first character string is displayed with the deleted other characters filled, and the phonetic guide corresponding to the deleted other characters is displayed. It may be a program that causes a computer to execute the steps of deleting from the second character string and displaying the characters in a packed manner.

【0025】また本発明は、入力された1以上の文字を
1以上の他の文字に変換して表示する変換表示手段と、
表示された他の文字の近傍に前記1以上の文字をふりが
なとして表示するふりがな表示手段と、2以上の他の文
字からなる第一の文字列と、この第一の文字列をなす各
他の文字に対応するふりがなからなる第二の文字列とが
表示されている場合において、第一の文字列をなす文字
間に他の文字に変換される1以上の文字が入力されたと
きに、この1以上の文字を、1以上の他の文字に変換し
て前記文字間に挿入表示するとともに、挿入表示された
他の文字のふりがなとして、前記文字間に対応する前記
第二の文字列のふりがな間に挿入表示する挿入表示手段
とを備えた文字表示制御装置であっても良い。
The present invention further comprises conversion display means for converting one or more input characters into one or more other characters for display.
A phonetic display means for displaying the one or more characters as phonetic characters near the displayed other characters, a first character string composed of two or more other characters, and each of the other characters forming the first character string. When a second character string consisting of phonetic characters corresponding to a character is displayed and one or more characters that are converted into other characters are input between the characters forming the first character string, this The one or more characters are converted into one or more other characters and inserted and displayed between the characters, and the phonetic display of the second character string corresponding to the characters is taken as the phonetic display of the other characters inserted and displayed. It may be a character display control device provided with an insertion display means for inserting and displaying in between.

【0026】また本発明は、入力された1以上の文字を
1以上の他の文字に変換して表示する変換表示手段と、
表示された他の文字の近傍に前記1以上の文字をふりが
なとして表示するふりがな表示手段と、1以上の他の文
字からなる第一の文字列と、この第一の文字列をなす各
他の文字に対応するふりがなからなる第二の文字列とが
表示されている場合において、この第一の文字列の他の
文字が削除されたときに、前記第一の文字列を削除され
た他の文字分を詰めて表示するとともに、削除された他
の文字に対応するふりがなを前記第二の文字列から削除
しこの文字分を詰めて表示する削除結果表示手段とを備
えた文字表示制御装置であっても良い。
The present invention also includes conversion display means for converting one or more input characters into one or more other characters for display.
Phonetic display means for displaying the one or more characters as phonetic characters in the vicinity of the other displayed characters, a first character string composed of the one or more other characters, and each of the other characters forming the first character string. When the second character string consisting of the phonetic guide corresponding to the character is displayed, and when the other character of this first character string is deleted, the other one of the first character string deleted In a character display control device having a deletion result display means for displaying characters packed together and deleting the phonetic characters corresponding to other deleted characters from the second character string and packing and displaying this character It may be.

【0027】[0027]

【発明の実施の形態】以下、図面を参照して本発明の実
施形態を説明する。実施形態の構成は例示であり、本発
明は実施形態の構成に限定されない。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below with reference to the drawings. The configuration of the embodiment is an example, and the present invention is not limited to the configuration of the embodiment.

【0028】〈システム構成〉図1は、本発明の実施形
態によるカナ文字制御装置100の構成例を示す図であ
る。本装置は、PCやWSなどの情報処理装置を用いて
構成され、入力部101,出力部102,カナ文字変換
部103,カナ文字制御部104,カウンタ105,変
更文字数記憶部106,文字開始位置記憶部107,カ
ナ文字数記憶部108,入力文字データベース109,
入力文字記憶部110,ふりがな記憶部111,カナ文
字記憶部112を備える。
<System Configuration> FIG. 1 is a diagram showing a configuration example of a kana character control device 100 according to an embodiment of the present invention. This device is configured by using an information processing device such as a PC or WS, and has an input unit 101, an output unit 102, a Kana character conversion unit 103, a Kana character control unit 104, a counter 105, a changed character number storage unit 106, and a character start position. Storage unit 107, kana character number storage unit 108, input character database 109,
An input character storage unit 110, a furigana storage unit 111, and a kana character storage unit 112 are provided.

【0029】入力部101は、ボタン,キーボード,ポ
インティングデバイス(マウス,トラックボール,ジョ
イスティック等)等を用いて構成され、ユーザが命令や
カナ文字を入力するために使用される。出力部102
は、ディスプレイを用いて構成され、ユーザのためのデ
ータ入力画面等の各種情報を表示する。
The input unit 101 is composed of buttons, a keyboard, a pointing device (mouse, trackball, joystick, etc.), etc., and is used by the user to input commands and kana characters. Output unit 102
Is configured using a display and displays various information such as a data input screen for the user.

【0030】カナ文字変換部103は、入力部101か
ら入力されたカナ文字(本発明の「入力された1以上の
文字」に相当)を受け取り、入力部101から必要に応
じて入力される変換命令に従って、受け取ったカナ文字
を所望の文字形態に変換し、さらに入力部101から入
力される決定命令に従って文字の入力を決定する。ここ
で、カナ文字変換部103によって決定された文字をカ
ナ文字と区別するために入力文字(本発明の「他の文
字」に相当)と呼ぶ。このように、入力文字は複数の文
字形態を取りうる。この変換によりカナ文字は、漢字,
平仮名,全角片仮名,半角片仮名,英数字などに変換さ
れる。また、入力部101から削除命令を受け取ると、
受け取った削除命令をカナ文字制御部104へ渡す。
The kana character conversion unit 103 receives kana characters (corresponding to “one or more characters input” of the present invention) input from the input unit 101, and conversion input from the input unit 101 as necessary. According to the instruction, the received kana character is converted into a desired character form, and the input of the character is determined according to the determination instruction input from the input unit 101. Here, in order to distinguish the character determined by the kana character conversion unit 103 from the kana character, it is referred to as an input character (corresponding to “other character” in the present invention). As such, the input character may have a plurality of character forms. By this conversion, kana characters are kanji,
Converted to hiragana, full-width katakana, half-width katakana, alphanumeric characters, etc. Further, when a deletion command is received from the input unit 101,
The received deletion command is passed to the kana character control unit 104.

【0031】また、カナ文字変換部103は、カナ文字
の変換の実行結果をカナ文字制御部104へ渡す。この
ときのカナ文字変換の実行結果は少なくとも、変更文字
数,文字開始位置(本発明の「位置番号」に相当)の二
つの値を持ち、文字の入力が実行された場合はこの二つ
の値に加えてカナ文字数,入力カナ文字(本発明の「挿
入表示された他の文字のふりがな」に相当),入力文字
(本発明の「挿入表示された他の文字」に相当)のデー
タを持つ。
The Kana character conversion unit 103 also passes the execution result of conversion of Kana characters to the Kana character control unit 104. The execution result of the kana character conversion at this time has at least two values of the number of changed characters and the character start position (corresponding to the "position number" of the present invention), and when the character input is executed, these two values are set. In addition, it has data of the number of kana characters, input kana characters (corresponding to “phonetic representation of other characters inserted and displayed” in the present invention), and input characters (corresponding to “other characters inserted and displayed” of the present invention).

【0032】変更文字数は、入力又は削除された入力文
字の数を示す。このとき、削除が実行された場合は変更
文字数は負の値を持ち、入力が実行された場合は変更文
字数は正の値を持つ。
The number of changed characters indicates the number of input characters that have been input or deleted. At this time, the number of changed characters has a negative value when the deletion is executed, and the number of changed characters has a positive value when the input is executed.

【0033】文字開始位置は、入力又は削除された各入
力文字の文字位置を0以上の整数で示す。ここで文字位
置とは、入力文字又はふりがなの文字列において先頭に
位置する文字を0番目とし、以下順に整数を用いて1番
目,2番目,・・・と番号を与え、この番号を指す。
The character start position indicates the character position of each input character input or deleted by an integer of 0 or more. Here, the character position refers to this character, with the character at the beginning of the input character or the phonetic string of the phonetic symbol being the 0th, and using the integers in the following order, the 1st, 2nd, ... Numbers.

【0034】カナ文字数は、入力された各入力文字に対
応する変換前のカナ文字の文字数を示す。文字開始位置
及びカナ文字数の値は、カナ文字変換部103からカナ
文字制御部104に受け渡される場合、及びそれぞれの
記憶部107,108に記憶される場合は、各入力文字
の順序に従って配列として表される。
The kana character number indicates the number of kana characters before conversion corresponding to each input character. When the character start position and the value of the number of Kana characters are passed from the Kana character conversion unit 103 to the Kana character control unit 104 and stored in the respective storage units 107 and 108, they are arranged as an array according to the order of each input character. expressed.

【0035】入力カナ文字のデータは、入力されたカナ
文字のデータそのものを表し、文字列データ(本発明の
「第二の文字列」に相当)としてカナ文字記憶部112
に記憶される。
The input kana character data represents the input kana character data itself, and is the kana character storage unit 112 as character string data (corresponding to the "second character string" of the present invention).
Memorized in.

【0036】入力文字のデータは、入力が決定された入
力文字データを表し、文字列データ(本発明の「第一の
文字列」に相当)として入力文字記憶部110に記憶さ
れる。
The input character data represents the input character data whose input has been decided, and is stored in the input character storage unit 110 as character string data (corresponding to the "first character string" of the present invention).

【0037】例えば、「入力」という文字が入力された
場合、変更文字数は”2”であり、「入」の文字開始位
置は”0”,カナ文字数は”3”であり、「力」の文字
開始位置は”1”,カナ文字数は”3”であり、入力カ
ナ文字は「ニュウリョク」であり、入力文字は「入力」
である。また、このとき、文字開始位置記憶部107に
は”[0,1]”という配列、カナ文字数記憶部108
には”[3,3]”という配列が記憶される。
For example, when the character "input" is input, the number of changed characters is "2", the character start position of "on" is "0", the number of kana characters is "3", and the "force" is The character start position is "1", the number of kana characters is "3", the input kana character is "new", and the input character is "input".
Is. Further, at this time, the character start position storage unit 107 has an array “[0, 1]” and the kana character number storage unit 108.
The array "[3,3]" is stored in.

【0038】カナ文字制御部104は、CPU,メモリ
等により構成され、コンピュータをカナ文字制御装置1
00として機能させるためのプログラムを実行すること
によって、ふりがな入力についての制御を行う。このプ
ログラムは、不図示のハードディスク等の記録媒体にイ
ンストールされており、必要に応じてカナ文字制御部1
04によって読み出され実行される。
The kana character control unit 104 is composed of a CPU, a memory, etc.
The phonetic input is controlled by executing a program for functioning as 00. This program is installed in a recording medium such as a hard disk (not shown), and if necessary, the kana character control unit 1
Read and executed by 04.

【0039】カナ文字制御部104は、大きく分けて五
つの処理を実行する。第一に、カナ文字変換部103か
ら受け取る変更文字数,文字開始位置,カナ文字数,入
力カナ文字,入力文字の値をそれぞれ変更文字数記憶部
106,文字開始位置記憶部107,カナ文字数記憶部
108,カナ文字記憶部112,入力文字記憶部110
に書き込む。
The kana character control section 104 roughly divides and executes five processes. First, the number of changed characters, the character start position, the number of kana characters, the input kana character, and the value of the input character received from the kana character conversion unit 103 are changed character number storage unit 106, character start position storage unit 107, kana character number storage unit 108, respectively. Kana character storage unit 112, input character storage unit 110
Write in.

【0040】第二に、変更文字数記憶部106に記憶さ
れる変更文字数を読み出し、その値が0以上か否かを判
断する。変更文字数が0以上であると判断した場合は文
字が入力されたと判断し、逆に変更文字数が0未満であ
ると判断した場合は文字が削除されたと判断する。
Secondly, the number of changed characters stored in the changed character number storage unit 106 is read and it is determined whether the value is 0 or more. If it is determined that the number of changed characters is 0 or more, it is determined that a character has been input. Conversely, if it is determined that the number of changed characters is less than 0, it is determined that the character is deleted.

【0041】第三に、変更文字数記憶部106,文字開
始位置記憶部107,カナ文字数記憶部108,入力文
字記憶部110に記憶されている値を読み出し、その値
に応じて入力文字データベース109に記憶されるデー
タを更新する。
Thirdly, the values stored in the changed character number storage unit 106, the character start position storage unit 107, the Kana character number storage unit 108, and the input character storage unit 110 are read out, and the input character database 109 is read according to the values. Update the stored data.

【0042】第四に、更新された入力文字データベース
109の内容に応じてふりがな記憶部111に記憶され
ているふりがなデータを更新する。
Fourth, the furigana data stored in the furigana storage unit 111 is updated according to the updated contents of the input character database 109.

【0043】そして第五に、ふりがな記憶部111に記
憶されるふりがなデータ及び入力文字データベース10
9に記憶される入力文字データを読み出し、出力部10
2へ読み出したデータを渡す。
Fifthly, the phonetic data and the input character database 10 stored in the phonetic storage unit 111.
The input character data stored in 9 is read out, and the output unit 10
Pass the read data to 2.

【0044】カウンタ105は、少なくとも0以上の整
数を記憶するメモリを備え、カナ文字制御部104の命
令を受け、記憶する整数に1ずつ加算し数を数える。ま
た、カナ文字制御部104から初期化命令を受けると、
メモリに記憶する値を0に書き換える。
The counter 105 has a memory for storing an integer of at least 0, receives an instruction from the kana character control unit 104, adds 1 to the stored integer, and counts the number. Further, when receiving an initialization command from the Kana character control unit 104,
The value stored in the memory is rewritten to 0.

【0045】変更文字数記憶部106,文字開始位置記
憶部107,カナ文字数記憶部108は、ランダムアク
セスメモリ(RAM)やハードディスク等の記憶媒体を
用いて構成され、それぞれ変更文字数,文字開始位置,
カナ文字数の値又は配列を記憶する。
The changed character number storage unit 106, the character start position storage unit 107, and the kana character number storage unit 108 are configured by using a storage medium such as a random access memory (RAM) or a hard disk, and the changed character number, the character start position, and the character start position, respectively.
The value or array of the number of Kana characters is stored.

【0046】入力文字データベース109は、RAM,
ハードディスクなどを用いて構成され、文字開始位置,
カナ文字数,入力文字の三つのデータを関連づけたデー
タベース(本発明の「既表示結果データベース」に相
当)を記憶する。
The input character database 109 is a RAM,
It is configured using a hard disk, etc.
A database (corresponding to the "existing display result database" of the present invention) in which three pieces of data, that is, the number of kana characters and input characters, are associated is stored.

【0047】入力文字記憶部110,ふりがな記憶部1
11,カナ文字記憶部112はRAMやハードディスク
等の記憶媒体を用いて構成され、新たに入力された入力
文字,ふりがな,新たに入力されたカナ文字の夫々の文
字列データを記憶する。
Input character storage unit 110, phonetic storage unit 1
11. The kana character storage unit 112 is configured using a storage medium such as a RAM or a hard disk, and stores character string data of newly input characters, phonetic characters, and newly input kana characters.

【0048】〈動作例〉図2は、本発明の実施例におけ
るカナ文字制御装置100によるカナ文字制御プログラ
ムの処理フローを示している。図1,2を用いて、カナ
文字制御の動作について説明する。まず、文字入力画面
が出力部102に表示されることによって本処理は始ま
る(S100)。
<Operation Example> FIG. 2 shows a processing flow of the kana character control program by the kana character control device 100 in the embodiment of the present invention. The operation of kana character control will be described with reference to FIGS. First, this processing starts when the character input screen is displayed on the output unit 102 (S100).

【0049】入力部101によりカナ文字の入力又は削
除が実行されると、カナ文字変換部103は必要に応じ
て文字形態の変換処理を実行し、実行結果をカナ文字制
御部104に渡し、カナ文字制御部104は受け取った
実行結果を各記憶部に書き込む。そしてカナ文字制御部
104は、変更文字数記憶部106から変更文字数を読
み出し(S101)、文字変更数の値から文字が入力さ
れたと判断(変更文字数が0以上と判断)すると(S1
02−Y)、以下のような処理を実行する。
When a kana character is input or deleted by the input unit 101, the kana character conversion unit 103 executes a character form conversion process as necessary, passes the execution result to the kana character control unit 104, and The character control unit 104 writes the received execution result in each storage unit. Then, the kana character control unit 104 reads the number of changed characters from the changed character number storage unit 106 (S101), and determines that a character has been input from the value of the number of changed characters (determines that the number of changed characters is 0 or more) (S1).
02-Y), the following processing is executed.

【0050】まず、カナ文字記憶部112から入力され
たカナ文字のデータを読み出し、入力文字データベース
109のデータに基づいてふりがな記憶部111に記憶
されているふりがなデータを更新する(S103)。具
体的には、まず、文字開始位置記憶部107に記憶され
る文字開始位置データの配列のうち先頭の配列要素(即
ち新たに入力された語句の挿入位置(以後「新規挿入位
置」と呼ぶ))を読み出し、入力文字データベース10
9に記憶されるデータのうち、文字開始位置の値が新規
挿入位置の値よりも小さいデータについて、各データの
カナ文字数を読み出し加算する。次に、ふりがな記憶部
111に記憶されているふりがなデータのうち、上記計
算によって算出した値の示す文字位置(本発明の「挿入
表示するための位置番号」に相当)に、カナ文字記憶部
112に記憶されている入力カナ文字データを挿入す
る。
First, the kana character data input from the kana character storage unit 112 is read out, and the furigana data stored in the furigana storage unit 111 is updated based on the data in the input character database 109 (S103). Specifically, first, in the array of the character start position data stored in the character start position storage unit 107, the first array element (that is, the insertion position of the newly input word (hereinafter referred to as “new insertion position”)). ) Is read and the input character database 10
Among the data stored in 9, the number of kana characters of each data is read and added for the data of which the value of the character start position is smaller than the value of the new insertion position. Next, in the phonetic character data stored in the phonetic character storage unit 111, the kana character storage unit 112 is located at the character position (corresponding to the “position number for inserting and displaying” of the present invention) indicated by the value calculated by the above calculation. Insert the input Kana character data stored in.

【0051】次に、入力文字データベース109におい
て文字開始位置の値が新規挿入位置の値以上の値を持つ
データについて、その文字開始位置の値に更新文字数を
加算する(S104)。
Next, for data having a value of the character start position which is equal to or greater than the value of the new insertion position in the input character database 109, the number of updated characters is added to the value of the character start position (S104).

【0052】次に、カウンタ105が記憶する値iを初
期化(0に)し(S105)、カウンタ105の値iが
変更文字数(入力文字数)から1を引いた値以上になる
まで(S108−N)、文字開始位置とカナ文字数と入
力文字との配列からカウンタの保持する値iの示す配列
要素を読み出し(S106)、読み出したデータを用い
て入力文字データベース109のデータを更新し(S1
07)、更新実行の都度iに1を加算する(S10
9)。
Next, the value i stored in the counter 105 is initialized (set to 0) (S105) until the value i of the counter 105 becomes equal to or larger than the value obtained by subtracting 1 from the number of changed characters (the number of input characters) (S108- N), the array element indicated by the value i held by the counter is read from the array of the character start position, the number of Kana characters, and the input character (S106), and the data in the input character database 109 is updated using the read data (S1).
07), 1 is added to i each time update is executed (S10)
9).

【0053】カウンタ105の値iが入力文字数から1
を引いた値以上になると(S108−Y)、カナ文字制
御部104は、ふりがな記憶部111からふりがなデー
タを、入力文字データベース109から入力文字データ
を夫々読み出し、読み出した夫々のデータを出力部10
2によって表示し、これまでの表示内容を更新する(S
110)。
The value i of the counter 105 is 1 from the number of input characters.
(S108-Y), the kana character control unit 104 reads the furigana data from the furigana storage unit 111 and the input character data from the input character database 109, and outputs the respective read data.
2 and display contents up to now are updated (S
110).

【0054】カナ文字制御部104は、文字入力が行わ
れずに文字が削除されたと判断(変更文字数が0未満と
判断)した場合(S102−N且つS111−Y)に
は、以下の処理を実行する。
If the kana character control unit 104 determines that the character has been deleted without inputting the character (determined that the number of changed characters is less than 0) (S102-N and S111-Y), it executes the following process. To do.

【0055】まず、変更文字数と文字開始位置の値と入
力文字データベース109に記憶されているデータとを
元に、ふりがな記憶部111に記憶されているふりがな
データを更新する(S112)。具体的には、まず、文
字開始位置記憶部107に記憶される文字開始位置デー
タの配列のうち先頭の配列要素(即ち削除された語句の
位置(以後「削除位置」と呼ぶ))を読み出し、入力文
字データベース109に記憶されるデータのうち、文字
開始位置の値が削除位置の値よりも小さいデータについ
て、各データのカナ文字数を読み出し加算する。次に、
ふりがな記憶部111に記憶されているふりがなデータ
のうち、上記計算によって算出した値(本発明の「削除
位置番号」に相当)の示す文字位置から変更文字数の絶
対値分(本発明の「削除文字数」に相当)のふりがなデ
ータを削除する。
First, based on the number of changed characters, the value of the character start position, and the data stored in the input character database 109, the furigana data stored in the furigana storage unit 111 is updated (S112). Specifically, first, the head array element (that is, the position of the deleted word (hereinafter referred to as “deleted position”)) in the array of the character start position data stored in the character start position storage unit 107 is read, Among the data stored in the input character database 109, the number of Kana characters of each data is read and added for the data whose character start position value is smaller than the deletion position value. next,
From the character position indicated by the value calculated by the above calculation (corresponding to the “deletion position number” of the present invention) in the phonetic data stored in the phonetic storage unit 111, the absolute value of the number of changed characters (“the number of deleted characters of the present invention” (Corresponding to “)” is deleted.

【0056】次に、カウンタ105が記憶する値iを初
期化し(S113)、カウンタ105の値iが変更文字
数の絶対値(削除文字数)から1を引いた値以上になる
まで(S116−N)、入力文字データベース109か
らカウンタの保持する値iと等しい文字開始位置の値を
持つデータを読み出し(S114)、削除し(S11
5)、削除の都度iの値に1を加算する(S117)。
Next, the value i stored in the counter 105 is initialized (S113) until the value i of the counter 105 becomes equal to or larger than the value obtained by subtracting 1 from the absolute value of the number of changed characters (the number of deleted characters) (S116-N). , Data having a character start position value equal to the value i held by the counter is read from the input character database 109 (S114) and deleted (S11).
5), each time it is deleted, 1 is added to the value of i (S117).

【0057】カウンタ105の値iが削除文字数から1
を引いた値以上になると(S116−Y)、カナ文字制
御部104は、文字開始位置記憶部107に記憶される
配列のうち後端の配列要素を読み出し、入力文字データ
ベース109に記憶されるデータのうち、文字開始位置
の値が読み出した上記後端の配列要素よりも大きいデー
タについて、記憶されている文字開始位置の値から更新
文字数を加算する(S118)。
The value i of the counter 105 is 1 from the number of deleted characters.
When it is equal to or larger than the value obtained by subtracting (S116-Y), the kana character control unit 104 reads out the array element at the rear end of the array stored in the character start position storage unit 107 and stores the data stored in the input character database 109. Among these, for data whose character start position value is larger than the read array element at the rear end, the number of updated characters is added from the stored character start position value (S118).

【0058】そして、カナ文字制御部104は、ふりが
な記憶部111からふりがなデータを、入力文字データ
ベース109から入力文字データを夫々読み出し、読み
出した夫々のデータを出力部102によって表示し、こ
れまでの表示内容を更新する(S110)。
Then, the kana character control unit 104 reads the phonetic data from the phonetic storage unit 111 and the input character data from the input character database 109, respectively, and displays the respective read data by the output unit 102. The contents are updated (S110).

【0059】〈適用例〉図3,4はそれぞれ文字を入力
した場合と削除した場合における入力ボックス,カナボ
ックス,入力文字データベース109に記憶されるデー
タベースを表した図である。以下、図3,4を用いて本
処理の具体的な動作について説明する。出力部102に
表示される入力画面において、ユーザが入力文字を入力
する部分を入力ボックスと呼ぶ。また、図3,4に示さ
れるデータベースのAとBとは、それぞれ文字開始位置
とカナ文字数とを示す。
<Application Example> FIGS. 3 and 4 are diagrams showing an input box, a kana box, and a database stored in the input character database 109 when a character is input and deleted, respectively. The specific operation of this processing will be described below with reference to FIGS. In the input screen displayed on the output unit 102, a portion where the user inputs an input character is called an input box. Further, A and B in the databases shown in FIGS. 3 and 4 indicate the character start position and the number of kana characters, respectively.

【0060】まず、図3を用いて文字を入力(挿入)し
た場合についての具体例を説明する。ここでは、入力ボ
ックスとふりがな記憶部111それぞれに、「技術語」
と「ギジュツゴ」と入力されている状態から処理を開始
する(I1)。
First, a specific example of the case of inputting (inserting) a character will be described with reference to FIG. Here, "technical term" is set in each of the input box and the furigana storage section 111.
The process is started from the state in which "," is entered (I1).

【0061】「術」と「語」との間に「用」という文字
を挿入する命令を入力する(I2)。このとき、「用」
という文字の入力について、変更文字数として”1”,
文字開始位置として”2”,入力カナ文字として「ヨ
ウ」,カナ文字数として”2”,入力文字として「用」
が、カナ文字制御部104に与えられる。変更文字数が
正の数であるため、入力処理であることが判断される。
An instruction to insert the character "for" between "art" and "word" is input (I2). At this time, "for"
"1" as the number of changed characters for the input of the character
"2" as the character start position, "Yo" as the input kana character, "2" as the number of kana characters, "use" as the input character
Are provided to the kana character control unit 104. Since the number of changed characters is a positive number, it is determined that the input processing is performed.

【0062】文字開始位置が”2”であるため、データ
ベースを参照し、文字開始位置(A)の値が2よりも小
さいデータのカナ文字数(B)を合計し、入力カナ文字
のふりがな記憶部111への挿入位置として”2+4=
6”を得る。そして、ふりがな記憶部111の”6”の
位置から、入力カナ文字である「ヨウ」を挿入する。ま
た、変更文字数が”1”であるため、データベースを参
照し、Aの値が2以上のデータについて、Aの値に変更
文字数”1”を加算する(I3)。
Since the character start position is "2", the database is referred to, the number of Kana characters (B) of the data in which the value of the character start position (A) is smaller than 2 is totaled, and the input kana character phonetic character storage unit As the insertion position to 111, "2 + 4 =
6 ”is obtained, and the input kana character“ YOU ”is inserted from the position“ 6 ”in the phonetic-storing memory 111. Further, since the number of changed characters is "1", the database is referred to, and the number of changed characters "1" is added to the value of A for data in which the value of A is 2 or more (I3).

【0063】そして、変更文字数分のループを行ってデ
ータベースに記録されるデータの更新を行う。即ち、文
字開始位置”2”を読み出し、データベースのうち該当
する部分に入力文字「用」とカナ文字数”2”を入力す
る(I4)。
Then, a loop for the number of changed characters is performed to update the data recorded in the database. That is, the character start position "2" is read, and the input character "for" and the kana character number "2" are input to the corresponding part of the database (I4).

【0064】最後に、更新されたデータベースの内容を
読み出し、更新結果を出力部102に表示される画面の
入力ボックスに反映させる(I5)。
Finally, the contents of the updated database are read and the update result is reflected in the input box on the screen displayed on the output unit 102 (I5).

【0065】次に、図4を用いて入力文字が削除される
様子を説明する。ここでは、入力ボックスとふりがな記
憶部111それぞれに、「技術用語」と「ギジュツヨウ
ゴ」と入力されている状態から処理を開始する(D
1)。
Next, how the input characters are deleted will be described with reference to FIG. Here, the process is started from the state in which "technical terms" and "jujutsuyougo" are entered in the input box and the furigana storage section 111, respectively (D
1).

【0066】「術」と「語」との間の「用」という文字
を削除する(D2)。このとき、「用」という文字の入
力について、変更文字数として”−1”,文字開始位置
として”2”がカナ文字制御部104に与えられる。変
更文字数が負の数であるため、削除処理であることが判
断される。
The character "for" between "jutsu" and "word" is deleted (D2). At this time, regarding the input of the character "for", the changed character number "-1" and the character start position "2" are given to the kana character control unit 104. Since the number of changed characters is a negative number, it is determined that the deletion process is being performed.

【0067】文字開始位置が”2”であるため、データ
ベースを参照し、Aの値が2よりも小さいデータのBを
合計し、入力カナ文字のふりがな記憶部111における
削除位置として”2+4=6”を得、削除するカナ文字
数として”2”を得る。そして、ふりがな記憶部111
の”6”の位置から、2文字分のカナ文字を削除する。
即ち「ヨウ」を削除する。また、変更文字数の絶対値分
のループを行ってデータベースに記録されるデータの更
新(削除)を行う。即ち、文字開始位置”2”を読み出
し、データベースのうちAの値が文字開始位置”2”に
該当する部分のデータを削除する(D3)。
Since the character start position is "2", the database is referred to, the data B having a value of A smaller than 2 are totaled, and "2 + 4 = 6" is set as the deletion position in the phonetic guide 111 of the input kana character. And "2" as the number of kana characters to be deleted. Then, the furigana storage unit 111
Two kana characters are deleted from the position of "6".
That is, "you" is deleted. Also, the data recorded in the database is updated (deleted) by performing a loop for the absolute value of the number of changed characters. That is, the character start position "2" is read out, and the data of the portion of the database where the value of A corresponds to the character start position "2" is deleted (D3).

【0068】そして、データベースにおいて、文字開始
位置の配列の値のうち後端の値(本例においては”
2”)よりも大きいAの値を持つデータについて、Aの
値に変更文字数”−1”を加算する(D4)。
Then, in the database, the value at the trailing end of the array value at the character start position (in this example, "
For data having an A value larger than 2 "), the number of changed characters" -1 "is added to the A value (D4).

【0069】最後に、更新されたデータベースの内容を
読み出し、更新結果を出力部102に表示される画面の
入力ボックスに反映させる(D5)。
Finally, the contents of the updated database are read and the update result is reflected in the input box on the screen displayed on the output unit 102 (D5).

【0070】本実施形態によれば、入力ボックスにおい
て新たに文字を入力(挿入)した場合、入力した文字に
おけるふりがなが、ふりがな記憶部111の適切な位置
に自動的に入力されるため、ユーザは入力文字を入力し
た後にさらにふりがなをわざわざ入力する必要がない。
According to the present embodiment, when a new character is input (inserted) in the input box, the phonetic guide for the input character is automatically input at an appropriate position in the phonetic guide storage unit 111, so the user You don't have to enter furigana after entering the input characters.

【0071】また、入力文字において文字を削除した場
合、削除した文字に対応するふりがながふりがな記憶部
111の適切な位置から自動的に削除されるため、ユー
ザは入力文字を削除した後にさらに対応するふりがなを
削除する必要がない。
When a character is deleted from an input character, the phonetic character corresponding to the deleted character is automatically deleted from an appropriate position in the phonetic-phonetic storage unit 111. Therefore, the user further supports after deleting the input character. You don't have to remove the phonetic guide.

【0072】このため、ユーザは同じようなカナ文字の
入力を二度行う必要が無くなり、労力の浪費を防ぐこと
ができる。
Therefore, the user does not need to input the same kana character twice, and the waste of labor can be prevented.

【0073】また、入力及び/又は削除した入力文字に
対応するふりがなが自動的に入力及び/又は削除される
ため、誤ったふりがなの入力や削除を防ぐことができ
る。
Further, since the phonetic guides corresponding to the input and / or deleted input characters are automatically input and / or deleted, it is possible to prevent erroneous input and deletion of the phonetic guides.

【0074】本実施形態は以上のような効果を奏するた
め、例えば人名や住所などのようにふりがなの入力が必
要とされるデータの入力などに用いることが有効であ
る。
Since the present embodiment has the above-mentioned effects, it is effective to use it for inputting data such as a person's name or an address which requires input of a phonetic guide.

【0075】本実施形態の説明における適用例では、入
力文字として平仮名と漢字のみが使用されたが、半角片
仮名,全角片仮名,英数文字等が使用されても良い。
In the application example in the description of this embodiment, only hiragana and kanji are used as input characters, but half-width katakana, full-width katakana, alphanumeric characters, etc. may be used.

【0076】また、本実施形態の説明における適用例で
は、ふりがなとして全角片仮名が使用されたが、半角片
仮名,平仮名,ローマ字(英字)等が使用されても良
い。
Further, in the application example in the description of the present embodiment, full-width katakana is used as the phonetic guide, but half-width katakana, hiragana, romaji (English character) and the like may be used.

【0077】[0077]

【発明の効果】本発明によれば、複数の文字形態を含ん
だ文字列(第一の文字列)があらかじめ入力されている
状態でユーザがさらに上記第一の文字列を入力すると、
入力された文字列に対応したふりがなが自動的に入力さ
れる。また、前記第一の文字列において任意の文字をユ
ーザが削除すると、削除された文字列に対応したふりが
なが自動的に削除される。このため、ユーザは前記第一
の文字列を入力及び/又は削除した後に、ふりがなにつ
いて同様の入力及び/又は削除を行う必要がない。
According to the present invention, when the user further inputs the first character string in the state where the character string (first character string) including a plurality of character forms is input in advance,
The furigana corresponding to the entered character string is automatically entered. When the user deletes an arbitrary character in the first character string, the phonetic guide corresponding to the deleted character string is automatically deleted. Therefore, the user does not need to input and / or delete the first character string and then perform similar input and / or deletion of the phonetic guide.

【0078】従って、ユーザはふりがなの入力及び/又
は削除について意識する必要がなくなり、ユーザの入力
に要する負担を軽減することが可能である。
Therefore, the user does not need to be aware of the input and / or deletion of the phonetic guide, and the burden required for the user's input can be reduced.

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

【図1】 本発明による実施例の構成例を示すブロック
図である。
FIG. 1 is a block diagram showing a configuration example of an embodiment according to the present invention.

【図2】 本発明による実施例による処理のフローチャ
ートを示す図である。
FIG. 2 is a diagram showing a flowchart of processing according to an embodiment of the present invention.

【図3】 本発明による入力処理の適用例を示す図であ
る。
FIG. 3 is a diagram showing an application example of input processing according to the present invention.

【図4】 本発明による削除処理の適用例を示す図であ
る。
FIG. 4 is a diagram showing an application example of a deletion process according to the present invention.

【符号の説明】 100 カナ漢字入力装置 101 入力部 102 出力部 103 カナ文字変換部 104 カナ文字制御部 105 カウンタ 106 変更文字数記憶部 107 文字開始位置記憶部 108 カナ文字数記憶部 109 入力文字データベース 110 入力文字記憶部 111 ふりがな記憶部 112 カナ文字記憶部[Explanation of symbols] 100 Kana-Kanji input device 101 Input section 102 output section 103 Kana character converter 104 Kana character control section 105 counter 106 changed character number storage 107 character start position storage 108 Kana character count storage section 109 input character database 110 input character storage 111 phonetic storage 112 Kana character storage

Claims (14)

【特許請求の範囲】[Claims] 【請求項1】 コンピュータが、入力された1以上の文
字を1以上の他の文字に変換して表示するステップと、 前記コンピュータが、表示された他の文字の近傍に前記
1以上の文字をふりがなとして表示するステップと、 前記コンピュータが、2以上の他の文字からなる第一の
文字列と、この第一の文字列をなす各他の文字に対応す
るふりがなからなる第二の文字列とが表示されている場
合において、第一の文字列をなす文字間に他の文字に変
換される1以上の文字が入力されたときに、この1以上
の文字を、1以上の他の文字に変換して前記文字間に挿
入表示するとともに、挿入表示された他の文字のふりが
なとして、前記文字間に対応する前記第二の文字列のふ
りがな間に挿入表示するステップとを含む文字表示制御
方法。
1. A step in which a computer converts one or more input characters into one or more other characters for display, and the computer displays the one or more characters in the vicinity of the other displayed characters. A step of displaying as a phonetic guide, the computer includes a first character string composed of two or more other characters, and a second character string composed of a phonetic guide corresponding to each of the other characters forming the first character string. When is displayed, when one or more characters that are converted to other characters are input between the characters that form the first character string, the one or more characters are converted to one or more other characters. A character display control method comprising a step of converting and inserting and displaying between the characters, and inserting and displaying as a phonetic guide of another character inserted and displayed, as a phonetic guide of the second character string corresponding to the character. .
【請求項2】 コンピュータが、入力された1以上の文
字を1以上の他の文字に変換して表示するステップと、 前記コンピュータが、表示された他の文字の近傍に前記
1以上の文字をふりがなとして表示するステップと、 前記コンピュータが、1以上の他の文字からなる第一の
文字列と、この第一の文字列をなす各他の文字に対応す
るふりがなからなる第二の文字列とが表示されている場
合において、この第一の文字列の他の文字が削除された
ときに、前記第一の文字列を削除された他の文字分を詰
めて表示するとともに、削除された他の文字に対応する
ふりがなを前記第二の文字列から削除しこの文字分を詰
めて表示するステップとを含む文字表示制御方法。
2. A step in which a computer converts one or more input characters into one or more other characters for display, and the computer displays the one or more characters in the vicinity of the other displayed characters. A step of displaying as a phonetic guide, a first character string composed of one or more other characters, and a second character string composed of a phonetic guide corresponding to each of the other characters forming the first character string. Is displayed, when the other characters of the first character string are deleted, the first character string is displayed with the other characters deleted, and the other characters are deleted. The method for controlling character display, including the step of deleting the phonetic characters corresponding to the characters from the second character string and displaying the characters by packing them.
【請求項3】 前記コンピュータが、前記挿入表示され
た他の文字について、前記第一の文字列におけるこの他
の文字の表示位置を示す位置番号と、この他の文字に対
応するふりがなの文字列とを読み出す表示結果読み出し
ステップと、 前記コンピュータが、既に表示されている前記第一の文
字列の各他の文字について、前記既表示の各他の文字の
前記位置番号と、前記既表示の各他の文字に対応するふ
りがなの文字数とを読み出す既表示結果読み出しステッ
プとをさらに有し、 前記コンピュータが、前記表示結果読み出しステップで
読み出した情報と前記既表示結果読み出しステップにお
いて読み出した情報とを用いて、前記挿入表示された他
の文字に対応するふりがなの文字列を対応する前記第二
の文字列のふりがな間に挿入表示する請求項1に記載の
文字表示制御方法。
3. The position number indicating the display position of the other character in the first character string and the character string of the furigana corresponding to the other character of the other character inserted and displayed by the computer. And a display result reading step of reading, and the computer, for each other character of the first character string that has already been displayed, the position number of each of the other characters already displayed, and each of the already displayed characters. The method further includes an already-displayed result reading step for reading the number of phonetic characters corresponding to other characters, wherein the computer uses the information read at the display result reading step and the information read at the already-displayed result reading step. A contract for inserting and displaying the phonetic character string corresponding to the other character displayed and inserted between the phonetic characters of the corresponding second character string. Character display control method according to claim 1.
【請求項4】 前記コンピュータが、前記削除された他
の文字について、前記第一の文字列において前記削除さ
れた他の文字が表示されていた表示位置を示す位置番号
を読み出す削除結果読み出しステップと、 前記コンピュータが、既に表示されている前記第一の文
字列の各他の文字について、前記既表示の各他の文字の
前記位置番号と、前記既表示の各他の文字に対応するふ
りがなの文字数とを読み出す既表示結果読み出しステッ
プとをさらに有し、 前記コンピュータが、前記削除結果読み出しステップに
おいて読み出した情報と前記既表示結果読み出しステッ
プにおいて読み出した情報とを用いて、前記削除された
他の文字に対応するふりがなを前記第二の文字列から削
除しこの文字分を詰めて表示する請求項2に記載の文字
表示制御方法。
4. A deletion result reading step in which the computer reads a position number indicating a display position where the deleted other character is displayed in the first character string for the deleted other character. , The computer, for each other character of the first character string that has already been displayed, the position number of each other character that has already been displayed, and a phonetic representation corresponding to each other character that has already been displayed. The computer further includes an already-displayed result reading step for reading the number of characters, and the computer uses the information read in the deletion result reading step and the information read in the already-displayed result reading step to delete the other The character display control method according to claim 2, wherein the phonetic characters corresponding to the characters are deleted from the second character string and the characters are packed and displayed. .
【請求項5】 前記コンピュータは、前記既表示の各他
の文字について、前記位置番号と、前記ふりがなの文字
数とを関連づけて記憶する既表示結果データベースを有
する請求項3に記載の文字表示制御方法。
5. The character display control method according to claim 3, wherein the computer has an already-displayed result database that stores the position number and the number of characters of the phonetic guide in association with each other of the already-displayed characters. .
【請求項6】 前記コンピュータは、前記既表示の各他
の文字について、前記位置番号と、前記ふりがなの文字
数とを関連づけて記憶する既表示結果データベースを有
する請求項4に記載の文字表示制御方法。
6. The character display control method according to claim 4, wherein the computer has an already-displayed result database in which the position number and the number of characters of the phonetic guide are stored in association with each other of the already-displayed characters. .
【請求項7】 前記表示更新ステップは、前記挿入表示
された他の文字について、この他の文字の前記位置番号
と、この他の文字に対応するふりがなの文字数とを用い
て、前記既表示結果データベースを更新するデータベー
ス更新ステップをさらに含む請求項5に記載の文字表示
制御方法。
7. The display update step uses the position number of the other character and the number of furigana characters corresponding to the other character for the other character that has been inserted and displayed, and displays the already displayed result. The character display control method according to claim 5, further comprising a database updating step of updating the database.
【請求項8】 前記削除更新ステップは、前記削除され
た他の文字について、前記第一の文字列において前記削
除された他の文字が表示されていた表示位置を示す位置
番号を用いて、前記既表示結果データベースを更新する
データベース更新ステップをさらに含む請求項6に記載
の文字表示制御方法。
8. The deleting and updating step uses the position number indicating a display position where the deleted other character is displayed in the first character string, for the deleted other character, The character display control method according to claim 6, further comprising a database updating step of updating the already displayed result database.
【請求項9】 前記表示更新ステップは、 前記挿入表示された他の文字のうち最初に挿入表示され
た他の文字の位置番号よりも小さな位置番号を持つ、前
記既表示結果読み出しステップによって読み出した情報
の各他の文字に対応するふりがなの文字数を全て加算し
て挿入表示するための位置番号を得るステップと、 既に表示されている前記第二の文字列において、前記挿
入表示する位置番号の指す位置に前記ユーザによって入
力された他の文字に対応するふりがなの文字列を挿入す
るステップとをさらに含む請求項7に記載の文字表示制
御方法。
9. The display updating step has a position number smaller than a position number of another character inserted and displayed first among the other characters displayed and inserted, and is read by the already displayed result reading step. Adding all the numbers of phonetic characters corresponding to each other character of the information to obtain a position number for inserting and displaying, and in the second character string which is already displayed, indicates the position number for inserting and displaying. 8. The character display control method according to claim 7, further comprising the step of inserting a phonetic character string corresponding to another character input by the user at a position.
【請求項10】 前記削除更新ステップは、 削除された他の文字のうち最初に削除された他の文字の
位置番号よりも小さな位置番号を持つ、前記既表示結果
読み出しステップによって読み出した情報の他の文字に
対応するふりがなの文字数を全て加算して削除位置番号
を得るステップと、 削除され他の文字の位置番号に対応する前記既表示結果
読み出しステップによって読み出した情報の他の文字に
対応するふりがなの文字数を全て加算して削除文字数を
得るステップと、 既に入力されている第二の文字列において前記削除位置
番号の指す位置から前記削除文字数だけ文字を削除する
請求項8に記載の文字表示制御方法。
10. The deletion update step further includes the information read by the already-displayed result reading step, which has a position number smaller than the position number of the first deleted other character among the other deleted characters. The step of adding all the numbers of the phonetic characters corresponding to the characters to obtain the deleted position number, and the phonetic patterns corresponding to the other characters of the information read by the already displayed result reading step corresponding to the position numbers of the deleted other characters. 9. The character display control according to claim 8, further comprising the step of adding all the number of characters to obtain the number of deleted characters; Method.
【請求項11】 入力された1以上の文字を1以上の他
の文字に変換して表示するステップと、 表示された他の文字の近傍に前記1以上の文字をふりが
なとして表示するステップと、 2以上の他の文字からなる第一の文字列と、この第一の
文字列をなす各他の文字に対応するふりがなからなる第
二の文字列とが表示されている場合において、第一の文
字列をなす文字間に他の文字に変換される1以上の文字
が入力されたときに、この1以上の文字を、1以上の他
の文字に変換して前記文字間に挿入表示するとともに、
挿入表示された他の文字のふりがなとして、前記文字間
に対応する前記第二の文字列のふりがな間に挿入表示す
るステップとをコンピュータに実行させるプログラム。
11. A step of converting one or more input characters into one or more other characters and displaying the converted characters, and a step of displaying the one or more characters in the vicinity of the other displayed characters as a phonetic guide, In the case where the first character string consisting of two or more other characters and the second character string consisting of the phonetic characters corresponding to each of the other characters forming the first character string are displayed, When one or more characters that are converted into other characters are input between the characters forming the character string, the one or more characters are converted into one or more other characters, and the characters are inserted and displayed between the characters. ,
A program for causing a computer to execute a step of inserting and displaying as a phonetic guide of another character inserted and displayed, between the phonetic guides of the second character strings corresponding to the characters.
【請求項12】 入力された1以上の文字を1以上の他
の文字に変換して表示するステップと、 表示された他の文字の近傍に前記1以上の文字をふりが
なとして表示するステップと、 1以上の他の文字からなる第一の文字列と、この第一の
文字列をなす各他の文字に対応するふりがなからなる第
二の文字列とが表示されている場合において、この第一
の文字列の他の文字が削除されたときに、前記第一の文
字列を削除された他の文字分を詰めて表示するととも
に、削除された他の文字に対応するふりがなを前記第二
の文字列から削除しこの文字分を詰めて表示するステッ
プとをコンピュータに実行させるプログラム。
12. A step of converting one or more input characters into one or more other characters and displaying the converted characters, and a step of displaying the one or more characters as phonetic characters in the vicinity of the other displayed characters, In the case where a first character string consisting of one or more other characters and a second character string consisting of a phonetic guide corresponding to each of the other characters forming the first character string are displayed, this first character string is displayed. When another character of the character string of is deleted, the first character string is displayed with the deleted other characters filled, and a phonetic guide corresponding to the deleted other character is displayed in the second character. A program that causes a computer to execute the steps of deleting from a character string and displaying the characters in a packed manner.
【請求項13】 入力された1以上の文字を1以上の他
の文字に変換して表示する変換表示手段と、 表示された他の文字の近傍に前記1以上の文字をふりが
なとして表示するふりがな表示手段と、 2以上の他の文字からなる第一の文字列と、この第一の
文字列をなす各他の文字に対応するふりがなからなる第
二の文字列とが表示されている場合において、第一の文
字列をなす文字間に他の文字に変換される1以上の文字
が入力されたときに、この1以上の文字を、1以上の他
の文字に変換して前記文字間に挿入表示するとともに、
挿入表示された他の文字のふりがなとして、前記文字間
に対応する前記第二の文字列のふりがな間に挿入表示す
る挿入表示手段とを備えた文字表示制御装置。
13. A conversion display means for converting one or more input characters into one or more other characters and displaying the converted display means, and a furigana for displaying the one or more characters in the vicinity of the other displayed characters as a phonetic guide. In the case where the display means, the first character string made up of two or more other characters, and the second character string made up of furigana corresponding to each of the other characters forming the first character string are displayed. , When one or more characters that are converted to other characters are input between the characters forming the first character string, the one or more characters are converted to one or more other characters and the space between the characters is changed. Insert and display,
A character display control device comprising: insertion display means for inserting and displaying as a phonetic guide of another character inserted and displayed between the phonetic guides of the second character string corresponding to the character.
【請求項14】 入力された1以上の文字を1以上の他
の文字に変換して表示する変換表示手段と、 表示された他の文字の近傍に前記1以上の文字をふりが
なとして表示するふりがな表示手段と、 1以上の他の文字からなる第一の文字列と、この第一の
文字列をなす各他の文字に対応するふりがなからなる第
二の文字列とが表示されている場合において、この第一
の文字列の他の文字が削除されたときに、前記第一の文
字列を削除された他の文字分を詰めて表示するととも
に、削除された他の文字に対応するふりがなを前記第二
の文字列から削除しこの文字分を詰めて表示する削除結
果表示手段とを備えた文字表示制御装置。
14. A conversion display means for converting one or more input characters into one or more other characters for display, and a furigana for displaying the one or more characters in the vicinity of the displayed other characters as a phonetic guide. In the case where the display means, the first character string made up of one or more other characters, and the second character string made up of furigana corresponding to each of the other characters forming the first character string are displayed. , When the other characters of this first character string are deleted, the first character string is displayed packed with the other characters deleted, and the phonetic characters corresponding to the other characters deleted are displayed. A character display control device comprising: a deletion result display unit that deletes from the second character string and displays the characters by packing them.
JP2001313899A 2001-10-11 2001-10-11 Character display control method Pending JP2003122744A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001313899A JP2003122744A (en) 2001-10-11 2001-10-11 Character display control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001313899A JP2003122744A (en) 2001-10-11 2001-10-11 Character display control method

Publications (1)

Publication Number Publication Date
JP2003122744A true JP2003122744A (en) 2003-04-25

Family

ID=19132301

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001313899A Pending JP2003122744A (en) 2001-10-11 2001-10-11 Character display control method

Country Status (1)

Country Link
JP (1) JP2003122744A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011128802A (en) * 2009-12-16 2011-06-30 Kyocera Corp Character input device and mobile terminal device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011128802A (en) * 2009-12-16 2011-06-30 Kyocera Corp Character input device and mobile terminal device

Similar Documents

Publication Publication Date Title
AU2008208056B2 (en) Document changes
CA2007414C (en) Method for manipulating elements within a structured document using active intent interpretations
US5982365A (en) System and methods for interactively generating and testing help systems
CN111259635A (en) Method and system for completing and predicting medical record written text
US20040044954A1 (en) Data-bidirectional spreadsheet
JPS6049425A (en) Display system for sentence processor
JPS63766A (en) Document processor
JP2003122744A (en) Character display control method
JPS61223923A (en) Information processor
US7613709B2 (en) System and method for editing operations of a text object model
JP2786260B2 (en) Kana-Kanji conversion device
JPH04281558A (en) Document retrieving device
JP2675912B2 (en) Character processor
JP2015197697A (en) Character input device, character input method, and character input program
JP2672940B2 (en) Document processing device
JPH0232455A (en) Item extracting system
JP2899087B2 (en) Character processor
JP2714239B2 (en) Character processor
JP2659907B2 (en) Document processing device
JP2697868B2 (en) Output control method and device
JP2013191106A (en) Input support program, input support device and input support method
JP2000163412A (en) Document creating device
JPH1091623A (en) Character conversion device
JPH05101046A (en) Japanese word processor
JPH06266715A (en) Document editing device