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 error correction of unencoded strings

CN106886294BActive Publication Date: 2020-10-27BEIJING SOGOU TECHNOLOGY DEVELOPMENT CO LTD
9 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Publication Date
2020-10-27

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention provides an error correction method and apparatus for an input method. The error correction method for the input method comprises the steps of receiving an input first coded character string, and marking a coded character with touch force outside a current set touch force range during input in the first coded character string; deleting the marked coded character in the first coded character string and generating a second coded character string; determining candidate entries corresponding to the first coded character string; determining candidate entries corresponding to the second coded character string; and sorting the candidate entries according to a set rule and performing display. Through the error correction method for the input method, provided by an embodiment of the invention, the reliability of the candidate entries pushed to a user can be ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical field

[0001] The present invention relates to the technical field of input methods, in particular to an input method error correction method and device. Background technique

[0002] The current error correction function of the input method is mainly based on the position error correction rule of the adjacent key position. The error correction rule replaces the corresponding code character in the code string input by the user with the code character corresponding to the nearby key position, and then replaces it. The coded character string is converted accordingly, and the candidate entry corresponding to the coded character string after error correction is returned to the user. For example: the user intends to input "eat", but fails to accurately locate the corresponding key position when inputting the coded character'n', and accidentally knocks on the'm' key next to the'n' key, and the input code string becomes 'chifam', when the input method performs error correction...

Examples

Embodiment 1

[0038] Refer to figure 1 , Shows a step flow chart of an input method error correction method according to the first embodiment of the present invention.

[0039] The error correction method of the input method in the embodiment of the present invention includes the following steps:

[0040] Step S102: Receive the inputted first coded character string, and mark coded characters in the first coded character string whose touch force falls outside the currently set touch force range when input.

[0041] When marking the coded characters in the first coded character string, any appropriate form may be used for marking. For example: after the input of the entire first coded character string is completed, the coded characters whose touch force falls outside the currently set touch force range during input may be uniformly marked. It can also be that every time a coded character is input, the touch strength is judged, and then whether to mark the coded character is determined according to ...

Embodiment 2

[0053] Refer to figure 2 , Shows a step flow chart of an input method error correction method according to the second embodiment of the present invention.

[0054] The error correction method of the input method in the embodiment of the present invention includes the following steps:

[0055] Step S202: Receive inputted upper limit value and lower limit value of the currently set touch force range respectively.

[0056] The input method error correction method provided by the embodiment of the present invention is applicable to input method clients, which include, but are not limited to, input method clients such as mobile phones, tablets, computers, and smart terminals.

[0057] The currently set touch force range includes an upper limit and a lower limit. In the embodiment of the present invention, the user directly inputs the currently set touch force range as an example for description. However, in the specific implementation process, it is not limited to obtaining the currently ...

Embodiment 3

[0140] Reference Figure 4 , Shows a structural block diagram of an input method error correction device of the third embodiment of the present invention.

[0141] The error correction device of the input method of the embodiment of the present invention includes: a marking module 402 for receiving an input first encoded character string, and the touch force when inputting the first encoded character string falls within the currently set touch force The coded characters outside the range are marked; the deleting module 404 is used to delete the marked coded characters in the first coded string and generate a second coded string; the first term determining module 406 is used to determine the The candidate entry corresponding to the first encoded character string; the second entry determining module 408 is used to determine the candidate entry corresponding to the second encoded character string; the display module 410 is used to set the candidate entry The rules are sorted and dis...