JP2023112400A - Input device, method for controlling input device, and information processing device - Google Patents

Input device, method for controlling input device, and information processing device Download PDF

Info

Publication number
JP2023112400A
JP2023112400A JP2022014168A JP2022014168A JP2023112400A JP 2023112400 A JP2023112400 A JP 2023112400A JP 2022014168 A JP2022014168 A JP 2022014168A JP 2022014168 A JP2022014168 A JP 2022014168A JP 2023112400 A JP2023112400 A JP 2023112400A
Authority
JP
Japan
Prior art keywords
key
correction
input
information
operation 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.)
Pending
Application number
JP2022014168A
Other languages
Japanese (ja)
Inventor
健典 初田
Takenori Hatsuda
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Omron Corp
Original Assignee
Omron Corp
Omron Tateisi Electronics Co
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Omron Corp, Omron Tateisi Electronics Co filed Critical Omron Corp
Priority to JP2022014168A priority Critical patent/JP2023112400A/en
Priority to TW112101998A priority patent/TWI834480B/en
Priority to PCT/JP2023/001356 priority patent/WO2023149208A1/en
Publication of JP2023112400A publication Critical patent/JP2023112400A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0489Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using dedicated keyboard keys or combinations thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N20/00Machine learning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Mathematical Physics (AREA)
  • Artificial Intelligence (AREA)
  • Computing Systems (AREA)
  • Evolutionary Computation (AREA)
  • Biophysics (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Molecular Biology (AREA)
  • Biomedical Technology (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Medical Informatics (AREA)
  • Input From Keyboards Or The Like (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

To provide an input device, a method for controlling the input device, and an information processing device that accurately detect wrong key pressing.SOLUTION: An input device 10 includes: a keyboard 110 having a sensor 110a that senses the manner in which a key is pressed; a control unit 120 including a correction detection unit 121 that detects a correction operation that is an operation for correcting input contents with the keyboard 110, an operation information acquisition unit 122 that acquires before-correction operation information including the manner in which the key is pressed and information about the key pressed before the detection of the correction operation, and after-correction operation information that is information about the key pressed after the detection of the correction operation, and a model generation unit 123 that generates a learned model 131 for inferring erroneous input by using the before-correction operation information and the after-correction operation information; a storage unit 130 that stores the learned model; and a display unit 140.SELECTED DRAWING: Figure 2

Description

本発明は、入力装置、入力装置の制御方法および情報処理装置に関する。 The present invention relates to an input device, an input device control method, and an information processing device.

デスクワークにおいてタイピングの速さは業務効率に影響する。キーボードのキーの打ち間違いは、入力を中断し、文字修正のための時間のロスを発生させる。特許文献1は、誤った文字列入力に対し、修正前の文字列と修正後の文字列とを関連付けさせてメモリに記憶させ、同じ間違いの回数が所定回数になった場合には、誤った文字列を修正後の文字列に自動的に修正する技術を開示している。 Typing speed affects work efficiency in desk work. Mistyping of keyboard keys interrupts input and causes loss of time for correcting characters. In Patent Document 1, for incorrect character string input, a character string before correction and a character string after correction are associated with each other and stored in a memory. A technique for automatically correcting a character string to a corrected character string is disclosed.

特開2003-308316号公報JP-A-2003-308316

しかしながら、修正前の文字列は、所定回数の間違いにより修正対象となった場合、ユーザが意図して入力した意味のある文字列であっても、誤って自動的に修正される恐れがある。 However, if a character string before correction is subject to correction due to a predetermined number of mistakes, even a meaningful character string that the user intentionally entered may be erroneously and automatically corrected.

本発明は、一側面では、キーの打ち間違いを精度良く検知する技術を提供することを目的とする。 An object of the present invention, in one aspect, is to provide a technique for accurately detecting keystroke errors.

本発明は、上記目的を達成するために、以下の構成を採用する。 In order to achieve the above objects, the present invention employs the following configurations.

本開示の第一側面は、キーの押し方を検知するセンサを有するキーボードと、キーボードによる入力内容を修正するための操作である修正操作を検出する修正検出部と、修正操作を検出する前に押下されたキーの情報およびキーの押し方を含む修正前操作情報と、修正操作を検出した後に押下されたキーの情報である修正後操作情報と、を取得する操作情報取得部と、誤入力を推論する学習済みモデルを、修正前操作情報および修正後操作情報を用いて生成する生成部と、を備える入力装置である。入力装置は、キーの情報だけでなく、キーの物理的な押し方を含む操作情報を学習することで、キーの打ち間違いを精度良く推論する学習済みモデルを生成することができる。 A first aspect of the present disclosure includes a keyboard having a sensor that detects how a key is pressed, a correction detection unit that detects a correction operation that is an operation for correcting input content with the keyboard, and a correction operation before detecting the correction operation. an operation information acquisition unit for acquiring pre-correction operation information including information on pressed keys and how to press keys, and post-correction operation information including information on keys pressed after detection of correction operations; using the pre-correction operation information and the post-correction operation information. By learning not only key information but also operation information including how to physically press the keys, the input device can generate a trained model that accurately infers keystroke errors.

学習済みモデルは、押下されたキーの情報およびキーの押し方を含む操作情報が入力されると、キーの情報に対応する文字列が誤入力である場合に修正候補を出力するように学習させたモデルであってもよい。入力装置は、ユーザが入力した文字列およびそれぞれの文字に対応するキーの押込み量を学習済みモデルに入力することで、誤入力を判定するとともに修正候補を取得することができる。 The trained model is trained to output correction candidates when inputting operation information including pressed key information and how to press keys, and if the character string corresponding to the key information is incorrectly entered. model. The input device can determine erroneous input and acquire correction candidates by inputting the character strings input by the user and the amount of pressing of the key corresponding to each character to the trained model.

生成部は、特定のユーザによる修正前操作情報および修正後操作情報を用いて、学習済みモデルを生成してもよい。入力装置は、特定のユーザの誤入力の情報を学習することで、ユーザ固有の打ち間違いの癖に対応した学習済みモデルを生成することができる。 The generation unit may generate a learned model using pre-correction operation information and post-correction operation information by a specific user. The input device can generate a trained model corresponding to the user's peculiar typographical habits by learning information about the incorrect input of a specific user.

生成部は、複数のユーザによる修正前操作情報および修正後操作情報を用いて、学習済みモデルを生成してもよい。入力装置は、ユーザを区別することなく、様々なユーザの誤
入力の情報を学習することで、一般的な間違え方に対応した学習済みモデルを生成することができる。
The generation unit may generate the learned model using pre-correction operation information and post-correction operation information by a plurality of users. The input device can generate a trained model corresponding to common mistakes by learning various user input error information without distinguishing between users.

修正操作は、BackspaceキーまたはDeleteキーを押下する操作であってもよい。入力装置は、特定のキーが押下されたことにより、ユーザが入力内容を修正する操作をしたことを検出することができる。 The correction operation may be an operation of pressing the Backspace key or the Delete key. The input device can detect that the user has performed an operation to correct the input content by pressing a specific key.

キーボードは、キーの内側にスイッチを備え、センサは、スイッチの押込み量または押下圧を計測してもよい。入力装置は、スイッチの押込み量または押下圧を計測することでキーの押し方を検知し、キーの物理的な押し方を考慮して誤入力を推論する学習済みモデルを生成することができる。 The keyboard may include switches inside the keys, and the sensor may measure the amount or pressure of the switches. The input device can detect how a key is pressed by measuring the amount or pressure of pressing the switch, and can generate a trained model that infers an erroneous input in consideration of the physical way the key is pressed.

キーボードの各キーは、複数のスイッチを備え、操作情報取得部は、複数のスイッチの押込み順序またはスイッチの押込み量に基づいてキーの押込み位置を取得してもよい。キーボードは、各キーに複数のスイッチを備えることにより、ユーザがキーのどの辺りを押したかの情報を取得することができる。 Each key of the keyboard may include a plurality of switches, and the operation information acquiring section may acquire the pressing positions of the keys based on the pressing order of the plurality of switches or the pressing amount of the switches. By equipping each key with a plurality of switches, the keyboard can acquire information about which part of the key the user has pressed.

入力装置は、キーの押し方を検知するセンサを有するキーボードと、押下されたキーの情報およびキーの押し方を含む操作情報を、誤入力を推論する学習済みモデルに入力し、キーの情報に対応する文字列が誤入力であるか否かを判定する判定部と、誤入力であると判定された文字列の修正候補を取得する取得部と、修正候補を提示する表示部と、を備えてもよい。入力装置は、精度良く誤入力を検知し、適切な修正候補をユーザに提示することができる。 An input device inputs operation information including a keyboard having a sensor for detecting how to press a key and information about the pressed key and how to press the key to a trained model for inferring an erroneous input. A determination unit for determining whether or not a corresponding character string is an input error, an acquisition unit for acquiring correction candidates for the character string determined to be an input error, and a display unit for presenting the correction candidates. may The input device can accurately detect erroneous input and present appropriate correction candidates to the user.

取得部は、操作情報が入力されると修正候補を出力するように学習させた学習済みモデルを用いて修正候補を取得してもよい。入力装置は、機械学習により学習した学習済みモデルを用いることで、適切な修正候補を取得することができる。 The acquisition unit may acquire the correction candidate using a trained model trained to output the correction candidate when the operation information is input. The input device can acquire appropriate correction candidates by using a trained model learned by machine learning.

修正操作を検出する前に押下されたキーの情報およびキーの押し方を含む修正前操作情報と、修正操作を検出した後に押下されたキーの情報である修正後操作情報とを関連付けて記憶する記憶部をさらに備え、取得部は、誤入力であると判定された文字列と同じ文字列についての修正前操作情報に関連付けられた修正後操作情報の文字列を、修正候補として記憶部から取得してもよい。入力装置は、ユーザが過去に実際に修正した後の文字列を修正候補として取得することができる。 Pre-correction operation information including information on keys pressed before detection of a correction operation and how to press the keys, and post-correction operation information that is information on keys pressed after the detection of the correction operation are stored in association with each other. Further comprising a storage unit, the acquisition unit acquires from the storage unit character strings of post-correction operation information associated with pre-correction operation information for the same character string as the character string determined to be an erroneous input, as correction candidates. You may The input device can acquire character strings that have been actually corrected by the user in the past as correction candidates.

表示部は、誤入力であると判定された文字列とともに修正候補を提示してもよい。入力した内容とともに修正候補が提示されることで、ユーザは、修正候補を確認してから、入力した文字列を修正する否かを判断することができる。 The display unit may present correction candidates together with the character string determined to be an incorrect input. By presenting the correction candidate together with the input content, the user can confirm the correction candidate and then determine whether or not to correct the input character string.

取得部は、複数の修正候補を取得し、表示部は、複数の修正候補をユーザが選択可能に提示してもよい。複数の修正候補が提示されることで、ユーザは、意図した入力内容に容易に修正することができる。 The acquisition unit may acquire a plurality of correction candidates, and the display unit may present the plurality of correction candidates so that the user can select them. By presenting a plurality of correction candidates, the user can easily correct the intended input content.

表示部は、誤入力であると判定された文字列を削除して修正候補を提示してもよい。誤入力と判定された文字列が直接修正候補に修正されることで、ユーザは、修正の手間を軽減することができる。 The display unit may delete the character string determined to be an erroneous input and present the correction candidate. By directly correcting a character string determined to be an erroneous input to a correction candidate, the user can reduce the trouble of correction.

表示部は、誤入力であると判定された文字列および修正候補の少なくともいずれかにおいて、修正箇所を強調表示してもよい。強調表示は、例えば、文字色の変更またはマーカの付与である。修正箇所が強調表示されることで、ユーザは、打ち間違えた箇所を容易に
把握することができる。
The display unit may highlight the corrected portion in at least one of the character string determined to be an erroneous input and the correction candidate. Highlighting is, for example, changing the character color or adding a marker. By highlighting the corrected part, the user can easily grasp the part where the user made a typo.

キーボードは、判定部が文字列を誤入力であると判定した後、所定時間、ユーザからの操作を無効にしてもよい。ユーザは、誤入力がある状態で入力し続けることを回避し、間違いに気づくまでに入力した内容を削除する手間を軽減することができる。 The keyboard may disable the user's operation for a predetermined period of time after the determining unit determines that the character string has been input incorrectly. The user can avoid continuing input in a state where there is an erroneous input, and can reduce the trouble of deleting the input content before noticing the error.

キーの情報は、入力された文字列、キーの配置のうち少なくともいずれかの情報を含んでもよい。文字列は、日本語の文字列に限られず、英数字、記号等を含む文字列であってもよい。入力された文字列の情報、キーの配置を学習した学習済みモデルを用いることで、入力装置は、ユーザの打ち間違いを精度よく検知をすることができる。 The key information may include information on at least one of an input character string and key arrangement. The character string is not limited to a Japanese character string, and may be a character string including alphanumeric characters, symbols, and the like. By using a learned model that has learned the information of the input character string and the layout of the keys, the input device can accurately detect user's typing mistakes.

キーの押し方は、キーの押込み量、キーの押込み位置およびキー入力の時間間隔のうち少なくともいずれかの情報を含んでもよい。キーの物理的な押し方を学習した学習済みモデルを用いることで、入力装置は、キーの物理的な打ち方の癖を考慮した誤入力の検知をすることができる。 The key pressing method may include information on at least one of the key pressing amount, the key pressing position, and the key input time interval. By using a trained model that has learned how to physically press keys, the input device can detect erroneous inputs in consideration of the habits of how to physically press keys.

キーの情報は、構文解析により抽出された単語単位または節単位の文字列の情報を含んでもよい。単語単位または節単位の意味のある文字列を学習した学習済みモデルを用いることで、入力装置は、適切に分割された文字列の単位で誤入力を検知することができる。 The key information may include word-by-word or clause-by-segment character string information extracted by parsing. By using a trained model that has learned meaningful character strings in units of words or clauses, the input device can detect erroneous input in units of properly divided character strings.

入力装置は、キー入力の時間間隔を計測するタイマーをさらに備えてもよい。タイマーを用いてキー入力の時間間隔を計測し、キー入力の時間間隔を学習した学習済みモデルを生成することで、入力装置は、入力順が入れ替わった誤入力を精度良く検知することができる。 The input device may further include a timer that measures time intervals between key inputs. By measuring the time interval between key inputs using a timer and generating a learned model that has learned the time interval between key inputs, the input device can accurately detect erroneous inputs in which the input order is changed.

本発明の第二側面は、キーの押し方を検知するセンサを有するキーボードと、キーボードによる入力内容を修正するための操作である修正操作を検出する修正検出部と、修正操作を検出する前に押下されたキーの情報およびキーの押し方を含む修正前操作情報と、修正操作を検出した後に押下されたキーの情報である修正後操作情報と、を取得する操作情報取得部と、誤入力を推論する学習済みモデルを、修正前操作情報および修正後操作情報を用いて生成する生成部と、押下されたキーの情報およびキーの押し方を含む操作情報を、学習済みモデルに入力し、キーの情報に対応する文字列が誤入力であるか否かを判定する判定部と、誤入力であると判定された文字列の修正候補を取得する取得部と、修正候補を提示する表示部と、を備える情報処理装置である。 A second aspect of the present invention includes a keyboard having a sensor that detects how a key is pressed, a correction detection unit that detects a correction operation that is an operation for correcting input content by the keyboard, and a correction operation before detecting the correction operation. an operation information acquisition unit for acquiring pre-correction operation information including information on pressed keys and how to press keys, and post-correction operation information including information on keys pressed after detection of correction operations; using the pre-correction operation information and the post-correction operation information, and the operation information including the pressed key information and the key pressing method are input to the learned model, A determination unit that determines whether or not the character string corresponding to the key information is an erroneous input, an acquisition unit that acquires correction candidates for the character string that is determined to be an erroneous input, and a display unit that presents the correction candidates. and an information processing apparatus.

本発明の第三側面は、キーの押し方を検知するセンサを有するキーボードを備える入力装置の制御方法であって、キーボードによる入力内容を修正するための操作である修正操作を検出する修正検出ステップと、修正操作を検出する前に押下されたキーの情報およびキーの押し方を含む修正前操作情報と、修正操作を検出した後に押下されたキーの情報である修正後操作情報と、を取得する操作情報取得ステップと、誤入力を推論する学習済みモデルを、修正前操作情報および修正後操作情報を用いて生成する生成ステップと、を含む入力装置の制御方法である。 A third aspect of the present invention is a control method for an input device having a keyboard having a sensor for detecting how a key is pressed, comprising a correction detection step of detecting a correction operation, which is an operation for correcting input content through the keyboard. , pre-correction operation information including information on the key pressed before the correction operation is detected and how to press the key, and post-correction operation information that is information on the key pressed after the correction operation is detected. and a generating step of generating a trained model for inferring an erroneous input using the pre-correction manipulation information and the post-correction manipulation information.

また、キーの押し方を検知するセンサを有するキーボードを備える入力装置の制御方法であって、押下されたキーの情報およびキーの押し方を含む操作情報を、誤入力を推論する学習済みモデルに入力し、キーの情報に対応する文字列が誤入力であるか否かを判定する判定ステップと、誤入力であると判定された文字列の修正候補を取得する取得ステップと、修正候補を提示する表示ステップと、を含む入力装置の制御方法であってもよい。 Also, in a control method of an input device having a keyboard having a sensor for detecting how to press a key, operation information including information on the pressed key and how to press the key is applied to a trained model for inferring an erroneous input. A judgment step of judging whether or not a character string input and corresponding to key information is an erroneous input; an acquisition step of acquiring a correction candidate for the character string judged to be an erroneous input; and presenting the correction candidate. and a display step for controlling the input device.

また、本発明は、かかる方法を実現するためのプログラムまたはそのプログラムを非一
時的に記録した記録媒体として捉えることもできる。なお、上記手段および処理の各々は可能な限り互いに組み合わせて本発明を構成することができる。
The present invention can also be regarded as a program for realizing such a method or a recording medium on which the program is non-temporarily recorded. It should be noted that each of the means and processes described above can be combined with each other as much as possible to constitute the present invention.

本発明によれば、キーの打ち間違いを精度良く検知することができる。 According to the present invention, it is possible to accurately detect an erroneous keystroke.

図1は、入力装置の適用例を説明する図である。FIG. 1 is a diagram illustrating an application example of an input device. 図2は、入力装置の構成を例示するブロック図である。FIG. 2 is a block diagram illustrating the configuration of the input device. 図3は、キーの押下を検知するスイッチを例示する図である。FIG. 3 is a diagram illustrating a switch that detects pressing of a key. 図4は、学習処理を例示するフローチャートである。FIG. 4 is a flowchart illustrating learning processing. 図5は、推論処理を例示するフローチャートである。FIG. 5 is a flowchart illustrating inference processing. 図6は、キーの押下を検知する複数のスイッチを例示する図である。FIG. 6 is a diagram illustrating a plurality of switches for detecting key presses. 図7は、複数のスイッチの押込み量の取得について説明する図である。7A and 7B are diagrams for explaining acquisition of push amounts of a plurality of switches. FIG. 図8は、入力するキーの順序が逆になる誤入力について説明する図である。FIG. 8 is a diagram for explaining an erroneous input in which the order of keys to be input is reversed. 図9は、変形例3に係る入力装置の構成を例示するブロック図である。FIG. 9 is a block diagram illustrating the configuration of an input device according to Modification 3. As shown in FIG.

以下、本発明の一側面に係る実施の形態を、図面に基づいて説明する。 Hereinafter, embodiments according to one aspect of the present invention will be described based on the drawings.

<適用例>
図1は、入力装置の適用例を説明する図である。入力装置は、キーボード等を備え、押下されたキーの情報およびキーの押し方に基づいて、キーの打ち間違い(誤入力)を判定する。押下されたキーの情報は、例えば、入力された文字列の情報である。なお、以下の説明では文字列には、数字および記号等も含まれるものとする。キーの押し方は、例えばキーの押込み量である。文字入力において、誤って隣のキーを押下した場合、誤って押下されたキーの押込み量は弱くなる可能性がある。したがって、押込み量を考慮して誤入力を判定することで、入力装置は、キーの打ち間違いを精度良く検知することができる。
<Application example>
FIG. 1 is a diagram illustrating an application example of an input device. The input device includes a keyboard or the like, and determines whether or not a key is erroneously typed (erroneous input) based on information about the pressed key and how the key is pressed. The information about the pressed key is, for example, information about the input character string. In the following description, the character string includes numerals and symbols. The way of pressing the key is, for example, the amount of pressing of the key. In character input, if an adjacent key is erroneously pressed, the pressing amount of the erroneously pressed key may be weak. Therefore, by determining an erroneous input in consideration of the amount of depression, the input device can accurately detect an erroneous keystroke.

まず、誤入力の判定に用いられる学習済みモデル(辞書)の生成について説明する。入力装置は、Backspaceキーの押下といった修正操作を検出すると、修正前後に入力された文字列の情報および各キーの押込み量の情報を取得する。 First, the generation of a trained model (dictionary) used to determine erroneous input will be described. When the input device detects a correction operation such as pressing the Backspace key, the input device acquires information on the character strings input before and after correction and information on the amount of pressing of each key.

図1は、“KIKAI”を“JIKAI”と打ち間違えた例を示す。修正前の文字列は“JIKAI”である。また、標準の押込み量を“2”、標準より少ない押込み量を“1”とした場合、修正前の文字列“JIKAI”の各キーの押込み量は、それぞれ“12222”である。修正後の文字列は“KIKAI”であり、各キーの押込み量はそれぞれ“22222”である。修正前の“J”は右隣の“K”と間違えて押下されており、“J”の押込み量は標準より少なかったことが分かる。 FIG. 1 shows an example of mistyping "KIKAI" as "JIKAI". The character string before correction is "JIKAI". If the standard pressing amount is "2" and the pressing amount smaller than the standard is "1", the pressing amount of each key of the character string "JIKAI" before correction is "12222". The corrected character string is "KIKAI", and the pressing amount of each key is "22222". It can be seen that the "J" before the correction was mistakenly pressed for the "K" on the right side, and the pressing amount of the "J" was smaller than the standard.

入力装置は、修正前の文字列および各キーの押込み量と、修正後の文字列を用いて、ディープラーニング等の機械学習により、誤入力を推論するための学習済みモデルを生成する。学習済みモデルは、ユーザが入力した判定対象の文字列が誤入力であるか否かを推論(出力)するモデルであってもよく、判定対象の文字列が誤入力である場合に修正候補の文字列を推論するモデルであってもよい。入力装置は、修正前の文字列および各キーの押込み量と、修正後の文字列を教師データとして学習済みモデルを生成する。 The input device uses machine learning such as deep learning to generate a learned model for inferring an erroneous input using the character string and the pressing amount of each key before correction and the character string after correction. The trained model may be a model that infers (outputs) whether or not the character string to be judged entered by the user is an incorrect input, and if the character string to be judged is an incorrect input, a correction candidate is displayed. It may be a model that infers strings. The input device generates a trained model using the character string before modification, the pressing amount of each key, and the character string after modification as teacher data.

次に、生成された学習済みモデルを用いた誤入力の判定について説明する。入力装置は、入力された文字列の情報および各キーの押込み量の情報(判定対象の操作情報)を学習済みモデルに入力し、学習済みモデルの推論結果に基づいて、入力された文字列が誤入力
であるか否かを判定する。
Next, erroneous input determination using the generated trained model will be described. The input device inputs the information of the input character string and the information of the pressing amount of each key (operation information to be judged) to the trained model, and based on the inference result of the trained model, the input character string is It is determined whether or not it is an erroneous input.

例えば、判定対象の文字列が“JIKAI”、各キーの押込み量が“12222”であった場合、学習済みモデルは、判定対象の文字列が誤入力であると推論する。これに対し、ユーザが意図的に“JIKAI”という文字列を入力した場合であれば、各キーの押込み量は“22222”となるから、学習済みモデルは、入力された文字列が誤入力でないと推論する。 For example, if the character string to be judged is "JIKAI" and the pressing amount of each key is "12222", the trained model infers that the character string to be judged is an erroneous input. On the other hand, if the user intentionally entered the character string "JIKAI", the amount of depression of each key would be "22222". Infer that.

以上のように、入力装置は、キーの押込み量といった物理的なキーの押し方を考慮することで、キーの打ち間違いをより精度良く検知することができる。入力装置は、例えばキーボードであり、ディスプレイ等の表示装置を備えるコンピュータ(情報処理装置)であってもよい。キーの押し方は、キーの押込み量に限られず、キーの押込み位置およびキー入力の時間間隔等であってもよい。また、キーの押込み量は、2段階に限られず、3段階以上であってもよい。 As described above, the input device can detect keystroke errors with higher accuracy by taking into account the physical way of pressing the keys, such as the amount of pressing of the keys. The input device is, for example, a keyboard, and may be a computer (information processing device) having a display device such as a display. The method of pressing the key is not limited to the amount of key pressing, and may be the position of key pressing, the time interval between key inputs, or the like. Also, the amount of key depression is not limited to two steps, and may be three steps or more.

<実施形態>
図2を参照して、入力装置10の装置構成について説明する。図2は、入力装置10の構成を例示するブロック図である。入力装置10は、キーボード110、制御部120、記憶部130、表示部140を備える。
<Embodiment>
The device configuration of the input device 10 will be described with reference to FIG. FIG. 2 is a block diagram illustrating the configuration of the input device 10. As shown in FIG. The input device 10 includes a keyboard 110 , a control section 120 , a storage section 130 and a display section 140 .

キーボード110は、ユーザからの操作を受け付ける操作部材であり、例えばキーボードである。ここで、図3を参照して、キーの押込み量の検知について説明する。図3は、キーの押下を検知するスイッチ111を例示する図である。スイッチ111は、キートップの内側に設けられ、キーの押下を検知する。キーボード110は、キーの押し方として、スイッチ111の押込み量(スイッチ111が押し込まれた高さ)またはスイッチ111に対する押下圧を計測可能なセンサ110aを備える。キーの押込み量は、スイッチ111に対する押下圧に基づいて決定されてもよい。 The keyboard 110 is an operation member that receives operations from the user, and is, for example, a keyboard. Here, the detection of the key depression amount will be described with reference to FIG. FIG. 3 is a diagram exemplifying the switch 111 that detects pressing of a key. The switch 111 is provided inside the key top and detects pressing of the key. The keyboard 110 is provided with a sensor 110a capable of measuring the pressing amount of the switch 111 (the height at which the switch 111 is pressed) or the pressing pressure on the switch 111, as how to press the key. The amount of key depression may be determined based on the pressure applied to the switch 111 .

制御部120は、学習処理を実行するための修正検出部121、操作情報取得部122、モデル生成部123を備える。また、制御部120は、推論処理を実行するための誤入力判定部124、候補取得部125を備える。 The control unit 120 includes a correction detection unit 121, an operation information acquisition unit 122, and a model generation unit 123 for executing learning processing. The control unit 120 also includes an erroneous input determination unit 124 and a candidate acquisition unit 125 for executing inference processing.

学習処理において、修正検出部121は、ユーザのキーボード110による入力内容を修正するための操作である修正操作を検出する。修正操作は、例えばBackspaceキーまたはDeleteキー等の入力内容を修正するためのキーを押下する操作である。修正操作は、マウス等のポインティングデバイスにより修正前の文字列を選択し、修正後の文字列を入力する操作であってもよい。 In the learning process, the correction detection unit 121 detects a correction operation, which is an operation for correcting the contents of input by the user using the keyboard 110 . The correction operation is an operation of pressing a key for correcting input content, such as a Backspace key or a Delete key. The correction operation may be an operation of selecting the character string before correction with a pointing device such as a mouse and inputting the character string after correction.

操作情報取得部122は、修正操作を検出する前に押下されたキーの情報およびキーの押し方を含む修正前操作情報と、修正操作を検出した後に押下されたキーの情報である修正後操作情報と、を取得する。 The operation information acquisition unit 122 acquires pre-correction operation information including information on the keys pressed before detecting the correction operation and how to press the keys, and post-correction operation information including information on the keys pressed after detecting the correction operation. Get information and

キーの情報は、例えば入力された文字列の情報であり、修正前の文字列は、例えば、Backspaceキー等により削除された文字列とすることができる。図1の例では、“JIKAI”と入力された後、Backspaceキーが5回押下されて“JIKAI”が削除され、修正のための入力が開始されることにより、操作情報取得部122は、“JIKAI”を修正前の文字列として取得する。 The information of the key is, for example, the information of the input character string, and the character string before correction can be, for example, the character string deleted by the Backspace key or the like. In the example of FIG. 1, after "JIKAI" is entered, the Backspace key is pressed five times to delete "JIKAI" and input for correction is started. JIKAI” is obtained as a character string before correction.

また、修正対象の文字だけが修正された場合、修正前の文字列は、操作対象の文字およびその後に入力された文字を含む文字列とすることができる。例えば“JIKAI”と入
力された後、“J”が削除されて“K”が入力された場合、操作情報取得部122は、“J”の後に入力されていた“IKAI”も含めて“JIKAI”を修正前の文字列として取得することができる。
In addition, when only the character to be corrected is corrected, the character string before correction can be a character string including the character to be operated and the subsequently input character. For example, when "J" is deleted and "K" is input after "JIKAI" is input, the operation information acquiring unit 122 retrieves "JIKAI" including "IKAI" input after "J". ” can be obtained as a character string before modification.

修正後の文字列は、例えば、Backspaceキーを連続して押下することにより修正前の文字列が削除された場合は、削除後に入力された文字列のうち、削除された文字数と同じ文字数の文字列とすることができる。図1の例では、“JIKAI”の5文字が削除された場合、操作情報取得部122は、削除後に入力された“KIKAI”の5文字を、修正後の文字列として取得する。 For example, when the character string before correction is deleted by continuously pressing the Backspace key, the character string after correction is the same number of characters as the deleted characters among the character strings input after deletion. can be columns. In the example of FIG. 1, when the five characters of "JIKAI" are deleted, the operation information acquisition unit 122 acquires the five characters of "KIKAI" input after the deletion as the corrected character string.

また、“JIKAI”と入力された後、“J”が削除されて“K”が入力されたような場合には、操作情報取得部122は、修正前の文字列である“JIKAI”と同じ5文字の文字列である“KIKAI”を、修正後の文字列として取得すればよい。 Further, when "J" is deleted and "K" is input after "JIKAI" is input, the operation information acquiring unit 122 determines that the character string "JIKAI" before correction is the same as "JIKAI". "KIKAI", which is a 5-character string, should be obtained as the corrected string.

修正前の文字列および修正後の文字列は、ユーザが入力した文章(自然言語)の構文解析により抽出された単語単位または節単位の文字列の情報であってもよい。なお、修正前の文字列および修正後の文字列は、日本語の文字列に限られず、英数字、記号等を含んでもよい。誤入力の文字が単語の先頭にない場合であっても、入力された文字列を構文解析することにより、操作情報取得部122は、修正前の文字列および修正後の文字列を適切な単位で取得することができる。 The pre-correction character string and the post-correction character string may be information on word-by-word or clause-by-clause character strings extracted by syntactic analysis of sentences (natural language) input by the user. Note that the character strings before correction and the character strings after correction are not limited to Japanese character strings, and may include alphanumeric characters, symbols, and the like. Even if the erroneously input character is not at the beginning of a word, the operation information acquisition unit 122 parses the character string before correction and the character string after correction into appropriate units by parsing the input character string. can be obtained at

キーの押し方は、例えば、図1で説明したキーの押込み量である。キーの押込み量は、2段階に限られず3段階以上であってもよい。操作情報取得部122は、取得した修正前操作情報と修正後操作情報と関連付けて、記憶部130に記憶させてもよい。 The method of pressing the key is, for example, the amount of pressing of the key described with reference to FIG. The key depression amount is not limited to two steps, and may be three steps or more. The operation information acquisition unit 122 may associate the acquired pre-correction operation information and post-correction operation information and store them in the storage unit 130 .

モデル生成部123(「生成部」に相当)は、修正前操作情報および修正後操作情報を用いて、誤入力を推論する学習済みモデル131を生成する。モデル生成部123は、例えば、修正前操作情報である修正前の文字列“JIKAI”および押込み量“12222”と、修正前操作情報である修正後の文字列“KIKAI”とを学習させて学習済みモデル131を生成する。 A model generation unit 123 (corresponding to a “generation unit”) generates a trained model 131 for inferring an erroneous input using the pre-correction operation information and the post-correction operation information. The model generating unit 123 learns, for example, the uncorrected character string “JIKAI” and the pressing amount “12222”, which are the pre-correction operation information, and the corrected character string “KIKAI”, which is the pre-correction operation information. A finished model 131 is generated.

また、モデル生成部123は、修正前の文字列と修正後の文字列との一致度に基づいて、修正前操作情報および修正後操作情報を教師データとして学習するか否かを判定してもよい。例えば、“BOKUWA”を“WATASHIWA”に修正した場合、“BOKUWA”の入力は誤入力ではなく、ユーザは意図的に“WATASHIWA”に修正したと考えられる。モデル生成部123は、修正前の文字列と修正後の文字列との一致度が所定の閾値以下の場合は、これらの文字列を学習対象から除外してもよい。 The model generation unit 123 also determines whether or not to learn the pre-correction operation information and the post-correction operation information as teacher data based on the degree of matching between the pre-correction character string and the post-correction character string. good. For example, when "BOKUWA" is changed to "WATASHIWA", it is considered that the input of "BOKUWA" was not an error, but that the user intentionally changed it to "WATASHIWA". If the degree of matching between a character string before correction and a character string after correction is equal to or less than a predetermined threshold, the model generation unit 123 may exclude these character strings from learning targets.

修正前の文字列と修正後の文字列との一致度は、例えば、修正前の文字列のうち修正後の文字列と一致する文字数の、修正前の文字列の文字数に対する割合とすることができる。具体的には、“BOKUWA”の文字数は6であり、“WATASHIWA”と一致する文字数は2であるため、“BOKUWA”と“WATASHIWA”との一致度は2/6(約33%)となる。また、“JIKAI”の文字数は5であり、“KIKAI”と一致する文字数は4であるため、“JIKAI”と“KIKAI”との一致度は4/5(80%)となる。所定の閾値を60%とした場合、モデル生成部123は、“BOKUWA”および“WATASHIWA”という修正前後の文字列を学習対象から除外する。 The degree of matching between a character string before correction and a character string after correction can be defined as, for example, the ratio of the number of characters in the character string before correction that match the character string after correction to the number of characters in the string before correction. can. Specifically, the number of characters in "BOKUWA" is 6, and the number of characters that match "WATASHIWA" is 2, so the degree of matching between "BOKUWA" and "WATASHIWA" is 2/6 (approximately 33%). . Also, since the number of characters of "JIKAI" is 5 and the number of characters that match "KIKAI" is 4, the degree of matching between "JIKAI" and "KIKAI" is 4/5 (80%). When the predetermined threshold is set to 60%, the model generation unit 123 excludes the character strings "BOKUWA" and "WATASHIWA" before and after the correction from learning targets.

本実施形態では、モデル生成部123は、入力装置10を使用する特定のユーザによる操作情報を学習させて学習済みモデル131を生成することが想定される。複数のユーザが入力装置10を使用する場合、モデル生成部123は、例えば、入力装置10を使用す
るユーザのアカウント情報等を用いてユーザを特定し、ユーザごとに学習済みモデル131を生成してもよい。
In the present embodiment, the model generation unit 123 is assumed to generate the learned model 131 by learning operation information of a specific user who uses the input device 10 . When a plurality of users use the input device 10, the model generating unit 123 identifies the users using, for example, the account information of the users who use the input device 10, and generates a trained model 131 for each user. good too.

推論処理において、誤入力判定部124(「判定部」に相当)は、押下されたキーの情報およびキーの押し方を含む操作情報を、モデル生成部123が生成した学習済みモデル131に入力し、キーの情報に対応する文字列が誤入力であるか否かを判定する。 In the inference process, the erroneous input determination unit 124 (corresponding to the “determination unit”) inputs operation information including information on the pressed key and how to press the key to the learned model 131 generated by the model generation unit 123. , determines whether or not the character string corresponding to the key information is an erroneous input.

誤入力判定部124は、キーの情報として、誤入力の判定対象となる文字列を抽出し、キーの押し方として、それぞれの文字に対応するキーの押込み量を取得する。誤入力判定部124は、抽出した文字列および取得したキーの押込み量を学習済みモデル131に入力し、判定対象の文字列が誤入力であるか否かを判定する。 The erroneous input determination unit 124 extracts a character string to be determined as an erroneous input as key information, and acquires the amount of pressing of the key corresponding to each character as how to press the key. The erroneous input determination unit 124 inputs the extracted character string and the acquired key pressing amount to the learned model 131, and determines whether or not the character string to be determined is an erroneous input.

誤入力の判定対象となる文字列を抽出する方法について説明する。誤入力判定部124は、1文字入力されるごとに、最後に入力された所定数の文字(例えば、10文字とする)を含む文字列を取得し、最後の2文字、3文字、…、10文字の文字列を判定対象の文字列として、押込み量とともに学習済みモデル131に入力する。所定数は、10文字に限られず、誤入力の判定処理の負荷を考慮して2文字以上の数に決定されればよい。 A method for extracting a character string to be judged as an erroneous input will be described. The erroneous input determination unit 124 obtains a character string including a predetermined number of characters (for example, 10 characters) that are last input each time one character is input, and obtains the last two characters, three characters, . A character string of 10 characters is input to the learned model 131 as a character string to be judged along with the amount of pressing. The predetermined number is not limited to 10 characters, and may be determined to be a number of 2 or more characters in consideration of the load of erroneous input determination processing.

また、誤入力判定部124は、入力された文字列の情報を構文解析によって単語単位または節単位の文字列に分解し、直前に入力された文字列を誤入力の判定対象となる文字列として抽出してもよい。誤入力判定部124は、抽出した文字列および各文字に対応するキーの押込み量を操作情報として学習済みモデル131に入力する。誤入力判定部124は、学習済みモデル131の推論結果に基づいて、抽出した文字列が誤入力であるか否かを判定する。 In addition, the erroneous input determination unit 124 decomposes the input character string information into word-based or clause-based character strings by syntactic analysis, and uses the character string that was input immediately before as a character string to be subjected to erroneous input determination. may be extracted. The erroneous input determination unit 124 inputs the extracted character string and the pressing amount of the key corresponding to each character to the learned model 131 as operation information. The erroneous input determination unit 124 determines whether or not the extracted character string is an erroneous input based on the inference result of the trained model 131 .

候補取得部125(「取得部」に相当)は、誤入力であると判定された文字列の修正候補を取得する。候補取得部125は、例えば、判定対象の文字列および各キーの押込み量(操作情報)が入力されると修正候補を出力するように学習させた学習済みモデル131を用いて修正候補を取得する。図1の例では、入力された文字列が“JIKAI”、各キーの押込み量が“12222”である操作情報に対し、学習済みモデル131は、“KIKAI”を修正候補として出力する。 The candidate acquisition unit 125 (corresponding to the “acquisition unit”) acquires correction candidates for the character string determined to be an erroneous input. The candidate acquisition unit 125 acquires correction candidates using a trained model 131 that has been trained to output correction candidates when a character string to be determined and the pressing amount (operation information) of each key are input, for example. . In the example of FIG. 1, the learned model 131 outputs "KIKAI" as a correction candidate for the operation information in which the input character string is "JIKAI" and the pressing amount of each key is "12222".

候補取得部125は、学習済みモデル131を用いて修正候補を取得する場合に限られず、学習処理において記憶部130に記憶させた修正後操作情報から、修正候補を取得してもよい。具体的には、候補取得部125は、誤入力判定部124が誤入力であると判定した文字列と同じ文字列についての修正前操作情報に関連付けられた修正後操作情報の文字列を、修正候補として記憶部130から取得する。 The candidate acquisition unit 125 is not limited to acquiring correction candidates using the trained model 131, and may acquire correction candidates from the post-correction operation information stored in the storage unit 130 in the learning process. Specifically, the candidate acquisition unit 125 corrects the character string of the post-correction operation information associated with the pre-correction operation information for the same character string as the character string that the erroneous input determination unit 124 has determined to be an erroneous input. It is acquired from the storage unit 130 as a candidate.

記憶部130は、修正操作を検出する前に押下されたキーの情報およびキーの押し方を含む修正前操作情報と、修正操作を検出した後に押下されたキーの情報およびキーの押し方を含む修正後操作情報とを関連付けて記憶する。修正前操作情報および修正後操作情報は、操作情報取得部122によって取得される。また、記憶部130は、モデル生成部123が生成した学習済みモデル131を記憶する。 Storage unit 130 includes pre-correction operation information including information on keys pressed before detection of a correction operation and how to press keys, and information on keys pressed after detection of a correction operation and how to press keys. It is stored in association with post-correction operation information. The operation information before correction and the operation information after correction are acquired by the operation information acquisition unit 122 . The storage unit 130 also stores the learned model 131 generated by the model generation unit 123 .

学習済みモデル131は、誤入力を推論するための学習済みモデルである。学習済みモデル131は、例えば、ユーザによる操作情報(キーの情報およびキーの押し方)を入力データとして、キーの情報に対応する判定対象の文字列が誤入力であるか否かを推論する。具体的には、学習済みモデル131は、判定対象の文字列が誤入力である確率(信頼度)を出力する。この場合、誤入力判定部124は、判定対象の文字列が誤入力である確率が所定値(例えば、80%)以上である場合に、入力された文字列が誤入力であると判定
することができる。
A trained model 131 is a trained model for inferring an erroneous input. The learned model 131 uses, for example, user operation information (key information and how to press a key) as input data, and infers whether or not the character string to be determined corresponding to the key information is an erroneous input. Specifically, the trained model 131 outputs the probability (reliability) that the character string to be determined is an erroneous input. In this case, the erroneous input determination unit 124 determines that the input character string is an erroneous input when the probability that the character string to be determined is an erroneous input is a predetermined value (for example, 80%) or more. can be done.

また、学習済みモデル131は、キーの情報に対応する文字列が誤入力である場合に修正候補の文字列を推論するように生成されてもよい。この場合、学習済みモデル131は、ユーザによる操作情報を入力データとして、修正候補の文字列およびその信頼度を出力する。学習済みモデル131は、複数の修正候補およびそれぞれの信頼度を出力してもよい。 Also, the trained model 131 may be generated so as to infer a correction candidate character string when the character string corresponding to the key information is an incorrect input. In this case, the learned model 131 outputs a character string of a correction candidate and its reliability using operation information by the user as input data. The trained model 131 may output multiple revision candidates and their respective confidences.

誤入力判定部124は、例えば、修正候補が出力され、修正候補の信頼度が所定値(例えば、60%)以上である場合に、判定対象の文字列が誤入力であると判定することができる。また、修正候補が出力されなかった場合、または修正候補の信頼度が所定値未満である場合に、判定対象の文字列が誤入力でないと判定することができる。 For example, when a correction candidate is output and the reliability of the correction candidate is equal to or higher than a predetermined value (eg, 60%), the erroneous input determination unit 124 may determine that the character string to be determined is an erroneous input. can. Further, when no correction candidate is output or when the reliability of the correction candidate is less than a predetermined value, it can be determined that the character string to be determined is not an erroneous input.

表示部140は、ディスプレイ等であって、候補取得部125が取得した修正候補を表示(提示)する。表示部140は、誤入力と判定された文字列を削除して、取得した修正候補に自動で修正する。 The display unit 140 is a display or the like, and displays (presents) the correction candidates acquired by the candidate acquisition unit 125 . The display unit 140 deletes the character string determined to be an erroneous input and automatically corrects it to the acquired correction candidate.

また、表示部140は、誤入力であると判定された文字列とともに修正候補を提示してもよい。自動で修正するのではなく修正候補を提示することで、ユーザは、修正候補を確認してから、入力した文字列を修正する否かを判断することができる。 In addition, the display unit 140 may present correction candidates together with the character string determined to be an erroneous input. By presenting correction candidates instead of automatically correcting, the user can determine whether or not to correct the input character string after confirming the correction candidates.

表示部140は、候補取得部125が複数の修正候補を取得した場合、取得した複数の修正候補をユーザが選択可能に提示してもよい。ユーザは、複数の修正候補から、入力しようとした文字列により近い修正候補を選択することができる。 When the candidate acquiring unit 125 acquires a plurality of correction candidates, the display unit 140 may present the acquired plurality of correction candidates so that the user can select them. The user can select a correction candidate closer to the character string to be input from a plurality of correction candidates.

表示部140は、修正前の文字列および修正候補の少なくともいずれかにおいて、修正箇所を強調表示してもよい。表示部140は、例えば、文字色を変更したり、マーカを付したりすることにより、修正箇所を強調表示することができる。 The display unit 140 may highlight the corrected portion in at least one of the character string before correction and the correction candidate. The display unit 140 can highlight the corrected portion by, for example, changing the character color or adding a marker.

なお、図2の各機能部は、個別のハードウェアであってもよいし、そうでなくてもよい。2つ以上の機能部の機能が、共通のハードウェアによって実現されてもよい。1つの機能部の複数の機能のそれぞれが、個別のハードウェアによって実現されてもよい。1つの機能部の2つ以上の機能が、共通のハードウェアによって実現されてもよい。また、各機能部は、ハードウェアによって実現されてもよいし、そうでなくてもよい。例えば、装置が、プロセッサと、制御プログラムが格納されたメモリとを有していてもよい。そして、装置が有する少なくとも一部の機能部の機能が、プロセッサがメモリから制御プログラムを読み出して実行することにより実現されてもよい。 Note that each functional unit in FIG. 2 may or may not be separate hardware. Functions of two or more functional units may be implemented by common hardware. Each of the multiple functions of one functional unit may be implemented by separate hardware. Two or more functions of one functional unit may be realized by common hardware. Also, each functional unit may or may not be implemented by hardware. For example, a device may have a processor and a memory in which a control program is stored. The functions of at least some of the functional units of the device may be realized by the processor reading out and executing the control program from the memory.

(学習処理)
図4を参照して、学習処理について説明する。図4に示す学習処理は、例えば、ユーザからの指示によって開始および終了する。
(learning process)
The learning process will be described with reference to FIG. The learning process shown in FIG. 4 is started and ended by an instruction from the user, for example.

S101では、キーボード110は、ユーザからのキー入力を待機する。S102では、修正検出部121は、ユーザからのキー入力で修正操作を検出したか否かを判定する。修正操作は、Backspaceキー等を押下する操作である。修正操作を検出した場合、処理はS103に進む。修正操作を検出していない場合、処理はS101に戻る。 In S101, the keyboard 110 waits for key input from the user. In S102, the correction detection unit 121 determines whether or not a correction operation has been detected by key input from the user. A correction operation is an operation of pressing a Backspace key or the like. If a correction operation is detected, the process proceeds to S103. If no correction operation has been detected, the process returns to S101.

S103では、操作情報取得部122は、修正前後の操作情報を取得する。修正前操作情報は、修正前の文字列およびそれぞれの文字に対応するキーの押込み量である。修正前の文字列は、例えば、Backspaceキー等により連続して削除された文字列、また
は修正された文字とその後に入力されていた文字を含む文字列等である。
In S103, the operation information acquisition unit 122 acquires operation information before and after correction. The pre-correction operation information is the pre-correction character string and the key depression amount corresponding to each character. The character string before correction is, for example, a character string that is continuously deleted by using the Backspace key or the like, or a character string that includes corrected characters and subsequent characters that have been input.

修正後操作情報は、修正後の文字列である。修正後の文字列は、例えば、修正操作を検出した後に入力された文字列であって、修正前の文字列の文字数と同じ文字数の文字列とすることができる。 The corrected operation information is a character string after correction. The post-correction character string is, for example, a character string input after detection of a correction operation, and can be a character string having the same number of characters as the pre-correction character string.

図1の例では、操作情報取得部122は、修正前操作情報として文字列“JIKAI”および押込み量“12222”を取得する。また、操作情報取得部122は、修正後操作情報として文字列“KIKAI”を取得する。 In the example of FIG. 1, the operation information acquisition unit 122 acquires the character string "JIKAI" and the pressing amount "12222" as the pre-correction operation information. Further, the operation information acquisition unit 122 acquires the character string “KIKAI” as the post-correction operation information.

S104では、モデル生成部123は、S103で取得した修正前操作情報および修正後操作情報を用いて、機械学習により誤入力を推論する学習済みモデル131を生成する。モデル生成部123は、ユーザがキーボードを使用している間、修正操作の前後に入力された文字列の情報、および各キーの押込み量の情報を収集し、ユーザの間違え方の傾向を学習させた学習済みモデル131を生成することができる。 In S104, the model generating unit 123 uses the pre-correction operation information and the post-correction operation information acquired in S103 to generate the learned model 131 for inferring an erroneous input by machine learning. While the user is using the keyboard, the model generation unit 123 collects information on the character strings input before and after the correction operation and information on the pressing amount of each key, and learns the tendency of the user to make mistakes. A trained model 131 can be generated.

なお、入力装置10は、学習済みモデル131を生成するモードである学習モードに設定されている間、学習処理を実行してもよい。学習モードのオン/オフは、ユーザによって切替可能である。 Note that the input device 10 may perform the learning process while being set to the learning mode, which is the mode for generating the trained model 131 . On/off of the learning mode can be switched by the user.

(推論処理)
図5を参照して、推論処理について説明する。図5に示す推論処理は、例えば、ユーザからの指示によって開始および終了する。
(inference processing)
The inference processing will be described with reference to FIG. The inference processing shown in FIG. 5 is started and ended by an instruction from the user, for example.

S201では、キーボード110は、ユーザからのキー入力を待機する。S202では、誤入力判定部124は、学習処理で生成された学習済みモデル131を用いて、キーボード110から入力された文字列が誤入力であるか否かを判定する。 In S201, the keyboard 110 waits for key input from the user. In S202, the erroneous input determination unit 124 determines whether or not the character string input from the keyboard 110 is an erroneous input using the learned model 131 generated in the learning process.

誤入力判定部124は、キーの情報として入力された判定対象の文字列を取得し、キーの押し方としてキーの押込み量を取得する。誤入力判定部124は、取得した文字列およびそれぞれの文字のキーの押込み量を学習済みモデル131に入力し、入力された文字列が誤入力であるか否かを判定することができる。判定対象の文字列が誤入力である場合、処理はS203に進む。判定対象の文字列が誤入力でない場合、処理はS201に戻る。 The erroneous input determination unit 124 acquires the input character string to be determined as the key information, and acquires the key pressing amount as the key pressing method. The erroneous input determination unit 124 can input the acquired character string and the key depression amount of each character to the learned model 131, and determine whether or not the input character string is an erroneous input. If the character string to be determined is an erroneous input, the process proceeds to S203. If the character string to be determined is not an erroneous input, the process returns to S201.

S202で、判定対象の文字列が誤入力であると判定された場合、キーボード110は、所定時間、ユーザからの入力を無効にするようにしてもよい。キーボード110からの入力を無効にすることで、ユーザは、誤入力がある状態で入力し続けることを回避し、間違いに気づくまでに入力した内容を削除する手間を軽減することができる。所定時間は、例えば、誤入力と判定されてから、ユーザが間違いに気づいてキー入力を停止するまでの時間である。 If it is determined in S202 that the character string to be determined is an erroneous input, the keyboard 110 may disable input from the user for a predetermined period of time. By invalidating the input from the keyboard 110, the user can avoid continuous input with an erroneous input, and can reduce the trouble of deleting the input contents before realizing the error. The predetermined time is, for example, the time from when the input is determined to be erroneous to when the user notices the mistake and stops key input.

S203では、候補取得部125は、S202で誤入力と判定された文字列に基づいて、修正候補を取得する。候補取得部125は、誤入力と判定された文字列を学習済みモデル131に入力して修正候補を取得してもよく、記憶部130から、誤入力と判定された文字列に対応する修正後操作情報の文字列を、修正候補として取得してもよい。 In S203, the candidate acquisition unit 125 acquires correction candidates based on the character string determined to be an erroneous input in S202. The candidate acquisition unit 125 may acquire correction candidates by inputting a character string determined to be an erroneous input into the learned model 131 . You may acquire the character string of operation information as a correction candidate.

S204では、表示部140は、S203で取得した修正候補をディスプレイに提示する。表示部140によって、誤入力の文字列が修正候補に自動で変換された場合、ユーザは、修正の手間を軽減することができる。表示部140によって、誤入力の文字列に対する修正候補が提示された場合、ユーザは、意図した修正であるか否かを確認してから修正
候補に変換することができる。
In S204, the display unit 140 presents the correction candidates acquired in S203 on the display. When display unit 140 automatically converts an erroneously input character string into a correction candidate, the user can reduce the trouble of correction. When a correction candidate for an erroneously input character string is presented by the display unit 140, the user can confirm whether the correction is intended or not before converting it to a correction candidate.

なお、入力装置10は、誤入力を検知して修正するモードである推論モードに設定されている間、推論処理を実行してもよい。推論モードのオン/オフは、ユーザによって切替可能である。 Note that the input device 10 may perform inference processing while being set to an inference mode, which is a mode in which erroneous inputs are detected and corrected. The inference mode can be switched on/off by the user.

上記の実施形態によれば、入力装置10は、ユーザのキーの打ち間違い方の傾向を機械学習により学習させた学習済みモデル131を用いることで、キーの打ち間違いを精度良く検知することができる。また、入力装置10は、誤入力と判定された文字列を修正候補に変換したり、修正候補を提示したりすることで、タイピング速度を向上させることができる。 According to the above-described embodiment, the input device 10 uses the learned model 131 in which the tendency of the user's keystroke mistakes is learned by machine learning, thereby accurately detecting keystroke mistakes. . In addition, the input device 10 can improve typing speed by converting a character string determined to be an erroneous input into a correction candidate or presenting the correction candidate.

<変形例1>
上記の実施形態では、入力装置10は、特定のユーザの打ち間違い方の傾向を学習することにより、学習済みモデル131を生成する。変形例1では、入力装置10は、複数のユーザの打ち間違い方の傾向を学習して学習済みモデル131を生成する。すなわち、入力装置10は、複数のユーザが入力した修正前操作情報および修正後操作情報を用いて、学習済みモデルを生成する。
<Modification 1>
In the above embodiment, the input device 10 generates the learned model 131 by learning the tendency of a specific user's typographical errors. In Modified Example 1, the input device 10 learns the tendency of multiple users to make typos and generates a learned model 131 . That is, the input device 10 generates a learned model using pre-correction operation information and post-correction operation information input by a plurality of users.

入力装置10は、ユーザを区別することなく、様々なユーザの誤入力の情報を学習することで、一般的な間違え方に対応した学習済みモデル131を生成することができる。一般的な間違え方は、例えば“S”を押下しようとして左隣の“A”を、標準より少ない押込み量“1”で押下したような場合である。ユーザは、自身の間違え方を学習させる前であっても、一般的な間違え方に対応した学習済みモデル131を用いることで、キーの打ち間違いを効率よく修正することができる。 The input device 10 can generate a trained model 131 corresponding to common mistakes by learning information about various user input errors without distinguishing between users. A common mistake is, for example, when trying to press "S", the "A" to the left is pressed with an amount of "1" that is less than the standard pressing amount. By using the trained model 131 corresponding to common mistakes, the user can efficiently correct keystroke mistakes even before learning his/her own mistakes.

<変形例2>
上記の実施形態では、図3に示すように、キーボード110は、それぞれのキーのキートップの内側に、キーの押下を検知する1つのスイッチ111を有する。変形例2では、各キーは複数のスイッチを有する。
<Modification 2>
In the above embodiment, as shown in FIG. 3, the keyboard 110 has one switch 111 inside the key top of each key for detecting key depression. In variant 2, each key has a plurality of switches.

図6は、キーの押下を検知する複数のスイッチを例示する図である。図6の例では、キートップの内側には、キーの押下を検知する複数のスイッチ111a~スイッチ111dが設けられている。キーボード110は、各キーに複数のスイッチ111a~スイッチ111dを設けることで、キーの押し方として、キー表面のどの辺りを押下したかという押込み位置の情報を取得することができる。 FIG. 6 is a diagram illustrating a plurality of switches for detecting key presses. In the example of FIG. 6, a plurality of switches 111a to 111d are provided inside the key top to detect key depression. By providing a plurality of switches 111a to 111d for each key, the keyboard 110 can obtain information on the pressing position, which is the area of the key surface pressed, as a method of pressing the key.

変形例2では、スイッチ111a~スイッチ111dは、押下されたか否かを検知することができればよく、入力装置10は、例えば、複数のスイッチのうち、最初にどのスイッチが反応したかを検知する。入力装置10は、スイッチ111a~スイッチ111dのうち、最初に反応したスイッチの位置をキーの押込み位置として取得することができる。モデル生成部123は、キーの押し方としてキーの押込み位置を学習させた学習済みモデル131を生成し、入力装置10は、押込み位置を考慮して誤入力を判定することができるようになる。 In Modified Example 2, it is sufficient that the switches 111a to 111d are capable of detecting whether or not they have been pressed, and the input device 10 detects, for example, which of the plurality of switches responds first. The input device 10 can acquire the position of the switch that responds first among the switches 111a to 111d as the key depression position. The model generating unit 123 generates a learned model 131 that has learned the key pressing position as a key pressing method, and the input device 10 can determine an erroneous input in consideration of the key pressing position.

なお、入力装置10は、キーの押し方として、各キーが備える複数のスイッチの押込み順序を取得してもよい。モデル生成部123は、キーの押し方として複数のスイッチの押込み順序を学習させた学習済みモデル131を生成し、入力装置10は、複数のスイッチの押込み順序を考慮して誤入力を判定することができるようになる。 Note that the input device 10 may acquire the pressing order of a plurality of switches included in each key as how to press the keys. The model generating unit 123 generates a learned model 131 by learning the pressing order of the plurality of switches as how to press the keys. will be able to

また、入力装置10は、キーの押し方として、複数のスイッチのそれぞれの押込み量を取得してもよい。モデル生成部123は、キーの押し方として複数のスイッチの押込み量を学習させた学習済みモデル131を生成し、入力装置10は、複数のスイッチの押込み量を考慮して誤入力を判定することができるようになる。 Further, the input device 10 may acquire the pressing amount of each of a plurality of switches as how to press the key. The model generating unit 123 generates a learned model 131 by learning the amount of depression of a plurality of switches as a method of pressing a key, and the input device 10 determines an erroneous input by considering the amount of depression of a plurality of switches. will be able to

図7を参照して、複数のスイッチの押込み量の取得について説明する。図7は、“KIKAI”を“JIKAI”と打ち間違えた例を示す。修正前の文字列は“JIKAI”である。また、標準の押込み量を“2”、標準より少ない押込み量を“1”、押込みがない状態を“0”とした場合、“J”のスイッチ111a~スイッチ111dに対する押込み量はそれぞれ“1”、“1”、“0”、“0”である。 With reference to FIG. 7, acquisition of push amounts of a plurality of switches will be described. FIG. 7 shows an example of mistyping "KIKAI" as "JIKAI". The character string before correction is "JIKAI". If the standard push amount is "2", the push amount less than the standard is "1", and the state of no push is "0", the push amounts of "J" for the switches 111a to 111d are "1". , "1", "0", "0".

図7の例は、“K”のキー側に位置するスイッチ111b、および“K”の次に入力される“I”のキー側に位置するスイッチ111aは、標準より少ないものの押込みがあったことを示す。一方、“K”および“I”のキーから離れた位置にあるスイッチ111cおよびスイッチ111dは、押込みを検知していない。 In the example of FIG. 7, the switch 111b located on the key side of "K" and the switch 111a located on the key side of "I" to be input next to "K" were depressed less than the standard. indicates On the other hand, the switches 111c and 111d located away from the "K" and "I" keys have not detected their depression.

モデル生成部123は、キーの押し方として複数のスイッチのそれぞれの押込み量を学習させた学習済みモデル131を生成し、入力装置10は、複数のスイッチの押込み量を考慮して誤入力を判定することができるようになる。 The model generation unit 123 generates a learned model 131 by learning the amount of depression of each of the plurality of switches as how to press a key, and the input device 10 determines an erroneous input in consideration of the amount of depression of the plurality of switches. be able to

生成した学習済みモデル131を用いて、誤入力判定部124は、スイッチ111a~スイッチ111dに対する押込み量が“1”、“1”、“0”、“0”である場合には、“JIKAI”が“KIKAI”の誤入力であると判定することができる。これに対し、ユーザが意図的に“JIKAI”という文字列を入力した場合であれば、スイッチ111a~スイッチ111dに対する押込み量は“2”、“2”、“2”、“2”となることが想定される。この場合、誤入力判定部124は、“JIKAI”(押込み量は“2”、“2”、“2”、“2”)の入力が誤入力ではないと判定することができる。 Using the generated trained model 131, the erroneous input determination unit 124 selects "JIKAI" when the pressing amounts of the switches 111a to 111d are "1", "1", "0", and "0". is an erroneous input of "KIKAI". On the other hand, if the user intentionally inputs the character string "JIKAI", the pressing amounts for the switches 111a to 111d will be "2", "2", "2", "2". is assumed. In this case, the erroneous input determination unit 124 can determine that the input of "JIKAI" (pressing amount is "2", "2", "2", "2") is not an erroneous input.

変形例2では、操作情報取得部122は、キーの押し方として、キーの押込み位置、複数のスイッチの押込み順序、および複数のスイッチの押込み量等を取得する。モデル生成部123は、操作情報取得部122が取得した情報のうち少なくともいずれかを、キーの押し方として学習させた学習済みモデル131を生成する。キーの押込み位置、複数のスイッチの押込み順序、および複数のスイッチの押込み量等を考慮することで、入力装置10は、キーの打ち間違いを精度良く検知することができる。 In Modified Example 2, the operation information acquisition unit 122 acquires the key pressing position, the pressing order of the plurality of switches, the pressing amount of the plurality of switches, and the like as the key pressing method. The model generation unit 123 generates a learned model 131 by learning at least one of the information acquired by the operation information acquisition unit 122 as how to press a key. The input device 10 can accurately detect keystroke errors by considering the key depression position, the order of depression of the plurality of switches, the amount of depression of the plurality of switches, and the like.

また、複数のスイッチの数および配置は、図7の例に限られない。1つのキーの内側に配置可能な数のスイッチが、図7と同様に各辺に沿って配置されてもよく、各角または中央に配置されてもよい。 Also, the number and arrangement of the plurality of switches are not limited to the example in FIG. As many switches as can be placed inside one key may be placed along each side, as in FIG. 7, or placed at each corner or in the center.

<変形例3>
上記の実施形態では、入力装置10は、キーの押し方としてキーの押込み量を検知する。また、変形例2では、入力装置10は、キーの押し方としてキーの押込み位置等を検知する。変形例3では、入力装置10は、さらにキー入力の時間間隔を計測し、誤入力の判定に用いる。
<Modification 3>
In the above-described embodiment, the input device 10 detects the amount of pressing of the key as how to press the key. Further, in Modified Example 2, the input device 10 detects the pressing position of the key as the method of pressing the key. In Modified Example 3, the input device 10 further measures the time interval between key inputs and uses it to determine erroneous inputs.

図8は、入力するキーの順序が逆になる誤入力について説明する図である。右手による入力と左手による入力とのキー入力の時間間隔が短くなり、ユーザは、次に左手で押下する予定だったキーを、右手で押下するキーよりも先に入力してしまう場合がある。図8の例では、ユーザは“K”→“A”の順に入力しようとして、誤って“A”→“K”の順に入力してしまう場合がある。 FIG. 8 is a diagram for explaining an erroneous input in which the order of keys to be input is reversed. The time interval between the key input by the right hand and the key input by the left hand is shortened, and the user may input the key to be pressed next with the left hand earlier than the key to be pressed with the right hand. In the example of FIG. 8, the user may mistakenly input "A"→"K" when attempting to input "K"→"A".

誤って“A”→“K”の順に入力した場合、“A”と“K”とのキー入力の時間間隔は、略同時のタイミングになることが想定される。このように、キー入力の時間間隔が、ユーザの平均的なキー入力の時間間隔と異なる(例えば、短くなる)場合、ユーザは打ち間違えた可能性がある。一方、キー入力の時間間隔が、ユーザの平均的なキー入力の時間間隔に略等しい場合、ユーザは、意図して“A”→“K”の順に入力したと考えられる。 If the keys are erroneously input in the order of “A”→“K”, it is assumed that the time intervals between the key inputs of “A” and “K” will be approximately the same timing. Thus, if the time interval between keystrokes is different (eg, shorter) than the user's average time interval between keystrokes, the user may have made a typo. On the other hand, if the key input time interval is substantially equal to the user's average key input time interval, it is considered that the user intentionally input "A"→"K" in that order.

図9は、変形例3に係る入力装置の構成を例示するブロック図である。入力装置10は、キー入力の時間間隔を計測するタイマー150を備える。タイマー150以外の構成は、図2に示す構成と同様であるため、上記実施形態および各変形例と異なる内容について説明する。 FIG. 9 is a block diagram illustrating the configuration of an input device according to Modification 3. As shown in FIG. The input device 10 includes a timer 150 that measures time intervals between key inputs. Since the configuration other than the timer 150 is the same as the configuration shown in FIG. 2, the contents different from the above embodiment and each modified example will be described.

操作情報取得部122は、タイマー150が計測したキー入力の時間間隔を、キーの押し方として取得する。モデル生成部123は、キー入力の時間間隔を学習させた学習済みモデル131を生成し、入力装置10は、キー入力の時間間隔を考慮して誤入力を判定することができるようになる。したがって、入力装置10は、左右の手で入力するキーの入力順序が逆になった場合にも、誤入力を精度良く検知することができる。 The operation information acquisition unit 122 acquires the key input time interval measured by the timer 150 as the key press method. The model generation unit 123 generates a trained model 131 that has learned the key input time interval, and the input device 10 can determine an erroneous input in consideration of the key input time interval. Therefore, the input device 10 can accurately detect an erroneous input even when the input order of the keys to be input with the left and right hands is reversed.

<その他>
上記の実施形態および各変形例は、本発明の構成例を例示的に説明するものに過ぎない。本発明は上記の具体的な形態には限定されることはなく、その技術的思想の範囲内で種々の変形が可能である。
<Others>
The above-described embodiment and modifications are merely illustrative examples of the configuration of the present invention. The present invention is not limited to the specific forms described above, and various modifications are possible within the technical scope of the present invention.

なお、上記の実施形態では、学習処理と推論処理とは、別々に実行されるものとして説明したが、並行して実行されてもよい。学習処理を継続して実行することで、入力装置10は、より高精度に誤入力を判定する学習済みモデル131を生成することができる。 Note that in the above embodiment, the learning process and the inference process are described as being executed separately, but they may be executed in parallel. By continuously executing the learning process, the input device 10 can generate the trained model 131 that determines an erroneous input with higher accuracy.

また、上記実施形態では、入力装置10が、学習済みモデル131を生成する例を説明したが、学習済みモデル131は、入力装置10と通信可能な外部装置で生成されてもよい。この場合、外部装置は、操作情報取得部122が取得した修正前操作情報および修正後操作情報を、入力装置10からオンラインで取得する。外部装置は、入力装置10から取得した修正前操作情報および修正後操作情報を用いて、モデル生成部123と同様に学習済みモデル131を生成することができる。 Further, in the above-described embodiment, an example in which the input device 10 generates the trained model 131 has been described, but the trained model 131 may be generated by an external device capable of communicating with the input device 10 . In this case, the external device acquires the pre-correction operation information and the post-correction operation information acquired by the operation information acquiring unit 122 from the input device 10 online. The external device can use the pre-correction operation information and the post-correction operation information acquired from the input device 10 to generate the learned model 131 in the same manner as the model generation unit 123 .

また、キーの情報は、キーの配置の情報を含んでもよい。キーの配置の情報は、例えば、修正前の文字のキー(文字以外のキーも含む)と修正後の文字のキーとが隣接するか否かの情報である。 The key information may also include key arrangement information. The key arrangement information is, for example, information as to whether or not the character keys before correction (including keys other than characters) and the character keys after correction are adjacent to each other.

操作情報取得部122は、キーの配置の情報を、キーの情報として取得する。モデル生成部123は、キーの配置の情報を学習させた学習済みモデル131を生成し、入力装置10は、キーの配置の情報を考慮して誤入力を判定することができるようになる。キーの打ち間違いは、隣接するキーの間で生じやすいため、キーの配置の情報を学習することで、入力装置10は、誤入力を精度良く検知することができる。 The operation information acquisition unit 122 acquires information on the layout of the keys as information on the keys. The model generation unit 123 generates a trained model 131 that has learned the key arrangement information, and the input device 10 can determine an erroneous input in consideration of the key arrangement information. Since erroneous keystrokes are likely to occur between adjacent keys, the input device 10 can accurately detect erroneous inputs by learning key arrangement information.

<付記1>
キーの押し方を検知するセンサ(110a)を備えるキーボード(110)と、
前記キーボード(110)による入力内容を修正するための操作である修正操作を検出する修正検出部(121)と、
前記修正操作を検出する前に押下されたキーの情報および前記キーの押し方を含む修正前操作情報と、前記修正操作を検出した後に押下された前記キーの情報である修正後操作
情報と、を取得する操作情報取得部(122)と、
誤入力を推論する学習済みモデル(131)を、前記修正前操作情報および前記修正後操作情報を用いて生成する生成部(123)と、
を備える入力装置(10)。
<Appendix 1>
a keyboard (110) comprising a sensor (110a) for detecting how a key is pressed;
a correction detection unit (121) for detecting a correction operation, which is an operation for correcting the input content through the keyboard (110);
Pre-correction operation information including information on the key pressed before the correction operation is detected and how to press the key, and post-correction operation information that is information on the key pressed after the correction operation is detected; an operation information acquisition unit (122) that acquires
a generation unit (123) that generates a trained model (131) for inferring an erroneous input using the pre-correction operation information and the post-correction operation information;
An input device (10) comprising:

<付記2>
キーの押し方を検知するセンサ(110a)を備えるキーボード(110)と、
押下されたキーの情報および前記キーの押し方を含む操作情報を、誤入力を推論する学習済みモデル(131)に入力し、前記キーの情報に対応する文字列が誤入力であるか否かを判定する判定部(124)と、
誤入力であると判定された前記文字列の修正候補を取得する取得部(125)と、
前記修正候補を提示する表示部(140)と、
を備える入力装置(10)。
<Appendix 2>
a keyboard (110) comprising a sensor (110a) for detecting how a key is pressed;
Operation information including information on the pressed key and how to press the key is input to a trained model (131) for inferring an erroneous input, and whether or not the character string corresponding to the information on the key is an erroneous input. A determination unit (124) that determines
an acquisition unit (125) for acquiring a correction candidate for the character string determined to be an erroneous input;
a display unit (140) for presenting the correction candidate;
An input device (10) comprising:

<付記3>
キーの押し方を検知するセンサ(110a)を備えるキーボード(110)と、
前記キーボード(110)による入力内容を修正するための操作である修正操作を検出する修正検出部(121)と、
前記修正操作を検出する前に押下されたキーの情報および前記キーの押し方を含む修正前操作情報と、前記修正操作を検出した後に押下された前記キーの情報である修正後操作情報と、を取得する操作情報取得部(122)と、
誤入力を推論する学習済みモデル(131)を、前記修正前操作情報および前記修正後操作情報を用いて生成する生成部(123)と、
押下されたキーの情報および前記キーの押し方を含む操作情報を、前記学習済みモデル(131)に入力し、前記キーの情報に対応する文字列が誤入力であるか否かを判定する判定部(124)と、
誤入力であると判定された前記文字列の修正候補を取得する取得部(125)と、
前記修正候補を提示する表示部(140)と、
を備える情報処理装置(10)。
<Appendix 3>
a keyboard (110) comprising a sensor (110a) for detecting how a key is pressed;
a correction detection unit (121) for detecting a correction operation, which is an operation for correcting the input content through the keyboard (110);
Pre-correction operation information including information on the key pressed before the correction operation is detected and how to press the key, and post-correction operation information that is information on the key pressed after the correction operation is detected; an operation information acquisition unit (122) that acquires
a generation unit (123) that generates a trained model (131) for inferring an erroneous input using the pre-correction operation information and the post-correction operation information;
Operation information including information on the pressed key and how to press the key is input to the learned model (131), and determination is made to determine whether or not the character string corresponding to the information on the key is an erroneous input. a part (124);
an acquisition unit (125) for acquiring a correction candidate for the character string determined to be an erroneous input;
a display unit (140) for presenting the correction candidate;
An information processing device (10) comprising:

<付記4>
キーの押し方を検知するセンサ(110a)を備えるキーボード(110)を備える入力装置(10)の制御方法であって、
前記キーボード(110)による入力内容を修正するための操作である修正操作を検出する修正検出ステップ(S102)と、
前記修正操作を検出する前に押下されたキーの情報および前記キーの押し方を含む修正前操作情報と、前記修正操作を検出した後に押下された前記キーの情報である修正後操作情報と、を取得する操作情報取得ステップ(S103)と、
誤入力を推論する学習済みモデル(131)を、前記修正前操作情報および前記修正後操作情報を用いて生成する生成ステップ(S104)と、
を含む入力装置(10)の制御方法。
<Appendix 4>
A control method for an input device (10) comprising a keyboard (110) comprising a sensor (110a) for detecting how a key is pressed, comprising:
a correction detection step (S102) of detecting a correction operation, which is an operation for correcting the input content through the keyboard (110);
Pre-correction operation information including information on the key pressed before the correction operation is detected and how to press the key, and post-correction operation information that is information on the key pressed after the correction operation is detected; an operation information acquisition step (S103) for acquiring
a generation step (S104) of generating a trained model (131) for inferring an erroneous input using the pre-correction operation information and the post-correction operation information;
A method of controlling an input device (10) comprising:

<付記5>
キーの押し方を検知するセンサ(110a)を備えるキーボード(110)を備える入力装置(10)の制御方法であって、
押下されたキーの情報および前記キーの押し方を含む操作情報を、誤入力を推論する学習済みモデル(131)に入力し、前記キーの情報に対応する文字列が誤入力であるか否かを判定する判定ステップ(S202)と、
誤入力であると判定された前記文字列の修正候補を取得する取得ステップ(S203)と、
前記修正候補を提示する表示ステップ(S204)と、
を含む入力装置(10)の制御方法。
<Appendix 5>
A control method for an input device (10) comprising a keyboard (110) comprising a sensor (110a) for detecting how a key is pressed, comprising:
Operation information including information on the pressed key and how to press the key is input to a trained model (131) for inferring an erroneous input, and whether or not the character string corresponding to the information on the key is an erroneous input. A determination step (S202) for determining
an acquisition step (S203) of acquiring a correction candidate for the character string determined to be an erroneous input;
a display step (S204) of presenting the correction candidate;
A method of controlling an input device (10) comprising:

10:入力装置、110:キーボード、110a:センサ、111:スイッチ、111a:スイッチ、111b:スイッチ、111c:スイッチ、111d:スイッチ、120:制御部、121:修正検出部、122:操作情報取得部、123:モデル生成部、124:誤入力判定部、125:候補取得部、130:記憶部、131:モデル、140:表示部、150:タイマー 10: input device, 110: keyboard, 110a: sensor, 111: switch, 111a: switch, 111b: switch, 111c: switch, 111d: switch, 120: control unit, 121: correction detection unit, 122: operation information acquisition unit , 123: model generation unit, 124: erroneous input determination unit, 125: candidate acquisition unit, 130: storage unit, 131: model, 140: display unit, 150: timer

Claims (24)

キーの押し方を検知するセンサを有するキーボードと、
前記キーボードによる入力内容を修正するための操作である修正操作を検出する修正検出部と、
前記修正操作を検出する前に押下されたキーの情報および前記キーの押し方を含む修正前操作情報と、前記修正操作を検出した後に押下された前記キーの情報である修正後操作情報と、を取得する操作情報取得部と、
誤入力を推論する学習済みモデルを、前記修正前操作情報および前記修正後操作情報を用いて生成する生成部と、
を備える入力装置。
a keyboard having a sensor that detects how a key is pressed;
a correction detection unit that detects a correction operation, which is an operation for correcting the input content from the keyboard;
Pre-correction operation information including information on the key pressed before the correction operation is detected and how to press the key, and post-correction operation information that is information on the key pressed after the correction operation is detected; an operation information acquisition unit that acquires
a generation unit that generates a trained model for inferring an erroneous input using the pre-correction operation information and the post-correction operation information;
An input device comprising
前記学習済みモデルは、押下されたキーの情報および前記キーの押し方を含む操作情報が入力されると、前記キーの情報に対応する文字列が誤入力である場合に修正候補を推論するように学習させたモデルである、
請求項1に記載の入力装置。
When operation information including information on a pressed key and how to press the key is input, the trained model infers a correction candidate when a character string corresponding to the information on the key is an incorrect input. is a model trained on
The input device according to claim 1.
前記生成部は、特定のユーザによる前記修正前操作情報および前記修正後操作情報を用いて、前記学習済みモデルを生成する、
請求項1または2に記載の入力装置。
The generating unit generates the learned model using the pre-correction operation information and the post-correction operation information by a specific user.
3. The input device according to claim 1 or 2.
前記生成部は、複数のユーザによる前記修正前操作情報および前記修正後操作情報を用いて、前記学習済みモデルを生成する、
請求項1から3のいずれか1項に記載の入力装置。
The generation unit generates the learned model using the pre-correction operation information and the post-correction operation information by a plurality of users.
The input device according to any one of claims 1 to 3.
前記修正操作は、BackspaceキーまたはDeleteキーを押下する操作である、
請求項1から4のいずれか1項に記載の入力装置。
The correction operation is an operation of pressing the Backspace key or the Delete key,
The input device according to any one of claims 1 to 4.
前記キーボードは、キーの内側にスイッチを備え、
前記センサは、前記スイッチの押込み量または押下圧を計測する、
請求項1から5のいずれか1項に記載の入力装置。
The keyboard comprises switches inside the keys,
The sensor measures the amount of depression or pressure of the switch,
The input device according to any one of claims 1 to 5.
前記キーボードの各キーは、複数の前記スイッチを備え、
前記操作情報取得部は、複数の前記スイッチの押込み順序または前記スイッチの押込み量に基づいてキーの押込み位置を取得する、
請求項6に記載の入力装置。
each key of the keyboard comprises a plurality of the switches;
The operation information acquisition unit acquires the key depression position based on the order in which the plurality of switches are depressed or the amount of depression of the switches.
The input device according to claim 6.
キーの押し方を検知するセンサを有するキーボードと、
押下されたキーの情報および前記キーの押し方を含む操作情報を、誤入力を推論する学習済みモデルに入力し、前記キーの情報に対応する文字列が誤入力であるか否かを判定する判定部と、
誤入力であると判定された前記文字列の修正候補を取得する取得部と、
前記修正候補を提示する表示部と、
を備える入力装置。
a keyboard having a sensor that detects how a key is pressed;
Operation information including information on the pressed key and how to press the key is input to a trained model for inferring an erroneous input, and it is determined whether or not the character string corresponding to the information on the key is an erroneous input. a determination unit;
an acquisition unit that acquires a correction candidate for the character string determined to be an erroneous input;
a display unit that presents the correction candidate;
An input device comprising
前記取得部は、前記操作情報が入力されると前記修正候補を出力するように学習させた前記学習済みモデルを用いて前記修正候補を取得する、
請求項8に記載の入力装置。
The acquisition unit acquires the correction candidate using the learned model trained to output the correction candidate when the operation information is input.
The input device according to claim 8.
修正操作を検出する前に押下された前記キーの情報および前記キーの押し方を含む修正前操作情報と、前記修正操作を検出した後に押下された前記キーの情報である修正後操作情報とを関連付けて記憶する記憶部をさらに備え、
前記取得部は、誤入力であると判定された前記文字列と同じ文字列についての前記修正前操作情報に関連付けられた前記修正後操作情報の文字列を、前記修正候補として前記記憶部から取得する、
請求項8に記載の入力装置。
Pre-correction operation information including information on the key pressed before detection of the correction operation and how to press the key, and post-correction operation information that is information on the key pressed after detection of the correction operation. further comprising a storage unit that associates and stores,
The acquisition unit acquires, as the correction candidate, the character string of the post-correction operation information associated with the pre-correction operation information for the same character string as the character string determined to be an erroneous input from the storage unit. do,
The input device according to claim 8.
前記表示部は、誤入力であると判定された前記文字列とともに前記修正候補を提示する、
請求項8から10のいずれか1項に記載の入力装置。
The display unit presents the correction candidate together with the character string determined to be an erroneous input.
The input device according to any one of claims 8 to 10.
前記取得部は、複数の前記修正候補を取得し、
前記表示部は、複数の前記修正候補をユーザが選択可能に提示する、
請求項8から11のいずれか1項に記載の入力装置。
The acquisition unit acquires a plurality of correction candidates,
The display unit presents a plurality of correction candidates in a user-selectable manner.
An input device according to any one of claims 8 to 11.
前記表示部は、誤入力であると判定された前記文字列を削除して前記修正候補を提示する、
請求項8から10のいずれか1項に記載の入力装置。
The display unit deletes the character string determined to be an erroneous input and presents the correction candidate.
The input device according to any one of claims 8 to 10.
前記表示部は、誤入力であると判定された前記文字列および前記修正候補の少なくともいずれかにおいて、修正箇所を強調表示する、
請求項8から13のいずれか1項に記載の入力装置。
The display unit highlights a corrected portion in at least one of the character string determined to be an erroneous input and the correction candidate.
Input device according to any one of claims 8 to 13.
前記キーボードは、前記判定部が前記文字列を誤入力であると判定した後、所定時間、ユーザからの操作を無効にする、
請求項8から14のいずれか1項に記載の入力装置。
the keyboard disables the user's operation for a predetermined period of time after the determining unit determines that the character string has been input incorrectly;
Input device according to any one of claims 8 to 14.
前記キーの情報は、入力された文字列、キーの配置のうち少なくともいずれかの情報を含む、
請求項1から15のいずれか1項に記載の入力装置。
The key information includes at least one of an input character string and key arrangement,
16. An input device according to any one of claims 1-15.
前記キーの押し方は、キーの押込み量、キーの押込み位置およびキー入力の時間間隔のうち少なくともいずれかの情報を含む、
請求項1から16のいずれか1項に記載の入力装置。
The key pressing method includes information on at least one of key pressing amount, key pressing position, and key input time interval,
17. An input device according to any one of claims 1-16.
前記キーの情報は、構文解析により抽出された単語単位または節単位の文字列の情報を含む、
請求項1から17のいずれか1項に記載の入力装置。
The key information includes word-based or clause-based character string information extracted by syntactic analysis,
18. An input device according to any one of claims 1-17.
キー入力の時間間隔を計測するタイマーをさらに備える、
請求項1から18のいずれか1項に記載の入力装置。
It further comprises a timer that measures the time interval between key inputs,
19. An input device according to any one of claims 1-18.
キーの押し方を検知するセンサを有するキーボードと、
前記キーボードによる入力内容を修正するための操作である修正操作を検出する修正検出部と、
前記修正操作を検出する前に押下されたキーの情報および前記キーの押し方を含む修正前操作情報と、前記修正操作を検出した後に押下された前記キーの情報である修正後操作情報と、を取得する操作情報取得部と、
誤入力を推論する学習済みモデルを、前記修正前操作情報および前記修正後操作情報を
用いて生成する生成部と、
押下されたキーの情報および前記キーの押し方を含む操作情報を、前記学習済みモデルに入力し、前記キーの情報に対応する文字列が誤入力であるか否かを判定する判定部と、
誤入力であると判定された前記文字列の修正候補を取得する取得部と、
前記修正候補を提示する表示部と、
を備える情報処理装置。
a keyboard having a sensor that detects how a key is pressed;
a correction detection unit that detects a correction operation, which is an operation for correcting the input content from the keyboard;
Pre-correction operation information including information on the key pressed before the correction operation is detected and how to press the key, and post-correction operation information that is information on the key pressed after the correction operation is detected; an operation information acquisition unit that acquires
a generation unit that generates a trained model for inferring an erroneous input using the pre-correction operation information and the post-correction operation information;
a determination unit that inputs operation information including information on the pressed key and how to press the key into the learned model and determines whether or not the character string corresponding to the information on the key is an input error;
an acquisition unit that acquires a correction candidate for the character string determined to be an erroneous input;
a display unit that presents the correction candidate;
Information processing device.
キーの押し方を検知するセンサを有するキーボードを備える入力装置の制御方法であって、
前記キーボードによる入力内容を修正するための操作である修正操作を検出する修正検出ステップと、
前記修正操作を検出する前に押下されたキーの情報および前記キーの押し方を含む修正前操作情報と、前記修正操作を検出した後に押下された前記キーの情報である修正後操作情報と、を取得する操作情報取得ステップと、
誤入力を推論する学習済みモデルを、前記修正前操作情報および前記修正後操作情報を用いて生成する生成ステップと、
を含む入力装置の制御方法。
A control method for an input device having a keyboard having a sensor for detecting how a key is pressed, comprising:
a correction detection step of detecting a correction operation, which is an operation for correcting the content entered by the keyboard;
Pre-correction operation information including information on the key pressed before the correction operation is detected and how to press the key, and post-correction operation information that is information on the key pressed after the correction operation is detected; an operation information acquisition step for acquiring
a generation step of generating a trained model for inferring an erroneous input using the pre-correction operation information and the post-correction operation information;
A method of controlling an input device including
キーの押し方を検知するセンサを有するキーボードを備える入力装置の制御方法であって、
押下されたキーの情報および前記キーの押し方を含む操作情報を、誤入力を推論する学習済みモデルに入力し、前記キーの情報に対応する文字列が誤入力であるか否かを判定する判定ステップと、
誤入力であると判定された前記文字列の修正候補を取得する取得ステップと、
前記修正候補を提示する表示ステップと、
を含む入力装置の制御方法。
A control method for an input device having a keyboard having a sensor for detecting how a key is pressed, comprising:
Operation information including information on the pressed key and how to press the key is input to a trained model for inferring an erroneous input, and it is determined whether or not the character string corresponding to the information on the key is an erroneous input. a determination step;
an acquisition step of acquiring a correction candidate for the character string determined to be an erroneous input;
a display step of presenting the correction candidate;
A method of controlling an input device including
キーの押し方を検知するセンサを有するキーボードを備える入力装置の制御プログラムであって、
前記キーボードによる入力内容を修正するための操作である修正操作を検出する修正検出ステップと、
前記修正操作を検出する前に押下されたキーの情報および前記キーの押し方を含む修正前操作情報と、前記修正操作を検出した後に押下された前記キーの情報である修正後操作情報と、を取得する操作情報取得ステップと、
誤入力を推論する学習済みモデルを、前記修正前操作情報および前記修正後操作情報を用いて生成する生成ステップと、
を含む入力装置の制御プログラム。
A control program for an input device comprising a keyboard having a sensor for detecting how a key is pressed,
a correction detection step of detecting a correction operation, which is an operation for correcting the content entered by the keyboard;
Pre-correction operation information including information on the key pressed before the correction operation is detected and how to press the key, and post-correction operation information that is information on the key pressed after the correction operation is detected; an operation information acquisition step for acquiring
a generation step of generating a trained model for inferring an erroneous input using the pre-correction operation information and the post-correction operation information;
A control program for an input device including
キーの押し方を検知するセンサを有するキーボードを備える入力装置の制御プログラムであって、
押下されたキーの情報および前記キーの押し方を含む操作情報を、誤入力を推論する学習済みモデルに入力し、前記キーの情報に対応する文字列が誤入力であるか否かを判定する判定ステップと、
誤入力であると判定された前記文字列の修正候補を取得する取得ステップと、
前記修正候補を提示する表示ステップと、
を含む入力装置の制御プログラム。
A control program for an input device comprising a keyboard having a sensor for detecting how a key is pressed,
Operation information including information on the pressed key and how to press the key is input to a trained model for inferring an erroneous input, and it is determined whether or not the character string corresponding to the information on the key is an erroneous input. a determination step;
an acquisition step of acquiring a correction candidate for the character string determined to be an erroneous input;
a display step of presenting the correction candidate;
A control program for an input device including
JP2022014168A 2022-02-01 2022-02-01 Input device, method for controlling input device, and information processing device Pending JP2023112400A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2022014168A JP2023112400A (en) 2022-02-01 2022-02-01 Input device, method for controlling input device, and information processing device
TW112101998A TWI834480B (en) 2022-02-01 2023-01-17 Input device, control method of input device, control program of input device and information processing device
PCT/JP2023/001356 WO2023149208A1 (en) 2022-02-01 2023-01-18 Input device, method for controlling input device, and information processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2022014168A JP2023112400A (en) 2022-02-01 2022-02-01 Input device, method for controlling input device, and information processing device

Publications (1)

Publication Number Publication Date
JP2023112400A true JP2023112400A (en) 2023-08-14

Family

ID=87552027

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2022014168A Pending JP2023112400A (en) 2022-02-01 2022-02-01 Input device, method for controlling input device, and information processing device

Country Status (2)

Country Link
JP (1) JP2023112400A (en)
WO (1) WO2023149208A1 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5182260B2 (en) * 2009-09-02 2013-04-17 ソニー株式会社 Operation control device, operation control method, and computer program
JP2011090356A (en) * 2009-10-20 2011-05-06 Nec Corp Data processor, computer program thereof, and data processing method
IN2013CH00469A (en) * 2013-01-21 2015-07-31 Keypoint Technologies India Pvt Ltd
JP6030997B2 (en) * 2013-05-31 2016-11-24 富士通フロンテック株式会社 Information processing apparatus, input assist method, and input assist program

Also Published As

Publication number Publication date
TW202333025A (en) 2023-08-16
WO2023149208A1 (en) 2023-08-10

Similar Documents

Publication Publication Date Title
US20210073467A1 (en) Method, System and Apparatus for Entering Text on a Computing Device
US5535119A (en) Character inputting method allowing input of a plurality of different types of character species, and information processing equipment adopting the same
US6694056B1 (en) Character input apparatus/method and computer-readable storage medium
Kristensson et al. Relaxing stylus typing precision by geometric pattern matching
US20140340313A1 (en) Typing Input Systems, Methods, and Devices
Alnfiai et al. SingleTapBraille: Developing a text entry method based on braille patterns using a single tap
JPH02289100A (en) Kanji coding and decoding equipment
US7301481B2 (en) Typing practice apparatus, typing practice method, and typing practice program
US8219905B2 (en) Automatically detecting keyboard layout in order to improve the quality of spelling suggestions
WO2023149208A1 (en) Input device, method for controlling input device, and information processing device
JP4886244B2 (en) Machine translation apparatus and machine translation program
TWI834480B (en) Input device, control method of input device, control program of input device and information processing device
JP2010026718A (en) Character input device and method
CN105892710B (en) Chinese character input method and device based on text box
KR101362142B1 (en) Computer-readable recording medium having recorded thereon a program for correcting missing word shift keys and a method thereof
JP5803481B2 (en) Information processing apparatus and information processing program
JPH08297663A (en) Device and method for correcting input error
JP4632893B2 (en) Braille translation apparatus, Braille translation method, Braille translation program, and computer-readable recording medium recording the same
JP2019087233A (en) Information processing device, information processing method, and information processing program
Gong et al. A new error metric for text entry method evaluation
JPH04257965A (en) Character corrector
JPH0724054B2 (en) Data processing device
JPS62212871A (en) Sentence reading correcting device
KR20160014514A (en) Method of inputting characters using keyboard
JPH09138835A (en) Character recognition system