JP2010257392A - Device and method for inputting character, computer readable program, and recording medium - Google Patents
Device and method for inputting character, computer readable program, and recording medium Download PDFInfo
- Publication number
- JP2010257392A JP2010257392A JP2009109516A JP2009109516A JP2010257392A JP 2010257392 A JP2010257392 A JP 2010257392A JP 2009109516 A JP2009109516 A JP 2009109516A JP 2009109516 A JP2009109516 A JP 2009109516A JP 2010257392 A JP2010257392 A JP 2010257392A
- Authority
- JP
- Japan
- Prior art keywords
- input
- character string
- character
- attribute information
- information
- 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.)
- Withdrawn
Links
Images
Abstract
Description
本発明は、文字入力装置、文字入力方法、コンピュータ読取可能なプログラムおよび記録媒体に関し、特に、入力する文字列の予測をすることができる文字入力装置、文字入力方法、コンピュータ読取可能なプログラムおよび記録媒体に関する。 The present invention relates to a character input device, a character input method, a computer-readable program, and a recording medium, and more particularly to a character input device, a character input method, a computer-readable program, and a recording medium that can predict a character string to be input. It relates to the medium.
近年の情報技術の発達により、情報処理機器に対して、ユーザが、種々の情報を入力する機会が増加している。 With the recent development of information technology, opportunities for users to input various information to information processing devices are increasing.
特に、多種多様なインターネット上のサービスを利用する際に、図3に示すような、入力フォームを含むWebコンテンツに対し、ユーザは、名前、住所、電子メールアドレスなどの情報を入力する場合がある。このようなサービスを利用する機会が増えると、ユーザは、同じ情報を、様々な入力フォームに繰り返し入力しなければならず、煩雑であるという問題が生じる。 In particular, when using various services on the Internet, a user may input information such as a name, an address, and an e-mail address for Web content including an input form as shown in FIG. . When the opportunity to use such a service increases, the user must repeatedly input the same information into various input forms, which causes a problem that it is complicated.
このような問題を解決するために、特許文献1には、過去に入力フォームに入力したデータを記憶しておき、次回、同じような情報を入力する際に、過去の入力データを利用する技術が開示されている。具体的には、特許文献1では、自動記入システムは、入力フォーム毎に入力フォームに付随する属性情報と入力文字列を端末もしくはサーバにて記憶しており、新たなWebコンテンツを表示する際に、ユーザによる呼び出し動作に応じて、Webコンテンツを解析し、入力フォームに付随する属性情報と、記憶している入力フォーム毎の履歴データから、入力する文字列を決定し、Webコンテンツの入力フォームに決定した文字列を自動的に入力する。
In order to solve such a problem,
しかしながら、特許文献1に記載されたような従来の方法では、Webコンテンツを閲覧するためのシステム自体が、Webコンテンツを解析し、入力フォームに付随する属性情報から入力文字列を決定し、決定した入力文字列が入力フォームに自動的に埋め込まれて、表示される。
However, in the conventional method as described in
このため、ある入力フォームに対して複数の入力文字列が候補として存在したとしても、入力フォームに埋め込まれて表示される候補は一つである。よって、システムによって自動的に埋め込まれた文字列の候補がユーザの所望する文字列と異なる場合には、ユーザは、文字列を初めから入力しなければならない。特に、複数のユーザがシステムを利用する場合や、ユーザが多様な入力フォームに対して入力フォームごとに異なる情報を入力していた場合には、候補として表示される文字列がユーザの所望する文字列と異なる確率が高くなる。したがって、ユーザが文字列を初めから入力することを必要とされる確率が高くなる。 For this reason, even if a plurality of input character strings exist as candidates for a certain input form, only one candidate is embedded and displayed in the input form. Therefore, when the character string candidate automatically embedded by the system is different from the character string desired by the user, the user must input the character string from the beginning. In particular, when multiple users use the system or when users input different information for each input form for various input forms, the character string displayed as a candidate is the character desired by the user. The probability of being different from the column is high. Therefore, the probability that the user is required to input the character string from the beginning increases.
つまり、従来の方法では、ユーザの所望する文字列と異なる文字列を、候補として表示する場合が多くなり、このことから、ユーザに、候補として表示された文字列を削除して、改めて文字列を入力させる場合が多くなり、結果として、かえってユーザに煩雑な操作を必要とする事態が考えられる。 That is, in the conventional method, a character string that is different from the character string desired by the user is often displayed as a candidate. Therefore, the character string displayed as a candidate is deleted and the character string is newly displayed to the user. As a result, there may be a situation where the user needs a complicated operation.
本発明は、かかる実情に鑑み考え出されたものであり、その目的は、Webコンテンツ等にユーザが文字情報を入力する際に、必要とされる操作を軽減し、これにより文字入力装置における利便性を向上させることである。 The present invention has been conceived in view of such circumstances, and its purpose is to reduce the operations required when a user inputs character information to Web content or the like, thereby improving the convenience of the character input device. Is to improve the performance.
本発明に従った文字入力装置は、属性情報に対応した入力フォームを含むコンテンツについて、入力フォームに入力する文字列を入力するための文字入力装置であって、情報の入力を受付ける入力手段と、文字列を属性情報およびカテゴリ情報の少なくとも一方に対応付けて記憶する第1の記憶手段と、入力フォームの属性情報に対応して第1の記憶手段に記憶されている文字列を抽出する第1の抽出手段と、入力フォームの属性情報に対応するカテゴリ情報を推定する推定手段と、推定手段が推定したカテゴリ情報に対応して第1の記憶手段に記憶されている文字列を抽出する第2の抽出手段と、第1の抽出手段および第2の抽出手段が抽出した文字列を、入力フォームに入力する文字列の候補として設定する候補設定手段と、入力手段に対する入力に応じて、候補設定手段が設定した文字列の中から選択された文字列を、入力フォームに入力する文字列として出力する出力手段とを備える。 A character input device according to the present invention is a character input device for inputting a character string to be input to an input form for content including an input form corresponding to attribute information, and an input unit that receives input of information; First storage means for storing a character string in association with at least one of attribute information and category information, and first for extracting a character string stored in the first storage means in correspondence with attribute information of the input form Extracting means, estimating means for estimating category information corresponding to the attribute information of the input form, and extracting a character string stored in the first storage means corresponding to the category information estimated by the estimating means Extraction means, a character set extracted by the first extraction means and the second extraction means, a candidate setting means for setting as a candidate for a character string to be input to the input form, and an input means In response to an input of comprising, a character string selected from the character string candidate setting means is set, and output means for outputting a character string to be input to the input form.
また、本発明に従った文字入力装置では、推定手段は、属性情報とカテゴリ情報を関連付ける関連情報を記憶する第2の記憶手段と、第2の記憶手段において、コンテンツの入力フォームに対応する属性情報に関連付けられているカテゴリ情報を推定結果として決定する決定手段とを含むことが好ましい。 In the character input device according to the present invention, the estimation means includes a second storage means for storing related information for associating the attribute information with the category information, and an attribute corresponding to the content input form in the second storage means. And determining means for determining category information associated with the information as an estimation result.
また、本発明に従った文字入力装置では、第1の記憶手段は、文字列を、さらに当該文字列の読み仮名に対応付け、属性情報およびカテゴリ情報に対応付けられず、読み仮名に対応付けられる文字列を、さらに含み、第1の抽出手段は、入力手段に入力された読み仮名に基づいて、第1の記憶手段から文字列を抽出することが好ましい。 In the character input device according to the present invention, the first storage means further associates the character string with the reading kana of the character string, and does not associate with the attribute information and the category information but associates the character string with the reading kana. It is preferable that the first extraction unit extracts the character string from the first storage unit based on the reading pseudonym input to the input unit.
また、本発明に従った文字入力装置では、候補設定手段は、第1の抽出手段または第2の抽出手段が抽出した文字列の中で、属性情報およびカテゴリ情報のいずれかに対応付けられている文字列を、属性情報およびカテゴリ情報のいずれにも対応付けられていない文字列よりも優先度を高く設定することが好ましい。 In the character input device according to the present invention, the candidate setting means is associated with either attribute information or category information in the character string extracted by the first extraction means or the second extraction means. It is preferable to set a higher priority to a character string that is not associated with either attribute information or category information.
また、本発明に従った文字入力装置では、第2の記憶手段は、属性情報を文字列で特定し、決定手段は、第2の記憶手段において、コンテンツの入力フォームに対応する属性情報の少なくとも一部と一致する属性情報に関連付けられているカテゴリ情報を、推定結果として決定することが好ましい。 In the character input device according to the present invention, the second storage means specifies the attribute information by a character string, and the determination means is at least one of the attribute information corresponding to the content input form in the second storage means. It is preferable to determine category information associated with attribute information that matches a part as an estimation result.
また、本発明に従った文字入力装置は、第1の記憶手段において、出力手段が出力する文字列が、入力フォームの属性情報に対応して記憶されるように、第1の記憶手段を更新する更新手段をさらに備えることが好ましい。 The character input device according to the present invention updates the first storage means so that the character string output by the output means is stored in correspondence with the attribute information of the input form in the first storage means. It is preferable to further comprise an updating means for performing the above.
また、本発明に従った文字入力装置では、推定手段は、コンテンツの属性情報に対応したカテゴリ情報を複数推定し、更新手段は、第1の記憶手段において、出力手段が出力する文字列が、入力フォームに対応した属性情報に対応するカテゴリ情報に対応して記憶されるように、第1の記憶手段を更新することが好ましい。 In the character input device according to the present invention, the estimating means estimates a plurality of category information corresponding to the attribute information of the content, and the updating means is the first storage means, and the character string output by the output means is It is preferable to update the first storage means so as to be stored corresponding to the category information corresponding to the attribute information corresponding to the input form.
また、本発明に従った文字入力装置では、第1の抽出手段および第2の抽出手段は、入力手段が文字列の入力を受付けていない状態であっても、文字列を抽出することが好ましい。 In the character input device according to the present invention, it is preferable that the first extraction unit and the second extraction unit extract the character string even when the input unit does not accept the input of the character string. .
また、本発明に従った文字入力装置は、候補設定手段が設定した候補を表示装置に表示させる候補表示手段をさらに備えることが好ましい。 The character input device according to the present invention preferably further includes candidate display means for displaying the candidates set by the candidate setting means on the display device.
本発明に従った文字入力方法は、文字列を記憶する第1の記憶手段を備え、表示装置に表示されるコンテンツにおける入力フォームに文字を入力する文字入力装置において実行される文字入力方法であって、文字列を属性情報およびカテゴリ情報に対応付けて第1の記憶手段に記憶するステップと、入力フォームに対応する属性情報を抽出するステップと、抽出した属性情報に対応して第1の記憶手段に記憶されている文字列を抽出するステップと、抽出した属性情報に対応するカテゴリ情報を推定するステップと、推定したカテゴリ情報に対応して第1の記憶手段において記憶されている文字列を抽出するステップと、属性情報およびカテゴリ情報に基づいて抽出した文字列を、入力フォームに入力する文字列の候補として設定するステップと、候補として設定した文字列を、入力フォームに入力する文字列として出力するステップとを備える。 A character input method according to the present invention is a character input method that is executed in a character input device that includes first storage means for storing a character string and inputs characters into an input form in content displayed on a display device. A step of storing the character string in association with the attribute information and the category information in the first storage means, a step of extracting the attribute information corresponding to the input form, and a first storage corresponding to the extracted attribute information. Extracting a character string stored in the means; estimating a category information corresponding to the extracted attribute information; and a character string stored in the first storage means corresponding to the estimated category information. A step of extracting, and a step of setting a character string extracted based on attribute information and category information as a character string candidate to be input to the input form. When, and a step of outputting the character string set as the candidate, as a character string to be input to the input form.
本発明に従ったプログラムは、文字列を記憶する第1の記憶手段を備え、表示装置に表示されるコンテンツにおける入力フォームに文字を入力する文字入力装置において実行される、コンピュータ読取り可能なプログラムであって、文字入力装置に、文字列を属性情報およびカテゴリ情報に対応付けて第1の記憶手段に記憶するステップと、入力フォームに対応する属性情報を抽出するステップと、抽出した属性情報に対応して第1の記憶手段に記憶されている文字列を抽出するステップと、抽出した属性情報に対応するカテゴリ情報を推定するステップと、推定したカテゴリ情報に対応して第1の記憶手段において記憶されている文字列を抽出するステップと、属性情報およびカテゴリ情報に基づいて抽出した文字列を、入力フォームに入力する文字列の候補として設定するステップと、候補として設定した文字列を、入力フォームに入力する文字列として出力するステップとを実行させる。 A program according to the present invention is a computer-readable program that is executed in a character input device that includes first storage means for storing a character string and inputs characters into an input form in content displayed on a display device. In the character input device, the step of storing the character string in the first storage means in association with the attribute information and the category information, the step of extracting the attribute information corresponding to the input form, and the extracted attribute information Extracting the character string stored in the first storage means, estimating the category information corresponding to the extracted attribute information, and storing in the first storage means corresponding to the estimated category information The extracted character string and the character string extracted based on the attribute information and category information are entered in the input form. And setting as a candidate of the character string to be a character string specified as a candidate, and a step of outputting as a character string to be input to the input form.
本発明に従った記録媒体は、文字列を記憶する第1の記憶手段を備え、表示装置に表示されるコンテンツにおける入力フォームに文字を入力する文字入力装置において実行される、コンピュータ読取り可能なプログラムを記録する記録媒体であって、プログラムは、文字入力装置に、文字列を属性情報およびカテゴリ情報に対応付けて第1の記憶手段に記憶するステップと、入力フォームに対応する属性情報を抽出するステップと、抽出した属性情報に対応して第1の記憶手段に記憶されている文字列を抽出するステップと、抽出した属性情報に対応するカテゴリ情報を推定するステップと、推定したカテゴリ情報に対応して第1の記憶手段において記憶されている文字列を抽出するステップと、属性情報およびカテゴリ情報に基づいて抽出した文字列を、入力フォームに入力する文字列の候補として設定するステップと、候補として設定した文字列を、入力フォームに入力する文字列として出力するステップとを実行させる。 A recording medium according to the present invention includes a first storage unit that stores a character string, and is a computer-readable program that is executed in a character input device that inputs characters into an input form in content displayed on the display device. Is stored in the first storage means in association with the attribute information and the category information, and the attribute information corresponding to the input form is extracted from the character input device. A step, a step of extracting a character string stored in the first storage means corresponding to the extracted attribute information, a step of estimating category information corresponding to the extracted attribute information, and a correspondence to the estimated category information Extracting the character string stored in the first storage means, and extracting based on the attribute information and the category information And the character string, and setting as a candidate of the character string to be input to the input form, the character string set as a candidate, and a step of outputting as a character string to be input to the input form.
本発明によれば、入力フォームに入力する文字列の候補として、2段階で、文字列が抽出される。つまり、文字列の入力の対象となる入力フォームに対応する属性情報について、当該属性情報に基づいてデータベース中の文字列が抽出され、さらに、当該属性情報に基づいて推定されたカテゴリ情報に基づいてデータベース中の文字列が抽出される。 According to the present invention, character strings are extracted in two stages as candidates for character strings to be input to the input form. That is, for the attribute information corresponding to the input form that is the input target of the character string, the character string in the database is extracted based on the attribute information, and further, based on the category information estimated based on the attribute information. The character string in the database is extracted.
抽出された文字列を候補として提示することにより、ユーザは、提示された候補の中から文字列を選択するという簡単な操作によって、文字入力を行なうことができる。なお、上記入力欄に入力する文字列として複数の文字列の候補が想定される場合でも、当該複数の文字列が候補として設定され、ユーザは、当該複数の文字列から、文字列を選択することができる。よって、複数の文字列が候補として想定される場合に、当該複数の中から1つの文字列しか候補として設定できず、これにより、ユーザが候補として設定された文字列を一度削除した上で改めて文字列を入力する操作を必要とされるという事態を回避できる。 By presenting the extracted character string as a candidate, the user can input characters by a simple operation of selecting a character string from the presented candidates. Even when a plurality of character string candidates are assumed as character strings to be input to the input field, the plurality of character strings are set as candidates, and the user selects a character string from the plurality of character strings. be able to. Therefore, when a plurality of character strings are assumed as candidates, only one character string can be set as a candidate from among the plurality, and thus, the user deletes the character string set as a candidate once and then again It is possible to avoid a situation where an operation for inputting a character string is required.
また、本発明によれば、候補設定手段は、入力手段に読みが入力されれば、属性情報やカテゴリ情報に対応付けられていない文字列をも候補として設定できる。ユーザが初めて閲覧するコンテンツに対して入力を行なう場面など、データベースにおいて文字列が属性情報やカテゴリ情報に関連付けられていない場合であっても、ユーザは、文字入力についての支援を受けることができる。 In addition, according to the present invention, the candidate setting unit can set a character string that is not associated with attribute information or category information as a candidate if a reading is input to the input unit. Even when a character string is not associated with attribute information or category information in the database, such as when the user inputs content for the first time, the user can receive support for character input.
以下、本発明の文字入力装置の実施の形態について、図面を参照して説明する。各図において、同一の構成要素には同一の符号を付し、その詳細な説明は繰返さない。 Hereinafter, embodiments of a character input device of the present invention will be described with reference to the drawings. In the drawings, the same components are denoted by the same reference numerals, and detailed description thereof will not be repeated.
[文字入力装置の機能構成]
以下、本発明の文字入力装置の一実施の形態について、図面を参照しつつ説明する。なお、本文字入力装置は、パーソナルコンピュータ(PC)、携帯情報端末(Personal Digital Assistants:PDA)、テレビ、携帯電話等の、Webコンテンツを閲覧可能で、文字の入力が可能な機器に搭載することが可能である。このような機器において、インターネット等のネットワーク経由で入力フォームを含むWebコンテンツを取得し、Webコンテンツ閲覧装置100もしくは閲覧ソフトによって表示を行ない、当該入力フォームに文字を入力する際に、文字入力装置は、入力するための文字列(一文字の場合を含む)を生成し、生成した文字列をWebコンテンツ閲覧装置100もしくは閲覧ソフトに渡す。これに応じて、Webコンテンツ閲覧装置100は、入力フォームに対して取得した入力文字列を埋め込み、Webコンテンツを表示する。
[Functional configuration of character input device]
Hereinafter, an embodiment of a character input device of the present invention will be described with reference to the drawings. This character input device should be installed in devices that can browse Web content and input characters, such as personal computers (PCs), personal digital assistants (PDAs), televisions, and mobile phones. Is possible. In such a device, when a Web content including an input form is acquired via a network such as the Internet, displayed by the Web
図1は、本実施の形態の文字入力装置の機能構造を示すブロック図である。
文字入力装置200は、Webコンテンツ閲覧装置100に通信できる。
FIG. 1 is a block diagram showing a functional structure of the character input device according to the present embodiment.
The
Webコンテンツ閲覧装置100では、入力フォーム情報102を含むWebコンテンツ101が再生(表示等)される。
In the Web
Webコンテンツ閲覧装置100において、入力フォーム情報102に基づいて表示される単数又は複数の入力欄の中の一つの入力欄が指定される情報が入力されると、Webコンテンツ閲覧装置100から文字入力装置200に、文字入力装置としての機能を起動させる指示が入力される。なお、入力欄の指定は、ユーザによるリモートコントローラ(以下、「リモコン」という)やキーボード等の入力デバイスの操作に基づいて行なわれる。
In the Web
文字入力装置200では、入力部250は、文字入力、漢字変換、入力完了等のユーザが文字入力のために行なった操作によって特定される情報である文字入力操作情報200A、および、当該文字入力装置200が提示した候補の中からユーザがどの候補を選択したかという情報である候補選択情報504の入力を受付ける。
In the
カテゴリ推定部254は、入力フォーム情報102から抽出する等して取得した属性情報に基づいて、文字入力装置200に格納されている辞書270を参照し、当該属性情報に対応するカテゴリを推定し、その結果を単語抽出部256に出力する。
The
本実施の形態では、辞書270は、文字入力装置200内に記憶されているが、文字入力装置200を構成する機器とは別体の装置に記憶され、文字入力装置200では、ネットワークを介することにより当該辞書270が参照されても良い。
In the present embodiment, the
単語抽出部256は、入力された文字情報(文字入力操作情報200A)に基づいて、辞書270から単語を抽出し、候補単語決定部258へ出力する。また、単語抽出部256は、カテゴリ推定部254から取得したカテゴリ情報に基づいて、辞書270から単語を抽出し、候補単語決定部258へ出力する。
The
候補単語決定部258は、単語抽出部256が抽出した単語の中から、候補文字列として出力する単語およびその提示順序を決定する。
The candidate
候補文字列出力部260は、候補単語決定部258が決定した単語を当該候補単語決定部258が決定した順序で、候補文字列200Cとして、モニタ770に出力する。これにより、候補文字列200Cは、モニタ770の画面に表示される。このように、表示対象として候補文字列200Cを出力する候補文字列出力部260により、候補設定手段が設定した文字列の候補を表示させる候補表示手段が構成されている。
The candidate character
なお、本実施の形態では、文字入力装置200は表示装置(モニタ770)を含んでいても良いし、表示装置を含まず、候補表示手段により、外部の表示装置に候補文字列200Cを表示させるための情報を送信することにより文字列の候補を表示させても良い。
In the present embodiment, the
ユーザは、提示された候補文字列の選択、文字入力、漢字変換等の操作を繰り返し、入力フォームの各入力欄に対して入力するための文字列を作成する。文字入力装置200は、文字入力操作情報200Aおよび選択候補200Bの入力を受け付けるたびに、候補文字列200Cとして挙げる文字列の候補を変更する。文字入力装置200は、入力部250が受け付ける、候補文字列の選択情報、文字入力、漢字変換等の文字入力操作情報等の入力情報に基づき、文字列を作成する入力文字列作成部を含んでいてもよい。当該入力文字列作成部は、入力欄に入力する入力文字列220Dの途中文字列を保持しており、入力部250が入力を受け付けるたびに、新たに入力された入力情報に基づき途中文字列を更新する。入力文字列作成部が作成した文字列は、途中文字列として出力部を介してモニタ770に出力してもよい。
The user repeats operations such as selection of the presented candidate character string, character input, and kanji conversion, and creates a character string for input to each input field of the input form. Each time the
入力欄に対する文字列の作成が完成し、入力部250を介して、ユーザの操作に基づく入力完了の指示を受け付けると、入力文字列出力部262は、当該入力完了の指示により決定された文字列(入力文字列200D)を、入力フォーム情報102の、処理対象となっている入力欄に入力する文字列として、Webコンテンツ閲覧装置100へ出力する。
When the creation of the character string for the input field is completed and an input completion instruction based on a user operation is received via the
文字入力装置200が上記したような入力文字列作成部を含む場合は、入力完了の指示を受け付けると、途中文字列として保持している文字列を入力文字列220Dとして、入力文字列出力部262が出力する。
When the
辞書更新部252は、入力文字列200Dに基づいて、辞書270を更新する。
[文字入力装置のハードウェア構成]
本実施の形態に係る文字入力装置は、実質的には、コンピュータハードウェアと、そのコンピュータハードウェアにより実行されるプログラムと、コンピュータハードウェアに格納されるデータとにより実現される。図2に、このコンピュータシステム700の内部構成を示す。
The
[Hardware configuration of character input device]
The character input device according to the present embodiment is substantially realized by computer hardware, a program executed by the computer hardware, and data stored in the computer hardware. FIG. 2 shows an internal configuration of the
なお、本実施の形態では、Webコンテンツ閲覧装置100と文字入力装置200が、コンピュータシステム700により実現される。以下、本明細書では、必要な場合には、コンピュータシステム700が、Webコンテンツ閲覧装置100として機能しているか文字入力装置200として機能しているかについて、説明をすることとする。
In the present embodiment, the Web
図2を参照して、このコンピュータシステム700は、光ディスクドライブ751および磁気ディスクドライブ752を有するコンピュータ750と、モニタ770と、リモコン700Aとを含む。
Referring to FIG. 2, this
(コンピュータのハードウェア構成)
コンピュータ750は、光ディスクドライブ751および磁気ディスクドライブ752に加えて、電源ボタン等の入力装置753と、リモコン700Aからの信号を受信するリモコンインタフェース(I/F)755と、CPU(中央処理装置)756を含む。
(Computer hardware configuration)
In addition to the
リモコンI/F755、CPU756、光ディスクドライブ751および磁気ディスクドライブ752は、バス757により接続される。
The remote control I /
コンピュータ750は、バス757に接続され、ブートアッププログラム等を記憶する読出専用メモリ(ROM)758と、同じくバス757に接続され、プログラム命令、システムプログラム、および作業データ等を記憶するランダムアクセスメモリ(RAM)759とを含む。
The
ここでは示さないが、コンピュータ750はさらにネットワークへの接続を提供するネットワークアダプタボード、無線通信を行なう通信装置を含んでもよい。
Although not shown here, the
コンピュータシステム700に文字入力装置の機能を実現させるためのプログラム、入力情報はいずれも、光ディスクドライブ751または磁気ディスクドライブ752に挿入される光ディスク760または磁気ディスク761に記憶され、さらにハードディスク762に転送される。または、プログラム等のデータは、図示しないネットワークを通じてコンピュータ750に送信され、ハードディスク762に記憶されてもよい。プログラムは実行の際にRAM759にロードされる。光ディスク760から、磁気ディスク761から、またはネットワークを介して、RAM759に直接プログラムがロードされてもよい。
Both the program and input information for causing the
このプログラムは、コンピュータ750に本実施の形態に係る文字入力装置200の機能を実現させる複数の命令を含む。これら機能を実現させるのに必要な基本的機能のいくつかはコンピュータ750上で動作するオペレーティングシステム(OS)またはサードパーティのプログラム、若しくはコンピュータ750にインストールされる各種ツールキットのモジュールにより提供される。したがって、このプログラムは、この実施の形態に係る文字入力装置の機能を実現するのに必要な機能全てを必ずしも含まなくてよい。このプログラムは、命令のうち、所望の結果が得られるように制御されたやり方で適切な機能または「ツール」を呼出すことにより、上記した文字入力装置の制御を実行する命令のみを含んでいればよい。コンピュータシステム700の動作は周知であるので、ここでは繰り返さない。
This program includes a plurality of instructions for causing the
なお、文字入力装置の機能を実現するためのプログラムやデータが記録される記録媒体は、CD−ROM(コンパクトディスク読取専用メモリ)、MO(Magneto−Optical disc)、MD(Mini Disc)、およびDVD(Digital Versatile Disc)等の光ディスク760、FD(フレキシブルディスク)およびハードディスク等の磁気ディスク7761に限らない。磁気テープおよびカセットテープ等のテープ、IC(Integrated Circuit)カードおよび光カード等のカード型記録媒体、並びにマスクROM、EPROM(Erasable Programable ROM)、EEPROM(Electrically Erasable Programable ROM)、およびフラッシュROM等の半導体メモリのいずれかでもよい。ただし、コンピュータシステム700は、これら記録媒体からの読出を行なうための読出装置を実装する必要がある。
Note that recording media on which programs and data for realizing the functions of the character input device are recorded are CD-ROM (Compact Disc Read Only Memory), MO (Magneto-Optical disc), MD (Mini Disc), and DVD. The present invention is not limited to the
本実施の形態では、CPU756がハードディスク762や光ディスク760や磁気ディスク761に記録されたプログラムを実行することにより、入力部250、辞書更新部252、カテゴリ推定部254、単語抽出部256、候補単語決定部258、候補文字列出力部260および入力文字列出力部262が構成される。また、辞書270や本明細書において説明される処理が実行されるのに必要な情報(データ)は、ハードディスク762や光ディスク760や磁気ディスク761やRAM759に記録されている。
In this embodiment, the
(リモコンのハードウェア構成)
リモコン700Aは、リモコン700Aの動作を全体的に制御する情報処理装置780を含む。また、リモコン700Aは、無線信号を発信する信号発生装置786と、後述する数字キー701等のキーから構成されるキー入力部785と、キー入力部785の中の操作されたキーに対応して出力する信号の内容を記憶する記憶装置781とを含む。
(Remote control hardware configuration)
リモコン700Aは、キー入力部785が操作されると、操作されたキーに応じた信号が、信号発信装置786から出力される。
When the
コンピュータ750は、リモコンI/F755において、リモコン700Aから出力された信号を受信する。
(リモコンの外観)
図2のリモコン700Aの外観を図3に示す。
(Appearance of remote control)
FIG. 3 shows the appearance of the
図3を参照して、リモコン700Aは、「1」〜「12」のそれぞれの数字に対応した12個のボタンからなる数字キー701と、モニタ770に表示されたカーソル等の操作対象となる位置を上下左右のそれぞれの方向に移動させる上キー711,下キー712,左キー713,右キー714と、入力中の情報を確定させるための決定キー710と、コンピュータ750の動作状態に応じた種々の機能を割当てられる機能キー712〜724を含む。
Referring to FIG. 3,
[入力フォームの構成]
次に、入力フォーム情報102に基づいて表示される入力フォームの表示例について説明する。
[Configuration of input form]
Next, a display example of the input form displayed based on the
(入力フォームの表示例)
図4に、入力フォームを含むWebコンテンツの表示の表示画面の一例を示す。
(Display example of input form)
FIG. 4 shows an example of a display screen for displaying Web contents including an input form.
画面400として表示されたWebコンテンツには、姓、名などの入力フォームが存在する。ある任意の入力フォームに文字を入力するという処理は、まず、ユーザがリモコンやマウスポインタ等の操作によって、入力する入力フォームを指定する。ユーザによる文字入力指示を検出すると、コンピュータ750は、文字入力装置を起動し、文字入力装置で文字列を生成し、生成した文字列をWebコンテンツ閲覧装置100に渡す。Webコンテンツ閲覧装置100は、取得した文字列を入力フォームに埋め込み、Webコンテンツを再表示する。
The Web content displayed as the
画面400は、ユーザの、姓名の中の姓の部分を入力する入力欄401と、名の部分を入力する入力欄402と、姓の部分のよみがなを入力する入力欄411と、名の部分のよみがなを入力する入力欄412とを含む。
The
また、画面400は、ユーザの電子メールアドレスを入力する入力欄421と、当該電子メールアドレスを確認的に再度入力させる入力欄422とを含む。
The
また、画面400は、ユーザの性別を入力させるための入力欄431,432を含む。
また、画面400は、ユーザの郵便番号を入力させるための入力欄441,442を含む。
The
The
また、画面400は、ユーザの住所を入力させるための入力欄451,461,471を含む。
The
また、画面400は、ユーザの電話番号を入力させるための入力欄481,482,483を含む。
The
また、画面400は、ユーザの勤務先の情報を入力させるための入力欄491を含む。
(入力フォームを構成するデータの一例)
図5に、図4に示したWebコンテンツに対応するHTMLフォームの一例を示す。
The
(An example of data constituting the input form)
FIG. 5 shows an example of an HTML form corresponding to the Web content shown in FIG.
Webコンテンツ閲覧装置100は、図5に示すようなHTMLフォームデータを取得し、図4に示すような形式で、モニタ770等の表示装置に表示する。
The Web
図5を参照して、図4の画面400中の入力欄401,402は、それぞれ図5に示したHTMLフォームの中の記述501,502に対応する。
Referring to FIG. 5, input fields 401 and 402 in
また、入力欄411,412,421,422,431,432,444,442,461,471,481,482,483,491は、それぞれ、図5中の記述511,512,521,522,531,532,541,542,561,571,581,582,583,591に対応する。 Also, the input fields 411, 412, 421, 422, 431, 432, 444, 442, 461, 471, 481, 482, 483, 491 are respectively described in the descriptions 511, 512, 521, 522, 531 in FIG. 532, 541, 542, 561, 571, 581, 582, 583, 591.
HTMLフォーム中での各入力欄に対応する記述を、本明細書では各入力欄に対応する入力フォームという。 A description corresponding to each input field in the HTML form is referred to as an input form corresponding to each input field in this specification.
具体的には、図4の各入力欄のうち、「姓」に対応する入力欄401は、図5のHTMLフォームでは、<input name=”sei” type=”text” size=”16” />のような形式で表現されている。このうち、<input>は、入力フォームそのものを示すHTMLタグであり、name, type, sizeなどのinputタグ内で指定される値は、<input>タグを特徴づける属性情報である。これらを、本明細書では、入力フォームに付随する属性情報という。
Specifically, among the input fields in FIG. 4, the
文字の入力対象として「姓」の入力フォームが指定された場合、文字入力装置200を構成するアプリケーションがコンピュータ750において起動する。
When an input form “Last Name” is designated as a character input target, an application constituting the
このとき、「姓」の入力フォームに付随する属性情報が、Webコンテンツ閲覧装置100から文字入力装置200へ渡される。具体的には、文字入力装置200を構成するアプリケーションを実行するCPU756は、Webコンテンツ閲覧装置100として機能するためのアプリケーションによってモニタ770に表示されているWebコンテンツの画面400の基となるHTMLフォームから、入力対象となる入力フォームについての属性情報を読み込む。
At this time, the attribute information accompanying the “last name” input form is passed from the Web
以下、例として、<input>タグのname属性の値、”sei”が渡されるとする。
[文字入力装置200の機能の説明]
(文字入力装置を構成するアプリケーションによる表示画面)
文字入力装置200を構成するアプリケーションによる表示画面(文字入力画面)の一例を図6に示す。
Hereinafter, as an example, it is assumed that the value of the name attribute of the <input> tag, “sei”, is passed.
[Description of Function of Character Input Device 200]
(Display screen by application that constitutes the character input device)
An example of a display screen (character input screen) by an application constituting the
図6を参照して、文字入力画面910は、図4の入力フォームの各入力欄に入力される文字列の編集過程での文字列を表示させる表示欄911と、表示欄911に表示させる文字列として予測される文字列の候補を表示するための表示欄912と、数字キー701の12個のキーのそれぞれに対応する内容を示す表示欄913と、機能キー721にアサインされた機能を示す表示欄914と、機能キー722にアサインされた機能を示す表示欄915とを含む。
Referring to FIG. 6, a
文字入力装置が上記したような入力文字列作成部を含む場合、当該入力文字列作成部が保持する途中入力文字列は、表示欄911で表示される。
When the character input device includes the input character string creation unit as described above, the halfway input character string held by the input character string creation unit is displayed in the
表示欄911において、入力されたが、かな漢字変換前であり、まだ文字が確定されていない文字列については、図6に示されるように、下線が付されて表示される。表示欄911には、次に入力する文字が挿入される位置を示すカーソル911Aが表示される。
In the
なお、本明細書では、文字入力装置200に対する文字の入力と、Webコンテンツ閲覧装置100に対する文字の入力は、区別して記載される。文字入力装置200には、Webコンテンツ閲覧装置100に対して、入力フォームに埋め込む文字列として出力する「入力文字列200D」を作成するための文字が、リモコン700Aに対する操作等によって入力される。
In the present specification, a character input to the
図6の表示欄913の表示によれば、数字キー701の「1」キーには、「あ」行の平仮名の入力がアサインされている。「1」キーが連続して操作されることにより、操作回数に応じて表示欄911に表示される文字は、「あ」「い」「う」「え」「お」「ぁ」「ぃ」…「あ」「い」…のように変化する。
According to the display in the
また、数字キー701の「2」キーには、「か」行の平仮名の入力がアサインされている。「2」キーが連続して操作されることにより、当該操作に基づいて表示欄911に表示される文字は、「か」「き」「く」「け」「こ」「か」「き」…のように変化する。
Also, the input of hiragana in the “ka” line is assigned to the “2” key of the
また、数字キー701の「3」キーには、「さ」行の平仮名の入力がアサインされている。「3」キーが連続して操作されることにより、当該操作に基づいて表示欄911に表示される文字は、「さ」「し」「す」「せ」「そ」「さ」「し」…のように変化する。
Also, input of hiragana characters in the “sa” line is assigned to the “3” key of the
そして、数字キー701の「4」キー,「5」キー,「6」キー,「7」キー,「8」キー,「9」キー,「11」キーには、それぞれ、「た」行,「な」行,「は」行,「ま」行,「や」行,「ら」行,「わ」行の平仮名の入力がアサインされている。
The “4” key, “5” key, “6” key, “7” key, “8” key, “9” key, and “11” key of the
数字キー701の「10」キーには、表示欄911に表示された文字に対して、当該キーの操作回数に応じて所定の処理を施す情報を入力する機能がアサインされている。所定の処理とは、奇数回の操作がなされると、カーソル911Aが表示された位置の左隣にある位置の文字に対して濁点を付す、または、濁点が付された文字に対しては濁点を削除する)処理をし、偶数回の操作がなされると、小文字化する(「あ」を「ぁ」とする)または小文字化を解除する処理をすることに対応する。
A function of inputting information for performing predetermined processing on the character displayed in the
数字キー701の「12」キーには、表示欄911に対して操作回数に応じた文字数だけ空白を入力する機能がアサインされている。
A function of inputting blanks by the number of characters corresponding to the number of operations is assigned to the
表示欄914の表示によれば、機能キー721には、表示欄911に表示された平仮名の文字列の漢字変換を指示する機能がアサインされている。
According to the display in the
表示欄915の表示によれば、機能キー722には、画面400の中の処理対象となっている入力欄に対して、表示欄911に表示されている文字列を、入力する情報として、文字入力アプリケーションの処理を終了させる機能がアサインされている。
According to the display in the
図6の文字入力画面910の表示欄911には、入力されているが確定される前の状態にある文字「た」が示されている。これは、上記したように、リモコン700Aにおいて数字キー701の「4」キーが1回操作された状態に対応する。
In the
そして、表示欄912には、辞書270に含まれる、「た」の読みに基づいて抽出された候補文字列200Cを構成する複数の文字列(「退官」「退社」「対処」「態勢」「体調」「称える」「立つ」「立てこもる」「度」)が示されている。
The
この状態で、上キー711,下キー712,左キー713,右キー714および決定キー710が操作されることにより、候補文字列として表示されたものから文字列を選択および決定されると、CPU756は、表示欄911に表示される文字列を決定された文字列に置換する。たとえば、「退官」の文字列が選択されると、表示欄911には「退官」が表示され、「退官」の文字列の直後にカーソル911Aが表示される。この状態で、さらに、数字キー701が操作されると、当該数字キーにアサインされたひらがな文字を表示欄911において「退官」の直後に未確定の状態で表示し、表示されたひらがな文字に基づいて抽出した候補文字列200Cを更新する。このようにして、提示した候補文字列200Cの選択や、数字キー701等のキー操作に基づき、表示欄911に表示する文字列を更新する。そして、入力完了キー915が操作されると、入力文字列出力部262は、表示部911の文字列を、入力文字列200Dとして、Webコンテンツ閲覧装置100に出力する。
In this state, when the
なお、表示欄912では、選択されている文字列は、太枠で囲まれる等により表示される。図6では、「退官」が選択された状態が示されている。表示欄912内で選択される文字列は、上キー711,下キー712,左キー713,右キー714が操作されることにより変更される。
In the
(文字入力装置の漢字変換機能)
本実施の形態の文字入力装置200は、予測候補提示機能の他に、漢字変換機能をもち、入力中の読みを読み仮名とする漢字に変換する機能をもつ。新規の単語入力の際など、予測候補に目的の文字列が提示されない場合は、漢字変換機能によって変換された漢字等を組み合わせることで、文字列を生成する。入力フォームに入力すべき文字列を生成できると、入力完了機能を実行し、生成した文字列を入力文字列出力部からWebコンテンツ閲覧装置100に渡す。
(Kanji conversion function of character input device)
The
たとえば、「姓」という入力フォーム(画面400の入力欄401)に対して、「たなか」という読みを入力する操作がなされた場合、文字入力装置200は、漢字変換機能によって、「たなか」の文字列に基づいて「田中」という文字列を生成し、入力完了機能を実行したとする。
For example, when an operation for inputting a reading “Tanaka” is performed on an input form “last name” (
Webコンテンツ閲覧装置100は、「姓」という入力フォームに、「田中」という文字列が文字入力装置200において生成された情報を取得すると、図7に示したように、指定された入力フォームに取得した文字列を埋め込むよう、画面400の表示を更新する。このようにして、文字入力装置200で生成した文字列を使用して、Webコンテンツ閲覧装置100が、Webコンテンツを表示する。
When the Web
(辞書を用いた一般的な処理内容)
文字入力装置200では、予測候補の選択、漢字変換、および入力完了機能が実行されると、辞書更新部252によって辞書270が更新される。
(General processing using a dictionary)
In the
辞書更新部252は、入力フォームに付随する属性情報として取得されたデータと、予測候補の選択、漢字変換、入力完了機能時のそれぞれの確定文字列とを用いて、辞書データを更新する。
The
ここまで説明してきた例では、属性情報として渡されたname属性の値、”sei”と、確定された文字列である「田中」との関連づけを行ない、辞書の270のデータを更新する。属性の値、確定された文字列が辞書に登録されていなければ、新規に登録を行なう。 In the example described so far, the name attribute value “sei” passed as the attribute information is associated with the determined character string “Tanaka”, and 270 data in the dictionary is updated. If the attribute value and the fixed character string are not registered in the dictionary, new registration is performed.
ここで、辞書270のデータ構造について、説明する。
(辞書のデータ構造)
以下、文字入力装置200で利用される辞書270について、そのデータ内容、辞書引き、更新方法について説明する。まず、辞書270のデータ内容を説明する。
Here, the data structure of the
(Dictionary data structure)
Hereinafter, the data content, dictionary lookup, and update method of the
図8は、辞書270のデータ構成の一例を模式的に示す図である。
図8を参照して、辞書270には、単語ごとの読み2714と、読み2714に対応する表記2715が、データベース形式で格納されている。
FIG. 8 is a diagram schematically illustrating an example of the data configuration of the
Referring to FIG. 8,
また、辞書270に格納される単語には、これらに加え、属性情報2712と、属性情報2712から推測されるカテゴリを示す情報(カテゴリ情報2713)が格納されている単語もある。
In addition to the words stored in the
つまり、辞書270に格納される単語には、属性情報およびカテゴリ情報が付与されている単語と付与されていない単語がある。
That is, the words stored in the
なお、辞書270では、各単語は、番号2711が付されて、格納されている。
入力する入力フォームをユーザによって指定され、文字入力装置を起動する際に、入力部250を介して、指定された入力フォームに付随する属性情報を取得する。予測候補の選択、漢字変換時には、表記と読みが、取得された属性情報とともに、辞書270に格納されるように辞書270が更新される。入力完了時には、入力文字列200DとしてWebコンテンツ閲覧装置100に送信された文字列と、取得された属性情報とが、辞書270に格納されるように、辞書270が更新される。属性情報からカテゴリが推定された場合、カテゴリ情報も付与されて、格納される。カテゴリ推定部254によるカテゴリ推定の方法は、後述する。
In the
When an input form to be input is designated by the user and the character input device is activated, attribute information associated with the designated input form is acquired via the
そして、このように辞書270に格納された表記、読み、属性情報、カテゴリ情報は、それ以降の入力フォームに対する入力文字列200Dの生成の際に利用される。
The notation, reading, attribute information, and category information stored in the
なお、辞書にない文字列が入力文字列200Dとして出力されると、辞書更新部252は、当該文字列を新たに辞書270に登録することにより、辞書270を更新する。
When a character string not in the dictionary is output as the
辞書にない文字列とは、漢字変換を必要としないひらがな・カタカナ・英数字からなる文字列や、辞書単語を組み合わせた複合語などが考えられる。たとえば、「ひなまつり」が辞書に登録されていない場合、当該「ひなまつり」は漢字変換なしに入力できる文字列であり、このような文字列が入力完了されると、読みおよび表記が「ひなまつり」となる単語が、その時の属性情報(その時点で処理対象となった入力フォームに対応する属性情報)とともに、辞書270に追加される。なお、「祭り」という単語が辞書に存在する場合に、「ひな」を無変換で表示欄911に入力し、その直後に「祭り」という文字列を表示欄911上で漢字変換を行なった上で入力し、これにより、「ひな祭り」という複合語文字列が生成された状態で、入力完了されると、読みが「ひなまつり」、表記が「ひな祭り」である文字列が、その時の属性情報とともに、辞書270に追加される。
Examples of character strings that are not in the dictionary include hiragana, katakana, and alphanumeric characters that do not require kanji conversion, and compound words that combine dictionary words. For example, if `` Hinamatsuri '' is not registered in the dictionary, the `` Hinamatsuri '' is a character string that can be input without Kanji conversion, and when such a character string is entered, the reading and notation will be `` Hinamatsuri '' Is added to the
(辞書の更新)
文字入力装置200の起動時や表示欄911に1文字入力されるたびに、辞書270が参照されて、表示欄912に候補として表示される文字列が更新される。
(Dictionary update)
The
図6に示したように、「た」が入力された場合、入力部250は、入力文字「た」を取得する。これに応じて、単語抽出部256は、辞書270を参照し、読みの先頭が「た」である単語を抽出し、その表記を候補単語決定部258に渡す。このとき、属性情報、カテゴリ情報が付与されている場合、その情報も渡す。
As illustrated in FIG. 6, when “ta” is input, the
「た」が入力された場合、図8に示す辞書270によれば、「退官」、「退社」、「田中」、「たなか」、「竹田」が候補として抽出される。
When “ta” is input, according to the
その後、さらに「な」が入力されると、表示欄911に表示される、確定前の読みは、「たな」になる。これに応じて、単語抽出部256は、辞書270から、読みが「たな」で前方一致する単語を抽出する。たとえば、「田中」、「たなか」が抽出される。
Thereafter, when “NA” is further input, the reading before confirmation displayed in the
図4に示したWebコンテンツの画面400と、図5に示したHTMLフォームにおいて、「姓」という入力欄に「たなか」という読みが入力され、文字入力装置200の漢字変換に基づき「田中」という表記に変換するための情報および当該表記を処理対象の入力欄に入力する文字列として(Webコンテンツ閲覧装置100に対して出力する文字列として)決定する情報が文字入力装置200に入力された場合、入力文字列出力部262が、「姓」の入力欄に対応する入力文字列200Dとして当該表記(田中)を出力する。そして、辞書更新部252は、「姓」の入力フォームに付随する属性情報のうちname属性である”sei”を取得する。この場合、辞書更新部252は、読みが「たなか」、表記が「田中」、そして、属性情報が「sei」である単語の情報を追加するように、辞書270を更新する。
In the
なお、もともと、辞書270に、読みを「たなか」、表記を「田中」とする単語情報(属性情報を含まない単語情報)が含まれていた場合には、辞書更新部252は、当該単語情報に、「sei」という属性情報を追加するように、辞書270を更新する。
If the
図8のNo.30は、このようにして登録された単語にかかる情報を示している。
(候補文字列の予測)
次に、別のWebコンテンツの閲覧時に、ある入力フォームが指定されると、文字入力装置200が起動する。
No. 30 in FIG. 8 indicates information relating to the word registered in this way.
(Prediction of candidate string)
Next, when a certain input form is specified when browsing another Web content, the
起動時に、単語抽出部256およびカテゴリ推定部254は、当該入力フォームに対応する属性情報を取得する。
At startup, the
そして、単語抽出部256は、辞書の中で属性情報が一致、もしくは類似する単語があるかどうかを判断し、候補抽出する。カテゴリ推定部254は、取得された属性情報に基づいて、カテゴリを推定する。
Then, the
ここで、カテゴリ推定部254によるカテゴリの推定について説明する。
(カテゴリの推定)
カテゴリ推定部254では、入力フォームを含むHTMLデータから取得した属性情報から、入力フォームに入力すべき文字列が属するカテゴリを推定する。
Here, the category estimation by the
(Category estimation)
The
カテゴリとは、氏名、姓、名、ふりがな、ログイン名、住所、電話番号、メールアドレス、会社名、などが考えられる。 The category may include name, surname, first name, furigana, login name, address, telephone number, e-mail address, company name, and the like.
あらかじめ、カテゴリを識別するためのキーワードを決定しておき、取得した属性情報に含まれるテキスト情報から、カテゴリを識別する。 A keyword for identifying the category is determined in advance, and the category is identified from the text information included in the acquired attribute information.
カテゴリ推定部254は、属性情報に基づいてカテゴリを推定するための情報を格納している。当該情報の一例を、図9に示す。
The
図9を参照して、番号2721ごとに、カテゴリ2722が関連付けられ、そして、各カテゴリ2722には、キーワード2723が関連付けられている。たとえば、番号「1」のカテゴリ「姓」には、「name」「last」「sei」「姓」「l_name」を含む、複数のキーワードが関連付けられている。各カテゴリ2722には、単数のキーワード2723が関連付けられている場合もあるし、図9に示されるように複数のキーワード2723が関連付けられている場合もある。
Referring to FIG. 9, a
図9に示されたテーブルでは、カテゴリに関連付けられたキーワードは、当該キーワードが属性情報に含まれることにより、当該属性情報が当該カテゴリに属することを意味する。つまり、「name」「last」「sei」「姓」「l_name」が属性情報に含まれる場合、当該属性情報は、カテゴリ「姓」に属するものとして取り扱われる。 In the table shown in FIG. 9, the keyword associated with the category means that the attribute information belongs to the category by including the keyword in the attribute information. That is, when “name”, “last”, “sei”, “last name”, and “l_name” are included in the attribute information, the attribute information is handled as belonging to the category “last name”.
取得された属性情報が”lastname”の場合、キーワードに”last”を含むので、カテゴリ推定部254は、カテゴリを「姓」であると推定する。属性情報が”sei_kana”の場合、キーワードに”sei”と”kana”を含むので、カテゴリは、「姓」もしくは「ふりがな」と判断する。一つの属性情報に対して、複数のキーワードが含まれる場合、複数のカテゴリが推定されてもよい。
When the acquired attribute information is “lastname”, since the keyword includes “last”, the
辞書270に、後述するステップS12において、1つの単語について複数のカテゴリ情報を格納するには、あらかじめ定義されたカテゴリの中で、カテゴリ毎に属すか属さないかの情報を付与されたカテゴリ情報を単語毎に付与するという方法で格納するとよい。また、カテゴリとして、姓のふりがな、というような、複数のキーワードが属すことを条件とするカテゴリを定義してもよい。本明細書では、姓のふりがなを、「姓(ふりがな)」と表す。
In order to store a plurality of category information for one word in the
また、あらかじめ典型的な属性情報のパターンを収集して、カテゴリに振り分けておき、それを学習データとして用いてカテゴリ推定を行なう方法も考えられる。 A method is also conceivable in which typical attribute information patterns are collected in advance and assigned to categories, and category estimation is performed using the patterns as learning data.
たとえば、”sei_kana”は、「姓(ふりがな)」、”firstname”は、「名」、”first_yomi”は、「名(ふりがな)」、”email”は、「メールアドレス」、のように、典型的な属性情報の文字列に対して、それぞれどのカテゴリに属すかを決めておく。取得した属性情報と、学習データの属性情報とのテキスト情報の一致、もしくは類似度合により、どの学習データの属性情報に類似するかを判断し、類似する属性情報が属すカテゴリを取得した属性情報が属すカテゴリとして推定する。 For example, “sei_kana” is “Furigana”, “firstname” is “First Name”, “first_yomi” is “First Name”, “email” is “Mail Address”, and so on. For each attribute information character string, it is determined which category it belongs to. The attribute information that has acquired the category to which the similar attribute information belongs is determined by determining whether the attribute information of the learning data is similar to the attribute information of the learning data based on the matching or similarity of the text information. Estimate as the category to which it belongs.
キーワードを含まなかったり、類似する属性情報がなかったりなど、カテゴリ推定ができなかった属性情報は、カテゴリなしで終了する。 Attribute information for which category estimation could not be performed, such as no keyword or no similar attribute information, ends without a category.
カテゴリ推定部254は、このように、取得した属性情報に基づいてカテゴリを推定して、単語抽出部256に出力する。
In this way, the
(推定されたカテゴリに基づく単語の抽出)
単語抽出部256は、辞書270の中から、出力されたカテゴリに一致するカテゴリに関連付けられた単語の表記を抽出して、単語抽出部256から入力された表記に加える。
(Word extraction based on estimated categories)
The
カテゴリ推定部254によるカテゴリの推定方法の具体例を説明すると、例えば、属性情報が”sei”、から、カテゴリが「姓」であると推定されたとする。カテゴリ推定部254が推定した情報を取得すると、単語抽出部256は、カテゴリが「姓」と一致する単語を辞書270から抽出する。図8に示された情報によれば、No.30の「田中」、No.31の「たなか」、No.32の「竹田」、No.33の「中田」が抽出される。
A specific example of the category estimation method performed by the
このようにして、属性情報およびカテゴリ情報をもとに候補を抽出することで、文字入力装置起動時に、ユーザに一文字も読みを入力させることなく、候補を提示することが可能である。 In this way, by extracting candidates based on attribute information and category information, it is possible to present candidates without causing the user to input a single reading when the character input device is activated.
属性情報が類似する単語、カテゴリ情報が一致する単語を抽出することで、属性情報が完全に一致しなくても過去に入力した文字列を利用することが可能である。 By extracting words with similar attribute information and words with matching category information, it is possible to use a character string input in the past even if the attribute information does not completely match.
起動時には、属性情報もしくはカテゴリ情報しか使わないので、辞書270に格納されている情報のうち、読み情報を必要としない。したがって、属性情報を備えた単語は、少なくとも表記情報(図8の表記2715)さえあれば、起動時に候補として抽出することが可能である。
Since only attribute information or category information is used at the time of startup, reading information is not required among the information stored in the
文字入力装置200の起動時に候補を提示している状態で、ユーザが文字を入力すると、入力文字に基づき単語を抽出する。属性情報が一致していても、読みが一致しない単語は候補からはずす。
When a user inputs a character in a state where a candidate is presented when the
”sei”という属性情報から起動時に抽出された候補「田中」、「中田」、「たなか」、「竹田」がある状態で、ユーザが「な」を入力したとすると、読みが「た」から始まる候補は抽出せず、「な」から始まる「中田」だけが抽出される。ユーザが文字を入力すると、単語抽出部256は、属性情報やカテゴリ情報が一致もしくは類似しなくても、読みが前方一致する単語(表記)を抽出する。
If the user inputs “NA” in the state where there are candidates “Tanaka”, “Nakada”, “Tanaka”, and “Takeda” extracted from the attribute information “sei” at startup, the reading starts from “TA”. Candidates that start with are not extracted, but only “Nakada” starting with “NA” is extracted. When the user inputs a character, the
ここで、「な」から始まる文字列を抽出する。したがって、文字が入力されると、単語抽出部256により抽出される単語では、属性情報が一致もしくは類似する単語と、一致も類似もしない単語と、属性情報が付与されていない単語が混在することになる。
Here, a character string starting with “NA” is extracted. Therefore, when a character is input, the word extracted by the
候補単語決定部258は、これらの単語を、属性情報が一致するものを優先順位が高く(順序を早く)表示されるように、候補として抽出された単語の優先順位を決定して、候補文字列出力部260へ出力する。
The candidate
辞書270において、読みおよび表記が格納されており、属性情報が格納されていない単語が、生成されて、入力文字列200Dとして出力されると、辞書更新部252は、その単語に、取得した属性情報を付与するように、辞書270を更新する。読み、表記、属性情報が格納されている単語が、格納されている属性情報とは異なる属性情報をもつ入力フォーム(入力欄)に対する入力文字列200Dとして出力されると、辞書更新部252は、その単語に、新たな属性情報を付与するように、辞書270を更新する。この場合、一つの読み、表記のペアに対して、属性情報が複数付与されていることになる。属性情報が複数の場合、属性情報から推定されるカテゴリ情報も複数付与されることになる。
In the
辞書270には、属性情報が付与された単語と、付与されていない単語が混在しているが、属性情報が付与されていない単語群は、通常のかな漢字変換辞書に置き換えることが可能である。辞書270を複数に分割して構成し、一つは、読みと表記等の単語情報のみを格納した辞書Aとし、もう一つを読み、表記等の単語情報と、属性情報とを関連づける情報を格納した辞書Bとしてもよい。
In the
後者の辞書Bは、入力フォームに入力が行なわれるたびに、辞書更新部252により更新される。
The latter dictionary B is updated by the
辞書Bに含まれない属性情報、読み、表記が入力されると、当該情報が辞書270に追加されるように、辞書270が更新される。
When attribute information, reading, or notation that is not included in the dictionary B is input, the
単語抽出部256は、文字入力装置200の起動時には、辞書Bを参照し、属性情報が一致もしくは類似する単語、カテゴリが一致する単語を抽出し、候補を抽出し、候補単語決定部258に出力する。候補単語決定部258に入力された単語(表記)は、適宜提示順序が決定され、候補文字列出力部260を介して、候補文字列200Cとして出力される。このように出力された候補文字列200Cが表示された状態を、図10に示す。
When the
図10の文字入力画面910Aでは、表示欄911には、文字が表示されていない。文字入力画面910Aに対して、また、文字の入力がなされていないからである。そして、図10の表示欄912には、上記のように出力された候補文字列200Cに含まれる表記が表示されている。
In the character input screen 910A of FIG. 10, no characters are displayed in the
図10に示された状態から数字キー701や決定キー710等のリモコン700A上のキーが操作されて、表示欄911に対して文字が入力されると、単語抽出部256は、入力された文字に応じて、辞書Bを参照し、起動時に抽出した単語の中から読みが前方一致する単語を抽出し、さらに、辞書Aを参照し、読みが前方一致する単語を抽出し、両方の辞書から抽出された単語をマージして、候補を出力する。単語抽出部256から出力された候補は、候補単語決定部258および候補文字列出力部260を介して、候補文字列200Cとして出力される。このように出力された候補文字列200Cが表示された状態を、図11に示す。
When the keys on the
図11の文字入力画面910Bの表示欄912では、候補として表示される文字列には、辞書Bから抽出された単語の表記と辞書Aから抽出された単語の表記がマージされている。
In the
図11の文字入力画面910Bでは、表示欄911には、「な」という文字が表示されている。ユーザが「な」の文字を入力したことに対応する。
In the
そして、文字入力画面910Bでは、表示欄911には確定前の状態で「な」が表示され、表示欄912に表示された、予測に基づく候補は、読みが「な」から始まる候補が提示される。
In the character input screen 910B, “NA” is displayed in the
ここで、図10と図11を対比して、図10の文字入力画面910Aの表示欄912に表示されている候補のうち、「中田」は、属性情報が付与されている単語であり、属性情報の”sei”が一致している単語として、起動時(文字入力画面910Aの表示欄912)から提示され、「な」が入力されても、入力された「な」と読みが前方一致するので、候補として残る。よって、図11の文字入力画面910Bの表示欄912にも残っている。
Here, comparing FIG. 10 and FIG. 11, among the candidates displayed in the
一方、図10の文字入力画面910Aの表示欄912に表示されていた候補のうち、「中田」以外の候補は、入力された「な」と読みが前方一致しないので、図11の文字入力画面910Bでは、候補として残っていない。
On the other hand, among the candidates displayed in the
図11の文字入力画面910Bの表示欄912に表示されていた候補のうち、「中田」以外の候補は、図10の文字入力画面910Aに対して「な」が入力されることによって、属性情報が付与されていない単語から、読みが、入力された「な」と前方一致することにより抽出された候補である。
Among the candidates displayed in the
このように、文字入力画面に対して文字が入力されると、単語抽出部256、候補単語決定部258および候補文字列出力部260は、属性情報が付与されている単語と、付与されていない単語を、マージして、候補文字列200Cとして出力する。
As described above, when a character is input on the character input screen, the
なお、以上説明した候補の抽出方法では、辞書270が、複数の辞書(辞書Aと辞書B)により構成されている例について説明したが、このように複数の辞書に分割されていない場合でも同様の処理が可能である。
In the candidate extraction method described above, the example in which the
このように、マージして候補を出すことは、属性情報を考慮して抽出した候補に曖昧性がある場合に効果がある。 Thus, merging and generating candidates is effective when candidates extracted in consideration of attribute information are ambiguous.
過去に入力したことのない文字列を入力する場合や、新たなWebコンテンツでの入力フォームに対する入力において、属性情報を考慮して抽出した候補が間違っている場合、従来例のように入力フォームに候補を埋め込んだ形で提示する方法では、ユーザは、間違って提示された文字列を消去し、新たに文字を入力しなおさなければならない。 When a character string that has not been input in the past is input, or when the candidate extracted in consideration of attribute information is incorrect in input to an input form with new Web content, the input form is displayed as in the conventional example. In the method of presenting the candidate in an embedded form, the user must erase the character string that has been erroneously presented and enter a new character.
本実施の形態によれば、属性情報のみから提示された候補が間違っていた場合、入力された文字に基づく候補抽出に、スムーズに移行できる。このように、属性情報が付与されているいないにかかわらず、辞書270全体からの予測を利用することができる。これにより、文字を入力する際にいつでも入力支援を受けることができる。従来例のように、候補を一つに絞り、入力フォームに強制的に埋め込む方法よりも、候補の一つとして提示する方が、より利便性が高いといえる。
According to the present embodiment, when the candidate presented only from the attribute information is incorrect, it is possible to smoothly shift to candidate extraction based on the input characters. In this way, prediction from the
また、複数の人が同じ端末で同じコンテンツを閲覧するなどにより、ある属性情報に対して複数の候補が存在することも考えられる。さらに、新規の属性情報が入力された場合は、類似する属性情報から候補を抽出するため、候補が複数存在することも考えられる。このような場合にも、従来例のように入力フォームにいずれか一つを強制的に埋め込む方法では、適切でない候補を埋め込む可能性がある。本実施の形態のように、文字入力装置200が複数の候補を提示することができれば、ユーザは、その中から適切な候補を選択することができる。また、複数の候補が提示された状態で、文字を入力することによって、候補を絞り込むことも可能である。したがって、候補がたくさん存在する場合でも、ユーザはより少ない文字入力操作によって、候補を選択することができる。
In addition, there may be a plurality of candidates for certain attribute information, for example, when a plurality of people browse the same content on the same terminal. Furthermore, when new attribute information is input, candidates are extracted from similar attribute information, so that there may be a plurality of candidates. Even in such a case, the method of forcibly embedding any one in the input form as in the conventional example may embed an inappropriate candidate. If the
(予測機能について)
或るWebコンテンツを一度閲覧し、再度当該Webコンテンツを閲覧したときに、ユーザが文字の入力対象として「姓」という入力フォーム(入力欄)を指定したときの、文字入力装置200における予測機能について説明する。
(About prediction function)
Prediction function in
再度の閲覧によって入力フォームが表示され、当該表示された入力フォームが指定されると、当該指定に応じて文字入力装置200が起動される。
When the input form is displayed by browsing again and the displayed input form is designated, the
文字入力装置200では、前回のWebコンテンツの閲覧の際に、入力文字列200Dの出力に基づいて、「姓」という入力フォームに付随する属性情報(たとえば、name属性の値”sei”)が取得され、辞書270に、当該属性情報に関連付けて入力文字列200Dに対応する表記が登録されるように、辞書270が更新されている。
In the
そして、Webコンテンツ閲覧装置100は、今回の閲覧の際に、「姓」という入力フォームが指定されると、文字入力装置200を起動させる。
The Web
これに応じて、文字入力装置200では、単語抽出部256は、当該入力フォームに対応する属性情報として、”sei“を取得する。そして、辞書270において、当該取得された属性情報に関連づけられた「田中」という単語を抽出する。抽出された単語(表記)は、候補単語決定部258および候補文字列出力部260を介して、候補文字列200Cとしてモニタ770に出力される。
In response to this, in the
これにより、モニタ770は、出力された候補文字列200Cを、たとえば図10に示した文字入力画面910Aの表示欄912に表示させて、提示する。
As a result, the
ユーザは、提示された予測候補(候補文字列200C)の中から文字列を選択することによって、一文字も入力することなく、入力フォームに目的の文字列を入力することができる。 By selecting a character string from the presented prediction candidates (candidate character string 200C), the user can input a target character string in the input form without inputting any single character.
なお、リモコン700Aに対する操作により、提示された予測候補の中から文字列が選択されると、選択候補200Bとして入力部250に入力される。このとき、表示欄911には選択候補200Bが表示され、現在の入力文字列は選択候補200Bと一致している。その状態でさらに、入力部250が、文字入力操作情報200Aのうちの一つである、入力完了操作情報を受け付けると、入力フォームへの入力文字列が決定されたとし、現在の入力文字列(選択候補200B)を入力文字列出力部262に出力する。
When a character string is selected from the presented prediction candidates by an operation on the
また、リモコン700Aに対する操作により、提示された予測候補の中から文字列が選択されると、入力部250は、候補文字列200Cから、当該操作により特定される文字列を入力文字列200Dとして決定して、当該文字列を入力文字列出力部262に出力するでもよい。
When a character string is selected from the presented prediction candidates by operating the
Webコンテンツ閲覧装置100において、過去に閲覧されたのとは異なるWebコンテンツが閲覧されたときでも、当該異なるWebコンテンツにおいて指定された入力フォームに対応して取得された属性情報が”sei”であれば、同様に「田中」という単語を、文字入力装置200の起動時に、文字入力装置200に対する文字の入力を必要とすることなく、候補として提示することが可能である。これによって、過去の履歴を活用することが可能である。
Even when the Web
ここで、ユーザが、文字入力装置200に対して文字を入力していない状態で、候補として提示された「田中」という文字列について、当該文字列を、入力フォームに対して入力することを希望しない場合、つまり、当該入力フォームについて別の文字列を入力することを希望する場合には、ユーザは、予測された候補を選択することなく、入力を希望する文字列の読みを入力すれば良い。この場合、ユーザは、予測された候補を削除する操作を必要とされない。
Here, for the character string “Tanaka” presented as a candidate in a state where the user has not input characters to the
これにより、図11の文字入力画面910Bに示されるように、入力された文字の読みは、表示欄911に表示される。このように入力された読みを表す文字は、候補文字列200Cとは別に、モニタ770に送られる。これにより、モニタ770では、図10の文字入力画面910Aの表示欄911の表示内容が、図11の文字入力画面910Bの表示欄911に更新される。
Thereby, as shown in the
図11の文字入力画面910Bの表示欄911に示されるように、読みとして入力された最初の一文字が「た」ではない場合、図10の文字入力画面910Aの表示欄911に示されていた「田中」は、図11の文字入力画面910Bの表示欄911には表示されなくなる。代わりに、入力された読み「な」に対応して抽出された別の候補が、表示欄911に表示される。
As shown in the
これによって、提示された予測候補がユーザの所望する単語(文字列)と異なる場合、スムーズに目的の文字列を入力する操作に移行することができる。また、文字を入力することによって、新たに予測候補の提示を得ることができるので、効率的に文字列を入力することが可能である。 As a result, when the presented prediction candidate is different from the word (character string) desired by the user, the operation can smoothly shift to an operation of inputting the target character string. Moreover, since a prediction candidate can be newly presented by inputting characters, it is possible to efficiently input a character string.
(文字列の候補の表示における優先順位)
単語抽出部256で単語が抽出されると、候補単語決定部258で、候補として抽出された単語の優先順位が設定される。そして、候補単語決定部258は、単語抽出部256が抽出した単語の中から、優先順位に従って、表示欄911に表示できる候補の数を基に、表示する候補を決定し、候補文字列出力部260に出力する。候補の優先順位は、入力フォームに対応する属性情報と、属性情報が一致もしくは類似する単語は、属性情報が付与されていない単語よりも優先順位を高くするように、設定される。たとえば、優先度が高い順から、属性情報が一致する単語、類似する単語、カテゴリが一致する単語、属性情報が付与されていない単語もしくは属性情報が一致しない単語、の順に優先度が設定され、候補の提示順序が決定される。
(Priority in displaying candidate strings)
When the
(入力フォームの属性情報の取得について)
本実施の形態では、Webコンテンツを閲覧する装置およびソフトにおいて、図5に示すようなHTMLフォームが解析され、入力フォームに付随する属性情報が取得され、入力フォームへの文字入力の指示があった場合に、文字入力装置200を起動し、当該文字入力装置200に、入力データとして属性情報を渡す。
(About obtaining attribute information of input form)
In the present embodiment, an HTML form as shown in FIG. 5 is analyzed in the device and software for browsing Web contents, attribute information associated with the input form is acquired, and there is an instruction for character input to the input form. In this case, the
なお、文字入力装置200が取得する属性情報は、Webコンテンツ閲覧装置100によって取得され、文字入力装置200に送信される代わりに、文字入力装置200自身が行なっても良いし、他の装置が行なっても良い。文字入力装置200が属性情報を直接取得する場合には、たとえば、Webコンテンツ閲覧装置100は、HTMLフォームの中の入力フォームに対応する部分の記述を文字入力装置200に送り、この中から、文字入力装置200は、当該記述の中の、入力フォームを定義するタグを検出し、そのタグに含まれる属性情報を、入力フォームに付随する属性情報として取得する。
The attribute information acquired by the
たとえば、図5のHTMLフォームの中の記述501であれば、文字入力装置200は、<input>タグを検出し、その属性情報のうち、name属性の値を抽出する。
For example, in the case of the description 501 in the HTML form of FIG. 5, the
なお、入力フォームへの文字入力の指示があった場合に、指定された入力フォームに付随する属性情報を文字入力装置200に入力情報として渡せる形態が望ましい。
It is desirable that the attribute information associated with the designated input form can be passed to the
(入力文字列の出力のための処理の流れ)
ここで、文字入力装置200が起動されてから当該文字入力装置200において実行される、入力文字列200Dを出力するまでの処理の流れを、当該処理のフローチャートである図12を参照して説明する。
(Processing flow for output of input string)
Here, the flow of processing from the start of the
図12を参照して、文字入力装置200が起動されると、まずステップS01で、入力部250に入力があるかどうかを判断し、入力があればステップS02に処理が進められる。
Referring to FIG. 12, when
次にステップS02では、入力部250に入力されたデータが、文字入力かどうかを判断する。文字入力の場合、ステップS03以降の処理に進む。
In step S02, it is determined whether the data input to the
ここで、文字入力とは、読みを表す文字の入力を意味し、図6に示された文字入力画面910に従えば、リモコン700Aにおいて、数字キー701が操作されることにより文字入力がなされ、それ以外のキーがなされたときには、文字入力以外の文字入力操作がなされたと判断される。
Here, the character input means an input of a character representing reading. According to the
文字入力装置200では、当該文字入力装置200に対して入力される文字が一文字増えると、表示欄911に表示される、確定前の文字列が存在する場合は文字列の末尾に入力された文字を追加されて、辞書探索用文字列とされる。そして、単語抽出部256は、当該辞書探索用文字列と読みが前方一致する単語が辞書270にあるかどうかを探索する。一方、確定前の文字列が存在しなかった状態で文字入力がされた場合は、単語抽出部256は、その時点で入力された文字をそのまま辞書探索用文字列とし、読みが前方一致する単語があるかどうかを辞書から探索する。このようにして、一文字入力されるたびに辞書探索用文字列とされる文字列が増やされて、辞書270が探索され、表示欄912に表示される候補が更新される。なお、探索用文字列となる文字列の更新に応じて、表示欄911に表示される文字列も更新される。
In the
ステップS03では、単語抽出部256は、入力する入力フォームに付随する属性情報を取得している場合は、取得した属性情報と、取得した属性情報から推定されたカテゴリ情報をもとに、辞書を参照し、属性情報が一致もしくは類似する単語やカテゴリ情報が一致する単語から、辞書探索用文字列と読みが前方一致する単語を抽出する。入力する入力フォームに付随する属性情報を取得していない場合は、何もしない。
In step S03, if the
ステップS04では、属性情報を利用せずに、辞書270全体から辞書探索用文字列と読みが前方一致する単語を抽出する。属性情報が一致もしくは類似するしないにかかわらず、また、属性情報が付与されているいないにかかわらず、単語を抽出する。
In step S04, a word whose reading matches the dictionary search character string is extracted from the
ステップS05では、候補単語決定部258は、出力する候補単語を決定し、順位を決定する。ステップS03で抽出された単語は、ステップS04で抽出された単語よりも優先順位を高くする。また、優先順位は、その他の態様で決定されても良い。その他の態様では、たとえば、最近利用した単語ほど優先順位を高くしてもよいし、頻度の高い単語ほど優先順位を高くしてもよいし、五十音順に並べてもよい。単語毎の頻度情報、最新利用情報等は、辞書270に格納されているとする。
In step S05, the candidate
ステップS06で、候補文字列出力部260は、ステップS04またはステップS10で抽出された候補の中で、優先順位の高いものから表示可能な数だけを、候補文字列200Cとして出力する。これに応じて、モニタ770における文字入力画面の表示が更新される。その後、ステップS01へ処理が戻される。
In step S06, the candidate character
一方、ステップS02で、入力データが、文字入力でない場合、処理はステップS07に進められる。ステップS07では、文字入力装置200によって、当該文字入力装置200の起動時かどうかを判断する。起動時とは、Webコンテンツ閲覧装置100において文字入力機能が呼び出された時、もしくは、ある任意の入力フォームに入力を行なうことを指定した時を含む。文字入力装置200の起動時であると判断されると、ステップS08以降に処理が進められる。
On the other hand, if the input data is not a character input in step S02, the process proceeds to step S07. In step S07, the
ステップS08で、単語抽出部256が、処理対象となっている入力フォームに付随する属性情報を取得する。
In step S08, the
属性情報の取得の際に、文字入力装置200で、HTMLフォームデータを解析し、属性情報を検出する場合は、単語抽出部256は、HTMLフォームデータを取得し、指定された入力フォームに付随する属性情報を検出する。
When the attribute information is acquired, the
属性情報が取得されると、ステップS09で、カテゴリ推定部254は、カテゴリを推定する。ステップS08で属性情報が取得できなかった場合、処理がステップS01へ戻される。
When the attribute information is acquired, the
ステップS08で取得された属性情報は、文字入力装置にて入力完了まで記憶しておき、文字が入力されて辞書探索を行なう際(S03)と、辞書更新を行なう際(S11)に、利用される。 The attribute information acquired in step S08 is stored until the input is completed by the character input device, and is used when searching the dictionary by inputting characters (S03) and updating the dictionary (S11). The
ステップS09では、先に述べた方法で、属性情報のカテゴリの推定が行なわれる。
ステップS10では、属性情報が一致もしくは類似する単語や、カテゴリ情報が一致する単語が抽出され、ステップS05へ処理が進められる。
In step S09, the category of attribute information is estimated by the method described above.
In step S10, words with matching or similar attribute information and words with matching category information are extracted, and the process proceeds to step S05.
ステップS10に処理が進められるときは、文字入力装置200の起動時であるので、文字入力装置200に対して、数字キー701の操作等による文字入力はされていないため、読みの前方一致の確認は不要である。
Since the process proceeds to step S10 when the
一方、ステップS07において起動時ではないと判断された場合とは、文字入力以外の文字入力操作情報200Aか、提示した候補がユーザによって選択された場合の候補選択情報のいずれかが入力された場合である。
On the other hand, when it is determined that it is not at the time of activation in step S07, the case where either character
文字入力以外の文字入力操作とは、漢字変換、入力完了などが考えられる。入力された文字入力操作に基づき、文字入力画面910等における表示欄911入力枠の表示を更新する。
Character input operations other than character input include Kanji conversion and input completion. Based on the input character input operation, the display of the
ステップS11では、入力部250への入力データが、表示欄911に表示された文字列を入力文字列200Dとして確定させるためのデータであるか否かを判断し、そうではないと判断されるとステップS01へ処理が戻される。一方、確定させるためのデータであると判断されると、ステップS12へ処理が進められる。
In step S11, it is determined whether or not the input data to the
ステップS12では、辞書更新部252が、入力文字列200Dとして確定された文字列の読みと表記を辞書270に登録するように、辞書270を更新する。なお、この時点では、辞書270へは、表記だけの登録でもよい。起動時に属性情報が取得できている場合は、属性情報とともに登録する。すでに登録されている場合は、頻度情報、最新利用情報等の情報を更新する。
In step S12, the
そして、ステップS13に進み、入力文字列をWebコンテンツ閲覧装置100へと出力した後、処理を終了させる。
In step S13, the input character string is output to the web
[考えられる変形例等]
以上説明した本実施の形態では、入力部250により、情報の入力を受付ける入力手段が構成されている。
[Conceivable variations, etc.]
In the present embodiment described above, the
なお、文字入力装置200に対して情報を入力するリモコン700Aは、文字入力装置200(コンピュータ750)に対して離間して設けられているが、情報を入力する装置は、文字入力装置200と一体的に設けられていても良い。
The
以上説明した本実施の形態では、辞書270を記憶するハードディスク762等により、文字列を属性情報およびカテゴリ情報に対応付けて記憶する第1の記憶手段が構成される。
In the present embodiment described above, the
また、本実施の形態では、入力対象となっている入力欄の入力フォームから属性情報を取得し、当該属性情報に対応した単語(表記)を辞書270から抽出する単語抽出部256により、入力フォームの属性情報に対応して第1の記憶手段に記憶されている文字列を抽出する第1の抽出手段が構成されている。
In the present embodiment, the input form is acquired by the
なお、第1の抽出手段は、抽出した属性情報に一部一致する等により、当該属性情報に類似する属性情報に対応した単語を、同時に抽出しても良い。 Note that the first extracting means may simultaneously extract words corresponding to attribute information similar to the attribute information, for example, by partially matching the extracted attribute information.
また、本実施の形態では、上記のように入力フォームから属性情報を取得し、カテゴリ推定部254により、入力フォームの属性情報に対応するカテゴリ情報を推定する推定手段が構成されている。
In the present embodiment, as described above, the attribute information is acquired from the input form, and the
また、本実施の形態では、推定されたカテゴリ情報に基づいて辞書270から単語(表記)を抽出する単語抽出部256により、推定手段が推定したカテゴリ情報に対応して第1の記憶手段に記憶されている文字列を抽出する第2の抽出手段が構成されている。
In the present embodiment, the
また、本実施の形態では、単語抽出部256から抽出結果として出力された単語から候補文字列200Cとして出力する単語を決定する候補単語決定部258により、第1の抽出手段および第2の抽出手段が抽出した文字列を、入力フォームに入力する文字列の候補として設定する候補設定手段が構成されている。
In the present embodiment, the
そして、ユーザの操作によって決定された文字列を入力文字列200DとしてWebコンテンツ閲覧装置100に出力する入力文字列出力部262により、入力手段に対する入力に応じて、候補設定手段が設定した文字列の中から決定された文字列を、入力フォームに入力する文字列として出力する出力手段が構成されている。
Then, the input character
今回開示された実施の形態はすべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は上記した説明ではなくて特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。 The embodiment disclosed this time should be considered as illustrative in all points and not restrictive. The scope of the present invention is defined by the terms of the claims, rather than the description above, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.
100 コンテンツ閲覧装置、101 Webコンテンツ、102 入力フォーム情報、200 文字入力装置、200A 文字入力操作情報、200B 選択候補、200C 候補文字列、200D 入力文字列、250 入力部、252 辞書更新部、254 カテゴリ推定部、256 単語抽出部、258 候補単語決定部、260 候補文字列出力部、262 入力文字列出力部、270 辞書、400 画面、401,402,411,412,421,422,431,432,444,442,461,471,481,482,483,491 入力欄、501,502,511,512,521,522,531,532,541,542,561,571,581,582,583,591 記述、700 コンピュータシステム、700A リモコン、701 数字キー、710 決定キー、711 上キー、712 下キー、713 左キー、714 右キー、721〜724 機能キー、750 コンピュータ、751 光ディスクドライブ、752 磁気ディスクドライブ、753 入力装置、757 バス、760 光ディスク、761 磁気ディスク、762 ハードディスク、770 モニタ、780 情報処理装置、781 記憶装置、785 キー入力部、786 信号発生装置、786 信号発信装置、910,910A,910B 文字入力画面、911〜915 表示欄。 100 content browsing device, 101 Web content, 102 input form information, 200 character input device, 200A character input operation information, 200B selection candidate, 200C candidate character string, 200D input character string, 250 input unit, 252 dictionary update unit, 254 category Estimating unit, 256 word extracting unit, 258 candidate word determining unit, 260 candidate character string output unit, 262 input character string output unit, 270 dictionary, 400 screen, 401, 402, 411, 412, 421, 422, 431, 432 444, 442, 461, 471, 481, 482, 483, 491 input field, 501, 502, 511, 512, 521, 522, 531, 532, 541, 542, 561, 571, 581, 582, 583, 591 description 700 computer system 7 00A remote controller, 701 numeric keys, 710 enter key, 711 up key, 712 down key, 713 left key, 714 right key, 721-724 function keys, 750 computer, 751 optical disk drive, 752 magnetic disk drive, 753 input device, 757 Bus, 760 Optical disk, 761 Magnetic disk, 762 Hard disk, 770 Monitor, 780 Information processing device, 781 Storage device, 785 Key input unit, 786 Signal generation device, 786 Signal transmission device, 910, 910A, 910B Character input screen, 911 915 Display column.
Claims (12)
情報の入力を受付ける入力手段と、
文字列を属性情報およびカテゴリ情報の少なくとも一方に対応付けて記憶する第1の記憶手段と、
前記入力フォームの属性情報に対応して前記第1の記憶手段に記憶されている文字列を抽出する第1の抽出手段と、
前記入力フォームの属性情報に対応するカテゴリ情報を推定する推定手段と、
前記推定手段が推定したカテゴリ情報に対応して前記第1の記憶手段に記憶されている文字列を抽出する第2の抽出手段と、
前記第1の抽出手段および前記第2の抽出手段が抽出した文字列を、前記入力フォームに入力する文字列の候補として設定する候補設定手段と、
前記入力手段に対する入力に応じて、前記候補設定手段が設定した文字列の中から選択された文字列を、前記入力フォームに入力する文字列として出力する出力手段とを備える、文字入力装置。 For content including an input form corresponding to attribute information, a character input device for inputting a character string to be input to the input form,
An input means for accepting input of information;
First storage means for storing a character string in association with at least one of attribute information and category information;
First extraction means for extracting a character string stored in the first storage means corresponding to the attribute information of the input form;
Estimating means for estimating category information corresponding to attribute information of the input form;
Second extraction means for extracting a character string stored in the first storage means corresponding to the category information estimated by the estimation means;
Candidate setting means for setting the character strings extracted by the first extraction means and the second extraction means as candidates for character strings to be input to the input form;
A character input device comprising: an output unit that outputs a character string selected from the character strings set by the candidate setting unit as a character string to be input to the input form in response to an input to the input unit.
属性情報とカテゴリ情報を関連付ける関連情報を記憶する第2の記憶手段と、
前記第2の記憶手段において、前記コンテンツの前記入力フォームに対応する前記属性情報に関連付けられているカテゴリ情報を推定結果として決定する決定手段とを含む、請求項1に記載の文字入力装置。 The estimation means includes
Second storage means for storing related information for associating attribute information with category information;
2. The character input device according to claim 1, further comprising: a determination unit configured to determine, as an estimation result, category information associated with the attribute information corresponding to the input form of the content in the second storage unit.
前記文字列を、さらに当該文字列の読み仮名に対応付け、
前記属性情報およびカテゴリ情報に対応付けられず、読み仮名に対応付けられる文字列を、さらに含み、
前記第1の抽出手段は、前記入力手段に入力された読み仮名に基づいて、前記第1の記憶手段から文字列を抽出する、請求項1または請求項2に記載の文字入力装置。 The first storage means is
The character string is further associated with the reading kana of the character string,
A character string that is not associated with the attribute information and the category information but is associated with the reading name;
3. The character input device according to claim 1, wherein the first extraction unit extracts a character string from the first storage unit based on a reading pseudonym input to the input unit.
前記決定手段は、前記第2の記憶手段において、前記コンテンツの前記入力フォームに対応する前記属性情報の少なくとも一部と一致する属性情報に関連付けられているカテゴリ情報を、推定結果として決定する、請求項2に記載の文字入力装置。 The second storage means specifies the attribute information with a character string,
The determination unit determines, as an estimation result, category information associated with attribute information that matches at least a part of the attribute information corresponding to the input form of the content in the second storage unit. Item 3. The character input device according to Item 2.
前記更新手段は、前記第1の記憶手段において、前記出力手段が出力する文字列が、前記入力フォームに対応した属性情報に対応するカテゴリ情報に対応して記憶されるように、前記第1の記憶手段を更新する、請求項6に記載の文字入力装置。 The estimation means estimates a plurality of category information corresponding to the attribute information of the content,
In the first storage unit, the update unit stores the character string output by the output unit in correspondence with category information corresponding to attribute information corresponding to the input form. The character input device according to claim 6, wherein the storage means is updated.
文字列を属性情報およびカテゴリ情報に対応付けて第1の記憶手段に記憶するステップと、
前記入力フォームに対応する属性情報を抽出するステップと、
前記抽出した属性情報に対応して前記第1の記憶手段に記憶されている文字列を抽出するステップと、
前記抽出した属性情報に対応するカテゴリ情報を推定するステップと、
前記推定したカテゴリ情報に対応して前記第1の記憶手段において記憶されている文字列を抽出するステップと、
前記属性情報および前記カテゴリ情報に基づいて抽出した文字列を、前記入力フォームに入力する文字列の候補として設定するステップと、
前記候補として設定した文字列を、前記入力フォームに入力する文字列として出力するステップとを備える、文字入力方法。 A character input method that is executed in a character input device that includes first storage means for storing a character string and that inputs characters into an input form in content displayed on a display device,
Storing the character string in the first storage means in association with the attribute information and the category information;
Extracting attribute information corresponding to the input form;
Extracting a character string stored in the first storage means corresponding to the extracted attribute information;
Estimating category information corresponding to the extracted attribute information;
Extracting a character string stored in the first storage means corresponding to the estimated category information;
Setting a character string extracted based on the attribute information and the category information as a character string candidate to be input to the input form;
Outputting a character string set as the candidate as a character string to be input to the input form.
前記文字入力装置に、
文字列を属性情報およびカテゴリ情報に対応付けて第1の記憶手段に記憶するステップと、
前記入力フォームに対応する属性情報を抽出するステップと、
前記抽出した属性情報に対応して前記第1の記憶手段に記憶されている文字列を抽出するステップと、
前記抽出した属性情報に対応するカテゴリ情報を推定するステップと、
前記推定したカテゴリ情報に対応して前記第1の記憶手段において記憶されている文字列を抽出するステップと、
前記属性情報および前記カテゴリ情報に基づいて抽出した文字列を、前記入力フォームに入力する文字列の候補として設定するステップと、
前記候補として設定した文字列を、前記入力フォームに入力する文字列として出力するステップとを実行させる、プログラム。 A computer-readable program comprising a first storage means for storing a character string and executed in a character input device for inputting characters into an input form in content displayed on a display device,
In the character input device,
Storing the character string in the first storage means in association with the attribute information and the category information;
Extracting attribute information corresponding to the input form;
Extracting a character string stored in the first storage means corresponding to the extracted attribute information;
Estimating category information corresponding to the extracted attribute information;
Extracting a character string stored in the first storage means corresponding to the estimated category information;
Setting a character string extracted based on the attribute information and the category information as a character string candidate to be input to the input form;
And a step of outputting a character string set as the candidate as a character string to be input to the input form.
前記プログラムは、前記文字入力装置に、
文字列を属性情報およびカテゴリ情報に対応付けて第1の記憶手段に記憶するステップと、
前記入力フォームに対応する属性情報を抽出するステップと、
前記抽出した属性情報に対応して前記第1の記憶手段に記憶されている文字列を抽出するステップと、
前記抽出した属性情報に対応するカテゴリ情報を推定するステップと、
前記推定したカテゴリ情報に対応して前記第1の記憶手段において記憶されている文字列を抽出するステップと、
前記属性情報および前記カテゴリ情報に基づいて抽出した文字列を、前記入力フォームに入力する文字列の候補として設定するステップと、
前記候補として設定した文字列を、前記入力フォームに入力する文字列として出力するステップとを実行させる、記録媒体。 A recording medium for recording a computer-readable program, which includes a first storage unit for storing a character string and is executed in a character input device that inputs characters into an input form in content displayed on a display device,
The program is stored in the character input device.
Storing the character string in the first storage means in association with the attribute information and the category information;
Extracting attribute information corresponding to the input form;
Extracting a character string stored in the first storage means corresponding to the extracted attribute information;
Estimating category information corresponding to the extracted attribute information;
Extracting a character string stored in the first storage means corresponding to the estimated category information;
Setting a character string extracted based on the attribute information and the category information as a character string candidate to be input to the input form;
And a step of outputting a character string set as the candidate as a character string to be input to the input form.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009109516A JP2010257392A (en) | 2009-04-28 | 2009-04-28 | Device and method for inputting character, computer readable program, and recording medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009109516A JP2010257392A (en) | 2009-04-28 | 2009-04-28 | Device and method for inputting character, computer readable program, and recording medium |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2010257392A true JP2010257392A (en) | 2010-11-11 |
Family
ID=43318194
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009109516A Withdrawn JP2010257392A (en) | 2009-04-28 | 2009-04-28 | Device and method for inputting character, computer readable program, and recording medium |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2010257392A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013254259A (en) * | 2012-06-05 | 2013-12-19 | Sharp Corp | Chinese character conversion device |
JP2014182537A (en) * | 2013-03-19 | 2014-09-29 | Casio Comput Co Ltd | Conversion candidate display device and conversion candidate display method |
JP2015146129A (en) * | 2014-02-03 | 2015-08-13 | ヤフー株式会社 | Information providing device, information providing system, information providing program, and information providing method |
JP2016066336A (en) * | 2014-09-16 | 2016-04-28 | バイドゥ オンライン ネットワーク テクノロジー(ペキン) カンパニー リミテッド | Method and apparatus for ranking candidate characters, and method and device for inputting characters |
CN104090669B (en) * | 2014-07-16 | 2017-03-01 | 三星电子(中国)研发中心 | Input method edit methods and device |
CN111103986A (en) * | 2018-10-26 | 2020-05-05 | 北京搜狗科技发展有限公司 | User word stock management method and device and input method and device |
WO2020234920A1 (en) * | 2019-05-17 | 2020-11-26 | 株式会社マネーフォワード | Information processing device and program |
-
2009
- 2009-04-28 JP JP2009109516A patent/JP2010257392A/en not_active Withdrawn
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013254259A (en) * | 2012-06-05 | 2013-12-19 | Sharp Corp | Chinese character conversion device |
JP2014182537A (en) * | 2013-03-19 | 2014-09-29 | Casio Comput Co Ltd | Conversion candidate display device and conversion candidate display method |
JP2015146129A (en) * | 2014-02-03 | 2015-08-13 | ヤフー株式会社 | Information providing device, information providing system, information providing program, and information providing method |
CN104090669B (en) * | 2014-07-16 | 2017-03-01 | 三星电子(中国)研发中心 | Input method edit methods and device |
JP2016066336A (en) * | 2014-09-16 | 2016-04-28 | バイドゥ オンライン ネットワーク テクノロジー(ペキン) カンパニー リミテッド | Method and apparatus for ranking candidate characters, and method and device for inputting characters |
CN111103986A (en) * | 2018-10-26 | 2020-05-05 | 北京搜狗科技发展有限公司 | User word stock management method and device and input method and device |
CN111103986B (en) * | 2018-10-26 | 2023-11-14 | 北京搜狗科技发展有限公司 | User word stock management method and device, and user word stock input method and device |
WO2020234920A1 (en) * | 2019-05-17 | 2020-11-26 | 株式会社マネーフォワード | Information processing device and program |
JPWO2020234920A1 (en) * | 2019-05-17 | 2021-12-09 | 株式会社マネーフォワード | Information processing equipment and programs |
JP7161613B2 (en) | 2019-05-17 | 2022-10-26 | 株式会社マネーフォワード | Information processing device and program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8442970B2 (en) | Creating and editing user search queries | |
US9104244B2 (en) | All-in-one Chinese character input method | |
US7703037B2 (en) | Searchable task-based interface to control panel functionality | |
US10929603B2 (en) | Context-based text auto completion | |
JP4483238B2 (en) | Mobile terminal, mobile terminal function calling method and program thereof | |
CN101286118A (en) | Method for quick calling program instruction, system and an input method system | |
JP2010257392A (en) | Device and method for inputting character, computer readable program, and recording medium | |
US20110022635A1 (en) | Method and System to Formulate Queries With Minivisuals | |
JP2022069790A (en) | Information processor, information processing method, and program | |
US20020007382A1 (en) | Computer having character input function,method of carrying out process depending on input characters, and storage medium | |
KR100310716B1 (en) | A method for sharing data among a plurality of applications in a hand-held device | |
JP5271526B2 (en) | Trademark search system and trademark search server | |
JP4251000B2 (en) | Kana-kanji conversion device, kana-kanji conversion method, and kana-kanji conversion program | |
JP5532936B2 (en) | Electronic device and information display program | |
JP2008117310A (en) | Dictionary retrieval device and dictionary retrieval processing program | |
JP6048601B2 (en) | Information display device, program, and word information display method | |
JP2008059169A (en) | Chinese example sentence retrieval apparatus and program for process of retrieving chinese example sentence | |
JP3498635B2 (en) | Information retrieval method and apparatus, and computer-readable recording medium | |
JP2005327023A (en) | Retrieval system of full-text search using hit number expectancy | |
JP4847210B2 (en) | Input conversion learning program, input conversion learning method, and input conversion learning device | |
JP2013175136A (en) | Tracing support device, tracing support system, tracing support method, and tracing support program | |
JP2831837B2 (en) | Document search device | |
JP2010211530A (en) | Information retrieval terminal equipment, system, method, and program | |
JP2005267468A (en) | Information search apparatus | |
JP2001067375A (en) | Name retrieval device, keyboard and recording medium recording name retrieval program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20120703 |