An input method and apparatus

By recognizing handwritten pinyin and finding matching candidates, the problem of not being able to write characters during handwriting input is solved, thus improving the smoothness of the input method.

CN113918029BActive Publication Date: 2025-10-31BEIJING SOGOU TECHNOLOGY DEVELOPMENT CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111163988.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-30
Publication Date
2025-10-31
Estimated Expiration
2041-09-30

AI Technical Summary

Technical Problem

During handwriting input, users may encounter problems such as being unable to write a certain character, leading to inconsistent input.

Method used

By recognizing the user's handwriting trajectory information, especially handwritten pinyin, matching candidates are found and displayed in the input method for the user to choose from.

Benefits of technology

Even if a user is unable to write a certain character, they can still determine the candidate by handwriting the pinyin, which improves the fluency of handwriting input.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113918029B_ABST
    Figure CN113918029B_ABST
Patent Text Reader

Abstract

This application provides an input method and apparatus. The method includes: acquiring a user's handwriting trajectory information; when handwritten pinyin is recognized based on the handwriting trajectory information, searching for matching candidate options based on the handwritten pinyin; and displaying the candidate options. This application enables the identification of candidate options by recognizing the user's handwritten pinyin in the handwriting input mode of an input method. Even if the user cannot write a certain character, they can still identify candidate options through handwritten pinyin, thus improving the fluency of the user in the handwriting input mode.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of input method technology, and in particular to an input method and an input device. Background Technology

[0002] With the development of computer technology, electronic devices such as mobile phones and tablets have become increasingly popular, bringing great convenience to people's lives, studies, and work. These electronic devices usually have input method applications (referred to as input methods) installed, allowing users to input information using these methods.

[0003] Input methods include handwriting input. When a user does not know how to write a certain character, they can switch to other input methods (such as a 26-key keyboard or a 9-key keyboard) or look up how to write the character before handwriting it, which makes the handwriting input process less smooth. Summary of the Invention

[0004] In view of the above problems, embodiments of this application are proposed to provide an input method and a corresponding input device that overcome or at least partially solve the above problems.

[0005] To address the aforementioned problems, this application discloses an input method, including:

[0006] Obtain the user's handwriting trajectory information;

[0007] When a handwritten pinyin is recognized based on the handwritten trajectory information, a matching candidate is searched based on the handwritten pinyin;

[0008] The candidates are displayed.

[0009] Optionally, when handwritten pinyin is recognized based on the handwritten trajectory information, searching for matching candidates based on the handwritten pinyin includes:

[0010] When handwritten pinyin and handwritten Chinese characters are identified based on the handwritten trajectory information, the handwritten Chinese characters are converted into the corresponding pinyin.

[0011] Find the Chinese character that matches the converted pinyin corresponding to the handwritten pinyin and the handwritten Chinese character;

[0012] The first candidate is determined based on the Chinese characters that match the handwritten pinyin and the converted pinyin.

[0013] Optionally, when handwritten pinyin is recognized based on the handwritten trajectory information, searching for matching candidates based on the handwritten pinyin includes:

[0014] When handwritten pinyin and handwritten Chinese characters are identified based on the handwritten trajectory information, the Chinese characters that match the handwritten pinyin are searched.

[0015] The second candidate is determined based on the Chinese characters matched by the handwritten pinyin and the handwritten Chinese characters.

[0016] Optionally, displaying the candidates includes:

[0017] When the candidate options include the first candidate option and the second candidate option, and the first candidate option and the second candidate option are not the same, the order of the first candidate option and the second candidate option is determined;

[0018] The first and second candidates are displayed in the order stated.

[0019] Optionally, when handwritten pinyin is recognized based on the handwritten trajectory information, searching for matching candidates based on the handwritten pinyin includes:

[0020] When a handwritten pinyin is identified based on the handwritten trajectory information, the handwritten pinyin is used as a candidate.

[0021] Optionally, when handwritten pinyin is recognized based on the handwritten trajectory information, searching for matching candidates based on the handwritten pinyin includes:

[0022] When handwritten pinyin and handwritten English letters are identified based on the handwritten trajectory information, the handwritten pinyin is used as a candidate.

[0023] The method further includes:

[0024] The handwritten English letters were selected as candidates.

[0025] Optionally, displaying the candidates includes:

[0026] The recognition accuracy rates of the handwritten pinyin and the handwritten English letters were determined respectively;

[0027] Based on the recognition accuracy, determine the order of the handwritten pinyin and the handwritten English letters;

[0028] The handwritten pinyin and handwritten English letters are displayed in the order described.

[0029] Optionally, when handwritten pinyin is recognized based on the handwritten trajectory information, searching for matching candidates based on the handwritten pinyin includes:

[0030] When a handwritten pinyin is recognized based on the handwritten trajectory information, an English letter that is similar to or the same as the handwritten pinyin is identified, and the similar or the same English letter is selected as a candidate.

[0031] Optionally, when handwritten pinyin is recognized based on the handwritten trajectory information, searching for matching candidates based on the handwritten pinyin includes:

[0032] When handwritten pinyin is recognized based on the handwritten trajectory information, the handwritten pinyin is corrected to obtain corrected pinyin;

[0033] Based on the corrected pinyin, find matching candidates.

[0034] This application also discloses an input device, including:

[0035] The acquisition module is used to acquire the user's handwriting trajectory information;

[0036] The candidate selection module is used to find matching candidate options based on the handwritten pinyin when the handwritten pinyin is identified based on the handwritten trajectory information.

[0037] The candidate display module is used to display the candidate options.

[0038] Optionally, the candidate selection module includes:

[0039] The conversion submodule is used to convert the handwritten Chinese characters into the corresponding converted pinyin when the handwritten pinyin and handwritten Chinese characters are identified based on the handwritten trajectory information;

[0040] The first Chinese character search submodule is used to search for Chinese characters that match the handwritten pinyin and the converted pinyin corresponding to the handwritten Chinese character;

[0041] The first candidate selection submodule is used to determine the first candidate based on the Chinese characters that match the handwritten pinyin and the converted pinyin.

[0042] Optionally, the candidate selection module includes:

[0043] The second Chinese character search submodule is used to search for Chinese characters that match the handwritten pinyin when handwritten pinyin and handwritten Chinese characters are identified based on the handwritten trajectory information.

[0044] The second candidate selection submodule is used to determine the second candidate based on the Chinese characters matched by the handwritten pinyin and the handwritten Chinese characters.

[0045] Optionally, the candidate display module includes:

[0046] The sorting determination submodule is used to determine the sorting order of the first candidate and the second candidate when the candidate includes the first candidate and the second candidate, and the first candidate and the second candidate are not the same.

[0047] The sorting and display submodule is used to display the first candidate and the second candidate according to the sorting.

[0048] Optionally, the candidate determination module includes:

[0049] The handwritten pinyin candidate submodule is used to identify handwritten pinyin as a candidate when the handwritten pinyin is recognized based on the handwriting trajectory information.

[0050] Optionally, the candidate determination module includes:

[0051] The Pinyin candidate submodule is used to select the handwritten Pinyin as a candidate when the handwritten Pinyin and handwritten English letters are identified based on the handwriting trajectory information.

[0052] The device further includes:

[0053] The letter candidate module is used to select the handwritten English letters as candidates.

[0054] Optionally, the candidate display module includes:

[0055] The recognition accuracy determination submodule is used to determine the recognition accuracy of the handwritten pinyin and the handwritten English letters respectively;

[0056] The Pinyin alphabet sorting determination submodule is used to determine the sorting of the handwritten Pinyin and the handwritten English letters based on the recognition accuracy.

[0057] The Pinyin alphabet display submodule is used to display the handwritten Pinyin and the handwritten English letters according to the sorting order.

[0058] Optionally, the candidate determination module includes:

[0059] The letter candidate determination submodule is used to determine English letters that are similar to or the same as the handwritten pinyin when the handwritten pinyin is recognized based on the handwritten trajectory information, and to use the similar or the same English letters as candidates.

[0060] Optionally, the candidate determination module includes:

[0061] The Pinyin correction submodule is used to perform error correction processing on the handwritten Pinyin when it is recognized based on the handwriting trajectory information, so as to obtain the corrected Pinyin;

[0062] The error correction candidate determination submodule is used to find matching candidates based on the corrected pinyin.

[0063] This application also discloses an electronic device, including: a processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein the computer program, when executed by the processor, implements the steps of the input method as described above.

[0064] This application also discloses a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the input method described above.

[0065] The embodiments of this application have the following advantages:

[0066] In this embodiment, the input method can acquire the user's handwriting trajectory information. When the handwriting trajectory information includes handwritten pinyin, the input method can search for matching candidate options based on the handwritten pinyin and display the candidate options. This embodiment enables the identification of candidate options by recognizing the user's handwritten pinyin in the handwriting input mode of the input method. Even if the user cannot write a certain character, they can still identify candidate options through handwritten pinyin, thus improving the fluency of the user in the handwriting input mode. Attached Figure Description

[0067] Figure 1 This is a flowchart illustrating the steps of an input method provided in an embodiment of this application;

[0068] Figure 2 This is a flowchart of another input method provided in an embodiment of this application;

[0069] Figure 3 This is a flowchart of another input method provided in an embodiment of this application;

[0070] Figure 4 This is a flowchart of another input method provided in an embodiment of this application;

[0071] Figure 5 This is a flowchart of another input method provided in an embodiment of this application;

[0072] Figure 6 This is a structural block diagram of an input device provided in an embodiment of this application.

[0073] Figure 7 This is a structural block diagram of an optional embodiment of an input device according to this application.

[0074] Figure 8 This is a structural block diagram of an electronic device for input according to an exemplary embodiment of this application;

[0075] Figure 9 This is a schematic diagram of the structure of an electronic device for input according to another exemplary embodiment of this application. Detailed Implementation

[0076] To make the above-mentioned objectives, features and advantages of this application more apparent and understandable, the application will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0077] When a user performs handwriting input on the handwriting input interface of an input method, the user can write handwriting trajectory information on the interface. The input method can recognize the handwriting trajectory information and search for candidate characters based on the recognition results. To improve the fluency of handwriting input, one of the core concepts of this application embodiment is that the input method can recognize handwritten pinyin, so that even if the user does not know how to write a certain character, they can still enter the pinyin to find the matching Chinese character.

[0078] Reference Figure 1 The diagram illustrates a flowchart of an input method provided in an embodiment of this application. The method may specifically include the following steps:

[0079] Step 101: Obtain the user's handwriting trajectory information.

[0080] When a user selects handwriting input as the input method, the input method can provide a handwriting input interface. The user can write handwriting trajectory information on the handwriting input interface, and the input method can obtain the handwriting trajectory information entered by the user.

[0081] In this embodiment, the input method supports mixed input of handwritten Pinyin, handwritten Chinese characters, and handwritten English letters. Handwriting trajectory information can include the trajectories of handwritten Pinyin, handwritten Chinese characters, and handwritten English letters. The input method can distinguish between these trajectories. Handwritten Pinyin is identified as Pinyin; handwritten Chinese characters are identified as handwritten Chinese characters; and handwritten English letters are identified as handwritten English letters. For example, the input method's handwriting kernel can be invoked to recognize handwriting trajectory information. The handwriting kernel is a module used to recognize handwriting trajectory information and can identify different types of handwriting trajectory information through recognition models, algorithms, and other rules.

[0082] In practice, when users write Pinyin, they can also write the phonetic symbols to help the input method better distinguish between handwritten Pinyin and handwritten English letters.

[0083] Step 102: When the handwritten pinyin is recognized based on the handwritten trajectory information, a matching candidate is searched based on the handwritten pinyin.

[0084] In an embodiment of the present application, the input method can determine candidate items according to the type of the recognized handwritten trajectory information, where the candidate items can include candidate words, expressions, images, etc.

[0085] When it is recognized from the handwritten trajectory information that the handwritten trajectory information is handwritten pinyin, candidate items that match can be searched according to the handwritten pinyin. For example, the user can input "tāo tiè" on the handwritten input interface. The input method recognizes that the handwritten trajectory information is handwritten pinyin, and searches for the matching candidate item "饕餮" according to the handwritten pinyin.

[0086] In an optional embodiment, when it is recognized from the handwritten trajectory information that the handwritten pinyin is recognized, the handwritten pinyin can be used as a candidate item. In practice, the user may want to select the pinyin to be input onto the screen instead of the Chinese characters matched by the pinyin. Therefore, the handwritten pinyin can be used as a candidate item.

[0087] In an optional embodiment, when it is recognized from the handwritten trajectory information that the handwritten pinyin is recognized, similar English letters to the handwritten pinyin can be determined, and the similar English letters can be used as candidate items.

[0088] Since handwritten pinyin and handwritten English letters are similar and are prone to writing errors. It is possible that the user wants to write pinyin but it is recognized as handwritten English letters, or it is possible that the user wants to write English letters but it is recognized as handwritten pinyin. Therefore, when recognizing including handwritten pinyin, similar English letters can be used as candidate items, which can enable the user to perceive whether an input error occurs.

[0089] In an optional embodiment, when it is recognized from the handwritten trajectory information that the handwritten pinyin is recognized, association can be performed on the handwritten pinyin to determine matching candidate items. Exemplarily, association can be performed on the handwritten pinyin based on the current input scenario, the context information of the current input box, etc.

[0090] In an optional embodiment, when it is recognized from the handwritten trajectory information that the handwritten pinyin and handwritten Chinese characters are recognized, matching candidate items can be determined based on the handwritten pinyin and the handwritten Chinese characters together.

[0091] In an optional embodiment, when it is recognized from the handwritten trajectory information that the handwritten pinyin and handwritten English letters are recognized, matching candidate items can be determined based on the handwritten pinyin and the handwritten English letters together.

[0092] In an optional embodiment, when it is recognized from the handwritten trajectory information that the handwritten pinyin, handwritten Chinese characters and handwritten English letters are recognized, matching candidate items can be determined based on the handwritten pinyin, handwritten Chinese characters and handwritten English letters together.

[0093] Step 103, display the candidate items.

[0094] The input method can display the searched options in the candidate bar, allowing users to select the options to display on the screen.

[0095] When there are multiple candidate options, the ranking weight of each candidate option can be determined, and the candidate options can be sorted and displayed according to the ranking weight.

[0096] For example, when handwritten pinyin is used as a candidate, a higher weight can be assigned to the handwritten pinyin candidate, so that the handwritten pinyin candidate is ranked higher.

[0097] In this embodiment, the input method can acquire the user's handwriting trajectory information. When the handwriting trajectory information includes handwritten pinyin, the input method can search for matching candidate options based on the handwritten pinyin and display the candidate options. This embodiment enables the identification of candidate options by recognizing the user's handwritten pinyin in the handwriting input mode of the input method. Even if the user cannot write a certain character, they can still identify candidate options through handwritten pinyin, thus improving the fluency of the user in the handwriting input mode.

[0098] Reference Figure 2 The diagram illustrates a flowchart of another input method provided in an embodiment of this application. The method may specifically include the following steps:

[0099] Step 201: Obtain the user's handwriting trajectory information.

[0100] Step 202: When handwritten pinyin and handwritten Chinese characters are identified based on the handwritten trajectory information, the handwritten Chinese characters are converted into the corresponding converted pinyin.

[0101] For example, the handwriting kernel of the input method can be invoked to recognize handwriting trajectory information. When the recognized handwriting trajectory information includes both handwritten pinyin and handwritten Chinese characters, the handwritten Chinese characters can be converted into pinyin first.

[0102] Step 203: Find the Chinese character that matches the converted pinyin corresponding to the handwritten pinyin and the handwritten Chinese character.

[0103] For example, the input method's pinyin kernel can be invoked to find Chinese characters that match the converted pinyin corresponding to the handwritten pinyin and the handwritten Chinese characters.

[0104] In this application, the handwritten pinyin and the converted pinyin corresponding to the handwritten Chinese characters can be combined to search for Chinese characters that match the combined pinyin. For example, the user can enter "tāo tiè feast" on the handwritten input interface, and the input method recognizes that the handwritten trajectory information includes the handwritten pinyin "tāo tiè" and the handwritten Chinese characters "feast"; convert "feast" to the converted pinyin "shèng yàn", combine the handwritten pinyin and the converted pinyin to get "tāo tièshèng yàn", and finally find the candidate word "sumptuous feast" that matches "tāo tièshèng yàn".

[0105] For another example, the user can enter "collecting liquid into qiú" on the handwritten input interface, and the input method recognizes that the handwritten trajectory information includes the handwritten Chinese characters "collecting liquid into" and the handwritten pinyin "qiú"; convert "collecting liquid into" to the converted pinyin "jíyèchéng", combine the handwritten pinyin and the converted pinyin to get "jíyèchéng qiú", and finally find the candidate word "many a little makes a mickle" that matches "jíyèchéng qiú", so as to correct the miswritten Chinese character "liquid" to the correct Chinese character "armpit".

[0106] Step 204, determine the first candidate item according to the Chinese characters that match the handwritten pinyin and the converted pinyin.

[0107] Exemplarily, the Chinese characters that match the combined pinyin of the handwritten pinyin and the converted pinyin can be used as the first candidate item, or the words obtained by associating according to the Chinese characters that match the combined pinyin can be used as the first candidate item, or the combined pinyin can be used as the first candidate item.

[0108] Step 205, display the first candidate item.

[0109] The input method can display the found first candidate item in the candidate bar, so that the user can select the first candidate item to be input on the screen. When there are multiple first candidate items, the sorting weights of each first candidate item can be determined respectively, and the first candidate items can be sorted and displayed according to the sorting weights.

[0110] In this embodiment, the input method can acquire the user's handwriting trajectory information. When the handwriting trajectory information includes handwritten pinyin and handwritten Chinese characters, the handwritten Chinese characters are converted into corresponding converted pinyin. The method then searches for Chinese characters that match the converted pinyin, and determines and displays the first candidate word based on the matching character. This embodiment enables the identification of candidate words by recognizing the user's handwritten pinyin and handwritten Chinese characters in the handwriting input mode. Even if the user cannot write a certain character, they can still determine the candidate word through the handwritten pinyin, improving the fluency of the user's handwriting input. Furthermore, by converting the handwritten Chinese characters into converted pinyin and then combining the converted pinyin with the handwritten pinyin, word lookup can be performed based on the combined pinyin. This can correct incorrectly entered Chinese characters, ensuring the accuracy of candidate words.

[0111] Reference Figure 3 The diagram illustrates a flowchart of another input method provided in an embodiment of this application. The method may specifically include the following steps:

[0112] Step 301: Obtain the user's handwriting trajectory information.

[0113] Step 302: When handwritten pinyin and handwritten Chinese characters are identified based on the handwritten trajectory information, search for the Chinese characters that match the handwritten pinyin.

[0114] For example, the handwriting kernel of the input method can be invoked to recognize handwriting trajectory information. When the recognized handwriting trajectory information includes both handwritten pinyin and handwritten Chinese characters, the pinyin kernel of the input method is used to find the Chinese characters that match the handwritten pinyin.

[0115] Step 303: Determine the second candidate based on the Chinese characters matched by the handwritten pinyin and the handwritten Chinese characters.

[0116] For example, based on the input order, words can be formed by matching the handwritten pinyin with the handwritten Chinese characters, resulting in at least one word as a second candidate.

[0117] In one optional embodiment of this application, the method may further include: when handwritten pinyin and handwritten Chinese characters are identified based on the handwritten trajectory information, converting the handwritten Chinese characters into corresponding converted pinyin; searching for Chinese characters that match the converted pinyin corresponding to the handwritten pinyin and the handwritten Chinese characters; and determining a first candidate based on the Chinese characters that match the handwritten pinyin and the converted pinyin.

[0118] In the embodiments of the application, when the identified handwritten trajectory information includes handwritten pinyin and handwritten Chinese characters, two methods can be used to determine the candidate options. One method is to convert the handwritten Chinese characters into converted pinyin, then combine the converted pinyin with the handwritten pinyin, and search for words based on the combined pinyin to obtain the first candidate option. The other method is to form words based on the Chinese characters matched by the handwritten pinyin and the handwritten Chinese characters to obtain the second candidate option. The first and second candidate options may be the same or different.

[0119] Step 304: Display the second candidate.

[0120] When there are multiple second candidates, the ranking weight of each second candidate can be determined, and the second candidates can be sorted and displayed according to the ranking weight.

[0121] In one optional embodiment of this application, step 304 may include the following sub-steps:

[0122] Sub-step S11: When the candidate options include the first candidate option and the second candidate option, and the first candidate option and the second candidate option are not the same, determine the order of the first candidate option and the second candidate option.

[0123] For example, when the first and second candidate options are different, their order can be determined according to a preset sorting strategy. For instance, the input method can statistically analyze the historical click-through rates of candidate options. When the first and second candidate options are different, the historical click-through rates of the first and second candidate options can be obtained separately, and a sorting weight can be determined based on these rates. Alternatively, the sorting weights of the first and second candidate options can be determined based on the context information of the current input box and the current input scenario. In practice, those skilled in the art can determine the sorting weights of the first and second candidate options based on various factors such as the context information of the current input box, the current input scenario, and historical click-through rates. This application does not limit this approach.

[0124] Sub-step S12: Display the first candidate and the second candidate according to the sorting.

[0125] The input method can display the first and second candidate options in the candidate bar according to their order.

[0126] In this embodiment, the input method can acquire the user's handwriting trajectory information; when the handwriting trajectory information includes handwritten pinyin and handwritten Chinese characters, it searches for Chinese characters that match the handwritten pinyin; it determines a second candidate option based on the handwritten pinyin and the handwritten Chinese characters; finally, the input method displays the second candidate option in the candidate bar. This embodiment enables the identification of candidate options by recognizing the user's handwritten pinyin and handwritten Chinese characters in the handwriting input mode of the input method. Even if the user cannot write a certain character, they can still determine the candidate option through handwritten pinyin, improving the user's fluency in the handwriting input mode.

[0127] Reference Figure 4 The diagram illustrates a flowchart of another input method provided in an embodiment of this application. The method may specifically include the following steps:

[0128] Step 401: Obtain the user's handwriting trajectory information.

[0129] Step 402: When handwritten pinyin and handwritten English letters are identified based on the handwritten trajectory information, the handwritten pinyin is selected as a candidate and the handwritten English letters are selected as candidates.

[0130] For example, the handwriting kernel of the input method can be invoked to recognize handwriting trajectory information. When the recognized handwriting trajectory information includes handwritten Pinyin and handwritten English letters, errors are easily made due to their similarity. The user might intend to write Pinyin but it is recognized as handwritten English letters, or vice versa. Therefore, to allow the user to perceive whether an error has been made, when the recognized handwriting trajectory information includes both handwritten Pinyin and handwritten English letters, both can be presented as candidate options for the user to confirm their choice.

[0131] Step 403: Display the candidate options.

[0132] When there are multiple candidate options, the ranking weight of each candidate option can be determined, and the candidate options can be sorted and displayed according to the ranking weight.

[0133] In one optional embodiment of this application, step 403 may include the following sub-steps:

[0134] Sub-step S21: Determine the recognition accuracy of the handwritten pinyin and the handwritten English letters respectively.

[0135] Sub-step S22: Based on the recognition accuracy, determine the order of the handwritten pinyin and the handwritten English letters.

[0136] Sub-step S23: Display the handwritten pinyin and the handwritten English letters according to the order.

[0137] When it is recognized that the handwritten trajectory information includes handwritten pinyin and handwritten English letters, the recognition accuracies of the handwritten pinyin and the handwritten English letters can be determined respectively. Exemplarily, when the handwriting kernel recognizes the handwritten trajectory information, the recognition accuracies of the handwritten pinyin and the handwritten English letters can be determined. The sorting weights can be set according to the recognition accuracy. The higher the recognition accuracy of the candidate item, the greater the set sorting weight; conversely, the lower the recognition accuracy of the candidate item, the smaller the set sorting weight.

[0138] In practice, those skilled in the art can also determine the sorting weights of candidate items according to various factors such as the context information of the current input box and the current input scenario, and the embodiments of the present application do not limit this.

[0139] In the embodiments of the present application, the input method can obtain the handwritten trajectory information of the user; when the input method recognizes that the handwritten trajectory information includes handwritten pinyin and handwritten English letters, the handwritten pinyin can be used as a candidate item, and the handwritten English letters can be used as candidate items; finally, the input method displays the candidate items in the candidate bar.

[0140] The embodiments of the application implement, in the handwriting input mode of the input method, determining candidate items by recognizing the handwritten pinyin and handwritten English letters input by the user. That is, even if the user cannot write a certain character, the candidate items can be determined by handwriting pinyin, which improves the fluency of the user in the handwriting input mode.

[0141] Refer to Figure 5 , which shows a flowchart of steps of another input method provided by the embodiments of the present application. The method may specifically include the following steps:

[0142] Step 501, obtain the handwritten trajectory information of the user.

[0143] Step 502, when handwritten pinyin is recognized according to the handwritten trajectory information, perform error correction processing on the handwritten pinyin to obtain corrected pinyin.

[0144] When the user inputs handwritten pinyin, writing errors may occur. When the recognized handwritten trajectory information includes handwritten pinyin, error correction processing can be performed on the handwritten pinyin to obtain corrected pinyin.

[0145] Exemplarily, the handwritten pinyin input by the user may be determined based on inaccurate pronunciation. For example, due to geographical restrictions, there are many dialects in China, and the pronunciations of people in different places are different. For example, the distinction between retroflex and flat tongue, and between front nasal sound and back nasal sound by people in the south is different from that of people in the north.

[0146] For example, if the handwritten pinyin recognized from the handwritten trajectory information is "leihao", after error correction processing, the corrected pinyin is "nihao", and the candidate "你好" can be obtained according to the corrected pinyin.

[0147] Step 503: Based on the corrected pinyin, find matching candidates.

[0148] Step 504: Display the candidate options.

[0149] The application embodiment realizes that in the handwriting input mode of the input method, by recognizing the handwritten pinyin input by the user, correcting the handwritten pinyin to obtain corrected pinyin, and obtaining matching candidate options based on the corrected pinyin, even if the user cannot write a certain character and misspells the pinyin, the candidate options can be determined by correcting the handwritten pinyin, thereby improving the fluency of the user in the handwriting input mode.

[0150] It should be noted that, for the sake of simplicity, the method embodiments are all described as a series of actions. However, those skilled in the art should understand that the embodiments of this application are not limited to the described order of actions, because according to the embodiments of this application, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of this application.

[0151] Reference Figure 6 The diagram shows a structural block diagram of an input device provided in an embodiment of this application, which may specifically include the following modules:

[0152] Module 601 is used to acquire the user's handwriting trajectory information;

[0153] The candidate selection module 602 is used to find matching candidate options based on the handwritten pinyin when the handwritten pinyin is identified based on the handwritten trajectory information.

[0154] The candidate display module 603 is used to display the candidate options.

[0155] This application embodiment realizes that in the handwriting input mode of the input method, the candidate options can be determined by recognizing the handwritten pinyin entered by the user. Even if the user cannot write a certain character, the candidate options can be determined by handwritten pinyin, which improves the fluency of the user in the handwriting input mode.

[0156] Reference Figure 7 The diagram illustrates a structural block diagram of an optional embodiment of an input device according to this application, wherein the candidate selection module 602 may include:

[0157] The conversion submodule 6021 is used to convert the handwritten Chinese characters into the corresponding converted pinyin when the handwritten pinyin and handwritten Chinese characters are identified based on the handwritten trajectory information;

[0158] The first Chinese character search submodule 6022 is used to search for Chinese characters that match the converted pinyin corresponding to the handwritten pinyin and the handwritten Chinese characters;

[0159] The first candidate selection submodule 6023 is used to determine the first candidate based on the Chinese characters that match the handwritten pinyin and the converted pinyin.

[0160] In an optional embodiment of this application, the candidate determination module 602 may include:

[0161] The second Chinese character search submodule 6024 is used to search for the Chinese character that matches the handwritten pinyin when the handwritten pinyin and handwritten Chinese character are identified based on the handwritten trajectory information.

[0162] The second candidate selection submodule 6025 is used to determine the second candidate based on the Chinese characters matched by the handwritten pinyin and the handwritten Chinese characters.

[0163] In an optional embodiment of this application, the candidate display module 603 may include:

[0164] The sorting determination submodule 6031 is used to determine the sorting order of the first candidate and the second candidate when the candidate includes the first candidate and the second candidate, and the first candidate and the second candidate are not the same.

[0165] The sorting and display submodule 6032 is used to display the first candidate and the second candidate according to the sorting.

[0166] In an optional embodiment of this application, the candidate determination module 602 may include:

[0167] The handwritten pinyin candidate submodule 6026 is used to identify the handwritten pinyin as a candidate when the handwritten pinyin is recognized based on the handwriting trajectory information.

[0168] In an optional embodiment of this application, the candidate determination module 602 includes:

[0169] The Pinyin candidate submodule 6027 is used to select the handwritten Pinyin as a candidate when the handwritten Pinyin and handwritten English letters are identified based on the handwriting trajectory information;

[0170] The device may further include:

[0171] The letter candidate module 604 is used to select the handwritten English letters as candidates.

[0172] In an optional embodiment of this application, the candidate display module 603 may include:

[0173] The recognition accuracy determination submodule 6033 is used to determine the recognition accuracy of the handwritten pinyin and the handwritten English letters respectively;

[0174] The Pinyin alphabet sorting determination submodule 6034 is used to determine the sorting of the handwritten Pinyin and the handwritten English letters based on the recognition accuracy.

[0175] The Pinyin alphabet display submodule 6035 is used to display the handwritten Pinyin and the handwritten English letters according to the sorting order.

[0176] In an optional embodiment of this application, the candidate determination module 602 may include:

[0177] The letter candidate determination submodule 6028 is used to determine English letters that are similar to or the same as the handwritten pinyin when the handwritten pinyin is recognized based on the handwritten trajectory information, and to use the similar or the same English letters as candidates.

[0178] In an optional embodiment of this application, the candidate determination module 602 may include:

[0179] The Pinyin correction submodule 6029 is used to perform error correction processing on the handwritten Pinyin when the handwritten Pinyin is recognized based on the handwriting trajectory information, so as to obtain the corrected Pinyin;

[0180] The error correction candidate determination submodule 60210 is used to find matching candidates based on the corrected pinyin.

[0181] As the device embodiment is basically similar to the method embodiment, the description is relatively simple, and relevant parts can be found in the description of the method embodiment.

[0182] As the device embodiment is basically similar to the method embodiment, the description is relatively simple, and relevant parts can be found in the description of the method embodiment.

[0183] Figure 8 This is a structural block diagram illustrating an electronic device 800 for input, according to an exemplary embodiment. For example, the electronic device 800 may be a mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical device, fitness equipment, personal digital assistant, smart wearable device, etc.

[0184] Reference Figure 8 The electronic device 800 may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input / output (I / O) interface 812, a sensor component 814, and a communication component 816.

[0185] Processing component 802 typically controls the overall operation of electronic device 800, such as operations associated with display, telephone calls, data communication, camera operation, and recording operations. Processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the methods described above. Furthermore, processing component 802 may include one or more modules to facilitate interaction between processing component 802 and other components. For example, processing component 802 may include a multimedia module to facilitate interaction between multimedia component 808 and processing component 802.

[0186] Memory 804 is configured to store various types of data to support the operation of electronic device 800. Examples of this data include instructions for any application or method operating on electronic device 800, contact data, phonebook data, messages, pictures, videos, etc. Memory 804 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 storage, flash memory, magnetic disk, or optical disk.

[0187] Power component 806 provides power to various components of electronic device 800. Power component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to electronic device 800.

[0188] Multimedia component 808 includes a screen that provides an output interface between the electronic device 800 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 touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of the touch or swipe action but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 808 includes a front-facing camera and / or a rear-facing camera. When the electronic device 800 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.

[0189] Audio component 810 is configured to output and / or input audio signals. For example, audio component 810 includes a microphone (MIC) configured to receive external audio signals when electronic device 800 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 804 or transmitted via communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.

[0190] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.

[0191] Sensor assembly 814 includes one or more sensors for providing state assessments of various aspects of electronic device 800. For example, sensor assembly 814 can detect the on / off state of electronic device 800, the relative positioning of components such as the display and keypad of electronic device 800, changes in position of electronic device 800 or a component of electronic device 800, the presence or absence of user contact with electronic device 800, orientation or acceleration / deceleration of electronic device 800, and temperature changes of electronic device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 814 may also include an accelerometer, gyroscope, magnetometer, pressure sensor, or temperature sensor.

[0192] Communication component 816 is configured to facilitate wired or wireless communication between electronic device 800 and other devices. Electronic device 800 can access wireless networks based on communication standards, such as WiFi, 2G, or 3G, or combinations thereof. In one exemplary embodiment, communication component 816 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 816 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.

[0193] In an exemplary embodiment, the electronic device 800 may 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 methods described above.

[0194] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, which can be executed by a processor 820 of an electronic device 800 to perform the above-described method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.

[0195] A non-transitory computer-readable storage medium, when instructions in the storage medium are executed by a processor of an electronic device, enables the electronic device to perform an input method, the method comprising:

[0196] Obtain the user's handwriting trajectory information;

[0197] When a handwritten pinyin is recognized based on the handwritten trajectory information, a matching candidate is searched based on the handwritten pinyin;

[0198] The candidates are displayed.

[0199] Optionally, when handwritten pinyin is recognized based on the handwritten trajectory information, searching for matching candidates based on the handwritten pinyin includes:

[0200] When handwritten pinyin and handwritten Chinese characters are identified based on the handwritten trajectory information, the handwritten Chinese characters are converted into the corresponding pinyin.

[0201] Find the Chinese character that matches the converted pinyin corresponding to the handwritten pinyin and the handwritten Chinese character;

[0202] The first candidate is determined based on the Chinese characters that match the handwritten pinyin and the converted pinyin.

[0203] Optionally, when handwritten pinyin is recognized based on the handwritten trajectory information, searching for matching candidates based on the handwritten pinyin includes:

[0204] When handwritten pinyin and handwritten Chinese characters are identified based on the handwritten trajectory information, the Chinese characters that match the handwritten pinyin are searched.

[0205] The second candidate is determined based on the Chinese characters matched by the handwritten pinyin and the handwritten Chinese characters.

[0206] Optionally, displaying the candidates includes:

[0207] When the candidate options include the first candidate option and the second candidate option, and the first candidate option and the second candidate option are not the same, the order of the first candidate option and the second candidate option is determined;

[0208] The first and second candidates are displayed in the order stated.

[0209] Optionally, when handwritten pinyin is recognized based on the handwritten trajectory information, searching for matching candidates based on the handwritten pinyin includes:

[0210] When a handwritten pinyin is identified based on the handwritten trajectory information, the handwritten pinyin is used as a candidate.

[0211] Optionally, when handwritten pinyin is recognized based on the handwritten trajectory information, searching for matching candidates based on the handwritten pinyin includes:

[0212] When handwritten pinyin and handwritten English letters are identified based on the handwritten trajectory information, the handwritten pinyin is used as a candidate.

[0213] The method further includes:

[0214] The handwritten English letters were selected as candidates.

[0215] Optionally, displaying the candidates includes:

[0216] The recognition accuracy rates of the handwritten pinyin and the handwritten English letters were determined respectively;

[0217] Based on the recognition accuracy, determine the order of the handwritten pinyin and the handwritten English letters;

[0218] The handwritten pinyin and handwritten English letters are displayed in the order described.

[0219] Optionally, when handwritten pinyin is recognized based on the handwritten trajectory information, searching for matching candidates based on the handwritten pinyin includes:

[0220] When a handwritten pinyin is recognized based on the handwritten trajectory information, an English letter that is similar to or the same as the handwritten pinyin is identified, and the similar or the same English letter is selected as a candidate.

[0221] Optionally, when handwritten pinyin is recognized based on the handwritten trajectory information, searching for matching candidates based on the handwritten pinyin includes:

[0222] When handwritten pinyin is recognized based on the handwritten trajectory information, the handwritten pinyin is corrected to obtain corrected pinyin;

[0223] Based on the corrected pinyin, find matching candidates.

[0224] Figure 9 This is a schematic diagram illustrating the structure of an electronic device 900 for input according to another exemplary embodiment of this application. The electronic device 900 can be a server, which can vary significantly depending on its configuration or performance. It may include one or more central processing units (CPUs) 922 (e.g., one or more processors) and a memory 932, and one or more storage media 930 (e.g., one or more mass storage devices) for storing application programs 942 or data 944. The memory 932 and storage media 930 can be temporary or persistent storage. The program stored in the storage media 930 may include one or more modules (not shown in the diagram), each module including a series of instruction operations on the server. Furthermore, the CPU 922 may be configured to communicate with the storage media 930 and execute the series of instruction operations in the storage media 930 on the server.

[0225] The server may also include one or more power supplies 926, one or more wired or wireless network interfaces 950, one or more input / output interfaces 958, one or more keyboards 956, and / or one or more operating systems 941, such as Windows Server™, Mac OS X™, Unix™, Linux™, FreeBSD™, etc.

[0226] In an exemplary embodiment, the server is configured to execute one or more programs by one or more central processing units 922, including instructions for performing the following operations:

[0227] Obtain the user's handwriting trajectory information;

[0228] When a handwritten pinyin is recognized based on the handwritten trajectory information, a matching candidate is searched based on the handwritten pinyin;

[0229] The candidates are displayed.

[0230] Optionally, when handwritten pinyin is recognized based on the handwritten trajectory information, searching for matching candidates based on the handwritten pinyin includes:

[0231] When handwritten pinyin and handwritten Chinese characters are identified based on the handwritten trajectory information, the handwritten Chinese characters are converted into the corresponding pinyin.

[0232] Find the Chinese character that matches the converted pinyin corresponding to the handwritten pinyin and the handwritten Chinese character;

[0233] The first candidate is determined based on the Chinese characters that match the handwritten pinyin and the converted pinyin.

[0234] Optionally, when handwritten pinyin is recognized based on the handwritten trajectory information, searching for matching candidates based on the handwritten pinyin includes:

[0235] When handwritten pinyin and handwritten Chinese characters are identified based on the handwritten trajectory information, the Chinese characters that match the handwritten pinyin are searched.

[0236] The second candidate is determined based on the Chinese characters matched by the handwritten pinyin and the handwritten Chinese characters.

[0237] Optionally, displaying the candidates includes:

[0238] When the candidate options include the first candidate option and the second candidate option, and the first candidate option and the second candidate option are not the same, the order of the first candidate option and the second candidate option is determined;

[0239] The first and second candidates are displayed in the order stated.

[0240] Optionally, when handwritten pinyin is recognized based on the handwritten trajectory information, searching for matching candidates based on the handwritten pinyin includes:

[0241] When a handwritten pinyin is identified based on the handwritten trajectory information, the handwritten pinyin is used as a candidate.

[0242] Optionally, when handwritten pinyin is recognized based on the handwritten trajectory information, searching for matching candidates based on the handwritten pinyin includes:

[0243] When handwritten pinyin and handwritten English letters are identified based on the handwritten trajectory information, the handwritten pinyin is used as a candidate.

[0244] The method further includes:

[0245] The handwritten English letters were selected as candidates.

[0246] Optionally, displaying the candidates includes:

[0247] The recognition accuracy rates of the handwritten pinyin and the handwritten English letters were determined respectively;

[0248] Based on the recognition accuracy, determine the order of the handwritten pinyin and the handwritten English letters;

[0249] The handwritten pinyin and handwritten English letters are displayed in the order described.

[0250] Optionally, when handwritten pinyin is recognized based on the handwritten trajectory information, searching for matching candidates based on the handwritten pinyin includes:

[0251] When a handwritten pinyin is recognized based on the handwritten trajectory information, an English letter that is similar to or the same as the handwritten pinyin is identified, and the similar or the same English letter is selected as a candidate.

[0252] Optionally, when handwritten pinyin is recognized based on the handwritten trajectory information, searching for matching candidates based on the handwritten pinyin includes:

[0253] When handwritten pinyin is recognized based on the handwritten trajectory information, the handwritten pinyin is corrected to obtain corrected pinyin;

[0254] Based on the corrected pinyin, find matching candidates.

[0255] This application also provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, it implements the various processes of the above-described input method embodiments and achieves the same technical effect. To avoid repetition, it will not be described again here.

[0256] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other.

[0257] Those skilled in the art will understand that embodiments of this application can be provided as methods, apparatus, or computer program products. Therefore, embodiments of this application can take the form of entirely hardware embodiments, entirely software embodiments, or embodiments combining software and hardware aspects. Furthermore, embodiments of this application can take the form of computer program products implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0258] This application describes embodiments with reference to flowchart illustrations and / or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of this application. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing terminal device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal device, generate instructions for implementing the flowchart illustrations. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0259] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing terminal device to operate in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0260] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal equipment, causing a series of operational steps to be performed on the computer or other programmable terminal equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable terminal equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0261] Although preferred embodiments of the present application have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of the embodiments of the present application.

[0262] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or terminal device that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or terminal device. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or terminal device that includes said element.

[0263] The above provides a detailed description of an input method and an input device provided in this application. Specific examples have been used to illustrate the principles and implementation methods of this application. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.

Claims

1. An input method, characterized in that, include: Obtain handwritten trajectory information; When a handwritten pinyin is recognized based on the handwritten trajectory information, a matching candidate is searched based on the handwritten pinyin; Show the candidates; The step of finding matching candidates based on the handwritten pinyin when the handwritten trajectory information is recognized includes: When handwritten pinyin and handwritten Chinese characters are identified based on the handwritten trajectory information, the handwritten Chinese characters are converted into the corresponding pinyin. The handwritten pinyin and the converted pinyin are combined to obtain combined pinyin; Find Chinese characters that match the combined pinyin; The first candidate is determined based on the Chinese character that matches the combined pinyin. When handwritten pinyin is recognized based on the handwritten trajectory information, the step of searching for matching candidates based on the handwritten pinyin further includes: When a handwritten pinyin is identified based on the handwritten trajectory information, an English letter that is similar to or the same as the handwritten pinyin is determined, and the similar or the same English letter is used as the candidate.

2. The method according to claim 1, characterized in that, When handwritten pinyin is recognized based on the handwritten trajectory information, the step of searching for matching candidate options based on the handwritten pinyin includes: When a handwritten pinyin is identified based on the handwritten trajectory information, the handwritten pinyin is used as a candidate.

3. The method according to claim 1, characterized in that, When handwritten pinyin is recognized based on the handwritten trajectory information, the step of searching for matching candidate options based on the handwritten pinyin includes: When handwritten pinyin and handwritten English letters are identified based on the handwritten trajectory information, the handwritten pinyin is used as a candidate. The method further includes: The handwritten English letters were selected as candidates.

4. The method according to claim 3, characterized in that, The display of the candidate options includes: The recognition accuracy rates of the handwritten pinyin and the handwritten English letters were determined respectively; Based on the recognition accuracy, the order of the handwritten pinyin and the handwritten English letters is determined; The handwritten pinyin and handwritten English letters are displayed in the order described.

5. The method according to claim 1, characterized in that, When handwritten pinyin is recognized based on the handwritten trajectory information, the step of searching for matching candidate options based on the handwritten pinyin includes: When handwritten pinyin is recognized based on the handwritten trajectory information, the handwritten pinyin is corrected to obtain corrected pinyin; Based on the corrected pinyin, find matching candidates.

6. An input device, characterized in that, include: The acquisition module is used to acquire handwritten trajectory information; The candidate selection module is used to find matching candidate options based on the handwritten pinyin when the handwritten pinyin is identified based on the handwritten trajectory information. The candidate display module is used to display the candidate options; The candidate selection module includes: The conversion submodule is used to convert the handwritten Chinese characters into corresponding converted pinyin when the handwritten pinyin and handwritten Chinese characters are identified based on the handwritten trajectory information; and to combine the handwritten pinyin and the converted pinyin to obtain combined pinyin. The first Chinese character search submodule is used to search for Chinese characters that match the combined pinyin; The first candidate selection submodule is used to determine the first candidate selection based on the Chinese characters that match the combined pinyin. The letter candidate determination submodule is used to determine English letters that are similar to or the same as the handwritten pinyin when the handwritten pinyin is recognized based on the handwritten trajectory information, and to use the similar or the same English letters as the candidate letters.

7. An electronic device, characterized in that, include: A processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein the computer program, when executed by the processor, implements the steps of the input method as described in any one of claims 1-5.

8. A computer-readable storage medium, characterized in that, A computer program is stored on the computer-readable storage medium, which, when executed by a processor, implements the steps of the input method as described in any one of claims 1-5.

Citation Information

Patent Citations

  • Method, system and device for recognizing handwriting input characters

    CN101794398A

  • Input method and device and electronic equipment

    CN111984133A