JP5988614B2 - Character input device, character input method, and character input program - Google Patents
Character input device, character input method, and character input program Download PDFInfo
- Publication number
- JP5988614B2 JP5988614B2 JP2012039361A JP2012039361A JP5988614B2 JP 5988614 B2 JP5988614 B2 JP 5988614B2 JP 2012039361 A JP2012039361 A JP 2012039361A JP 2012039361 A JP2012039361 A JP 2012039361A JP 5988614 B2 JP5988614 B2 JP 5988614B2
- Authority
- JP
- Japan
- Prior art keywords
- input
- character string
- character
- pictogram
- characters
- 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
- Machine Translation (AREA)
- Document Processing Apparatus (AREA)
Description
本発明は、文字入力装置、文字入力方法及び文字入力プログラムに関する。 The present invention relates to a character input device, a character input method, and a character input program.
携帯電話機等の普及により、携帯電話機等を用いた電子メールの利用が増加している。携帯電話機等を用いた電子メールにおいては、表現豊かな電子メールを作成するために、絵文字を用いることが一般的となっている。絵文字を入力する際は、基本的には、特定のキーを押下して絵文字のリストを表示し、当該リストから所望の絵文字を選択する操作が必要となる。このような操作を簡易化するために、所定の単語と当該単語に関連付けられた絵文字を記憶しておき、所定の単語が入力された際に当該関連付けられた絵文字を変換候補として表示する方法が知られている(例えば特許文献1参照)。 With the spread of mobile phones and the like, the use of electronic mail using mobile phones and the like is increasing. In e-mail using a mobile phone or the like, pictograms are generally used in order to create an expressive e-mail. When inputting pictograms, basically, an operation of displaying a list of pictograms by pressing a specific key and selecting a desired pictogram from the list is required. In order to simplify such an operation, there is a method for storing a predetermined word and a pictogram associated with the word and displaying the associated pictogram as a conversion candidate when the predetermined word is input. It is known (see, for example, Patent Document 1).
ところで、近年、絵文字のバリエーションは急速に多様化しており、文字に着色を行ったり、アニメーション画像を貼り付けることが可能となっている。そのような状況において、個々人の絵文字の使い方も多様化してきており、従来のように、所定の単語と当該単語に関連付けられた絵文字とを記憶しておき、所定の単語が入力された際に当該関連付けられた絵文字を変換候補として表示する、という方法のみでは、ユーザが意図する絵文字を円滑に表示するという点において十分ではなく、ユーザにとって利便性が高い文字入力方法を提供できていないという問題があった。 By the way, in recent years, variations of pictograms are rapidly diversifying, and it is possible to color characters or attach animation images. Under such circumstances, the usage of pictograms by individuals has also diversified, and when a predetermined word is input, a predetermined word and a pictogram associated with the word are stored as in the past. The method of displaying the associated pictogram as a conversion candidate alone is not sufficient in terms of smoothly displaying the pictogram intended by the user, and a problem that a character input method that is highly convenient for the user cannot be provided. was there.
本発明は、上記実情に鑑みてなされたものであり、絵文字の使用態様の多様化に対応し、各ユーザが意図する絵文字を円滑に入力できる文字入力装置、文字入力方法及び文字入力プログラムを提供することを目的とする。 The present invention has been made in view of the above circumstances, and provides a character input device, a character input method, and a character input program that can smoothly input pictograms intended by each user in response to diversification of the usage of pictograms. The purpose is to do.
本発明に係る文字入力装置は、参照文字列と絵文字との対応関係を記憶する記憶手段と、文字を入力する入力手段と、入力手段によって入力された文字列のうち特定の範囲の文字列である抽出文字列を抽出する抽出手段と、記憶手段によって記憶された参照文字列と抽出手段によって抽出された抽出文字列とを末尾から比較して一致する文字数を判断する比較手段と、比較手段による比較において一致すると判断された文字が多い参照文字列に対応付けられて記憶手段に記憶された絵文字ほど、優先順位を高くし、入力候補として提示する提示手段と、を備える。 A character input device according to the present invention includes a storage unit that stores a correspondence relationship between a reference character string and a pictogram, an input unit that inputs a character, and a character string in a specific range among character strings input by the input unit. extraction means for extracting a certain extraction string, comparing means and an extraction character string extracted by the reference character string and extracting means stored by the storage means to determine the number of characters that match with the last comparison, the comparison means A pictograph that is stored in the storage unit in association with a reference character string that has a large number of characters that are determined to match in the comparison in FIG.
この文字入力装置では、記憶手段が参照文字列と絵文字とを対応づけて記憶しており、当該参照文字列の後半部と、入力手段により入力された文字列のうち特定の範囲の文字列(抽出文字列)とを比較し、当該比較の結果に応じて絵文字を入力候補として提示する。比較手段による比較においては、参照文字列の後半部の文字数を逐次変えながら、参照文字列の後半部と抽出文字列が一致するか否かが文字単位に判断される。すなわち、参照文字列が、抽出文字列と単語として完全一致するか否かが判断されるのではなく、参照文字列のうち一部の文字のみ一致(部分一致)する場合についても考慮でき、このような部分一致した参照文字列に対応づけられた絵文字も候補として提示することが可能となる。 In this character input device, the storage means stores the reference character string and the pictogram in association with each other, and the latter half of the reference character string and a character string in a specific range among the character strings input by the input means ( The extracted character strings are compared with each other, and pictograms are presented as input candidates according to the result of the comparison. In the comparison by the comparison means, it is determined on a character-by-character basis whether or not the latter half of the reference character string matches the extracted character string while sequentially changing the number of characters in the latter half of the reference character string. That is, it is not determined whether or not the reference character string exactly matches the extracted character string as a word, but it is also possible to consider the case where only a part of the reference character string matches (partial match). Pictograms associated with such partially matched reference character strings can be presented as candidates.
部分一致を考慮して参照文字列に対応づけられた絵文字を候補として提示できるため、従来よりも柔軟に絵文字入力候補を提示でき、多様化する絵文字の使用態様にも対応することができる。また、従来よりも容易に多種の絵文字入力候補が提示できるため、ユーザが意図する絵文字を円滑に入力することが可能となる。 Since pictograms associated with the reference character string in consideration of partial matching can be presented as candidates, pictogram input candidates can be presented more flexibly than in the past, and it is possible to deal with diversified usage of pictograms. In addition, since various types of pictograph input candidates can be presented more easily than in the past, it is possible to smoothly input pictographs intended by the user.
また、本発明に係る文字入力装置において、抽出手段は、入力手段によって入力された文字列のうち、文字の入力位置を示すカーソル位置より特定の文字数分遡った範囲の抽出文字列を抽出することが好ましい。カーソル位置から特定の文字数分遡った範囲の文字を抽出することで、絵文字挿入予定箇所の直前の文字列を抽出文字列として採用することができ、よりユーザの意図と合致した絵文字入力候補を表示することが可能になる。 In the character input device according to the present invention, the extraction unit extracts an extracted character string in a range that is a specific number of characters back from the cursor position indicating the character input position, out of the character string input by the input unit. Is preferred. By extracting characters within the range of a specific number of characters from the cursor position, the character string immediately before the location where the pictogram is to be inserted can be adopted as the extracted character string, and more pictogram input candidates that match the user's intention are displayed. It becomes possible to do.
また、記憶手段は、参照文字列と絵文字とをトライ構造により関連付けて記憶することが好ましい。トライ構造とすることによって、例えば表形式でデータを記憶した場合と比べ、比較手段による抽出文字列との比較に要する処理時間を大幅に短くできる。 The storage means preferably stores the reference character string and the pictogram in association with each other by a trie structure. By adopting the trie structure, for example, the processing time required for comparison with the extracted character string by the comparison means can be significantly shortened as compared with the case where data is stored in a table format.
また、提示手段は、絵文字を抽出文字列の直後に入力される入力候補として提示することが好ましい。比較手段においては、参照文字列の後半部と抽出文字列とが比較され、提示手段は、当該参照文字列に対応した絵文字を入力候補として提示する。すなわち、入力候補として提示する絵文字は、参照文字列の後半部の直後の絵文字であるため、当該参照文字列の後半部と比較される抽出文字列の直後に絵文字を入力することで、比較手段による比較結果に沿った絵文字の提示を可能とし、ユーザが意図した位置に絵文字を入力することができる。 The presenting means preferably presents the pictograph as an input candidate that is input immediately after the extracted character string. In the comparing means, the latter half of the reference character string is compared with the extracted character string, and the presenting means presents pictograms corresponding to the reference character string as input candidates. That is, since the pictogram presented as an input candidate is the pictogram immediately after the latter half of the reference character string, the comparison means can be obtained by inputting the pictogram immediately after the extracted character string to be compared with the latter half of the reference character string. Thus, it is possible to present pictograms according to the comparison result, and to enter pictograms at positions intended by the user.
また、提示手段は、比較手段による比較において参照文字列のうち一致する文字が多い程、当該文字列の優先順位を高くする。参照文字列が複数ある場合には、抽出文字列と参照文字列で一致する文字列が多い絵文字を優先的に提示することで、ユーザが意図している可能性が高い絵文字を優先的に提示することができ、ユーザにとっての利便性が向上する。また、記憶手段は、絵文字に係る日時を示すタイムスタンプを記憶しており、提示手段は、タイムスタンプを考慮して、優先順位を決定してもよい。 Moreover, presenting means, the more characters matching one of the reference character strings in the comparison by the comparing means, it can prioritize the character string. When there are multiple reference character strings, preferentially present pictograms that have a high probability that the user intends by preferentially presenting pictographs that have many matching character strings in the extracted character string and the reference character string. This improves the convenience for the user. The storage unit may store a time stamp indicating the date and time related to the pictogram, and the presentation unit may determine the priority order in consideration of the time stamp.
また、提示手段は、比較手段による比較において参照文字列のうち一致しない文字が多い程、当該文字列の優先順位を低くすることが好ましい。参照文字列が複数ある場合には、抽出文字列と参照文字列で一致しない文字列が多い絵文字の提示優先度を下げることで、ユーザが意図している可能性が低い絵文字が高い優先度で提示されることを防止でき、ユーザにとっての利便性が向上する。 The presenting means preferably lowers the priority of the character string as the number of characters that do not match in the comparison by the comparing means increases. If there are multiple reference character strings, lowering the display priority of pictograms that have many non-matching character strings in the extracted character string and the reference character string allows the pictograms that are unlikely to be intended by the user to be given higher priority. It can be prevented from being presented and convenience for the user is improved.
また、入力手段によって入力される文字と合わせて絵文字を入力する絵文字入力手段と、絵文字入力手段によって入力された絵文字と当該絵文字の直前の文字列とを対応付けて記憶手段に記憶させる学習手段と、を更に備えることが好ましい。絵文字を入力する方法として、提示手段により提示された絵文字を入力する方法、後述する入力された文字から絵文字に変換して入力する方法、絵文字リストから絵文字を選択し入力する方法があるが、これら全ての絵文字の入力を絵文字入力手段により行うことができる。また、学習手段が、絵文字入力手段により入力された絵文字と当該絵文字の直前の文字列とを記憶手段に記憶させることにより、個々人のユーザが使用した絵文字について、文字列との対応を記憶手段に記憶させることができ、次回以降の使用時に当該データを用いた絵文字入力候補の表示が可能となる。 A pictograph input unit that inputs a pictograph together with a character input by the input unit; a learning unit that stores the pictograph input by the pictograph input unit and the character string immediately before the pictograph in association with each other in the storage unit; Are preferably further provided. As a method for inputting pictograms, there are a method for inputting pictograms presented by the presenting means, a method for inputting pictograms converted from input characters to be described later, and a method for selecting and inputting pictograms from a pictogram list. All pictograms can be input by pictogram input means. Further, the learning means stores the pictogram input by the pictogram input means and the character string immediately before the pictogram in the storage means, so that the correspondence between the pictogram used by each individual user and the character string is stored in the storage means. It is possible to store them, and it is possible to display pictogram input candidates using the data at the next and subsequent uses.
また、学習手段は、絵文字入力手段によって絵文字が入力された時刻に応じて記憶手段に記憶させ、提示手段は、当該時刻を考慮して参照文字列の優先順位を決定することが好ましい。入力された時刻を、提示手段による参照文字列の優先順位決定の考慮事項とすることにより、最近使用した参照文字列の優先順位を上げるなど、ユーザの絵文字使用態様に合致した絵文字入力候補の表示が可能となる。 Further, it is preferable that the learning unit stores the storage unit in accordance with the time when the pictogram is input by the pictogram input unit, and the presentation unit determines the priority order of the reference character string in consideration of the time. By displaying the input time as a consideration for determining the priority order of reference character strings by the presentation means, the priority order of recently used reference character strings is raised, and the like, and display of pictogram input candidates that match the user's pictogram usage mode Is possible.
また、絵文字入力手段は、入力手段によって入力された文字を絵文字に変換することが好ましい。入力中の未確定文字列を当該文字列に紐づけられた絵文字に変換することが可能になり、入力後の確定文字列に対応した絵文字を候補から選択して入力するという方法と併用して使用することにより、入力中及び入力確定後の両方で容易に絵文字を入力できる。 Moreover, it is preferable that the pictograph input unit converts the character input by the input unit into a pictograph. It becomes possible to convert an unconfirmed character string being input into a pictogram linked to the character string, and in combination with a method of selecting and inputting a pictogram corresponding to the confirmed character string after input By using it, pictograms can be easily input both during input and after input confirmation.
また、本発明に係る文字入力方法は、参照文字列と絵文字とを関連付けて記憶する記憶手段を備える文字入力装置による文字入力方法であって、文字を入力する入力ステップと、入力ステップにおいて入力された文字列のうち特定の範囲の文字列である抽出文字列を抽出する抽出ステップと、記憶手段によって記憶された参照文字列と抽出ステップにおいて抽出された抽出文字列とを末尾から比較して一致する文字数を判断する比較ステップと、比較ステップにおける比較において一致すると判断された文字が多い参照文字列に対応付けられて記憶手段に記憶された絵文字ほど、優先順位を高くし、入力候補として提示する提示ステップと、を備える。この文字入力方法は、上述の文字入力装置と同様な効果を奏することができる。 A character input method according to the present invention is a character input method by a character input device including a storage unit that stores a reference character string and a pictogram in association with each other, and is input in an input step for inputting characters and an input step. and an extraction step of extracting an extraction character string is a character string of a particular range of the character string, and an extraction character string extracted in the reference string and extracting steps stored by the storage means and compared from the end The comparison step for determining the number of matching characters and the pictograms stored in the storage means in association with the reference character strings that are determined to match in the comparison in the comparison step are given higher priority and presented as input candidates. Presenting step. This character input method can achieve the same effect as the character input device described above.
また、本発明に係る文字入力プログラムは、コンピュータに、文字入力処理をさせる文字入力プログラムであって、コンピュータを、参照文字列と絵文字との対応関係を記憶する記憶手段と、文字を入力する入力手段と、前記入力手段によって入力された文字列のうち特定の範囲の文字列である抽出文字列を抽出する抽出手段と、記憶手段によって記憶された参照文字列と抽出手段によって抽出された抽出文字列とを末尾から比較して一致する文字数を判断する比較手段と、前記比較手段による比較において一致すると判断された文字が多い前記参照文字列に対応付けられて前記記憶手段に記憶された絵文字ほど、優先順位を高くし、入力候補として提示する提示手段と、して機能させる。この文字入力プログラムは、上述の文字入力装置と同様な効果を奏することができる。 The character input program according to the present invention is a character input program that causes a computer to perform character input processing, and that stores the storage means for storing the correspondence between the reference character string and the pictogram, and the input for inputting the character. Means for extracting an extracted character string that is a character string in a specific range from the character string input by the input means, a reference character string stored by the storage means, and an extracted character extracted by the extraction means comparison means for determining the number of characters that match by comparing the sequence from the end, which is stored in the storage means in association with the reference string character is determined to match often in comparison by the comparing means pictogram The higher the priority is, the more it is made to function as a presentation means for presenting as an input candidate. This character input program can achieve the same effect as the character input device described above.
本発明によれば、絵文字の使用態様の多様化に対応し、各ユーザが意図する絵文字を円滑に入力できる文字入力装置、文字入力方法及び文字入力プログラムを提供することができる。 According to the present invention, it is possible to provide a character input device, a character input method, and a character input program that can smoothly input pictograms intended by each user in response to diversification of pictogram usage modes.
以下、図面と共に本発明に係る文字入力装置、文字入力方法及び文字入力プログラムの好適な実施形態について詳細に説明する。なお、図面の説明においては同一要素には同一符号を付し、重複する説明を省略する。 DESCRIPTION OF EMBODIMENTS Hereinafter, preferred embodiments of a character input device, a character input method, and a character input program according to the present invention will be described in detail with reference to the drawings. In the description of the drawings, the same elements are denoted by the same reference numerals, and redundant description is omitted.
まず、図1を参照して、本実施形態に係る文字入力装置1の機能配置について説明する。図1は、本発明の実施形態に係る文字入力装置1の機能ブロックを示す図である。図1に示すように、本実施形態に係る文字入力装置1は、記憶部11と、入力部12と、抽出部13と、比較部14と、提示部15と、絵文字入力部16と、学習部17と、を備えて構成される。文字入力装置1は例えば携帯電話等の文字入力、特に絵文字(例えば携帯電話で使用するデコレーションメールで用いるもの)の入力に用いられる。なお、文字入力装置1はCPU、メモリ等を備えるハード構成となっている。
First, the functional arrangement of the
記憶部11は、参照文字列と絵文字との対応関係を記憶する記憶手段である。当該記憶部11は、参照文字列と絵文字とをトライ構造(ツリー構造)により関連付けて記憶する。絵文字を入力する主なモードとして、入力後の確定文字列に対応した絵文字を候補から選択して入力するコンテキストモードと、入力中の未確定文字列を当該文字列の一部又は全部をメタタグとして持つ絵文字に変換可能な変換モードとがある。
The
記憶部11は、コンテキストモード用の辞書として図2に示すコンテキスト候補表示用辞書18を、変換モード用の辞書として図3に示す変換用辞書19を、それぞれ備えている。これらの辞書は、ユーザ使用時に自動的に切り替わるものであり、確定文字列に対応した絵文字を入力する場合はコンテキスト候補表示用辞書18を、未確定文字列を変換する場合は変換用辞書19を、それぞれ検索する。すなわち、これらの辞書は相互に補完的に動作するものである。
The
入力部12は、文字を入力する入力手段である。文字の入力は例えばユーザの入力操作を受け付けることにより行う。入力部12により入力された文字列と、記憶部11に記憶された参照文字列とが、後述する比較部14によって比較される。なお、文字入力装置1によって文字を入力する際には、文字の入力位置を示すカーソルの位置に文字を入力し、入力された文字とカーソルとが表示装置上に表示される。カーソルはユーザの操作で移動させることが可能である。
The
抽出部13は、入力部12によって入力された文字列のうち特定の範囲の文字列である抽出文字列を抽出する抽出手段である。この抽出部13は、入力部12によって入力された文字列のうち、文字の入力位置を示すカーソル位置より特定の文字数分遡った範囲の抽出文字列を抽出する。
The
比較部14は、記憶部11によって記憶された参照文字列の後半部と抽出部13によって抽出された抽出文字列とを当該後半部の文字数を変えながら比較して一致を判断する比較手段である。
The
提示部15は、比較部14による比較の結果に応じて、参照文字列に対応付けられて記憶部11に記憶された絵文字を入力候補として提示する提示手段である。入力候補として提示とは、例えば入力候補として表示することをいう。この提示部15は、絵文字を、抽出部13が抽出した抽出文字列の直後に入力される入力候補として提示する。また、この提示部15は、入力候補が複数ある場合は比較部14による比較において記憶部11が記憶する参照文字列のうち一致する文字が多い程、当該文字列の優先順位を高くし、比較部14による比較において記憶部11が記憶する参照文字列のうち一致しない文字が多い程、当該文字列の優先順位を低くする。さらに、この提示部15は、記憶部11が記憶している、絵文字入力部16によって絵文字が入力された時刻を考慮して、参照文字列の優先順位を決定する。
The
絵文字入力部16は、入力手段によって入力される文字と合わせて絵文字を入力する絵文字入力手段である。絵文字を入力する方法として、提示部15により提示された絵文字を入力する方法、入力された文字から絵文字に変換して入力する方法、絵文字リストから絵文字を選択し入力する方法があるが、これら全ての絵文字の入力を絵文字入力部16により行う。
The
学習部17は、絵文字入力部16によって入力された絵文字と当該絵文字の直前の抽出文字列とを対応付けて記憶部11に記憶させる学習手段である。この学習部17は、絵文字入力部16によって絵文字が入力された時刻(タイムスタンプ)についても記憶部11に記憶させる。
The
本実施形態に係る文字入力装置1の機能配置についての説明は以上である。文字入力に関して各部が行う具体的な処理は、図4の文字入力装置1のコンテキストモードの処理を参照して、後述する。
This completes the description of the functional layout of the
次に、図2を参照して、入力後の確定文字列に対応した絵文字を候補から選択して入力するコンテキストモードにおいて使用するコンテキスト候補表示用辞書18について説明する。図2は、本発明の実施形態に係る文字入力装置1のコンテキスト候補表示用辞書18を示す図である。本コンテキスト候補表示用辞書18では参照文字列と絵文字とをトライ構造(ツリー構造)により関連付けて記憶している。また、本コンテキスト候補表示用辞書18は、参照文字列を逆読みで格納した、逆引き辞書である。
Next, the context
当該コンテキスト候補表示用辞書18はレコードの集合であり、各レコードは、参照文字列、絵文字素材ID、タイムスタンプの三つの組である。参照文字列とは、文字のみのもののほか、末尾に絵文字を含むものである。絵文字素材IDとは、各絵文字毎に設定されたIDである。タイムスタンプとは、絵文字が入力された日時を示すものである。当該辞書データ構造は文字列の部分一致と絵文字素材の最終使用時間ソートを効率的に行うことを目的としており、キーの保持はパトリシアトライ(Patricia trie)で実装されている。図2に示すようにトライの葉が参照文字列に対応しており、五十音順に双方向リンクトリストでつながれている。また、五十音順で連続する200個程度の参照文字列がグループをなしており、グループ内では各参照文字列が持つ絵文字素材の最新タイムスタンプ順にリンクトリストが構成されている。
The context
図2においては、ツリーの枝が三方向に分かれているが、それぞれが一の参照文字列を示している。また、各参照文字列には、各種の絵文字(?、!!など)が紐づいて格納されている。一の参照文字列に複数の絵文字が紐づいて格納される場合には、タイムスタンプの新しい絵文字が、優先的に選定されるように格納される。 In FIG. 2, the branches of the tree are divided in three directions, and each represents one reference character string. Each reference character string stores various pictograms (?,!, Etc.) in association with each other. When a plurality of pictograms are stored in association with one reference character string, a new pictogram with a time stamp is stored so as to be preferentially selected.
次に、図3を参照して、入力中の未確定文字列を当該文字列の一部又は全部をメタタグとして持つ絵文字に変換可能な変換モードにおいて使用する変換用辞書19について説明する。図3は、本発明の実施形態に係る文字入力装置1の変換用辞書19を示す図である。本変換用辞書19は、トライ構造を採用すること等の辞書データ構造について、先述したコンテキスト候補表示用辞書18と同様である。コンテキスト候補表示用辞書18との相違点として、変換用辞書19は逆引き辞書ではなく通常の辞書である。また、絵文字素材に基づいたメタタグを用いて表示し、検索時には、メタタグに対する完全一致検索ではなく、逐次一致検索が行われる。
Next, with reference to FIG. 3, a description will be given of the
次に図4を参照して、文字入力装置1のコンテキストモードの処理を説明する。コンテキストモードとは、入力後の確定文字列に対応した絵文字を候補から選択して入力するモードである。
Next, the context mode processing of the
図4に示すように、まず、入力部12により文字が入力され当該入力が確定される(S01、入力ステップ)。入力確定後、カーソル手前のn文字を文脈キーとして取得し、当該文脈キーに基づく抽出文字列で絵文字入力候補を検索する(S02、抽出ステップ、比較ステップ、提示ステップ)。上記n文字は、文字入力装置1毎に任意に設定が可能である。また、絵文字入力候補の検索処理については、図5で詳細を説明する。
As shown in FIG. 4, first, a character is input by the
絵文字入力候補の検索後、絵文字入力候補が存在するか否かが判断される(S03、提示ステップ)。絵文字入力候補が存在した場合には、提示部15により、当該絵文字入力候補が表示され(S04、提示ステップ)、ユーザ操作待ち状態となる(S05)。当該ユーザ操作待ち状態で、ユーザにより表示された絵文字入力候補が選択されると、絵文字入力部16により当該選択された絵文字が入力され、学習部17は、入力された絵文字と当該絵文字の直前の抽出文字列とを対応付けて記憶部11に記憶させる(S06)。当該学習処理については、図6で詳細を説明する。また、ユーザ操作待ち状態で、次の絵文字入力候補を表示するように操作した場合には、S04において、当該別の候補が表示される。また、ユーザ操作待ち状態で、文字入力を開始した場合には、文字が未確定となるため変換モードとなる。また、ユーザ操作待ち状態で、カーソルの移動を行うとS02における文脈キーとして取得する対象の文字列が変更となるため再度S02の処理が行われる。なお、S03において絵文字入力候補が存在しない場合にも、ユーザ操作待ち状態(S07)となり、当該カーソル位置で絵文字入力候補を表示することはできないため、文字入力を開始してモードを変換モードとするか、カーソルを移動してS02の処理を再度行うまで、ユーザ操作待ち状態となる。文字入力装置1のコンテキストモードの処理説明は以上である。
After searching for a pictograph input candidate, it is determined whether there is a pictograph input candidate (S03, presentation step). When there is a pictograph input candidate, the presenting
次に図5を参照して、絵文字入力候補の検索処理を説明する。まず、抽出部13は、S01において確定している文字入力後のカーソル位置の手前にある最大8文字の文字列を、編集中のテキスト領域から取得する(S08、抽出ステップ)。次に、抽出部13は取得した文字列が8文字未満であるか否かを判断する(S09、抽出ステップ)。8文字未満である場合には、抽出部13は取得した文字列の先頭にスタート記号をつける(S10、抽出ステップ)。なお、スタート記号とは文脈キーの先頭に付与され、文字列の先頭を明らかにするものである。次に、抽出部13は取得した文字列が句読点を含むか否かを判断する(S11、抽出ステップ)。句読点を含む場合には、抽出部13は句読点等の直前までの文字列を取出し、先頭にスタート記号をつけたものを文脈キーとする(S12、抽出ステップ)。次に、抽出部13は取得した文字列の末尾n文字以外に絵文字を含むか否かを判断する(S13、抽出ステップ)。末尾n文字以外に絵文字を含む場合には、抽出部13は末尾n文字の連続した絵文字以外の最も後ろの絵文字以降を抽出し、先頭にスタート記号をつけたものを文脈キーとする(S14、抽出ステップ)。次に、抽出部13は、文脈キーがルールに従ったものであるか否かを判断する(S15、抽出ステップ)。具体的には、S17〜S21に従って、判断を行う。抽出部13は文脈キーがルールに従ったものでないと判断した場合には、絵文字入力候補の検索結果として候補なしの結果を返却する。一方で、文脈キーがルールに従ったものである場合には、抽出部13は文脈キーを有効キーと判断し、当該文脈キーを抽出文字列として抽出する(S16、抽出ステップ)。
Next, with reference to FIG. 5, a search process for pictogram input candidates will be described. First, the
S16において抽出された抽出文字列は、逆読みされ、比較部14により、記憶部11に記憶された参照文字列の語尾を含む後半部と比較される(S22、比較ステップ)。なお、後半部は、参照文字列の全体を含む。すなわち、参照文字列全体と比較してもよい。また、抽出文字列の語尾を含む任意の文字数の後半部自体も抽出文字列としてもよい(逆読みして比較することと同様)。比較部14による比較においては、具体的には、参照文字列の後半部の文字数を変えながら、文字の一致、不一致が判断される。抽出文字列と参照文字列は、末尾の数文字(有効末尾)が必ず一致している必要があり、比較部14は、当該有効末尾が一致するか否かを判断し、一致する参照文字列のみを取り出す(S23、比較ステップ)。なお、有効末尾として採用されるためには、文字数が3文字以上であるか、2文字であって漢字を含むものであるか、又は1文字の漢字であって、当該漢字が有効な漢字として設定されたものであるか、のいずれかに該当する必要がある。最後に、比較部14が取出した参照文字列について、一致文字数、不一致文字数、タイムスタンプを勘案して、提示部15が優先順位を決め、その順位で絵文字入力候補を表示する(S24、提示ステップ)。なお、上記3要件については、一致文字数、不一致文字数、タイムスタンプの順に優先的に判断される。絵文字入力候補を表示して以降の処理は、図4のS03〜S07にて説明している。
The extracted character string extracted in S16 is reversely read and compared with the latter half part including the end of the reference character string stored in the
S08〜S16の抽出ステップにおける処理について具体例で説明する。入力部12により「恋はすまじ」が入力され、当該入力が確定されたとする(S01、入力ステップ)。抽出部13は、当該入力確定後のカーソルの位置から手前、最大8文字を取得可能であるところ、「恋はすまじ」は5文字であるので、当該5文字が抽出部13により取得され(S08、抽出ステップ)、また8文字未満であるので、抽出部13により文字列の先頭にスタート記号がつけられる(S9、S10、抽出ステップ)。そして、抽出部13は、「恋はすまじ」が句読点を含まず、文字列に絵文字を含まず、文脈キーがルールに従ったものであるため、当該文脈キーは有効キーであると判断し、「恋はすまじ」を抽出文字列として抽出する(S11〜S16、抽出ステップ)。
The process in the extraction steps of S08 to S16 will be described with a specific example. It is assumed that “Koi Hamaji” is input by the
次に、「恋はすまじ」が抽出文字列として抽出された後の、S22〜S24の比較ステップ及び提示ステップにおける処理について、図2を参照しながら具体的に説明する。比較部14は、抽出文字列「恋はすまじ」を逆読みし、記憶部11に記憶された参照文字列後半部と比較する(S22、比較ステップ)。いま、「許すまじ」「それってまじ」「まじ」の参照文字列が、図2に示すコンテキスト候補表示用辞書18に記憶されている。それぞれの参照文字列の後半部の文字数を変えながら、抽出文字列「恋はすまじ」と比較すると、「許すまじ」は3文字一致、2文字不一致「それってまじ」は2文字一致、4文字不一致「まじ」は2文字一致、1文字不一致となる。次に、一致する参照文字列として取り出すためには、抽出文字列と参照文字列で有効末尾「まじ」が一致する「許すまじ」「それってまじ」「まじ」の三種類の参照文字列は、比較部14により全て取出される(S23、比較ステップ)。なお、本来、S23の処理において、有効末尾が2文字の場合は漢字を含む必要があるが、説明をわかりやすくするため、ひらがな2文字の「まじ」を有効末尾としている。
Next, the processing in the comparison step and the presentation step in S22 to S24 after “Koi Hamaji” is extracted as an extracted character string will be specifically described with reference to FIG. The
比較部14が取出した「許すまじ」「それってまじ」「まじ」の三種類の参照文字列について、一致文字数、不一致文字数、タイムスタンプを勘案して、提示部15が優先順位を決め、当該優先順位で絵文字入力候補を表示する。いま、提示部15は、最も一致文字数が多い「許すまじ」を第一優先、「それってまじ」よりも不一致文字数が少ない「まじ」を第二優先、「それってまじ」を第三優先とし、当該優先順位で、それぞれの参照文字列に対応する絵文字を、絵文字入力候補として表示する(S24、提示ステップ)。上記優先順位に従って絵文字入力候補を提示すると、「*」「!!3」「!!1」「?」「!!2」となるが、重複した絵文字は候補として提示されないため、最終的には「*」「!!」「?」の順で絵文字入力候補が提示される。絵文字入力候補の検索処理説明は以上である。
For the three types of reference character strings “permissive magic”, “sore magic” and “maji” extracted by the
次に図6を参照して、文字入力装置1の学習処理を説明する。まず、絵文字の入力が確定すると、カーソル位置が絵文字を挿入した位置の後ろに移動する(S25)。次に、変換キーを使用したか否か、すなわち変換モードで絵文字が入力されたか否かが判断される(S26)。変換キーを使用した場合には、図3に示した変換用辞書において、選択された絵文字素材のタイムスタンプが現在時刻にアップデートされ(S27)、カーソル移動前の位置で文脈キーが取得される(S28)。次に、図2に示したコンテキスト候補表示用辞書18において、抽出文字列と参照文字列の全体が一致するか否かが判断される(S29)。全体一致した場合には、選択された絵文字素材のタイムスタンプを現在時刻にアップデートする(S291)。全体一致しなかった場合には、当該抽出文字列を参照文字列とするレコードを新設する(S292)。なお、全体一致しなかった場合とは、抽出文字列と全体一致する参照文字列が既存の辞書に存在しなかったということであり、これまでは当該抽出文字列と絵文字との組み合わせで使用されることはなかったということである。次に、抽出文字列と語尾から部分一致する参照文字列があるか否かが判断される(S293)。この場合、抽出文字列と参照文字列の両方が語尾を含む部分であっても良いし、または、一方は文字列全体であっても良い。即ち、抽出文字列の語尾を含む一部又は全部と、参照文字列の語尾を含む一部又は全部とが一致するレコードが、コンテキスト候補表示用辞書18にあるか否か(抽出文字列と参照文字列の全体同士が一致する場合(S29でYESとなる場合)を除く)が判断される。部分一致する参照文字列がある場合には、当該参照文字列に紐づく絵文字素材のタイムスタンプを現在時刻にアップデートし(S294)、学習処理は完了となる。文字入力装置1の学習処理説明は以上である。
Next, the learning process of the
S29〜S294の処理について、図2を参照しながら具体例で説明する。抽出文字列を「恋はすまじ」、参照文字列を「許すまじ」「それってまじ」「まじ」とした場合に、当該抽出文字列と当該参照文字列が全体一致するか否かが判断され(S29)、全体一致しないため、当該抽出文字列「恋はすまじ」を参照文字列とするレコードを新設する(S292)。次に、抽出文字列「恋はすまじ」と語尾から部分一致する参照文字列があるか否かが判断され(S293)、部分一致する参照文字列「許すまじ」「それってまじ」「まじ」があるため、当該参照文字列に紐づく絵文字素材のタイムスタンプを現在時刻にアップデートする(S294)。 The processing of S29 to S294 will be described with a specific example with reference to FIG. Whether the extracted character string matches the reference character string as a whole when the extracted character string is “Koi Hamaji” and the reference character string is “Permitted”, “That Seriously”, and “Maji” As a result of the determination (S29), the entire character string does not match, so that a record with the extracted character string “Koi Hamaji” as a reference character string is created (S292). Next, it is determined whether or not there is a reference character string partially matching the extracted character string “Koi Hamaji” from the end of the word (S293). Therefore, the time stamp of the pictographic material linked to the reference character string is updated to the current time (S294).
次に図7を参照して、文字入力装置1の変換モードの処理を説明する。変換モードとは、入力中の未確定文字列を当該文字列の一部又は全部をメタタグとして持つ絵文字に変換可能なモードである。
Next, the conversion mode processing of the
図7に示すように、まず、入力部12により文字が入力され(S30)、入力が確定していない状態で、IM漢字変換モードの起動が行われ、入力された文字が変換文字列に追加され、IMの変換候補が表示される(S31)。次に、変換文字列を変換キーとして取得し、変換キーに基づき絵文字入力候補を図3に示した変換用辞書を用いて検索する(S32)。絵文字入力候補の検索処理については、図8で詳細を説明する。 As shown in FIG. 7, first, a character is input by the input unit 12 (S30), and the IM kanji conversion mode is activated in a state where the input is not confirmed, and the input character is added to the converted character string. Then, IM conversion candidates are displayed (S31). Next, the conversion character string is acquired as a conversion key, and pictogram input candidates are searched using the conversion dictionary shown in FIG. 3 based on the conversion key (S32). The pictogram input candidate search process will be described in detail with reference to FIG.
絵文字入力候補の検索後、絵文字入力候補が存在するか否かが判断される(S33)。絵文字入力候補が存在した場合には、当該絵文字入力候補が表示され(S34)、ユーザ操作待ち状態となる(S35)。当該ユーザ操作待ち状態で、表示された絵文字入力候補を選択すると、絵文字入力部16により当該選択された絵文字が入力され、学習部17により、図6で詳細を説明した学習処理が行われる(S36)。なお、当該学習処理の後は、コンテキストモードに変更となる。また、ユーザ操作待ち状態で、次の絵文字入力候補を表示するように操作した場合には、S34において、当該別の候補が表示される。また、ユーザ操作待ち状態で、文字入力を開始した場合には、再度S31の処理が行われる。また、ユーザ操作待ち状態で、カーソルの移動を行うとコンテキストモードに変更される。また、IMが選択した候補をテキストに挿入した場合にも、コンテキストモードに変更となる(S37)。なお、S33において絵文字入力候補が存在しない場合にもユーザ操作待ち状態(S38)となり、当該カーソル位置で絵文字入力候補を表示することはできないため、絵文字を入力するためには、文字入力を開始して再度S31の処理を行うか、カーソルを移動してコンテキストモードとするか、またはIMが選択した候補をテキストに挿入し、コンテキストモードに変更する(S39)までユーザ操作待ち状態となる。文字入力装置1の変換モードの処理説明は以上となる。
After searching for a pictograph input candidate, it is determined whether there is a pictograph input candidate (S33). If there is a pictograph input candidate, the pictograph input candidate is displayed (S34), and a user operation waiting state is entered (S35). When the displayed pictogram input candidate is selected while waiting for the user operation, the selected pictogram is input by the
次に図8を参照して、絵文字入力候補の検索処理(変換処理)を説明する。まず、変換キーを使って、変換用辞書19を検索する(S40)。次に、変換キーを先頭に含む参照文字列を抽出し(S41)、最後に各参照文字列に含まれる絵文字素材を最終使用順にソートして(S42)、変換処理は完了となる。絵文字入力候補の検索処理説明は以上である。
Next, a search process (conversion process) for pictogram input candidates will be described with reference to FIG. First, the
次に、本実施形態に係る文字入力装置1及び文字入力方法の作用・効果について説明する。
Next, operations and effects of the
この文字入力装置1では、記憶手段が参照文字列と絵文字とを対応づけて記憶しており、当該参照文字列の後半部と、抽出文字列とを比較し、当該比較の結果に応じて絵文字を入力候補として提示する。比較手段による比較においては、参照文字列の後半部の文字数を逐次変えながら、参照文字列の後半部と抽出文字列が一致するか否かが文字単位に判断される。すなわち、参照文字列が、抽出文字列と単語として完全一致するか否かが判断されるのではなく、参照文字列のうち一部の文字のみ一致(部分一致)する場合についても考慮でき、このような部分一致した参照文字列に対応づけられた絵文字も候補として提示することが可能となる。部分一致を考慮して参照文字列に対応づけられた絵文字を候補として提示できるため、従来よりも柔軟に絵文字入力候補を提示でき、多様化する絵文字の使用態様にも対応することができる。また、従来よりも容易に多種の絵文字入力候補が提示できるため、ユーザが意図する絵文字を円滑に入力することが可能となる。
In this
また、本実施形態に係る文字入力装置1のように、抽出手段が入力手段によって入力された文字列のうち、文字の入力位置を示すカーソル位置より特定の文字数分遡った範囲の抽出文字列を抽出することにより、絵文字挿入予定箇所の直前の文字列を抽出文字列として採用することができ、よりユーザの意図と合致した絵文字入力候補を表示することが可能となる。
Further, as in the
また、本実施形態に係る文字入力装置1のように、記憶手段が参照文字列と絵文字とをトライ構造により関連付けて記憶することにより、例えば表形式でデータを記憶した場合と比べ、比較手段による抽出文字列との比較に要する処理時間を大幅に短くできる。
Further, as in the
また、本実施形態に係る文字入力装置1のように、提示手段が絵文字を抽出文字列の直後に入力される入力候補として提示することにより、比較手段による比較結果に沿った絵文字の提示を可能とし、ユーザが意図した位置に絵文字を入力することができる。
In addition, as in the
また、本実施形態に係る文字入力装置1のように、提示手段が、比較手段による比較において参照文字列のうち一致する文字が多い程、当該文字列の優先順位を高くすること及び、比較手段による比較において参照文字列のうち一致しない文字が多い程、当該文字列の優先順位を低くすることにより、ユーザが意図している可能性が高い絵文字を優先的に提示することができ、ユーザにとっての利便性が向上する。
Further, as in the
また、本実施形態に係る文字入力装置1のように、絵文字入力手段、及び学習手段を備えることにより、各種方法による絵文字の入力を絵文字入力手段により行い、当該絵文字入力手段により入力された絵文字と当該絵文字の直前の文字列とを記憶手段に記憶させることが可能となる。個々人のユーザが使用した絵文字について、文字列との対応を記憶手段に記憶させることで、次回以降の使用時に当該データを用いて絵文字入力候補を表示することが可能となり、ユーザの利便性が向上する。
In addition, like the
また、本実施形態に係る文字入力装置1のように、学習手段が絵文字入力手段によって絵文字が入力された時刻を記憶手段に記憶させ、提示手段が当該時刻を考慮して参照文字列の優先順位を決定することにより、最近使用した参照文字列の優先順位を上げるなど、ユーザの絵文字使用態様に合致した絵文字入力候補の提示が可能となる。
Further, as in the
また、本実施形態に係る文字入力装置1のように、絵文字入力手段が入力手段によって入力された文字を絵文字に変換することにより、入力中の未確定文字列を当該文字列に紐づけられた絵文字に変換することが可能になり、入力後の確定文字列に対応した絵文字を候補から選択して入力するという方法と併用して使用することで、入力中及び入力確定後の両方で容易に絵文字を入力できる。
In addition, like the
ところで、本発明と同様に入力確定後の文字列に対応した絵文字を候補として提示する方法として、カーソル位置前の文章につき形態素解析を行い、そのうち名詞等の後ろに挿入候補の絵文字を提示する技術が考えられる。この技術はテキスト入力確定後に絵文字を挿入することに主眼が置かれており、ユーザのテキスト編集中にリアルタイムな絵文字の挿入を考慮していない。従来技術において、リアルタイムな絵文字挿入を携帯端末上で実現する上で妨げになる事項として、処理負荷が大きい形態素解析を行っているという点が挙げられる。形態素解析用の辞書データは膨大になり、携帯端末上では問題になりがちである。また、当該方法は、絵文字を連続して挿入する場合や、助詞などの特定の意味を持たない語の後ろに絵文字を挿入する場合を想定しておらず、ユーザが意図した絵文字を表示しにくいという問題も存在した。 By the way, as a method of presenting pictograms corresponding to character strings after input confirmation as candidates as in the present invention, a technique for performing morphological analysis on sentences before the cursor position and presenting insertion candidate pictograms after nouns, etc. Can be considered. This technology focuses on inserting pictograms after text input is confirmed, and does not consider real-time pictogram insertion during text editing by the user. In the prior art, a matter that hinders real-time pictogram insertion on a mobile terminal is that morphological analysis with a large processing load is performed. The dictionary data for morphological analysis becomes enormous and tends to be a problem on mobile terminals. Also, this method does not assume the case where pictograms are inserted continuously or the case where pictograms are inserted after words that do not have a specific meaning such as particles, and it is difficult to display pictograms intended by the user. There was also a problem.
上記問題に対して、本願発明であれば、単語単位ではなく文字単位で文脈キーを取得し、形態素解析を行わない方法であるため、処理負荷を抑えることが可能であり、かつ、絵文字の連続や助詞などの特定の意味を持たない語の後ろに絵文字を挿入することも可能となる。すなわち、携帯端末上でのリアルタイムな処理及びユーザが意図した絵文字の入力を可能とし、ユーザの利便性を向上させることができる。 With respect to the above problem, the present invention is a method in which context keys are acquired not in units of words but in units of characters, and morphological analysis is not performed. It is also possible to insert an emoji after a word that does not have a specific meaning, such as a particle or a particle. That is, real-time processing on the mobile terminal and input of pictographs intended by the user can be performed, and user convenience can be improved.
以上、本発明の好適な実施形態について説明したが、本発明は上記実施形態に限られるものではなく、各請求項に記載した要旨を変更しない範囲で変形し、又は他のものに適用したものであってもよい。 The preferred embodiments of the present invention have been described above. However, the present invention is not limited to the above-described embodiments. The present invention is modified without departing from the scope described in the claims or applied to others. It may be.
例えば、文字入力装置1は例えば携帯電話の文字入力に用いられるとしたが、タブレット型コンピュータ等のその他の文字入力を行うコンピュータ全般の文字入力に用いることができる。
For example, although the
また、コンテキスト候補表示用辞書18及び変換用辞書19に格納する文字列として、日本語の場合を説明したが、これに限定されるものではなく、その他の言語や数字などであっても良い。例えば、英語の場合には、スペースで区切られるまとまり(単語)を、上記実施形態おける一文字として捉えて処理することにより、新たに構文解析器を必要とすることなく本発明を適用することができる。
Moreover, although the case where the character string stored in the context
引き続いて、上述した一連の文字入力装置1の文字入力処理をコンピュータに実行させるための文字入力プログラムを説明する。図9に示すように、文字入力プログラム30は、コンピュータに挿入されてアクセスされる、あるいはコンピュータが備える記録媒体20に形成されたプログラム格納領域21内に格納される。
Subsequently, a character input program for causing a computer to execute the character input processing of the series of
文字入力プログラム30は、文字入力処理を統括的に制御するメインモジュール31と、記憶モジュール32と、入力モジュール33と、抽出モジュール34と、比較モジュール35と、提示モジュール36と、絵文字入力モジュール37と、学習モジュール38とを備えて構成される。記憶モジュール32と、入力モジュール33と、抽出モジュール34と、比較モジュール35と、提示モジュール36と、絵文字入力モジュール37と、学習モジュール38とを実行させることにより実現される機能は、上述した文字入力装置1の記憶部11と、入力部12と、抽出部13と、比較部14と、提示部15と、絵文字入力部16と、学習部17との機能とそれぞれ同様である。
The
なお、文字入力プログラム30は、その一部若しくは全部が、通信回線等の伝送媒体を介して伝送され、他の機器により受信されて記録(インストールを含む)される構成としてもよい。また、文字入力プログラム30の各モジュールは、1つのコンピュータでなく、複数のコンピュータのいずれかにインストールされてもよい。その場合、当該複数のコンピュータによるコンピュータシステムよって上述した一連の文字入力プログラム30の樹脂の射出成形の設計パラメータを決定する処理が行われる。
A part or all of the
1…文字入力装置、11…記憶部、12…入力部、13…抽出部、14…比較部、15…提示部、16…絵文字入力部、17…学習部、18…コンテキスト候補表示用辞書、19…変換用辞書、20…記録媒体、21…プログラム格納領域、30…文字入力プログラム、31…メインモジュール、32…記憶モジュール、33…入力モジュール、34…抽出モジュール、35…比較モジュール、36…提示モジュール、37…絵文字入力モジュール、38…学習モジュール。
DESCRIPTION OF
Claims (11)
文字を入力する入力手段と、
前記入力手段によって入力された文字列のうち特定の範囲の文字列である抽出文字列を抽出する抽出手段と、
前記記憶手段によって記憶された参照文字列と前記抽出手段によって抽出された抽出文字列とを末尾から比較して一致する文字数を判断する比較手段と、
前記比較手段による比較において一致すると判断された文字が多い前記参照文字列に対応付けられて前記記憶手段に記憶された絵文字ほど、優先順位を高くし、入力候補として提示する提示手段と、
を備える文字入力装置。 Storage means for storing the correspondence between the reference character string and the pictogram;
An input means for inputting characters;
Extraction means for extracting an extracted character string that is a character string in a specific range from the character string input by the input means;
Comparison means for determining the number of characters that match the extracted character string extracted by the reference character string and the extraction means stored by the storage means and compared from the end,
Presenting means for increasing the priority and presenting as input candidates the pictograms stored in the storage means in association with the reference character string having more characters determined to match in the comparison by the comparison means;
A character input device comprising:
前記提示手段は、前記タイムスタンプを考慮して、前記優先順位を決定する、請求項1〜4の何れか一項に記載の文字入力装置。 The character input device according to claim 1, wherein the presenting unit determines the priority order in consideration of the time stamp.
前記絵文字入力手段によって入力された絵文字と当該絵文字の直前の文字列とを対応付けて前記記憶手段に記憶させる学習手段と、
を更に備える請求項1〜6の何れか一項に記載の文字入力装置。 Pictogram input means for inputting pictograms together with characters input by the input means;
Learning means for associating and storing the pictogram input by the pictogram input means and the character string immediately before the pictogram in the storage means;
The character input device according to claim 1, further comprising:
前記提示手段は、前記時刻を考慮して前記参照文字列の優先順位を決定する請求項7に記載の文字入力装置。 The learning means stores in the storage means according to the time when a pictogram is input by the pictogram input means,
The character input device according to claim 7, wherein the presenting unit determines a priority order of the reference character string in consideration of the time.
文字を入力する入力ステップと、
前記入力ステップにおいて入力された文字列のうち特定の範囲の文字列である抽出文字列を抽出する抽出ステップと、
前記記憶手段によって記憶された参照文字列と前記抽出ステップにおいて抽出された抽出文字列とを末尾から比較して一致する文字数を判断する比較ステップと、
前記比較ステップにおける比較において一致すると判断された文字が多い前記参照文字列に対応付けられて前記記憶手段に記憶された絵文字ほど、優先順位を高くし、入力候補として提示する提示ステップと、
を備える文字入力方法。 A character input method by a character input device comprising a storage means for storing a reference character string and a pictogram in association with each other,
An input step for entering characters;
An extraction step of extracting an extracted character string that is a character string in a specific range among the character strings input in the input step;
A comparison step of determining the number of characters that match the extracted extracted character string in the extraction step with a stored reference string by said storing means and comparing from the end,
A presenting step of increasing the priority of the pictograms stored in the storage unit in association with the reference character string having more characters determined to match in the comparison in the comparison step and presenting them as input candidates;
A character input method comprising:
前記コンピュータを、
参照文字列と絵文字との対応関係を記憶する記憶手段と、
文字を入力する入力手段と、
前記入力手段によって入力された文字列のうち特定の範囲の文字列である抽出文字列を抽出する抽出手段と、
前記記憶手段によって記憶された参照文字列と前記抽出手段によって抽出された抽出文字列とを末尾から比較して一致する文字数を判断する比較手段と、
前記比較手段による比較において一致すると判断された文字が多い前記参照文字列に対応付けられて前記記憶手段に記憶された絵文字ほど、優先順位を高くし、入力候補として提示する提示手段と、
して機能させる文字入力プログラム。 A character input program that causes a computer to perform character input processing,
The computer,
Storage means for storing the correspondence between the reference character string and the pictogram;
An input means for inputting characters;
Extraction means for extracting an extracted character string that is a character string in a specific range from the character string input by the input means;
Comparison means for determining the number of characters that match the extracted character string extracted by the reference character string and the extraction means stored by the storage means and compared from the end,
Presenting means for increasing the priority and presenting as input candidates the pictograms stored in the storage means in association with the reference character string having more characters determined to match in the comparison by the comparison means;
A character input program that makes it work.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012039361A JP5988614B2 (en) | 2012-02-24 | 2012-02-24 | Character input device, character input method, and character input program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012039361A JP5988614B2 (en) | 2012-02-24 | 2012-02-24 | Character input device, character input method, and character input program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2013175061A JP2013175061A (en) | 2013-09-05 |
JP5988614B2 true JP5988614B2 (en) | 2016-09-07 |
Family
ID=49267905
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2012039361A Active JP5988614B2 (en) | 2012-02-24 | 2012-02-24 | Character input device, character input method, and character input program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5988614B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7170813B2 (en) | 2017-11-08 | 2022-11-14 | クリナップ株式会社 | trivet |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4232093B2 (en) * | 2003-06-30 | 2009-03-04 | 日本電気株式会社 | Emoticon input system and method using multiple search methods |
US8166418B2 (en) * | 2006-05-26 | 2012-04-24 | Zi Corporation Of Canada, Inc. | Device and method of conveying meaning |
JP2008225602A (en) * | 2007-03-09 | 2008-09-25 | Ntt Docomo Inc | Pictogram search apparatus, system and method |
-
2012
- 2012-02-24 JP JP2012039361A patent/JP5988614B2/en active Active
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7170813B2 (en) | 2017-11-08 | 2022-11-14 | クリナップ株式会社 | trivet |
Also Published As
Publication number | Publication date |
---|---|
JP2013175061A (en) | 2013-09-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101256462B (en) | Hand-written input method and apparatus based on complete mixing association storeroom | |
US9183192B1 (en) | Translator | |
TWI439877B (en) | Generalized language independent index storage system and searching method | |
CN101876878A (en) | Word prediction input system and method | |
WO2007004408A1 (en) | Information processing device, information processing method, and information processing program | |
US9824139B2 (en) | Method of searching for integrated multilingual consonant pattern, method of creating character input unit for inputting consonants, and apparatus for the same | |
US20140348400A1 (en) | Computer-readable recording medium storing program for character input | |
US20120072836A1 (en) | Displaying system of translation words and displaying method thereof | |
JP5988614B2 (en) | Character input device, character input method, and character input program | |
US20140006005A1 (en) | Input support apparatus, input support method, and storage medium containing input support program | |
US20130090919A1 (en) | Electronic device and dictionary data display method | |
CN102479206A (en) | Method for searching contacts in phonebook according to surname list and phonebook storing device | |
US20080319982A1 (en) | Method and Apparatus for Manipulating Data Files | |
US7240278B2 (en) | Information display control apparatus and recording medium having recorded information display control program | |
US7716195B2 (en) | Search methods | |
JP5428622B2 (en) | Electronic device and program | |
JP2009175941A (en) | Electronic dictionary device | |
JP4004060B1 (en) | Character search method | |
JP6048601B2 (en) | Information display device, program, and word information display method | |
US20100325130A1 (en) | Media asset interactive search | |
US20100083104A1 (en) | Electronic apparatus with dictionary function | |
CN102959536B (en) | Text transform device and text transform method | |
US20150309991A1 (en) | Input support device, input support method, and input support program | |
KR101102123B1 (en) | An apparatus and a method for inputting special characters and a recording medium storing program thereof | |
KR100962015B1 (en) | Korean data searching method and system using the double indexing |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20150210 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20151208 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20151215 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20160215 |
|
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: 20160712 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20160809 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5988614 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |