JP2006146356A - Character input program, information processor, and character input method - Google Patents
Character input program, information processor, and character input method Download PDFInfo
- Publication number
- JP2006146356A JP2006146356A JP2004332266A JP2004332266A JP2006146356A JP 2006146356 A JP2006146356 A JP 2006146356A JP 2004332266 A JP2004332266 A JP 2004332266A JP 2004332266 A JP2004332266 A JP 2004332266A JP 2006146356 A JP2006146356 A JP 2006146356A
- Authority
- JP
- Japan
- Prior art keywords
- character
- candidate
- character string
- candidates
- string
- 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.)
- Granted
Links
Images
Landscapes
- Input From Keyboards Or The Like (AREA)
Abstract
Description
この発明は、仮名を含む複数の字種の文字が割り当てられた文字入力キーを複数含む操作部と、文字列を表示することが可能な表示部とが接続されたコンピュータに、前記操作部のキー操作に応じた文字列を生成して稼働中のアプリケーションに出力する機能を設定するためのプログラムに関する。さらにこの発明は、上記のプログラムが組み込まれた情報処理装置、およびこの情報処理装置が実行される文字入力方法に関連する。 The present invention relates to a computer in which an operation unit including a plurality of character input keys to which characters of a plurality of character types including a kana are assigned and a display unit capable of displaying a character string are connected to the computer. The present invention relates to a program for setting a function for generating a character string corresponding to a key operation and outputting it to a running application. Furthermore, the present invention relates to an information processing apparatus in which the above program is incorporated, and a character input method in which the information processing apparatus is executed.
携帯電話の一般的な操作部には、図15に示すように、0〜9の各数字キーを含む12個の文字入力キー81、確定キー82、選択キー83、所定の機能が割り当てられた機能キー84などが設けられる。「0」〜「1」の各文字入力キー81には、それぞれ50音の1行分の平仮名と3〜4個の英文字が割り当てられる。また、下段の左右の文字入力キー81には各種記号や改行機能などが割り当てられる。
As shown in FIG. 15, 12
電子メールの作成時などに日本語の入力モードが設定されると、各文字入力キー81は平仮名入力用のキーとして機能し、キーの操作回数に応じた平仮名文字が変換前文字として入力される。さらに近年の携帯電話には、入力された仮名文字により組み立てられた変換前文字列に基づいて変換後の文字列を予測する機能が設定されている。この機能により予測された変換後文字列が変換候補として一覧表示されるので、ユーザーは、変換前文字列の組立が完了しないうちに変換後文字列を確定することができる。
When a Japanese input mode is set when an e-mail is created, each
一方、数字列や英文字列を入力する場合には、入力に先立ち、字種変更機能が割り当てられた機能キー84を操作して、文字入力キー81による入力対象の字種を変更する必要がある。
また近年の携帯電話には、「後変換」機能が組み込まれたものがある。後変換とは、仮名文字列を入力した後に、所定の機能キーを操作することにより、前記仮名文字列を数字列や英文字列に変換することをいう。
On the other hand, when inputting a numeric string or an English character string, it is necessary to change the character type to be input by the
Some recent mobile phones include a “post conversion” function. Post-conversion refers to converting the kana character string into a numeric string or an English character string by operating a predetermined function key after inputting the kana character string.
このほか、図16に示すように、操作履歴に応じた数字列や英文字列を予測機能により抽出した変換候補とともに一覧表示して(図中の点線で囲んだ部分)、選択を受け付けるようにした機種も存在する。また、下記特許文献1では、文字入力キーが操作される都度、字種毎に文字列を組み立てて、これらの文字列を候補として一覧表示し、選択された文字列を変換後文字列として確定する方法を提案している。
In addition, as shown in FIG. 16, a list of numbers and English character strings corresponding to the operation history are displayed together with conversion candidates extracted by the prediction function (portion surrounded by a dotted line in the figure) to accept the selection. There is also a model. Also, in
文字入力キーの入力対象を字種変更キーによって変更する場合には、字種変更キーの操作に応じて「ひらがな→英字→数字→ひらがな・・・」というように、入力対象の字種を巡回させて確定操作を受け付けるか、表示部に字種選択用のメニュー画面を表示して選択を受け付けるようにしている。しかし、これらの方法では、いずれも、字種を選択するために複数回の操作を行わなければならない。また、入力対象の字種を元の平仮名に戻す際にも同様の操作を実行する必要があるから、字種を何度も切り替える必要がある場合には、操作が非常に煩雑になる。 When changing the input target of the character input key with the character type change key, the character type to be input is cycled according to the operation of the character type change key, such as “Hiragana → English → Number → Hiragana ...”. The confirmation operation is accepted, or a menu screen for character type selection is displayed on the display unit to accept the selection. However, in any of these methods, a plurality of operations must be performed to select a character type. Moreover, since it is necessary to perform the same operation when returning the character type to be input to the original hiragana, the operation becomes very complicated when it is necessary to switch the character type many times.
一例として、日付や時刻のように、数字に仮名漢字や記号を組み合わせた文字列(9月20日、12時20分など)を入力する場合を考えてみる。たとえば『9月20日』という文字列を入力する場合、字種を数字に切り替える操作と仮名に切り替える操作とを交互に繰り返しながら、『9』『月』『20』『日』を順に入力するか、『920』と入力した後に、カーソルを『9』と『2』との間に移動させて『月』を挿入し、さらにカーソルを文字列の末尾に移動させて『日』を入力する必要がある。このように、文字入力キー以外のキーを多数操作しなければならないため、操作が煩雑になり、入力ミスが生じたり、入力時間が増大するなどの問題が発生する。 As an example, let us consider a case where a character string (September 20, 12:20, etc.), which is a combination of numbers and kana kanji and symbols, such as date and time, is input. For example, when the character string “September 20” is input, “9”, “month”, “20”, and “day” are sequentially input while alternately repeating the operation of switching the character type to numbers and the operation of switching to kana. Or after entering “920”, move the cursor between “9” and “2” to insert “Month”, then move the cursor to the end of the string and enter “Day” There is a need. As described above, since many keys other than the character input keys have to be operated, the operation becomes complicated, causing problems such as input errors and an increase in input time.
後変換機能を利用する場合には、図17に示すように、字種を変更する操作に応じて、表示部の画面が通常の仮名漢字変換用の表示画面から数字列や英文字列の候補の表示画面に変化する。この一覧表示画面上で目的の文字列を選択することによって、変換後文字列を確定することができる。しかし、この方法では、字種変更操作が行われるまでは、入力文字列として平仮名文字列が表示されるため、正しい入力が行われたかどうかを確認するのが困難である。特に、「111」のように同じ文字を続けて入力する場合には、文字入力とカーソルの移動とを繰り返す操作(たとえば、入力文字列が「あああ」となるようにする。)を行う必要があるが、目的の数字列を確認できないことから入力ミスが起こる可能性がある。
さらに、この後変換機能は、パーソナルコンピュータによる文字入力の経験がないユーザーには馴染みのない機能であるため、利用されにくいという問題がある。
When using the post-conversion function, as shown in FIG. 17, in response to the operation of changing the character type, the display screen changes from a normal kana-kanji conversion display screen to a number string or English character string candidate. The display screen changes. By selecting a target character string on the list display screen, the converted character string can be confirmed. However, with this method, the hiragana character string is displayed as the input character string until the character type change operation is performed, so it is difficult to confirm whether the correct input has been performed. In particular, when the same character such as “111” is continuously input, it is necessary to perform an operation of repeating the character input and the cursor movement (for example, the input character string becomes “Oh”). However, there is a possibility that an input error occurs because the target numeric string cannot be confirmed.
Furthermore, this post-conversion function is a function that is not familiar to users who have no experience of inputting characters with a personal computer, and therefore has a problem that it is difficult to use.
数字列や英文字列を仮名文字列から予測した変換候補とともに表示する方法では、表示スペースの問題もあって、特定の表示形式に固定されていることが多い。前記した図16の例でも、半角の文字列に限定されて表示されている。このような表示では、ユーザーの意図する形式に変換することができず、使用されにくいという問題がある。 A method of displaying a numeric string or an English character string together with conversion candidates predicted from a kana character string is often fixed to a specific display format due to a problem of display space. Also in the example of FIG. 16 described above, the display is limited to single-byte character strings. Such a display has a problem that it cannot be converted into a format intended by the user and is difficult to use.
特許文献1に開示された方法によれば、文字入力キーの操作に応じてその操作履歴に応じた文字列が字種毎に表示されるため、入力目的に応じた文字列を内容を確認しながら入力することができる。しかし、この方法でも候補として表示される形式は限定されており、種々の表示形式を選択するまでには至っていない。また、近年の携帯電話は、前記したように、文字入力キーが操作される都度、変換候補を予測して表示するようにしているので、この変換候補の表示欄と字種毎の候補の表示欄とを並列表示するのは、困難である。さらに、数字列や英文字列を入力する頻度は、仮名漢字文字列を入力する頻度よりも格段に少ないから、字種毎の候補表示を利用する頻度も少なく、表示スペースを設定するだけのメリットが得られないように思われる。
According to the method disclosed in
この発明は、上記の問題に着目してなされたもので、複数の字種にかかる文字が割り当てられた文字入力キーを用いて仮名漢字以外の文字列を入力する場合でも、簡単かつ効率良く文字列を入力できるようにすることを目的とする。 The present invention has been made paying attention to the above problem, and even when a character string other than kana kanji is input using a character input key to which characters relating to a plurality of character types are assigned, the character is simply and efficiently. The purpose is to be able to enter a column.
この発明にかかる文字入力用のプログラムは、仮名を含む複数の字種の文字が割り当てられた文字入力キーを複数含む操作部と、文字列を表示することが可能な表示部とが接続されたコンピュータに、前記操作部のキー操作に応じた文字列を生成して稼働中のアプリケーションに出力する機能を設定するためのもので、後記する文字列組立手段、候補抽出手段、第1、第2の候補表示手段、確定手段の各手段として、前記コンピュータを機能させるためのプログラムを含む。 In the character input program according to the present invention, an operation unit including a plurality of character input keys to which characters of a plurality of character types including a kana are assigned and a display unit capable of displaying a character string are connected. This is for setting a function for generating a character string corresponding to a key operation of the operation unit and outputting it to a running application in a computer. Character string assembling means, candidate extracting means, first and second described later Each of the candidate display means and the confirmation means includes a program for causing the computer to function.
前記操作部には、文字入力キーのほかに、変換候補を選択するための選択キーや選択した候補を確定するための確定キーなどを含めることができる。なお、文字入力キーに割り当てる仮名は、平仮名が望ましいが、これに限らず片仮名としてもよい。また、文字入力キーは、いわゆるテンキーとして配列されるのが望ましいが、必ずしもその配列に限定されるものではない。
表示部は、変換前文字列や複数の変換候補を表示できるだけの大きさに構成されるのが望ましい。たとえば、縦横ともに複数の文字を表示できるだけの数の画素が設けられた液晶パネルを、表示部として使用することができる。
In addition to the character input key, the operation unit can include a selection key for selecting a conversion candidate, a confirmation key for confirming the selected candidate, and the like. The kana assigned to the character input key is preferably hiragana, but is not limited to this and may be katakana. The character input keys are preferably arranged as so-called numeric keys, but are not necessarily limited to the arrangement.
The display unit is preferably configured to be large enough to display the pre-conversion character string and a plurality of conversion candidates. For example, a liquid crystal panel provided with a number of pixels capable of displaying a plurality of characters both vertically and horizontally can be used as the display unit.
「稼働中のアプリケーション」とは、専用のプログラムによりコンピュータにより設定された機能である。このアプリケーションは、ワードプロセッサ、メールエディタ、データベースシステムなど、文字列の入力を受け付けて、その入力文字列を組み込んだ情報を作成するように設計されているのが望ましい。 An “active application” is a function set by a computer using a dedicated program. This application is preferably designed to accept input of a character string, such as a word processor, mail editor, database system, etc., and create information incorporating the input character string.
文字列組立手段は、前記操作部の文字入力キーが操作される毎に、その操作履歴に応じた仮名文字列を組み立てる。
候補抽出手段は、前記文字列組立手段により組み立てられた仮名文字列により所定数の変換後文字列が格納されたデータベースを検索して、変換候補の変換後文字列を抽出する。なお、データベースは、前記コンピュータのメモリにあらかじめ格納することができる。このデータベースには、変換後文字列として、多数の仮名漢字文字列を登録しておくことができる。また、外来語や略称などについて、英文字列を登録しておくこともできる。
なお、この明細書における「仮名漢字文字列」は、仮名および漢字を含む文字列のほか、仮名文字の文字列、漢字のみの文字列を含むものとする。
The character string assembling means assembles a kana character string corresponding to the operation history each time the character input key of the operation unit is operated.
The candidate extracting means searches a database in which a predetermined number of converted character strings are stored using the kana character strings assembled by the character string assembling means, and extracts the converted character strings of the conversion candidates. The database can be stored in advance in the memory of the computer. In this database, many kana-kanji character strings can be registered as converted character strings. In addition, English character strings can be registered for foreign words and abbreviations.
The “kana / kanji character string” in this specification includes a kana character string and a kanji character string as well as a kana character string and kanji character string.
第1の候補表示手段は、前記候補抽出手段により抽出された変換候補と仮名/漢字以外の字種を指定するための字種候補とを混在させた候補一覧画面を作成して、この候補一覧画面を前記表示部に表示する。
ここで、「字種候補」とは、入力対象の字種を指定するための選択ボタンに相当するもので、指定する字種を明確に示す表示態様を具備するものと考えることができる。たとえば、「数字」「英字」などの文字列を他の変換候補とは異なる態様(文字列を枠囲みしたり、表示色を変えるなど)により表したものを、字種候補とすることができる。
The first candidate display unit creates a candidate list screen in which the conversion candidates extracted by the candidate extraction unit and character type candidates for designating character types other than kana / kanji are mixed, and this candidate list is displayed. A screen is displayed on the display unit.
Here, the “character type candidate” corresponds to a selection button for designating a character type to be input, and can be considered to have a display mode that clearly indicates the designated character type. For example, a character string candidate such as a character string such as “numeric characters” or “alphabetic characters” expressed in a manner different from other conversion candidates (for example, surrounding the character string or changing the display color) can be used. .
第2の候補表示手段は、前記候補一覧画面上の所定の字種候補に対する選択操作が行われたとき、その候補に対応する字種について、前記文字入力キーの操作履歴に応じた文字列をそれぞれ異なる表示形式で表した複数の変換候補を作成し、これらの候補による候補一覧画面を前記表示部に表示する。たとえば、前記候補一覧画面上の「数字」の字種候補が選択された場合に、その時点までの文字入力キーの操作履歴に応じた数字列を全角表示したもの、半角表示したもの、3桁毎にカンマ区切りを入れて表示したもの、数字列に所定の符号や記号(+,−,¥など)を付して表示したものなど、同じ数字列を含む複数の変換候補を表示することができる。 When a selection operation is performed on a predetermined character type candidate on the candidate list screen, the second candidate display means displays a character string corresponding to the operation history of the character input key for the character type corresponding to the candidate. A plurality of conversion candidates expressed in different display formats are created, and a candidate list screen based on these candidates is displayed on the display unit. For example, when a “numeric” character type candidate on the candidate list screen is selected, a numeric string corresponding to the operation history of the character input key up to that point is displayed in full-width, half-width, 3-digit It is possible to display a plurality of conversion candidates including the same numeric string, such as a comma-separated display for each, a numeric string with a predetermined sign or symbol (+,-, \, etc.), etc. it can.
確定手段は、前記第1または第2の候補表示手段による候補一覧画面上で所定の変換候補に対する選択操作が行われたとき、その選択された候補の文字列を変換後文字列として確定する。この確定された変換後文字列が前記稼働中のアプリケーションに出力されることになる。 The confirmation means confirms the character string of the selected candidate as a converted character string when a selection operation is performed on a predetermined conversion candidate on the candidate list screen by the first or second candidate display means. The determined converted character string is output to the running application.
上記の各手段によれば、仮名漢字を入力する場合には、仮名による変換前文字列が組み立てられるように文字入力キーを操作しつつ、第1の候補表示手段により表示された候補一覧画面から変換候補を選択する方法により、目的の文字列を入力することができる。また、仮名漢字以外の文字列(数字列や英文字列など)を入力する場合には、入力すべき文字に応じた文字入力キーを操作した後に、一覧表示画面上の字種候補を選択し、さらにこの選択に応じて表示された第2の候補一覧画面から候補を選択することにより、目的の文字列を入力することができる。よって、仮名漢字以外の文字列を入力する場合にも、2種類の一覧表示画面に対する選択操作を行うだけで入力を完了することができるから、簡単かつ効率の良い入力を行うことができる。また、選択操作用のキーがあれば足りるので、字種変更用の機能キーを設ける必要がなくなり、キーの割当をシンプルにすることができる。 According to each of the above means, when inputting kana / kanji, from the candidate list screen displayed by the first candidate display means, operating the character input keys so that the pre-conversion character string by kana is assembled. A target character string can be input by a method of selecting conversion candidates. In addition, when inputting a character string other than Kana / Kanji (numerical character string, English character string, etc.), select a character type candidate on the list display screen after operating the character input key according to the character to be input. Furthermore, by selecting a candidate from the second candidate list screen displayed in response to this selection, the target character string can be input. Therefore, even when a character string other than kana / kanji is input, the input can be completed only by performing a selection operation on the two types of list display screens. Therefore, the input can be performed easily and efficiently. Further, since there is only a need for a selection operation key, there is no need to provide a function key for changing the character type, and the key assignment can be simplified.
前記操作部の文字入力キーには、仮名以外に少なくとも数字が割り当てられるのが望ましい。このような操作部を使用する場合の好ましい態様では、前記文字列組立手段は、文字入力キーの操作に応じて、前記仮名文字列とともに数字列を組み立てる。また前記第1の候補表示手段は、数字用の字種候補として、複数種の情報毎に候補を作成することが可能であって、文字入力キーが操作される都度、前記文字列組立手段により組み立てられた数字列に各情報が適合するか否かを判別し、適合すると判別した情報に対応する字種候補を前記一覧表示画面に含めるように構成される。また、第2の候補表示手段は、数字用の各字種候補に対し、それぞれ前記文字列組立手段により組み立てられた数字列を前記字種候補の情報に適合する形式で表した複数種の変換候補を作成するように構成される。 It is desirable that at least a number other than kana is assigned to the character input key of the operation unit. In a preferred mode when such an operation unit is used, the character string assembling means assembles a numeric string together with the kana character string in accordance with an operation of a character input key. The first candidate display means can create a candidate for each of a plurality of types of information as a character type candidate for numbers, and each time a character input key is operated, the character string assembling means It is configured to determine whether or not each piece of information matches the assembled number string, and to include character type candidates corresponding to the information determined to match in the list display screen. In addition, the second candidate display means converts, for each character type candidate for numbers, a plurality of types of conversions in which the number strings assembled by the character string assembling means are represented in a format suitable for the information on the character type candidates. Configured to create candidates.
たとえば、第1の候補表示手段は、日付、時刻、金額などの情報毎に字種候補を作成することができる。第2の候補表示手段は、字種候補毎に、その候補に対応する情報の表示形式に応じて、組み立てられた数字列に所定数の文字を挿入し、候補を作成する。たとえば、「920」という数字列が組み立てられた状態下で、日付にかかる字種候補が選択された場合には、「9月20日」「9/20」「9.20」などの候補を作成することができる。 For example, the first candidate display means can create a character type candidate for each piece of information such as date, time, and amount. For each character type candidate, the second candidate display means inserts a predetermined number of characters into the assembled number string in accordance with the display format of information corresponding to the candidate, and creates a candidate. For example, when a character type candidate related to a date is selected in a state where a numeric string “920” is assembled, candidates such as “September 20”, “9/20”, and “9.20” are selected. Can be created.
なお、数字用の字種候補としては、少なくとも日付および時刻の別に候補を作成するのが望ましい。電子メールなどで使用される可能性が高い情報であり、従来の入力方法では、入力操作が煩雑になっていた文字列だからである。さらに、これらの特別の情報用の字種候補以外に、一般的な数字列に対応する字種候補(数字列のみへの変換を指示するもの)も作成するのが望ましい。 Note that it is desirable to create candidates for at least date and time as character type candidates for numbers. This is information that has a high possibility of being used in e-mails and the like, and is a character string that has been complicated in the conventional input method. Further, in addition to these special information character type candidates, it is desirable to create character type candidates corresponding to general numeric strings (those that instruct conversion to only numeric strings).
上記のプログラムにかかる他の好ましい態様では、前記データベース内の変換後文字列および各字種候補に、それぞれ頻度情報が対応づけられる。また、第1の候補表示手段は、前記候補抽出手段により抽出された変換候補および各字種候補を、それぞれの頻度情報に基づき、頻度の高いものから順に表示するように構成される。 In another preferred aspect of the above program, frequency information is associated with the converted character string and each character type candidate in the database. The first candidate display means is configured to display the conversion candidates and the character type candidates extracted by the candidate extraction means in order from the highest frequency based on the frequency information.
データベース内の変換後文字列にかかる頻度情報は、従来の仮名漢字変換用の辞書データに設定されるのと同様に、一般的な使用頻度をベースにして、過去の使用履歴に基づいて設定することができる。字種候補にかかる頻度情報も、これとほぼ同様に考えて設定することができる。この態様によれば、仮名漢字変換における使用頻度が低い変換候補よりも字種候補を優先的に表示することが可能となるから、字種候補の選択操作を効率良く行うことができる。 The frequency information related to the converted character string in the database is set based on the past usage history based on the general usage frequency, similarly to the conventional dictionary data for kana-kanji conversion. be able to. The frequency information related to the character type candidate can be set in the same manner as this. According to this aspect, the character type candidates can be preferentially displayed over the conversion candidates that are used less frequently in the kana-kanji conversion, so that the character type candidate selection operation can be performed efficiently.
この発明にかかる情報処理装置は、仮名を含む複数の字種の文字が割り当てられた文字入力キーを複数含む操作部と、文字列を表示することが可能な表示部と、前記操作部および表示部が接続され、前記操作部のキー操作に応じた文字列を生成して稼働中のアプリケーションに出力する機能が設定された制御部とを含む。前記制御部は、コンピュータを主体とするもので、前記した文字入力用のプログラムによる文字列組立手段、候補抽出手段、第1、第2の候補表示手段、確定手段の各手段を具備する。 An information processing apparatus according to the present invention includes an operation unit including a plurality of character input keys to which characters of a plurality of character types including a kana are assigned, a display unit capable of displaying a character string, the operation unit, and the display And a control unit configured to generate a character string corresponding to a key operation of the operation unit and output the character string to an active application. The control unit is mainly a computer, and includes character string assembling means, candidate extraction means, first and second candidate display means, and confirmation means by the character input program.
上記情報処理装置の好ましい態様では、前記操作部の各文字入力キーに、それぞれ少なくとも複数の仮名文字と1個の数字とが割り当てられる。また、前記文字列組立手段は、文字入力キーの操作に応じて、前記仮名文字列とともに数字列を組み立てており、同一の文字入力キーが連続操作されたことに応じて仮名文字列の末尾の文字を変更する一方、数字については前記連続操作に応じて同一の文字を続けて配列する。 In a preferred aspect of the information processing apparatus, at least a plurality of kana characters and one number are assigned to each character input key of the operation unit. Further, the character string assembling means assembles a numeric string together with the kana character string according to the operation of the character input key, and at the end of the kana character string according to the same character input key being operated continuously. While the characters are changed, the same characters are continuously arranged for the numbers according to the continuous operation.
上記の情報処理装置は、携帯電話として構成することができる。このほか、ゲーム機、ビデオデッキ、DVDデッキ、リモコン付きの家電製品の入力部などとして構成することもできる。なお、前記入力部および表示部は、制御部が収容された本体部に一体に設けることもできるし、本体部とは別体に構成することもできる。 The information processing apparatus described above can be configured as a mobile phone. In addition, it can be configured as a game machine, a video deck, a DVD deck, an input unit of a home appliance with a remote control, or the like. The input unit and the display unit can be provided integrally with the main body unit in which the control unit is accommodated, or can be configured separately from the main body unit.
この発明にかかる文字入力方法は、仮名を含む複数の字種の文字が割り当てられた文字入力キーを複数含む操作部と、文字列を表示することが可能な表示部とが接続されたコンピュータにおいて、前記操作部のキー操作に応じた文字列を生成して稼働中のアプリケーションに出力するものである。この方法では、前記文字入力キーが操作される都度、その操作履歴に応じた仮名文字列を組み立てるステップAと、所定数の変換後文字列が格納されたデータベースを前記ステップAで組み立てられた仮名文字列により検索して変換候補の変換後文字列を抽出するステップBと、前記ステップBで抽出された変換候補と仮名/漢字以外の字種を指定するための字種候補とを混在させた第1の候補一覧画面を作成して、この候補一覧画面を前記表示部に表示するステップCとを実行する。さらに、前記候補一覧画面上の所定の字種候補に対する選択操作が行われたとき、その候補に対応する字種について、前記文字入力キーの操作履歴に応じた文字列をそれぞれ異なる表示形式で表した複数の変換候補を作成し、これらの候補による第2の候補一覧画面を前記表示部に表示した後、この第2の候補一覧画面上で所定の変換候補に対する選択操作が行われたとき、その選択された候補の文字列を変換後文字列として確定して、前記アプリケーションに出力する。 A character input method according to the present invention is a computer in which an operation unit including a plurality of character input keys to which characters of a plurality of character types including a kana are assigned and a display unit capable of displaying a character string are connected. A character string corresponding to the key operation of the operation unit is generated and output to a running application. In this method, each time the character input key is operated, a step A for assembling a kana character string corresponding to the operation history, and a database storing a predetermined number of converted character strings in the step A Step B for extracting a converted candidate character string by searching by a character string, and a character candidate for specifying a character type other than kana / kanji mixed with the conversion candidate extracted in step B A first candidate list screen is created, and step C for displaying the candidate list screen on the display unit is executed. Further, when a selection operation is performed on a predetermined character type candidate on the candidate list screen, a character string corresponding to the operation history of the character input key is displayed in different display formats for the character type corresponding to the candidate. After creating a plurality of conversion candidates and displaying a second candidate list screen based on these candidates on the display unit, when a selection operation for a predetermined conversion candidate is performed on the second candidate list screen, The selected candidate character string is confirmed as a converted character string and output to the application.
上記の文字入力方法のステップAは前記文字列組立手段により、ステップBは候補抽出手段により、ステップCは第1の候補表示手段により、それぞれ実行することができる。また、字種候補に対する選択操作に応じて第2の候補一覧画面を表示する処理は、前記第2の候補表示手段により実行することができ、第2の候補一覧画面上の所定の変換候補に対する選択操作に応じて変換後文字列を確定する処理は,前記確定手段により実行することができる。 Step A of the character input method can be executed by the character string assembling means, step B can be executed by a candidate extracting means, and step C can be executed by a first candidate display means. Further, the process of displaying the second candidate list screen in response to the selection operation for the character type candidate can be executed by the second candidate display means, and the predetermined conversion candidate on the second candidate list screen is displayed. The process of determining the converted character string according to the selection operation can be executed by the determining means.
この発明によれば、仮名を含む複数の字種の文字が割り当てられた文字入力キーを複数含む操作部を用いて仮名漢字以外の文字列を入力する場合でも、必要な文字を入力した後に、候補を選択する操作を2度行うことによって、目的とする文字列を入力することができる。よって、仮名漢字以外の文字列を簡単かつ効率良く入力することができ、この種の操作部を使用する情報処理装置の操作性を高めることができる。 According to this invention, even when inputting a character string other than kana kanji using an operation unit including a plurality of character input keys to which characters of a plurality of character types including kana are assigned, after inputting necessary characters, By performing the operation of selecting a candidate twice, a target character string can be input. Therefore, character strings other than kana / kanji can be input easily and efficiently, and the operability of the information processing apparatus using this type of operation unit can be improved.
図1は、この発明の一実施例が適用された携帯電話内の日本語入力システムの構成を示す。この日本語入力システム100は、電子メールの作成処理時などに起動して、稼働中のアプリケーション(メールエディタなど)に日本語を入力する処理を実行する。
FIG. 1 shows the configuration of a Japanese input system in a mobile phone to which one embodiment of the present invention is applied. The
図1中の操作部8および表示部9は、携帯電話の機体本体に配備されるものである。操作部8には、文字入力キーを含む複数個のキーが配備され、各文字入力キーに、前記図15と同様に文字が割り当てられる。なお、以下では、特定の文字入力キーに言及する場合には、「0キー」、「1キー」というように、そのキーに割り当てられた数字をもって表すことにする。
The
前記日本語入力システム100には、入力情報判定部1、候補作成部2、後変換候補作成部3、候補バッファ4、画面表示制御部5、出力部6、履歴保管部7などが設けられる。候補バッファ4以外の各処理部は、主として、プログラムにより携帯電話のCPU(図示せず。)に設定された機能である。候補バッファ4は図示しないメモリ内に設定される。
The
入力情報判定部1は、前記操作部8の所定のキーが操作されたとき、その操作により発生した信号を取り込んで操作内容を判別する。ここで、文字入力キーが操作された場合には、どのキーが操作されたかを示す情報(以下、「キー操作情報」という。)を候補作成部2に出力する。また候補を選択する操作が行われた場合には、何番目の候補が選択されたかを示す情報(以下、「選択操作情報」という。)を、後変換候補作成部3または出力部6に出力する。
When a predetermined key of the
候補作成部2および後変換候補作成部3は、詳細は後記するが、文字入力キーの操作履歴に応じて組み立てられた平仮名の入力文字列に対する変換候補を作成する。作成された候補は、候補バッファ4に格納される。画面表示制御部5は、この候補バッファ4に格納された候補を読み出して候補一覧画面を作成し、表示部9に出力する。
Although details will be described later, the
出力部6は、表示部9に候補一覧画面が表示されている状態下で候補の選択操作が行われたとき、候補バッファ4からその選択にかかる候補を読み出し、これを変換後文字列として確定する。確定された変換後文字列は、履歴保管部7および稼働中のアプリケーション(以下、「上位アプリケーション」という。)に出力される。履歴保管部7は、出力部6から変換後文字列の提供を受けると、その文字列について、後記する学習履歴データベース26b内の使用履歴を更新する処理を実行する。
When the candidate selection operation is performed in a state where the candidate list screen is displayed on the
図2は、上記の日本語入力システム100が文字入力により作成する候補一覧画面の具体例を示す。
この例では、文字入力のために、0キーと4キーとが操作されている。通常の文字入力では、毎時の文字入力キーの操作に応じて平仮名による入力文字列が組み立てられ、候補一覧画面(A)が表示される。この候補一覧画面(A)では、文字入力キーの操作履歴に応じた入力文字列『わた』が上段に表示されるとともに、下段に、この入力文字列から予測された変換候補の文字列(『私』『わたし』『渡す』など)が表示される。これらの変換候補は、前記候補作成部2により作成されたものである。なお、図中の51は、候補選択用のカーソルである。
FIG. 2 shows a specific example of a candidate list screen created by the
In this example, the 0 key and the 4 key are operated for character input. In normal character input, an input character string based on hiragana is assembled according to the operation of the hourly character input key, and a candidate list screen (A) is displayed. In the candidate list screen (A), the input character string “WATA” corresponding to the operation history of the character input key is displayed in the upper row, and the character string of the conversion candidate predicted from the input character string (“ "I""I""Pass" etc.) are displayed. These conversion candidates are created by the
さらに、この候補一覧画面(A)には、上記の変換候補に加え、所定の文字列を枠で囲んだ構成の候補52が2つ表示されている。これらの候補52は、前記入力文字列を特定の字種の文字列に後変換する旨を指定するためのもので、枠内には、後変換対象の字種を示す文字列(『数字』『英字』)が記載されている。以下では、これらの候補52を「字種候補」という。
Further, in this candidate list screen (A), in addition to the above conversion candidates, two
『数字』の字種候補52を選択する操作が行われると、候補一覧画面(A)は(B)の状態に切り替えられる。また『英字』の字種候補52を選択する操作が行われると、候補一覧画面(A)は(C)の状態に切り替えられる。これらの候補一覧画面(B)(C)では、上段の入力文字列が指定された字種(数字、英字)に変化するとともに、変換候補として、前記入力文字列を全角で表示したものと半角で表示したものとが表示される。
When the operation of selecting the “numeric”
前記日本語入力システム100では、字種候補52の選択に応じて切り替えられた候補一覧画面(B)(C)上で所定の候補を選択する操作が行われると、その選択された候補の文字列を変換後文字列として確定し、上位アプリケーションに出力するようにしている。よって、上位アプリケーションに数字列や英文字列を入力する場合には、その文字列に応じた文字入力キーを操作した後、最初に表示される候補一覧画面(A)で字種候補52を選択し、その選択に応じて切り替えられた候補一覧画面(B)または(C)で所望の変換候補を選択すればよくなる。言い換えれば、通常の仮名漢字変換による文字入力と同様の選択操作を2回実行することによって、数字列や英文字列を入力することが可能となるから、入力にかかる効率を大幅に高めることができる。
In the
また、この実施例では、仮名漢字変換のための変換候補および字種候補52にそれぞれ使用頻度を設定しており、候補一覧画面(A)において、各候補を頻度の高いものから順に配列するようにしている。これにより、使用頻度の低い仮名漢字の変換候補(たとえば『腸』)よりも使用頻度の高い『数字』の字種候補52を先に表示することができ、よく利用される字種候補52の選択を簡単にすることができる。
In this embodiment, the frequency of use is set for each of the conversion candidates for kana-kanji conversion and the
なお、候補一覧画面(B)(C)には、変換候補とともに、『閉じる』ボタン53が表示される。このボタン53を選択する操作が行われた場合には、画面を、字種候補52を選択する前の状態(すなわち候補一覧画面(A))に復帰させることができる。
In the candidate list screens (B) and (C), a “close”
図3は、文字入力および候補一覧画面の他の例を示す。
図中の(a)は、1キーおよび2キーの各文字入力キーが順に操作された時点の候補一覧画面であって、上段に『あか』という入力文字列が表示されるとともに、下段に、この入力文字列から予測された変換候補(『赤い』『赤』『赤坂』など)が表示されている。
FIG. 3 shows another example of the character input and candidate list screen.
(A) in the figure is a candidate list screen at the time when the character input keys of the 1 key and the 2 key are sequentially operated, and an input character string “Aka” is displayed in the upper row, and in the lower row, Conversion candidates ("red", "red", "Akasaka", etc.) predicted from this input character string are displayed.
さらに、この候補一覧画面(a)には、前記『数字』『英字』の各字種候補52に加え、『日付』『時刻』『金額』の3種類の字種候補55が表示されている。これらの字種候補55は、いずれも入力文字列を数字列に後変換することを目的とするが、特定の意味を持つ文字列に変換することを目的とする点で、単なる数字列への変換を指定する『数字』の字種候補52とは性質を異にする。
Further, in this candidate list screen (a), in addition to the respective
『日付』の字種候補55が選択されると、前記候補一覧画面(a)は(b)の状態に切り替えられる。この候補一覧画面(b)では、上段に、前記入力文字列『あか』から後変換された数字列『12』が表示されるとともに、変換候補として、『12日』『1月2日』など、前記『12』から導き出すことが可能な日付の文字列が表示される。
When the “Date”
『時刻』の字種候補55が選択されると、前記候補一覧画面(a)は(c)の状態に切り替えられる。この一覧表示画面(c)では、上段に、前記入力文字列『あか』から後変換された数字列『12』が表示されるとともに、変換候補として、『12時』『12分』など、前記『12』から導き出すことが可能な時刻の文字列が表示される。
When the “time”
なお、『金額』の字種候補55を選択した場合の候補一覧画面については、ここには図示していないが、上記(b)や(c)と同様の画面を設定して、『12円』『1万2千円』『¥12,000』などの変換候補を表示することができる。
The candidate list screen when the “money amount”
さらにこの実施例では、各字種候補52,55を表示するにあたり、正しい情報に変換できない候補を表示対象から除外するようにしている。
図4は、文字入力キーが、1キー、2キー、3キー、2キーの順に操作されて、『あかさか』という入力文字列が組み立てられた場合の候補一覧画面を示す。この候補一覧画面にも、仮名漢字の変換候補とともに、『数字』『英字』『時刻』『金額』の各字種候補52,55が表示されているが、『日付』の字種候補55は表示されていない。これは、入力文字列を数字列に後変換した場合の文字列『1232』が日付を表す文字列にならない(12月32日は存在しない。)からである。
Furthermore, in this embodiment, when displaying each
FIG. 4 shows a candidate list screen when the input character string “Akasaka” is assembled by operating the character input keys in the order of 1 key, 2 keys, 3 keys, and 2 keys. The candidate list screen also displays kanji / kanji conversion candidates and
以下、上記図2〜4に示した動作を実現するために必要なソフトウェアの機能および具体的な処理について、順を追って説明する。なお、以下では、各字種候補52,55を特定するための情報のことを、「字種情報」という。この字種情報は、字種候補52,55の表示枠内に記載される文字列(『日付』『時刻』など)により表現される。
Hereinafter, the software functions and specific processes necessary to realize the operations shown in FIGS. 2 to 4 will be described in order. In the following, the information for specifying the
図5は、候補作成部2の詳細な機能を示したものである。この候補作成部2には、入力文字列組立部21、入力キー列組立部22、候補文字列検索部23、字種候補選択部24、候補配列部25、辞書データベース26a、学習履歴データベース26b、字種情報頻度データベース27a、字種パターンデータベース27b、字種バッファ28などが含められる。
FIG. 5 shows the detailed functions of the
入力文字列組立部21は、それぞれ前記入力情報判定部からのキー操作情報を受け付けて、平仮名による入力文字列を組み立てる。一方、入力キー列組立部22は、操作されたキーを操作順に並べた配列(以下、「入力キー列」という。)を組み立てる。
The input character
なお、この実施例では、入力キー列として、各キーに対応する数字を配列するようにしている。よって入力キー列は、実質的に、数字による入力文字列を表すことになる。
また入力文字列組立部21は、同じキーが連続操作された場合は、入力文字列の末尾の文字を切り替えるが、入力キー列組立部22は、この連続操作を反映したキー列を組み立てる。たとえば、「1」のキーが3回連続操作された場合、入力文字列組立部21が組み立てる文字列は『う』であるが、入力キー列組立部22が組み立てる入力キー列は『111』となる。
In this embodiment, the numbers corresponding to the keys are arranged as the input key string. Therefore, the input key string substantially represents an input character string with numbers.
The input character
辞書データベース26aには、多数の仮名漢字文字列が格納される。学習履歴データベース26bには、辞書データベース26aに格納された各文字列の使用頻度情報が格納される。候補文字列検索部23は、前記入力文字列取得部21により組み立てられた平仮名文字列を用いてこれらのデータベース26a,26bを検索し、変換候補となる文字列およびその使用頻度を抽出する。
A large number of kana / kanji character strings are stored in the dictionary database 26a. The learning
字種情報頻度データベース27aには、各字種情報の使用頻度情報が格納される。字種パターンデータベース27bには、各字種情報に適合するキー列のパターン情報が格納される。前記字種候補選択部24は、字種パターンデータベース27b内の各パターンを前記入力キー列と照合することにより、入力キー列に適合する字種情報を抽出した後、字種情報頻度データベース27aから前記抽出された字種情報の使用頻度を読み出す。なお、字種バッファ28は、抽出された字種情報および使用頻度を一時保存するために使用される。
In the character type information frequency database 27a, usage frequency information of each character type information is stored. The character
前記候補文字列検索部23が抽出した変換候補や字種候補選択部24が選択した字種候補は、それぞれの候補に対応する頻度情報とともに、候補配列部25に提供される。候補配列部25は、これらの候補を渡された順に前記候補バッファ4に格納してゆき、最終的に、候補の配列を頻度の高いものから順に並べ替える処理を実行する。なお、この並べ替えが終わると、候補配列部25は前記画面表示制御部5を起動させる。画面表示制御部5は、この並べ替え後の候補バッファ4から候補を読み出して、前記一覧表示画面を作成することになる。
The conversion candidates extracted by the candidate character
図6は、前記字種情報頻度データベース27aの構成例を示す。このデータベース27aでは、字種情報毎に固定された使用頻度を設定している。最も使用頻度が高いのは、『日付』であり、以下、『時刻』『数字』『金額』『英字』の順になっている。 FIG. 6 shows a configuration example of the character type information frequency database 27a. In this database 27a, a fixed use frequency is set for each character type information. The most frequently used is “date”, and in the order of “time”, “number”, “amount”, and “alphabet”.
上記の使用頻度の設定は、図7に示す分析結果に基づいて行われたものである。この図7は、携帯電話でやりとりされた所定数のメールを発明者が分析して、数値表現の種類毎に分類した結果を示すものである。この結果によれば、日付を表す表現が38%と最も多く、時刻を表す表現が18%、金額を表す表現が9%になり、そのほかにも、種々の数値表現が抽出されている。 The above setting of the use frequency is performed based on the analysis result shown in FIG. FIG. 7 shows the result of the inventor analyzing a predetermined number of e-mails exchanged with a mobile phone and classifying them according to the type of numerical expression. According to this result, the expression representing the date is the largest at 38%, the expression representing the time is 18%, the expression representing the amount is 9%, and various other numerical expressions are extracted.
なお、図6の例では、『英字』の頻度が0に設定されている。これは、英字列の入力頻度が数字列よりも格段に低いことによる。また、英字は、平仮名と同様に、1つの文字入力キーに複数個ずつ割り当てられているので、後変換よりも、入力対象の字種を英字に切り替えてから入力を行う方法が選択される可能性の方が高い、という点も考慮している。 In the example of FIG. 6, the frequency of “English characters” is set to zero. This is because the input frequency of English character strings is much lower than that of numeric character strings. In addition, as with Hiragana, multiple letters are assigned to one character input key, so it is possible to select a method of input after switching the character type to be input to English rather than post-conversion. It also considers that the nature is higher.
図8は、前記字種パターンデータベース27bのデータ構成例を示す。
この字種パターンデータベース27bは、前記入力キー列組立部22により組み立てられたキー列のパターンに、そのパターンが表現することが可能な字種情報を対応づけたものである。なお、図中の『−』は『該当キーなし』または『任意のキー』を意味する。また、『英字』『数字』『金額』の各字種情報については、キーの数や配列に関わらず、全ての入力キー列をあてはめることにして、それぞれの字種情報に、キー数を『0』、すべてのキーを『任意』とするパターンを対応づけている。
FIG. 8 shows a data configuration example of the character
The character
上記のデータベース27aにより字種候補を選択する処理の具体例を説明する。
たとえば、前記図3の例の入力操作で組み立てられる入力キー列『12』は、キー数が2であって、1番目のキーが「1」、2番目のキーが「2」となる。図8によれば、『日付』『時刻』とも、この入力キー列に対応するパターンが存在する(図8の*1参照。)。これにより、前記入力キー列『12』は、日付、時刻のいずれの表現にも適合していることになり、前記図3の候補一覧画面(A)のように、『日付』『時刻』の双方の字種候補55が表示される。
A specific example of processing for selecting character type candidates from the database 27a will be described.
For example, in the input key string “12” assembled by the input operation in the example of FIG. 3, the number of keys is 2, the first key is “1”, and the second key is “2”. According to FIG. 8, there is a pattern corresponding to this input key string for both “date” and “time” (see * 1 in FIG. 8). As a result, the input key string “12” conforms to both the expression of date and time, and the “date” and “time” are displayed as in the candidate list screen (A) of FIG. Both character type
一方、図4の例の入力操作で組み立てられるキー列『1232』は、キー数が4であって、1番目のキーが「1」、2番目のキーが「2」、3番目のキーが「3」、4番目のキーが「2」となる。このキー列に対し、図8のデータベース27bには、『時刻』にかかる対応パターンは存在する(図8の*2参照。)が、『日付』にかかる対応パターンは存在しない。よって、前記キー列『1232』は、時刻には適合するが、日付には適合しないことになり、前記図4に示したように、『日付』の字種候補55が表示されない状態になる。
On the other hand, the key string “1232” assembled by the input operation of the example of FIG. 4 has 4 keys, the first key is “1”, the second key is “2”, and the third key is “3” and the fourth key are “2”. For this key string, the
図9は、前記後変換候補作成部3の詳細な機能を示す。
この後変換候補作成部3には、情報入力部31、字種フォーマット選択部32、候補組立部33、字種フォーマットデータベース34、フォーマットバッファ35などが含められる。
FIG. 9 shows the detailed functions of the post-conversion
Thereafter, the conversion
前記情報入力部31は、前記入力情報判定部1から字種候補にかかる選択操作情報を受け付けるとともに、前記候補作成部2から前記入力キー列の提供を受ける。字種フォーマット選択部32は、選択操作情報が示す字種候補を認識し、字種フォーマットデータベース34からその字種候補に対応するフォーマット(表示形式)を読み出してフォーマットバッファ35に格納する。なお、字種フォーマットデータベース34には、字種情報毎に、それぞれ複数種のフォーマットを格納したテーブルが設定される。
The
上記のフォーマットの読み出しが終了すると、字種フォーマット選択部32は候補組立部33に連絡する。候補組立部33は、前記情報入力部31から入力キー列の提供を受けており、字種フォーマット選択部32からの連絡を受けると、前記入力キー列に対応する数字列または英文字列を読み出された各フォーマットに順にあてはめて、後変換の変換候補を作成する。なお、英文字列については、入力キー列中に同じキーが続けて配列されている部分があれば、その部分を1つの英文字に変換する。
When the reading of the format is completed, the character type
図10は、前記字種フォーマットデータベース34中の『日付』に関するフォーマットテーブルの構成例を示す。この例でも、前記字種パターンデータベース27bと同様に、キー列のパターンが設定され、各パターンにそれぞれそのパターンに対応する文字列のフォーマットが対応づけられる。各フォーマットにはマクロ変数$1,$2,$3,$4が含まれている。これらの変数に、実際の入力キー列の1〜4番目のキーに対応する数字をあてはめることにより、変換候補の文字列を組み立てることができる。
FIG. 10 shows a configuration example of a format table related to “date” in the character
図11は、前記図10の前記字種フォーマットデータベースを用いて、入力キー列から変換候補を組み立てた例を示す。この例の入力キー列は、キー数が3であり、1番目のキーが『1』、2番目のキーが『2』、3番目のキーが『9』である。ここで図10において、このキー列にパターンが対応するものを検索すると、☆印を付した2つのデータを抽出することができる。よって、これらのデータにかかる4つのフォーマットに入力キー列をあてはめることによりて、4種類の変換候補『1月29日』『1/29』『12月9日』『12/9』を作成することができる。 FIG. 11 shows an example in which conversion candidates are assembled from input key strings using the character type format database of FIG. In this example, the number of keys is 3, the first key is “1”, the second key is “2”, and the third key is “9”. Here, in FIG. 10, when data having a pattern corresponding to this key string is searched, two data marked with “*” can be extracted. Therefore, four types of conversion candidates “January 29”, “1/29”, “December 9”, and “12/9” are created by applying input key strings to the four formats related to these data. be able to.
図12は、上記日本語変換システム100の動作手順を示す。以下では、この図12に基づき、システム全体の処理の流れを説明する。なお、以下の説明および図中の「ST」は、ステップを略したものである。
FIG. 12 shows an operation procedure of the Japanese
図12の処理は、操作部8の所定のキーが操作されることによって開始される。ここで操作されたキーが文字入力キーであれば、ST1が「YES」となり、ST4の候補作成処理を実行した後、ST6に進む。ST6では、前記候補一覧画面を作成して表示する処理を実行する。
なお、文字入力操作が複数回連続して行われた場合には、操作の都度、ST1,ST4,ST6の流れが実行されて、入力文字列や候補一覧画面が更新されていくことになる。
The process of FIG. 12 is started when a predetermined key of the
When a character input operation is continuously performed a plurality of times, the flow of ST1, ST4, ST6 is executed every time the operation is performed, and the input character string and the candidate list screen are updated.
前記候補作成処理で作成された変換候補や字種候補を含む候補一覧画面が表示部9に表示されている状態下で字種候補を選択する操作が行われると、ST2が「YES」となり、ST5の後変換候補作成処理を実行した後、ST6に進む。
When an operation for selecting a character type candidate is performed in a state where a candidate list screen including conversion candidates and character type candidates created in the candidate creation process is displayed on the
上記のST4は、候補作成処理部2により実行される処理であり、ST5は、後変換候補作成処理部3により実行される処理であり、ST6は、前記画面表示制御部5により実行される処理である。ST6では、前記ST4またはST5で候補バッファ4に格納されたデータを用いて候補一覧画面を作成し、これを表示部9に表示する。これにより、ST4の実行後にST6に移行した場合には、仮名漢字変換の変換候補と字種候補とが混在した候補一覧画面が表示される。また、字種候補の指定によりST5を実行した後にST6に移行した場合には、指定された字種候補に対応する字種の文字列から作成された後変換の変換候補を含む候補一覧画面が表示される。なお、前記図2〜4に示したように、候補一覧画面には、候補とともにその候補に対応する入力文字列も表示されるが、この表示は、候補作成処理や後変換候補作成処理の際に作業用メモリに保存された文字列を用いて行われるものである。
The above ST4 is a process executed by the candidate
ST6で表示された候補一覧画面上で所定の変換候補を選択する操作が行われると、ST3が「YES」となってST7に進み、その選択された候補の文字列に対応する使用履歴を更新する。この後は、ST8に進み、前記選択された候補の文字列を上位アプリケーションに出力する処理を実行する。なお、選択された変換候補が後変換の変換候補(字種候補の選択に応じて表示された候補)である場合には、前記ST7の処理はスキップされる。 When an operation for selecting a predetermined conversion candidate is performed on the candidate list screen displayed in ST6, ST3 becomes “YES” and the process proceeds to ST7, and the use history corresponding to the selected candidate character string is updated. To do. Thereafter, the process proceeds to ST8, and a process of outputting the selected candidate character string to the upper application is executed. If the selected conversion candidate is a conversion candidate for post-conversion (a candidate displayed in response to selection of a character type candidate), the process of ST7 is skipped.
また、文字入力や選択操作以外の操作が行われた場合は、ST1〜3が「NO」となってST9に進み、その操作に応じた処理を実行する。
たとえば、前記字種候補の選択に応じて更新された候補一覧画面上で、前記「閉じる」ボタン53を選択する操作が行われた場合には、1つ前の候補一覧画面に戻る処理を実行する。
If an operation other than the character input or the selection operation is performed, ST1 to ST3 are “NO”, the process proceeds to ST9, and processing corresponding to the operation is executed.
For example, when an operation for selecting the “Close”
また、候補作成処理で作成された変換候補や字種候補を選択せずに、文字変換操作が行われた場合には、前記辞書データベース26aから入力文字列に完全一致する文字列を抽出する処理を実行する。さらに、この場合には、候補バッファ4をクリアして、抽出された文字列を新たな変換候補として格納した後、ST6の画面表示処理を実行することになる。
In addition, when a character conversion operation is performed without selecting a conversion candidate or character type candidate created in the candidate creation process, a process for extracting a character string that completely matches the input character string from the dictionary database 26a. Execute. Furthermore, in this case, after clearing the
つぎに、図13を用いて、前記ST4の候補作成処理の詳細な手順を説明する。なお、この処理は、ST101から開始されるものとする。
まず、最初のST101では、操作された文字入力キーに応じて入力文字列を組み立てる。つぎのST102では、前記候補バッファ4をクリアし、しかる後にST103に進む。
Next, a detailed procedure of the candidate creation process in ST4 will be described with reference to FIG. This process is started from ST101.
First, in ST101, an input character string is assembled according to the operated character input key. In next ST102, the
ST103では、前記辞書データベース26aから入力文字列に前方一致する文字列を抽出する。ST104では、学習履歴デーベース26bから前記ST103で抽出した文字列の使用頻度を読み出す。ST105では、抽出した各文字列を変換候補として設定し、使用頻度とともに候補バッファ4に格納する。
In ST103, a character string that matches forward with the input character string is extracted from the dictionary database 26a. In ST104, the usage frequency of the character string extracted in ST103 is read from the learning
上記のST103〜105により、仮名漢字変換にかかる変換候補が抽出されたことになる。この抽出処理が終了すると、字種候補を設定するための処理が開始される。
この処理では、まず、ST106において、前記操作された文字入力キーに応じて入力キー列を組み立てる。つぎに、ST107において字種バッファ4をクリアした後、ST108に進み、字種パターンデータベース27bの最初のデータに着目する。
Through the above-described ST103 to ST105, conversion candidates for kana-kanji conversion are extracted. When this extraction process ends, a process for setting character type candidates is started.
In this process, first, in ST106, an input key string is assembled according to the operated character input key. Next, after clearing the
ST109では、着目中のデータにおける字種情報が字種バッファ4に既に格納されているかどうかを判定する。この判定が「NO」の場合にはST110に進み、前記ST106で組み立てられた入力キー列のキー数が着目中のデータのキー数と一致するかどうかを判定する。この判定が「YES」の場合にはST111に進み、入力キー列のパターンが着目中のキー列のパターンに対応するかどうかを判定する。
In ST109, it is determined whether or not the character type information in the data of interest is already stored in the
ST111が「YES」となると、ST112に進み、着目中のデータにおける字種情報を前記字種バッファ4に格納する。つぎにST113において、字種情報頻度データベース27aから前記着目中の字種情報に対応する使用頻度を読み出した後、続くST114において、この字種情報に対応する字種候補を作成する。さらに、ST115では、作成した字種候補を前記使用頻度とともに候補バッファ4に格納する処理を実行する。
この後は、ST116からST117に進んで、次のデータに着目対象を移し、ST109に戻る。なお、ST109が「YES」、もしくはST110が「NO」、またはST111が「NO」の場合には、その判定後にST116に進む。
When ST111 becomes “YES”, the process proceeds to ST112, and character type information in the data of interest is stored in the
Thereafter, the process proceeds from ST116 to ST117, moves the target of attention to the next data, and returns to ST109. If ST109 is “YES”, ST110 is “NO”, or ST111 is “NO”, the process proceeds to ST116 after the determination.
上記の処理を繰り返すことにより、字種パターンデータベース27bから入力キー列に適合するすべての字種情報が抽出され、その字種情報に対応する字種候補が字種バッファ4に格納されることになる。字種パターンデータベース27bの最終のデータに対する処理が終了すると、ST116が「YES」となってST118に進む。ST118では、前記候補バッファ4に格納された全ての候補(変換候補および字種候補)を使用頻度の高い者から順に並べ替える処理を実行する。この並べ替えにより候補作成処理は終了する。
By repeating the above processing, all character type information matching the input key string is extracted from the character
つぎに、図14を用いて前記ST5の後変換候補作成処理の詳細な手順を説明する。なお、この処理はST201から開始されるものとする。
この処理は、前記候補作成処理により作成された各候補が表示部9に一覧表示され、その中の字種候補が選択されたことを受けて実行されるもので、前記候補作成処理で組み立てられた入力キー列を処理対象とする。まず、ST201,202において、候補バッファ4およびフォーマットバッファ35をクリアした後、ST203において、字種フォーマットデータベース34から選択された字種候補に対応するテーブルを読み出す。
Next, the detailed procedure of the post-conversion candidate creation process in ST5 will be described with reference to FIG. This process starts from ST201.
This process is executed in response to the list of candidates created by the candidate creation process being displayed on the
なお、ST201では、前記「閉じる」ボタン53が操作された場合の復帰処理のために、候補バッファ4内のデータを他のメモリ領域に待避させてからクリア処理を行う。また、ST203で読み出されたテーブルは、メモリの作業エリアにセットされる。
In ST201, the clear process is performed after the data in the
つぎのST204では、前記読み出したテーブル中の最初のデータに着目し、入力キー列のキー数およびパターンを着目中のデータのキー数およびパターンと比較する。ここで両者のキー数が一致し、また着目中のデータのパターンが入力キー列に対応している場合には、ST205,206がともに「YES」となり、ST207に進む。ST207では、着目中のデータにおけるフォーマットを前記フォーマットバッファ35に格納する。
In the next ST204, attention is paid to the first data in the read table, and the key number and pattern of the input key string are compared with the key number and pattern of the data being focused. Here, if the number of keys coincides and the pattern of the data of interest corresponds to the input key string, both ST205 and 206 are “YES”, and the process proceeds to ST207. In ST207, the format of the data under attention is stored in the
この後は、ST208を介してST209に進み、つぎのデータに着目対象を移した後にST205に戻る。以下、最後のデータを処理するまでST205〜209のループを繰り返すことにより、入力キー列に適合するフォーマットが抽出され、フォーマットバッファ35内に蓄積される。
Thereafter, the process proceeds to ST209 via ST208, and after moving the target of attention to the next data, the process returns to ST205. Thereafter, by repeating the loop of ST 205 to 209 until the last data is processed, a format suitable for the input key string is extracted and stored in the
フォーマットの抽出処理が終了すると、ST210に進み、前記フォーマットバッファ35内の各フォーマットに基づき、入力キー列から後変換の変換候補となる文字列を作成する。続くST211では、作成した各変換候補を前記候補バッファ4に格納し、しかる後に処理を終了する。
When the format extraction process ends, the process proceeds to ST210, and a character string that is a conversion candidate for post-conversion is created from the input key string based on each format in the
なお、この実施例では、後変換の変換候補については、使用頻度を設定していないので、各候補は作成順に表示されることになる。しかし、これに限らず、前記字種フォーマットデータベース34内の各フォーマットにあらかじめ使用頻度を設定しておき、各変換候補を元のフォーマットに設定された使用頻度に基づいて並べ替えてから表示してもよい。また、候補選択操作に応じて、その選択された候補の作成源となったフォーマットの使用頻度を更新するようにしてもよい。
In this embodiment, since the use frequency is not set for the conversion candidates for post-conversion, the candidates are displayed in the order of creation. However, the present invention is not limited to this, and the frequency of use is set in advance in each format in the character
100 日本語入力システム
1 入力情報判定部
2 候補作成部
3 後変換候補作成部
5 画面表示制御部
6 出力部
8 操作部
9 表示部
21 入力文字列組立部
22 入力キー列組立部
23 候補文字列検索部
24 字種候補選択部
25 候補配列部
26a 辞書データベース
27b 字種パターンデータベース
32 字種フォーマット選択部
33 候補組立部
34 字種フォーマットデータベース
52,55 字種候補
DESCRIPTION OF
Claims (7)
前記文字入力キーが操作される毎に、その操作履歴に応じた仮名文字列を組み立てる文字列組立手段;
前記文字列組立手段により組み立てられた仮名文字列により所定数の変換後文字列が格納されたデータベースを検索して、変換候補の変換後文字列を抽出する候補抽出手段;
前記候補抽出手段により抽出された変換候補と仮名/漢字以外の字種を指定するための字種候補とを混在させた候補一覧画面を作成して、この候補一覧画面を前記表示部に表示する第1の候補表示手段;
前記候補一覧画面上の所定の字種候補に対する選択操作が行われたとき、その候補に対応する字種について、前記文字入力キーの操作履歴に応じた文字列をそれぞれ異なる表示形式で表した複数の変換候補を作成し、これらの候補による候補一覧画面を前記表示部に表示する第2の候補表示手段;
前記第1または第2の候補表示手段による候補一覧画面上で所定の変換候補に対する選択操作が行われたとき、その選択された候補の文字列を変換後文字列として確定する確定手段;
の各手段として前記コンピュータを機能させるためのプログラムが含まれている文字入力用のプログラム。 In response to a key operation of the operation unit to a computer in which an operation unit including a plurality of character input keys to which characters of a plurality of character types including a kana are assigned and a display unit capable of displaying a character string are connected Is a program for setting the function to generate and output to a running application
A character string assembling means for assembling a kana character string corresponding to the operation history each time the character input key is operated;
Candidate extraction means for searching a database in which a predetermined number of converted character strings are stored using kana character strings assembled by the character string assembling means and extracting converted character strings of conversion candidates;
A candidate list screen is created in which the conversion candidates extracted by the candidate extraction means and character type candidates for designating character types other than kana / kanji are mixed, and the candidate list screen is displayed on the display unit. First candidate display means;
When a selection operation is performed on a predetermined character type candidate on the candidate list screen, a plurality of character strings corresponding to the operation history of the character input key are displayed in different display formats for the character type corresponding to the candidate. Second candidate display means for creating conversion candidates and displaying a candidate list screen based on these candidates on the display unit;
Confirming means for confirming a character string of the selected candidate as a converted character string when a selection operation is performed on a predetermined conversion candidate on the candidate list screen by the first or second candidate display means;
A program for inputting characters, which includes a program for causing the computer to function as each means.
前記文字列組立手段は、文字入力キーの操作に応じて、前記仮名文字列とともに数字列を組み立てており、
前記第1の候補表示手段は、数字用の字種候補として、複数種の情報毎に候補を作成することが可能であって、文字入力キーが操作される都度、前記文字列組立手段により組み立てられた数字列に各情報が適合するか否かを判別し、適合すると判別した情報に対応する字種候補を前記候補一覧画面に含めるように構成されており、
前記第2の候補表示手段は、数字用の各字種候補に対し、それぞれ前記文字列組立手段により組み立てられた数字列を前記字種候補の情報に適合する形式で表した複数種の変換候補を作成する請求項1に記載された文字入力用のプログラム。 The character input key of the operation unit is assigned at least a number in addition to the kana,
The character string assembling means assembles a numeric string together with the kana character string according to the operation of a character input key,
The first candidate display means can create candidates for a plurality of types of information as character type candidates for numbers, and each time the character input key is operated, the character string assembling means assembles the candidates. It is configured to determine whether or not each information is matched to the number string, and to include a character type candidate corresponding to the information determined to match in the candidate list screen,
The second candidate display means, for each character type candidate for numbers, a plurality of types of conversion candidates that represent the number strings assembled by the character string assembling means in a format that matches the information of the character type candidates. The program for character input according to claim 1, which creates a character string.
前記制御部は、
前記文字入力キーが操作される毎に、その操作履歴に応じた仮名文字列を組み立てる文字列組立手段;
前記文字列組立手段により組み立てられた仮名文字列により所定数の変換後文字列が格納されたデータベースを検索して、変換候補の変換後文字列を抽出する候補抽出手段;
前記候補抽出手段により抽出された変換候補と仮名/漢字以外の字種を指定するための字種候補とを混在させた候補一覧画面を作成して、この候補一覧画面を前記表示部に表示する第1の候補表示手段;
前記候補一覧画面上の所定の字種候補に対する選択操作が行われたとき、その候補に対応する字種について、前記文字入力キーの操作履歴に応じた文字列をそれぞれ異なる表示形式で表した複数の変換候補を作成し、これらの候補による候補一覧画面を前記表示部に表示する第2の候補表示手段;
前記第1または第2の候補表示手段による候補一覧画面上で所定の変換候補に対する選択操作が行われたとき、その選択された候補の文字列を変換後文字列として確定する確定手段;の各手段を具備している情報処理装置。 An operation unit including a plurality of character input keys to which characters of a plurality of character types including a kana are assigned, a display unit capable of displaying a character string, the operation unit and the display unit are connected, and An information processing apparatus including a control unit configured to generate a character string corresponding to a key operation and output to a running application,
The controller is
A character string assembling means for assembling a kana character string corresponding to the operation history each time the character input key is operated;
Candidate extraction means for searching a database in which a predetermined number of converted character strings are stored using kana character strings assembled by the character string assembling means and extracting converted character strings of conversion candidates;
A candidate list screen is created in which conversion candidates extracted by the candidate extraction means and character type candidates for designating character types other than kana / kanji are mixed, and the candidate list screen is displayed on the display unit. First candidate display means;
When a selection operation is performed on a predetermined character type candidate on the candidate list screen, a plurality of character strings corresponding to the operation history of the character input key are displayed in different display formats for the character type corresponding to the candidate. Second candidate display means for creating conversion candidates and displaying a candidate list screen based on these candidates on the display unit;
Determining means for confirming a character string of the selected candidate as a post-conversion character string when a selection operation is performed on a predetermined conversion candidate on the candidate list screen by the first or second candidate display means; An information processing apparatus comprising means.
前記文字列組立手段は、文字入力キーの操作に応じて、前記仮名文字列とともに数字列を組み立てており、同一の文字入力キーが連続操作されたことに応じて仮名文字列の末尾の文字を変更する一方、数字については前記連続操作に応じて同一の文字を続けて配列する請求項5に記載された情報処理装置。 At least a plurality of kana characters and one number are assigned to each character input key of the operation unit,
The character string assembling means assembles a numeric string together with the kana character string according to the operation of the character input key, and the last character of the kana character string according to the continuous operation of the same character input key. The information processing apparatus according to claim 5, wherein on the other hand, with respect to numbers, the same characters are continuously arranged according to the continuous operation.
前記文字入力キーが操作される都度、その操作履歴に応じた仮名文字列を組み立てるステップAと、所定数の変換後文字列が格納されたデータベースを前記ステップAで組み立てられた仮名文字列により検索して変換候補の変換後文字列を抽出するステップBと、前記ステップBで抽出された変換候補と仮名/漢字以外の字種を指定するための字種候補とを混在させた第1の候補一覧画面を作成して、この候補一覧画面を前記表示部に表示するステップCとを実行し、
前記候補一覧画面上の所定の字種候補に対する選択操作が行われたとき、その候補に対応する字種について、前記文字入力キーの操作履歴に応じた文字列をそれぞれ異なる表示形式で表した複数の変換候補を作成し、これらの候補による第2の候補一覧画面を前記表示部に表示した後、この第2の候補一覧画面上で所定の変換候補に対する選択操作が行われたとき、その選択された候補の文字列を変換後文字列として確定して、前記アプリケーションに出力することを特徴とする文字入力方法。 In a computer in which an operation unit including a plurality of character input keys to which characters of a plurality of character types including a kana are assigned and a display unit capable of displaying a character string are connected, according to the key operation of the operation unit A character string generated and output to a running application, each time the character input key is operated, a step A for assembling a kana character string corresponding to the operation history, and a predetermined number of converted character strings Is searched for the kana character string assembled in the step A to extract the converted character string of the conversion candidate, the conversion candidate extracted in the step B and the characters other than the kana / kanji Creating a first candidate list screen in which character type candidates for specifying types are mixed, and executing step C for displaying the candidate list screen on the display unit;
When a selection operation is performed on a predetermined character type candidate on the candidate list screen, a plurality of character strings corresponding to the operation history of the character input key are displayed in different display formats for the character type corresponding to the candidate. After the conversion candidates are generated and the second candidate list screen based on these candidates is displayed on the display unit, the selection is performed when a selection operation is performed on a predetermined conversion candidate on the second candidate list screen. A character input method comprising: determining a candidate character string that has been converted as a converted character string and outputting the character string to the application.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004332266A JP4345647B2 (en) | 2004-11-16 | 2004-11-16 | CHARACTER INPUT PROGRAM, INFORMATION PROCESSING DEVICE, AND CHARACTER INPUT METHOD |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004332266A JP4345647B2 (en) | 2004-11-16 | 2004-11-16 | CHARACTER INPUT PROGRAM, INFORMATION PROCESSING DEVICE, AND CHARACTER INPUT METHOD |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009128225A Division JP5110039B2 (en) | 2009-05-27 | 2009-05-27 | Character input program and information processing apparatus |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2006146356A true JP2006146356A (en) | 2006-06-08 |
JP4345647B2 JP4345647B2 (en) | 2009-10-14 |
Family
ID=36625990
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004332266A Expired - Fee Related JP4345647B2 (en) | 2004-11-16 | 2004-11-16 | CHARACTER INPUT PROGRAM, INFORMATION PROCESSING DEVICE, AND CHARACTER INPUT METHOD |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4345647B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011028584A (en) * | 2009-07-27 | 2011-02-10 | Kyocera Corp | Display device |
-
2004
- 2004-11-16 JP JP2004332266A patent/JP4345647B2/en not_active Expired - Fee Related
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011028584A (en) * | 2009-07-27 | 2011-02-10 | Kyocera Corp | Display device |
Also Published As
Publication number | Publication date |
---|---|
JP4345647B2 (en) | 2009-10-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100909917B1 (en) | Recording medium recording an information processing apparatus, an information processing method, and an information processing program | |
EP2109046A1 (en) | Predictive text input system and method involving two concurrent ranking means | |
US7711541B2 (en) | Chinese input method, Chinese input device, and computer-readable medium | |
JP4213570B2 (en) | Character input method, character input device and program | |
JP5282699B2 (en) | Portable terminal device, character conversion device, character conversion method, and program | |
US6799914B2 (en) | Arabic-persian alphabeth input apparatus | |
JP5110039B2 (en) | Character input program and information processing apparatus | |
JP4569319B2 (en) | Character input method, character input program, and information processing apparatus | |
JP4345647B2 (en) | CHARACTER INPUT PROGRAM, INFORMATION PROCESSING DEVICE, AND CHARACTER INPUT METHOD | |
JPH10124505A (en) | Character input device | |
JP5477936B2 (en) | Character input device, character / character type selection method | |
JP5320925B2 (en) | Information search method, information search device, and information search program | |
JP2007086911A (en) | Text input device, text input method and text input program | |
US20030177289A1 (en) | Method, device and program for input prediction processing, and recording medium for recording program thereof | |
JP6221275B2 (en) | Character input program and character input device | |
JP4302918B2 (en) | Hangul character generation method and dictionary lookup method | |
JP2003196273A (en) | Character string input device and character string input method | |
JP2007257188A (en) | Dictionary search device and its control program | |
JP2007257189A (en) | Dictionary search device and control program therefor | |
JP3233803B2 (en) | Hard-to-read kanji search device | |
JP2002312354A (en) | Input method for pin-yin, information processor using the method and program for chinese input | |
JP4285272B2 (en) | Morphological analysis method, program using the method, and information processing apparatus | |
JP2007293924A (en) | Portable terminal | |
JP2004295629A (en) | Information display controller, server, and program | |
CN115793872A (en) | Language switching method, device, equipment and medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20070226 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20090316 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090331 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20090527 |
|
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: 20090623 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20090706 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120724 Year of fee payment: 3 |
|
LAPS | Cancellation because of no payment of annual fees |