WO2022247789A1 - Candidate word update method and apparatus, and electronic device - Google Patents

Candidate word update method and apparatus, and electronic device Download PDF

Info

Publication number
WO2022247789A1
WO2022247789A1 PCT/CN2022/094464 CN2022094464W WO2022247789A1 WO 2022247789 A1 WO2022247789 A1 WO 2022247789A1 CN 2022094464 W CN2022094464 W CN 2022094464W WO 2022247789 A1 WO2022247789 A1 WO 2022247789A1
Authority
WO
WIPO (PCT)
Prior art keywords
candidate
candidate word
input
update
target
Prior art date
Application number
PCT/CN2022/094464
Other languages
French (fr)
Chinese (zh)
Inventor
罗世敏
Original Assignee
维沃移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2022247789A1 publication Critical patent/WO2022247789A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • G06F3/0233Character input methods
    • G06F3/0237Character input methods using prediction or retrieval techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/162Interface to dedicated audio devices, e.g. audio drivers, interface to CODECs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/232Orthographic correction, e.g. spell checking or vowelisation
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Definitions

  • the present application belongs to the technical field of communication, and in particular relates to a candidate word updating method, device and electronic equipment.
  • the user can first input pinyin (that is, a string of letters) through the pinyin input method, and then the electronic device can recognize the pinyin input by the user, and match the corresponding pinyin Word.
  • pinyin that is, a string of letters
  • the purpose of the embodiments of the present application is to provide a candidate word updating method, device and electronic equipment, which can solve the problem of low efficiency of user inputting text due to cumbersome operation process of updating wrong characters in candidate words.
  • an embodiment of the present application provides a method for updating candidate words, the method including: receiving a first input to a target candidate content, where the target candidate content is a candidate content corresponding to a first character string input by a user; responding to The first input is to select the first candidate word from the target candidate content; receive the second input to the first candidate word; in response to the second input, keep the second candidate word unchanged, and update the first candidate word; wherein, the second The second candidate word is other candidate words except the first candidate word in the target candidate content.
  • the embodiment of the present application provides a device for updating candidate words
  • the device for updating candidate words may include a receiving module, a selecting module, and an updating module.
  • the receiving module is used to receive the first input of the target candidate content, the target candidate content is the candidate content corresponding to the first character string input by the user;
  • the selection module is used to respond to the first input received by the receiving module, from the target candidate Selecting the first candidate word in the content;
  • the receiving module is also used to receive the second input to the first candidate word;
  • the update module is used to keep the second candidate word unchanged and update the second input in response to the second input received by the receiving module The first candidate word; wherein, the second candidate word is other candidate words in the target candidate content except the first candidate word.
  • the embodiment of the present application provides an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored in the memory and operable on the processor.
  • the program or instruction is executed by the processor, the The steps of the method of the first aspect.
  • the embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method in the first aspect are implemented.
  • the embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the method in the first aspect.
  • the first input to the target candidate content (candidate content corresponding to the first character string input by the user) may be received; and in response to the second input, the first candidate word is selected from the target candidate content ; and receive a second input to the first candidate word; and in response to the second input, update the first candidate word, and keep the second candidate word unchanged; wherein, the second candidate word is in the target candidate content Other candidate words except the first candidate word.
  • Fig. 1 is the schematic diagram of the candidate word updating method that the embodiment of the present application provides;
  • Fig. 2 is one of the interface schematic diagrams of the application of the method for updating candidate words provided by the embodiment of the present application;
  • Fig. 3 is the second schematic interface diagram of the application of the method for updating candidate words provided by the embodiment of the present application;
  • FIG. 4 is the third schematic diagram of the interface of the application of the method for updating candidate words provided by the embodiment of the present application.
  • Fig. 5 is the schematic diagram of the device for updating candidate words in the embodiment of the present application.
  • FIG. 6 is a schematic diagram of an electronic device in an embodiment of the present application.
  • FIG. 7 is a schematic diagram of hardware of an electronic device provided by an embodiment of the present application.
  • logos in the embodiments of the present application are used to indicate text, symbols, images, etc. of information, and controls or other containers may be used as carriers for displaying information, including but not limited to text logos, symbol logos, and image logos.
  • inputting text through the input method greatly reduces the cost of user input.
  • user input is continuous.
  • the user directly inputs the pinyin or voice of a sentence, especially when using 9-key input
  • the user can only put the wrong words and the wrong words Delete the text (specifically delete the pinyin of the wrong text and the text after the wrong text), and then re-enter the pinyin to trigger the electronic device to match the correct text.
  • the purpose of the method for updating candidate words provided in the embodiment of the present application is to provide a more humane way of correcting deviations in understanding of input methods. In the case of retaining the correct text matched by the input method, part of the wrong text can be quickly updated, thereby greatly improving the efficiency of user input and improving the user experience of using the computer.
  • the embodiment of the present application provides a method for updating candidate words, which may include the following steps 101 and 104 .
  • the method is executed by the device for updating candidate words as an example for illustration below.
  • Step 101 the device for updating candidate words receives a user's first input on target candidate content.
  • the target candidate content may be the candidate content corresponding to the first character string input by the user.
  • the user may input the first character string through a voice input method or a pinyin input method.
  • the 9-key input keyboard when using the pinyin input method to input the first character string, can be used to input the first character, or the 26-key input keyboard can be used to input the first character string.
  • the use requirements are determined, and the embodiment of this application does not make a limitation.
  • letters may be included in the first character string.
  • numbers and symbols may also be included in the first character string.
  • the device for updating candidate words may display the target candidate content and the first character string on the first interface.
  • the first interface may be any interface in the electronic device that can input text, for example, the first interface may be a chat interface, a browser interface, and the like.
  • a plurality of candidate contents corresponding to the first character string may be displayed on the first interface, and the plurality of candidate words include target candidate contents.
  • each candidate content may be a word, a phrase or a sentence.
  • each candidate content may include words, letters, numbers and symbols, which may be determined according to actual usage requirements.
  • the first input may be a selection input of the first candidate word.
  • the first input may be an input in which the user draws "/" on the first candidate character, or the first input may be any possible input such as the user's click input or long press input on the first candidate character.
  • Step 102 the candidate word updating device selects the first candidate word from the target candidate content in response to the second input.
  • the first candidate word is a wrongly matched candidate word in the target candidate content. That is, the first candidate word is a candidate word that does not satisfy the user's actual input requirements.
  • Step 101 and step 102 are exemplarily described below in conjunction with FIG. 2 .
  • the chat interface 20 includes a first character string 21 "xuqiuxuyaotajinkuaibiguanluodi” and a target candidate content 22: "the demand requires her to retreat and land quickly”; assuming that the user needs to input a candidate word is: “The demand requires him to close the loop as soon as possible”, then it can be determined that the wrong candidate words in the target candidate content are: “she", “tight” and "off”.
  • the user needs to delete "tajinkuaibiguanluodi" in the first string, and then re-enter until it matches the candidate word: "The demand requires him to close the loop as soon as possible", so due to the need to re-enter the correct candidate word, Therefore, the process of updating candidate words is lengthy, resulting in low efficiency of inputting text.
  • Step 103 the device for updating candidate words receives a second input from the user on the first candidate word.
  • the second input is used to trigger updating of the first candidate word.
  • the first candidate words may include M candidate words, and M may be a positive integer.
  • the second input may be a user's touch input on the first interface.
  • Step 104 the candidate word updating device keeps the second candidate word unchanged and updates the first candidate word in response to the second input.
  • the second candidate word is other candidate words in the target candidate content except the first candidate word. It can be understood that the second candidate word is a candidate word that satisfies the user's actual input requirement in the target candidate content, that is, there is no need to update the second candidate word.
  • the candidate word updating device may sequentially update each candidate word in the multiple candidate words.
  • the wrong candidate word ie, the first candidate word in the candidate word can be quickly updated.
  • the second input can be used to input update information, and the update information can include at least one of the following: tone, radical, pinyin; the above step 104 can be specifically implemented through the following step 104a .
  • Step 104a the candidate word updating device keeps the second candidate word unchanged in response to the second input, and updates the first candidate word to a candidate word corresponding to the second character string and the update information.
  • the updating method adopted by the device for updating candidate words is different, and the above update information may also be different.
  • the update method adopted by the candidate word updating device is the tone method, then the above-mentioned update information is tone;
  • the update method adopted by the candidate word update device is the handwriting completion method, it can also be called Radical radical method, then the above-mentioned updating information is the radical of the tone;
  • the updating method adopted by the candidate word updating device is the word association method, then the above-mentioned updating information is pinyin.
  • the tone method is to quickly select the words the user needs through the tone.
  • the user can directly input the tone on the first interface (that is, the interface displaying the target candidate content).
  • the user can directly write "1" "2" " 3" and "4" are used to represent the tone of the first tone; then the candidate word updating device updates the first candidate word to the candidate word corresponding to the second character string and the tone input by the user.
  • the tone of " ⁇ ” [j ⁇ n] is three tones
  • the candidate word required by the user is "Jin”
  • the tone of "J ⁇ n] is four tones
  • the tone method combines pinyin and tone, and quickly selects the required characters through different tones of different characters. It is generally used when the tones of the first candidate word and the candidate word required by the user are obviously different, and both are high-frequency words, so that the candidate word that meets the user's requirement can be quickly selected on the basis of the tone and character string.
  • the dimension of the tone method is equivalent to an invalid element. Completion by hand can be used.
  • the handwriting completion method combines the character string corresponding to the first candidate character with the radicals input by the user to update the first candidate character.
  • the core of the handwriting completion method is to use the difference in radicals between the alternative characters or the character to be selected is relatively simple compared to handwriting, and the greater the difference, the easier it is for the user to quickly select the desired word.
  • the candidate word updating device can combine the character string "ta” and the radical " ⁇ ” input by the user to update the first candidate word "she” to "he".
  • the first candidate word is quickly updated in combination with the difference between the radicals between the first candidate word and the candidate word required by the user.
  • This method is mainly applied to the scene where the radical characteristics of the candidate characters required by the user are relatively obvious.
  • Word association means that the user enters a pinyin through the second input, and then combines the pinyin and the second character string to determine a word, and determines the word corresponding to the second character string in the word as the candidate word required by the user .
  • the word association method is mainly applied to scenarios where the radicals of the candidate characters required by the user are not obvious, the candidate characters are relatively uncommon, or the second character string itself is incorrect.
  • Example 1 assuming that the first candidate character is " ⁇ ", the second character string is “tu”, and the candidate character required by the user is “convex”, then the user can input “ao”, so that the candidate word updating device can combine “ao” and “tu” to determine the word “convex”, so that the candidate word update device can update "convex” to "convex”.
  • Example 2 assuming that the first candidate character is “ ⁇ ", the second character string is "tao”, and the candidate character required by the user is “ ⁇ ”, then the user can input “tie”, so that the candidate word updating device can combine “tao” and “tie” to determine the word “taotie”, so that the candidate word updating device can update "tao” to "taotie”.
  • Example 3 assuming that the first candidate character is “off", the second character string is "guan", and the candidate characters required by the user are “huan", “huan”, then the user can input “rao", so that the candidate word updating device can Combining "guan” and “rao", since there is no word “surround” in the Chinese vocabulary, the device for updating candidate words can determine that the second character string should be “huan”, and update "guan” For "ring”.
  • candidate word updating device can display pinyin input box on first interface 30, and this pinyin input box 31 Including: the first character string, the first sub-input box before the second character string and the second sub-input box after the second character string, so that the user can select the first sub-input box or the second sub-input box In the way of inputting pinyin, the trigger determination is to adopt the above-mentioned combination A or combination B.
  • the first candidate word can be updated based on the update information input by the user and the character string corresponding to the first candidate word, not only the efficiency of updating the candidate word can be improved, but also the update accuracy can be improved.
  • the above-mentioned update information may include M sub-information, and the M candidate words correspond to the M sub-information one-to-one; that is, one sub-information
  • the information is used to trigger updating one of the M candidate words.
  • the second input may include M sub-inputs, and one sub-input is used to input one sub-information.
  • the above step 104a can be specifically implemented through the following step 104a1.
  • Step 104a1 the candidate word updating device keeps the second candidate word unchanged in response to the second input, and for each of the M candidate words, updates a candidate word to correspond to the third character string and a sub-information candidate words.
  • the third character string is a character string corresponding to one of the M candidate characters in the second character string
  • the above-mentioned one sub-information is the sub-information corresponding to the one candidate character among the above-mentioned M sub-information.
  • the one piece of sub-information may be the tone, radical or pinyin input by the sub-input corresponding to the one candidate character.
  • the M candidate words can be added to the queue to be updated, and then the user can trigger The M candidate words are updated sequentially until the number of words in the queue to be updated is 0.
  • the target order may be the order in which the user selects the M candidate words, or the order in which the M candidate words are arranged in the target candidate content, which may be determined according to actual use requirements.
  • the application examples are not limited.
  • the candidate word update device uses the tone method to update a candidate word in the first candidate word
  • the user can specifically input the tone on the character string corresponding to the candidate word; for example, as shown in Figure 4
  • the candidate word update device displays the target candidate content on the first interface 40: "The demand requires her to retreat and land quickly” and the first string: “xuqiuxuyaotajinkuaibiguanluodi", then the user can enter the string "jin” corresponding to "tight". ” to enter the tone “4”.
  • step 104a1 for details, refer to the related descriptions of step 104a in the above embodiment, and to avoid repetition, details are not repeated here.
  • the candidate word updating device can combine the character string and sub-information corresponding to a candidate word to update the candidate word, the update accuracy can be improved.
  • the device for updating the candidate word may select an update method for updating the first candidate word, and then use the determined update method to update the first candidate word.
  • the method for updating candidate words provided in the embodiment of the present application may further include the following step 105.
  • Step 105 the candidate word updating device determines the target updating method for updating the first candidate word.
  • the target update method may include any of the following: i, system default, ii, user selection, iii, recommendation based on big data.
  • the second input is the input corresponding to the update method.
  • the target update method is the system default.
  • the device for updating candidate words may determine that the method for updating the first candidate word is the default updating method of the system.
  • the target update method is selected by the user.
  • the candidate word update device after the candidate word update device selects the first candidate word, it can display a selection mark for selecting an update method on the first interface, for example, "tone method” selection Box, "handwriting completion method” selection box and "word association method” selection box, so that users can input into the selection box to trigger selection of an update method that meets their actual needs.
  • a selection mark for selecting an update method on the first interface for example, "tone method” selection Box, "handwriting completion method” selection box and "word association method” selection box, so that users can input into the selection box to trigger selection of an update method that meets their actual needs.
  • the candidate word update method provided in the embodiment of the present application may also include the following steps 106 and 107,
  • the above step 105 can be specifically implemented through the following step 105a.
  • Step 106 the candidate word updating device displays at least one selection mark in response to the first input
  • each selected identifier in the above at least one identifier indicates an update method.
  • Step 107 the device for updating candidate words receives a third input from the user on a target selection indicator in at least one selection indicator.
  • the third input may be a user's touch input on the target selection mark, for example, a click input on the target selection mark.
  • step 105a the device for updating candidate words responds to the third input and determines that the target updating method is the updating method indicated by the target selection identifier.
  • the user when the first candidate word includes multiple candidate words, the user can switch the update method before triggering the update of each candidate word, so as to trigger the candidate word update device to adopt the switched update method Update the candidate word. It can be seen that, for different candidate words among the first candidate words, the candidate word updating device may adopt different updating methods to update them.
  • the flexibility of updating the first candidate word can be improved.
  • the target update method is recommended based on big data.
  • the device for updating candidate words may determine that the target update method is the update method adopted by most users when updating the first candidate word.
  • the candidate word updating device can first determine the target update method for updating the first candidate word before updating the first candidate word, and then update the first candidate word according to the target update method and the update information input by the user, therefore The accuracy of updating the first candidate word can be improved.
  • the candidate word updating method provided in the embodiment of the present application may be executed by a candidate word updating device, or a control module in the candidate word updating device for executing the candidate word updating method.
  • the method for updating candidate words performed by the device for updating candidate words is taken as an example to illustrate the device for updating candidate words provided in the embodiment of the present application.
  • the embodiment of the present application provides a candidate word updating device 50 , which may include a receiving module 51 , a selecting module 52 and an updating module 53 .
  • the receiving module 51 may be configured to receive a first input to the target candidate content, and the target candidate content may be candidate content corresponding to the first character string input by the user; the selection module 52 may be configured to respond to the first input received by the receiving module 51 One input, select the first candidate word from the target candidate content; the receiving module 51 can also be used to receive the second input to the first candidate word; the update module 53 can be used to respond to the second input received by the receiving module 51 , keep the second candidate word unchanged, and update the first candidate word; wherein, the second candidate word is other candidate words in the target candidate content except the first candidate word.
  • the second input can be used to input update information
  • the update information includes at least one of the following: tone, radical, pinyin
  • the update module 53 can specifically be used to update the first candidate word is a candidate word corresponding to the second character string and the update information
  • the second character string is a character string corresponding to the first candidate character in the first character string.
  • the first candidate word includes M candidate words
  • the update information may include M sub-information
  • the M candidate words correspond to the M sub-information one by one
  • M is a positive integer
  • the update module 53 specifically can be used to update a candidate word to a candidate word corresponding to a third character string and a sub-information for each candidate word in the M candidate words
  • the third character string can be the A character string corresponding to a candidate character
  • one sub-information is the sub-information corresponding to one candidate character among the M sub-information
  • the one sub-information may be tone, radical or pinyin.
  • the candidate word updating device may also include a determination module; the determination module may be used to determine the target update method for updating the first candidate word before the update module 53 updates the first candidate word, and the target update
  • the method includes any of the following: a default update method of the system, an update method selected by the user, and an update method recommended based on big data; wherein, the second input is an input corresponding to the target update method.
  • the first character string may be input by the user through a pinyin input method or a voice input method.
  • the target update method is the update method selected by the user;
  • the update module 53 may also be configured to display at least one selection mark in response to the first input before the determination module determines the target update method, and each Each selection identifier indicates an update method;
  • the receiving module 51 can also be used to receive a third input to the target selection identifier in at least one selection identifier;
  • the determination module can specifically be used to determine the target update method in response to the third input Select the update method indicated by the ID for the target.
  • the wrong candidate word in the candidate word ie, the first candidate word
  • the input efficiency of the input candidate words can be improved.
  • the apparatus for updating candidate words in the embodiment of the present application may be an electronic device, or a component, an integrated circuit, or a chip in the electronic device.
  • the electronic device may be a mobile electronic device or a non-mobile electronic device.
  • the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle electronic device, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant). assistant, PDA), etc.
  • the non-mobile electronic device may be a personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., which are not specifically limited in this embodiment of the present application.
  • the device for updating candidate words in the embodiment of the present application may be a device with an operating system.
  • the operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in this embodiment of the present application.
  • the device for updating candidate words provided in the embodiment of the present application can implement various processes implemented by the method for updating candidate words in the method embodiments shown in FIGS. 1 to 4 . To avoid repetition, details are not repeated here.
  • the embodiment of the present application also provides an electronic device 200, including a processor 202, a memory 201, a program or instruction stored in the memory 201 and operable on the processor 202, the program or instruction is processed When executed by the device 202, each process of the above embodiment of the method for updating candidate words can be realized, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
  • the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
  • FIG. 7 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
  • the electronic device 1000 includes, but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010, etc. part.
  • the electronic device 1000 can also include a power supply (such as a battery) for supplying power to various components, and the power supply can be logically connected to the processor 1010 through the power management system, so that the management of charging, discharging, and function can be realized through the power management system. Consumption management and other functions.
  • a power supply such as a battery
  • the structure of the electronic device shown in FIG. 7 does not constitute a limitation to the electronic device.
  • the electronic device may include more or fewer components than shown in the figure, or combine some components, or arrange different components, and details will not be repeated here. .
  • the user input unit 1007 can be used to receive the first input to the target candidate content, and the target candidate content can be the candidate content corresponding to the first character string input by the user; the processor 1010 can be used to respond to the user input unit
  • the first input received at 1007 is to select the first candidate word from the target candidate content; the user input unit 1007 can also be used to receive the second input to the first candidate word; the processor 1010 can be used to respond to the user input unit 1007 For the second input received, keep the second candidate word unchanged, and update the first candidate word; wherein, the second candidate word is a candidate word other than the first candidate word in the target candidate content.
  • the second input can be used to input update information
  • the update information includes at least one of the following: tone, radical, pinyin
  • the processor 1010 can specifically be used to update the first candidate word is a candidate word corresponding to the second character string and the update information
  • the second character string is a character string corresponding to the first candidate character in the first character string.
  • the first candidate word includes M candidate words
  • the update information may include M sub-information
  • the M candidate words correspond to the M sub-information one-to-one
  • M is a positive integer
  • the processor 1010 specifically can be used to update a candidate word to a candidate word corresponding to a third character string and a sub-information for each candidate word in the M candidate words
  • the third character string can be the A character string corresponding to a candidate character
  • one sub-information is the sub-information corresponding to one candidate character among the M sub-information
  • each sub-information is a tone, a radical or a pinyin.
  • the processor 1010 may also be configured to determine a target update method for updating the first candidate word before updating the first candidate word.
  • the target update method includes any of the following: system default, Selected by the user, recommended based on big data; wherein, the second input is the input corresponding to the target update method.
  • the first character string may be input by the user through a pinyin input method or a voice input method.
  • the target update method is the update method selected by the user; the processor 1010 may also be configured to display at least one selection mark in response to the first input before determining the target update method, and each selection The identifier indicates an update method; the user input unit 1007 may also be configured to receive a third input from the user on the target selection identifier in at least one selection identifier; the processor 1010 may specifically be configured to determine the target update in response to the third input Method selects the update method indicated by the ID for the target.
  • the wrong candidate word in the candidate word ie, the first candidate word
  • the input efficiency of the input candidate words can be improved.
  • the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and a microphone 10042, and the graphics processor 10041 is used for the image capture device (such as the image data of the still picture or video obtained by the camera) for processing.
  • the display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the user input unit 1007 includes a touch panel 10071 and other input devices 10072 .
  • the touch panel 10071 is also called a touch screen.
  • the touch panel 10071 may include two parts, a touch detection device and a touch controller.
  • Other input devices 10072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, and joysticks, which will not be repeated here.
  • the memory 1009 can be used to store software programs as well as various data, including but not limited to application programs and operating systems.
  • Processor 1010 may integrate an application processor and a modem processor, wherein the application processor mainly processes operating systems, user interfaces, and application programs, and the modem processor mainly processes wireless communications. It can be understood that the foregoing modem processor may not be integrated into the processor 1010 .
  • the embodiment of the present application also provides a readable storage medium, on which a program or an instruction is stored.
  • a program or an instruction is stored.
  • the above-mentioned processor is the processor in the electronic device in the above-mentioned embodiment.
  • the above-mentioned readable storage medium includes a computer readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
  • the embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, the processor is used to run programs or instructions, and realize the various processes of the above-mentioned candidate word updating method embodiment, and can achieve The same technical effects are not repeated here to avoid repetition.
  • chips mentioned in the embodiments of the present application may also be called system-on-chip, system-on-chip, system-on-a-chip, or system-on-a-chip.
  • the term “comprising”, “comprising” or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase “comprising a " does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.
  • the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions are performed, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

Abstract

The present application belongs to the technical field of communications. Disclosed are a candidate word update method and apparatus, and an electronic device. The method comprises: receiving a first input for target candidate content, wherein the target candidate content is candidate content, which is input by a user and corresponds to a first character string; in response to the first input, selecting a first candidate character from among the target candidate content; receiving a second input for the first candidate character; and in response to the second input, keeping a second candidate character unchanged, and updating the first candidate character, wherein the second candidate character is any candidate character, other than the first candidate character, in the target candidate content.

Description

候选词更新方法、装置和电子设备Candidate word update method, device and electronic equipment
相关申请的交叉引用Cross References to Related Applications
本申请主张在2021年05月24日在中国提交的中国专利申请号202110567758.3的优先权,其全部内容通过引用包含于此。This application claims priority to Chinese Patent Application No. 202110567758.3 filed in China on May 24, 2021, the entire contents of which are hereby incorporated by reference.
技术领域technical field
本申请属于通信技术领域,具体涉及一种候选词更新方法、装置和电子设备。The present application belongs to the technical field of communication, and in particular relates to a candidate word updating method, device and electronic equipment.
背景技术Background technique
目前,用户可以通过语音输入法或拼音输入法输入文字。Currently, users can input text through voice input method or pinyin input method.
示例性地,以用户通过拼音输入法输入文字为例,用户可以先通过拼音输入法输入拼音(即字母串),然后电子设备可以对用户输入的拼音进行识别,并匹配出与该拼音对应的文字。Illustratively, taking the user inputting text through the pinyin input method as an example, the user can first input pinyin (that is, a string of letters) through the pinyin input method, and then the electronic device can recognize the pinyin input by the user, and match the corresponding pinyin Word.
然而,当用户输入的语音较长或拼音较长时,电子设备识别后的句子中可能出现错误文字。用户需要将拼音回退至与该错误文字对应的字母处(即删除错误文字及错误文字之后的文字),然后重新输入以修正错误字符。如此,由于需要删除错误文字之后的全部文字之后才能对错误文字进行修正,因此导致用户输入文字的效率较低。However, when the speech input by the user is long or the pinyin is long, wrong characters may appear in the sentence recognized by the electronic device. The user needs to return the pinyin to the letter corresponding to the wrong word (that is, delete the wrong word and the text after the wrong word), and then re-enter to correct the wrong character. In this way, the error text can only be corrected after deleting all the text after the error text, so the efficiency of the user inputting text is low.
发明内容Contents of the invention
本申请实施例的目的是提供一种候选词更新方法、装置和电子设备,能够解决由于更新候选词中的错误字符的操作过程繁琐,导致用户输入文字的效率较低的问题。The purpose of the embodiments of the present application is to provide a candidate word updating method, device and electronic equipment, which can solve the problem of low efficiency of user inputting text due to cumbersome operation process of updating wrong characters in candidate words.
第一方面,本申请实施例提供了一种候选词更新方法,该方法包括:接收对目标候选内容的第一输入,目标候选内容为与用户输入的第一字符串对应的候选内容;响应于第一输入,从目标候选内容中选中第一候选字;接收对第一候选字的第二输入;响应于第二输入,保持第二候选字不变,并更新第一候选字;其中,第二候选字为目标候选内容中除第一候选字之外的其他候选字。In a first aspect, an embodiment of the present application provides a method for updating candidate words, the method including: receiving a first input to a target candidate content, where the target candidate content is a candidate content corresponding to a first character string input by a user; responding to The first input is to select the first candidate word from the target candidate content; receive the second input to the first candidate word; in response to the second input, keep the second candidate word unchanged, and update the first candidate word; wherein, the second The second candidate word is other candidate words except the first candidate word in the target candidate content.
第二方面,本申请实施例提供了一种候选词更新装置,该候选词更新装置可以包括接收模块、选择模块和更新模块。接收模块,用于接收对目标候选内容的第一输入,目标候选内容为与用户输入的第一字符串对应的候选内容;选择模块,用于响应于接收模块接收的第一输入,从目标候选内容中选中第一候选字;接收模块,还用于接收对第一候选字的第二输入;更新模块,用于响应于接收模块接收的第二输入,保持第二候选字不变,并更新第一候选字;其中,第二候选字为目标候选内容中除第一候选字之外的其他候选字。In a second aspect, the embodiment of the present application provides a device for updating candidate words, and the device for updating candidate words may include a receiving module, a selecting module, and an updating module. The receiving module is used to receive the first input of the target candidate content, the target candidate content is the candidate content corresponding to the first character string input by the user; the selection module is used to respond to the first input received by the receiving module, from the target candidate Selecting the first candidate word in the content; the receiving module is also used to receive the second input to the first candidate word; the update module is used to keep the second candidate word unchanged and update the second input in response to the second input received by the receiving module The first candidate word; wherein, the second candidate word is other candidate words in the target candidate content except the first candidate word.
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在存储器上并可在处理器上运行的程序或指令,程序或指令被处理器执行时实 现如第一方面的方法的步骤。In the third aspect, the embodiment of the present application provides an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored in the memory and operable on the processor. When the program or instruction is executed by the processor, the The steps of the method of the first aspect.
第四方面,本申请实施例提供了一种可读存储介质,可读存储介质上存储程序或指令,程序或指令被处理器执行时实现如第一方面的方法的步骤。In a fourth aspect, the embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method in the first aspect are implemented.
第五方面,本申请实施例提供了一种芯片,芯片包括处理器和通信接口,通信接口和处理器耦合,处理器用于运行程序或指令,实现如第一方面的方法。In the fifth aspect, the embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the method in the first aspect.
在本申请实施例中,可以接收对目标候选内容(为与用户输入的第一字符串对应的候选内容)的第一输入;且响应于第二输入,从目标候选内容中选中第一候选字;并接收对第一候选字的第二输入;以及响应于第二输入,更新第一候选字,并保持第二候选字不变;其中,所述第二候选字为所述目标候选内容中除所述第一候选字之外的其他候选字。In the embodiment of the present application, the first input to the target candidate content (candidate content corresponding to the first character string input by the user) may be received; and in response to the second input, the first candidate word is selected from the target candidate content ; and receive a second input to the first candidate word; and in response to the second input, update the first candidate word, and keep the second candidate word unchanged; wherein, the second candidate word is in the target candidate content Other candidate words except the first candidate word.
附图说明Description of drawings
图1为本申请实施例提供的候选词更新方法的示意图;Fig. 1 is the schematic diagram of the candidate word updating method that the embodiment of the present application provides;
图2为本申请实施例提供的候选词更新方法应用的界面示意图之一;Fig. 2 is one of the interface schematic diagrams of the application of the method for updating candidate words provided by the embodiment of the present application;
图3为本申请实施例提供的候选词更新方法应用的界面示意图之二;Fig. 3 is the second schematic interface diagram of the application of the method for updating candidate words provided by the embodiment of the present application;
图4为本申请实施例提供的候选词更新方法应用的界面示意图之三;FIG. 4 is the third schematic diagram of the interface of the application of the method for updating candidate words provided by the embodiment of the present application;
图5为本申请实施例中的候选词更新装置的示意图;Fig. 5 is the schematic diagram of the device for updating candidate words in the embodiment of the present application;
图6为本申请实施例中的电子设备的示意图;FIG. 6 is a schematic diagram of an electronic device in an embodiment of the present application;
图7为本申请实施例提供的电子设备的硬件示意图。FIG. 7 is a schematic diagram of hardware of an electronic device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。The following will clearly describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, but not all of them. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments in this application belong to the protection scope of this application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second" and the like in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the application can be practiced in sequences other than those illustrated or described herein. In addition, "and/or" in the specification and claims means at least one of the connected objects, and the character "/" generally means that the related objects are an "or" relationship.
需要说明的是,本申请实施例中的标识用于指示信息的文字、符号、图像等,可以以控件或者其他容器作为显示信息的载体,包括但不限于文字标识、符号标识、图像标识。It should be noted that the logos in the embodiments of the present application are used to indicate text, symbols, images, etc. of information, and controls or other containers may be used as carriers for displaying information, including but not limited to text logos, symbol logos, and image logos.
下面首先对本申请的权利要求书和说明书中涉及的一些名词或者术语进行解释说明。Firstly, some nouns or terms involved in the claims and description of the present application will be explained below.
目前在电子设备中,通过输入法输入文字极大地减少了用户输入的成本,在某些场景下,用户输入是连续的,例如,用户直接输入一句话的拼音或语音,尤其在采用 9键输入键盘的情况下,用户输入的拼音字母越多,可能存在的拼音组合就越多,从而使得电子设备匹配出的句子中出现错误文字的情况,这时候用户只能把错误的文字以及错误文字之后的文字删除(具体为删除错误文字和错误文字之后的文字的拼音),再重新输入拼音,以触发电子设备匹配出正确的文字。如此,由于传统技术中,在用户输入长拼音中间个别字符出现错误时候,没有办法快速更新错误的字符,存在天然缺陷,而用户回退带来新的输入成本,因此导致用户输入文字的输入效率较低。At present, in electronic devices, inputting text through the input method greatly reduces the cost of user input. In some scenarios, user input is continuous. For example, the user directly inputs the pinyin or voice of a sentence, especially when using 9-key input In the case of a keyboard, the more pinyin letters the user inputs, the more pinyin combinations there may be, so that there may be wrong words in the sentences matched by the electronic device. At this time, the user can only put the wrong words and the wrong words Delete the text (specifically delete the pinyin of the wrong text and the text after the wrong text), and then re-enter the pinyin to trigger the electronic device to match the correct text. In this way, due to the traditional technology, when the user enters an error in some characters in the middle of the long pinyin, there is no way to quickly update the wrong character, which has a natural defect, and the user's fallback brings new input costs, which leads to the input efficiency of the user's input text. lower.
本申请实施例提供的候选词更新方法的目的在于提供一种更为人性化的纠正输入法理解的偏差。能够在保留输入法匹配的正确文字的情况下,快速的更新部分错误文字,从而能够极大地提升用户输入的效率和提升用户的用机体验。The purpose of the method for updating candidate words provided in the embodiment of the present application is to provide a more humane way of correcting deviations in understanding of input methods. In the case of retaining the correct text matched by the input method, part of the wrong text can be quickly updated, thereby greatly improving the efficiency of user input and improving the user experience of using the computer.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的候选词更新方法、装置和电子设备进行详细地说明。The method, device and electronic device for updating candidate words provided by the embodiments of the present application will be described in detail below through specific embodiments and application scenarios with reference to the accompanying drawings.
如图1所示,本申请实施例提供一种候选词更新方法,该方法可以包括下述的步骤101和步骤104。下面以候选词更新装置执行该方法为例进行示例性地说明。As shown in FIG. 1 , the embodiment of the present application provides a method for updating candidate words, which may include the following steps 101 and 104 . The method is executed by the device for updating candidate words as an example for illustration below.
步骤101、候选词更新装置接收用户对目标候选内容的第一输入。Step 101, the device for updating candidate words receives a user's first input on target candidate content.
其中,目标候选内容可以为与用户输入的第一字符串对应的候选内容。Wherein, the target candidate content may be the candidate content corresponding to the first character string input by the user.
可选地,本申请实施例中,用户可以通过语音输入法或拼音输入法输入第一字符串。Optionally, in this embodiment of the present application, the user may input the first character string through a voice input method or a pinyin input method.
可选地,本申请实施例中,当采用拼音输入法输入第一字符串时,可以采用9键输入键盘输入第一字符,也可以采用26键输入键盘输入第一字符串,具体可以根据实际使用需求确定,本申请实施例不作限定。Optionally, in the embodiment of the present application, when using the pinyin input method to input the first character string, the 9-key input keyboard can be used to input the first character, or the 26-key input keyboard can be used to input the first character string. The use requirements are determined, and the embodiment of this application does not make a limitation.
可选地,本申请实施例中,第一字符串中可以包括字母。Optionally, in this embodiment of the present application, letters may be included in the first character string.
可选地,本申请实施例中,第一字符串中还可以包括数字和符号。Optionally, in this embodiment of the present application, numbers and symbols may also be included in the first character string.
可选地,本申请实施例中,候选词更新装置可以在第一界面上显示目标候选内容和第一字符串。第一界面可以为电子设备中任意可以输入文字的界面,例如第一界面可以为聊天界面、浏览器界面等。Optionally, in this embodiment of the present application, the device for updating candidate words may display the target candidate content and the first character string on the first interface. The first interface may be any interface in the electronic device that can input text, for example, the first interface may be a chat interface, a browser interface, and the like.
需要说明的是,本申请实施例中,第一界面上可以显示与第一字符串对应的多个候选内容,该多个候选词中包括目标候选内容。It should be noted that, in the embodiment of the present application, a plurality of candidate contents corresponding to the first character string may be displayed on the first interface, and the plurality of candidate words include target candidate contents.
可以理解,本申请实施例中,每个候选内容可以为一个词、一个短语或一个句子。It can be understood that in the embodiment of the present application, each candidate content may be a word, a phrase or a sentence.
进一步地,每个候选内容中可以包括字,还可以包括字母、数字和符号,具体可以根据实际使用需求确定。Further, each candidate content may include words, letters, numbers and symbols, which may be determined according to actual usage requirements.
可选地,本申请实施例中,第一输入可以为对第一候选字的选择输入。例如,第一输入可以为用户在第一候选字上画“/”的输入,或者,第一输入可以为用户在第一候选字上的点击输入、长按输入等任意可能的输入。Optionally, in this embodiment of the present application, the first input may be a selection input of the first candidate word. For example, the first input may be an input in which the user draws "/" on the first candidate character, or the first input may be any possible input such as the user's click input or long press input on the first candidate character.
步骤102、候选词更新装置响应于第二输入,从目标候选内容中选中第一候选字。 Step 102, the candidate word updating device selects the first candidate word from the target candidate content in response to the second input.
本申请实施例中,第一候选字为目标候选内容中匹配错误的候选字。即第一候选 字为不满足用户实际输入需求的候选字。In the embodiment of the present application, the first candidate word is a wrongly matched candidate word in the target candidate content. That is, the first candidate word is a candidate word that does not satisfy the user's actual input requirements.
下面结合图2对步骤101和步骤102进行示例性地说明。Step 101 and step 102 are exemplarily described below in conjunction with FIG. 2 .
示例性地,如图2中的(a)所示,聊天界面20包括第一字符串21“xuqiuxuyaotajinkuaibiguanluodi”和目标候选内容22:“需求需要她紧快闭关落地”;假设用户需求输入的候选词为:“需求需要他尽快闭环落地”,那么可以确定目标候选内容中的错误候选字为:“她”、“紧”和“关”。Exemplarily, as shown in (a) in FIG. 2 , the chat interface 20 includes a first character string 21 "xuqiuxuyaotajinkuaibiguanluodi" and a target candidate content 22: "the demand requires her to retreat and land quickly"; assuming that the user needs to input a candidate word is: "The demand requires him to close the loop as soon as possible", then it can be determined that the wrong candidate words in the target candidate content are: "she", "tight" and "off".
若按照传统更新方式,用户需要删除第一字符串中的“tajinkuaibiguanluodi”,然后重新输入,直至匹配到:“需求需要他尽快闭环落地”这一候选词,如此由于需求重新输入正确的候选字,因此导致更新候选词的过程冗长,从而导致输入文字的效率较低。According to the traditional update method, the user needs to delete "tajinkuaibiguanluodi" in the first string, and then re-enter until it matches the candidate word: "The demand requires him to close the loop as soon as possible", so due to the need to re-enter the correct candidate word, Therefore, the process of updating candidate words is lengthy, resulting in low efficiency of inputting text.
在本申请实施例中,由于日常生活中用户修正手写错误字符时,一般不会回溯,而是直接在错误的字符上直接划线“/”,再在划掉的字符的相邻区域写上正确的字符,以修正错误字符。这种不回溯的修改方式同样可以迁移到输入法上。具体的,如图2中的(b)所示,用户可以分别在“紧”、“她”和“关”上面滑下一个“/”,以触发候选词更新装置从目标候选内容中选中“紧”、“她”和“关”(即第一候选字)。然后,用户可以基于第二输入,触发候选词更新装置修正选中的第一候选字,并保持候选内容中的其他候选字不变。In the embodiment of this application, when users correct handwritten wrong characters in daily life, they generally do not go back, but directly draw a line "/" on the wrong character, and then write "/" in the adjacent area of the crossed out character. Correct characters to fix wrong characters. This non-backtracking modification method can also be migrated to the input method. Specifically, as shown in (b) in Figure 2, the user can slide down a "/" on "tight", "she" and "off" to trigger the candidate word updating device to select "" from the target candidate content. Tight", "she" and "off" (i.e. the first candidate word). Then, based on the second input, the user can trigger the candidate word updating device to modify the selected first candidate word, and keep other candidate words in the candidate content unchanged.
步骤103、候选词更新装置接收用户对第一候选字的第二输入。 Step 103, the device for updating candidate words receives a second input from the user on the first candidate word.
可选地,本申请实施例中,第二输入用于触发更新第一候选字。Optionally, in this embodiment of the present application, the second input is used to trigger updating of the first candidate word.
可选地,本申请实施例中,第一候选字可以包括M个候选字,M可以为正整数。Optionally, in this embodiment of the present application, the first candidate words may include M candidate words, and M may be a positive integer.
可选地,本申请实施例中,第二输入可以为用户在第一界面上的触控输入。Optionally, in this embodiment of the present application, the second input may be a user's touch input on the first interface.
步骤104、候选词更新装置响应于第二输入,保持第二候选字不变,并更新第一候选字。 Step 104, the candidate word updating device keeps the second candidate word unchanged and updates the first candidate word in response to the second input.
其中,第二候选字为目标候选内容中除第一候选字之外的其他候选字。可以理解,第二候选字为目标候选内容中满足用户实际输入需求的候选字,即无需更新第二候选字。Wherein, the second candidate word is other candidate words in the target candidate content except the first candidate word. It can be understood that the second candidate word is a candidate word that satisfies the user's actual input requirement in the target candidate content, that is, there is no need to update the second candidate word.
可选地,本申请实施例中,当第一候选字包括多个候选字(即M大于1)时,候选字更新装置可以依次更新该多个候选字中的每个候选字。Optionally, in this embodiment of the present application, when the first candidate word includes multiple candidate words (that is, M is greater than 1), the candidate word updating device may sequentially update each candidate word in the multiple candidate words.
本申请实施例提供的候选词更新方法中,由于可以在候选词中的正确文字(即第二候选字)不变的情况下,快速的更新候选词中的错误候选字(即第一候选字),而无需再重新输入该候选词中位于错误候选字之后的候选词,因此可以提高输入候选词的输入效率。In the method for updating candidate words provided in the embodiment of the present application, since the correct text in the candidate words (ie, the second candidate word) does not change, the wrong candidate word (ie, the first candidate word) in the candidate word can be quickly updated. ), without re-inputting the candidate words after the wrong candidate words in the candidate words, so the input efficiency of the input candidate words can be improved.
可选地,本申请实施例中,第二输入可以用于输入更新信息,该更新信息可以包括以下至少一项:声调、偏旁部首、拼音;上述步骤104具体可以通过下述的步骤104a实现。Optionally, in this embodiment of the application, the second input can be used to input update information, and the update information can include at least one of the following: tone, radical, pinyin; the above step 104 can be specifically implemented through the following step 104a .
步骤104a、候选词更新装置响应于第二输入,保持第二候选字不变,并将第一候选字更新为与第二字符串和更新信息对应的候选字。Step 104a, the candidate word updating device keeps the second candidate word unchanged in response to the second input, and updates the first candidate word to a candidate word corresponding to the second character string and the update information.
可选地,本申请实施例中,候选词更新装置采用的更新方法不同,上述更新信息也可能不同。Optionally, in this embodiment of the present application, the updating method adopted by the device for updating candidate words is different, and the above update information may also be different.
具体的,(一),若候选词更新装置采用的更新方法为声调法,则上述更新信息为声调;(二),若候选词更新装置采用的更新方法为手写补全法,也可以称为偏旁部首法,则上述更新信息为声调偏旁部首;(三),若候选词更新装置采用的更新方法为组词联想法,则上述更新信息为拼音。Concretely, (1), if the update method adopted by the candidate word updating device is the tone method, then the above-mentioned update information is tone; (2), if the update method adopted by the candidate word update device is the handwriting completion method, it can also be called Radical radical method, then the above-mentioned updating information is the radical of the tone; (3), if the updating method adopted by the candidate word updating device is the word association method, then the above-mentioned updating information is pinyin.
下面分别对上述(一)、(二)和(三)进行详细说明。The above (1), (2) and (3) will be described in detail below respectively.
(一),声调法。(1) Tone method.
声调法为通过声调来快速选出用户需要的字,具体的,用户可以直接在第一界面(即显示目标候选内容的界面)上输入声调,例如,用户可以直接手写“1”“2”“3”“4”,用于表示第几声的声调;然后候选词更新装置将第一候选字更新为与第二字符串和用户输入的声调对应的候选字。The tone method is to quickly select the words the user needs through the tone. Specifically, the user can directly input the tone on the first interface (that is, the interface displaying the target candidate content). For example, the user can directly write "1" "2" " 3" and "4" are used to represent the tone of the first tone; then the candidate word updating device updates the first candidate word to the candidate word corresponding to the second character string and the tone input by the user.
示例性地,假设第一候选字为“紧”,“紧”[jǐn]的声调为三声,而用户需求的候选字为“尽”,“尽”[jìn]的声调为四声;从而用户可以在第一界面上手写“4”,以触发候选词更新装置将“紧”更新为与字符串“jin”和声调“4”对应的“尽”。Exemplarily, assuming that the first candidate word is "希", the tone of "带" [jǐn] is three tones, and the candidate word required by the user is "Jin", and the tone of "Jìn] is four tones; thus The user can handwrite "4" on the first interface to trigger the candidate word updating device to update "tight" to "终" corresponding to the character string "jin" and the tone "4".
本申请实施例中,在上述(一)中,声调法是结合拼音和声调,通过不同字的不同声调,来快速的选择出需要的字符。一般用于第一候选字与用户需求的候选字之间声调明显不同,并且均是高频字的情况下,如此可以在声调和字符串的基础上快速的选择出满足用户需求的候选字。In the embodiment of the present application, in the above (1), the tone method combines pinyin and tone, and quickly selects the required characters through different tones of different characters. It is generally used when the tones of the first candidate word and the candidate word required by the user are obviously different, and both are high-frequency words, so that the candidate word that meets the user's requirement can be quickly selected on the basis of the tone and character string.
(二),手写补全法。(2), handwriting completion method.
考虑到声调法无法区分对应的字符串和声调均相同的两个字,或者用户不善于用声调等,比如“她”和“他”是同声调的,声调法这个维度相当于是无效元素了,可以采用手写补全法。Considering that the tone method cannot distinguish between the corresponding character string and two words with the same tone, or users are not good at using tones, for example, "she" and "he" have the same tone, the dimension of the tone method is equivalent to an invalid element. Completion by hand can be used.
手写补全法为结合第一候选字对应的字符串,和用户输入偏旁部首,以更新第一候选字。手写补全法的核心是利用了备选字符之间的偏旁部首差异性或者说需要选择的字符相对手写比较简单,差异越大越有利于用户快速选出想要的字。The handwriting completion method combines the character string corresponding to the first candidate character with the radicals input by the user to update the first candidate character. The core of the handwriting completion method is to use the difference in radicals between the alternative characters or the character to be selected is relatively simple compared to handwriting, and the greater the difference, the easier it is for the user to quickly select the desired word.
例如,若第一候选字为“她”,而用户需求的字为“他”,显然“他”和“她”对应的字符串均为“ta”,但“他”和“她”的偏旁不同,因此用户可以手写输入偏旁“亻”,从而候选词更新装置可以结合字符串“ta”和用户输入的偏旁“亻”,将第一候选字“她”更新为“他”。For example, if the first candidate character is "she" and the word required by the user is "he", obviously the strings corresponding to "he" and "her" are both "ta", but the radicals of "he" and "her" Different, so the user can input the radical "亻" by hand, so that the candidate word updating device can combine the character string "ta" and the radical "亻" input by the user to update the first candidate word "she" to "he".
本申请实施例中,在上述(二)中,是结合第一候选字和用户需求的候选字之间的偏旁部首之间的差异,来快速更新第一候选字。该方法主要应用于用户需求的候选字的偏旁部首特征较为明显的场景中。In the embodiment of the present application, in the above (2), the first candidate word is quickly updated in combination with the difference between the radicals between the first candidate word and the candidate word required by the user. This method is mainly applied to the scene where the radical characteristics of the candidate characters required by the user are relatively obvious.
(三)、组词联想法。(3), group word associative method.
组词联想法是指用户通过第二输入,输入一个拼音,然后结合该拼音和第二字符串,确定一个词,并将该词中与第二字符串对应的字确定为用户需求的候选字。Word association means that the user enters a pinyin through the second input, and then combines the pinyin and the second character string to determine a word, and determines the word corresponding to the second character string in the word as the candidate word required by the user .
本申请实施例中,组词联想法主要应用于用户需求的候选字的偏旁部首不明显、候选字较为生僻,或者第二字符串本身不正确的场景中。In the embodiment of the present application, the word association method is mainly applied to scenarios where the radicals of the candidate characters required by the user are not obvious, the candidate characters are relatively uncommon, or the second character string itself is incorrect.
示例1,假设第一候选字为“突”,第二字符串为“tu”,用户需求的候选字为“凸”,那么用户可以输入“ao”,从而候选词更新装置可以结合“ao”和“tu”,确定出词“凹凸”,如此候选词更新装置可以将“突”更新为“凸”。Example 1, assuming that the first candidate character is "突", the second character string is "tu", and the candidate character required by the user is "convex", then the user can input "ao", so that the candidate word updating device can combine "ao" and "tu" to determine the word "convex", so that the candidate word update device can update "convex" to "convex".
示例2,假设第一候选字为“涛”,第二字符串为“tao”,用户需求的候选字为“饕”,那么用户可以输入“tie”,从而候选词更新装置可以结合“tao”和“tie”,确定出词“饕餮”,如此候选词更新装置可以将“涛”更新为“饕”。Example 2, assuming that the first candidate character is "涛", the second character string is "tao", and the candidate character required by the user is "饭", then the user can input "tie", so that the candidate word updating device can combine "tao" and "tie" to determine the word "taotie", so that the candidate word updating device can update "tao" to "taotie".
示例3,假设第一候选字为“关”,第二字符串为“guan”,用户需求的候选字为“环”,“huan”,那么用户可以输入“rao”,从而候选词更新装置可以结合“guan”和“rao”,由于汉语词汇中有词“环绕”而没有“关绕”,因此候选词更新装置可以确定出第二字符串应该为“huan”,且并将“关”更新为“环”。Example 3, assuming that the first candidate character is "off", the second character string is "guan", and the candidate characters required by the user are "huan", "huan", then the user can input "rao", so that the candidate word updating device can Combining "guan" and "rao", since there is no word "surround" in the Chinese vocabulary, the device for updating candidate words can determine that the second character string should be "huan", and update "guan" For "ring".
可选地,本申请实施例中,在采用组词联想法时,由于存在以下两种组合:A,第二字符串+用户输入的拼音,例如上述示例2和示例3;B,用户输入的拼音+第二字符串,例如上述示例1;因此,为了便于区分组合A和组合B,如图3所示,候选词更新装置可以在第一界面30上显示拼音输入框,该拼音输入框31包括:第一字符串、位于第二字符串之前的第一子输入框和位于第二字符串之后的第二子输入框,如此,用户可以选择第一子输入框或第二子输入框中输入拼音的方式,触发确定是采用上述A组合或B组合。Optionally, in the embodiment of the present application, when using the group word association method, since there are the following two combinations: A, the second character string + the pinyin input by the user, such as the above-mentioned example 2 and example 3; B, the user-input Pinyin+second character string, for example above-mentioned example 1; Therefore, in order to distinguish combination A and combination B conveniently, as shown in Figure 3, candidate word updating device can display pinyin input box on first interface 30, and this pinyin input box 31 Including: the first character string, the first sub-input box before the second character string and the second sub-input box after the second character string, so that the user can select the first sub-input box or the second sub-input box In the way of inputting pinyin, the trigger determination is to adopt the above-mentioned combination A or combination B.
本申请实施例中,由于可以基于用户输入的更新信息和第一候选字对应的字符串,更新第一候选字,因此不但可以提高更新候选词的效率,而且可以提高更新的准确性。In the embodiment of the present application, since the first candidate word can be updated based on the update information input by the user and the character string corresponding to the first candidate word, not only the efficiency of updating the candidate word can be improved, but also the update accuracy can be improved.
可选地,本申请实施例中,在第一候选字包括M个候选字的情况下,上述更新信息可以包括M个子信息,该M个候选字与该M个子信息一一对应;即一个子信息用于触发更新M个候选字中的一个候选字。可以理解,第二输入可以包括M个子输入,一个子输入用于输入一个子信息。上述步骤104a具体可以通过下述的步骤104a1实现。Optionally, in the embodiment of the present application, in the case where the first candidate word includes M candidate words, the above-mentioned update information may include M sub-information, and the M candidate words correspond to the M sub-information one-to-one; that is, one sub-information The information is used to trigger updating one of the M candidate words. It can be understood that the second input may include M sub-inputs, and one sub-input is used to input one sub-information. The above step 104a can be specifically implemented through the following step 104a1.
步骤104a1、候选词更新装置响应于第二输入,保持第二候选字不变,并对于M个候选字中的每个候选字,将一个候选字更新为与第三字符串和一个子信息对应的候选字。Step 104a1, the candidate word updating device keeps the second candidate word unchanged in response to the second input, and for each of the M candidate words, updates a candidate word to correspond to the third character string and a sub-information candidate words.
其中,第三字符串为第二字符串中与上述M个候选字中的一个候选字对应的字符串,上述一个子信息为上述M个子信息中与该一个候选字对应的子信息。该一个子信息可以为与该一个候选字对应的子输入输入的声调、偏旁部首或拼音。Wherein, the third character string is a character string corresponding to one of the M candidate characters in the second character string, and the above-mentioned one sub-information is the sub-information corresponding to the one candidate character among the above-mentioned M sub-information. The one piece of sub-information may be the tone, radical or pinyin input by the sub-input corresponding to the one candidate character.
可选地,本申请实施例中,用户通过第一输入触发候选词更新装置选择出M个候 选字之后,可以将该M个候选字加入待更新队列中,然后,用户可以按照目标顺序,触发依次更新该M个候选字,直至待更新队列中的字的数量为0。Optionally, in this embodiment of the application, after the user selects M candidate words through the first input trigger candidate word update device, the M candidate words can be added to the queue to be updated, and then the user can trigger The M candidate words are updated sequentially until the number of words in the queue to be updated is 0.
可选地,本申请实施例中,目标顺序可以为用户选中该M个候选字的顺序,也可以为该M个候选字在目标候选内容中的排列顺序,具体可以根据实际使用需求确定,本申请实施例不作限定。Optionally, in this embodiment of the application, the target order may be the order in which the user selects the M candidate words, or the order in which the M candidate words are arranged in the target candidate content, which may be determined according to actual use requirements. The application examples are not limited.
可选地,本申请实施例中,当候选词更新装置采用声调法更新第一候选字中的一个候选字时,用户具体可以在该候选字对应的字符串上输入声调;例如,如图4所示,候选词更新装置在第一界面40上显示目标候选内容:“需求需要她紧快闭关落地”和第一字符串:“xuqiuxuyaotajinkuaibiguanluodi”,那么用户可以在“紧”对应的字符串“jin”上输入声调“4”。Optionally, in the embodiment of the present application, when the candidate word update device uses the tone method to update a candidate word in the first candidate word, the user can specifically input the tone on the character string corresponding to the candidate word; for example, as shown in Figure 4 As shown, the candidate word update device displays the target candidate content on the first interface 40: "The demand requires her to retreat and land quickly" and the first string: "xuqiuxuyaotajinkuaibiguanluodi", then the user can enter the string "jin" corresponding to "tight". ” to enter the tone “4”.
对于步骤104a1的其他描述,具体可以参见上述实施例中对步骤104a的相关描述,为了避免重复,此处不再赘述。For other descriptions of step 104a1, for details, refer to the related descriptions of step 104a in the above embodiment, and to avoid repetition, details are not repeated here.
本申请实施例中,对于第一候选字中的每个候选字,由于候选词更新装置可以结合与一个候选字对应的字符串和子信息,更新该一个候选字,因此可以提高更新的准确性。In the embodiment of the present application, for each candidate word in the first candidate word, since the candidate word updating device can combine the character string and sub-information corresponding to a candidate word to update the candidate word, the update accuracy can be improved.
可选地,本申请实施例中,候选词更新装置在更新第一候选字之前,可以选确定更新第一候选字的更新方法,然后再采用确定的更新方法,更新第一候选字。Optionally, in this embodiment of the present application, before updating the first candidate word, the device for updating the candidate word may select an update method for updating the first candidate word, and then use the determined update method to update the first candidate word.
示例性地,本申请实施例中,在上述步骤104之前,本申请实施例提供的候选词更新方法还可以包括下述的步骤105。Exemplarily, in the embodiment of the present application, before the above step 104, the method for updating candidate words provided in the embodiment of the present application may further include the following step 105.
步骤105、候选词更新装置确定更新第一候选字的目标更新方法。Step 105, the candidate word updating device determines the target updating method for updating the first candidate word.
其中,目标更新方法可以包括以下任一项:i,系统默认的、ii,用户选择的、iii,基于大数据推荐的。第二输入为与更新方法对应的输入。Wherein, the target update method may include any of the following: i, system default, ii, user selection, iii, recommendation based on big data. The second input is the input corresponding to the update method.
下面分别对上述i、ii、iii进行示例性地说明。The above-mentioned i, ii, and iii are respectively exemplarily described below.
i,目标更新方法为系统默认的。i, the target update method is the system default.
可选地,本申请实施例中,在上述i中,候选词更新装置在接收到第二输入之后,可以确定更新第一候选字的方法为系统默认的更新方法。Optionally, in the embodiment of the present application, in the above i, after receiving the second input, the device for updating candidate words may determine that the method for updating the first candidate word is the default updating method of the system.
ii,目标更新方法为用户选择的。ii, the target update method is selected by the user.
可选地,本申请实施例中,在上述ii中,候选词更新装置在选中第一候选字之后,可以在第一界面上显示用于选择更新方法的选择标识,例如,“声调法”选择框、“手写补全法”选择框和“组词联想法”选择框,从而用户可以对选择框输入,触发选择满足其实际需求的更新方法。Optionally, in the embodiment of the present application, in the above ii, after the candidate word update device selects the first candidate word, it can display a selection mark for selecting an update method on the first interface, for example, "tone method" selection Box, "handwriting completion method" selection box and "word association method" selection box, so that users can input into the selection box to trigger selection of an update method that meets their actual needs.
示例性地,本申请实施例中,当目标更新方法为用户选择的更新方法时,在上述步骤105之前,本申请实施例提供的候选词更新方法还可以包括下述的步骤106和步骤107,上述的步骤105具体可以通过下述的步骤105a实现。Exemplarily, in the embodiment of the present application, when the target update method is the update method selected by the user, before the above step 105, the candidate word update method provided in the embodiment of the present application may also include the following steps 106 and 107, The above step 105 can be specifically implemented through the following step 105a.
步骤106、候选词更新装置响应于第一输入,显示至少一个选择标识;Step 106, the candidate word updating device displays at least one selection mark in response to the first input;
其中,上述至少一个标识中的每个选择标识指示一种更新方法。Wherein, each selected identifier in the above at least one identifier indicates an update method.
步骤107、候选词更新装置接收用户对至少一个选择标识中的目标选择标识的第三输入。Step 107, the device for updating candidate words receives a third input from the user on a target selection indicator in at least one selection indicator.
可选地,本申请实施例中,第三输入可以为用户对目标选择标识的触控输入,例如,在目标选择标识上的点击输入。Optionally, in this embodiment of the present application, the third input may be a user's touch input on the target selection mark, for example, a click input on the target selection mark.
步骤105a、候选词更新装置响应于第三输入,确定目标更新方法为目标选择标识指示的更新方法。In step 105a, the device for updating candidate words responds to the third input and determines that the target updating method is the updating method indicated by the target selection identifier.
可选地,本申请实施例中,当第一候选字中包括多个候选字时,用户可以在触发更新每个候选字之前,切换更新方法,以触发候选词更新装置采用切换后的更新方法更新该候选字。可以看出,对于第一候选字中的不同候选字,候选词更新装置可以采用不同更新方法进行更新。Optionally, in the embodiment of the present application, when the first candidate word includes multiple candidate words, the user can switch the update method before triggering the update of each candidate word, so as to trigger the candidate word update device to adopt the switched update method Update the candidate word. It can be seen that, for different candidate words among the first candidate words, the candidate word updating device may adopt different updating methods to update them.
本申请实施例中,由于用户可以通过至少一个标识,手动选择更新第一候选字的更新方法,因此可以提高更新第一候选字的灵活性。In the embodiment of the present application, since the user can manually select an update method for updating the first candidate word through at least one identifier, the flexibility of updating the first candidate word can be improved.
iii,目标更新方法为基于大数据推荐的。iii. The target update method is recommended based on big data.
可选地,本申请实施例中,在上述iii中,候选词更新装置可以确定目标更新方法为大多数用户更新第一候选字时采用的更新方法。Optionally, in this embodiment of the present application, in the above iii, the device for updating candidate words may determine that the target update method is the update method adopted by most users when updating the first candidate word.
本申请实施例中,由于候选词更新装置可以在更新第一候选字之前先确定更新第一候选字的目标更新方法,然后再按照目标更新方法和用户输入的更新信息更新第一候选字,因此可以提高更新第一候选字的准确性。In the embodiment of the present application, since the candidate word updating device can first determine the target update method for updating the first candidate word before updating the first candidate word, and then update the first candidate word according to the target update method and the update information input by the user, therefore The accuracy of updating the first candidate word can be improved.
需要说明的是,本申请实施例提供的候选词更新方法,执行主体可以为候选词更新装置,或者该候选词更新装置中的用于执行候选词更新方法的控制模块。本申请实施例中以候选词更新装置执行候选词更新方法为例,说明本申请实施例提供的候选词更新装置。It should be noted that, the candidate word updating method provided in the embodiment of the present application may be executed by a candidate word updating device, or a control module in the candidate word updating device for executing the candidate word updating method. In the embodiment of the present application, the method for updating candidate words performed by the device for updating candidate words is taken as an example to illustrate the device for updating candidate words provided in the embodiment of the present application.
如图5所示,本申请实施例提供一种候选词更新装置50,该候选词更新装置50可以包括接收模块51、选择模块52和更新模块53。As shown in FIG. 5 , the embodiment of the present application provides a candidate word updating device 50 , which may include a receiving module 51 , a selecting module 52 and an updating module 53 .
接收模块51,可以用于接收对目标候选内容的第一输入,目标候选内容可以为与用户输入的第一字符串对应的候选内容;选择模块52,可以用于响应于接收模块51接收的第一输入,从目标候选内容中选中第一候选字;接收模块51,还可以用于接收对第一候选字的第二输入;更新模块53,可以用于响应于接收模块51接收的第二输入,保持第二候选字不变,并更新第一候选字;其中,第二候选字为目标候选内容中除第一候选字之外的其他候选字。The receiving module 51 may be configured to receive a first input to the target candidate content, and the target candidate content may be candidate content corresponding to the first character string input by the user; the selection module 52 may be configured to respond to the first input received by the receiving module 51 One input, select the first candidate word from the target candidate content; the receiving module 51 can also be used to receive the second input to the first candidate word; the update module 53 can be used to respond to the second input received by the receiving module 51 , keep the second candidate word unchanged, and update the first candidate word; wherein, the second candidate word is other candidate words in the target candidate content except the first candidate word.
可选地,本申请实施例中,第二输入可以用于输入更新信息,更新信息包括以下至少一项:声调、偏旁部首、拼音;更新模块53,具体可以用于将第一候选字更新为与第二字符串和更新信息对应的候选字,第二字符串为第一字符串中与第一候选字对应的字符串。Optionally, in this embodiment of the application, the second input can be used to input update information, and the update information includes at least one of the following: tone, radical, pinyin; the update module 53 can specifically be used to update the first candidate word is a candidate word corresponding to the second character string and the update information, and the second character string is a character string corresponding to the first candidate character in the first character string.
可选地,本申请实施例中,第一候选字包括M个候选字,更新信息可以包括M个子信息,该M个候选字与该M个子信息一一对应,M为正整数;更新模块53,具体可以用于对于M个候选字中的每个候选字,将一个候选字更新为与第三字符串和一个子信息对应的候选字;其中,第三字符串可以为第二字符串中与一个候选字对应的字符串,一个子信息为M个子信息中与一个候选字对应的子信息,该一个子信息可以为声调、偏旁部首或拼音。Optionally, in the embodiment of the present application, the first candidate word includes M candidate words, and the update information may include M sub-information, and the M candidate words correspond to the M sub-information one by one, and M is a positive integer; the update module 53 , specifically can be used to update a candidate word to a candidate word corresponding to a third character string and a sub-information for each candidate word in the M candidate words; wherein, the third character string can be the A character string corresponding to a candidate character, one sub-information is the sub-information corresponding to one candidate character among the M sub-information, and the one sub-information may be tone, radical or pinyin.
可选地,本申请实施例中,候选词更新装置还可以包括确定模块;确定模块,可以用于在更新模块53更新第一候选字之前,确定更新第一候选字的目标更新方法,目标更新方法包括以下任一项:系统默认的更新方法,用户选择的更新方法,基于大数据推荐的更新方法;其中,第二输入为与目标更新方法对应的输入。Optionally, in the embodiment of the present application, the candidate word updating device may also include a determination module; the determination module may be used to determine the target update method for updating the first candidate word before the update module 53 updates the first candidate word, and the target update The method includes any of the following: a default update method of the system, an update method selected by the user, and an update method recommended based on big data; wherein, the second input is an input corresponding to the target update method.
可选地,本申请实施例中,第一字符串可以为用户通过拼音输入法或语音输入法输入的。Optionally, in this embodiment of the present application, the first character string may be input by the user through a pinyin input method or a voice input method.
可选地,本申请实施例中,目标更新方法为用户选择的更新方法;更新模块53,还可以用于在确定模块确定目标更新方法之前,响应于第一输入,显示至少一个选择标识,每个选择标识指示一种更新方法;接收模块51,还可以用于接收对至少一个选择标识中的目标选择标识的第三输入;确定模块,具体可以用于响应于第三输入,确定目标更新方法为目标选择标识指示的更新方法。Optionally, in this embodiment of the present application, the target update method is the update method selected by the user; the update module 53 may also be configured to display at least one selection mark in response to the first input before the determination module determines the target update method, and each Each selection identifier indicates an update method; the receiving module 51 can also be used to receive a third input to the target selection identifier in at least one selection identifier; the determination module can specifically be used to determine the target update method in response to the third input Select the update method indicated by the ID for the target.
在本申请实施例提供的候选词更新装置中,由于可以在候选词中的正确文字(即第二候选字)不变的情况下,快速更新候选词中的错误候选字(即第一候选字),而无需再重新输入该候选词中位于错误候选字之后的候选词,因此可以提高输入候选词的输入效率。In the candidate word updating device provided in the embodiment of the present application, since the correct text in the candidate word (ie the second candidate word) is unchanged, the wrong candidate word in the candidate word (ie, the first candidate word) can be quickly updated. ), without re-inputting the candidate words after the wrong candidate words in the candidate words, so the input efficiency of the input candidate words can be improved.
本实施例中各种实现方式具有的有益效果具体可以参见上述方法实施例中相应实现方式所具有的有益效果,为避免重复,此处不再赘述。For the beneficial effects of the various implementations in this embodiment, refer to the beneficial effects of the corresponding implementations in the foregoing method embodiments. To avoid repetition, details are not repeated here.
本申请实施例中的候选词更新装置可以是电子设备,也可以是电子设备中的部件、集成电路、或芯片。该电子设备可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The apparatus for updating candidate words in the embodiment of the present application may be an electronic device, or a component, an integrated circuit, or a chip in the electronic device. The electronic device may be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle electronic device, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant). assistant, PDA), etc., and the non-mobile electronic device may be a personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., which are not specifically limited in this embodiment of the present application.
本申请实施例中的候选词更新装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为iOS操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The device for updating candidate words in the embodiment of the present application may be a device with an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in this embodiment of the present application.
本申请实施例提供的候选词更新装置能够实现图1至图4的方法实施例中候选词更新方法实现的各个过程,为避免重复,这里不再赘述。The device for updating candidate words provided in the embodiment of the present application can implement various processes implemented by the method for updating candidate words in the method embodiments shown in FIGS. 1 to 4 . To avoid repetition, details are not repeated here.
如图6所示,本申请实施例还提供一种电子设备200,包括处理器202,存储器201,存储在存储器201上并可在处理器202上运行的程序或指令,该程序或指令被处理器202执行时实现上述候选词更新方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。As shown in Figure 6, the embodiment of the present application also provides an electronic device 200, including a processor 202, a memory 201, a program or instruction stored in the memory 201 and operable on the processor 202, the program or instruction is processed When executed by the device 202, each process of the above embodiment of the method for updating candidate words can be realized, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
需要注意的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
图7为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 7 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
该电子设备1000包括但不限于:射频单元1001、网络模块1002、音频输出单元1003、输入单元1004、传感器1005、显示单元1006、用户输入单元1007、接口单元1008、存储器1009、以及处理器1010等部件。The electronic device 1000 includes, but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010, etc. part.
本领域技术人员可以理解,电子设备1000还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器1010逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图7中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the electronic device 1000 can also include a power supply (such as a battery) for supplying power to various components, and the power supply can be logically connected to the processor 1010 through the power management system, so that the management of charging, discharging, and function can be realized through the power management system. Consumption management and other functions. The structure of the electronic device shown in FIG. 7 does not constitute a limitation to the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine some components, or arrange different components, and details will not be repeated here. .
其中,用户输入单元1007,可以用于接收对目标候选内容的第一输入,目标候选内容可以为与用户输入的第一字符串对应的候选内容;处理器1010,可以用于响应于用户输入单元1007接收的第一输入,从目标候选内容中选中第一候选字;用户输入单元1007,还可以用于接收对第一候选字的第二输入;处理器1010,可以用于响应于用户输入单元1007接收的第二输入,保持第二候选字不变,并更新第一候选字;其中,第二候选字为目标候选内容中除第一候选字之外的其他候选字。Wherein, the user input unit 1007 can be used to receive the first input to the target candidate content, and the target candidate content can be the candidate content corresponding to the first character string input by the user; the processor 1010 can be used to respond to the user input unit The first input received at 1007 is to select the first candidate word from the target candidate content; the user input unit 1007 can also be used to receive the second input to the first candidate word; the processor 1010 can be used to respond to the user input unit 1007 For the second input received, keep the second candidate word unchanged, and update the first candidate word; wherein, the second candidate word is a candidate word other than the first candidate word in the target candidate content.
可选地,本申请实施例中,第二输入可以用于输入更新信息,更新信息包括以下至少一项:声调、偏旁部首、拼音;处理器1010,具体可以用于将第一候选字更新为与第二字符串和更新信息对应的候选字,第二字符串为第一字符串中与第一候选字对应的字符串。Optionally, in this embodiment of the application, the second input can be used to input update information, and the update information includes at least one of the following: tone, radical, pinyin; the processor 1010 can specifically be used to update the first candidate word is a candidate word corresponding to the second character string and the update information, and the second character string is a character string corresponding to the first candidate character in the first character string.
可选地,本申请实施例中,第一候选字包括M个候选字,更新信息可以包括M个子信息,该M个候选字与该M个子信息一一对应,M为正整数;处理器1010,具体可以用于对于M个候选字中的每个候选字,将一个候选字更新为与第三字符串和一个子信息对应的候选字;其中,第三字符串可以为第二字符串中与一个候选字对应的字符串,一个子信息为M个子信息中与一个候选字对应的子信息,每个子信息为声调、偏旁部首或拼音。Optionally, in the embodiment of the present application, the first candidate word includes M candidate words, and the update information may include M sub-information, and the M candidate words correspond to the M sub-information one-to-one, and M is a positive integer; the processor 1010 , specifically can be used to update a candidate word to a candidate word corresponding to a third character string and a sub-information for each candidate word in the M candidate words; wherein, the third character string can be the A character string corresponding to a candidate character, one sub-information is the sub-information corresponding to one candidate character among the M sub-information, and each sub-information is a tone, a radical or a pinyin.
可选地,本申请实施例中,处理器1010,还可以用于在更新第一候选字之前,确定更新第一候选字的目标更新方法,目标更新方法包括以下任一项:系统默认的,用户选择的,基于大数据推荐的;其中,第二输入为与目标更新方法对应的输入。Optionally, in the embodiment of the present application, the processor 1010 may also be configured to determine a target update method for updating the first candidate word before updating the first candidate word. The target update method includes any of the following: system default, Selected by the user, recommended based on big data; wherein, the second input is the input corresponding to the target update method.
可选地,本申请实施例中,第一字符串可以为用户通过拼音输入法或语音输入法 输入的。Optionally, in this embodiment of the present application, the first character string may be input by the user through a pinyin input method or a voice input method.
可选地,本申请实施例中,目标更新方法为用户选择的更新方法;处理器1010,还可以用于在确定目标更新方法之前,响应于第一输入,显示至少一个选择标识,每个选择标识指示一种更新方法;用户输入单元1007,还可以用于接收用户对至少一个选择标识中的目标选择标识的第三输入;处理器1010,具体可以用于响应于第三输入,确定目标更新方法为目标选择标识指示的更新方法。Optionally, in this embodiment of the present application, the target update method is the update method selected by the user; the processor 1010 may also be configured to display at least one selection mark in response to the first input before determining the target update method, and each selection The identifier indicates an update method; the user input unit 1007 may also be configured to receive a third input from the user on the target selection identifier in at least one selection identifier; the processor 1010 may specifically be configured to determine the target update in response to the third input Method selects the update method indicated by the ID for the target.
在本申请实施例提供的候选词更新装置中,由于可以在候选词中的正确文字(即第二候选字)不变的情况下,快速的更新候选词中的错误候选字(即第一候选字),而无需再重新输入该候选词中位于错误候选字之后的候选词,因此可以提高输入候选词的输入效率。In the candidate word updating device provided in the embodiment of the present application, since the correct text in the candidate word (ie the second candidate word) does not change, the wrong candidate word in the candidate word (ie, the first candidate word) can be quickly updated. word), without re-entering the candidate words after the wrong candidate word in the candidate words, so the input efficiency of the input candidate words can be improved.
本实施例中各种实现方式具有的有益效果具体可以参见上述方法实施例中相应实现方式所具有的有益效果,为避免重复,此处不再赘述。For the beneficial effects of the various implementations in this embodiment, refer to the beneficial effects of the corresponding implementations in the foregoing method embodiments. To avoid repetition, details are not repeated here.
应理解的是,本申请实施例中,输入单元1004可以包括图形处理器(Graphics Processing Unit,GPU)10041和麦克风10042,图形处理器10041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元1006可包括显示面板10061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板10061。用户输入单元1007包括触控面板10071以及其他输入设备10072。触控面板10071,也称为触摸屏。触控面板10071可包括触摸检测装置和触摸控制器两个部分。其他输入设备10072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器1009可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器1010可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1010中。It should be understood that, in the embodiment of the present application, the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and a microphone 10042, and the graphics processor 10041 is used for the image capture device ( Such as the image data of the still picture or video obtained by the camera) for processing. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1007 includes a touch panel 10071 and other input devices 10072 . The touch panel 10071 is also called a touch screen. The touch panel 10071 may include two parts, a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, and joysticks, which will not be repeated here. The memory 1009 can be used to store software programs as well as various data, including but not limited to application programs and operating systems. Processor 1010 may integrate an application processor and a modem processor, wherein the application processor mainly processes operating systems, user interfaces, and application programs, and the modem processor mainly processes wireless communications. It can be understood that the foregoing modem processor may not be integrated into the processor 1010 .
本申请实施例还提供一种可读存储介质,该可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述候选词更新方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application also provides a readable storage medium, on which a program or an instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned candidate word updating method embodiment is realized, and the same To avoid repetition, the technical effects will not be repeated here.
其中,上述处理器为上述实施例中的电子设备中的处理器。上述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。Wherein, the above-mentioned processor is the processor in the electronic device in the above-mentioned embodiment. The above-mentioned readable storage medium includes a computer readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
本申请实施例另提供了一种芯片,该芯片包括处理器和通信接口,通信接口和处理器耦合,处理器用于运行程序或指令,实现上述候选词更新方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, the processor is used to run programs or instructions, and realize the various processes of the above-mentioned candidate word updating method embodiment, and can achieve The same technical effects are not repeated here to avoid repetition.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chips mentioned in the embodiments of the present application may also be called system-on-chip, system-on-chip, system-on-a-chip, or system-on-a-chip.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions are performed, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the technical solution of the present application can be embodied in the form of computer software products, which are stored in a storage medium (such as ROM/RAM, magnetic disk, etc.) , optical disc), including several instructions to enable a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in various embodiments of the present application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementations. The above-mentioned specific implementations are only illustrative and not restrictive. Those of ordinary skill in the art will Under the inspiration of this application, without departing from the purpose of this application and the scope of protection of the claims, many forms can also be made, all of which belong to the protection of this application.

Claims (15)

  1. 一种候选词更新方法,所述方法包括:A method for updating candidate words, said method comprising:
    接收对目标候选内容的第一输入,所述目标候选内容为与用户输入的第一字符串对应的候选内容;receiving a first input of target candidate content, where the target candidate content is candidate content corresponding to a first character string input by a user;
    响应于所述第一输入,从所述目标候选内容中选中第一候选字;selecting a first candidate word from the target candidate content in response to the first input;
    接收对所述第一候选字的第二输入;receiving a second input of the first candidate word;
    响应于所述第二输入,保持第二候选字不变,并更新所述第一候选字;Responsive to the second input, keeping the second candidate word unchanged and updating the first candidate word;
    其中,所述第二候选字为所述目标候选内容中除所述第一候选字之外的其他候选字。Wherein, the second candidate word is another candidate word in the target candidate content except the first candidate word.
  2. 根据权利要求1所述的方法,其中,所述第二输入用于输入更新信息,所述更新信息包括以下至少一项:声调、偏旁部首、拼音;The method according to claim 1, wherein the second input is used to input update information, and the update information includes at least one of the following: tones, radicals, pinyin;
    所述更新所述第一候选字,包括:Said updating said first candidate word includes:
    将所述第一候选字更新为与第二字符串和所述更新信息对应的候选字,所述第二字符串为所述第一字符串中与所述第一候选字对应的字符串。updating the first candidate word to a candidate word corresponding to a second character string and the update information, where the second character string is a character string corresponding to the first candidate character in the first character string.
  3. 根据权利要求2所述的方法,其中,所述第一候选字包括M个候选字,所述更新信息包括M个子信息,所述M个候选字与所述M个子信息一一对应,M为正整数;The method according to claim 2, wherein the first candidate word includes M candidate words, the update information includes M sub-information, and the M candidate words correspond to the M sub-information one by one, and M is positive integer;
    所述更新所述第一候选字,包括:Said updating said first candidate word includes:
    对于所述M个候选字中的每个候选字,将所述一个候选字更新为与第三字符串和一个子信息对应的候选字;For each candidate word in the M candidate words, updating the one candidate word to a candidate word corresponding to the third character string and a sub-information;
    其中,所述第三字符串为所述第二字符串中与所述一个候选字对应的字符串,所述一个子信息为所述M个子信息中与所述一个候选字对应的子信息,所述一个子信息为声调、偏旁部首或拼音。Wherein, the third character string is a character string corresponding to the one candidate word in the second character string, and the one sub-information is the sub-information corresponding to the one candidate word among the M sub-information, The one sub-information is tone, radical or pinyin.
  4. 根据权利要求1所述的方法,所述更新所述第一候选字之前,所述方法还包括:The method according to claim 1, before said updating said first candidate word, said method further comprises:
    确定更新所述第一候选字的目标更新方法,所述目标更新方法包括以下任一项:系统默认的更新方法,用户选择的更新方法,基于大数据推荐的更新方法;Determine the target update method for updating the first candidate word, the target update method includes any of the following: system default update method, user-selected update method, update method recommended based on big data;
    其中,所述第二输入为与所述目标更新方法对应的输入。Wherein, the second input is an input corresponding to the target update method.
  5. 根据权利要求4所述的方法,其中,所述目标更新方法为用户选择的更新方法;The method according to claim 4, wherein the target update method is an update method selected by a user;
    所述确定更新所述第一候选字的目标更新方法之前,所述方法还包括:Before determining the target update method for updating the first candidate word, the method also includes:
    响应于所述第一输入,显示至少一个选择标识,每个选择标识指示一种更新方法;In response to the first input, displaying at least one selection indicator, each selection indicator indicating an update method;
    接收对所述至少一个选择标识中的目标选择标识的第三输入;receiving a third input of a target selection indicator of the at least one selection indicator;
    所述确定更新所述第一候选字的目标更新方法,包括:The target update method for determining to update the first candidate word includes:
    响应于所述第三输入,确定所述目标更新方法为所述目标选择标识指示的更新方法。In response to the third input, determine that the target update method is the update method indicated by the target selection identifier.
  6. 一种候选词更新装置,所述装置包括接收模块、选择模块和更新模块;A device for updating candidate words, said device comprising a receiving module, a selecting module and an updating module;
    所述接收模块,用于接收对目标候选内容的第一输入,所述目标候选内容为与用户输入的第一字符串对应的候选内容;The receiving module is configured to receive a first input to a target candidate content, where the target candidate content is a candidate content corresponding to a first character string input by a user;
    所述选择模块,用于响应于所述接收模块接收的所述第一输入,从所述目标候选内容中选中第一候选字;The selecting module is configured to select a first candidate word from the target candidate content in response to the first input received by the receiving module;
    所述接收模块,还用于接收对所述第一候选字的第二输入;The receiving module is further configured to receive a second input to the first candidate word;
    所述更新模块,用于响应于所述接收模块接收的所述第二输入,保持第二候选字不变,并更新所述第一候选字;The updating module is configured to keep the second candidate word unchanged and update the first candidate word in response to the second input received by the receiving module;
    其中,所述第二候选字为所述目标候选内容中除所述第一候选字之外的其他候选字。Wherein, the second candidate word is another candidate word in the target candidate content except the first candidate word.
  7. 根据权利要求6所述的装置,其中,所述第二输入用于输入更新信息,所述更新信息包括以下至少一项:声调、偏旁部首、拼音;The device according to claim 6, wherein the second input is used to input update information, and the update information includes at least one of the following: tones, radicals, pinyin;
    所述更新模块,具体用于将所述第一候选字更新为与第二字符串和所述更新信息对应的候选字,所述第二字符串为所述第一字符串中与所述第一候选字对应的字符串。The update module is specifically configured to update the first candidate character to a candidate character corresponding to a second character string and the update information, the second character string being the character string corresponding to the first character string in the first character string A character string corresponding to a candidate word.
  8. 根据权利要求7所述的装置,其中,所述第一候选字包括M个候选字,所述更新信息包括M个子信息,所述M个候选字与所述M个子信息一一对应,M为正整数;The device according to claim 7, wherein the first candidate word includes M candidate words, the update information includes M sub-information, and the M candidate words correspond to the M sub-information one by one, and M is positive integer;
    所述更新模块,具体用于对于所述M个候选字中的每个候选字,将所述一个候选字更新为与第三字符串和一个子信息对应的候选字;The updating module is specifically configured to, for each candidate word in the M candidate words, update the one candidate word to a candidate word corresponding to a third character string and a piece of sub-information;
    其中,所述第三字符串为所述第二字符串中与所述一个候选字对应的字符串,所述一个子信息为所述M个子信息中与所述一个候选字对应的子信息,所述目标子信息为声调、偏旁部首或拼音。Wherein, the third character string is a character string corresponding to the one candidate word in the second character string, and the one sub-information is the sub-information corresponding to the one candidate word among the M sub-information, The target sub-information is tone, radical or pinyin.
  9. 根据权利要求6所述的装置,其中,所述装置还包括确定模块;The device according to claim 6, wherein the device further comprises a determining module;
    所述确定模块,用于在所述更新模块更新所述第一候选字之前,确定更新所述第一候选字的更新方法,所述目标更新方法包括以下任一项:系统默认的更新方法,用户选择的更新方法,基于大数据推荐的更新方法;The determination module is configured to determine an update method for updating the first candidate word before the update module updates the first candidate word, and the target update method includes any of the following: a system default update method, The update method selected by the user, the update method recommended based on big data;
    其中,所述第二输入为与所述目标更新方法对应的输入。Wherein, the second input is an input corresponding to the target updating method.
  10. 根据权利要求9所述的装置,其中,所述目标更新方法为用户选择的更新方法;The device according to claim 9, wherein the target update method is an update method selected by a user;
    所述更新模块,还用于在所述确定模块确定所述目标更新方法之前,响应于所述第一输入,显示至少一个选择标识,每个选择标识指示一种更新方法;The update module is further configured to display at least one selection mark in response to the first input before the determination module determines the target update method, each selection mark indicates an update method;
    所述接收模块,还用于接收对所述至少一个选择标识中的目标选择标识的第三输入;The receiving module is further configured to receive a third input of a target selection identifier in the at least one selection identifier;
    所述确定模块,具体用于响应于所述第三输入,确定所述目标更新方法为所述目标选择标识指示的更新方法。The determining module is specifically configured to, in response to the third input, determine that the target update method is the update method indicated by the target selection identifier.
  11. 一种电子设备,包括处理器,存储器及存储在所述存储器上并可在所述处理 器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1至5中任一项所述的候选词更新方法的步骤。An electronic device, comprising a processor, a memory, and a program or instruction stored on the memory and operable on the processor, when the program or instruction is executed by the processor, claims 1 to 5 are realized The step of the candidate word updating method described in any one.
  12. 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1至5中任一项所述的候选词更新方法的步骤。A readable storage medium, storing programs or instructions on the readable storage medium, and implementing the steps of the method for updating candidate words according to any one of claims 1 to 5 when the programs or instructions are executed by a processor.
  13. 一种计算机软件产品,所述计算机软件产品被至少一个处理器执行以实现如权利要求1至5中任一项所述的候选词更新方法。A computer software product, the computer software product is executed by at least one processor to implement the method for updating candidate words according to any one of claims 1 to 5.
  14. 一种电子设备,包括电子设备被配置成用于执行如权利要求1至5中任一项所述的候选词更新方法。An electronic device, comprising an electronic device configured to execute the method for updating candidate words according to any one of claims 1 to 5.
  15. 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1至5中任一项所述的候选词更新方法。A chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, the processor is used to run programs or instructions, and realize the candidate as described in any one of claims 1 to 5 Word update method.
PCT/CN2022/094464 2021-05-24 2022-05-23 Candidate word update method and apparatus, and electronic device WO2022247789A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110567758.3 2021-05-24
CN202110567758.3A CN113359999B (en) 2021-05-24 2021-05-24 Candidate word updating method and device and electronic equipment

Publications (1)

Publication Number Publication Date
WO2022247789A1 true WO2022247789A1 (en) 2022-12-01

Family

ID=77527370

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/094464 WO2022247789A1 (en) 2021-05-24 2022-05-23 Candidate word update method and apparatus, and electronic device

Country Status (2)

Country Link
CN (1) CN113359999B (en)
WO (1) WO2022247789A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113359999B (en) * 2021-05-24 2023-06-27 维沃移动通信有限公司 Candidate word updating method and device and electronic equipment
CN114461130A (en) * 2021-12-24 2022-05-10 科大讯飞股份有限公司 Character input method, device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150043824A1 (en) * 2013-08-09 2015-02-12 Blackberry Limited Methods and devices for providing intelligent predictive input for handwritten text
CN105955575A (en) * 2015-05-29 2016-09-21 洪赖帛 Input method and input device capable of executing and correcting error characters
CN109885828A (en) * 2019-01-14 2019-06-14 平安科技(深圳)有限公司 Word error correction method, device, computer equipment and medium based on language model
CN112684913A (en) * 2020-12-30 2021-04-20 维沃移动通信有限公司 Information correction method and device and electronic equipment
CN113359999A (en) * 2021-05-24 2021-09-07 维沃移动通信有限公司 Candidate word updating method and device and electronic equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109901726B (en) * 2017-12-08 2022-08-02 北京搜狗科技发展有限公司 Candidate word generation method and device and candidate word generation device
CN108459864B (en) * 2018-01-23 2020-11-10 维沃移动通信有限公司 Method for updating display content and mobile terminal
CN112269475A (en) * 2020-10-23 2021-01-26 维沃移动通信有限公司 Character display method and device and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150043824A1 (en) * 2013-08-09 2015-02-12 Blackberry Limited Methods and devices for providing intelligent predictive input for handwritten text
CN105955575A (en) * 2015-05-29 2016-09-21 洪赖帛 Input method and input device capable of executing and correcting error characters
CN109885828A (en) * 2019-01-14 2019-06-14 平安科技(深圳)有限公司 Word error correction method, device, computer equipment and medium based on language model
CN112684913A (en) * 2020-12-30 2021-04-20 维沃移动通信有限公司 Information correction method and device and electronic equipment
CN113359999A (en) * 2021-05-24 2021-09-07 维沃移动通信有限公司 Candidate word updating method and device and electronic equipment

Also Published As

Publication number Publication date
CN113359999A (en) 2021-09-07
CN113359999B (en) 2023-06-27

Similar Documents

Publication Publication Date Title
US10698604B2 (en) Typing assistance for editing
JP5996262B2 (en) CHARACTER INPUT DEVICE, ELECTRONIC DEVICE, CONTROL METHOD, CONTROL PROGRAM, AND RECORDING MEDIUM
WO2022247789A1 (en) Candidate word update method and apparatus, and electronic device
CN101256462B (en) Hand-written input method and apparatus based on complete mixing association storeroom
US9122376B1 (en) System for improving autocompletion of text input
CN107608532B (en) Association input method and device and electronic equipment
US20150160855A1 (en) Multiple character input with a single selection
WO2010035574A1 (en) Input device, input method, program, and recording medium
WO2022083750A1 (en) Text display method and apparatus and electronic device
CN113518026B (en) Message processing method and device and electronic equipment
WO2022135474A1 (en) Information recommendation method and apparatus, and electronic device
US20190034080A1 (en) Automatic translations by a keyboard
US10146764B2 (en) Dynamic key mapping of a graphical keyboard
WO2023001272A1 (en) Candidate character display method and apparatus, and an electronic device
CN109002183B (en) Information input method and device
CN111880668A (en) Input display method and device and electronic equipment
CN112989148A (en) Error correction word ordering method and device, terminal equipment and storage medium
CN108536653B (en) Input method, input device and input device
WO2023125155A1 (en) Input method and input apparatus
WO2022233275A1 (en) Input correction method and apparatus
WO2023045920A1 (en) Text display method and text display apparatus
WO2022143523A1 (en) Vocabulary display method and apparatus, and electronic device
WO2023036115A1 (en) Text content selection method and apparatus
WO2022194207A1 (en) Input method and apparatus, electronic device and readable storage medium
WO2022143661A1 (en) Candidate information display method and apparatus, and electronic device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22810514

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE