A kind of error correction evaluation method and related device

By classifying and evaluating input method error correction data, the problem that the rationality of error correction results is not considered in the existing technology is solved, more accurate error correction evaluation and optimization is achieved, and user experience is improved.

CN112434519BActive Publication Date: 2024-09-27BEIJING SOGOU TECHNOLOGY DEVELOPMENT CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201910775388.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-08-21
Publication Date
2024-09-27
Estimated Expiration
2040-03-17

AI Technical Summary

Technical Problem

Existing input method error correction evaluation methods do not consider the rationality of the error correction results when calculating error correction coverage and error correction rates, resulting in inaccurate calculation results, which in turn incorrectly guide the optimization of input method error correction solutions and reduce user experience. experience.

Method used

By obtaining the error correction data to be classified, using a classifier to classify it, two types of data with high credibility and low credibility are obtained, and target evaluation indicators are calculated to reflect the rationality and interpretability of the error correction plan, thereby guiding Optimization of error correction solutions.

Benefits of technology

It improves the accuracy and rationality of error correction evaluation, ensures that the input method provides reasonable error correction candidates, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112434519B
    Figure CN112434519B
Patent Text Reader

Abstract

The embodiment of the present application discloses an error correction evaluation method, which can classify the acquired error correction data to be classified by a classifier to obtain a first evaluation set and a second evaluation set. The error correction data to be classified is the error correction data generated for the input character string that does not meet the user's error correction needs. The credibility of the error correction result of the error correction data to be classified in the first evaluation set is greater than the first threshold, and the credibility of the error correction result of the error correction data to be classified in the second evaluation set is less than the second threshold, and the first threshold is greater than the second threshold. The target evaluation index of the error correction scheme is calculated according to the number of error correction data belonging to the first evaluation set or the second evaluation set, and the target evaluation index is used to evaluate the error correction scheme. The target evaluation index obtained by this method is conducive to obtaining a reasonable evaluation result. According to the evaluation result, the optimization of the input method error correction scheme can be correctly guided, so that the input method provides reasonable error correction candidates when correcting errors through the optimized error correction scheme, thereby improving the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of input methods, and in particular to an error correction evaluation method and related devices. Background Art

[0002] An input method is a commonly used text input tool. When inputting characters through an input method, since the user may make input errors, the input method can provide error correction candidates for the characters that the user may input to help the user correct the errors.

[0003] In order to optimize the error correction scheme of the input method, the error correction scheme of the input method can be evaluated, so as to guide the optimization of the input method error correction scheme according to the evaluation results. The current error correction evaluation method is mainly divided into two aspects: error correction coverage and error correction rate. The error correction coverage rate indicates the probability that the input method provides the user with the desired error correction candidate when the user inputs incorrectly, and the error correction rate indicates the probability that the input method still provides error correction candidates to disturb the user when the user inputs correctly.

[0004] However, this evaluation method does not consider the rationality of the error correction results when calculating the error correction coverage and error correction rate, resulting in inaccurate calculated error correction coverage and error correction rate. As a result, the optimization of the input method error correction scheme is incorrectly guided based on the evaluation results without considering the rationality of the error correction scheme. In this way, when correcting errors through the optimized error correction scheme, some inexplicable error correction candidates will be provided, which greatly reduces the user experience. Summary of the invention

[0005] In order to solve the above technical problems, the present application provides an error correction evaluation method and related devices, which can correctly guide the optimization of the input method error correction scheme, so that the input method can provide reasonable error correction candidates when correcting errors through the optimized error correction scheme, thereby improving the user experience.

[0006] The embodiments of the present application disclose the following technical solutions:

[0007] In a first aspect, an embodiment of the present application provides an error correction evaluation method, the method comprising:

[0008] Obtaining error correction data to be classified, wherein the error correction data to be classified is error correction data generated for an input character string that does not meet a user's error correction requirement;

[0009] The error correction data to be classified is classified by a classifier to obtain a first evaluation set and a second evaluation set; the credibility of the error correction results of the error correction data to be classified in the first evaluation set is greater than a first threshold, the credibility of the error correction results of the error correction data to be classified in the second evaluation set is less than a second threshold, and the first threshold is greater than the second threshold; the classifier is trained based on the error correction data and feature data of the error correction data, and the feature data is used to reflect the credibility of the error correction results in the error correction data;

[0010] A target evaluation index of an error correction scheme is calculated according to the amount of error correction data belonging to the first evaluation set or the second evaluation set, and the target evaluation index is used to evaluate the error correction scheme.

[0011] Optionally, the error correction data to be classified is error correction data that displays error correction candidates and the user selects feature candidates for the input string, and the target evaluation indicator is the error correction rate; the feature candidate is a candidate that matches the input string.

[0012] Optionally, the step of calculating a target evaluation index of the error correction scheme according to the amount of error correction data belonging to the first evaluation set or the second evaluation set includes:

[0013] In the process of generating error correction data for the input string by the error correction scheme, determining the number of error correction data belonging to the second evaluation set as a first value, and the number of error correction data of feature candidates selected by the user for the input string as a second value;

[0014] The ratio of the first value to the second value is used as the error correction rate.

[0015] Optionally, the error correction data to be classified is error correction data for which no error correction candidates are displayed and the user inputs a backspace character for the input character string, and the target evaluation indicator is error correction coverage.

[0016] Optionally, the step of calculating a target evaluation index of the error correction scheme according to the amount of error correction data belonging to the first evaluation set or the second evaluation set includes:

[0017] In the process of generating error correction data for the input string by the error correction scheme, the number of error correction data belonging to the first evaluation set is determined as a third value, the number of error correction data for which error correction candidates are displayed for the input string and the error correction candidates are selected is determined as a fourth value, and the number of error correction candidates for which no error correction candidate is displayed and the number of backspace characters entered by the user for the input string is determined as a fifth value;

[0018] The ratio of the sum of the third value and the fourth value to the sum of the fourth value and the fifth value is used as the error correction coverage.

[0019] Optionally, the backspace character is input by the user during the input process; or, the backspace character is input by the user after the input character string appears on the screen.

[0020] Optionally, the characteristic data includes at least one or more combinations of the following:

[0021] Related feature data of feature candidates for the input string, the feature candidates being candidates that match the input string;

[0022] Related feature data of error correction candidates for the input character string;

[0023] The user input habit characteristic data reflects the user input habit.

[0024] In a second aspect, an embodiment of the present application provides an error correction evaluation device, the device comprising an acquisition unit, a determination unit and a calculation unit:

[0025] The acquisition unit is used to acquire the error correction data to be classified, wherein the error correction data to be classified is the error correction data generated for the input character string that does not meet the user's error correction requirements;

[0026] The determination unit is used to classify the error correction data to be classified through a classifier to obtain a first evaluation set and a second evaluation set; the credibility of the error correction results of the error correction data to be classified in the first evaluation set is greater than a first threshold, the credibility of the error correction results of the error correction data to be classified in the second evaluation set is less than a second threshold, and the first threshold is greater than the second threshold; the classifier is trained based on the error correction data and feature data of the error correction data, and the feature data is used to reflect the credibility of the error correction results in the error correction data;

[0027] The calculation unit is used to calculate a target evaluation index of the error correction scheme according to the amount of error correction data belonging to the first evaluation set or the second evaluation set, and the target evaluation index is used to evaluate the error correction scheme.

[0028] Optionally, the error correction data to be classified is error correction data that displays error correction candidates and the user selects feature candidates for the input string, and the target evaluation indicator is the error correction rate; the feature candidate is a candidate that matches the input string.

[0029] Optionally, the computing unit is used to:

[0030] In the process of generating error correction data for the input string by the error correction scheme, determining the number of error correction data belonging to the second evaluation set as a first value, and the number of error correction data of feature candidates selected by the user for the input string as a second value;

[0031] The ratio of the first value to the second value is used as the error correction rate.

[0032] Optionally, the error correction data to be classified is error correction data for which no error correction candidates are displayed and the user inputs a backspace character for the input character string, and the target evaluation indicator is error correction coverage.

[0033] Optionally, the computing unit is used to:

[0034] In the process of generating error correction data for the input string by the error correction scheme, the number of error correction data belonging to the first evaluation set is determined as a third value, the number of error correction data for which error correction candidates are displayed for the input string and the error correction candidates are selected is determined as a fourth value, and the number of error correction candidates for which no error correction candidate is displayed and the number of backspace characters entered by the user for the input string is determined as a fifth value;

[0035] The ratio of the sum of the third value and the fourth value to the sum of the fourth value and the fifth value is used as the error correction coverage.

[0036] Optionally, the backspace character is input by the user during the input process; or, the backspace character is input by the user after the input character string appears on the screen.

[0037] Optionally, the characteristic data includes at least one or more combinations of the following:

[0038] Related feature data of feature candidates for the input string, the feature candidates being candidates that match the input string;

[0039] Related feature data of error correction candidates for the input character string;

[0040] The user input habit characteristic data reflects the user input habit.

[0041] In a third aspect, an embodiment of the present application provides a device for error correction evaluation, comprising a memory and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by one or more processors, wherein the one or more programs include instructions for performing the following operations:

[0042] Obtaining error correction data to be classified, wherein the error correction data to be classified is error correction data generated for an input character string that does not meet a user's error correction requirement;

[0043] The error correction data to be classified is classified by a classifier to obtain a first evaluation set and a second evaluation set; the credibility of the error correction results of the error correction data to be classified in the first evaluation set is greater than a first threshold, the credibility of the error correction results of the error correction data to be classified in the second evaluation set is less than a second threshold, and the first threshold is greater than the second threshold; the classifier is trained based on the error correction data and feature data of the error correction data, and the feature data is used to reflect the credibility of the error correction results in the error correction data;

[0044] A target evaluation index of an error correction scheme is calculated according to the amount of error correction data belonging to the first evaluation set or the second evaluation set, and the target evaluation index is used to evaluate the error correction scheme.

[0045] In a fourth aspect, an embodiment of the present application provides a machine-readable medium having instructions stored thereon, which, when executed by one or more processors, enables the device to perform one or more error correction and evaluation methods as described in the first aspect.

[0046] It can be seen from the above technical scheme that when determining the target evaluation index for error correction evaluation, the present application can obtain error correction data to be classified, and the error correction data to be classified is the error correction data generated for the input string that does not meet the user's error correction needs. The user's error correction needs represent whether the user wants the input method to provide error correction candidates for the user. However, although some error correction data in the error correction data to be classified do not meet the user's error correction needs, the error correction results included therein are explainable and reasonable. Therefore, since the classifier is trained based on the error correction data and the feature data of the error correction data, and the feature data is used to reflect the credibility of the error correction results in the error correction data, the error correction data to be classified is classified by the classifier to obtain the first evaluation set and the second evaluation set. The credibility of the error correction results of the error correction data to be classified in the first evaluation set is greater than the first threshold, and the credibility of the error correction results of the error correction data to be classified in the second evaluation set is less than the second threshold, and the first threshold is greater than the second threshold. Compared with the traditional method, the traditional method uniformly regards the error correction results in the error correction data to be classified as wrong error correction results, and does not consider the interpretability of the error correction results in the error correction data to be classified. In this application, since the credibility of the error correction result can reflect whether the error correction result is interpretable and reasonable, the interpretable error correction data in the error correction data to be classified can be distinguished by classifying the error correction data to be classified into the first evaluation set and the second evaluation set. Therefore, the target evaluation index of the error correction scheme is calculated according to the number of error correction data belonging to the first evaluation set or the second evaluation set. The target evaluation index is used to evaluate the error correction scheme, which improves the rationality of the calculation of the target evaluation index, is conducive to obtaining a reasonable evaluation result, and the optimization of the input method error correction scheme can be correctly guided according to the reasonable evaluation result, so that the input method can provide reasonable error correction candidates when correcting errors through the optimized error correction scheme, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings.

[0048] Figure 1 FIG. is a scenario example diagram of an error correction evaluation method provided by an embodiment of the present application;

[0049] Figure 2 FIG. is a flowchart of an error correction evaluation method provided by an embodiment of the present application;

[0050] Figure 3 FIG. is a structural diagram of an error correction evaluation device provided by an embodiment of the present application;

[0051] Figure 4 FIG. is a structural diagram of a device for error correction evaluation provided by an embodiment of the present application;

[0052] Figure 5 FIG. is a structural diagram of a server provided by an embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0053] The following describes the embodiments of the present application with reference to the drawings.

[0054] In traditional error correction evaluation methods, when calculating evaluation metrics such as error correction coverage rate and error correction false correction rate, the rationality of the error correction results is not considered. As a result, the optimization of the input method error correction scheme is wrongly guided according to the evaluation results, and the rationality of the error correction scheme is not considered. In this way, when error correction is performed through the optimized error correction scheme, some unreasonable error correction candidates will be provided, greatly reducing the user experience.

[0055] For example, when calculating the error correction false correction rate, the input string is "neiyou", and the corresponding feature candidate for "neiyou" is "内有". For the error correction data with a total of 10 items for the feature candidate selected by the user for "neiyou", the user's selection of the feature candidate indicates that the user does not require the input method to perform error correction on "neiyou", and the input method should not provide error correction candidates. However, among these 10 error correction data items, the number of error correction data items with error correction candidates shown by the input method is 4. That is to say, these 4 error correction data items are false correction error correction data (the user has no error correction requirement but the input method shows error correction candidates). The error correction false correction rate calculated by the traditional method = the number of false correction error correction data / the total number of error correction data for the feature candidate selected by the user = 4 / 10.

[0056] However, since "neiyou" is a low-frequency word, and the keys of "n" in "neiyou" and "m" in "meiyou" are adjacent, it is explainable and reasonable for the input method to determine that the user has mis-typed the desired "meiyou" as "neiyou" and correct "neiyou" to "meiyou", and it should not be regarded as a real mis-correction. In traditional error correction methods, the explainability and reasonableness of error correction are not considered. When the error correction mis-correction rate calculated according to the traditional method is used to guide the optimization of the error correction scheme, the optimized error correction scheme is very likely unable to correct the input string "neiyou".

[0057] Similarly, when calculating the error correction coverage rate, for some cases where the user inputs wrongly but the input method fails to display error correction candidates, there are some explainable and reasonable situations. For example, the input string is "meiyou", but what the user actually wants to input is "内有". Since the feature candidate "没有" corresponding to "meiyou" is a high-frequency word, usually the input method may not display the error correction candidate "内有" for "meiyou". It can be seen that it is explainable and reasonable that the error correction candidate is not displayed in this case. If the traditional error correction evaluation method is followed and the error correction coverage rate calculated is used to guide the optimization of the error correction scheme, then when correcting the input string "meiyou" through the optimized error correction scheme, some inexplicable error correction candidates such as "内有" will be provided.

[0058] To solve the above technical problems, the embodiments of the present application provide an error correction evaluation method. Considering the explainability and reasonableness of the error correction result, it distinguishes between the explainable error correction results that do not meet the user's error correction requirements and the real error correction results that do not meet the user's error correction requirements, and calculates a reasonable target evaluation index, so that after evaluating the error correction scheme according to the target evaluation index, the error correction scheme can be correctly guided according to the evaluation result.

[0059] The error correction evaluation method provided by the embodiments of the present application can be applied to a terminal device equipped with an input method. Such a terminal device can be, for example, a mobile phone, a laptop computer, a desktop computer, a tablet computer, an e-book reader, a Moving Picture Experts Group Audio LayerIV (MP4) player, a wearable device (such as a smart watch), a smart speaker, and a laptop computer equipped with an input method. The method provided by the embodiments of the present application can also be applied to a server. The server can obtain error correction data from a terminal device equipped with an input method to obtain a target evaluation index, so as to evaluate the error correction scheme of the input method and guide the optimization of the error correction scheme of the input method.

[0060] In order to facilitate understanding of the technical solution of the present application, the method provided in the embodiment of the present application can be applied to Figure 1 In the scenario shown. The scenario includes a terminal device 101, and the terminal device 101 can obtain error correction data to be classified, which is error correction data generated for the input string that does not meet the user's error correction requirements. The terminal device can obtain the error correction data to be classified from the user input log data, and the error correction data in the user input log data records the user identifier, the input string entered by the user through the input method, the candidate selected by the user for the input string, and the error correction result of the input method for the input string.

[0061] The input string can be characters in different languages, and can include text, letters, numbers, symbols, etc. For example, in the Chinese language, the string can include pinyin. It should be noted that in the embodiment of the present application, in addition to including common Chinese input methods (such as pinyin input method, Wubi input method, Zhuyin input method, etc.), the input method of other languages ​​(such as Japanese Hiragana input method, Korean input method, etc.) can also be included.

[0062] It should be noted that the input character string may be a character string that has been displayed on the screen or a character string that has not been displayed on the screen.

[0063] The terminal device 101 classifies the error correction data to be classified through a classifier to obtain a first evaluation set and a second evaluation set. The classifier is trained based on the error correction data and the feature data of the error correction data, and the feature data is used to reflect the credibility of the error correction result in the error correction data. In this way, the credibility of the error correction result of the error correction data to be classified in the first evaluation set is greater than the first threshold, and the credibility of the error correction result of the error correction data to be classified in the second evaluation set is less than the second threshold, and the first threshold is greater than the second threshold. Since the credibility of the error correction result can reflect whether the error correction result is interpretable and reasonable, the interpretable error correction data in the error correction data to be classified is distinguished by classifying the error correction data to be classified into the first evaluation set and the second evaluation set.

[0064] The terminal device 101 calculates the target evaluation index of the error correction scheme according to the number of error correction data belonging to the first evaluation set or the second evaluation set, and distinguishes the explainable error correction data in the error correction data to be classified and the error correction data that does not really meet the user's error correction needs through the first evaluation set and the second evaluation set, so that when calculating the target evaluation index, the rationality and explainability of the result are taken into consideration, rather than blindly using the error correction data to be classified to calculate the target evaluation index, thereby improving the accuracy of the calculation of the target evaluation index and facilitating obtaining reasonable evaluation results. According to the reasonable evaluation results, the optimization of the input method error correction scheme can be correctly guided, so that the input method can provide reasonable error correction candidates when correcting errors through the optimized error correction scheme, thereby improving the user experience.

[0065] Next, a method for error correction evaluation provided by an embodiment of the present application will be introduced in conjunction with the accompanying drawings. Refer to Figure 2 The method includes:

[0066] S201. Obtain error correction data to be classified.

[0067] When evaluating an error correction solution, it is necessary to calculate the target evaluation indicators based on which the error correction solution is evaluated, so as to evaluate the error correction solution using the target evaluation indicators. Among them, the commonly used target evaluation indicators include the error correction rate and / or the error correction coverage rate.

[0068] The error correction data to be classified is error correction data that does not meet the user's error correction requirements for the input string, and the error correction data to be classified obtained according to different target evaluation indicators is different.

[0069] If the target evaluation indicator is the error correction rate, since the error correction rate is the probability that the input method still provides error correction candidates to interfere with the user when the user's input is correct, and the user's correct input can be reflected by the user selecting a feature candidate for the input string, then the error correction data to be classified is error correction data that displays error correction candidates and the user selects a feature candidate for the input string, and the feature candidate is a candidate that matches the input string.

[0070] For example, the error correction data in the user input log records that the input string is "neiyou", the corresponding feature candidate for "neiyou" is "内有", and the input method displays the error correction candidate "没有" for "neiyou". However, the user selects the feature candidate "内有" for "neiyou", which indicates that the input string "neiyou" entered by the user is correct and does not require error correction, but the input method provides an error correction candidate, which does not meet the user's error correction requirements for the input string, so this error correction data can be used as error correction data to be classified.

[0071] If the target evaluation indicator is the error correction coverage rate, since the error correction coverage rate represents the probability that the input method provides the desired error correction candidates when the user's input is incorrect, for this reason, it is necessary to obtain error correction data where the input method does not display error correction candidates when the user's input is incorrect, and the fact that the input method does not display error correction candidates when the user's input is incorrect can be reflected by the user entering a backspace character for the input string, then the error correction data to be classified is error correction data that does not display error correction candidates and the user enters a backspace character for the input string.

[0072] For example, the error correction data in the user input log records that the input string is "meiyou", and the input method does not display the error correction candidate item "neiyou" for "meiyou". After that, the user inputs a backspace character to delete "m" and then inputs "n" again. This indicates that the input string "meiyou" entered by the user is incorrect and needs error correction, but the input method does not provide error correction candidate items, failing to meet the user's error correction requirements for the input string. Then, this error correction data can be used as error correction data to be classified.

[0073] It should be noted that the backspace character is input by the user during the input process; or, the backspace character is input by the user after the input string is sent. For example, the user sends "wo bu xiang ni" through input, but actually what the user hopes to send is "wo bu xiang ni". At this time, "wo bu xiang ni" is the input string, and the user can input a backspace character for "wo bu xiang ni" to delete "xiang"; another example is that the user inputs "meiyou", but actually what the user hopes to input is "neiyou". At this time, "meiyou" is the input string, and the user can input a backspace character for "meiyou" to delete "m".

[0074] S202. Classify the error correction data to be classified through a classifier to obtain a first evaluation set and a second evaluation set.

[0075] It should be noted that the classifier is trained based on the error correction data and the feature data of the error correction data. The feature data is used to reflect the credibility of the error correction result in the error correction data. The greater the credibility, the more likely the error correction result in this error correction data is interpretable and reasonable. Classify the error correction data to be classified through the classifier to obtain a first evaluation set and a second evaluation set. Among them, the credibility of the error correction result of the error correction data to be classified in the first evaluation set is greater than a first threshold, and the credibility of the error correction result of the error correction data to be classified in the second evaluation set is less than a second threshold, and the first threshold is greater than the second threshold. That is to say, the error correction data in the first evaluation set is error correction data with an interpretable and reasonable error correction result, while the error correction data in the second evaluation set is error correction data that truly fails to meet the user's error correction requirements.

[0076] According to the differences in the data to be classified, the classifiers used are also different. The training methods for different classifiers are slightly different. If the error correction data to be classified is error correction data that displays error correction candidate items and the user selects a feature candidate item for the input string, the classifier used is used to classify this error correction data to be classified. Therefore, when training the classifier, it is necessary to extract error correction data that displays error correction candidate items and the user selects a feature candidate item for the input string as training samples.

[0077] Since usually, the error correction data that shows error correction candidates and the user selects a feature candidate for the input string can be classified into interpretable mis-correction error correction data and true mis-correction error correction data, it is possible to manually label the extracted error correction data to indicate whether these error correction data are interpretable mis-correction error correction data. For example, if the input string in the error correction data is "neiyou" and the error correction candidate "meiyou" is shown, it can be labeled as interpretable mis-correction error correction data. However, if the error correction candidate "naiyou" is shown, it is labeled as true mis-correction error correction data. Then, feature data is extracted from the extracted error correction data. The feature data is used to reflect the credibility of the error correction result in the error correction data, and thus to reflect whether the error correction data is interpretable mis-correction error correction data. In this way, a classifier can be trained based on the extracted error correction data and the feature data of the error correction data. This classifier is used to distinguish whether the error correction data is interpretable mis-correction error correction data.

[0078] Correspondingly, the error correction data in the first evaluation set obtained using this classifier is interpretable mis-correction error correction data, and the error correction data in the second evaluation set is true mis-correction error correction data.

[0079] If the error correction data to be classified is the error correction data where no error correction candidate is shown and the user inputs a backspace character for the input string, the classifier used is for classifying this error correction data to be classified. Therefore, when training the classifier, it is necessary to extract the error correction data where no error correction candidate is shown and the user inputs a backspace character for the input string as training samples.

[0080] Since usually, the error correction data where no error correction candidate is shown and the user inputs a backspace character for the input string can be classified into interpretable error correction data for unshown error correction candidates and true error correction data for unshown error correction candidates, it is possible to manually label the extracted error correction data to indicate whether these error correction data are interpretable error correction data for unshown error correction candidates. For example, if the input string in the error correction data is "meiyou" and the error correction candidate "neiyou" is not shown, it can be labeled as interpretable error correction data for unshown error correction candidates; if the input string is "wabshua" and the error correction candidate "wanshua" is not shown, it can be labeled as true error correction data for unshown error correction candidates. Then, feature data is extracted from the extracted error correction data. The feature data is used to reflect the credibility of the error correction result in the error correction data, and thus to reflect whether the error correction data is interpretable error correction data for unshown error correction candidates. In this way, a classifier can be trained based on the extracted error correction data and the feature data of the error correction data. This classifier is used to distinguish whether the error correction data is interpretable error correction data for unshown error correction candidates.

[0081] Correspondingly, the error correction data in the first evaluation set obtained by using the classifier are interpretable error correction data of the undisplayed error correction candidates, and the error correction data in the second evaluation set are real error correction data of the undisplayed error correction candidates.

[0082] In some cases, the error correction data in which no error correction candidates are displayed and the user enters a backspace character for the input string may include noise data in addition to the above two categories. Noise data refers to data that is not related to error correction. For example, the user first enters "Hello", then the user enters a backspace character, and then enters "Good evening". At this time, it is not that the user has made an input error and needs the input method to correct the error, but that the user wants to change the expression. In this case, although the error correction data does not display the error correction candidates and the user enters a backspace character for the input string, the error correction data is irrelevant to error correction and is noise data, and the noise data needs to be labeled by manual labeling. In this way, the trained classifier can distinguish between noise data, explainable error correction data for which error correction candidates are not displayed, and real error correction data for which error correction candidates are not displayed.

[0083] It can be understood that the feature data includes at least one or more combinations of the following: relevant feature data of feature candidates for the input string, the feature candidates are candidates that match the input string; relevant feature data of error correction candidates for the input string; user input habit feature data reflecting the user's input habits.

[0084] Among them, the relevant feature data for the feature candidate items of the input string may include, for example, the number of feature candidate items for the input string, the arc type of the feature candidate items (including full spelling, last character abbreviation, abbreviation, etc.), whether the feature candidate items are in English, the system word frequency of the feature candidate items, whether the feature candidate items have user words, and whether the feature candidate items are related to the above context.

[0085] For example, if there are a large number of feature candidates, it means that the input string is likely to be correct. If correction candidates are displayed, the correction data is likely to be real miscorrected correction data. For another example, if the system word frequency of the feature candidates is relatively low, it means that the input string is likely to be wrong, the input method has reason to display correction candidates, and the correction data is likely to be explainable miscorrected correction data. Or, if the system word frequency of the feature candidates is relatively high, it means that the input string is likely to be correct, the input method has reason not to display correction candidates, and the correction data is likely to be explainable correction data for displaying correction candidates, etc.

[0086] The relevant feature data of the error correction candidate items for the input string may include, for example, the editing distance between the input string and the error correction string, the error correction type of the error correction string (including insertion type, deletion type, exchange type, replacement type), whether the replacement type is a replacement of adjacent key positions, whether the error correction string hits the error correction cache, the system word frequency of the error correction candidate items, whether the error correction candidate items are user words, and whether the error correction candidate items are related to the above context.

[0087] Among them, the edit distance between the input string and the error correction string can refer to the number of different characters in the error correction string and the input string, that is, how many errors appear in the input string. The smaller the edit distance, the more likely the error correction data is to be interpretable error correction data. For example, whether the replacement type is a replacement of adjacent key positions, if the error correction string is a replacement of the input string with a temporary key position, it means that the input string is more likely to be an input error due to the user pressing the wrong key position, then the error correction data is more likely to be interpretable error correction data, such as the input string in the error correction data is "neiyou", and the error correction candidate "no" is displayed. Since the "n" in "neiyou" and the "m" in "meiyou" are adjacent to each other, the input method determines that the user will enter the "meiyou" that he wants to enter as "neiyou" by mistake, and the error correction of "neiyou" is interpretable and reasonable, and should not be considered as a real error correction, then the error correction data is interpretable error correction data, etc.

[0088] The user input habit characteristic data reflecting the user input habit may include, for example, the user's input speed, whether the user is an ambiguous sound user, whether the user is a full spelling user, etc. For example, if the user's input speed is faster, the possibility of an error in the input string is greater, and the error correction data is more likely to be explainable error correction data; if the user is an ambiguous sound user, for example, the user cannot distinguish between front nasal sounds and back nasal sounds, then when the input string involves front / back nasal sounds, the possibility of an error in the input string is greater, and the error correction data is more likely to be explainable error correction data, etc.

[0089] S203: Calculate a target evaluation index of an error correction scheme according to the amount of error correction data belonging to the first evaluation set or the second evaluation set.

[0090] After obtaining the first evaluation set and the second evaluation set, the target evaluation index of the error correction scheme is calculated according to the amount of error correction data belonging to the first evaluation set or the second evaluation set, so as to evaluate the error correction scheme using the target evaluation index.

[0091] It should be noted that, in this embodiment, the method of calculating the target evaluation index is different according to the different target evaluation indexes.

[0092] If the target evaluation indicator is the error correction rate, the method for calculating the target evaluation indicator is to determine, in the process of generating error correction data for the input character string through the error correction scheme, the number of error correction data belonging to the second evaluation set as the first value, and the number of error correction data of the feature candidates selected by the user for the input character string as the second value; and take the ratio of the first value to the second value as the error correction rate.

[0093] For example, the total number of error correction data for the feature candidate items selected by the user for the input string is 10 (the second numerical value). The feature candidate items selected by the user indicate that the user does not need the input method to perform error correction on the input string, and the input method should not provide error correction candidates. However, among these 10 error correction data, the number of error correction data for which the input method displays error correction candidates is 4, that is, these 4 error correction data are erroneously corrected error correction data (the user has no error correction requirements but the input method displays error correction candidates). Among them, 3 error correction data belong to the first evaluation set, for example, including the error correction data that the error correction candidate item displayed for the input string "neiyou" is "none"; 1 error correction data belongs to the second evaluation set, for example, including the error correction data that the error correction candidate item displayed for the input string "neiyou" is "cream". That is to say, 3 out of 4 miscorrected error correction data are explainable miscorrected error correction data, and 1 (the first value) is real miscorrected error correction data. Then, the error correction rate = the number of real miscorrected error correction data / the total number of error correction data of the feature candidates selected by the user = the first value / the second value = 1 / 10.

[0094] Compared with the traditional method, the error correction rate calculated by the traditional method = the number of falsely corrected error correction data / the total number of error correction data of the user-selected feature candidates = 4 / 10. The error correction evaluation method provided in the embodiment of the present application takes into account the rationality and interpretability of the falsely corrected error correction data. In this way, the error correction scheme optimized according to the evaluation results takes into account the interpretability and rationality of the error correction, improves the rationality of the calculation of the target evaluation index, and is conducive to obtaining reasonable evaluation results. According to the reasonable evaluation results, the optimization of the input method error correction scheme can be correctly guided.

[0095] If the target evaluation indicator is the error correction coverage, the target evaluation indicator is calculated by determining, in the process of generating error correction data for the input string through the error correction scheme, the number of error correction data belonging to the first evaluation set as the third value, the number of error correction data for which error correction candidates are displayed and selected for the input string as the fourth value, and the number of backspace characters entered by the user for the input string without displaying the error correction candidate as the fifth value. The ratio of the sum of the third value and the fourth value to the sum of the fourth value and the fifth value is taken as the error correction coverage.

[0096] For example, if a user hopes that the input method displays correction candidate items for an input string, this can be reflected by the user selecting correction candidate items for the input string and by the user inputting a backspace character when no correction candidate items are displayed for the input string. If the number of correction data for which correction candidate items are displayed for the input string and the correction candidate items are selected is 6 (the fourth value), and the number of correction data for which no correction candidate items are displayed and the user inputs a backspace character for the input string is 4 (the fifth value), then the number of correction data for which the user hopes that the input method displays correction candidate items for the input string is the sum of the fourth value and the fifth value, which is 10. If 3 (the third value) of the correction data for which no correction candidate items are displayed and the user inputs a backspace character for the input string belong to the first evaluation set. For example, if the input string is "meiyou", but the user actually hopes to input "内有" (meaning "there is" in Chinese), then the correction data for which the correction candidate item "内有" is not displayed for the input string "meiyou" belongs to the first evaluation set; 1 piece of correction data belongs to the second evaluation set. For example, the correction data for which "玩耍" (meaning "play" in Chinese) is not displayed for the input string "wabshua". That is to say, 3 (the third value) of the 4 pieces of correction data for which no correction candidate items are displayed and the user inputs a backspace character for the input string are correction data for explainable non-displayed correction candidate items, and 1 piece is correction data for truly non-displayed correction candidate items. Then, the correction coverage rate = (the number of correction data for explainable non-displayed correction candidate items + the number of correction data for which correction candidate items are displayed and the correction candidate items are selected) / the number of correction data for which the user hopes that the input method displays correction candidate items for the input string = (the third value + the fourth value) / (the fourth value + the fifth value) = 9 / 10.

[0097] Compared with the traditional method, the correction coverage rate calculated by the traditional method = the number of correction data for which correction candidate items are displayed for the input string and the correction candidate items are selected / the number of correction data for which the user hopes that the input method displays correction candidate items for the input string = 6 / 10. The correction evaluation method provided by the embodiments of the present application takes into account the rationality and explainability of the correction data for non-displayed correction candidate items. In this way, the correction scheme optimized according to the evaluation result takes into account the explainability and rationality of the correction, improves the rationality of the calculation of the target evaluation index, is conducive to obtaining a reasonable evaluation result, and can correctly guide the optimization of the input method correction scheme according to the reasonable evaluation result.

[0098] It can be seen from the above technical scheme that when determining the target evaluation index for error correction evaluation, the present application can obtain error correction data to be classified, and the error correction data to be classified is the error correction data generated for the input string that does not meet the user's error correction needs. The user's error correction needs represent whether the user wants the input method to provide error correction candidates for the user. However, although some error correction data in the error correction data to be classified do not meet the user's error correction needs, the error correction results included therein are explainable and reasonable. Therefore, since the classifier is trained based on the error correction data and the feature data of the error correction data, and the feature data is used to reflect the credibility of the error correction results in the error correction data, the error correction data to be classified is classified by the classifier to obtain the first evaluation set and the second evaluation set. The credibility of the error correction results of the error correction data to be classified in the first evaluation set is greater than the first threshold, and the credibility of the error correction results of the error correction data to be classified in the second evaluation set is less than the second threshold, and the first threshold is greater than the second threshold. Compared with the traditional method, the traditional method uniformly regards the error correction results in the error correction data to be classified as wrong error correction results, and does not consider the interpretability of the error correction results in the error correction data to be classified. In this application, since the credibility of the error correction result can reflect whether the error correction result is interpretable and reasonable, the interpretable error correction data in the error correction data to be classified can be distinguished by classifying the error correction data to be classified into the first evaluation set and the second evaluation set. Therefore, the target evaluation index of the error correction scheme is calculated according to the number of error correction data belonging to the first evaluation set or the second evaluation set. The target evaluation index is used to evaluate the error correction scheme, which improves the rationality of the calculation of the target evaluation index, is conducive to obtaining a reasonable evaluation result, and the optimization of the input method error correction scheme can be correctly guided according to the reasonable evaluation result, so that the input method can provide reasonable error correction candidates when correcting errors through the optimized error correction scheme, thereby improving the user experience.

[0099] Based on the error correction evaluation method provided in the above embodiment, the present application embodiment provides an error correction evaluation device, see Figure 3 As shown, the device includes an acquisition unit 301, a determination unit 302 and a calculation unit 303:

[0100] The acquisition unit 301 is used to acquire error correction data to be classified, where the error correction data to be classified is error correction data generated for the input character string that does not meet the user's error correction requirements;

[0101] The determining unit 302 is used to classify the error correction data to be classified by a classifier to obtain a first evaluation set and a second evaluation set; the credibility of the error correction results of the error correction data to be classified in the first evaluation set is greater than a first threshold, the credibility of the error correction results of the error correction data to be classified in the second evaluation set is less than a second threshold, and the first threshold is greater than the second threshold; the classifier is obtained by training based on the error correction data and feature data of the error correction data, and the feature data is used to reflect the credibility of the error correction results in the error correction data;

[0102] The calculation unit 303 is used to calculate a target evaluation index of the error correction scheme according to the amount of error correction data belonging to the first evaluation set or the second evaluation set, and the target evaluation index is used to evaluate the error correction scheme.

[0103] Optionally, the error correction data to be classified is error correction data that displays error correction candidates and the user selects feature candidates for the input string, and the target evaluation indicator is the error correction rate; the feature candidate is a candidate that matches the input string.

[0104] Optionally, the computing unit is used to:

[0105] In the process of generating error correction data for the input string by the error correction scheme, determining the number of error correction data belonging to the second evaluation set as a first value, and the number of error correction data of feature candidates selected by the user for the input string as a second value;

[0106] The ratio of the first value to the second value is used as the error correction rate.

[0107] Optionally, the error correction data to be classified is error correction data for which no error correction candidates are displayed and the user inputs a backspace character for the input character string, and the target evaluation indicator is error correction coverage.

[0108] Optionally, the computing unit is used to:

[0109] In the process of generating error correction data for the input string by the error correction scheme, the number of error correction data belonging to the first evaluation set is determined as a third value, the number of error correction data for which error correction candidates are displayed for the input string and the error correction candidates are selected is determined as a fourth value, and the number of error correction candidates for which no error correction candidate is displayed and the number of backspace characters entered by the user for the input string is determined as a fifth value;

[0110] The ratio of the sum of the third value and the fourth value to the sum of the fourth value and the fifth value is used as the error correction coverage.

[0111] Optionally, the backspace character is input by the user during the input process; or, the backspace character is input by the user after the input character string appears on the screen.

[0112] Optionally, the characteristic data includes at least one or more combinations of the following:

[0113] Related feature data of feature candidates for the input string, the feature candidates being candidates that match the input string;

[0114] Related feature data of error correction candidates for the input character string;

[0115] The user input habit characteristic data reflects the user input habit.

[0116] It can be seen from the above technical scheme that when determining the target evaluation index for error correction evaluation, the present application can obtain error correction data to be classified, and the error correction data to be classified is the error correction data generated for the input string that does not meet the user's error correction needs. The user's error correction needs represent whether the user wants the input method to provide error correction candidates for the user. However, although some error correction data in the error correction data to be classified do not meet the user's error correction needs, the error correction results included therein are explainable and reasonable. Therefore, since the classifier is trained based on the error correction data and the feature data of the error correction data, and the feature data is used to reflect the credibility of the error correction results in the error correction data, the error correction data to be classified is classified by the classifier to obtain the first evaluation set and the second evaluation set. The credibility of the error correction results of the error correction data to be classified in the first evaluation set is greater than the first threshold, and the credibility of the error correction results of the error correction data to be classified in the second evaluation set is less than the second threshold, and the first threshold is greater than the second threshold. Compared with the traditional method, the traditional method uniformly regards the error correction results in the error correction data to be classified as wrong error correction results, and does not consider the interpretability of the error correction results in the error correction data to be classified. In this application, since the credibility of the error correction result can reflect whether the error correction result is interpretable and reasonable, the interpretable error correction data in the error correction data to be classified can be distinguished by classifying the error correction data to be classified into the first evaluation set and the second evaluation set. Therefore, the target evaluation index of the error correction scheme is calculated according to the number of error correction data belonging to the first evaluation set or the second evaluation set. The target evaluation index is used to evaluate the error correction scheme, which improves the rationality of the calculation of the target evaluation index, is conducive to obtaining a reasonable evaluation result, and the optimization of the input method error correction scheme can be correctly guided according to the reasonable evaluation result, so that the input method can provide reasonable error correction candidates when correcting errors through the optimized error correction scheme, thereby improving the user experience.

[0117] This embodiment also provides a device for error correction evaluation, which may be a terminal device. Figure 44 is a block diagram of a terminal device 400 according to an exemplary embodiment. For example, the terminal device 400 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0118] Reference Figure 4 The terminal device 400 may include one or more of the following components: a processing component 402 , a memory 404 , a power component 406 , a multimedia component 408 , an audio component 410 , an input / output (I / O) interface 412 , a sensor component 414 , and a communication component 416 .

[0119] The processing component 402 generally controls the overall operation of the terminal device 400, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 402 may include one or more processors 420 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 402 may include one or more modules to facilitate the interaction between the processing component 402 and other components. For example, the processing component 402 may include a multimedia module to facilitate the interaction between the multimedia component 408 and the processing component 402.

[0120] The memory 404 is configured to store various types of data to support operations on the terminal device 400. Examples of such data include instructions for any application or method operating on the device 400, contact data, phone book data, messages, pictures, videos, etc. The memory 404 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0121] The power supply component 406 provides power to various components of the terminal device 400. The power supply component 406 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the device 400.

[0122] The multimedia component 408 includes a screen that provides an output interface between the terminal device 400 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 408 includes a front camera and / or a rear camera. When the terminal device 400 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and the rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0123] The audio component 410 is configured to output and / or input audio signals. For example, the audio component 410 includes a microphone (MIC), and when the device 400 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 404 or sent via the communication component 416. In some embodiments, the audio component 410 also includes a speaker for outputting audio signals.

[0124] I / O interface 412 provides an interface between processing component 402 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.

[0125] The sensor assembly 414 includes one or more sensors for providing various aspects of status assessment for the terminal device 400. For example, the sensor assembly 414 can detect the open / closed state of the terminal device 400, the relative positioning of the components, such as the display and keypad of the terminal device 400, and the sensor assembly 414 can also detect the position change of the terminal device 400 or a component of the terminal device 400, the presence or absence of contact between the user and the terminal device 400, the orientation or acceleration / deceleration of the terminal device 400, and the temperature change of the terminal device 400. The sensor assembly 414 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 414 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 414 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0126] The communication component 416 is configured to facilitate wired or wireless communication between the terminal device 400 and other devices. The terminal device 400 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 416 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 416 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0127] In an exemplary embodiment, the terminal device 400 can be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above method.

[0128] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 404 including instructions, and the instructions can be executed by a processor 420 of a terminal device 400 to complete the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0129] A non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by a processor of a mobile terminal, enables the mobile terminal to perform an error correction evaluation method, the method comprising:

[0130] Obtaining error correction data to be classified, wherein the error correction data to be classified is error correction data generated for an input character string that does not meet a user's error correction requirement;

[0131] The error correction data to be classified is classified by a classifier to obtain a first evaluation set and a second evaluation set; the credibility of the error correction results of the error correction data to be classified in the first evaluation set is greater than a first threshold, the credibility of the error correction results of the error correction data to be classified in the second evaluation set is less than a second threshold, and the first threshold is greater than the second threshold; the classifier is trained based on the error correction data and feature data of the error correction data, and the feature data is used to reflect the credibility of the error correction results in the error correction data;

[0132] A target evaluation index of an error correction scheme is calculated according to the amount of error correction data belonging to the first evaluation set or the second evaluation set, and the target evaluation index is used to evaluate the error correction scheme.

[0133] The device for error correction evaluation provided in this embodiment may also be a server. Figure 5 : is a schematic diagram of the structure of the server in an embodiment of the present invention. The server 500 may have relatively large differences due to different configurations or performances, and may include one or more central processing units (CPU) 522 (for example, one or more processors) and a memory 532, and one or more storage media 530 (for example, one or more mass storage devices) storing application programs 542 or data 544. Among them, the memory 532 and the storage medium 530 can be temporary storage or permanent storage. The program stored in the storage medium 530 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations in the server. Furthermore, the central processing unit 522 can be configured to communicate with the storage medium 530 to execute a series of instruction operations in the storage medium 530 on the server 500.

[0134] The server 500 may also include one or more power supplies 526, one or more wired or wireless network interfaces 550, one or more input and output interfaces 558, one or more keyboards 556, and / or one or more operating systems 541, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.

[0135] A person of ordinary skill in the art can understand that all or part of the steps of implementing the above-mentioned method embodiment can be completed by hardware related to program instructions, and the above-mentioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above-mentioned method embodiment; and the above-mentioned storage medium can be at least one of the following media: read-only memory (English: read-only memory, abbreviated: ROM), RAM, magnetic disk or optical disk, etc. Various media that can store program codes.

[0136] It should be noted that each embodiment in this specification is described in a progressive manner, and the same and similar parts between the embodiments can refer to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device and system embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can refer to the partial description of the method embodiments. The device and system embodiments described above are merely schematic, in which the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative work.

[0137] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. An error correction evaluation method, characterized in that: The method comprises: Obtaining error correction data to be classified, wherein the error correction data to be classified is error correction data generated for an input character string that does not meet a user's error correction requirement; The error correction data to be classified is classified by a classifier to obtain a first evaluation set and a second evaluation set; the credibility of the error correction results of the error correction data to be classified in the first evaluation set is greater than a first threshold, the credibility of the error correction results of the error correction data to be classified in the second evaluation set is less than a second threshold, and the first threshold is greater than the second threshold; the classifier is trained based on the error correction data and feature data of the error correction data, and the feature data is used to reflect the credibility of the error correction results in the error correction data; Calculating a target evaluation index of an error correction scheme according to the amount of error correction data belonging to the first evaluation set or the second evaluation set, wherein the target evaluation index is used to evaluate the error correction scheme; Wherein, the error correction data to be classified is the error correction data for which error correction candidates are displayed and the user selects feature candidates for the input character string, and the target evaluation index is the error correction rate; the feature candidate is a candidate that matches the input character string; the target evaluation index of the error correction scheme is calculated according to the number of error correction data belonging to the first evaluation set or the second evaluation set, including: in the process of generating error correction data for the input character string through the error correction scheme, determining the number of error correction data belonging to the second evaluation set as a first value, and the number of error correction data for which the user selects feature candidates for the input character string as a second value; and taking the ratio of the first value to the second value as the error correction rate; or, The error correction data to be classified is error correction data for which no error correction candidates are displayed and for which a user enters a backspace character for the input character string, and the target evaluation indicator is the error correction coverage rate; the target evaluation indicator of the error correction scheme is calculated based on the number of error correction data belonging to the first evaluation set or the second evaluation set, including: in the process of generating error correction data for the input character string through the error correction scheme, determining the number of error correction data belonging to the first evaluation set as a third value, the number of error correction data for which error correction candidates are displayed for the input character string and the error correction candidates are selected as a fourth value, and the number of error correction data for which no error correction candidates are displayed and for which a user enters a backspace character for the input character string as a fifth value; and taking the ratio of the sum of the third value and the fourth value to the sum of the fourth value and the fifth value as the error correction coverage rate.

2. The method according to claim 1, characterized in that The backspace character is input by the user during the input process; or, the backspace character is input by the user after the input character string is displayed on the screen.

3. The method according to claim 1, characterized in that The characteristic data includes at least one or more combinations of the following: Related feature data of feature candidates for the input string, the feature candidates being candidates that match the input string; Related feature data of error correction candidates for the input character string; The user input habit characteristic data reflects the user input habit.

4. An error correction evaluation device, characterized in that: The device comprises an acquisition unit, a determination unit and a calculation unit: The acquisition unit is used to acquire the error correction data to be classified, wherein the error correction data to be classified is the error correction data generated for the input character string that does not meet the user's error correction requirements; The determination unit is used to classify the error correction data to be classified through a classifier to obtain a first evaluation set and a second evaluation set; the credibility of the error correction results of the error correction data to be classified in the first evaluation set is greater than a first threshold, the credibility of the error correction results of the error correction data to be classified in the second evaluation set is less than a second threshold, and the first threshold is greater than the second threshold; the classifier is trained based on the error correction data and feature data of the error correction data, and the feature data is used to reflect the credibility of the error correction results in the error correction data; The calculation unit is used to calculate a target evaluation index of the error correction scheme according to the amount of error correction data belonging to the first evaluation set or the second evaluation set, wherein the target evaluation index is used to evaluate the error correction scheme; Wherein, the error correction data to be classified is the error correction data for which error correction candidates are displayed and the user selects feature candidates for the input character string, and the target evaluation index is the error correction rate; the feature candidate is a candidate that matches the input character string; the calculation unit is used to determine, in the process of generating error correction data for the input character string through the error correction scheme, the number of error correction data belonging to the second evaluation set as a first value, and the number of error correction data for which the user selects feature candidates for the input character string as a second value; and the ratio of the first value to the second value is used as the error correction rate; or, The error correction data to be classified is error correction data for which no error correction candidates are displayed and for which a user inputs a backspace character for the input character string, and the target evaluation indicator is error correction coverage; the calculation unit is used to determine, in the process of generating error correction data for the input character string through the error correction scheme, the number of error correction data belonging to the first evaluation set as a third value, the number of error correction data for which error correction candidates are displayed for the input character string and the error correction candidates are selected as a fourth value, and the number of error correction candidates for which no error correction candidates are displayed and for which a user inputs a backspace character for the input character string as a fifth value; and take the ratio of the sum of the third value and the fourth value to the sum of the fourth value and the fifth value as the error correction coverage.

5. The device according to claim 4, characterized in that The backspace character is input by the user during the input process; or, the backspace character is input by the user after the input character string is displayed on the screen.

6. The device according to claim 4, characterized in that The characteristic data includes at least one or more combinations of the following: Related feature data of feature candidates for the input string, the feature candidates being candidates that match the input string; Related feature data of error correction candidates for the input character string; The user input habit characteristic data reflects the user input habit.

7. A device for error correction evaluation, comprising a memory and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by one or more processors. The one or more programs include instructions for performing the following operations: Obtaining error correction data to be classified, wherein the error correction data to be classified is error correction data generated for an input character string that does not meet a user's error correction requirement; The error correction data to be classified is classified by a classifier to obtain a first evaluation set and a second evaluation set; the credibility of the error correction results of the error correction data to be classified in the first evaluation set is greater than a first threshold, the credibility of the error correction results of the error correction data to be classified in the second evaluation set is less than a second threshold, and the first threshold is greater than the second threshold; the classifier is trained based on the error correction data and feature data of the error correction data, and the feature data is used to reflect the credibility of the error correction results in the error correction data; Calculating a target evaluation index of an error correction scheme according to the amount of error correction data belonging to the first evaluation set or the second evaluation set, wherein the target evaluation index is used to evaluate the error correction scheme; in, The error correction data to be classified is error correction data for which error correction candidates are displayed and the user selects feature candidates for the input string, and the target evaluation index is error correction rate; the feature candidate is a candidate that matches the input string; the processor is specifically used to execute the one or more programs including instructions for performing the following operations: in the process of generating error correction data for the input string through the error correction scheme, determining the number of error correction data belonging to the second evaluation set as a first value, and the number of error correction data for which the user selects feature candidates for the input string as a second value; and using the ratio of the first value to the second value as the error correction rate; or, The error correction data to be classified is error correction data for which no error correction candidates are displayed and for which a user inputs a backspace character for the input string, and the target evaluation indicator is error correction coverage; the processor is specifically further used to execute the one or more programs including instructions for performing the following operations: in the process of generating error correction data for the input string through the error correction scheme, determine that the number of error correction data belonging to the first evaluation set is a third value, the number of error correction data for which error correction candidates are displayed for the input string and the error correction candidates are selected is a fourth value, and the number of error correction candidates for which no error correction candidates are displayed and for which a user inputs a backspace character for the input string is a fifth value; and take the ratio of the sum of the third value and the fourth value to the sum of the fourth value and the fifth value as the error correction coverage.

8. The device according to claim 7, characterized in that The backspace character is input by the user during the input process; or, the backspace character is input by the user after the input character string is displayed on the screen.

9. The device according to claim 7, characterized in that The characteristic data includes at least one or more combinations of the following: Related feature data of feature candidates for the input string, the feature candidates being candidates that match the input string; Related feature data of error correction candidates for the input character string; The user input habit characteristic data reflects the user input habit.

10. A machine-readable medium having instructions stored thereon, which, when executed by one or more processors, causes a device to perform the error correction and evaluation method according to any one of claims 1 to 3.