JP5988614B2 - Character input device, character input method, and character input program - Google Patents

Character input device, character input method, and character input program Download PDF

Info

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
Application number
JP2012039361A
Other languages
Japanese (ja)
Other versions
JP2013175061A (en
Inventor
祐也 杉田
祐也 杉田
一郎 猪狩
一郎 猪狩
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.)
MTI Ltd
Original Assignee
MTI 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 MTI Ltd filed Critical MTI Ltd
Priority to JP2012039361A priority Critical patent/JP5988614B2/en
Publication of JP2013175061A publication Critical patent/JP2013175061A/en
Application granted granted Critical
Publication of JP5988614B2 publication Critical patent/JP5988614B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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).

特開2010−15221号公報JP 2010-15221 A

ところで、近年、絵文字のバリエーションは急速に多様化しており、文字に着色を行ったり、アニメーション画像を貼り付けることが可能となっている。そのような状況において、個々人の絵文字の使い方も多様化してきており、従来のように、所定の単語と当該単語に関連付けられた絵文字とを記憶しておき、所定の単語が入力された際に当該関連付けられた絵文字を変換候補として表示する、という方法のみでは、ユーザが意図する絵文字を円滑に表示するという点において十分ではなく、ユーザにとって利便性が高い文字入力方法を提供できていないという問題があった。   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.

本発明の実施形態に係る文字入力装置の機能ブロックを示す図である。It is a figure which shows the functional block of the character input device which concerns on embodiment of this invention. 本発明の実施形態に係る文字入力装置のコンテキスト候補表示用辞書を示す図である。It is a figure which shows the context candidate display dictionary of the character input device which concerns on embodiment of this invention. 本発明の実施形態に係る文字入力装置の変換用辞書を示す図である。It is a figure which shows the dictionary for conversion of the character input device which concerns on embodiment of this invention. 本発明の実施形態に係る文字入力装置のコンテキストモードの処理を示すフローチャートである。It is a flowchart which shows the process of the context mode of the character input device which concerns on embodiment of this invention. 本発明の実施形態に係る文字入力装置の絵文字入力候補の検索処理を示すフローチャートである。It is a flowchart which shows the search process of the pictogram input candidate of the character input device which concerns on embodiment of this invention. 本発明の実施形態に係る文字入力装置の学習処理を示すフローチャートである。It is a flowchart which shows the learning process of the character input device which concerns on embodiment of this invention. 本発明の実施形態に係る文字入力装置の変換モードの処理を示すフローチャートである。It is a flowchart which shows the process of the conversion mode of the character input device which concerns on embodiment of this invention. 本発明の実施形態に係る文字入力装置の変換処理を示すフローチャートである。It is a flowchart which shows the conversion process of the character input device which concerns on embodiment of this invention. 本発明の実施形態に係る文字入力プログラムの構成を、記録媒体と共に示す図である。It is a figure which shows the structure of the character input program which concerns on embodiment of this invention with a recording medium.

以下、図面と共に本発明に係る文字入力装置、文字入力方法及び文字入力プログラムの好適な実施形態について詳細に説明する。なお、図面の説明においては同一要素には同一符号を付し、重複する説明を省略する。   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 character input device 1 according to the present embodiment will be described with reference to FIG. FIG. 1 is a diagram showing functional blocks of a character input device 1 according to an embodiment of the present invention. As shown in FIG. 1, the character input device 1 according to the present embodiment includes a storage unit 11, an input unit 12, an extraction unit 13, a comparison unit 14, a presentation unit 15, a pictogram input unit 16, and learning. And a portion 17. The character input device 1 is used, for example, for inputting characters such as a mobile phone, and particularly for inputting pictograms (for example, those used for decoration mails used for mobile phones). The character input device 1 has a hardware configuration including a CPU, a memory, and the like.

記憶部11は、参照文字列と絵文字との対応関係を記憶する記憶手段である。当該記憶部11は、参照文字列と絵文字とをトライ構造(ツリー構造)により関連付けて記憶する。絵文字を入力する主なモードとして、入力後の確定文字列に対応した絵文字を候補から選択して入力するコンテキストモードと、入力中の未確定文字列を当該文字列の一部又は全部をメタタグとして持つ絵文字に変換可能な変換モードとがある。   The storage unit 11 is a storage unit that stores the correspondence between the reference character string and the pictogram. The storage unit 11 stores reference character strings and pictograms in association with each other by a trie structure (tree structure). As the main mode for inputting pictograms, a context mode for selecting and inputting pictograms corresponding to the confirmed character string after input from candidates, and an unconfirmed character string being entered as a part or all of the character string as a meta tag There is a conversion mode that can be converted into pictograms.

記憶部11は、コンテキストモード用の辞書として図2に示すコンテキスト候補表示用辞書18を、変換モード用の辞書として図3に示す変換用辞書19を、それぞれ備えている。これらの辞書は、ユーザ使用時に自動的に切り替わるものであり、確定文字列に対応した絵文字を入力する場合はコンテキスト候補表示用辞書18を、未確定文字列を変換する場合は変換用辞書19を、それぞれ検索する。すなわち、これらの辞書は相互に補完的に動作するものである。   The storage unit 11 includes a context candidate display dictionary 18 shown in FIG. 2 as a context mode dictionary and a conversion dictionary 19 shown in FIG. 3 as a conversion mode dictionary. These dictionaries are automatically switched when used by the user. When inputting pictograms corresponding to a confirmed character string, a context candidate display dictionary 18 is used. When an unconfirmed character string is converted, a conversion dictionary 19 is used. , Search for each. That is, these dictionaries operate complementary to each other.

入力部12は、文字を入力する入力手段である。文字の入力は例えばユーザの入力操作を受け付けることにより行う。入力部12により入力された文字列と、記憶部11に記憶された参照文字列とが、後述する比較部14によって比較される。なお、文字入力装置1によって文字を入力する際には、文字の入力位置を示すカーソルの位置に文字を入力し、入力された文字とカーソルとが表示装置上に表示される。カーソルはユーザの操作で移動させることが可能である。   The input unit 12 is input means for inputting characters. For example, characters are input by accepting a user input operation. The character string input by the input unit 12 and the reference character string stored in the storage unit 11 are compared by the comparison unit 14 described later. When a character is input by the character input device 1, the character is input at the position of the cursor indicating the character input position, and the input character and the cursor are displayed on the display device. The cursor can be moved by a user operation.

抽出部13は、入力部12によって入力された文字列のうち特定の範囲の文字列である抽出文字列を抽出する抽出手段である。この抽出部13は、入力部12によって入力された文字列のうち、文字の入力位置を示すカーソル位置より特定の文字数分遡った範囲の抽出文字列を抽出する。   The extraction unit 13 is an extraction unit that extracts an extracted character string that is a character string in a specific range from the character string input by the input unit 12. The extraction unit 13 extracts an extracted character string in a range that is traced back a specific number of characters from the cursor position indicating the character input position, from the character string input by the input unit 12.

比較部14は、記憶部11によって記憶された参照文字列の後半部と抽出部13によって抽出された抽出文字列とを当該後半部の文字数を変えながら比較して一致を判断する比較手段である。   The comparison unit 14 is a comparison unit that compares the second half of the reference character string stored in the storage unit 11 with the extracted character string extracted by the extraction unit 13 while changing the number of characters in the second half and determines a match. .

提示部15は、比較部14による比較の結果に応じて、参照文字列に対応付けられて記憶部11に記憶された絵文字を入力候補として提示する提示手段である。入力候補として提示とは、例えば入力候補として表示することをいう。この提示部15は、絵文字を、抽出部13が抽出した抽出文字列の直後に入力される入力候補として提示する。また、この提示部15は、入力候補が複数ある場合は比較部14による比較において記憶部11が記憶する参照文字列のうち一致する文字が多い程、当該文字列の優先順位を高くし、比較部14による比較において記憶部11が記憶する参照文字列のうち一致しない文字が多い程、当該文字列の優先順位を低くする。さらに、この提示部15は、記憶部11が記憶している、絵文字入力部16によって絵文字が入力された時刻を考慮して、参照文字列の優先順位を決定する。   The presentation unit 15 is a presentation unit that presents, as input candidates, pictograms that are associated with the reference character string and stored in the storage unit 11 in accordance with the comparison result by the comparison unit 14. Presenting as an input candidate means, for example, displaying as an input candidate. The presenting unit 15 presents the pictograph as an input candidate that is input immediately after the extracted character string extracted by the extracting unit 13. In addition, when there are a plurality of input candidates, the presenting unit 15 increases the priority of the character string as the number of matching characters among the reference character strings stored in the storage unit 11 in the comparison by the comparing unit 14 increases. In the comparison by the unit 14, the more characters that do not match among the reference character strings stored in the storage unit 11, the lower the priority order of the character strings. Further, the presenting unit 15 determines the priority order of the reference character strings in consideration of the time when the pictogram is input by the pictogram input unit 16 stored in the storage unit 11.

絵文字入力部16は、入力手段によって入力される文字と合わせて絵文字を入力する絵文字入力手段である。絵文字を入力する方法として、提示部15により提示された絵文字を入力する方法、入力された文字から絵文字に変換して入力する方法、絵文字リストから絵文字を選択し入力する方法があるが、これら全ての絵文字の入力を絵文字入力部16により行う。   The pictograph input unit 16 is a pictograph input unit that inputs pictographs together with characters input by the input unit. As a method for inputting pictograms, there are a method for inputting pictograms presented by the presentation unit 15, a method for converting pictographs from input characters to input pictograms, and a method for selecting pictograms from a pictograph list and inputting them. The pictogram input unit 16 inputs the pictograph.

学習部17は、絵文字入力部16によって入力された絵文字と当該絵文字の直前の抽出文字列とを対応付けて記憶部11に記憶させる学習手段である。この学習部17は、絵文字入力部16によって絵文字が入力された時刻(タイムスタンプ)についても記憶部11に記憶させる。   The learning unit 17 is a learning unit that associates the pictogram input by the pictogram input unit 16 with the extracted character string immediately before the pictogram and stores it in the storage unit 11. The learning unit 17 also causes the storage unit 11 to store the time (time stamp) when the pictogram is input by the pictogram input unit 16.

本実施形態に係る文字入力装置1の機能配置についての説明は以上である。文字入力に関して各部が行う具体的な処理は、図4の文字入力装置1のコンテキストモードの処理を参照して、後述する。   This completes the description of the functional layout of the character input device 1 according to the present embodiment. Specific processing performed by each unit regarding character input will be described later with reference to the context mode processing of the character input device 1 in FIG.

次に、図2を参照して、入力後の確定文字列に対応した絵文字を候補から選択して入力するコンテキストモードにおいて使用するコンテキスト候補表示用辞書18について説明する。図2は、本発明の実施形態に係る文字入力装置1のコンテキスト候補表示用辞書18を示す図である。本コンテキスト候補表示用辞書18では参照文字列と絵文字とをトライ構造(ツリー構造)により関連付けて記憶している。また、本コンテキスト候補表示用辞書18は、参照文字列を逆読みで格納した、逆引き辞書である。   Next, the context candidate display dictionary 18 used in the context mode in which pictograms corresponding to the confirmed character string after input are selected from the candidates and input will be described with reference to FIG. FIG. 2 is a diagram showing the context candidate display dictionary 18 of the character input device 1 according to the embodiment of the present invention. In this context candidate display dictionary 18, reference character strings and pictograms are stored in association with each other by a trie structure (tree structure). The context candidate display dictionary 18 is a reverse lookup dictionary that stores reference character strings in reverse reading.

当該コンテキスト候補表示用辞書18はレコードの集合であり、各レコードは、参照文字列、絵文字素材ID、タイムスタンプの三つの組である。参照文字列とは、文字のみのもののほか、末尾に絵文字を含むものである。絵文字素材IDとは、各絵文字毎に設定されたIDである。タイムスタンプとは、絵文字が入力された日時を示すものである。当該辞書データ構造は文字列の部分一致と絵文字素材の最終使用時間ソートを効率的に行うことを目的としており、キーの保持はパトリシアトライ(Patricia trie)で実装されている。図2に示すようにトライの葉が参照文字列に対応しており、五十音順に双方向リンクトリストでつながれている。また、五十音順で連続する200個程度の参照文字列がグループをなしており、グループ内では各参照文字列が持つ絵文字素材の最新タイムスタンプ順にリンクトリストが構成されている。   The context candidate display dictionary 18 is a set of records, and each record includes three sets of a reference character string, a pictographic material ID, and a time stamp. The reference character string includes not only characters but also a pictograph at the end. The pictographic material ID is an ID set for each pictograph. The time stamp indicates the date and time when the pictogram is input. The dictionary data structure is intended to efficiently perform partial matching of character strings and sorting of last use time of pictographic material, and key holding is implemented by a Patricia trie. As shown in FIG. 2, the leaves of the trie correspond to the reference character string and are connected in a bidirectional linked list in the order of the Japanese syllabary. In addition, about 200 reference character strings that are continuous in the order of the Japanese syllabary form a group, and in the group, a linked list is configured in the order of the latest time stamps of the pictographic material possessed by each reference character string.

図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 conversion dictionary 19 used in a conversion mode in which an undetermined character string being input can be converted into a pictograph having part or all of the character string as a meta tag. FIG. 3 is a diagram showing the conversion dictionary 19 of the character input device 1 according to the embodiment of the present invention. The dictionary 19 for conversion is the same as the dictionary 18 for context candidate display described above with respect to a dictionary data structure such as adopting a trie structure. As a difference from the context candidate display dictionary 18, the conversion dictionary 19 is not a reverse dictionary but a normal dictionary. Moreover, it displays using the meta tag based on a pictographic material, and at the time of a search, not an exact match search with respect to a meta tag but a sequential match search is performed.

次に図4を参照して、文字入力装置1のコンテキストモードの処理を説明する。コンテキストモードとは、入力後の確定文字列に対応した絵文字を候補から選択して入力するモードである。   Next, the context mode processing of the character input device 1 will be described with reference to FIG. The context mode is a mode in which a pictogram corresponding to a confirmed character string after input is selected from candidates and input.

図4に示すように、まず、入力部12により文字が入力され当該入力が確定される(S01、入力ステップ)。入力確定後、カーソル手前のn文字を文脈キーとして取得し、当該文脈キーに基づく抽出文字列で絵文字入力候補を検索する(S02、抽出ステップ、比較ステップ、提示ステップ)。上記n文字は、文字入力装置1毎に任意に設定が可能である。また、絵文字入力候補の検索処理については、図5で詳細を説明する。   As shown in FIG. 4, first, a character is input by the input unit 12 and the input is confirmed (S01, input step). After the input is confirmed, the n characters before the cursor are acquired as context keys, and pictogram input candidates are searched with the extracted character string based on the context keys (S02, extraction step, comparison step, presentation step). The n characters can be arbitrarily set for each character input device 1. Details of the pictogram input candidate search process will be described with reference to FIG.

絵文字入力候補の検索後、絵文字入力候補が存在するか否かが判断される(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 part 15 displays the pictograph input candidate (S04, presentation step), and waits for a user operation (S05). When a pictogram input candidate displayed by the user is selected while waiting for the user operation, the selected pictogram is input by the pictogram input unit 16, and the learning unit 17 immediately before the input pictogram and the pictogram. The extracted character string is associated and stored in the storage unit 11 (S06). The learning process will be described in detail with reference to FIG. In addition, when an operation is performed to display the next pictogram input candidate while waiting for a user operation, the other candidate is displayed in S04. When character input is started while waiting for a user operation, the character is unconfirmed and the conversion mode is set. If the cursor is moved while waiting for a user operation, the character string to be acquired as the context key in S02 is changed, so that the process in S02 is performed again. Even if there is no pictogram input candidate in S03, the user operation waiting state (S07) is entered, and the pictogram input candidate cannot be displayed at the cursor position, so the character input is started and the mode is set to the conversion mode. Or, until the cursor is moved and the process of S02 is performed again, the process waits for a user operation. This is the end of the description of the context mode processing of the character input device 1.

次に図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 extraction unit 13 acquires a character string of a maximum of 8 characters before the cursor position after character input determined in S01 from the text area being edited (S08, extraction step). Next, the extraction unit 13 determines whether or not the acquired character string is less than 8 characters (S09, extraction step). If it is less than 8 characters, the extraction unit 13 adds a start symbol to the beginning of the acquired character string (S10, extraction step). The start symbol is added to the beginning of the context key and clarifies the beginning of the character string. Next, the extraction unit 13 determines whether the acquired character string includes punctuation marks (S11, extraction step). If punctuation marks are included, the extraction unit 13 takes out the character string up to the point immediately before the punctuation marks and uses the start symbol at the beginning as a context key (S12, extraction step). Next, the extraction unit 13 determines whether a pictograph is included other than the last n characters of the acquired character string (S13, extraction step). When a pictograph is included in addition to the last n characters, the extraction unit 13 extracts the last pictogram and subsequent characters other than the consecutive pictographs of the last n characters, and uses a start symbol at the beginning as a context key (S14, Extraction step). Next, the extraction unit 13 determines whether or not the context key complies with the rule (S15, extraction step). Specifically, the determination is performed according to S17 to S21. When the extraction unit 13 determines that the context key does not comply with the rule, the extraction unit 13 returns a result of no candidate as a search result of the pictogram input candidates. On the other hand, if the context key conforms to the rule, the extraction unit 13 determines that the context key is a valid key and extracts the context key as an extracted character string (S16, extraction step).

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 storage unit 11 by the comparison unit 14 (S22, comparison step). The latter half includes the entire reference character string. That is, you may compare with the whole reference character string. Further, the latter half of the arbitrary number of characters including the end of the extracted character string may be the extracted character string (similar to reverse reading and comparison). Specifically, in the comparison by the comparison unit 14, the character match / mismatch is determined while changing the number of characters in the latter half of the reference character string. The extracted character string and the reference character string must always match the last few characters (valid end), and the comparison unit 14 determines whether or not the valid end matches, and the matching reference character string (S23, comparison step). In order to be adopted as an effective end, the number of characters is three or more, two characters including a kanji, or one kanji that is set as an effective kanji. It is necessary to correspond to either of them. Finally, with respect to the reference character string extracted by the comparison unit 14, the presentation unit 15 determines the priority order in consideration of the number of matched characters, the number of mismatched characters, and the time stamp, and displays pictogram input candidates in that order (S24, presentation step) ). Note that the above three requirements are preferentially determined in the order of the number of matched characters, the number of mismatched characters, and the time stamp. The subsequent processing after displaying the pictogram input candidates is described in S03 to S07 of FIG.

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 input unit 12 and the input is confirmed (S01, input step). The extraction unit 13 can acquire a maximum of 8 characters in front of the position of the cursor after the input is confirmed. However, since “Koi Hamaji” is 5 characters, the 5 characters are acquired by the extraction unit 13 ( (S08, extraction step), and since there are less than 8 characters, the extraction unit 13 adds a start symbol to the beginning of the character string (S9, S10, extraction step). Then, the extraction unit 13 determines that the context key is a valid key because “Koihasumaji” does not include punctuation marks, does not include pictograms in the character string, and the context key conforms to the rule. , “Koihasumaji” is extracted as an extracted character string (S11 to S16, extraction step).

次に、「恋はすまじ」が抽出文字列として抽出された後の、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 comparison unit 14 reverse-reads the extracted character string “Koi Hamaji” and compares it with the latter half of the reference character string stored in the storage unit 11 (S22, comparison step). Now, reference character strings “Permissive Magic”, “That Serious Magic”, and “Maji” are stored in the context candidate display dictionary 18 shown in FIG. Compared with the extracted character string “Koi Hamaji” while changing the number of characters in the latter half of each reference character string, “Legacy” is a match of two characters, “Make it” is a match of two characters, A 4-character mismatch “Maji” is a 2-character match and a 1-character mismatch. Next, in order to extract as a matching reference character string, there are three types of reference character strings: “Forgiveness”, “Telejiji”, and “Maji”, whose effective end “magic” matches in the extracted character string and the reference character string. Are all extracted by the comparison unit 14 (S23, comparison step). Originally, in the process of S23, when the effective end is two characters, it is necessary to include a kanji character. However, in order to make the explanation easy to understand, the two-character hiragana “maji” is used as the effective end.

比較部14が取出した「許すまじ」「それってまじ」「まじ」の三種類の参照文字列について、一致文字数、不一致文字数、タイムスタンプを勘案して、提示部15が優先順位を決め、当該優先順位で絵文字入力候補を表示する。いま、提示部15は、最も一致文字数が多い「許すまじ」を第一優先、「それってまじ」よりも不一致文字数が少ない「まじ」を第二優先、「それってまじ」を第三優先とし、当該優先順位で、それぞれの参照文字列に対応する絵文字を、絵文字入力候補として表示する(S24、提示ステップ)。上記優先順位に従って絵文字入力候補を提示すると、「*」「!!」「!!」「?」「!!」となるが、重複した絵文字は候補として提示されないため、最終的には「*」「!!」「?」の順で絵文字入力候補が提示される。絵文字入力候補の検索処理説明は以上である。 For the three types of reference character strings “permissive magic”, “sore magic” and “maji” extracted by the comparison unit 14, the presentation unit 15 determines the priority order in consideration of the number of matched characters, the number of mismatched characters, and a time stamp. The pictogram input candidates are displayed in the priority order. Now, the presentation unit 15 gives first priority to “forgiveness”, which has the largest number of matching characters, “major”, which has a lower number of non-matching characters, to “second”, and “those it” to third. With priority, the pictograms corresponding to the respective reference character strings are displayed as pictogram input candidates in the priority order (S24, presentation step). When the pictogram input candidates are presented in accordance with the above priority order, “*”, “!!!! 3 ”, “!!!! 1 ”, “?”, “!!!! 2 ” are displayed, but since duplicate pictograms are not presented as candidates, eventually Pictogram input candidates are presented in the order of “*”, “!!”, and “?”. This is the end of the description of the search process for the pictogram input candidates.

次に図6を参照して、文字入力装置1の学習処理を説明する。まず、絵文字の入力が確定すると、カーソル位置が絵文字を挿入した位置の後ろに移動する(S25)。次に、変換キーを使用したか否か、すなわち変換モードで絵文字が入力されたか否かが判断される(S26)。変換キーを使用した場合には、図3に示した変換用辞書において、選択された絵文字素材のタイムスタンプが現在時刻にアップデートされ(S27)、カーソル移動前の位置で文脈キーが取得される(S28)。次に、図2に示したコンテキスト候補表示用辞書18において、抽出文字列と参照文字列の全体が一致するか否かが判断される(S29)。全体一致した場合には、選択された絵文字素材のタイムスタンプを現在時刻にアップデートする(S291)。全体一致しなかった場合には、当該抽出文字列を参照文字列とするレコードを新設する(S292)。なお、全体一致しなかった場合とは、抽出文字列と全体一致する参照文字列が既存の辞書に存在しなかったということであり、これまでは当該抽出文字列と絵文字との組み合わせで使用されることはなかったということである。次に、抽出文字列と語尾から部分一致する参照文字列があるか否かが判断される(S293)。この場合、抽出文字列と参照文字列の両方が語尾を含む部分であっても良いし、または、一方は文字列全体であっても良い。即ち、抽出文字列の語尾を含む一部又は全部と、参照文字列の語尾を含む一部又は全部とが一致するレコードが、コンテキスト候補表示用辞書18にあるか否か(抽出文字列と参照文字列の全体同士が一致する場合(S29でYESとなる場合)を除く)が判断される。部分一致する参照文字列がある場合には、当該参照文字列に紐づく絵文字素材のタイムスタンプを現在時刻にアップデートし(S294)、学習処理は完了となる。文字入力装置1の学習処理説明は以上である。   Next, the learning process of the character input device 1 will be described with reference to FIG. First, when the input of a pictograph is confirmed, the cursor position moves behind the position where the pictograph is inserted (S25). Next, it is determined whether or not a conversion key has been used, that is, whether or not a pictogram has been input in the conversion mode (S26). When the conversion key is used, the time stamp of the selected pictographic material is updated to the current time in the conversion dictionary shown in FIG. 3 (S27), and the context key is acquired at the position before the cursor movement ( S28). Next, in the context candidate display dictionary 18 shown in FIG. 2, it is determined whether or not the extracted character string matches the entire reference character string (S29). If they match all, the time stamp of the selected pictographic material is updated to the current time (S291). If they do not match all, a new record is created with the extracted character string as a reference character string (S292). Note that the case where the entire character string does not match means that the reference character string that matches the extracted character string does not exist in the existing dictionary, and so far, it has been used as a combination of the extracted character string and the pictogram. It was that it never happened. Next, it is determined whether or not there is a reference character string that partially matches the extracted character string from the end (S293). In this case, both the extracted character string and the reference character string may be a part including the ending, or one may be the entire character string. That is, whether or not there is a record in the context candidate display dictionary 18 in which a part or all of the extracted character string including the ending part and a part or all of the reference character string including the ending part match (extracted character string and reference A case where the whole character strings match each other (except when YES in S29) is determined. If there is a partially matching reference character string, the time stamp of the pictographic material linked to the reference character string is updated to the current time (S294), and the learning process is completed. The learning process description of the character input device 1 is as described above.

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 character input device 1 will be described with reference to FIG. The conversion mode is a mode in which an undetermined character string being input can be converted into a pictograph having part or all of the character string as a meta tag.

図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 pictogram input unit 16, and the learning process described in detail in FIG. 6 is performed by the learning unit 17 (S36). ). Note that the context mode is changed after the learning process. In addition, when an operation is performed to display the next pictogram input candidate while waiting for a user operation, the other candidate is displayed in S34. If character input is started while waiting for a user operation, the process of S31 is performed again. If the cursor is moved while waiting for a user operation, the mode is changed to the context mode. Also, when the candidate selected by the IM is inserted into the text, the mode is changed to the context mode (S37). Note that even if there is no pictograph input candidate in S33, the user operation waiting state (S38) is entered, and the pictograph input candidate cannot be displayed at the cursor position. Therefore, in order to input the pictograph, character input is started. The process of S31 is performed again, the cursor is moved to the context mode, or the candidate selected by the IM is inserted into the text, and the user operation is waited until the context mode is changed (S39). The process description of the conversion mode of the character input device 1 is as described above.

次に図8を参照して、絵文字入力候補の検索処理(変換処理)を説明する。まず、変換キーを使って、変換用辞書19を検索する(S40)。次に、変換キーを先頭に含む参照文字列を抽出し(S41)、最後に各参照文字列に含まれる絵文字素材を最終使用順にソートして(S42)、変換処理は完了となる。絵文字入力候補の検索処理説明は以上である。   Next, a search process (conversion process) for pictogram input candidates will be described with reference to FIG. First, the conversion dictionary 19 is searched using the conversion key (S40). Next, a reference character string including the conversion key at the head is extracted (S41), and finally the pictogram materials included in each reference character string are sorted in the order of final use (S42), and the conversion process is completed. This is the end of the description of the search process for the pictogram input candidates.

次に、本実施形態に係る文字入力装置1及び文字入力方法の作用・効果について説明する。   Next, operations and effects of the character input device 1 and the character input method according to the present embodiment will be described.

この文字入力装置1では、記憶手段が参照文字列と絵文字とを対応づけて記憶しており、当該参照文字列の後半部と、抽出文字列とを比較し、当該比較の結果に応じて絵文字を入力候補として提示する。比較手段による比較においては、参照文字列の後半部の文字数を逐次変えながら、参照文字列の後半部と抽出文字列が一致するか否かが文字単位に判断される。すなわち、参照文字列が、抽出文字列と単語として完全一致するか否かが判断されるのではなく、参照文字列のうち一部の文字のみ一致(部分一致)する場合についても考慮でき、このような部分一致した参照文字列に対応づけられた絵文字も候補として提示することが可能となる。部分一致を考慮して参照文字列に対応づけられた絵文字を候補として提示できるため、従来よりも柔軟に絵文字入力候補を提示でき、多様化する絵文字の使用態様にも対応することができる。また、従来よりも容易に多種の絵文字入力候補が提示できるため、ユーザが意図する絵文字を円滑に入力することが可能となる。   In this character input device 1, the storage means stores the reference character string and the pictogram in association with each other, compares the latter half of the reference character string with the extracted character string, and determines the pictogram according to the comparison result. As an input candidate. 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.

また、本実施形態に係る文字入力装置1のように、抽出手段が入力手段によって入力された文字列のうち、文字の入力位置を示すカーソル位置より特定の文字数分遡った範囲の抽出文字列を抽出することにより、絵文字挿入予定箇所の直前の文字列を抽出文字列として採用することができ、よりユーザの意図と合致した絵文字入力候補を表示することが可能となる。   Further, as in the character input device 1 according to the present embodiment, among the character strings input by the extraction unit by the extraction unit, an extracted character string in a range that is back by a specific number of characters from the cursor position indicating the character input position. By extracting, it is possible to adopt the character string immediately before the place where the pictogram is to be inserted as the extracted character string, and it is possible to display pictogram input candidates that more match the user's intention.

また、本実施形態に係る文字入力装置1のように、記憶手段が参照文字列と絵文字とをトライ構造により関連付けて記憶することにより、例えば表形式でデータを記憶した場合と比べ、比較手段による抽出文字列との比較に要する処理時間を大幅に短くできる。   Further, as in the character input device 1 according to the present embodiment, the storage unit stores the reference character string and the pictogram in association with each other by the trie structure, so that the comparison unit uses the comparison unit, for example, as compared with the case where the data is stored in a table format. The processing time required for comparison with the extracted character string can be significantly shortened.

また、本実施形態に係る文字入力装置1のように、提示手段が絵文字を抽出文字列の直後に入力される入力候補として提示することにより、比較手段による比較結果に沿った絵文字の提示を可能とし、ユーザが意図した位置に絵文字を入力することができる。   In addition, as in the character input device 1 according to the present embodiment, the presenting means presents pictograms as input candidates to be input immediately after the extracted character string, thereby presenting pictograms according to the comparison result by the comparing means. The pictogram can be input at the position intended by the user.

また、本実施形態に係る文字入力装置1のように、提示手段が、比較手段による比較において参照文字列のうち一致する文字が多い程、当該文字列の優先順位を高くすること及び、比較手段による比較において参照文字列のうち一致しない文字が多い程、当該文字列の優先順位を低くすることにより、ユーザが意図している可能性が高い絵文字を優先的に提示することができ、ユーザにとっての利便性が向上する。   Further, as in the character input device 1 according to the present embodiment, the presentation unit increases the priority of the character string as the number of matching characters in the reference character string increases in the comparison by the comparison unit, and the comparison unit. The more characters that do not match among the reference character strings in the comparison, the lower the priority of the character strings, so that it is possible to preferentially present pictographs that are likely to be intended by the user. Improved convenience.

また、本実施形態に係る文字入力装置1のように、絵文字入力手段、及び学習手段を備えることにより、各種方法による絵文字の入力を絵文字入力手段により行い、当該絵文字入力手段により入力された絵文字と当該絵文字の直前の文字列とを記憶手段に記憶させることが可能となる。個々人のユーザが使用した絵文字について、文字列との対応を記憶手段に記憶させることで、次回以降の使用時に当該データを用いて絵文字入力候補を表示することが可能となり、ユーザの利便性が向上する。   In addition, like the character input device 1 according to the present embodiment, by providing a pictogram input means and a learning means, the pictogram input by various methods is performed by the pictogram input means, and the pictogram input by the pictogram input means The character string immediately before the pictogram can be stored in the storage means. By storing the correspondence with character strings for pictograms used by individual users, it is possible to display pictogram input candidates using the data at the next and subsequent uses, improving user convenience To do.

また、本実施形態に係る文字入力装置1のように、学習手段が絵文字入力手段によって絵文字が入力された時刻を記憶手段に記憶させ、提示手段が当該時刻を考慮して参照文字列の優先順位を決定することにより、最近使用した参照文字列の優先順位を上げるなど、ユーザの絵文字使用態様に合致した絵文字入力候補の提示が可能となる。   Further, as in the character input device 1 according to the present embodiment, the learning unit stores the time when the pictogram is input by the pictogram input unit in the storage unit, and the presentation unit considers the time and the priority order of the reference character strings. Thus, it is possible to present pictogram input candidates that match the user's pictogram usage mode, such as increasing the priority of recently used reference character strings.

また、本実施形態に係る文字入力装置1のように、絵文字入力手段が入力手段によって入力された文字を絵文字に変換することにより、入力中の未確定文字列を当該文字列に紐づけられた絵文字に変換することが可能になり、入力後の確定文字列に対応した絵文字を候補から選択して入力するという方法と併用して使用することで、入力中及び入力確定後の両方で容易に絵文字を入力できる。   In addition, like the character input device 1 according to the present embodiment, the pictogram input unit converts the character input by the input unit into a pictograph, thereby associating the undetermined character string being input with the character string. It becomes possible to convert to pictograms, and it can be used in combination with the method of selecting and entering pictograms corresponding to the confirmed character string after input from candidates, so that it can be easily both during and after input You can enter emoji.

ところで、本発明と同様に入力確定後の文字列に対応した絵文字を候補として提示する方法として、カーソル位置前の文章につき形態素解析を行い、そのうち名詞等の後ろに挿入候補の絵文字を提示する技術が考えられる。この技術はテキスト入力確定後に絵文字を挿入することに主眼が置かれており、ユーザのテキスト編集中にリアルタイムな絵文字の挿入を考慮していない。従来技術において、リアルタイムな絵文字挿入を携帯端末上で実現する上で妨げになる事項として、処理負荷が大きい形態素解析を行っているという点が挙げられる。形態素解析用の辞書データは膨大になり、携帯端末上では問題になりがちである。また、当該方法は、絵文字を連続して挿入する場合や、助詞などの特定の意味を持たない語の後ろに絵文字を挿入する場合を想定しておらず、ユーザが意図した絵文字を表示しにくいという問題も存在した。   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 character input device 1 is used for character input of a mobile phone, for example, it can be used for character input of all computers that input other characters such as a tablet computer.

また、コンテキスト候補表示用辞書18及び変換用辞書19に格納する文字列として、日本語の場合を説明したが、これに限定されるものではなく、その他の言語や数字などであっても良い。例えば、英語の場合には、スペースで区切られるまとまり(単語)を、上記実施形態おける一文字として捉えて処理することにより、新たに構文解析器を必要とすることなく本発明を適用することができる。   Moreover, although the case where the character string stored in the context candidate display dictionary 18 and the conversion dictionary 19 is in Japanese has been described, the present invention is not limited to this, and other languages and numbers may be used. For example, in the case of English, the present invention can be applied without requiring a new parser by processing a group (word) separated by a space as one character in the above embodiment. .

引き続いて、上述した一連の文字入力装置1の文字入力処理をコンピュータに実行させるための文字入力プログラムを説明する。図9に示すように、文字入力プログラム30は、コンピュータに挿入されてアクセスされる、あるいはコンピュータが備える記録媒体20に形成されたプログラム格納領域21内に格納される。   Subsequently, a character input program for causing a computer to execute the character input processing of the series of character input devices 1 described above will be described. As shown in FIG. 9, the character input program 30 is inserted into a computer and accessed, or stored in a program storage area 21 formed on a recording medium 20 provided in the computer.

文字入力プログラム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 character input program 30 includes a main module 31 for overall control of character input processing, a storage module 32, an input module 33, an extraction module 34, a comparison module 35, a presentation module 36, and a pictogram input module 37. And a learning module 38. The functions realized by executing the storage module 32, the input module 33, the extraction module 34, the comparison module 35, the presentation module 36, the pictogram input module 37, and the learning module 38 are the character input described above. Functions of the storage unit 11, the input unit 12, the extraction unit 13, the comparison unit 14, the presentation unit 15, the pictogram input unit 16, and the learning unit 17 of the device 1 are the same.

なお、文字入力プログラム30は、その一部若しくは全部が、通信回線等の伝送媒体を介して伝送され、他の機器により受信されて記録(インストールを含む)される構成としてもよい。また、文字入力プログラム30の各モジュールは、1つのコンピュータでなく、複数のコンピュータのいずれかにインストールされてもよい。その場合、当該複数のコンピュータによるコンピュータシステムよって上述した一連の文字入力プログラム30の樹脂の射出成形の設計パラメータを決定する処理が行われる。   A part or all of the character input program 30 may be transmitted via a transmission medium such as a communication line, and received and recorded (including installation) by another device. Each module of the character input program 30 may be installed in any one of a plurality of computers instead of one computer. In that case, the process of determining the design parameters for the resin injection molding of the series of character input programs 30 described above is performed by the computer system of the plurality of computers.

1…文字入力装置、11…記憶部、12…入力部、13…抽出部、14…比較部、15…提示部、16…絵文字入力部、17…学習部、18…コンテキスト候補表示用辞書、19…変換用辞書、20…記録媒体、21…プログラム格納領域、30…文字入力プログラム、31…メインモジュール、32…記憶モジュール、33…入力モジュール、34…抽出モジュール、35…比較モジュール、36…提示モジュール、37…絵文字入力モジュール、38…学習モジュール。
DESCRIPTION OF SYMBOLS 1 ... Character input device, 11 ... Memory | storage part, 12 ... Input part, 13 ... Extraction part, 14 ... Comparison part, 15 ... Presentation part, 16 ... Pictogram input part, 17 ... Learning part, 18 ... Context candidate display dictionary, DESCRIPTION OF SYMBOLS 19 ... Conversion dictionary, 20 ... Recording medium, 21 ... Program storage area, 30 ... Character input program, 31 ... Main module, 32 ... Storage module, 33 ... Input module, 34 ... Extraction module, 35 ... Comparison module, 36 ... Presentation module, 37 ... pictogram input module, 38 ... learning module.

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に記載の文字入力装置。   2. The character input device according to claim 1, wherein the extraction unit extracts an extracted character string in a range retroactive from a cursor position indicating a character input position by a specific number of characters from the character string input by the input unit. 前記記憶手段は、参照文字列と絵文字とをトライ構造により関連付けて記憶する請求項1又は2に記載の文字入力装置。   The character input device according to claim 1, wherein the storage unit stores a reference character string and a pictograph in association with each other by a trie structure. 前記提示手段は、絵文字を前記抽出文字列の直後に入力される入力候補として提示する請求項1〜3の何れか一項に記載の文字入力装置。   The said input means is a character input device as described in any one of Claims 1-3 which presents a pictograph as an input candidate input immediately after the said extracted character string. 前記記憶手段は、前記絵文字に係る日時を示すタイムスタンプを記憶しており、The storage means stores a time stamp indicating a date and time related to the pictogram,
前記提示手段は、前記タイムスタンプを考慮して、前記優先順位を決定する、請求項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〜5の何れか一項に記載の文字入力装置。   The character input device according to any one of claims 1 to 5, wherein the presentation unit lowers the priority of the character string as the number of unmatched characters in the reference character string increases in the comparison by the comparison unit. 前記入力手段によって入力される文字と合わせて絵文字を入力する絵文字入力手段と、
前記絵文字入力手段によって入力された絵文字と当該絵文字の直前の文字列とを対応付けて前記記憶手段に記憶させる学習手段と、
を更に備える請求項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.
前記絵文字入力手段は、前記入力手段によって入力された文字を絵文字に変換することで絵文字を入力する請求項7又は8に記載の文字入力装置。   The character input device according to claim 7 or 8, wherein the pictograph input unit inputs a pictograph by converting the character input by the input unit into a pictograph. 参照文字列と絵文字とを関連付けて記憶する記憶手段を備える文字入力装置による文字入力方法であって、
文字を入力する入力ステップと、
前記入力ステップにおいて入力された文字列のうち特定の範囲の文字列である抽出文字列を抽出する抽出ステップと、
前記記憶手段によって記憶された参照文字列と前記抽出ステップにおいて抽出された抽出文字列とを末尾から比較して一致する文字数を判断する比較ステップと、
前記比較ステップにおける比較において一致すると判断された文字が多い前記参照文字列に対応付けられて前記記憶手段に記憶された絵文字ほど、優先順位を高くし、入力候補として提示する提示ステップと、
を備える文字入力方法。
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.
JP2012039361A 2012-02-24 2012-02-24 Character input device, character input method, and character input program Active JP5988614B2 (en)

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)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7170813B2 (en) 2017-11-08 2022-11-14 クリナップ株式会社 trivet

Family Cites Families (3)

* Cited by examiner, † Cited by third party
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

Cited By (1)

* Cited by examiner, † Cited by third party
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