An input method error correction method and device
An error correction method and input method technology, applied in the input/output process of data processing, instruments, calculations, etc., can solve problems such as effective error correction of unencoded characters, and achieve the effect of eliminating position offsets
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Publication Date
- 2020-09-29
Smart Images

Figure 1 
Figure 2 
Figure 3
Abstract
Description
technical field
[0001] The invention relates to the technical field of input methods, in particular to an input method error correction method and device. Background technique
[0002] At present, the more commonly used input method optimization error correction methods mainly include the following two types: one is error correction based on the position of the screen, and the other is error correction based on the position of adjacent keys.
[0003] The existing error correction scheme based on the screen position needs to make a model of the corresponding relationship between the key position and the key in advance. The establishment of this model needs to determine the relationship between a large number of actual key click positions and the final confirmed click key, and through training The probability that each button position is mapped to the button it is on and the surrounding buttons is obtained respectively. By introducing the produced model into the error correct...
Examples
Embodiment 1
[0034] refer to figure 1 , shows a flow chart of steps of an input method error correction method according to Embodiment 1 of the present invention.
[0035] The input method error correction method of the embodiment of the present invention comprises the following steps:
[0036] Step S102: When the terminal vibrates during the input of the encoded character string, determine the position of the touched key and the vibration parameters of the terminal when the vibration occurs.
[0037] Wherein, the vibration parameters of the terminal may include: the acceleration direction of the terminal and the acceleration value of the terminal, the vibration parameters may be obtained through the vibration sensing device of the terminal, and the touched key position may be obtained through the keyboard sensing device.
[0038] Step S104: Determine the error correction key corresponding to the key position according to the position of the key and the vibration parameters of the terminal....
Embodiment 2
[0047] refer to figure 2 , shows a flow chart of steps of an input method error correction method according to Embodiment 2 of the present invention.
[0048] The input method error correction method in the embodiment of the present invention specifically includes the following steps:
[0049] Step S204: When the terminal vibrates during the input of the encoded character string, determine the position of the touched key, the acceleration direction of the terminal, and the acceleration value of the terminal when the vibration occurs.
[0050] Wherein, the terminal may vibrate due to sudden shaking, or the vehicle where the terminal is located suddenly accelerates or decelerates, or the arm holding the terminal is suddenly twisted by an external force to cause the terminal to vibrate. Of course, there are other situations that cause the terminal to vibrate, which will not be listed here. In a word, in the embodiment of the present invention, all situations that cause the ter...
Embodiment 3
[0076] refer to image 3 , shows a flow chart of steps of an input method error correction method according to Embodiment 3 of the present invention.
[0077]In the embodiment of the present invention, the user uses the mobile terminal to pre-input the entry "color" on the bus, and after the encoded character "yan" has been input, the bus suddenly brakes suddenly (the mobile terminal also vibrates accordingly), The error correction method of the input method of the present invention is described by taking the example that causes the user to mistakenly input the pre-input coded character "s" as "w".
[0078] The input method error correction method in the embodiment of the present invention specifically includes the following steps:
[0079] Step S302: Obtain the original key position, acceleration direction, acceleration magnitude and input key sequence.
[0080] In the embodiment of the present invention, due to the sudden braking of the bus, the inertia causes the mobile t...