JP5478976B2 - Spelling input device and program - Google Patents
Spelling input device and program Download PDFInfo
- Publication number
- JP5478976B2 JP5478976B2 JP2009181576A JP2009181576A JP5478976B2 JP 5478976 B2 JP5478976 B2 JP 5478976B2 JP 2009181576 A JP2009181576 A JP 2009181576A JP 2009181576 A JP2009181576 A JP 2009181576A JP 5478976 B2 JP5478976 B2 JP 5478976B2
- Authority
- JP
- Japan
- Prior art keywords
- character
- arrangement
- character string
- string
- input
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000012217 deletion Methods 0.000 claims description 18
- 230000037430 deletion Effects 0.000 claims description 18
- 238000013500 data storage Methods 0.000 claims description 9
- 238000000034 method Methods 0.000 description 14
- 230000006870 function Effects 0.000 description 9
- 230000000694 effects Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 4
- 229920001690 polydopamine Polymers 0.000 description 3
- 238000003491 array Methods 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
Images
Description
この発明は、綴り入力装置及び方法に関する。 The present invention relates to a spelling input device and method.
従来、例えば特許文献1に開示されるように、タッチパネル対応ディスプレイにおいて、設問をユーザ画面に表示し、該設問に対する解答文字列の各文字についてユーザ入力を受け付けて、解答文字列を完成させるゲーム端末が知られている。また、本公報には、解答文字列を入力するための綴り入力手段として、解答文字列を構成するすべての文字を表示したソフトウェアキーボード(例えば、アルファベット26文字の文字ボタンが整列されている。)を用いることが開示されている。
Conventionally, as disclosed in, for example,
近年、iPhone(登録商標)やPDA等のタッチパネル対応ディスプレイを有する携帯機器が普及している。これらの携帯機器の画面サイズはPCなどに比べて狭い。そのため、上記従来の綴り入力手段のように、解答文字列を構成するすべての文字を表示したソフトウェアキーボードを用いることとすれば、文字ボタンの表示サイズが小さくならざるを得ず、綴り入力の操作性が悪化するという課題がある。 In recent years, portable devices having a touch panel compatible display such as iPhone (registered trademark) and PDA have become widespread. The screen size of these portable devices is narrower than that of a PC or the like. Therefore, if the software keyboard displaying all the characters constituting the answer character string is used as in the conventional spelling input means, the display size of the character buttons must be reduced, and the spelling input operation is performed. There is a problem that the sex deteriorates.
この発明は、上述のような課題を解決するためになされたもので、画面サイズが狭い場合であっても、操作性高く綴りを入力できる綴り入力装置及びプログラムを提供することを目的とする。 The present invention has been made to solve the above-described problems, and an object thereof is to provide a spelling input device and a program capable of inputting spelling with high operability even when the screen size is narrow.
第1の発明は、上記の目的を達成するため、綴り入力装置であって、
設問と、該設問に対する解答文字列を記憶するクイズデータ記憶手段と、
前記設問をユーザ画面に表示する設問表示手段と、
配置文字列を記憶する配置文字列記憶手段と、
前記配置文字列の文字数が前記解答文字列の文字数よりも少ない上限格納文字数を越えない範囲で、前記解答文字列に含まれる文字を選択して該配置文字列に加える配置文字列構成手段と、
前記配置文字列の各文字をユーザ画面に表示する配置文字列表示手段と、
前記ユーザ画面に表示された前記配置文字列の各文字について、文字を選択するユーザ入力を受け付けるユーザ入力手段と、
前記ユーザ入力により選択されて入力済となった入力済文字を、前記配置文字列から削除する配置文字削除手段と、を備え、
前記配置文字列構成手段は、
前記解答文字列のうち未だ前記ユーザ入力により選択されていない未入力文字からなる未入力文字列から前記配置文字列に含まれている文字を除いた未配置文字列から文字を選択して前記配置文字列に加えるものであって、
前記配置文字削除手段により前記配置文字列から入力済文字が削除された後、前記未入力文字列の先頭文字が未だ前記配置文字列に含まれていない場合には、該先頭文字を選択して前記配置文字列に加えること、を特徴とする。
In order to achieve the above object, a first invention is a spelling input device,
Quiz data storage means for storing a question and an answer character string for the question;
Question display means for displaying the question on a user screen;
Arrangement character string storage means for storing arrangement character strings;
Arrangement character string constructing means for selecting a character included in the answer character string and adding it to the arrangement character string within a range in which the number of characters of the arrangement character string does not exceed the upper limit number of characters less than the number of characters of the answer character string;
Arrangement character string display means for displaying each character of the arrangement character string on the user screen;
User input means for receiving user input for selecting a character for each character of the arrangement character string displayed on the user screen;
An arrangement character deletion means for deleting the input character selected and input by the user input from the arrangement character string;
The arrangement character string constituting means includes:
The arrangement is performed by selecting a character from a non-arranged character string obtained by removing a character included in the arrangement character string from a non-input character string composed of a non-input character not yet selected by the user input from the answer character string. To add to the string,
After the input character is deleted from the arrangement character string by the arrangement character deletion means, if the first character of the non-input character string is not yet included in the arrangement character string, the first character is selected. Adding to the arrangement character string.
また、第2の発明は、第1の発明において、
前記配置文字列構成手段は、
前記配置文字削除手段により前記配置文字列から入力済文字が削除された後、前記未入力文字列の先頭文字が既に前記配置文字列に含まれている場合には、前記未配置文字列の先頭文字側の文字ほど高い確率で選択して前記配置文字列に加えること、を特徴とする。
The second invention is the first invention, wherein
The arrangement character string constituting means includes :
After the input character is deleted from the arrangement character string by the arrangement character deletion unit, if the first character of the non-input character string is already included in the arrangement character string, the head of the non-arrangement character string Characters on the character side are selected with a higher probability and added to the arrangement character string.
また、第3の発明は、上記の目的を達成するため、綴り入力装置であって、
設問と、該設問に対する解答文字列を記憶するクイズデータ記憶手段と、
前記設問をユーザ画面に表示する設問表示手段と、
配置文字列を記憶する配置文字列記憶手段と、
前記配置文字列の文字数が前記解答文字列の文字数よりも少ない上限格納文字数を越えない範囲で、前記解答文字列に含まれる文字を選択して該配置文字列に加える配置文字列構成手段と、
前記配置文字列の各文字をユーザ画面に表示する配置文字列表示手段と、
前記ユーザ画面に表示された前記配置文字列の各文字について、文字を選択するユーザ入力を受け付けるユーザ入力手段と、
前記ユーザ入力により選択されて入力済となった入力済文字を、前記配置文字列から削除する配置文字削除手段と、を備え、
前記配置文字列構成手段は、
前記解答文字列のうち未だ前記ユーザ入力により選択されていない未入力文字からなる未入力文字列から前記配置文字列に含まれている文字を除いた未配置文字列から文字を選択して前記配置文字列に加えるものであって、
前記配置文字削除手段により前記配置文字列から入力済文字が削除された後、該未配置文字列の先頭文字側の文字ほど高い確率で選択して前記配置文字列に加えること、を特徴とする。
A third invention is a spelling input device for achieving the above object,
Quiz data storage means for storing a question and an answer character string for the question;
Question display means for displaying the question on a user screen;
Arrangement character string storage means for storing arrangement character strings;
Arrangement character string constructing means for selecting a character included in the answer character string and adding it to the arrangement character string within a range in which the number of characters of the arrangement character string does not exceed the upper limit number of characters less than the number of characters of the answer character string;
Arrangement character string display means for displaying each character of the arrangement character string on the user screen;
User input means for receiving user input for selecting a character for each character of the arrangement character string displayed on the user screen;
An arrangement character deletion means for deleting the input character selected and input by the user input from the arrangement character string;
The arrangement character string constituting means includes:
The arrangement is performed by selecting a character from a non-arranged character string obtained by removing a character included in the arrangement character string from a non-input character string composed of a non-input character not yet selected by the user input from the answer character string. To add to the string,
After the input character is deleted from the arrangement character string by the arrangement character deletion means, the character on the first character side of the non-arrangement character string is selected with a higher probability and added to the arrangement character string. .
また、第4の発明は、第1乃至第3の発明において、
前記配置文字列表示手段は、
前記配置文字列構成手段において、前記配置文字削除手段により前記配置文字列から入力済文字が削除された後、前記配置文字列に新たな文字が加えられた場合には、該削除された入力済文字の表示位置に該新たな文字を表示し、他の文字の表示位置は保持すること、を特徴とする。
The fourth invention is the first to third invention,
The arrangement character string display means includes:
Oite Before SL disposed string configuration means after the already input characters from the arrangement string is deleted by the alignment character deletion means, when a new character is added to the arrangement string is the deleted The new character is displayed at the display position of the inputted character, and the display positions of other characters are held.
また、第5の発明は、第1乃至第4の発明において、
前記配置文字列構成手段は、
前記未配置文字列の文字が無い場合には、前記配置文字列の文字数が前記上限格納文字数となるまでダミー文字を含めるダミー文字追加手段、を備えることを特徴とする。
The fifth invention is the first to fourth inventions,
The arrangement character string constituting means includes:
When there is no character in the non-arranged character string, dummy character adding means is included, which includes a dummy character until the number of characters in the arranged character string reaches the upper limit stored character number.
また、第6の発明は、上記の目的を達成するため、綴り入力プログラムであって、
ユーザ画面、記憶部を備えるコンピュータを、
設問と、該設問に対する解答文字列を前記記憶部に記憶するクイズデータ記憶手段と、
前記設問を前記ユーザ画面に表示する設問表示手段と、
配置文字列を前記記憶部に記憶する配置文字列記憶手段と、
前記配置文字列の文字数が前記解答文字列の文字数よりも少ない上限格納文字数を越えない範囲で、前記解答文字列に含まれる文字を選択して該配置文字列に加える配置文字列構成手段と、
前記配置文字列の各文字を前記ユーザ画面に表示する配置文字列表示手段と、
前記ユーザ画面に表示された前記配置文字列の各文字について、文字を選択するユーザ入力を受け付けるユーザ入力手段と、
前記ユーザ入力により選択されて入力済となった入力済文字を、前記配置文字列から削除する配置文字削除手段と、して機能させ、
前記配置文字列構成手段は、
前記解答文字列のうち未だ前記ユーザ入力により選択されていない未入力文字からなる未入力文字列から前記配置文字列に含まれている文字を除いた未配置文字列から文字を選択して前記配置文字列に加えるものであって、
前記配置文字削除手段により前記配置文字列から入力済文字が削除された後、前記未入力文字列の先頭文字が未だ前記配置文字列に含まれていない場合には、該先頭文字を選択して前記配置文字列に加えること、を特徴とする。
A sixth invention is a spelling input program for achieving the above object,
A computer having a user screen and a storage unit,
A quiz data storage means for storing a question and an answer character string for the question in the storage unit;
A question display means for displaying the question to the user screen,
Arrangement character string storage means for storing arrangement character strings in the storage unit;
To the extent that characters of the arrangement string does not exceed the smaller upper limit stored characters than the number of characters of the answer character string, arranged string configuration means for selecting the characters included before Kikai answer string is added to the arrangement string When,
And placed character string display means for displaying each character of the arrangement string in the user screen,
User input means for receiving user input for selecting a character for each character of the arrangement character string displayed on the user screen;
The input character selected and input by the user input is made to function as an arrangement character deleting means for deleting from the arrangement character string ,
The arrangement character string constituting means includes:
The arrangement is performed by selecting a character from a non-arranged character string obtained by removing a character included in the arrangement character string from a non-input character string composed of a non-input character not yet selected by the user input from the answer character string. To add to the string,
After the input character is deleted from the arrangement character string by the arrangement character deletion means, if the first character of the non-input character string is not yet included in the arrangement character string, the first character is selected. Adding to the arrangement character string.
また、第7の発明は、上記の目的を達成するため、綴り入力プログラムであって、
ユーザ画面、記憶部を備えるコンピュータを、
設問と、該設問に対する解答文字列を前記記憶部に記憶するクイズデータ記憶手段と、
前記設問をユーザ画面に表示する設問表示手段と、
配置文字列を前記記憶部に記憶する配置文字列記憶手段と、
前記配置文字列の文字数が前記解答文字列の文字数よりも少ない上限格納文字数を越えない範囲で、前記解答文字列に含まれる文字を選択して該配置文字列に加える配置文字列構成手段と、
前記配置文字列の各文字を前記ユーザ画面に表示する配置文字列表示手段と、
前記ユーザ画面に表示された前記配置文字列の各文字について、文字を選択するユーザ入力を受け付けるユーザ入力手段と、
前記ユーザ入力により選択されて入力済となった入力済文字を、前記配置文字列から削除する配置文字削除手段と、して機能させ、
前記配置文字列構成手段は、
前記解答文字列のうち未だ前記ユーザ入力により選択されていない未入力文字からなる未入力文字列から前記配置文字列に含まれている文字を除いた未配置文字列から文字を選択して前記配置文字列に加えるものであって、
前記配置文字削除手段により前記配置文字列から入力済文字が削除された後、該未配置文字列の先頭文字側の文字ほど高い確率で選択して前記配置文字列に加えること、を特徴とする。
The seventh invention is a spelling input program for achieving the above object,
A computer having a user screen and a storage unit,
A quiz data storage means for storing a question and an answer character string for the question in the storage unit;
A question display means for displaying the question to the user screen,
Arrangement character string storage means for storing arrangement character strings in the storage unit;
To the extent that characters of the arrangement string does not exceed the smaller upper limit stored characters than the number of characters of the answer character string, arranged string configuration means for selecting the characters included before Kikai answer string is added to the arrangement string When,
And placed character string display means for displaying each character of the arrangement string in the user screen,
User input means for receiving user input for selecting a character for each character of the arrangement character string displayed on the user screen;
The input character selected and input by the user input is made to function as an arrangement character deleting means for deleting from the arrangement character string ,
The arrangement character string constituting means includes:
The arrangement is performed by selecting a character from a non-arranged character string obtained by removing a character included in the arrangement character string from a non-input character string composed of a non-input character not yet selected by the user input from the answer character string. To add to the string,
After the input character is deleted from the arrangement character string by the arrangement character deletion means, the character on the first character side of the non-arrangement character string is selected with a higher probability and added to the arrangement character string. .
第1又は第6の発明によれば、未入力文字列の先頭文字が配置文字列に加えられる。そのため、画面サイズが狭くユーザ画面に表示される配置文字列の文字数が解答文字列の文字数よりも少ない場合であっても、正解の文字がユーザ入力可能であることを保障することができる。また、第1、第3、第6、第7の発明によれば、ユーザ画面に表示される配置文字列の上限格納文字数を定める。そのため、画面サイズ等に応じてユーザ入力に好適な文字の表示サイズを確保することができる。そのため、綴り入力が容易となり高い操作性を実現することができる。 According to the first or sixth invention, the first character of the uninput character string is added to the arrangement character string. Therefore, even if the screen size is small and the number of characters in the arranged character string displayed on the user screen is smaller than the number of characters in the answer character string, it can be ensured that the correct character can be input by the user. In addition, according to the first, third, sixth, and seventh inventions, the upper limit storage character number of the arrangement character string displayed on the user screen is determined. Therefore, a character display size suitable for user input can be ensured according to the screen size and the like. Therefore, spelling input becomes easy and high operability can be realized.
第2又は第3又は第7の発明によれば、未配置文字列の先頭文字側にある文字ほど高い確率で配置文字列に加えられる。そのため、画面サイズが狭くユーザ画面に表示される配置文字列の文字数が解答文字列の文字数よりも少ない場合において、早期にユーザ入力される文字ほどユーザ画面に表示され易くなる。そのため、ユーザ画面に表示された文字が長い間残ってユーザ入力の巾を狭め、学習効果やゲーム性を損なうことを防止することができる。また、先頭文字側から順番に表示されることを所定の確率で防ぐこともできる。そのため、ユーザ入力の順序が類推されることを防ぐことができる。 According to the second, third, or seventh invention, the character on the first character side of the non-arranged character string is added to the arranged character string with a higher probability. Therefore, when the screen size is small and the number of characters in the arranged character string displayed on the user screen is smaller than the number of characters in the answer character string, the characters input by the user at an earlier stage are more likely to be displayed on the user screen. Therefore, it is possible to prevent the characters displayed on the user screen from remaining for a long time and narrowing the width of the user input, thereby impairing the learning effect and game performance. It is also possible to prevent the display from the first character side in order with a predetermined probability. Therefore, it is possible to prevent the order of user input from being inferred.
第4の発明によれば、ユーザ入力により入力済となった文字の表示位置に新たな文字を表示し、他の文字の表示位置は保持される。そのため、ユーザは、入力の過程で覚えた文字の表示位置に従ってスムーズに綴り入力をすることができる。 According to the fourth aspect, a new character is displayed at the display position of the character that has been input by the user input, and the display positions of other characters are maintained. Therefore, the user can smoothly input spelling according to the character display position learned in the input process.
第5の発明によれば、未配置文字列の文字が無い場合に、配置文字列にダミー文字を補充することができる。そのため、綴り入力の最後までユーザ入力の選択肢を減らすことなく学習効果やゲーム性を保つことができる。 According to the fifth aspect, dummy characters can be supplemented to the arranged character string when there is no character in the non-arranged character string. Therefore, it is possible to maintain learning effects and game characteristics without reducing user input options until the end of spelling input.
以下、図面を参照して本発明の実施の形態について詳細に説明する。尚、各図において共通する要素には、同一の符号を付して重複する説明を省略する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. In addition, the same code | symbol is attached | subjected to the element which is common in each figure, and the overlapping description is abbreviate | omitted.
実施の形態1.
[クイズシステムの全体構成]
図1は、本発明の実施の形態1に係るクイズシステム1の構成を示すブロック図である。クイズシステム1は、例えば、iPhone(登録商標)やPDA等の携帯機器上においてクイズゲームをユーザにプレイさせるシステムである。クイズとは、クイズシステム1が出題者として問題(1つの設問)を出題して、ユーザが解答するという一連の作業である。ここでは、タイピング形式で文字列を入力して解答させるクイズを想定する。
[Overall configuration of quiz system]
FIG. 1 is a block diagram showing a configuration of a
クイズシステム1は、入力部10、表示部20を備えている。入力部10は、表示部20の表示内容に従ってユーザ入力を受け付けるための入力インタフェースである。表示部20は、クイズの設問や、ユーザが選択する文字ボタンや、ユーザの操作結果を表示するための出力インタフェースである。ここで、入力部10にはタッチパネルが用いられる。また、表示部20は携帯機器に適した小型ディスプレイが用いられる。そして、タッチパネルは小型ディスプレイ上に積層されて配置されタッチパネル対応ディスプレイを構成する。このタッチパネル対応ディスプレイの構成は周知であるため、ここでは、その詳細な説明は省略する。
The
入力部10及び表示部20は、バスを介して処理部30に接続されている。入力部10のタッチパネルは、表示部20の表示内容(具体的には、ユーザが触れたパネルの位置)に応じた入力データを処理部30に送信する。また、処理部30は、入力データなどに応じて表示データを生成し表示部20に送信する。表示部20は、受信した表示データに基づき表示を行う。処理部30は、例えば、1又は複数のCPU(Central Processing Unit)であり、携帯機器の制御中枢として機能する他、後述のフローチャートに示す処理ルーチン等、種々の処理を行う。
The
処理部30は、バスを介して記憶部40に接続されている。記憶部40の記憶領域は、揮発性領域と不揮発性領域に分けられる。不揮発性領域は、記憶内容を書き換え不可能な書き換え不可能領域と、書き換え可能領域とに分けられる。揮発性領域は、例えばRAM(Randam Access Memory)により実現される。書き換え不可能領域は、例えばROM(Read Only Memory)により実現される。書き換え可能領域は、例えばハードディスクやフラッシュメモリにより実現される。揮発性領域及び書き換え可能領域の記憶内容は処理部30からの指示に応じて書き換えられる。処理部30による記憶部40の記憶内容の読み書き処理は周知であるため、ここではその詳細な説明は省略する。
The
不揮発性領域には、ブートプログラムなどが記憶されている。書き換え可能領域には、ブートプログラムを介して起動されるオペレーティングシステム、オペレーティングシステム上で実行される本実施形態のアプリケーション(特定の作業を行うためのプログラム)などが記憶されている。 A boot program or the like is stored in the nonvolatile area. The rewritable area stores an operating system that is started via a boot program, an application (a program for performing a specific work) of the present embodiment that is executed on the operating system, and the like.
揮発性領域は、処理部30の作業領域として機能する。具体的には、ハードディスクやフラッシュメモリに記憶されている本実施形態のアプリケーション等をロードし、実行途中のデータを記憶する。本実施形態のアプリケーションで用いられる、基準インデックスi、変数j、乱数α、選択確率p、入力済文字列、未入力文字列、配置文字列、未配置文字列などが一時的に記憶される。これらの文字列はインデックスを有する配列であり、配列の要素として文字が格納される。
The volatile area functions as a work area for the
書き換え可能領域には、複数のクイズデータが記憶されている。本実施形態のクイズデータには、設問ID、設問の文字列、設問の答えとなる解答文字列が含まれている。一例として、設問IDには通し番号、設問には日本語の単語、解答文字列には設問に対応する英単語が記憶される。複数のクイズデータは、ファイルやデータベース上に記憶されている。 A plurality of quiz data are stored in the rewritable area. The quiz data of the present embodiment includes a question ID, a question character string, and an answer character string serving as a question answer. As an example, a serial number is stored in the question ID, a Japanese word is stored in the question, and an English word corresponding to the question is stored in the answer character string. A plurality of quiz data is stored on a file or database.
[本実施形態のアプリケーションの概要]
次に、図2を用いて、クイズシステム1を実現するために用いられるアプリケーションの概要について説明する。図2は、アプリケーションの実行中に表示部20に表示される画面構成を示す図である。図2に示すように、表示部20には表示領域として、設問表示領域50、入力済文字列表示領域60及び配置文字列表示領域70が設けられている。各表示領域には、処理部30から受信した表示データに基づいて文字や文字ボタンが表示される。ここで、配置文字列とは、複数の配置文字からなる文字列であり、各配置文字は、ユーザ入力の対象となる文字ボタンとして配置文字列表示領域70に表示されるものである。
[Outline of application of this embodiment]
Next, an outline of an application used for realizing the
上記アプリケーションは、設問に対する解答文字列をタイピング形式で入力するクイズゲームを実現するためのプログラムである。このアプリケーションによれば処理部30は次のような流れの処理を実行する。処理部30は、記憶部40からクイズデータを1つ取得する。クイズデータの設問を表示部20の設問表示領域50に表示させる。設問に対する解答文字列を構成する文字を表示部20の配置文字列表示領域70に文字ボタンとして表示させる。そして、ユーザが入力部10のタッチパネルから表示部20の配置文字列表示領域70に表示された文字ボタンを押圧することにより、その文字ボタンの選択をユーザ入力として受け付ける。解答文字列の文字順に文字ボタンが選択されたことを判定し、表示部20の入力済文字列表示領域60に選択された文字を表示させる。ユーザ入力が繰り返されて最終的に解答文字列が完成したことを判定して1つのクイズを終了させる。
The application is a program for realizing a quiz game in which an answer character string for a question is input in a typing format. According to this application, the
上述した通り、表示部20の配置文字列表示領域70には、解答文字列を完成させるために必要な文字ボタンが表示される。図8に示す従来技術では、配置文字列表示領域70にアルファベット26文字の文字ボタンを含むソフトウェアキーボードを表示することとしている。確かに、このような綴り入力手段を提供すれば、解答文字列の綴りを入力することは可能である。
As described above, the arrangement character
しかしながら、クイズシステム1に用いるiPhone(登録商標)やPDAなどの携帯機器は表示部20の画面サイズが狭い。そのため、表示部20の配置文字列表示領域70に、上述のようなソフトウェアキーボードを表示したのでは、各文字ボタンが小さくならざるを得ず、綴り入力における操作性は悪くなる。
However, portable devices such as iPhone (registered trademark) and PDAs used in the
この対策として、配置文字列表示領域70に表示させる文字ボタンを、解答文字列を構成する各文字に限定することも考えられる。しかしながら、図9に示すように、解答文字列の文字数が多くなれば、文字ボタンも多くなり、やはり文字ボタンを小さく表示せざるを得ず操作性が悪化することとなる。
As a countermeasure, it is conceivable to limit the character buttons to be displayed in the arranged character
[実施の形態1における特徴的処理1]
そこで、本実施の形態では、この課題を解決するために、まず、画面サイズに応じて文字ボタンの大きさを操作性が確保される大きさに定める。そして、配置文字列表示領域70に表示される文字ボタンの数を制限することする。具体的には、上述した配置文字列に格納される配置文字の上限格納文字数を定める。図3は、上限格納文字数を4とした場合の配置文字列表示領域70の表示例を示す図である。なお、上限格納文字数は、画面サイズに応じてユーザの操作性を損なわないように定められるものでありこれに限られるものではない。
[
Therefore, in the present embodiment, in order to solve this problem, first, the size of the character button is determined according to the screen size so as to ensure operability. Then, the number of character buttons displayed in the arranged character
ところで、このように配置文字列の上限格納文字数を定めた場合には、解答文字列の文字数が配置文字列の上限格納文字数よりも多くなれば、配置文字列表示領域70に解答文字列のすべての文字を同時には表示できなくなる。そのため、1文字入力されるたびに、配置文字列から入力済となった配置文字を削除し、新たに文字を加えることとする。特に本実施形態においては、配置文字列に文字を加えるにあたって、解答文字列のうち未だユーザ入力により選択されていない未入力文字からなる未入力文字列から配置文字列に含まれている文字を除いた未配置文字列を算出し、この未配置文字列の中から文字を選択して配置文字列に加えることとした。さらに、未入力文字列の先頭文字が未だ配置文字列に含まれていない場合には、この先頭文字を選択して前記配置文字列に加えることとした。
By the way, when the upper limit storage character number of the arrangement character string is determined in this way, if the number of characters in the answer character string is larger than the upper limit storage character number of the arrangement character string, all of the answer character strings are displayed in the arrangement character
これにより、画面サイズが狭くユーザ画面に表示される配置文字列の文字数が解答文字列の文字数よりも少ない場合であっても、ユーザ入力に際し正解の文字を選択できることを保障することができる。 Thereby, even when the number of characters of the arrangement character string displayed on the user screen is narrower than the number of characters of the answer character string, it is possible to ensure that the correct character can be selected upon user input.
加えて、本実施形態においては、配置文字列表示領域70における文字ボタンの表示位置について、配置文字列から入力済文字が削除された後、配置文字列に新たな文字が加えられた場合には、その削除された文字ボタンの表示位置に新たな文字ボタンを表示することとし、他の文字ボタンの表示位置を保持することとした。
In addition, in the present embodiment, when the input character is deleted from the arranged character string and the new character is added to the arranged character string, the display position of the character button in the arranged character
これにより、ユーザは、入力の過程で覚えた文字の表示位置に従ってスムーズに綴り入力をすることができる。 Thus, the user can smoothly input spelling according to the display position of the character learned in the input process.
ここで、上述した文字列の定義を整理する。「解答文字列」とは、設問に対する答えとなる文字列(例えば、英単語)でありユーザ入力の最終目的となる綴りをいう。「入力済文字」とは、解答文字列のうち先頭文字から順にユーザ入力された文字であり、入力済文字列表示領域60に並べて表示される。「未入力文字」とは、解答文字列のうち未だユーザ入力されていない文字をいう。「未入力文字列」とは、解答文字列から入力済文字をすべて除いた文字列であり未入力文字の文字列をいう。「配置文字」とは、未入力文字のうちユーザ入力により選択される文字ボタンとして配置文字列表示領域70に表示される文字をいう。「配置文字列」とは複数の配置文字からなる文字列をいい、上限格納文字数が定められている。「未配置文字列」とは、未入力文字列から配置文字をすべて除いた文字列をいう。以下、これらの定義を用いて説明する。
Here, the definition of the character string described above is organized. The “answer character string” is a character string (for example, an English word) that becomes an answer to the question and is a spelling that is the final purpose of user input. The “input characters” are characters input by the user in order from the first character in the answer character string, and are displayed side by side in the input character
[実施の形態1における特徴的処理2]
ところで、配置文字列表示領域70に表示される配置文字列を上述のように更新していく場合には新たな課題が生じる。配置文字列の各配置文字の集まり方によっては、次にユーザ入力すべき文字が類推できてしまうことである。例えば、解答文字列の末尾側の文字が多く配置文字列に含まれた場合には、これらの配置文字(文字ボタン)は綴り入力の終盤まで使われることがない。そして、新たな文字ボタンとして、次にユーザ入力されるべき未入力文字の先頭文字が表示され易くなる。このように、ユーザ入力の選択肢は少なくなり、新たな文字ボタンばかりが次々と選択されることとなるため、ユーザは次入力を類推できてしまい学習効果やゲーム性が低下してしまう。なお、このような現象は解答文字列の文字数が多いほど生じやすい。
[
By the way, when the arrangement character string displayed in the arrangement character
そこで、本実施形態では、選択確率分布を用いて解答文字列の先頭文字側の文字ほど高い確率で配置文字列に加えられることとした。 Thus, in the present embodiment, the selection probability distribution is used to add to the arranged character string with a higher probability the character on the first character side of the answer character string.
(選択確率分布を用いた配置文字列の構成)
選択確率分布に基づいて配置文字列を構成する処理について説明する。ここでは、配置文字列の初期配置において文字を選択する処理について説明する。なお、本実施形態における説明では、説明容易のために、図3に示すように配置文字列表示領域70に表示される文字ボタン数を4つ(配置文字列の上限格納文字数を4)とする。
(Configuration of arrangement character string using selection probability distribution)
A process for constructing the arrangement character string based on the selection probability distribution will be described. Here, processing for selecting a character in the initial arrangement of the arrangement character string will be described. In the description of the present embodiment, for ease of explanation, the number of character buttons displayed in the arranged character
解答文字列sはn個の文字からなる文字列とする。ここで、各文字は変数i(i=0,1,・・・,n−1)を用いてs(i)で表すことができる。 The answer character string s is a character string consisting of n characters. Here, each character can be represented by s (i) using a variable i (i = 0, 1,..., N−1).
配置文字列表示領域70に表示される4つの文字ボタンである配置文字を未配置文字列から選択するに際し、まず、先頭文字s(0)文字は、最初のユーザ入力において選択されるべき必須の配置文字となるため、処理部30は先頭文字s(0)を補充文字として配置文字列に加える。
When selecting an arrangement character that is four character buttons displayed in the arrangement character
次に、残り3文字の補充文字を選択確率分布に従って選択する。基準インデックスを変数iとしたとき、文字s(j)を補充文字とする選択確率pが関数exp(−λ(j−i))に比例するように設定する。ここで、基準インデックスiとは、次にユーザ入力されるべき未入力文字列の先頭文字s(i)を示すものである。また、変数jはi+1≦j≦n−1の整数であり、λは非負の調整用パラメータである。 Next, the remaining three supplementary characters are selected according to the selection probability distribution. When the reference index is the variable i, the selection probability p with the character s (j) as the supplementary character is set to be proportional to the function exp (−λ (j−i)). Here, the reference index i indicates the first character s (i) of the non-input character string to be input next by the user. The variable j is an integer satisfying i + 1 ≦ j ≦ n−1, and λ is a non-negative adjustment parameter.
即ち、このような関数を用いて、基準インデックスiに近い文字s(j)(i<j)ほど、補充文字として選択される確率を高く設定する点に特徴を有する。これにより、「補充文字が配置文字列の中に無く、補充文字が次に入力すべき文字になる状況」が連続することを抑制することができる。 That is, using such a function, the character s (j) (i <j) closer to the reference index i is characterized in that the probability of being selected as a supplementary character is set higher. As a result, it is possible to prevent the “situation where the supplementary character is not in the arrangement character string and the supplementary character becomes the character to be input next” from continuing.
なお、関数はこれに限定されるものではなく、基準インデックスiに近い文字ほど、高い確率で選択され、基準インデックスiから遠い末尾の文字ほど低い確率で選択される関係を有しさえすればよい。 It should be noted that the function is not limited to this, and it is sufficient that the character closer to the reference index i is selected with a higher probability and the last character far from the reference index i is selected with a lower probability. .
(選択確率分布を用いた配置文字列の構成の具体例)
次に、選択確率分布に基づいて配置文字列を構成する具体例について図4を用いて説明する。ここでは、関数q(i,j)=exp(−λ(j−i))のより具体的な例として調整パラメータλ=1、底を2とした式(1)に示す指数関数を用いることとする。そして、基準インデックスi=0(初期配置)の場合について説明する(式(2))。上述の通り、変数jは、i+1≦j≦n−1の整数である。
q(i,j)=2^(−(j−i)) ・・・(1)
q(0,j)=2^(−j) ・・・(2)
(Specific example of arrangement character string configuration using selection probability distribution)
Next, a specific example of configuring the arrangement character string based on the selection probability distribution will be described with reference to FIG. Here, as a more specific example of the function q (i, j) = exp (−λ (j−i)), the exponential function shown in the equation (1) with the adjustment parameter λ = 1 and the
q (i, j) = 2 ^ (-(j-i)) (1)
q (0, j) = 2 ^ (-j) (2)
図4に示す解答文字列「environment」の文字数nは11である。また、基準インデックスi=0であるためjは1〜10の整数である。ここで、式(2)よりq(0、j)は次のように算出される。 The number of characters n in the answer character string “environment” shown in FIG. Since the reference index i = 0, j is an integer of 1 to 10. Here, q (0, j) is calculated from the equation (2) as follows.
図4(A)における数値は、
j=1のとき q(0,1) =2−1=0.5
j=2のとき q(0,2) =2−2=0.25
j=3のとき q(0,3) =2−3=0.125
・・・・
j=10のとき q(0,10)=2−4=0.0009765625
となる。
The numerical values in FIG.
When j = 1 q (0,1) = 2 −1 = 0.5
When j = 2 q (0,2) = 2−2 = 0.25
j = 3 when q (0,3) = 2 -3 = 0.125
...
When j = 10 q (0,10) = 2 -4 = 0.0009765625
It becomes.
次に、j=1〜10までのq(0、j)の和が1となるように正規化して各文字s(j)の選択確率p(0,j)を算出する。図4(B)に示す例では、選択確率p(0,j)=q(0,j)/Σj=1 10q(0,j)で算出されることとなる。 Next, the selection probability p (0, j) of each character s (j) is calculated by normalizing so that the sum of q (0, j) from j = 1 to 10 becomes 1. In the example shown in FIG. 4B, the calculation is performed with the selection probability p (0, j) = q (0, j) / Σ j = 1 10 q (0, j).
図4(B)における数値は、
j=1のとき p(0,1)=0.5004887・・・
j=2のとき p(0,1)=0.2502443・・・
・・・
となる。
The numerical values in FIG.
When j = 1 p (0,1) = 0.5004887 ...
When j = 2 p (0,1) = 0.502443 ...
...
It becomes.
なお、一般化すれば、
p(i,j)=q(i,j)/Σj=i+1 n-1q(i,j) ・・・(3)
で表される。
If generalized,
p (i, j) = q (i, j) / Σj = i + 1 n−1 q (i, j) (3)
It is represented by
続いて、選択確率p(0,j)に基づいて入力候補となる要素を選択する。具体的には、0以上1未満の実数について一様乱数αを取得し、乱数αとp(0,j)の積算値とを比較する。そして、積算値が初めて乱数α以上となるs(j)を補充文字として選択する。 Subsequently, an input candidate element is selected based on the selection probability p (0, j). Specifically, a uniform random number α is acquired for a real number greater than or equal to 0 and less than 1, and the random number α is compared with the integrated value of p (0, j). Then, s (j) whose integrated value is equal to or greater than the random number α for the first time is selected as a supplementary character.
図4(C)に示す例では、乱数α1が取得された場合には、p(0,1)未満であるためs(1)=「n」が選択される。乱数α2が取得された場合には、p(0,1)以上であって、p(0,1)+p(0,2)未満であるためs(2)=「v」が選択される。乱数α3が取得された場合には、p(0、1)+p(0,2)以上であって、p(0,1)+p(0,2)+p(0,3)未満であるため、s(3)=「i」が選択される。 In the example shown in FIG. 4C, when the random number α1 is acquired, since it is less than p (0, 1), s (1) = “n” is selected. When the random number α2 is acquired, since it is equal to or greater than p (0,1) and less than p (0,1) + p (0,2), s (2) = “v” is selected. When the random number α3 is acquired, it is equal to or greater than p (0,1) + p (0,2) and less than p (0,1) + p (0,2) + p (0,3). s (3) = “i” is selected.
なお、一般化すれば、
Σj=i+1 m−1p(i,j) < 乱数α ≦ Σj=i+1 mp(i,j)
・・・(4)
を満たすmを求め、文字s(m)を補充文字として選択する。
但し、3つの補充文字を選択する際に、同じ文字s(m)が選ばれた場合には、新たな乱数αを発生させて、異なる補充文字が選択されるまで繰り返すこととする。
If generalized,
Σ j = i + 1 m−1 p (i, j) <random number α ≦ Σ j = i + 1 m p (i, j)
... (4)
M satisfying the condition is obtained, and the character s (m) is selected as a supplementary character.
However, if the same character s (m) is selected when selecting three supplementary characters, a new random number α is generated and repeated until a different supplementary character is selected.
上述した例に示すように、基準インデックスi=0における3つの補充文字が選択されて配置文字列に配置文字として加えられる。その後、処理部30は配置文字列中の配置文字をランダムに並べ替える。そして、表示部20に配置文字列の並び順に配置文字をボタン表示させる表示データを送信する。その結果、ユーザ画面の配置文字列表示領域70に配置文字がボタン表示される。
As shown in the above-described example, three supplementary characters at the reference index i = 0 are selected and added as arrangement characters to the arrangement character string. Thereafter, the
基準インデックスi=1以降(ユーザが1文字目を入力した以降)については、補充文字を1つだけ選択すればよいことを除き、図4に示す具体例と同様に、式(1)〜(4)に基づいて算出することができる。また、q(i,j)については、予めマップ化しておくことで計算を省略することができる。 For the reference index i = 1 and later (after the user inputs the first character), the formulas (1) to (1) to (1) are similar to the specific example shown in FIG. 4 except that only one supplementary character needs to be selected. It can be calculated based on 4). In addition, q (i, j) can be omitted by mapping in advance.
[実施の形態1における綴り入力処理ルーチン]
次に、図5〜図6を用いて、本実施形態における上述の綴り入力処理を実現するために処理部30が行う処理ルーチンについて説明する。図5〜図6は処理部30が実行する連続した処理ルーチンのフローチャートである。前提として、上述した本実施形態のアプリケーションが起動され、所定の検索条件の下、記憶部40から複数のクイズデータが読み込まれてクイズが開始されるものとする。そして、複数のクイズデータのうち1つのクイズデータが選択される。例えば、設問IDの順に選択される。処理部30は、クイズデータの設問を表示部20の設問表示領域50に表示させる。また、以下の説明では、説明容易のため、配置文字列の上限格納文字数を4として説明する。
[Spelling Input Processing Routine in Embodiment 1]
Next, a processing routine performed by the
図5に示すルーチンでは、まず、ステップ100において、処理部30は設問に対応する解答文字列の綴りsとその文字数nを取得する。具体的には、記憶部40のクイズデータから設問IDに対応する解答文字列を取得する。
In the routine shown in FIG. 5, first, in
次に、ステップ110において、処理部30は解答文字列から先頭文字s(0)を選択し配置文字列に加える。上述した通り配置文字列は文字を要素とする配列であり記憶部40に記憶される。ここで、配置文字列aのインデックスk(位置k)の配置文字をa(k)(k=0〜3)で示す。ステップ110ではa(0)にs(0)が加えられる。
Next, in
さらに、ステップ120において、処理部30は綴りsに含まれる文字s(j)(1≦j≦n−1)の中から、上述した選択確率分布p(0,j)に基づいて3個の文字を選び配置文字列aに順次加える。
Furthermore, in
続いて、ステップ130において、処理部30は配置文字列aに格納された4つの配置文字の順番をランダムに入れ替える。また、ステップ140において、基準インデックスiを0に設定する。文字s(i)は次に入力されるべき正解の文字を示す。処理部30は、表示部20に配置文字列aを配置文字a(0)〜a(3)の配列順で表示させる表示データを送信する。表示部20は、配置文字列表示領域70に、配置文字列aの配列順に文字ボタンを表示する。
Subsequently, in
ステップ150において、処理部30は、入力部10を介して表示部20に表示された文字ボタンに対するユーザ入力を受け付ける。ユーザが、入力部10のタッチパネルを押圧することで、入力部10から処理部30に押圧位置を示す信号が通知される。処理部30はこれにより特定の文字ボタンがユーザに選択されたと判断する。
In
次に、ステップ160において、処理部30は、ユーザに選択された文字ボタン(位置k)、即ち配置文字a(k)が文字s(i)と同じであるか否かを判定する。ステップ140直後の場合には、基準インデックスiは0であるため、文字s(0)であるか否かを判定する。
Next, in
ユーザに選択された文字がs(i)でないと判定された場合には、処理部30は、誤った入力がなされたと判断し、表示部20に誤り警告の表示データを送信する。表示部20は表示データに基づいて誤り警告を表示する(ステップ170)。なお、警告音や振動によって警告することとしてもよい。その後、図5のP1に戻り、ステップ150において再度ユーザ入力を求める。なお、ステップ100から再開することとしてもよい。
If it is determined that the character selected by the user is not s (i), the
一方、ユーザに選択された文字がs(i)であると判定された場合には、処理部30は、正しい入力がなされたと判断し、ステップ180において、配置文字列aから文字s(i)に対応する配置文字a(k)を削除する。そして、入力済文字s(i)の表示データを表示部20に送信する。表示部20は、入力済文字列表示領域60に入力済文字s(i)を追加する。また、処理部30は、表示部20に文字s(i)が占めていた配置文字列表示領域70の位置kを空欄とする表示データを送信する。表示データとして、例えば配置文字列aの配置文字a(k)を空としたデータが用いられる。
On the other hand, if it is determined that the character selected by the user is s (i), the
図6は、図5の処理ルーチンのP2以降の処理であり、2文字目以降のユーザ入力について処理部30が実行する処理ルーチンのフローチャートである。図6に示すルーチンでは、まず、ステップ190において、処理部30は基準インデックスiに1を加算する。
FIG. 6 is a flowchart of the processing routine executed by the
次に、ステップ200において、処理部30は基準インデックスiが綴りsの文字数n以上であるか否かを判定する。基準インデックスiがn以上であると判断された場合には、処理部30は、綴りsの入力が完了したと判断し本ルーチンを終了する(ステップ210)。
Next, in
一方、基準インデックスiがnよりも小さいと判断された場合には、ステップ220において、処理部30は配置文字列aの中に文字s(i)が存在するか否かを判断する。文字s(i)は次に入力されるべき正解の文字である。そのため、文字s(i)が未だ配置文字列aの中に含まれていない場合には、配置文字列aの配置文字a(k)を文字s(i)に設定する。その後、図5のP1に戻り、ステップ150において、配置文字列表示領域70の位置kにs(i)の文字ボタンを表示させる表示データを表示部20に送信する。
On the other hand, when it is determined that the reference index i is smaller than n, in
一方、配置文字列の中に文字s(i)が存在すると判定された場合には、次に、ステップ240において、未だユーザに入力されていない未入力文字列{s(j)}(i≦j)の中で、配置文字に現れていない文字の集合Aを算出する。ここで、Aのインデックスの集合をΔとする。具体的には、上述した未配置文字列を作成する。
On the other hand, if it is determined that the character s (i) is present in the arrangement character string, then in
次に、ステップ250において、処理部30は、集合Aが空か否かを判定する。集合Aが空であると判定された場合、即ち未配置文字列の要素が無い場合には、図5のP1に戻ってステップ150から処理が継続される。この場合、配置文字a(k)として加えるべき新たな文字がないため、表示部20には配置文字a(k)を空とし、残りの配置文字による文字ボタンのみが表示されることとなる。
Next, in
一方、集合Aが空ではない場合、即ち未配置文字列の要素が無いと判定された場合には、次に、ステップ260において、集合Aの中から、上述した選択確率分布p(i,j)(jはΔの要素)に基づいて、1個の文字を選び配置文字列aの位置kに加える。換言すれば、上述した通り、未配置文字列から選択確率分布p(i,j)に基づいて文字を選択し、配置文字a(k)として加える。その後、図5のP1に戻ってステップ150以降の処理が継続される。
On the other hand, if the set A is not empty, that is, if it is determined that there is no element of the unplaced character string, next, in
以上説明したように、図5及び図6に示すルーチンによれば、文字s(i)に近い文字ほど、高い確率で配置文字列に追加されるため、文字を順次入力していく際に、ボタンが押される位置を一箇所に集中せずに分散させることができる。そのため、ユーザに次に入力すべき文字を推定させることなく、高い学習効果・ゲーム性を維持することができる。
加えて、削除位置kに新たな候補を表示し、残りの文字の表示位置は変わらないため、前回の入力においてユーザが記憶した表示位置が無駄にならず、スムーズな綴り入力を実現することができる。例えば「〜tion」といったスペルの場合には、毎回の入力でランダムに表示する手法に対し、ストレスの無い綴り入力を提供することができる。
また、確実に次に入力されるべき文字が配置文字として追加されるため綴り入力が行き詰ることはない。
As described above, according to the routines shown in FIGS. 5 and 6, characters closer to the character s (i) are added to the arranged character string with a higher probability, so when characters are sequentially input, The positions where the buttons are pressed can be distributed without being concentrated in one place. Therefore, it is possible to maintain a high learning effect and game performance without causing the user to estimate a character to be input next.
In addition, since a new candidate is displayed at the deletion position k and the display position of the remaining characters does not change, the display position stored by the user in the previous input is not wasted, and smooth spelling input can be realized. it can. For example, in the case of a spell such as “˜tion”, it is possible to provide a stress-free spelling input as compared to a method of displaying randomly at each input.
Further, since the character to be input next is surely added as the arrangement character, the spelling input does not get stuck.
ところで、上述した実施の形態1のシステムにおいては、未入力文字列の先頭文字が配置文字列に含まれているか否かを判定し(ステップ220)、含まれていない場合には、未入力文字列の先頭文字を配置文字列に加える(ステップ110、230)こととしているが、これらの処理に換えて、配置文字列に加えられるすべての文字を選択確率分布に基づいて未配置文字列から選択することとしてもよい。
By the way, in the system of
尚、上述した実施の形態1においては、記憶部40が前記第1、第3の発明における「クイズデータ記憶手段」及び「配置文字列記憶手段」に、表示部20及び処理部30が前記第1、第3の発明における「設問表示手段」及び「配置文字列表示手段」に、入力部10及び処理部30が前記第1、第3の発明における「ユーザ入力手段」に、それぞれ相当している。
また、ここでは、処理部30が、上記ステップ110、120、230、260の処理を実行することにより前記第1乃至第3の発明における「配置文字列構成手段」が、上記ステップ180の処理を実行することにより前記第1、第3の発明における「配置文字削除手段」が、上記ステップ180、230、260の処理を実行することにより前記第4の発明に「配置文字列表示手段」が、それぞれ実現されている。
In the first embodiment described above, the
In addition, here, the
実施の形態2.
次に、図7を参照して本発明の実施の形態2について説明する。本実施形態のクイズシステムは図1に示す構成において、処理部30に後述する図5、図7のルーチンを実施させることで実現することができる。
Next, a second embodiment of the present invention will be described with reference to FIG. The quiz system of the present embodiment can be realized by causing the
[実施の形態2における特徴的処理]
上述した実施の形態1では、配置文字は、正解となる綴りsの中からのみ選択され、入力が進むにつれ配置文字は減じられていく。そして、綴りsの入力が完了すると、表示部20に表示されていた配置文字がすべて消える。これは、ユーザに達成感を与え易い点で望ましい。しかし、一方で、入力の終盤にはユーザ入力の選択肢が少なくなり、正解の入力が簡単になりやすい。学習効果やゲーム性を重視すれば、入力がやさしくなりすぎないようにすることも望まれる。
[Characteristic Processing in Embodiment 2]
In the first embodiment described above, the arranged characters are selected only from the spellings s that are correct, and the arranged characters are reduced as the input proceeds. When the input of the spelling s is completed, all the arranged characters displayed on the
そこで、本実施形態では、未配置文字列の文字が無い場合には、配置文字としてダミーの文字をランダムに表示させることとした。 Therefore, in the present embodiment, when there is no character in the non-arranged character string, dummy characters are randomly displayed as the arranged characters.
図5及び図7は、上述の綴り入力手法を実現するために、処理部30が実行する処理ルーチンのフローチャートである。図7に示すルーチンは、ステップ270の処理が加えられている点を除き、図6に示すルーチンと同様である。図7において、図6に示すステップと同一のステップについては、同一の符号を付してその説明を省略する。また、図5は実施の形態1と同様であるためその説明を省略する。
5 and 7 are flowcharts of processing routines executed by the
図7に示すルーチンでは、ステップ250において、処理部30は集合Aが空か否かを判定する。集合Aが空であると判定された場合、即ち未配置文字列の文字が無い場合には、ステップ270において、処理部30は、ランダムにダミー文字を1個の文字を選び、配置文字列の配置文字a(k)として加える。具体的には、記憶部40には、ダミー文字として綴りsに関連した文字集合が記憶されており、その中からランダムに1文字が選ばれる。例えば、綴りsが英単語ならばアルファベット26文字のいずれか1文字がランダムに選ばれる。なお、ダミー文字は、綴りsが正しく入力された後も配置文字として残ることになる。
In the routine shown in FIG. 7, in
以上説明したように、図7に示すルーチンによれば、未配置文字列の文字が無い場合に、配置文字列にダミー文字を補充することができる。そのため、綴り入力の最後までユーザ入力の選択肢を減らすことなく学習効果やゲーム性を保つことができる。 As described above, according to the routine shown in FIG. 7, dummy characters can be supplemented to the arranged character string when there is no character in the non-arranged character string. Therefore, it is possible to maintain learning effects and game characteristics without reducing user input options until the end of spelling input.
尚、上述した実施の形態2においては、処理部30が、上記ステップ270の処理を実行することにより前記第5の発明における「ダミー文字追加手段」が実現されている。
In the second embodiment described above, the “dummy character adding means” according to the fifth aspect of the present invention is realized by the
1 クイズシステム
10 入力部
20 表示部
30 処理部
40 記憶部
50 設問表示領域
60 入力済文字列表示領域
70 配置文字列表示領域
a 配置文字列
i 基準インデックス
n 文字数
p 選択確率
α 一様乱数
λ 調整パラメータ
1
Claims (7)
前記設問をユーザ画面に表示する設問表示手段と、
配置文字列を記憶する配置文字列記憶手段と、
前記配置文字列の文字数が前記解答文字列の文字数よりも少ない上限格納文字数を越えない範囲で、前記解答文字列に含まれる文字を選択して該配置文字列に加える配置文字列構成手段と、
前記配置文字列の各文字をユーザ画面に表示する配置文字列表示手段と、
前記ユーザ画面に表示された前記配置文字列の各文字について、文字を選択するユーザ入力を受け付けるユーザ入力手段と、
前記ユーザ入力により選択されて入力済となった入力済文字を、前記配置文字列から削除する配置文字削除手段と、を備え、
前記配置文字列構成手段は、
前記解答文字列のうち未だ前記ユーザ入力により選択されていない未入力文字からなる未入力文字列から前記配置文字列に含まれている文字を除いた未配置文字列から文字を選択して前記配置文字列に加えるものであって、
前記配置文字削除手段により前記配置文字列から入力済文字が削除された後、前記未入力文字列の先頭文字が未だ前記配置文字列に含まれていない場合には、該先頭文字を選択して前記配置文字列に加えること、
を特徴とする綴り入力装置。 Quiz data storage means for storing a question and an answer character string for the question;
Question display means for displaying the question on a user screen;
Arrangement character string storage means for storing arrangement character strings;
Arrangement character string constructing means for selecting a character included in the answer character string and adding it to the arrangement character string within a range in which the number of characters of the arrangement character string does not exceed the upper limit number of characters less than the number of characters of the answer character string;
Arrangement character string display means for displaying each character of the arrangement character string on the user screen;
User input means for receiving user input for selecting a character for each character of the arrangement character string displayed on the user screen;
An arrangement character deletion means for deleting the input character selected and input by the user input from the arrangement character string;
The arrangement character string constituting means includes:
The arrangement is performed by selecting a character from a non-arranged character string obtained by removing a character included in the arrangement character string from a non-input character string composed of a non-input character not yet selected by the user input from the answer character string. To add to the string,
After the input character is deleted from the arrangement character string by the arrangement character deletion means, if the first character of the non-input character string is not yet included in the arrangement character string, the first character is selected. Adding to the arrangement string;
A spelling input device characterized by the above.
前記配置文字削除手段により前記配置文字列から入力済文字が削除された後、前記未入力文字列の先頭文字が既に前記配置文字列に含まれている場合には、前記未配置文字列の先頭文字側の文字ほど高い確率で選択して前記配置文字列に加えること、
を特徴とする請求項1記載の綴り入力装置。 The arrangement character string constituting means includes :
After the input character is deleted from the arrangement character string by the arrangement character deletion unit, if the first character of the non-input character string is already included in the arrangement character string, the head of the non-arrangement character string Selecting a character on the character side with a higher probability and adding it to the arrangement character string;
The spelling input device according to claim 1.
前記設問をユーザ画面に表示する設問表示手段と、
配置文字列を記憶する配置文字列記憶手段と、
前記配置文字列の文字数が前記解答文字列の文字数よりも少ない上限格納文字数を越えない範囲で、前記解答文字列に含まれる文字を選択して該配置文字列に加える配置文字列構成手段と、
前記配置文字列の各文字をユーザ画面に表示する配置文字列表示手段と、
前記ユーザ画面に表示された前記配置文字列の各文字について、文字を選択するユーザ入力を受け付けるユーザ入力手段と、
前記ユーザ入力により選択されて入力済となった入力済文字を、前記配置文字列から削除する配置文字削除手段と、を備え、
前記配置文字列構成手段は、
前記解答文字列のうち未だ前記ユーザ入力により選択されていない未入力文字からなる未入力文字列から前記配置文字列に含まれている文字を除いた未配置文字列から文字を選択して前記配置文字列に加えるものであって、
前記配置文字削除手段により前記配置文字列から入力済文字が削除された後、該未配置文字列の先頭文字側の文字ほど高い確率で選択して前記配置文字列に加えること、
を特徴とする綴り入力装置。 Quiz data storage means for storing a question and an answer character string for the question;
Question display means for displaying the question on a user screen;
Arrangement character string storage means for storing arrangement character strings;
Arrangement character string constructing means for selecting a character included in the answer character string and adding it to the arrangement character string within a range in which the number of characters of the arrangement character string does not exceed the upper limit number of characters less than the number of characters of the answer character string;
Arrangement character string display means for displaying each character of the arrangement character string on the user screen;
User input means for receiving user input for selecting a character for each character of the arrangement character string displayed on the user screen;
An arrangement character deletion means for deleting the input character selected and input by the user input from the arrangement character string;
The arrangement character string constituting means includes:
The arrangement is performed by selecting a character from a non-arranged character string obtained by removing a character included in the arrangement character string from a non-input character string composed of a non-input character not yet selected by the user input from the answer character string. To add to the string,
After the input character is deleted from the arrangement character string by the arrangement character deletion means, the character on the first character side of the non-arrangement character string is selected with a higher probability and added to the arrangement character string;
A spelling input device characterized by the above.
前記配置文字列構成手段において、前記配置文字削除手段により前記配置文字列から入力済文字が削除された後、前記配置文字列に新たな文字が加えられた場合には、該削除された入力済文字の表示位置に該新たな文字を表示し、他の文字の表示位置は保持すること、を特徴とする請求項1乃至3いずれか1項記載の綴り入力装置。 The arrangement character string display means includes:
Oite Before SL disposed string configuration means after the already input characters from the arrangement string is deleted by the alignment character deletion means, when a new character is added to the arrangement string is the deleted The spelling input device according to any one of claims 1 to 3, wherein the new character is displayed at the display position of the input character and the display positions of other characters are held.
前記未配置文字列の文字が無い場合には、前記配置文字列の文字数が前記上限格納文字数となるまでダミー文字を含めるダミー文字追加手段、
を備えることを特徴とする請求項1乃至4いずれか1項記載の綴り入力装置。 The arrangement character string constituting means includes:
If there is no character in the unplaced character string, dummy character adding means for including dummy characters until the number of characters in the placed character string reaches the upper limit storage character number;
The spelling input device according to any one of claims 1 to 4, further comprising:
設問と、該設問に対する解答文字列を前記記憶部に記憶するクイズデータ記憶手段と、
前記設問を前記ユーザ画面に表示する設問表示手段と、
配置文字列を前記記憶部に記憶する配置文字列記憶手段と、
前記配置文字列の文字数が前記解答文字列の文字数よりも少ない上限格納文字数を越えない範囲で、前記解答文字列に含まれる文字を選択して該配置文字列に加える配置文字列構成手段と、
前記配置文字列の各文字を前記ユーザ画面に表示する配置文字列表示手段と、
前記ユーザ画面に表示された前記配置文字列の各文字について、文字を選択するユーザ入力を受け付けるユーザ入力手段と、
前記ユーザ入力により選択されて入力済となった入力済文字を、前記配置文字列から削除する配置文字削除手段と、して機能させ、
前記配置文字列構成手段は、
前記解答文字列のうち未だ前記ユーザ入力により選択されていない未入力文字からなる未入力文字列から前記配置文字列に含まれている文字を除いた未配置文字列から文字を選択して前記配置文字列に加えるものであって、
前記配置文字削除手段により前記配置文字列から入力済文字が削除された後、前記未入力文字列の先頭文字が未だ前記配置文字列に含まれていない場合には、該先頭文字を選択して前記配置文字列に加える、綴り入力プログラム。 A computer having a user screen and a storage unit,
A quiz data storage means for storing a question and an answer character string for the question in the storage unit;
A question display means for displaying the question to the user screen,
Arrangement character string storage means for storing arrangement character strings in the storage unit;
To the extent that characters of the arrangement string does not exceed the smaller upper limit stored characters than the number of characters of the answer character string, arranged string configuration means for selecting the characters included before Kikai answer string is added to the arrangement string When,
And placed character string display means for displaying each character of the arrangement string in the user screen,
User input means for receiving user input for selecting a character for each character of the arrangement character string displayed on the user screen;
The input character selected and input by the user input is made to function as an arrangement character deleting means for deleting from the arrangement character string ,
The arrangement character string constituting means includes:
The arrangement is performed by selecting a character from a non-arranged character string obtained by removing a character included in the arrangement character string from a non-input character string composed of a non-input character not yet selected by the user input from the answer character string. To add to the string,
After the input character is deleted from the arrangement character string by the arrangement character deletion means, if the first character of the non-input character string is not yet included in the arrangement character string, the first character is selected. A spelling input program to be added to the arrangement character string .
設問と、該設問に対する解答文字列を前記記憶部に記憶するクイズデータ記憶手段と、
前記設問をユーザ画面に表示する設問表示手段と、
配置文字列を前記記憶部に記憶する配置文字列記憶手段と、
前記配置文字列の文字数が前記解答文字列の文字数よりも少ない上限格納文字数を越えない範囲で、前記解答文字列に含まれる文字を選択して該配置文字列に加える配置文字列構成手段と、
前記配置文字列の各文字を前記ユーザ画面に表示する配置文字列表示手段と、
前記ユーザ画面に表示された前記配置文字列の各文字について、文字を選択するユーザ入力を受け付けるユーザ入力手段と、
前記ユーザ入力により選択されて入力済となった入力済文字を、前記配置文字列から削除する配置文字削除手段と、して機能させ、
前記配置文字列構成手段は、
前記解答文字列のうち未だ前記ユーザ入力により選択されていない未入力文字からなる未入力文字列から前記配置文字列に含まれている文字を除いた未配置文字列から文字を選択して前記配置文字列に加えるものであって、
前記配置文字削除手段により前記配置文字列から入力済文字が削除された後、該未配置文字列の先頭文字側の文字ほど高い確率で選択して前記配置文字列に加える、綴り入力プログラム。 A computer having a user screen and a storage unit,
A quiz data storage means for storing a question and an answer character string for the question in the storage unit;
A question display means for displaying the question to the user screen,
Arrangement character string storage means for storing arrangement character strings in the storage unit;
To the extent that characters of the arrangement string does not exceed the smaller upper limit stored characters than the number of characters of the answer character string, arranged string configuration means for selecting the characters included before Kikai answer string is added to the arrangement string When,
And placed character string display means for displaying each character of the arrangement string in the user screen,
User input means for receiving user input for selecting a character for each character of the arrangement character string displayed on the user screen;
The input character selected and input by the user input is made to function as an arrangement character deleting means for deleting from the arrangement character string ,
The arrangement character string constituting means includes:
The arrangement is performed by selecting a character from a non-arranged character string obtained by removing a character included in the arrangement character string from a non-input character string composed of a non-input character not yet selected by the user input from the answer character string. To add to the string,
A spelling input program that, after an input character has been deleted from the arrangement character string by the arrangement character deletion means, a character on the first character side of the non-arrangement character string is selected with a higher probability and added to the arrangement character string .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009181576A JP5478976B2 (en) | 2009-08-04 | 2009-08-04 | Spelling input device and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009181576A JP5478976B2 (en) | 2009-08-04 | 2009-08-04 | Spelling input device and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2011030885A JP2011030885A (en) | 2011-02-17 |
JP5478976B2 true JP5478976B2 (en) | 2014-04-23 |
Family
ID=43760542
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009181576A Active JP5478976B2 (en) | 2009-08-04 | 2009-08-04 | Spelling input device and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5478976B2 (en) |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3321650B1 (en) * | 2001-07-13 | 2002-09-03 | 有限会社快適ソフト | Learning system |
JP4816435B2 (en) * | 2006-12-14 | 2011-11-16 | 株式会社セガ | Character input processing method |
-
2009
- 2009-08-04 JP JP2009181576A patent/JP5478976B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2011030885A (en) | 2011-02-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20120324391A1 (en) | Predictive word completion | |
US8416192B2 (en) | Concurrently displaying multiple characters for input field positions | |
US10346478B2 (en) | Extensible search term suggestion engine | |
US9632650B2 (en) | Command searching enhancements | |
TWI401578B (en) | Method, system, and graphical user interface for providing word recommendations | |
JP5212767B2 (en) | Apparatus, system and method for enhancing help resource selection in computer applications | |
US8601019B1 (en) | Presenting autocomplete suggestions | |
KR101602840B1 (en) | Smart user-customized virtual keyboard | |
US20130036137A1 (en) | Creating and editing user search queries | |
US20190155910A1 (en) | Highlighting Key Portions of Text Within a Document | |
US8356041B2 (en) | Phrase builder | |
US20080310723A1 (en) | Text prediction with partial selection in a variety of domains | |
CN105009064A (en) | Touch keyboard using language and spatial models | |
US20100277424A1 (en) | Electronic device and method for predicting word input | |
US20150169537A1 (en) | Using statistical language models to improve text input | |
US20100333022A1 (en) | Operation support apparatus and method of the same | |
Romano et al. | The tap and slide keyboard: A new interaction method for mobile device text entry | |
JP2016122139A (en) | Text display device and learning device | |
CN104461056B (en) | A kind of information processing method and electronic equipment | |
US9507879B2 (en) | Query formation and modification | |
KR102068130B1 (en) | Method for displaying virtual keyboard for subjective test in mobile device | |
JP5478976B2 (en) | Spelling input device and program | |
KR102074764B1 (en) | Method and system for supporting spell checking within input interface of mobile device | |
JP2006301066A (en) | Electronic dictionary device, dictionary program | |
KR101999576B1 (en) | Spreadsheet driving apparatus capable of performing fast function operations on selected cell range and operating method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20120402 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20131119 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20140115 |
|
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: 20140204 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20140212 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5478976 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |