JP5939077B2 - Character input support program, character input support method, and character input support device - Google Patents
Character input support program, character input support method, and character input support device Download PDFInfo
- Publication number
- JP5939077B2 JP5939077B2 JP2012170521A JP2012170521A JP5939077B2 JP 5939077 B2 JP5939077 B2 JP 5939077B2 JP 2012170521 A JP2012170521 A JP 2012170521A JP 2012170521 A JP2012170521 A JP 2012170521A JP 5939077 B2 JP5939077 B2 JP 5939077B2
- Authority
- JP
- Japan
- Prior art keywords
- character string
- character
- unit
- input
- noun
- 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.)
- Active
Links
Images
Landscapes
- Document Processing Apparatus (AREA)
Description
本発明は、文字入力支援プログラム等に関する。 The present invention relates to a character input support program and the like.
利用者が入力装置を用いて文字入力を行う場合に、未確定の文字列に対応する複数の変換候補を表示する文字入力支援プログラムが利用される。例えば、文字入力支援プログラムは、利用者により過去に入力された文字列を変換候補として学習しておく。文字入力支援プログラムは、入力装置から入力された文字列の変換処理を行った後に、変換処理後の文字列の情報をテキストエディタ等に出力する。 When a user performs character input using an input device, a character input support program that displays a plurality of conversion candidates corresponding to an undetermined character string is used. For example, the character input support program learns a character string input by the user in the past as a conversion candidate. The character input support program converts the character string input from the input device, and then outputs information on the character string after the conversion processing to a text editor or the like.
ここで、従来技術には、文字列のうち、数字または英字を可変文字として判定し、係る可変文字の部分を可変領域としたテンプレートを生成するものがある。例えば、「貴方の体重は50キロです。」という文字列が入力された場合には、従来技術は「50」を可変文字として判定し、テンプレート「貴方の体重は○○です。」を生成する。「○○」は可変領域である。従来技術は、係るテンプレートを変換候補として表示させ、利用者は、可変領域に所望の数字または英字を入力することで、可変文字以外同一となる文字列を入力する場合に、効率的な文字入力を実行することができる。 Here, in the prior art, there is one that determines a number or an alphabetic character as a variable character in a character string and generates a template in which the variable character portion is a variable region. For example, when a character string “Your weight is 50 kg” is input, the conventional technique determines “50” as a variable character and generates a template “Your weight is OO”. . “XX” is a variable region. The conventional technology displays such a template as a conversion candidate, and the user inputs an efficient character input when inputting the same character string other than the variable character by inputting a desired number or alphabet in the variable area. Can be executed.
しかしながら、上述した従来技術では、テンプレートを適切に生成することができないという問題があった。 However, the above-described conventional technique has a problem that a template cannot be generated appropriately.
従来技術では、文字列に含まれる数字または英字をそのまま可変領域に置き換えてテンプレートを生成している。このため、例えば、テンプレートの先頭が可変領域の場合には、一文字目に数字または英字を入力する度に、テンプレートが変換候補として表示されてしまい、煩雑である。また、住所等は、利用者毎にそれぞれ異なるものであるため、住所をテンプレートとして生成しても、かかるテンプレートが他の利用者に利用されるケースは希であるため、住所からテンプレートを生成しても意味がない。 In the prior art, a template is generated by replacing a number or alphabetic character included in a character string with a variable area as it is. For this reason, for example, when the top of the template is a variable area, the template is displayed as a conversion candidate each time a number or alphabet is input as the first character, which is complicated. In addition, since addresses and the like are different for each user, even if an address is generated as a template, it is rare that such a template is used by other users, so a template is generated from an address. It doesn't make sense.
1つの側面では、上記に鑑みてなされたものであって、テンプレートを適切に生成することができる文字入力支援プログラム、文字入力支援方法および文字入力支援装置を提供することを目的とする。 In one aspect, an object of the present invention is to provide a character input support program, a character input support method, and a character input support device that can generate a template appropriately.
第1の案では、文字入力支援プログラムは、下記の判定する処理、登録する処理をコンピュータに実行させる。判定する処理は、入力された文字列に、名詞と数字と数字の意味を示す文字列との組みが並んで含まれているか否かを判定する。登録する処理は、文字列に名詞と数字と数字の意味を示す文字列との組みが含まれている場合に、名詞と、数字を含む領域に対応する箇所を数字の入力に制限した制限領域と、数字の意味を示す文字列との組みを含む文字列として記憶部に登録する。 In the first plan, the character input support program causes the computer to execute the following determination process and registration process. In the determination process, it is determined whether or not the input character string includes a combination of a noun, a number, and a character string indicating the meaning of the number. The registration process is a restricted area in which nouns and places corresponding to areas containing numbers are restricted to numbers when the string contains a combination of nouns, numbers, and character strings that indicate the meaning of the numbers. And a character string including a combination of a character string indicating the meaning of a number and registered in the storage unit.
本発明の1実施態様によれば、テンプレートを適切に生成することができるという効果を奏する。 According to one embodiment of the present invention, there is an effect that a template can be appropriately generated.
以下に、本願の開示する文字入力支援プログラム、文字入力支援方法および文字入力支援装置の実施例を図面に基づいて詳細に説明する。なお、この実施例によりこの発明が限定されるものではない。 Hereinafter, embodiments of a character input support program, a character input support method, and a character input support device disclosed in the present application will be described in detail with reference to the drawings. Note that the present invention is not limited to the embodiments.
まず、本実施例1に係る文字入力支援装置の構成について説明する。図1は、本実施例1に係る文字入力支援装置の構成を示す機能ブロック図である。図1に示すように、この文字入力支援装置10は、判定部11、登録部12、記憶部13を有する。
First, the configuration of the character input support device according to the first embodiment will be described. FIG. 1 is a functional block diagram illustrating the configuration of the character input support device according to the first embodiment. As shown in FIG. 1, the character
判定部11は、入力された文字列に、名詞と数字と数字の意味を示す文字列との組みが並んで含まれているか否かを判定する。 The determination unit 11 determines whether or not the input character string includes a combination of a noun, a number, and a character string indicating the meaning of the number.
登録部12は、文字列に名詞と数字と数字の意味を示す文字列との組みが含まれている場合に、名詞と、数字を含む領域に対応する箇所を数字の入力に制限した制限領域と、数字の意味を示す文字列との組みを含む文字列として記憶部13に登録する。
When the registration unit 12 includes a combination of a noun, a number, and a character string indicating the meaning of the number, the registration unit 12 restricts the noun and the part corresponding to the region including the number to the input of the number. Are registered in the
本実施例1に係る文字入力支援装置10の効果について説明する。文字入力支援装置10は、名詞と数字と数字の意味を示す文字列との組みが並んで含まれる文字列を求め、該文字列の数字の領域を任意の数字の入力が可能な制限領域に変更してテンプレートに対応する文字列を生成する。このため、文字入力支援装置10によれば、テンプレートを適切に生成することができる。
The effect of the character
本実施例2に係る情報処理装置の構成について説明する。図2は、本実施例2に係る情報処理装置の構成を示す機能ブロック図である。図2に示すように、情報処理装置50は、入力部51、表示部52、テキストエディタ53、文字入力支援部100を有する。
A configuration of the information processing apparatus according to the second embodiment will be described. FIG. 2 is a functional block diagram illustrating the configuration of the information processing apparatus according to the second embodiment. As illustrated in FIG. 2, the
入力部51は、利用者が各種の文字列を入力する入力装置である。例えば、入力部51は、キーボードやタッチパネル等の入力装置に対応する。入力部51から入力される文字列には、各種記号、英数字、かな等が含まれる。なお、利用者は、表示部52に変換候補が表示された場合に、所望の変換候補を選択して、入力部51の改行キーを押下することで、改行コードを入力し、変換後の文字列を確定させる。
The
表示部52は、テキストエディタ53や文字入力支援部100から取得する情報を表示する表示装置である。表示部52は、ディスプレイなどの表示装置に対応する。例えば、表示部52は、利用者が入力部51を操作して入力した各種の文字、記号、英数字などを表示する。また、表示部52は、変換候補を表示する。
The
テキストエディタ53は、文字の情報を表示する処理や、テキストファイルを生成する処理などを実行する処理部である。テキストエディタ53は、後述の文字入力支援部100から、文字の情報を取得し、取得した文字の情報を表示部52に表示させる。その他のテキストエディタ53に関する説明は、周知のテキストエディタと同様である。
The text editor 53 is a processing unit that executes processing for displaying character information, processing for generating a text file, and the like. The text editor 53 acquires character information from the character
文字入力支援部100は、入力部51から入力される文字列を基にして、文字列の数字の領域を任意の数字の入力が可能な可変領域に置換したテンプレートを生成する。文字入力支援部100は、入力部51から入力される文字列に対応するテンプレートを表示領域に表示させ、テンプレートの可変領域に所望の数字が入力された場合に、所望の数字を含むテンプレートを確定文字列としてテキストエディタ53に出力する。
Based on the character string input from the
なお、文字入力支援部100は、入力部51から入力された文字列を学習し、学習した文字列を変換候補として、表示部52に表示をする処理を行うが、係る処理は従来技術と同様であるため、説明を省略する。文字入力支援部100は、文字入力支援装置の一例である。なお、可変領域は制限領域の一例である。
The character
文字入力支援部100の構成について説明する。図3は、本実施例2に係る文字入力支援部の構成を示す機能ブロック図である。図3に示すように、この文字入力支援部100は、バッファ110、記憶部120、格納部130、判定部140、置換部150、登録部160、表示処理部170、出力部180を有する。
The configuration of the character
バッファ110は、文字列を一時的に記憶する記憶装置である。記憶部120は、テンプレートを記憶する記憶装置である。テンプレートに関する説明は後述する。バッファ110、記憶部120は、例えば、RAM(Random Access Memory)、ROM(Read Only Memory)、フラッシュメモリ(Flash Memory)などの半導体メモリ素子などの記憶装置に対応する。
The buffer 110 is a storage device that temporarily stores character strings. The
格納部130は、入力部51から文字列の情報を受け付け、受け付けた文字列の情報を、バッファ110に順次格納する処理部である。
The
判定部140は、バッファ110を参照し、入力部51から入力された文字列に、名詞と、数字と、数字の意味を示す文字列との組みが並んで含まれているか否かを判定する処理部である。ここで、数字の意味を示す文字列は、例えば、単位である。以下の説明では、説明の便宜上、数字の意味を示す文字列を、単位として説明を行う。また、数字は、例えば、アラビア数字に対応する。
The determination unit 140 refers to the buffer 110 and determines whether the character string input from the
以下において、判定部140の処理について具体的に説明する。例えば、判定部140は、文字列に住所に関する文字列が含まれているか否かを判定する処理、閉じ括弧が含まれているか否かを判定する処理、名詞と数字と単位との組みが並んで含まれるか否かを判定する処理を順に実行する。図4は、本実施例2に係る判定部の処理を説明するための図である。図4に示す文字列20a〜20cは、バッファ110に格納される文字列の一例である。 Below, the process of the determination part 140 is demonstrated concretely. For example, the determination unit 140 performs a process of determining whether or not a character string related to an address is included in the character string, a process of determining whether or not a closing parenthesis is included, and a combination of a noun, a number, and a unit. Are sequentially executed to determine whether or not they are included. FIG. 4 is a diagram for explaining the processing of the determination unit according to the second embodiment. Character strings 20 a to 20 c illustrated in FIG. 4 are examples of character strings stored in the buffer 110.
判定部140が、文字列に住所に関する文字列が含まれているか否かを判定する処理について説明する。判定部140は、バッファ110に格納された文字列を参照し、文字列に、数字と共に、文字「都」、「道」、「府」、「県」、「市」、「区」、「町」、「村」のいずれかが一つ以上含まれる場合に、住所に関する文字列が含まれると判定する。例えば、図4の文字列20aでは、数字「4」と共に、「県」、「市」、「区」が含まれる。このため、判定部140は、文字列20aに、住所に関する文字列が含まれると判定する。 A process in which the determination unit 140 determines whether or not a character string related to an address is included in the character string will be described. The determination unit 140 refers to the character string stored in the buffer 110, and in the character string, together with the numbers, the characters “city”, “road”, “fu”, “prefecture”, “city”, “ku”, “ When one or more of “town” and “village” are included, it is determined that a character string related to the address is included. For example, the character string 20a in FIG. 4 includes “prefecture”, “city”, and “ku” together with the number “4”. For this reason, the determination part 140 determines with the character string 20a containing the character string regarding an address.
判定部140が、文字列に閉じ括弧が含まれているか否かを判定する処理について説明する。判定部140は、バッファ110に格納された文字列を参照し、文字列に閉じ括弧「)」が含まれるか否かを判定する。例えば、図4の文字列20bでは、閉じ括弧が含まれている。このため、判定部140は、文字列20bに、閉じ括弧が含まれていると判定する。 A process in which the determination unit 140 determines whether the character string includes a closing parenthesis will be described. The determination unit 140 refers to the character string stored in the buffer 110 and determines whether or not the character string includes a closing parenthesis “)”. For example, the character string 20b in FIG. 4 includes a closing parenthesis. For this reason, the determination unit 140 determines that the character string 20b includes a closing parenthesis.
判定部140が、文字列に名詞と数字と単位との組みが並んで含まれるか否かを判定する処理について説明する。なお、判定部140は、文字列に、住所に関する文字列が含まれている場合には、係る文字列に対して、名詞と数字と単位との組みが並んで含まれるか否かの判定を行わない。また、判定部140は、文字列に閉じ括弧が含まれている場合には、閉じ括弧以降の文字列について、名詞と数字と単位との組みが並んで含まれるか否かの判定を行う。 A process in which the determination unit 140 determines whether or not a combination of a noun, a number, and a unit is included in the character string will be described. When the character string includes a character string related to an address, the determination unit 140 determines whether or not a combination of a noun, a number, and a unit is included in the character string. Not performed. In addition, when the character string includes a closing parenthesis, the determination unit 140 determines whether or not a combination of a noun, a number, and a unit is included in the character string after the closing parenthesis.
すなわち、図4に示した文字列20a〜20cを用いて説明すると、判定部140は、文字列20aに関しては、文字列に名詞と数字と単位との組みが並んで含まれるか否かを判定しない。判定部140は、文字列20bに関しては、閉じ括弧以降の文字列となる「山田太郎」について、文字列に名詞と数字と単位との組みが並んで含まれるか否かを判定する。判定部140は、文字列20cについては、住所に関する文字列も閉じ括弧も含まれていないため、文字列に名詞と数字と単位との組みが並んで含まれるか否かを判定する。
That is to say, using the character strings 20a to 20c shown in FIG. 4, the determination unit 140 determines whether the character string 20a includes a combination of nouns, numbers, and units side by side. do not do. For the character string 20b, the determination unit 140 determines whether or not the character string includes a combination of a noun, a number, and a unit for “Taro Yamada” that is the character string after the closing parenthesis. The determination unit 140 determines whether or not the
判定部140は、判定対象となる文字列に対して、形態素解析を実行し、各形態素の品詞、数字、単位を特定する。判定部140は、文字列に名詞と、数字と、単位との組みが並んで含まれる場合には、係る文字列の情報を置換部150に出力する。なお、判定部140は、名詞と助詞とが並んでいる場合には、名詞と助詞とを名詞とみなしても良い。例えば、図4の文字列20cには、名詞「体重は」、数字「50」、単位「kg」との組みが並んで含まれている。なお、文字列20bには、名詞「山田太郎」が含まれているのみであり、名詞、数字、単位の組みは含まれない。
The determination unit 140 performs morphological analysis on the character string to be determined, and specifies the part of speech, number, and unit of each morpheme. When the character string includes a combination of a noun, a number, and a unit, the determination unit 140 outputs information on the character string to the replacement unit 150. In addition, when the noun and the particle are arranged side by side, the determination unit 140 may regard the noun and the particle as a noun. For example, the
判定部140は、名詞と数字と単位との組みが並んで含まれる文字列の情報を、置換部150に出力する。例えば、図4に示す例では、判定部140は、文字列20cの情報を置換部150に出力する。
The determination unit 140 outputs information on a character string including a combination of a noun, a number, and a unit to the replacement unit 150. For example, in the example illustrated in FIG. 4, the determination unit 140 outputs information on the
置換部150は、名詞と数字と単位との組みが並んで含まれる文字列に対して、数字を含む領域を任意の数字の入力が可能な可変領域に置換することでテンプレートを生成する処理部である。置換部150は、テンプレートの情報を登録部160に出力する。
The replacement unit 150 is a processing unit that generates a template by replacing a region including a number with a variable region in which an arbitrary number can be input for a character string including a combination of a noun, a number, and a unit. It is. The replacement unit 150 outputs the template information to the
図5は、本実施例2に係る置換部の処理を説明するための図である。図5では、文字列20cを例にして置換部150の処理の説明を行う。文字列20cには、図4で説明したように、名詞「体重は」と、数字「50」と、単位「kg」との組みが並んで含まれている。置換部150は、数字の領域21aを、任意の数字の入力が可能な可変領域21bに置換することで、テンプレート20dを生成する。
FIG. 5 is a diagram for explaining the processing of the replacement unit according to the second embodiment. In FIG. 5, the processing of the replacement unit 150 will be described using the
なお、置換部150は、名詞と数字と単位との組みが複数文字列に含まれている場合には、各数字の領域を、それぞれ可変領域に置換することでテンプレートを生成しても良い。図6は、置換部の処理のその他の例を説明するための図である。図6に示す文字列20eは、名詞と数字と単位との組みが複数文字列に含まれている。具体的に、名詞「身長」と数字「170」と単位「cm」との組み、名詞「体重」と数字「50」と単位「kg」との組み、名詞「胸囲」と数字「80」と単位「cm」との組みが含まれる。置換部150は、数字の領域22a、23a、24aをそれぞれ可変領域22b、23b、24bに置換することで、テンプレート20fを生成する。
Note that, when a combination of a noun, a number, and a unit is included in a plurality of character strings, the replacement unit 150 may generate a template by replacing each number area with a variable area. FIG. 6 is a diagram for explaining another example of the processing of the replacement unit. A character string 20e shown in FIG. 6 includes a combination of a noun, a number, and a unit in a plurality of character strings. Specifically, the combination of the noun “height”, the number “170” and the unit “cm”, the combination of the noun “weight”, the number “50” and the unit “kg”, the noun “chest” and the number “80” A set with the unit "cm" is included. The replacement unit 150 generates the
登録部160は、置換部150からテンプレートの情報を取得し、取得したテンプレートの情報を、記憶部120に登録する処理部である。なお、登録部160は、テンプレートに含まれる品詞の数が閾値以下の条件を満たす場合に、テンプレートの情報を記憶部120に登録しても良い。
The
表示処理部170は、記憶部120に記憶されたテンプレートを表示部52の表示領域に表示する処理部である。例えば、表示処理部170は、バッファに入力される文字列と、記憶部120に記憶されたテンプレートとを比較して、文字の一致率が所定値以上となるテンプレートを、表示部52の表示領域に表示しても良い。
The display processing unit 170 is a processing unit that displays the template stored in the
表示処理部170は、表示部52の表示領域にテンプレートを表示させた後に、テンプレートの可変領域に任意の数字が入力された場合には、任意の数字が入力されたテンプレートの情報を、出力部180に出力する。例えば、表示処理部170は、図5のテンプレート20dを表示させた後に、可変領域21bに「60」が入力された場合には、文字列「患者の体重は60kgです。」の情報を、出力部180に出力する。
When an arbitrary number is input to the variable region of the template after the template is displayed in the display area of the
出力部180は、表示処理部170から、可変領域に任意の数字が入力されたテンプレートの情報を受信した場合には、受信したテンプレートの文字列を、テキストエディタ53に出力する処理部である。 The output unit 180 is a processing unit that outputs a character string of the received template to the text editor 53 when receiving information on a template in which an arbitrary number is input to the variable area from the display processing unit 170.
次に、本実施例2に係る文字入力支援部100の処理手順について説明する。図7、図8は、本実施例2に係る文字入力支援部の処理手順を示すフローチャートである。図7は、文字入力支援部100が、テンプレートを生成する処理を示す。図8は、文字入力支援部100が、テンプレートを表示させる処理を示す。
Next, a processing procedure of the character
図7について説明する。図7に示す処理は、例えば、入力部51から文字列の入力を受け付けたことを契機として実行される。図7に示すように、文字入力支援部100は、文字列を受け付けて、バッファ110に格納し(ステップS101)、文字列に住所が含まれているか否かを判定する(ステップS102)。文字入力支援部100は、文字列に住所が含まれている場合には(ステップS102,Yes)、処理を終了する。
FIG. 7 will be described. The process illustrated in FIG. 7 is executed, for example, when an input of a character string is received from the
一方、文字入力支援部100は、文字列に住所が含まれていない場合には(ステップS102,No)、文字列に閉じ括弧が含まれているか否かを判定する(ステップS103)。文字入力支援部100は、文字に閉じ括弧が含まれている場合には(ステップS103,Yes)、ステップS105に移行する。一方、文字入力支援部100は、文字に閉じ括弧が含まれていない場合には(ステップS103,No)、ステップS104に移行する。
On the other hand, when the address is not included in the character string (step S102, No), the character
ステップS104において、文字入力支援部100は、文字列に名詞と数字と単位との組みが並んで含まれている場合には(ステップS104,Yes)、ステップS106に移行する。一方、文字入力支援部100は、文字列に名詞と数字と単位との組みが並んで含まれていない場合には(ステップS104,No)、処理を終了する。
In step S104, when the character string includes a combination of a noun, a number, and a unit in the character string (Yes in step S104), the character
ステップS105において、文字入力支援部100は、閉じ括弧以降の文字列について、名詞と数字と単位との組みが並んで含まれている場合には(ステップS105,Yes)、ステップS106に移行する。一方、文字入力支援部100は、閉じ括弧以降の文字列について、名詞と数字と単位との組みが並んで含まれていない場合には(ステップS105,No)、処理を終了する。
In step S105, the character
ステップS106以降について説明する。文字入力支援部100は、文字列の数字を含む領域を可変領域に置換し(ステップS106)、テンプレートを生成する(ステップS107)。文字入力支援部100は、テンプレートを記憶部120に登録する(ステップS108)。図7に示す処理は、文字入力支援部100が、文字列を受け付ける度に、繰り返し実行される。
Steps S106 and after will be described. The character
図8について説明する。図8に示す処理は、例えば、入力部51から文字列の入力を受け付けたことを契機として実行される。図8に示すように、文字入力支援部100は、文字列を受け付けて、バッファ110に格納する(ステップS201)。
FIG. 8 will be described. The process illustrated in FIG. 8 is executed, for example, when an input of a character string is received from the
文字入力支援部100は、バッファ110の文字列と記憶部120のテンプレートとを比較して、一致率が所定値以上となるテンプレートを、表示部52の表示領域に表示させる(ステップS202)。テンプレートの可変領域に任意の数字が入力されると(ステップS203)、文字入力支援部100は、テンプレートの可変領域に任意の数字が入力された文字列をテキストエディタ53に出力する(ステップS204)。
The character
次に、本実施例2に係る文字入力支援部100の効果について説明する。文字入力支援部100は、名詞と数字と数字の意味を示す文字列との組みが並んで含まれる文字列を判定し、該文字列の数字の領域を任意の数字の入力が可能な可変領域に変更してテンプレートを生成する。このため、文字入力支援部100によれば、テンプレートを適切に生成することができる。
Next, effects of the character
また、文字入力支援部100によれば、上記生成したテンプレートを表示部52の表示領域に表示して、文字入力支援を行うので、利用者は快適に文字入力を行うことができる。例えば、一文字目に可変領域を有するテンプレートは存在しないため、一文字目に数字を入力する度に、テンプレートが変換候補として表示されてしまうことを防止できる。
Further, according to the character
また、文字入力支援部100によれば、文字列に住所に関する文字列が含まれていない場合に、名詞と可変領域と数字の意味を示す文字列との組みを含む文字列をテンプレートとして登録する。このため、利用価値の少ない住所のテンプレートが記憶部120に記憶され、変換候補として表示されることを防ぐことができる。
Further, according to the character
また、文字入力支援部100によれば、入力された文字列に閉じ括弧が含まれている場合には、閉じ括弧以降の文字列に、名詞と数字と数字の意味を示す文字列との組みが並んで含まれているか否かを判定する。閉じ括弧以前の文字列は、会社の所属先などの文字列が含まれている場合が多く、テンプレートとして登録する価値が低い。このため、閉じ括弧以降の文字列に、名詞と数字と数字の意味を示す文字列との組みが並んで含まれているか否かを判定することで、会社の所属先以外の文字列から、テンプレートを作成することができる。
Further, according to the character
上記の実施例2では、文字入力支援部100の処理について説明したが、上述した処理の内容は一例である。実施例3では、文字入力支援部100のその他の処理について説明する。実施例3では説明の便宜上、図3に示した文字入力支援部100を用いて処理を説明する。
In the second embodiment, the process of the character
判定部140は、バッファ110を参照し、入力部51から入力された文字列に、名詞と、数字と、単位との組みが並んで含まれているか否かを判定していたがこれに限定されるものではない。判定部140は、名詞と、記号と、数字と、単位とが並んでいるか否かを判定しても良い。判定部140は、名詞と、記号と、数字と、単位とが並んでいる文字列の情報を置換部150に出力する。そして、置換部150は、名詞と記号と数字と単位との組みが並んで含まれる文字列に対して、記号と数字を含む領域を任意の数字の入力が可能な可変領域に置換することでテンプレートを生成する。このような処理を判定部140、置換部150が実行することによって、数字の前に記号が存在する文字列に対するテンプレートを生成することができる。例えば、数字の前に存在する記号としては、+、−、黒三角、ピリオド、カンマ等が考えられる。
The determination unit 140 refers to the buffer 110 and determines whether the character string input from the
本実施例において説明した各処理のうち、自動的に行われるものとして説明した処理の全部または一部を手動的に行うこともでき、あるいは、手動的に行われるものとして説明した処理の全部あるいは一部を公知の方法で自動的に行うこともできる。この他、上記文書中や図面中で示した処理手順、制御手順、具体的名称、各種のデータやパラメータを含む情報については、特記する場合を除いて任意に変更することができる。例えば、単一の記憶部に、バッファ110と記憶部120とを持たせても良い。
Of the processes described in the present embodiment, all or part of the processes described as being performed automatically can be performed manually, or all of the processes described as being performed manually or A part can be automatically performed by a known method. In addition, the processing procedure, control procedure, specific name, and information including various data and parameters shown in the above-described document and drawings can be arbitrarily changed unless otherwise specified. For example, the buffer 110 and the
次に、実施例に示した文字入力支援部100と同様の機能を実現する文字入力支援プログラムを実行するコンピュータの一例を説明する。図9は、文字入力支援プログラムを実行するコンピュータの一例を示す図である。
Next, an example of a computer that executes a character input support program that realizes the same function as the character
図9に示すように、コンピュータ200は、各種演算処理を実行するCPU201と、ユーザからのデータの入力を受け付ける入力装置202と、ディスプレイ203を有する。また、コンピュータ200は、記憶媒体からプログラム等を読取る読み取り装置204と、ネットワークを介して他のコンピュータとの間でデータの授受を行うインタフェース装置205とを有する。また、コンピュータ200は、各種情報を一時記憶するRAM206と、ハードディスク装置207を有する。そして、各装置201〜207は、バス208に接続される。
As illustrated in FIG. 9, the computer 200 includes a
ハードディスク装置207は、例えば、判定プログラム207a、置換プログラム207b、登録プログラム207c、表示プログラム207d、出力プログラム207eを有する。CPU201は、各プログラム207a〜207eを読み出してRAM206に展開する。
The hard disk device 207 includes, for example, a
判定プログラム207aは、判定プロセス206aとして機能する。置換プログラム207bは、置換プロセス206bとして機能する。登録プログラム207cは、登録プロセス206cとして機能する。表示プログラム207dは、表示プロセス206dとして機能する。出力プログラム207eは、出力プロセス206eとして機能する。
The
例えば、判定プロセス206aは、判定部140に対応する。置換プロセス206b
は、置換部150に対応する。登録プロセス206cは、登録部160に対応する。表示プロセス206dは、表示処理部170に対応する。出力プロセス206eは、出力部180に対応する。
For example, the
Corresponds to the replacement unit 150. The
なお、各プログラム207a〜207eについては、必ずしも最初からハードディスク装置207に記憶させておかなくてもよい。例えば、コンピュータ200に挿入されるフレキシブルディスク(FD)、CD−ROM、DVDディスク、光磁気ディスク、ICカードなどの「可搬用の物理媒体」に各プログラムを記憶させておく。そして、コンピュータ200がこれらから各プログラム207a〜207eを読み出して実行するようにしてもよい。
Note that the
ところで、図3に示した各処理部130〜160は、例えば、ASIC(Application Specific Integrated Circuit)や、FPGA(Field Programmable Gate Array)などの集積装置に対応する。また、各処理部130〜160は、例えば、CPUやMPU(Micro Processing Unit)等の電子回路に対応する。
3 corresponds to an integrated device such as an ASIC (Application Specific Integrated Circuit) or an FPGA (Field Programmable Gate Array). Each
以上の各実施例を含む実施形態に関し、さらに以下の付記を開示する。 The following supplementary notes are further disclosed with respect to the embodiments including the above examples.
(付記1)コンピュータに、
入力された文字列に、名詞と数字と数字の意味を示す文字列との組みが並んで含まれているか否かを判定し、
前記文字列に名詞と数字と数字の意味を示す文字列との組みが含まれている場合に、前記名詞と、前記数字を含む領域に対応する箇所を数字の入力に制限した制限領域と、前記数字の意味を示す文字列との組みを含む文字列として記憶部に登録する
各処理を実行させることを特徴とする文字入力支援プログラム。
(Supplementary note 1)
Determine whether the input string contains a combination of nouns, numbers, and character strings that indicate the meaning of the numbers,
When the character string includes a combination of a noun, a number, and a character string indicating the meaning of the number, the noun and a restriction region that restricts a position corresponding to the region including the number to the input of a number, A character input support program which causes each process to be registered in a storage unit as a character string including a combination with a character string indicating the meaning of the number.
(付記2)前記数字の意味を示す文字列は、前記数字の単位である、
ことを特徴とする付記1に記載の文字入力支援プログラム。
(Supplementary Note 2) The character string indicating the meaning of the number is a unit of the number.
The character input support program according to Supplementary Note 1, wherein
(付記3)前記記憶部に登録された前記文字列を表示領域に表示し、
表示された前記文字列の制限領域に所望の数字が入力された場合に、前記所望の数字を含む確定文字列を文書エディタに出力する
処理を更にコンピュータに実行させることを特徴とする付記1または2に記載の文字入力支援プログラム。
(Appendix 3) Displaying the character string registered in the storage unit in a display area,
The supplementary note 1 or 2, further comprising: causing a computer to execute a process of outputting a confirmed character string including the desired number to a document editor when a desired number is input to the restricted area of the displayed character string. 2. The character input support program according to 2.
(付記4)前記判定する処理は、名詞と記号と数字と数字の意味を示す文字列との組みが並んで含まれているか否かを判定し、前記登録する処理は、名詞と記号と数字と記号と数字の意味を示す文字列との組みが並んで含まれている場合に、名詞と記号と前記制限領域と数字の意味を示す文字列との組みを含む文字列を登録することを特徴とする付記1、2または3に記載の文字入力支援プログラム。 (Additional remark 4) The said determination process determines whether the combination of the character string which shows the meaning of a noun, a symbol, a number, and a number is contained side by side, The said process to register is a noun, a symbol, and a number A character string that includes a combination of a noun, a symbol, the restriction area, and a character string that indicates the meaning of a number. Character input support program according to appendix 1, 2 or 3, which is characterized.
(付記5)前記登録する処理は、前記文字列に住所に関する文字列が含まれていない場合に、前記名詞と前記制限領域と数字の意味を示す文字列との組みを含む文字列を登録することを特徴とする付記1〜4のいずれか一つに記載の文字入力支援プログラム。 (Additional remark 5) The said process to register registers the character string containing the combination of the character string which shows the meaning of the said noun, the said restriction | limiting area | region, and a number, when the character string regarding an address is not contained in the said character string The character input support program as described in any one of the supplementary notes 1-4 characterized by the above-mentioned.
(付記6)前記判定する処理は、入力された文字列に閉じ括弧が含まれている場合には、前記閉じ括弧以降の文字列に、名詞と数字と数字の意味を示す文字列との組みが並んで含まれているか否かを判定することを特徴とする付記1〜5のいずれか一つに記載の文字入力支援プログラム。 (Supplementary note 6) When the input character string includes a closing parenthesis, the determination process includes a combination of a noun, a number, and a character string indicating the meaning of the number in the character string after the closing parenthesis. The character input support program according to any one of appendices 1 to 5, wherein it is determined whether or not are included side by side.
(付記7)コンピュータが実行する文字入力支援方法であって、
入力された文字列に、名詞と数字と数字の意味を示す文字列との組みが並んで含まれているか否かを判定し、
前記文字列に名詞と数字と数字の意味を示す文字列との組みが含まれている場合に、前記名詞と、前記数字を含む領域に対応する箇所を数字の入力に制限した制限領域と、前記数字の意味を示す文字列との組みを含む文字列として記憶部に登録する
各処理を実行することを特徴とする文字入力支援方法。
(Supplementary note 7) A character input support method executed by a computer,
Determine whether the input string contains a combination of nouns, numbers, and character strings that indicate the meaning of the numbers,
When the character string includes a combination of a noun, a number, and a character string indicating the meaning of the number, the noun and a restriction region that restricts a position corresponding to the region including the number to the input of a number, A character input support method, wherein each process of registering in a storage unit as a character string including a combination with a character string indicating the meaning of the number is executed.
(付記8)前記数字の意味を示す文字列は、前記数字の単位である、
ことを特徴とする付記7に記載の文字入力支援方法。
(Supplementary Note 8) The character string indicating the meaning of the number is a unit of the number.
The character input support method according to appendix 7, wherein
(付記9)前記記憶部に登録された前記文字列を表示領域に表示し、
表示された前記文字列の制限領域に所望の数字が入力された場合に、前記所望の数字を含む確定文字列を文書エディタに出力する
処理を更に実行することを特徴とする付記7または8に記載の文字入力支援方法。
(Appendix 9) Displaying the character string registered in the storage unit in a display area,
Additional processing 7 or 8 further includes a process of outputting a confirmed character string including the desired number to a document editor when a desired number is input to the restricted area of the displayed character string. The text input support method described.
(付記10)前記判定する処理は、名詞と記号と数字と数字の意味を示す文字列との組みが並んで含まれているか否かを判定し、前記登録する処理は、名詞と記号と数字と記号と数字の意味を示す文字列との組みが並んで含まれている場合に、名詞と記号と前記制限領域と数字の意味を示す文字列との組みを含む文字列を登録することを特徴とする付記7、8または9に記載の文字入力支援方法。 (Additional remark 10) The said determination process determines whether the combination of the character string which shows the meaning of a noun, a symbol, a number, and a number is contained side by side, The said process to register is a noun, a symbol, and a number A character string that includes a combination of a noun, a symbol, the restriction area, and a character string that indicates the meaning of a number. The character input support method according to appendix 7, 8 or 9, which is characterized by the following.
(付記11)前記登録する処理は、前記文字列に住所に関する文字列が含まれていない場合に、前記名詞と前記制限領域と数字の意味を示す文字列との組みを含む文字列を登録することを特徴とする付記7〜10のいずれか一つに記載の文字入力支援方法。 (Additional remark 11) When the said registration process does not contain the character string regarding an address in the said character string, the character string containing the combination of the said noun, the said restriction | limiting area | region, and the character string which shows the meaning of a number is registered. The character input support method according to any one of appendices 7 to 10, wherein
(付記12)前記判定する処理は、入力された文字列に閉じ括弧が含まれている場合には、前記閉じ括弧以降の文字列に、名詞と数字と数字の意味を示す文字列との組みが並んで含まれているか否かを判定することを特徴とする付記7〜11のいずれか一つに記載の文字入力支援方法。 (Supplementary note 12) When the input character string includes a closing parenthesis, the determination process includes a combination of a noun, a number, and a character string indicating the meaning of the number in the character string after the closing parenthesis. The character input support method according to any one of appendices 7 to 11, wherein it is determined whether or not are included side by side.
(付記13)入力された文字列に、名詞と数字と数字の意味を示す文字列との組みが並んで含まれているか否かを判定する判定部と、
前記文字列に名詞と数字と数字の意味を示す文字列との組みが含まれている場合に、前記名詞と、前記数字を含む領域に対応する箇所を数字の入力に制限した制限領域と、前記数字の意味を示す文字列との組みを含む文字列として記憶部に登録する登録部と
を有することを特徴とする文字入力支援装置。
(Supplementary Note 13) A determination unit that determines whether or not a combination of a noun, a number, and a character string indicating the meaning of the number is included in the input character string,
When the character string includes a combination of a noun, a number, and a character string indicating the meaning of the number, the noun and a restriction region that restricts a position corresponding to the region including the number to the input of a number, A character input support device, comprising: a registration unit that registers in a storage unit as a character string including a combination with a character string indicating the meaning of the number.
(付記14)前記数字の意味を示す文字列は、前記数字の単位である、
ことを特徴とする付記13に記載の文字入力支援装置。
(Supplementary note 14) The character string indicating the meaning of the number is a unit of the number.
The character input support device according to
(付記15)前記記憶部に登録された前記文字列を表示領域に表示する表示部と、
表示された前記文字列の制限領域に所望の数字が入力された場合に、前記所望の数字を含む確定文字列を文書エディタに出力する出力部と
を更に有することを特徴とする付記13または14に記載の文字入力支援装置。
(Supplementary Note 15) A display unit that displays the character string registered in the storage unit in a display area;
And an output unit that outputs a confirmed character string including the desired number to a document editor when a desired number is input to the restricted area of the displayed character string. The character input support device described in 1.
(付記16)前記判定部は、名詞と記号と数字と数字の意味を示す文字列との組みが並んで含まれているか否かを判定し、前記登録部は、名詞と記号と数字と記号と数字の意味を示す文字列との組みが並んで含まれている場合に、名詞と記号と前記制限領域と数字の意味を示す文字列との組みを含む文字列を登録することを特徴とする付記13、14または15に記載の文字入力支援装置。
(Additional remark 16) The said determination part determines whether the combination of the noun, the symbol, the number, and the character string which shows the meaning of a number is contained side by side, The said registration part is a noun, a symbol, a number, and a symbol. And a character string that includes a combination of a noun, a symbol, the restriction area, and a character string that indicates the meaning of a number, The character input support device according to
(付記17)前記登録部は、前記文字列に住所に関する文字列が含まれていない場合に、前記名詞と前記制限領域と数字の意味を示す文字列との組みを含む文字列を登録することを特徴とする付記13〜16のいずれか一つに記載の文字入力支援装置。
(Additional remark 17) The said registration part registers the character string containing the combination of the character string which shows the meaning of the said noun, the said restriction | limiting area | region, and a number, when the character string regarding an address is not contained in the said character string. The character input support device according to any one of
(付記18)前記判定部は、入力された文字列に閉じ括弧が含まれている場合には、前記閉じ括弧以降の文字列に、名詞と数字と数字の意味を示す文字列との組みが並んで含まれているか否かを判定することを特徴とする付記13〜17のいずれか一つに記載の文字入力支援装置。 (Supplementary Note 18) When the input character string includes a closing parenthesis, the determination unit includes a combination of a noun, a number, and a character string indicating the meaning of the number in the character string after the closing parenthesis. It is determined whether it is contained side by side, The character input assistance apparatus as described in any one of Additional remarks 13-17 characterized by the above-mentioned.
(付記19)メモリと、
前記メモリに接続されたプロセッサと、を具備し、
前記プロセッサは、
入力された文字列に、名詞と数字と数字の意味を示す文字列との組みが並んで含まれているか否かを判定し、
前記文字列に名詞と数字と数字の意味を示す文字列との組みが含まれている場合に、前記名詞と、前記数字を含む領域に対応する箇所を数字の入力に制限した制限領域と、前記数字の意味を示す文字列との組みを含む文字列として記憶部に登録する
各処理を実行することを特徴とする文字入力支援装置。
(Supplementary note 19) Memory
A processor connected to the memory,
The processor is
Determine whether the input string contains a combination of nouns, numbers, and character strings that indicate the meaning of the numbers,
When the character string includes a combination of a noun, a number, and a character string indicating the meaning of the number, the noun and a restriction region that restricts a position corresponding to the region including the number to the input of a number, A character input support device for executing each process of registering in a storage unit as a character string including a combination with a character string indicating the meaning of the number.
(付記20)入力された文字列に、名詞と数字と数字の意味を示す文字列との組みが並んで含まれているか否かを判定し、
前記文字列に名詞と数字と数字の意味を示す文字列との組みが含まれている場合に、前記名詞と、前記数字を含む領域に対応する箇所を数字の入力に制限した制限領域と、前記数字の意味を示す文字列との組みを含む文字列として記憶部に登録する
各処理をコンピュータに実行させる文字入力支援プログラムを記憶する、コンピュータが読み取り可能な記録媒体。
(Supplementary note 20) It is determined whether or not the input character string includes a combination of a noun, a number, and a character string indicating the meaning of the number,
When the character string includes a combination of a noun, a number, and a character string indicating the meaning of the number, the noun and a restriction region that restricts a position corresponding to the region including the number to the input of a number, A computer-readable recording medium that stores a character input support program that causes a computer to execute each process that is registered in a storage unit as a character string that includes a combination with a character string that indicates the meaning of the number.
10 文字入力支援装置
11 判定部
12 登録部
13 記憶部
10 Character Input Support Device 11 Judgment Unit 12
Claims (8)
入力された文字列に、名詞と数字と数字の意味を示す文字列との組みが並んで含まれているか否かを判定し、
前記文字列に名詞と数字と数字の意味を示す文字列との組みが含まれている場合に、前記名詞と、前記数字を含む領域に対応する箇所を数字の入力に制限した制限領域と、前記数字の意味を示す文字列との組みを含む文字列として記憶部に登録する
各処理を実行させることを特徴とする文字入力支援プログラム。 On the computer,
Determine whether the input string contains a combination of nouns, numbers, and character strings that indicate the meaning of the numbers,
When the character string includes a combination of a noun, a number, and a character string indicating the meaning of the number, the noun and a restriction region that restricts a position corresponding to the region including the number to the input of a number, A character input support program which causes each process to be registered in a storage unit as a character string including a combination with a character string indicating the meaning of the number.
ことを特徴とする請求項1に記載の文字入力支援プログラム。 The character string indicating the meaning of the number is a unit of the number.
The character input support program according to claim 1.
表示された前記文字列の制限領域に所望の数字が入力された場合に、前記所望の数字を含む確定文字列を文書エディタに出力する
処理を更にコンピュータに実行させることを特徴とする請求項1または2に記載の文字入力支援プログラム。 Displaying the character string registered in the storage unit in a display area;
The computer is further configured to execute a process of outputting a confirmed character string including the desired number to a document editor when a desired number is input to the restricted area of the displayed character string. Or the character input assistance program of 2.
入力された文字列に、名詞と数字と数字の意味を示す文字列との組みが並んで含まれているか否かを判定し、
前記文字列に名詞と数字と数字の意味を示す文字列との組みが含まれている場合に、前記名詞と、前記数字を含む領域に対応する箇所を数字の入力に制限した制限領域と、前記数字の意味を示す文字列との組みを含む文字列として記憶部に登録する
各処理を実行することを特徴とする文字入力支援方法。 A character input support method executed by a computer,
Determine whether the input string contains a combination of nouns, numbers, and character strings that indicate the meaning of the numbers,
When the character string includes a combination of a noun, a number, and a character string indicating the meaning of the number, the noun and a restriction region that restricts a position corresponding to the region including the number to the input of a number, A character input support method, wherein each process of registering in a storage unit as a character string including a combination with a character string indicating the meaning of the number is executed.
前記文字列に名詞と数字と数字の意味を示す文字列との組みが含まれている場合に、前記名詞と、前記数字を含む領域に対応する箇所を数字の入力に制限した制限領域と、前記数字の意味を示す文字列との組みを含む文字列として記憶部に登録する登録部と
を有することを特徴とする文字入力支援装置。 A determination unit that determines whether or not a combination of a noun, a number, and a character string indicating the meaning of the number is included in the input character string;
When the character string includes a combination of a noun, a number, and a character string indicating the meaning of the number, the noun and a restriction region that restricts a position corresponding to the region including the number to the input of a number, A character input support device, comprising: a registration unit that registers in a storage unit as a character string including a combination with a character string indicating the meaning of the number.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012170521A JP5939077B2 (en) | 2012-07-31 | 2012-07-31 | Character input support program, character input support method, and character input support device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012170521A JP5939077B2 (en) | 2012-07-31 | 2012-07-31 | Character input support program, character input support method, and character input support device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2014029646A JP2014029646A (en) | 2014-02-13 |
JP5939077B2 true JP5939077B2 (en) | 2016-06-22 |
Family
ID=50202159
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2012170521A Active JP5939077B2 (en) | 2012-07-31 | 2012-07-31 | Character input support program, character input support method, and character input support device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5939077B2 (en) |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5501581B2 (en) * | 2008-07-25 | 2014-05-21 | シャープ株式会社 | Information processing apparatus and information processing method |
JP5487764B2 (en) * | 2009-07-06 | 2014-05-07 | 富士通株式会社 | Medical information input program, medical information input device, medical information input method, template generation program, template generation method, and template generation device |
-
2012
- 2012-07-31 JP JP2012170521A patent/JP5939077B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2014029646A (en) | 2014-02-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9824085B2 (en) | Personal language model for input method editor | |
JP2014504398A (en) | Text conversion and expression system | |
US10134367B2 (en) | Rendering texts on electronic devices | |
JP2010520532A (en) | Input stroke count | |
CN104281560B (en) | Display method, device and terminal of memory text information | |
US20150309590A1 (en) | Inputting method and associated electronic device | |
TW201512858A (en) | Electronic device and text-input interface displaying method thereof | |
CN108052212A (en) | A kind of method, terminal and computer-readable medium for inputting word | |
JP5939077B2 (en) | Character input support program, character input support method, and character input support device | |
US10430503B2 (en) | Electronic display content fitting | |
JP2014026514A (en) | Character input support program, character input support method, and character input support device | |
JP4999014B2 (en) | Inserting objects using a text editor that supports scalable fonts | |
KR102556563B1 (en) | Font update method and device for text range | |
JP2014044555A (en) | Image processing apparatus, image processing system, and program | |
KR102487810B1 (en) | Method for providing web document for people with low vision and user terminal thereof | |
TW542977B (en) | Data sharing method for traditional and simplified Chinese input method | |
KR20100063390A (en) | Method of inputting letter using touch input and mobile terminal | |
JP4632935B2 (en) | Input device | |
JP2008102657A (en) | Character input device and method | |
Anderson | Bridging the Divide: Supporting Minority and Historic Scripts in Fonts: Problems and Recommendations | |
TWI543005B (en) | Input component of user fonts and input method of user fonts | |
JP2012256203A (en) | Character processing device, character processing method and program | |
JP5891886B2 (en) | Electronic document creation device, printing device, and program | |
KR20160069292A (en) | Method and Apparatus for Letters Input of Sliding Type using pattern | |
JP2013174958A (en) | Text reading aloud device and text reading aloud method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20150406 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20160325 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20160419 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20160502 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5939077 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |