WO2022100622A1 - Procédé et appareil d'affichage de mot candidat, et dispositif électronique - Google Patents

Procédé et appareil d'affichage de mot candidat, et dispositif électronique Download PDF

Info

Publication number
WO2022100622A1
WO2022100622A1 PCT/CN2021/129857 CN2021129857W WO2022100622A1 WO 2022100622 A1 WO2022100622 A1 WO 2022100622A1 CN 2021129857 W CN2021129857 W CN 2021129857W WO 2022100622 A1 WO2022100622 A1 WO 2022100622A1
Authority
WO
WIPO (PCT)
Prior art keywords
sequence
syllable
pinyin
target
syllable sequence
Prior art date
Application number
PCT/CN2021/129857
Other languages
English (en)
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 WO2022100622A1 publication Critical patent/WO2022100622A1/fr

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/0236Character input methods using selection techniques to select from displayed items

Definitions

  • the present application belongs to the field of communication technologies, and in particular relates to a method, an apparatus and an electronic device for displaying a candidate word.
  • the electronic device can pre-store in the electronic device the pinyin strings corresponding to the high-frequency mispronunciations (that is, the mispronunciations of the polysyllabic words are high-frequency mispronunciations) of easily confusing words (for example, words containing polysyllabic words), so that when the user uses the electronic device to input
  • the pinyin string input by the user is wrong (for example, there are polysyllabic words in the collection of confusing words, and the pinyin string input is the pinyin string corresponding to another pronunciation of the polysyllabic word), the electronic device can directly generate and display it. This confusing term.
  • the pinyin string input by the user may be the case of the pinyin string corresponding to other wrong pronunciations (such as low-frequency wrong pronunciation) of a certain confusing vocabulary
  • the electronic device cannot generate the corresponding pinyin string according to the other wrong pronunciation. and display the confusing word.
  • the purpose of the embodiments of the present application is to provide a method, device and electronic device for displaying a candidate word, which can solve the problem that the electronic device has low accuracy in displaying the words that the user needs to input.
  • an embodiment of the present application provides a method for displaying a candidate word.
  • the method includes: acquiring a first pinyin sequence input by a user, where the first pinyin sequence includes M syllable sequences; the M syllable sequences include In the case of the first syllable sequence, obtain at least one first target syllable sequence corresponding to the first syllable sequence; a first target syllable sequence is: in at least one target character corresponding to the first syllable sequence, a target character exists and The syllable sequences with different first syllable sequences; respectively adopt at least one first target syllable sequence to replace the first syllable sequence in the first pinyin sequence to generate at least one second pinyin sequence; in at least one second pinyin sequence When the target pinyin sequence of 1 meets the first preset condition, the candidate words corresponding to the target pinyin sequence are displayed; wherein, M is a positive integer greater than 1.
  • an embodiment of the present application provides a candidate word display device, where the candidate word display device includes an acquisition module, a generation module, and a display module.
  • the acquisition module is used to acquire the first pinyin sequence input by the user, and the first pinyin sequence includes M syllable sequences; and when the M syllable sequences include the first syllable sequence, acquire the first syllable At least one first target syllable sequence corresponding to the sequence; a first target syllable sequence is: in at least one target character corresponding to the first syllable sequence, a target character exists in a syllable sequence different from the first syllable sequence.
  • the generating module is configured to replace the first syllable sequence in the first pinyin sequence by using the at least one first target syllable sequence acquired by the acquiring module respectively to generate at least one second pinyin sequence.
  • the display module is used to display the candidate words corresponding to the target pinyin sequence when the target pinyin sequence in the at least one second pinyin sequence generated by the generation module satisfies the first preset condition.
  • M is a positive integer greater than 1.
  • embodiments of the present application provide an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction being The processor implements the steps of the method according to the first aspect when executed.
  • an embodiment of the present application provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the steps of the method according to the first aspect are implemented .
  • an 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 configured to run a program or an instruction, and implement the first aspect the method described.
  • the electronic device may obtain the corresponding M syllable sequence according to the M syllable sequence included in the first pinyin sequence input by the user, and in the case that the M syllable sequence includes the first syllable sequence At least one first target syllable sequence (a first target syllable sequence is at least one target character corresponding to the first syllable sequence, and the target character exists in a syllable sequence different from the first syllable sequence), and at least one first syllable sequence is adopted respectively.
  • the target syllable sequence is to replace the first syllable sequence in the first pinyin sequence to generate at least one second pinyin sequence, so that the electronic device can satisfy the first preset condition in the target pinyin sequence in the at least one second audio sequence
  • the candidate words corresponding to the target pinyin sequence are displayed. Because the electronic device can acquire at least one first target syllable sequence corresponding to the first syllable sequence when the acquired pinyin sequence of a confusing vocabulary includes the first syllable sequence (that is, the syllable sequence corresponding to the mispronunciation of the polyphonic word).
  • the electronic device can display the certain confusing vocabulary when the target pinyin sequence in all the pinyin sequences satisfies the first preset condition, rather than only based on the certain confusing vocabulary
  • the pinyin sequence corresponding to the high-frequency mispronunciation of the vocabulary generates the confusing vocabulary and displays the confusing vocabulary, so the accuracy of displaying the confusing vocabulary can be improved.
  • FIG. 1 is one of the schematic diagrams of a candidate word display method provided by an embodiment of the present application.
  • FIG. 3 is the third schematic diagram of the method for displaying candidate words provided by an embodiment of the present application.
  • FIG. 4 is a fourth schematic diagram of a method for displaying candidate words provided by an embodiment of the present application.
  • FIG. 6 is a second schematic structural diagram of a candidate word display device provided by an embodiment of the present application.
  • FIG. 7 is a third schematic structural diagram of a candidate word display device provided by an embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • FIG. 9 is a schematic diagram of hardware of an electronic device provided by an embodiment of the present application.
  • first, second and the like in the description and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in sequences other than those illustrated or described herein, and distinguish between “first”, “second”, etc.
  • the objects are usually of one type, and the number of objects is not limited.
  • the first object may be one or more than one.
  • “and/or” in the description and claims indicates at least one of the connected objects, and the character “/" generally indicates that the associated objects are in an "or” relationship.
  • the candidate word display method provided by the embodiment of the present application can be applied to a scenario where a user inputs a confusing vocabulary.
  • the vocabulary A includes a polyphonic word (such as polyphonic word A), and the polyphonic word A includes multiple pronunciations (such as pronunciation 1, pronunciation 2 and pronunciation 3), pronunciation 1 is the high-frequency wrong pronunciation of the polyphonic word A in the vocabulary A, pronunciation 2 is the wrong pronunciation of the polyphonic word A in the vocabulary A, and pronunciation 3 is the The correct pronunciation of polysyllabic word A in this vocabulary A, when polysyllabic word A is pronunciation 1, the corresponding pinyin sequence of this vocabulary A is pinyin sequence 1, and when polysyllabic word A is pronunciation 2, the corresponding pinyin sequence of this vocabulary A is: Pinyin sequence 2, when the polyphonic word A is pronunciation 3, the pinyin sequence corresponding to the word A is pinyin sequence 3.
  • the pinyin sequence 1 can be pre-stored in the electronic device, so that when the pinyin sequence input by the user is incorrect (for example, the pinyin sequence 1), the vocabulary A is directly generated and displayed.
  • the pinyin sequence input by the user may be the pinyin sequence 2
  • the electronic device cannot generate the word A according to the pinyin sequence 2 and display the word A
  • the electronic device may generate other words corresponding to the pinyin sequence 2 , and display the other words, so that the electronic device displays the words that the user needs to input with low accuracy.
  • the electronic device can obtain the pinyin sequence 2, and can determine whether the multiple single-character syllable sequences of the pinyin sequence 2 contain polyphonic syllables Sequence, when it is determined that a plurality of single-character syllable sequences of this pinyin sequence 2 contain a polyphonic word syllable sequence 1 (that is, when polyphonic word A is pronunciation 2, the syllable sequence corresponding to this polyphonic word A), the electronic device can obtain the At least one easy-to-confuse pronunciation corresponding to polysyllabic syllable sequence 1 (that is, all pronunciations of all polysyllabic words corresponding to this syllable sequence 1) syllable sequence, and then adopt these easy-to-confuse pronunciation syllable sequences respectively, and the polysyllabic syllables in this pinyin sequence 2 Sequence
  • FIG. 1 shows a flowchart of a method for displaying a candidate word provided by an embodiment of the present application.
  • the method for displaying candidate words provided by the embodiment of the present application may include the following steps 101 to 104 .
  • Step 101 The candidate word display device acquires the first pinyin sequence input by the user.
  • the user when the user inputs a confusing word in the candidate word display device, the user can input a text input box, so that the candidate word display device displays an input method interface, so that the user can The pinyin sequence corresponding to a certain confusing word is input to the candidate word display device, so that the candidate word display device obtains the first pinyin sequence input by the user.
  • confused words can be understood as: words that contain at least one polysyllabic word.
  • the above-mentioned first pinyin sequence includes M syllable sequences, where M is a positive integer greater than 1.
  • one syllable sequence corresponds to at least one character, and each character may include any of the following: numbers, characters, and letters.
  • Step 102 In the case that the first syllable sequence is included in the M syllable sequences, the candidate word display device acquires at least one first target syllable sequence corresponding to the first syllable sequence.
  • the above-mentioned first syllable sequence may specifically be: a syllable sequence corresponding to a polyphonic word.
  • a sequence of syllables corresponding to one pronunciation of a polyphonic word may specifically be: a syllable sequence corresponding to a polyphonic word.
  • the above-mentioned first syllable sequence may include multiple syllable sequences.
  • the first target syllable sequence is: in at least one target character corresponding to the first syllable sequence, a syllable sequence different from the first syllable sequence exists in the target character.
  • At least one first target syllable sequence corresponding to the first syllable sequence can be understood as: at least one other pronunciation of all polyphonic words corresponding to the first syllable sequence (that is, except for the pronunciation corresponding to the first syllable sequence) external pronunciation) corresponding syllable sequence.
  • the first syllable sequence is a "mo" syllable sequence
  • at least one target character corresponding to the "mo" syllable sequence is the polyphonic word "mod”, the polyphonic word "mo”, the polyphonic word “mai”, and the polyphonic word "no”.
  • At least one first target syllable sequence of "mo" syllable sequence is: the syllable sequence corresponding to other pronunciations of "mod” polysyllabic word (that is, “mu” syllable sequence), the other pronunciations of "Mo” polyphonic word corresponding to The syllable sequence of the "ma” syllable sequence (that is, the “ma” syllable sequence), the syllable sequence corresponding to other pronunciations of the "mai” polysyllabic word (that is, the "mai” syllable sequence), and the syllable sequence corresponding to other pronunciations of the "mei” polyphonic word (that is, “mei” syllable sequence), that is, the at least one first target syllable sequence corresponding to the first syllable sequence "mo” includes “mu”, "ma”, “mai”, and "mei”.
  • the candidate word display device may pre-store at least one syllable sequence set in the candidate word display device, and each syllable sequence set respectively includes a syllable sequence and at least one confusing syllable sequence corresponding to the syllable sequence.
  • a syllable sequence, an easily confusing syllable sequence is: in at least one character corresponding to the one syllable sequence, a character exists in a syllable sequence different from the one syllable sequence, so that the candidate word display device can be based on the first syllable sequence, from the at least one syllable sequence.
  • a syllable sequence corresponding to the first syllable sequence is determined, and at least one confusing syllable sequence in a syllable sequence set corresponding to the one syllable sequence is determined as at least one syllable sequence.
  • the first target syllable sequence to obtain the at least one first target syllable sequence.
  • Step 103 The candidate word display device adopts at least one first target syllable sequence respectively, and replaces the first syllable sequence in the first pinyin sequence to generate at least one second pinyin sequence.
  • the candidate word display device may use the first first target syllable sequence, and perform the first syllable sequence in the first pinyin sequence. Replace, generate the first second pinyin sequence, and then use the second first target syllable sequence to replace the first syllable sequence in the first pinyin sequence to generate the second second pinyin sequence, and so on, until Generate the last second pinyin sequence.
  • the "moban” pinyin sequence includes 2 syllable sequences (that is, the “mo” syllable sequence and the “ban” syllable sequence), and the “mo” syllable sequence is The first syllable sequence, at least one first target syllable sequence of the "mo” syllable sequence is: “mu” syllable sequence, "ma” syllable sequence, "mai” syllable sequence and "mei” syllable sequence, then the candidate word display device
  • the "mu” syllable sequence can be used to replace the "mo” syllable sequence in the "moban” pinyin sequence to generate the "muban” pinyin sequence
  • the "ma” syllable sequence can be used to replace the "mo” in the "moban” pinyin sequence.
  • syllable sequence is replaced to generate the “maban” pinyin sequence, and then the “mai” syllable sequence can be used to replace the “mo” syllable sequence in the “moban” pinyin sequence to generate the “maiban” pinyin sequence, and then the “mei” syllable sequence can be used.
  • syllable sequence and then replace the “mo” syllable sequence in the “moban” pinyin sequence to generate the “meiban” pinyin sequence, so as to generate at least one (ie four) second pinyin sequence.
  • the candidate word display device can adopt at least one first target syllable sequence, and combine it with the syllable sequence other than the first syllable sequence of the first pinyin sequence to respectively generate the pinyin containing the syllable sequences corresponding to other pronunciations of the polysyllabic word. sequence.
  • the candidate word display device may acquire the first target syllable sequence corresponding to each syllable sequence in the multiple syllable sequences, and respectively adopt the first first target syllable sequence corresponding to the syllable sequence with the largest number of the corresponding first target syllable sequence, replace the first syllable sequence in the first pinyin sequence, and generate the first second pinyin sequence , and then use the second first target syllable sequence to replace the first syllable sequence in the first pinyin sequence to generate the second second pinyin sequence, and so on until the last second pinyin sequence is generated.
  • Step 104 Under the condition that the target pinyin sequence in the at least one second pinyin sequence satisfies the first preset condition, the candidate word display device displays the candidate word corresponding to the target pinyin sequence.
  • the above-mentioned target pinyin sequence may be one second pinyin sequence or multiple pinyin sequences in at least one second pinyin sequence.
  • the above-mentioned first preset condition may specifically be: there are candidate words corresponding to the target pinyin sequence in the lexicon.
  • the candidate word corresponding to the above-mentioned target pinyin sequence may be one candidate word or multiple candidate words.
  • the candidate word display device may generate a candidate word according to a second pinyin sequence, and determine whether the word in the thesaurus The one candidate word exists, and when it is determined that the one candidate word exists in the lexicon, the candidate word display device may determine the one second pinyin sequence as the target pinyin sequence, and display the candidate word corresponding to the target pinyin sequence.
  • the device for displaying candidate words may add candidate words corresponding to the target pinyin sequence to the candidate word list corresponding to the first pinyin sequence.
  • the candidate word display device may display the candidate word.
  • the device for displaying candidate words may obtain the M syllable sequences included in the first pinyin sequence input by the user and when the M syllable sequences include the first syllable sequence.
  • At least one first target syllable sequence corresponding to the first syllable sequence (the first target syllable sequence is at least one target character corresponding to the first syllable sequence, and the target character exists in a syllable sequence different from the first syllable sequence), and respectively At least one first target syllable sequence is used to replace the first syllable sequence in the first pinyin sequence to generate at least one second pinyin sequence, so that the candidate word display device can display the target pinyin in the at least one second audio sequence When the sequence satisfies the first preset condition, the candidate words corresponding to the target pinyin sequence are displayed.
  • the candidate word display device can acquire at least one first target syllable corresponding to the first syllable sequence when the acquired pinyin sequence of confusing words includes the first syllable sequence (ie, the syllable sequence corresponding to the wrong pronunciation of the polyphonic word). sequence (that is, the syllable sequence corresponding to other pronunciations of the polyphonic word), and respectively adopt the at least one first target syllable sequence to replace the first syllable sequence in the first pinyin sequence, and generate all the corresponding pronunciations of the polyphonic word.
  • sequence that is, the syllable sequence corresponding to other pronunciations of the polyphonic word
  • All pinyin sequences that is, at least one second pinyin sequence
  • the candidate word display device can display the certain confusing word when the target pinyin sequence in the all pinyin sequences satisfies the first preset condition, instead of only According to the pinyin sequence corresponding to the high-frequency wrong pronunciation of the certain confusing word, the certain confusing word is generated, and the certain confusing word is displayed, so that the accuracy of displaying the confusing word can be improved.
  • step 104 may be specifically implemented through the following steps 104a to 104d.
  • Step 104a The candidate word display device traverses at least one second pinyin sequence.
  • the candidate word display device may sequentially traverse each second pinyin sequence in the at least one second pinyin sequence to traverse the at least one second pinyin sequence.
  • Step 104b The candidate word display device determines whether there is a candidate word corresponding to the second pinyin sequence currently traversed in the thesaurus.
  • Step 104c If there is a candidate word corresponding to the currently traversed second pinyin sequence in the thesaurus, the candidate word display device determines the candidate word corresponding to the currently traversed second pinyin sequence as the candidate word corresponding to the target pinyin sequence.
  • the candidate word display device may determine the candidate word corresponding to the second pinyin sequence currently traversed as the candidate word of the target pinyin sequence.
  • the candidate word display device can traverse at least one second pinyin sequence, and determine the candidate word corresponding to the second pinyin sequence existing in the thesaurus as the candidate word corresponding to the target pinyin sequence, that is, the candidate word
  • the display device can directly determine the candidate word that the user may need to input, and display the candidate word, without the need for the user to select from at least one candidate word corresponding to the at least one second pinyin sequence, so the operation of the user can be simplified, and the improvement can be improved.
  • the candidate word display means displays the efficiency of confusing words that the user needs to input.
  • Step 104d If there is no candidate word corresponding to the currently traversed second pinyin sequence in the thesaurus, the candidate word display device continues to traverse the next second pinyin sequence.
  • the candidate word display device can continue to traverse the next second pinyin sequence.
  • the candidate word display device can traverse at least one second pinyin sequence, in the case where there is no candidate word corresponding to the currently traversed second pinyin sequence in the thesaurus, the currently traversed second pinyin sequence is not traversed.
  • the candidate words corresponding to the pinyin sequence are determined as the candidate words corresponding to the target pinyin sequence, that is, the candidate word display device does not display the candidate words that the user does not need to input, so the number of displayed candidate words can be reduced, thereby shortening the user search needs.
  • the time-consuming input of candidate words can improve the efficiency of user input of candidate words.
  • the above-mentioned M syllable sequences are M single-word syllable sequences.
  • the method for displaying candidate words provided by this embodiment of the present application may further include the following step 201 .
  • Step 201 when the first pinyin sequence is a full pinyin sequence, the candidate word display device splits the first pinyin sequence into M single-word syllable sequences.
  • the candidate word display device may detect the first pinyin sequence to display the first pinyin sequence. It is determined whether the first pinyin sequence is a full pinyin sequence.
  • the candidate word display device may use a preset algorithm to split the first pinyin sequence to obtain M single characters. syllable sequence.
  • single-word syllable sequence can be understood as: a syllable sequence of a single-word character.
  • the above preset algorithm may specifically be a Pinyin word segmentation algorithm. It should be noted that, for the specific description of the pinyin word segmentation algorithm, reference may be made to the description in the related art, which will not be repeated in this embodiment of the present application.
  • the candidate word display device can split the first pinyin sequence into a plurality of single-word syllable sequences when the first pinyin sequence is a full pinyin sequence, the candidate word display device can accurately determine the Whether the first syllable sequence is included in the multiple single-word syllable sequences can improve the accuracy of determining that the first syllable sequence is included, which can improve the accuracy of displaying confusing words.
  • step 102 may be specifically implemented by the following step 102 a.
  • Step 102a When M is within a preset range and the M syllable sequences include the first syllable sequence, the candidate word display device acquires at least one first target syllable sequence corresponding to the first syllable sequence.
  • the candidate word display device may detect the first pinyin sequence to obtain the number M of the M syllable sequences.
  • the above-mentioned preset range may specifically be: [2, 8].
  • the candidate word display device The first target syllable sequence corresponding to the one syllable sequence is not acquired.
  • the candidate word display device does not acquire the first target syllable sequence corresponding to the first syllable sequence in the 8 syllable sequences.
  • the candidate word display device obtains only when the pinyin sequence input by the user may be a pinyin sequence corresponding to a confusing word, and the pinyin sequence includes a syllable sequence in which the corresponding characters contain polysyllabic words.
  • At least one first target syllable therefore, it can be avoided that the pinyin sequence input by the user is not the pinyin sequence corresponding to the confusing vocabulary, and the candidate word display device will acquire at least one first target syllable sequence, that is, the candidate word display device is in the
  • the candidate words corresponding to the pinyin sequence input by the user can be directly displayed, so that the efficiency of displaying the candidate words by the candidate word display device can be improved.
  • the above-mentioned M syllable sequences further include a fourth syllable sequence.
  • the method for displaying candidate words provided in this embodiment of the present application may further include the following step 301, and the above step 103 may be specifically implemented by the following step 103a.
  • Step 301 The candidate word display device acquires at least one second target syllable sequence corresponding to the fourth syllable sequence.
  • the above-mentioned fourth syllable sequence may specifically be: a syllable sequence of a polyphonic word included in the corresponding character.
  • one second target syllable sequence is: in at least one target character corresponding to the fourth syllable sequence, one target character exists with the same
  • the fourth syllable sequence is a different syllable sequence.
  • At least one second target syllable sequence corresponding to the fourth syllable sequence can be understood as: at least one other pronunciation (ie, except for the fourth syllable sequence) of a polyphonic word (that is, a polyphonic word corresponding to the fourth syllable sequence) Pronunciation other than the corresponding pronunciation) corresponding syllable sequence.
  • Step 103a The candidate word display device adopts at least one first target syllable sequence and at least one second target syllable sequence respectively to replace the first syllable sequence and the fourth syllable sequence in the first pinyin sequence.
  • the candidate word display device may first use the first first target syllable sequence, replace the first syllable sequence in the first pinyin sequence, generate the first second pinyin sequence, and then Using the second first target syllable sequence, replace the first syllable sequence in the first pinyin sequence to generate the second second pinyin sequence, and so on, until the last second pinyin sequence is generated to generate Q
  • the second pinyin sequence then use the first second target syllable sequence to replace the fourth syllable sequence in the first pinyin sequence to generate the first second pinyin sequence, and then use the second second target syllable sequence , replace the fourth syllable sequence in the first pinyin sequence to generate the second second pinyin sequence, and so on, until the last second pinyin sequence is generated to generate P second pinyin sequences to obtain Q+ P pinyin sequences, Q and P are both positive integers.
  • the pinyin sequence input by the user is the "mozhua” pinyin sequence
  • the "mozhua” pinyin sequence includes 2 syllable sequences (that is, the "mo” syllable sequence and the "zhua” syllable sequence)
  • the "mo" syllable sequence is The first syllable sequence
  • the "zhua” is the fourth syllable sequence
  • at least one first target syllable sequence of the "mo” syllable sequence is: “mu” syllable sequence, "ma” syllable sequence, "mai” syllable sequence and " mei” syllable sequence
  • at least one second target syllable sequence of the "zhua” syllable sequence is: “zhao” syllable sequence
  • the candidate word display device can use the "mu” syllable sequence
  • step 102 and step 301 this embodiment of the present application does not limit.
  • the candidate word display device may first perform step 102, and then perform step 301, that is, the candidate word display device may first obtain at least one first target syllable sequence corresponding to the first syllable sequence, and then obtain the fourth syllable. at least one second target syllable sequence corresponding to the sequence.
  • the candidate word display device may first perform step 301 and then perform step 102, that is, the candidate word display device may first obtain at least one second target syllable sequence corresponding to the fourth syllable sequence, and then obtain the first At least one first target syllable sequence corresponding to the syllable sequence.
  • the candidate word display device may perform step 102 and step 301 at the same time, that is, the candidate word display device acquires the fourth syllable sequence while acquiring at least one first target syllable sequence corresponding to the first syllable sequence corresponding at least one second target syllable sequence.
  • the candidate word display device can obtain the fourth syllable sequence (ie, the fourth syllable sequence (ie, the fourth syllable sequence) when the obtained pinyin sequence of a certain confusing word includes multiple syllable sequences corresponding to the wrong pronunciation of multiple polyphonic words.
  • At least one second target syllable sequence corresponding to another syllable sequence corresponding to the wrong pronunciation of another polyphonic word) that is, the syllable sequence corresponding to other pronunciations of the other polyphonic word
  • the candidate word display device can A certain confusing word (candidate word) corresponding to the target pinyin sequence of all the pinyin sequences is displayed, so the accuracy of displaying the confusing word can be improved.
  • the above-mentioned first syllable sequence includes: a second syllable sequence and a third syllable sequence.
  • the method for displaying candidate words provided by this embodiment of the present application may further include the following step 401 , and the above step 103 may specifically be performed through the following steps 103b implementation.
  • Step 401 The candidate word display device obtains a first numerical value and a second numerical value.
  • the above-mentioned first numerical value is: the numerical value of the first target syllable sequence corresponding to the second syllable sequence
  • the above-mentioned second numerical value is: the numerical value of the first target syllable sequence corresponding to the third syllable sequence.
  • the candidate word display device may detect the second syllable sequence and the third syllable sequence respectively to obtain the first numerical value and the second numerical value.
  • Step 103b when the first numerical value is less than the second numerical value, the candidate word display device adopts the first target syllable sequence corresponding to the second syllable sequence respectively, and replaces the first syllable sequence in the first pinyin sequence to generate at least one syllable sequence.
  • the second pinyin sequence when the first numerical value is less than the second numerical value, the candidate word display device adopts the first target syllable sequence corresponding to the second syllable sequence respectively, and replaces the first syllable sequence in the first pinyin sequence to generate at least one syllable sequence.
  • the second pinyin sequence when the first numerical value is less than the second numerical value, the candidate word display device adopts the first target syllable sequence corresponding to the second syllable sequence respectively, and replaces the first syllable sequence in the first pinyin sequence to generate at least one syllable sequence.
  • the candidate word display device can replace the first syllable sequence in the first pinyin sequence by using the first target syllable sequence corresponding to the syllable sequence with a smaller number of the corresponding first target syllable sequence (ie, the second syllable sequence).
  • the candidate word display device can use the number of the corresponding first target syllable sequence to compare the number of syllable sequences when the first syllable sequence includes multiple syllable sequences (that is, the second syllable sequence and the third syllable sequence).
  • the first target syllable sequence corresponding to the few syllable sequences (that is, the second syllable sequence) is replaced by the first syllable sequence in the first pinyin sequence.
  • the number of generated second pinyin sequences can be reduced, so that the candidate words display
  • the device can quickly determine whether the target pinyin sequence in the smaller number of second pinyin sequences satisfies the first preset condition, so as to display the confusing words (candidate words) corresponding to the target pinyin sequence, so that the display of candidate words can be improved.
  • the device shows the efficiency of confusing words.
  • step 104 may also be replaced by the following step 104e and step 104f.
  • Step 104e in the case where each second pinyin sequence in the at least one second pinyin sequence does not meet the first preset condition, the candidate word display device respectively adopts the first target syllable sequence corresponding to the third syllable sequence, and the first target syllable sequence corresponding to the third syllable sequence The first syllable sequence in a pinyin sequence is replaced to generate at least one third pinyin sequence.
  • the candidate word display device can respectively use the first target syllable sequence corresponding to the third syllable sequence to replace the first syllable sequence in the first pinyin sequence to generate at least one third pinyin sequence.
  • Step 104f In the case that the fourth pinyin sequence in the at least one third pinyin sequence satisfies the second preset condition, the candidate word display device displays the candidate word corresponding to the fourth pinyin sequence.
  • the above-mentioned second preset condition may specifically be: candidate words corresponding to the fourth pinyin sequence exist in the thesaurus.
  • the candidate word display device may generate a candidate word according to a third pinyin sequence, and determine whether the word in the thesaurus There is this one candidate word, and when it is determined that the one candidate word exists in the lexicon, the candidate word display device can determine the one third pinyin sequence as the fourth pinyin sequence, and display the candidate word corresponding to the fourth pinyin sequence .
  • the device for displaying candidate words may add candidate words corresponding to the fourth pinyin sequence to the list of candidate words corresponding to the first pinyin sequence.
  • the candidate word display device after the candidate word display device adds the candidate word corresponding to the fourth pinyin sequence to the candidate word list corresponding to the first pinyin sequence, the candidate word display device can display the candidate word.
  • the candidate word display device may use the first target syllable corresponding to the third syllable sequence sequence, the first syllable sequence in the first pinyin sequence is replaced to obtain at least one third pinyin sequence, to display the candidate corresponding to the fourth pinyin sequence under the condition that the fourth pinyin sequence satisfies the second preset condition It is not just based on the pinyin sequence corresponding to the high-frequency mispronunciation of the confusing vocabulary, the confusing vocabulary is generated, and the confusing vocabulary is displayed, so the accuracy of displaying the confusing vocabulary can be improved.
  • the method for displaying candidate words provided by the embodiment of the present application may further include the following step 501.
  • Step 501 The candidate word display device displays the candidate words corresponding to the target pinyin sequence and the first target syllable sequence corresponding to the target pinyin sequence on the candidate word display area of the input method interface.
  • the above-mentioned candidate word display area contains a certain confusing word that the user needs to input, and a syllable sequence corresponding to the correct pronunciation of the polyphonic word contained in the certain confusing word.
  • the candidate word display device may use the first marking method to mark the candidate words corresponding to the target pinyin sequence and the first target syllable sequence corresponding to the target pinyin sequence.
  • the above-mentioned first marking method may specifically be any of the following: a dotted frame marking method, a highlight marking method, a color marking method, a gray-scale marking method, a marking method with preset transparency, a flashing marking method, and the like.
  • the candidate word display device can display the candidate words corresponding to the target pinyin sequence and the first target syllable sequence corresponding to the target pinyin sequence, it can prompt the user for the syllable corresponding to the correct pronunciation of the polysyllabic word in the candidate word sequence, which can improve the user experience.
  • the execution subject may be a candidate word display device, or a control module in the candidate word display device for executing the candidate word display method.
  • the device for displaying the candidate word provided by the embodiment of the present application is described by taking the method for displaying a candidate word executed by the device for displaying a candidate word as an example.
  • FIG. 5 shows a possible schematic structural diagram of the candidate word display device involved in the embodiment of the present application.
  • the candidate word display device 60 may include: an acquisition module 61 , a generation module 62 and a display module 63 .
  • the obtaining module 61 is used to obtain the first pinyin sequence input by the user, the first phonetic sequence includes M syllable sequences; and in the case that the M syllable sequences include the first syllable sequence, obtain the first syllable At least one first target syllable sequence corresponding to the sequence; a first target syllable sequence is: in at least one target character corresponding to the first syllable sequence, a target character exists in a syllable sequence different from the first syllable sequence.
  • the generating module 62 is configured to use the at least one first target syllable sequence obtained by the obtaining module, respectively, to replace the first syllable sequence in the first pinyin sequence to generate at least one second pinyin sequence.
  • the display module 63 is configured to display candidate words corresponding to the target pinyin sequence in the case that the target pinyin sequence in the at least one second pinyin sequence generated by the generation module 62 satisfies the first preset condition.
  • M is a positive integer greater than 1.
  • the candidate word display device 60 provided in this embodiment of the present application may further include: a splitting module 64 .
  • the splitting module 64 is configured to split the first pinyin sequence into M single-word syllable sequences when the first pinyin sequence is a full pinyin sequence.
  • the above-mentioned obtaining module 61 is specifically configured to obtain at least one syllable sequence corresponding to the first syllable sequence when M is within a preset range and the M syllable sequences include the first syllable sequence.
  • the first target syllable sequence is specifically configured to obtain at least one syllable sequence corresponding to the first syllable sequence when M is within a preset range and the M syllable sequences include the first syllable sequence.
  • the first target syllable sequence is specifically configured to obtain at least one syllable sequence corresponding to the first syllable sequence when M is within a preset range and the M syllable sequences include the first syllable sequence.
  • the first target syllable sequence is specifically configured to obtain at least one syllable sequence corresponding to the first syllable sequence when M is within a preset range and the M syllable sequences include the first
  • the above-mentioned first syllable sequence includes: a second syllable sequence and a third syllable sequence.
  • the above-mentioned obtaining module 61 is also used to obtain a first numerical value and a second numerical value; wherein, the first numerical value is: the number of the first target syllable sequence corresponding to the second syllable sequence, and the second numerical value is: the third syllable sequence The number of corresponding first target syllable sequences.
  • the above generating module 62 is specifically configured to replace the first syllable sequence in the first pinyin sequence with the first target syllable sequence corresponding to the second syllable sequence respectively when the first numerical value is less than the second numerical value.
  • the above-mentioned generating module 62 is further configured to respectively adopt the third syllable sequence in the case that each second pinyin sequence in the at least one second pinyin sequence does not satisfy the first preset condition For the corresponding first target syllable sequence, the first syllable sequence in the first pinyin sequence is replaced to generate at least one third pinyin sequence.
  • the above-mentioned display module 63 is further configured to display the candidate words corresponding to the fourth pinyin sequence when the fourth pinyin sequence in the at least one third pinyin sequence generated by the generation module 62 satisfies the second preset condition.
  • the above-mentioned obtaining module 61 is further configured to obtain at least one second target syllable sequence corresponding to the fourth syllable sequence;
  • the target syllable sequence is: in at least one target character corresponding to the fourth syllable sequence, a target character exists in a syllable sequence different from the fourth syllable sequence.
  • the above generating module 62 is specifically configured to use at least one first target syllable sequence and at least one second target syllable sequence respectively to replace the first syllable sequence and the fourth syllable sequence in the first pinyin sequence.
  • the candidate word display device 60 may further include: a traversal module 65 and a determination module 66 .
  • the traversal module 65 is used to traverse at least one second pinyin sequence.
  • the determination module 66 is used to determine the candidate word corresponding to the second pinyin sequence currently traversed as the candidate word corresponding to the first pinyin sequence if there is a candidate word corresponding to the second pinyin sequence currently traversed in the thesaurus; If there is no candidate word corresponding to the currently traversed second pinyin sequence, continue to traverse the next second pinyin sequence.
  • the above-mentioned display module 63 is further configured to display the candidate words corresponding to the target pinyin sequence and the first target syllable sequence corresponding to the target pinyin sequence on the candidate word display area of the input method interface.
  • the candidate word display device since the candidate word display device can acquire the pinyin sequence of a certain confusing word, including the first syllable sequence (that is, the syllable sequence corresponding to the wrong pronunciation of the polysyllabic word).
  • the first syllable sequence generates all the pinyin sequences corresponding to all the pronunciations of the polyphonic word (that is, at least one second pinyin sequence), so that the candidate word display device can satisfy the first preset condition in the target pinyin sequence in all the pinyin sequences
  • a certain confusing word instead of generating the certain confusing word according to the pinyin sequence corresponding to the high-frequency mispronunciation of the certain confusing word, and displaying the certain confusing word, so Can improve the accuracy of displaying confusing words.
  • the candidate word display device in this embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal.
  • the apparatus 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 palmtop computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant).
  • UMPC ultra-mobile personal computer
  • netbook or a personal digital assistant
  • non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
  • Network Attached Storage NAS
  • personal computer personal computer, PC
  • television television
  • teller machine or self-service machine etc.
  • the candidate word display device in the embodiment of the present application may be a device with an operating system.
  • the operating system may be an Android (Android) operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
  • the candidate word display device provided in the embodiment of the present application can implement each process implemented by the method embodiments in FIG. 1 to FIG. 4 , and to avoid repetition, details are not described here.
  • an embodiment of the present application further provides an electronic device 70 , including a processor 72 , a memory 71 , a program or instruction stored on the memory 71 and executable on the processor 72 ,
  • an electronic device 70 including a processor 72 , a memory 71 , a program or instruction stored on the memory 71 and executable on the processor 72 ,
  • the program or instruction is executed by the processor 72, each process of the above-mentioned embodiment of the candidate word display method can be realized, and the same technical effect can be achieved. In order to avoid repetition, details are not repeated here.
  • the electronic devices in the embodiments of the present application include the aforementioned mobile electronic devices and non-mobile electronic devices.
  • FIG. 9 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
  • the electronic device 100 includes but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110, etc. part.
  • the electronic device 100 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 110 through a power management system, so as to manage charging, discharging, and power management through the power management system. consumption management and other functions.
  • a power source such as a battery
  • the structure of the electronic device shown in FIG. 9 does not constitute a limitation to the electronic device.
  • the electronic device may include more or less components than the one shown, or combine some components, or arrange different components, which will not be repeated here. .
  • the user input unit 107 is configured to acquire a first pinyin sequence input by the user, and the first pinyin sequence includes M syllable sequences.
  • the processor 110 is configured to acquire at least one first target syllable sequence corresponding to the first syllable sequence when the M syllable sequences include the first syllable sequence; a first target syllable sequence is: the first syllable sequence corresponds to Among the at least one target character, a syllable sequence different from the first syllable sequence exists in one target character; and at least one first target syllable sequence is respectively adopted to replace the first syllable sequence in the first pinyin sequence to generate at least one a second pinyin sequence; and, in the case that the target pinyin sequence in the at least one second pinyin sequence satisfies the first preset condition, displaying a candidate word corresponding to the target pinyin sequence.
  • M is a positive integer greater than 1.
  • the electronic device since the electronic device can obtain the first syllable sequence (that is, the syllable sequence corresponding to the wrong pronunciation of a polyphonic word) in the obtained pinyin sequence of a certain confusing word, the first syllable sequence can be obtained.
  • At least one first target syllable sequence corresponding to a syllable sequence that is, the syllable sequence corresponding to other pronunciations of the polysyllabic word
  • the at least one first target syllable sequence is respectively used to replace the first syllable in the first pinyin sequence sequence, generate all phonetic sequences corresponding to all pronunciations of the polyphonic word (i.e.
  • the electronic device can display the For a confusing word, instead of just based on the pinyin sequence corresponding to the high-frequency mispronunciation of the certain confusing word, generate the certain confusing word and display the certain confusing word, so it can improve the display of the confusing word accuracy.
  • the above-mentioned M syllable sequences are M single-word syllable sequences.
  • the processor 110 is further configured to split the first pinyin sequence into M single-word syllable sequences when the first pinyin sequence is a full pinyin sequence.
  • the electronic device can split the first pinyin sequence into a plurality of single-character syllable sequences when the first pinyin sequence is a full-pinyin sequence, the electronic device can accurately determine the plurality of single-character syllables Whether the sequence contains the first syllable sequence can improve the accuracy of determining that the first syllable sequence is included, which can improve the accuracy of displaying confusing words.
  • the processor 110 is specifically configured to acquire at least one corresponding to the first syllable sequence when M is within a preset range and the M syllable sequences include the first syllable sequence.
  • the first target syllable sequence is specifically configured to acquire at least one corresponding to the first syllable sequence when M is within a preset range and the M syllable sequences include the first syllable sequence.
  • the first target syllable sequence is specifically configured to acquire at least one corresponding to the first syllable sequence when M is within a preset range and the M syllable sequences include the first syllable sequence.
  • the first target syllable sequence is specifically configured to acquire at least one corresponding to the first syllable sequence when M is within a preset range and the M syllable sequences include the first syllable sequence.
  • the first target syllable sequence is specifically configured to acquire at least one corresponding to the first s
  • the electronic device obtains at least one pinyin sequence only when the pinyin sequence input by the user may be a pinyin sequence corresponding to a confusing word, and the pinyin sequence includes a syllable sequence in which the corresponding characters contain polyphonic words.
  • the first target syllable therefore, it can be avoided that the pinyin sequence input by the user is not the pinyin sequence corresponding to the confusing vocabulary, and the electronic device will acquire at least one first target syllable sequence, that is, the electronic device is determining the pinyin sequence input by the user.
  • the candidate word corresponding to the pinyin sequence input by the user can be directly displayed, so that the efficiency of displaying the candidate word by the electronic device can be improved.
  • the above-mentioned first syllable sequence includes: a second syllable sequence and a third syllable sequence.
  • the processor 110 is further configured to obtain a first numerical value and a second numerical value; wherein, the first numerical value is: the number of the first target syllable sequence corresponding to the second syllable sequence, and the second numerical value is: the third syllable sequence corresponds to The number of the first target syllable sequence of the first target syllable sequence; and when the first value is less than the second value, the first target syllable sequence corresponding to the second syllable sequence is respectively used, and the first syllable sequence in the first pinyin sequence is used. make a replacement.
  • the electronic device may use a corresponding first target syllable sequence with a smaller number of syllable sequences when the first syllable sequence includes multiple syllable sequences (ie, the second syllable sequence and the third syllable sequence).
  • the first target syllable sequence corresponding to the syllable sequence replaces the first syllable sequence in the first pinyin sequence.
  • the number of generated second pinyin sequences can be reduced, so that the electronic device can quickly Determine whether the target pinyin sequence in the smaller number of second pinyin sequences satisfies the first preset condition, so as to display the confusing vocabulary (candidate words) corresponding to the target pinyin sequence, so that the electronic device can improve the ability of the electronic device to display the confusing vocabulary. efficiency.
  • the processor 110 is further configured to respectively adopt the third syllable sequence in the case that each second pinyin sequence in the at least one second pinyin sequence does not satisfy the first preset condition.
  • the corresponding first target syllable sequence replaces the first syllable sequence in the first pinyin sequence to generate at least one third pinyin sequence; and the fourth pinyin sequence in at least one third pinyin sequence satisfies the second preset condition
  • the candidate words corresponding to the fourth pinyin sequence are displayed.
  • the electronic device can use the first target syllable sequence corresponding to the third syllable sequence, The first syllable sequence in the first pinyin sequence is replaced to obtain at least one third pinyin sequence, so that when the fourth pinyin sequence satisfies the second preset condition, the candidate word corresponding to the fourth pinyin sequence is displayed,
  • the accuracy of displaying the confusing word can be improved.
  • the processor 110 is further configured to acquire at least one second target syllable sequence corresponding to the second syllable sequence;
  • the target syllable sequence is: in at least one target character corresponding to the fourth syllable sequence, a target character exists in a syllable sequence different from the fourth syllable sequence; and at least one first target syllable sequence and at least one second target syllable sequence are used respectively.
  • the syllable sequence is to replace the first syllable sequence and the fourth syllable sequence in the first pinyin sequence.
  • the electronic device can obtain the fourth syllable sequence (that is, another At least one second target syllable sequence corresponding to another syllable sequence corresponding to the wrong pronunciation of the polyphonic word (that is, the syllable sequence corresponding to other pronunciations of the other polyphonic word), and respectively adopt the at least one first target syllable sequence and at least one target syllable sequence.
  • a second target syllable sequence replace the first syllable sequence and the fourth syllable sequence in the M syllable sequences and replace, and generate all the phonetic sequences corresponding to all the pronunciations of the multiple polyphonic words, so that the electronic device can be used in all the phonetic alphabets.
  • the processor 110 is further configured to traverse at least one second pinyin sequence; if there is a candidate word corresponding to the currently traversed second pinyin sequence in the thesaurus, the electronic device traverses the currently traversed second pinyin sequence.
  • the candidate word corresponding to the second pinyin sequence is determined as the candidate word corresponding to the target pinyin sequence; if there is no candidate word corresponding to the currently traversed second pinyin sequence in the lexicon, the electronic device continues to traverse the next second pinyin sequence.
  • the electronic device can traverse at least one second pinyin sequence, and determine the candidate word corresponding to the second pinyin sequence existing in the thesaurus as the candidate word corresponding to the target pinyin sequence, that is, the electronic device can directly A candidate word that the user may need to input is determined, and the candidate word is displayed without the need for the user to select from at least one candidate word corresponding to the at least one second pinyin sequence, so the user's operation can be simplified, and the electronic device can improve the display of the user. Efficiency of confusing words that need to be entered.
  • the electronic device can traverse at least one second pinyin sequence, if there is no candidate word corresponding to the currently traversed second pinyin sequence in the lexicon, the currently traversed second pinyin sequence is not
  • the corresponding candidate words are determined as the candidate words corresponding to the target pinyin sequence, that is, the electronic device does not display candidate words that the user does not need to input, so the number of displayed candidate words can be reduced, thereby shortening the search for the candidate words that the user needs to input. This can improve the efficiency of user input of candidate words.
  • the display unit 106 is configured to display the candidate words corresponding to the target pinyin sequence and the first target syllable sequence corresponding to the target pinyin sequence on the candidate word display area of the input method interface.
  • the electronic device can display the candidate word corresponding to the target pinyin sequence and the first target syllable sequence corresponding to the target pinyin sequence, the user can be prompted for the syllable sequence corresponding to the correct pronunciation of the polysyllabic word in the candidate word, This can improve the user experience.
  • the input unit 104 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042. Such as camera) to obtain still pictures or video image data for processing.
  • the display unit 106 may include a display panel 1061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the user input unit 107 includes a touch panel 1071 and other input devices 1072 .
  • the touch panel 1071 is also called a touch screen.
  • the touch panel 1071 may include two parts, a touch detection device and a touch controller.
  • Other input devices 1072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.
  • Memory 109 may be used to store software programs as well as various data including, but not limited to, application programs and operating systems.
  • the processor 110 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the like, and the modem processor mainly processes wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 110 .
  • An embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, each process of the above-mentioned embodiment of the candidate word display method is implemented, and can achieve The same technical effect, in order to avoid repetition, will not be repeated here.
  • the processor is the processor in the electronic device described in the foregoing embodiments.
  • the 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.
  • An embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement the above embodiment of the method for displaying candidate words and can achieve the same technical effect, in order to avoid repetition, it will not be repeated here.
  • the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-a-chip, or a system-on-a-chip, or the like.
  • the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation.
  • the technical solution of the present application can be embodied in the form of a software product in essence or in a part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of this application.
  • a storage medium such as ROM/RAM, magnetic disk, CD-ROM

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Document Processing Apparatus (AREA)

Abstract

L'invention concerne un procédé et un appareil d'affichage de mot candidat, et un dispositif électronique. Le procédé d'affichage de mot candidat comprend les étapes suivantes : acquisition d'une première séquence pinyin entrée par un utilisateur, la première séquence pinyin comprenant M séquences de syllabes ; lorsque les M séquences de syllabes comprennent une première séquence de syllabes, acquisition d'au moins une première séquence de syllabes cible correspondant à la première séquence de syllabes ; remplacement respectif de la première séquence de syllabes dans la première séquence pinyin par ladite séquence de syllabes cible, de manière à générer au moins une deuxième séquence pinyin ; et lorsqu'une séquence pinyin cible dans ladite deuxième séquence pinyin satisfait une première condition prédéfinie, affichage d'un mot candidat correspondant à la séquence pinyin cible.
PCT/CN2021/129857 2020-11-13 2021-11-10 Procédé et appareil d'affichage de mot candidat, et dispositif électronique WO2022100622A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011270348.4 2020-11-13
CN202011270348.4A CN112328096A (zh) 2020-11-13 2020-11-13 候选词显示方法、装置和电子设备

Publications (1)

Publication Number Publication Date
WO2022100622A1 true WO2022100622A1 (fr) 2022-05-19

Family

ID=74318644

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/129857 WO2022100622A1 (fr) 2020-11-13 2021-11-10 Procédé et appareil d'affichage de mot candidat, et dispositif électronique

Country Status (2)

Country Link
CN (1) CN112328096A (fr)
WO (1) WO2022100622A1 (fr)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112328096A (zh) * 2020-11-13 2021-02-05 维沃移动通信有限公司 候选词显示方法、装置和电子设备

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101441527A (zh) * 2008-12-24 2009-05-27 腾讯科技(深圳)有限公司 拼音输入中提示正确读音的方法及装置
CN105549760A (zh) * 2016-01-27 2016-05-04 百度在线网络技术(北京)有限公司 信息输入方法和装置
CN106774975A (zh) * 2016-11-30 2017-05-31 百度在线网络技术(北京)有限公司 输入方法和装置
CN109144284A (zh) * 2017-06-15 2019-01-04 百度在线网络技术(北京)有限公司 信息显示方法和装置
CN112328096A (zh) * 2020-11-13 2021-02-05 维沃移动通信有限公司 候选词显示方法、装置和电子设备

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102200839A (zh) * 2010-03-25 2011-09-28 阿里巴巴集团控股有限公司 一种汉字输入过程中的汉语拼音串处理方法及其系统
CN102135812B (zh) * 2010-11-30 2013-11-06 华为终端有限公司 一种多音汉字的输入方法及装置
CN103365925B (zh) * 2012-04-09 2016-12-14 高德软件有限公司 获取多音字拼音、基于拼音检索的方法及其相应装置
CN110569501A (zh) * 2019-07-30 2019-12-13 平安科技(深圳)有限公司 用户账号生成方法、装置、介质和计算机设备

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101441527A (zh) * 2008-12-24 2009-05-27 腾讯科技(深圳)有限公司 拼音输入中提示正确读音的方法及装置
CN105549760A (zh) * 2016-01-27 2016-05-04 百度在线网络技术(北京)有限公司 信息输入方法和装置
CN106774975A (zh) * 2016-11-30 2017-05-31 百度在线网络技术(北京)有限公司 输入方法和装置
CN109144284A (zh) * 2017-06-15 2019-01-04 百度在线网络技术(北京)有限公司 信息显示方法和装置
CN112328096A (zh) * 2020-11-13 2021-02-05 维沃移动通信有限公司 候选词显示方法、装置和电子设备

Also Published As

Publication number Publication date
CN112328096A (zh) 2021-02-05

Similar Documents

Publication Publication Date Title
JP6151381B2 (ja) 国際言語のための仮想キーボード入力
EP2987055B1 (fr) Sortie de suggestion de texte en utilisant des données d'interaction passées
EP2987054B1 (fr) Sortie de suggestion de texte cohérent
US9984069B2 (en) Input method, input apparatus, and terminal
WO2015088669A1 (fr) Entrée de caractères multiples par sélection unique
CN104123012B (zh) 使用替代评分的非字典字符串的姿态键盘输入
WO2022135474A1 (fr) Procédé et appareil de recommandation d'informations et dispositif électronique
KR20100015958A (ko) 멀티모드 다국어 입력기
US10402474B2 (en) Keyboard input corresponding to multiple languages
WO2022143454A1 (fr) Procédé et appareil de correction d'informations, et dispositif électronique
US20200065370A1 (en) Abbreviated handwritten entry translation
JP2021114284A (ja) 句読点予測方法および装置
WO2022166808A1 (fr) Procédé et appareil de restauration de texte, et dispositif électronique
WO2022100622A1 (fr) Procédé et appareil d'affichage de mot candidat, et dispositif électronique
WO2022105754A1 (fr) Procédé et appareil d'entrée de caractères et dispositif électronique
CN113359999B (zh) 候选词更新方法、装置和电子设备
CN107329964A (zh) 一种文本处理方法及装置
CN112154442A (zh) 短语级缩写的文本录入和转换
CN112148135A (zh) 输入法处理方法、装置和电子设备
KR102327790B1 (ko) 정보 처리 방법, 장치 및 저장 매체
WO2022233275A1 (fr) Procédé et appareil de correction de saisie
WO2022135294A1 (fr) Procédé et appareil d'affichage de mot candidat, et dispositif électronique
WO2022194207A1 (fr) Procédé et appareil d'entrée, dispositif électronique et support de stockage lisible
US20120303368A1 (en) Number-assistant voice input system, number-assistant voice input method for voice input system and number-assistant voice correcting method for voice input system
WO2022161307A1 (fr) Procédé et appareil de traduction de texte, ainsi que dispositif et support

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: 21891142

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21891142

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 24.11.2023)