WO2022135294A1 - 候选词显示方法及装置、电子设备 - Google Patents

候选词显示方法及装置、电子设备 Download PDF

Info

Publication number
WO2022135294A1
WO2022135294A1 PCT/CN2021/139097 CN2021139097W WO2022135294A1 WO 2022135294 A1 WO2022135294 A1 WO 2022135294A1 CN 2021139097 W CN2021139097 W CN 2021139097W WO 2022135294 A1 WO2022135294 A1 WO 2022135294A1
Authority
WO
WIPO (PCT)
Prior art keywords
candidate
information
pinyin
input
target
Prior art date
Legal status (The legal status 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 status listed.)
Ceased
Application number
PCT/CN2021/139097
Other languages
English (en)
French (fr)
Inventor
罗红星
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Publication of WO2022135294A1 publication Critical patent/WO2022135294A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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

Definitions

  • the present application relates to the field of communication technologies, and in particular, to a method and device for displaying a candidate word, and an electronic device.
  • terminal devices such as computers and mobile phones have become an indispensable part of people's daily work and life.
  • the input method is more and more convenient and fast. user's attention.
  • the purpose of the embodiments of the present application is to provide a method and device for displaying a candidate word, and an electronic device, which can solve the problem in the prior art that it is difficult to find a target Chinese character after inputting pinyin letters, resulting in low input efficiency.
  • an embodiment of the present application provides a method for displaying candidate words, the method comprising:
  • At least one of the first information, the second information and the third information corresponding to the pinyin letter is displayed on the first candidate interface;
  • the first information is at least part of the candidate Chinese characters corresponding to the pinyin letters, the at least part of the candidate Chinese characters are classified and arranged according to the different tones corresponding to the pinyin letters, and the second information is the corresponding pinyin letters.
  • the third information includes the pinyin corresponding to the pinyin letter, and the pinyin is marked with tones.
  • an embodiment of the present application provides a candidate word display device, the device comprising:
  • a first display module configured to display at least one of the first information, the second information, and the third information corresponding to the pinyin letter on the first candidate interface in the case of receiving the pinyin letter input by the user;
  • the first information is at least part of the candidate Chinese characters corresponding to the pinyin letters, the at least part of the candidate Chinese characters are classified and arranged according to the different tones corresponding to the pinyin letters, and the second information is the corresponding pinyin letters.
  • the third information includes the pinyin corresponding to the pinyin letter, and the pinyin is marked with tones.
  • 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.
  • a computer program product is provided, the computer program product is stored in a non-transitory storage medium, the computer program product is executed by at least one processor to implement the method of the first aspect.
  • the pinyin letters input by the user after receiving the pinyin letters input by the user, by displaying the information corresponding to the pinyin letters, for example, the candidate Chinese characters classified and sorted according to different tones, the uncommon words corresponding to the pinyin, or the pinyin marked with tones, etc. , which helps the user to quickly find and output the target Chinese character or pinyin marked with tones, which improves the input efficiency.
  • the information corresponding to the pinyin letters for example, the candidate Chinese characters classified and sorted according to different tones, the uncommon words corresponding to the pinyin, or the pinyin marked with tones, etc.
  • Fig. 1 is the schematic diagram of inputting the pinyin with tone in the prior art
  • FIG. 2 is a schematic flowchart of a method for displaying a candidate word according to an embodiment of the present application
  • FIG. 3 is a schematic diagram of an initial candidate interface provided by an embodiment of the present application.
  • FIG. 4 is one of the schematic diagrams of the first candidate interface provided by the embodiment of the present application.
  • FIG. 5 is the second schematic diagram of the first candidate interface provided by the embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of a candidate word display device according to an embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
  • FIG. 8 is a schematic diagram of a hardware structure of an electronic device implementing 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 cloud word frequency ranking, user memory lexicon, or pinyin completion or error correction provide users with a very precise sorting mechanism and algorithm, it still often occurs that users want to find a certain word, but they can't find it. Therefore, in these key usage scenarios, the user's input efficiency is reduced.
  • the target input method also has the problem that it is difficult to input pinyin with tones.
  • the current input methods can only quickly input pinyin without tones.
  • Pinyin with tones also requires multi-level settings and search for the input method.
  • FIG. 1 is a schematic diagram of inputting pinyin with tones in the prior art.
  • FIG. 1 taking a more commonly used input method as an example, it is necessary to find the corresponding tones in the settings-symbols-zhuyin in turn, which is very cumbersome and the input efficiency is low.
  • FIG. 2 is a schematic flowchart of a method for displaying a candidate word according to an embodiment of the present application.
  • the candidate word display method provided by the embodiment of the present application includes the following steps:
  • Step 21 in the case of receiving the pinyin letters input by the user, display at least one of the first information, second information, and third information corresponding to the pinyin letters on the first candidate interface;
  • the first information is at least part of the candidate Chinese characters corresponding to the pinyin letters, the at least part of the candidate Chinese characters are classified and arranged according to the different tones corresponding to the pinyin letters, and the second information is the corresponding pinyin letters.
  • the third information includes the pinyin corresponding to the pinyin letter, and the pinyin is marked with tones.
  • the electronic device after receiving the pinyin letters input by the user, the electronic device will display at least one of the first information, the second information, and the third information corresponding to the input pinyin letters on the first candidate interface, so as to for users to choose. Therefore, after receiving the pinyin letters input by the user, the embodiments of the present application display information corresponding to the pinyin letters, such as candidate Chinese characters classified and sorted according to different tones, uncommon words corresponding to pinyin, or pinyin marked with tones, etc. , which helps the user to quickly find and output the target Chinese character or pinyin marked with tones, which improves the input efficiency.
  • the method before the step of displaying at least one of the first information, the second information, and the third information corresponding to the pinyin letters on the first candidate interface, the method further includes:
  • the initial candidate interface is switched and displayed as the first candidate interface.
  • FIG. 3 is a schematic diagram of an initial candidate interface provided by an embodiment of the present application.
  • the electronic device when it receives the pinyin letters input by the user, it can first display a line of candidate Chinese characters corresponding to the input pinyin letters on the initial candidate interface.
  • the selection frequency of corresponding Chinese characters in the memory lexicon is arranged to facilitate the user to quickly input Chinese characters with high word frequency and high selection frequency.
  • the user can find the target Chinese character in the initial candidate interface, so as to select the target Chinese character for input, but in some cases, the target Chinese character does not exist in the initial candidate interface, for example, the target Chinese character is a rare character or the frequency of use In the case of lower Chinese characters, the user needs to search further to find the target Chinese character.
  • a trigger input from the user to trigger the first candidate interface is received, for example, the trigger input is an input of clicking a button in the initial candidate interface for jumping to the first candidate interface
  • the electronic device will respond to the trigger input,
  • the initial candidate interface is switched and displayed as the first candidate interface, and at least one of the first information, the second information, and the third information corresponding to the pinyin letters is displayed in the first candidate interface, thereby providing more candidates information for user selection.
  • the above-mentioned step of switching from the initial candidate interface to the first candidate interface may also be omitted, that is, the first candidate interface is directly displayed, and the first candidate interface may include the above-mentioned first candidate interface corresponding to the input pinyin letters.
  • At least one of the first information, the second information, and the third information in this case, a row of candidate Chinese characters corresponding to the input pinyin letters in the initial candidate interface has been fused and displayed in the first information and the second information;
  • the first candidate interface may further include a row of candidate Chinese characters corresponding to the input pinyin letters in the above-mentioned initial candidate interface, and at this time, the row of candidate Chinese characters is not included in the first information, the second information, and the third information.
  • FIG. 4 is one schematic diagram of a first candidate interface provided by an embodiment of the present application.
  • the first candidate interface displays first information
  • the first information is at least some candidate Chinese characters corresponding to the pinyin letters
  • these candidate Chinese characters are classified and arranged according to the different tones corresponding to the pinyin letters, for example , the candidate Chinese characters belonging to the first tone are arranged in a row or a column, the candidate Chinese characters belonging to the pinyin of the second tone are arranged in a row or a column, and so on, so that many candidate Chinese characters can be classified reasonably and finely, which is convenient for users to quickly find the target Chinese character , to improve the input efficiency.
  • FIG. 4 is one schematic diagram of a first candidate interface provided by an embodiment of the present application.
  • the first candidate interface displays first information
  • the first information is at least some candidate Chinese characters corresponding to the pinyin letters
  • these candidate Chinese characters are classified and arranged according to the different tones corresponding to the pinyin letters, for example , the candidate Chinese characters belonging
  • the first candidate interface may include several tone areas 41, each tone area 41 displays at least some candidate Chinese characters corresponding to the pinyin letters and belonging to the same tone, and different tone areas
  • the tones of 41 are different.
  • Several tonal areas 41 can be arranged row by row from top to bottom in the order of tone from low to high, and several tone areas 41 can also be arranged row by row from left to right in the order of tone from low to high.
  • the arrangement and display manner of the candidate Chinese characters of different tones in the first information is not limited to that shown in FIG. 4 .
  • the candidate Chinese characters corresponding to each tone are arranged according to a preset arrangement, and the preset arrangement is based on the frequency of use of the candidate Chinese characters and the degree of semantic association. at least one of them is determined. That is to say, the ranking of the candidate Chinese characters corresponding to each tone can also be arranged according to the word frequency popularity of the cloud thesaurus, the selection frequency of the corresponding Chinese characters in the user memory thesaurus, and the semantic relevance of the context of the input field. For example, the candidate Chinese characters are arranged in descending order of the usage frequency, or the candidate Chinese characters are arranged in the descending order of the selection frequency of the candidate Chinese characters in the user memory lexicon.
  • the first candidate interface may further include second information, where the second information is a rare word corresponding to the pinyin letter.
  • the first candidate interface may further include a rare character area 42 , the rare character area 42 may be displayed below the tone area 41 , and the rare character area 42 is displayed with the corresponding pinyin letters
  • Rare characters these rare characters are Chinese characters with low frequency of use, so that when the target Chinese character input by the user is a rare character, it can be quickly found and output; 42 may display a "separate" character, which may be located at the first position of the rare character corresponding to the pinyin letter.
  • the first candidate interface may further include third information, where the third information includes the pinyin corresponding to the pinyin letter, and the pinyin is marked with tones.
  • the first candidate interface may also include a pinyin area 43, and the pinyin area 43 may display the pinyin corresponding to the pinyin letters, and the pinyin is marked with tones, such as the first tones displayed. Pinyin, pinyin of the second tone, pinyin of the third tone, and pinyin of the fourth tone, so as to facilitate the user to output the tone-marked pinyin corresponding to the target Chinese character, and improve the output efficiency.
  • the pinyin area 43 may be located on the left side of the tone area 41, that is, each tone area 41 corresponds to a pinyin marked with a tone in the pinyin area 43, so that Users can more intuitively view candidate Chinese characters corresponding to different tones, improving input efficiency.
  • the third information may further include tones corresponding to the pinyin letters, so as to provide a way for the user to output the tones individually.
  • FIG. 5 is the second schematic diagram of the first candidate interface provided by the embodiment of the present application.
  • the number of the pinyin regions 43 is two, that is, the first candidate interface may include two pinyin regions 43 , one of which is located in the first candidate interface.
  • each tone area 41 corresponds to a tone-marked pinyin in the pinyin area 43, so that the user can more intuitively view the candidate Chinese characters corresponding to different tones, and improve the input efficiency;
  • a pinyin area 43 can be set as non-selectable, and is only used for the classification identification of candidate Chinese characters with different tones; and another pinyin area 43 is located below the tone area 41, and the lower pinyin area 43 also displays with the pinyin letters
  • the pinyin is marked with tones, such as the pinyin of the first tones, the pinyin of the second tones, the pinyin of the third tones and the pinyin of the fourth tones, the difference is that in this pinyin area 43 below
  • the pinyin of the target can be selected and output, so that the user can quickly output the target pinyin and improve the input efficiency.
  • the method further includes:
  • the display content of the first candidate interface is updated to at least one of the first information, the second information, and the third information corresponding to the modified pinyin letters.
  • the electronic device will respond to The first input updates the display content in the first candidate interface to at least one of the first information, the second information, and the third information corresponding to the modified pinyin letters, so that there is no need to jump from the initial candidate interface.
  • the method further includes:
  • candidate Chinese characters corresponding to the target tone are displayed.
  • the second input may be an input of sliding left/right after selecting a row of candidate Chinese characters corresponding to a certain tone
  • the third input may be For the input of clicking the page turning button displayed in a certain tone area 41, the electronic device will respond to the second input and display other candidate Chinese characters corresponding to the same target tone (different from the candidate Chinese characters displayed at the previous moment), Thus, it is convenient for the user to find the target Chinese character.
  • the method further includes:
  • the target object is one of the target candidate Chinese characters, the target rare characters, and the target pinyin;
  • target information corresponding to the target object is output.
  • the target object can be one of the target candidate Chinese character, the target rare character, and the target pinyin.
  • the third input can be the input of long-pressing the target candidate Chinese character, or the third input is Double-click the input of the target candidate Chinese character, or the third input is the input of the click target rare word, or the third input is the input of the click target Pinyin, then the electronic device will respond to the third input, output and all
  • the target information corresponding to the target object wherein the information corresponding to the target object may specifically be: when the selected target object is a target candidate Chinese character, the target candidate Chinese character or the target candidate Chinese character and the corresponding target Chinese character will be output.
  • the pinyin this pinyin is marked with tones, determine whether to output the target candidate Chinese character or this target candidate Chinese character and its corresponding pinyin, specifically, the third input can be specified, for example, if the third input is the input of the click target candidate Chinese character, then Output target candidate Chinese character, and if the third input is the input of double-clicking or long-pressing the target candidate Chinese character, then output this target candidate Chinese character and its corresponding pinyin, when outputting this target candidate Chinese character and its corresponding pinyin, its output format can be Set according to the actual situation, for example: "Run (b ⁇ n)", so as to meet the needs of users to quickly phonetic Chinese characters; and if the selected target object is the target rare character, it can output the target rare character or The target rare word and its corresponding pinyin are marked with tones, and similarly, the third input can be limited to determine whether the target rare word or the target rare word and its corresponding pinyin are output; By analogy, if the selected target object is the target pinyin,
  • the pinyin letters input by the user after receiving the pinyin letters input by the user, by displaying the information corresponding to the pinyin letters, for example, the candidate Chinese characters classified and sorted according to different tones, the uncommon words corresponding to the pinyin, or the pinyin marked with tones, etc. , which helps the user to quickly find and output the target Chinese character or pinyin marked with tones, which improves the input efficiency.
  • the information corresponding to the pinyin letters for example, the candidate Chinese characters classified and sorted according to different tones, the uncommon words corresponding to the pinyin, or the pinyin marked with tones, etc.
  • 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 method for displaying a candidate word by a candidate word display device is taken as an example to describe the candidate word display device provided by the embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of a candidate word display device according to an embodiment of the present application.
  • another embodiment of the present application further provides a candidate word display device, and the candidate word display device 60 may include:
  • the first display module 61 is configured to display at least one of the first information, the second information, and the third information corresponding to the pinyin letters on the first candidate interface in the case of receiving the pinyin letters input by the user;
  • the first information is at least part of the candidate Chinese characters corresponding to the pinyin letters, the at least part of the candidate Chinese characters are classified and arranged according to the different tones corresponding to the pinyin letters, and the second information is the corresponding pinyin letters.
  • the third information includes the pinyin corresponding to the pinyin letter, and the pinyin is marked with tones.
  • the candidate Chinese characters corresponding to each tone are arranged according to a preset arrangement, and the preset arrangement is determined according to at least one of the frequency of use of the candidate Chinese characters and the degree of semantic association.
  • the candidate word display device 60 further includes:
  • the first receiving module is used to receive the first input of the user modifying the Pinyin alphabet in the first candidate interface
  • the second display module is configured to, in response to the first input, update the display content of the first candidate interface to at least one of the first information, the second information, and the third information corresponding to the modified pinyin letters one.
  • the candidate word display device 60 further includes:
  • the second receiving module is used to receive the second input that the user checks the candidate Chinese character corresponding to the target tone in the first candidate interface;
  • the third display module is configured to display the candidate Chinese characters corresponding to the target tone in response to the second input.
  • the candidate word display device 60 further includes:
  • a third receiving module configured to receive a third input from a user selecting a target object on the first candidate interface, where the target object is one of a target candidate Chinese character, a target rare character, and a target pinyin;
  • An output module configured to output target information corresponding to the target object in response to the third input.
  • 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 (Personal Digital Assistant).
  • the non-mobile electronic device may be a personal computer (Personal Computer, PC), a television (Television, TV), a teller machine or a self-service machine, etc., which are not specifically limited in the embodiments of the present application.
  • PC Personal Computer
  • TV Television
  • teller machine teller machine
  • self-service machine etc., which are not specifically limited in the embodiments of the present application.
  • 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 by the embodiment of the present application can implement each process implemented by the method embodiments in FIG. 2 to FIG. 5 , and to avoid repetition, details are not repeated here.
  • an embodiment of the present application further provides an electronic device 700, including a processor 701, a memory 702, a program or instruction stored in the memory 702 and executable on the processor 701,
  • an electronic device 700 including a processor 701, a memory 702, a program or instruction stored in the memory 702 and executable on the processor 701,
  • the program or instruction is executed by the processor 701
  • each process of the above-mentioned embodiment of the candidate word display method can be implemented, and the same technical effect can be achieved. To avoid repetition, details are not described here.
  • the electronic devices in the embodiments of the present application include the aforementioned mobile electronic devices and non-mobile electronic devices.
  • FIG. 8 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 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 1010 through a power management system, so that the power management system can manage charging, discharging, and power functions. consumption management and other functions.
  • a power source such as a battery
  • the structure of the electronic device shown in FIG. 8 does not constitute a limitation on 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 display unit 1006 is configured to display at least one of the first information, the second information and the third information corresponding to the pinyin letters on the first candidate interface in the case of receiving the pinyin letters input by the user;
  • the first information is at least part of the candidate Chinese characters corresponding to the pinyin letters, the at least part of the candidate Chinese characters are classified and arranged according to the different tones corresponding to the pinyin letters, and the second information is the corresponding pinyin letters.
  • the third information includes the pinyin corresponding to the pinyin letter, and the pinyin is marked with tones.
  • the pinyin letters input by the user after receiving the pinyin letters input by the user, by displaying the information corresponding to the pinyin letters, for example, the candidate Chinese characters classified and sorted according to different tones, the uncommon words corresponding to the pinyin, or the pinyin marked with tones, etc. , which helps the user to quickly find and output the target Chinese character or pinyin marked with tones, which improves the input efficiency.
  • the information corresponding to the pinyin letters for example, the candidate Chinese characters classified and sorted according to different tones, the uncommon words corresponding to the pinyin, or the pinyin marked with tones, etc.
  • the candidate Chinese characters corresponding to each tone are arranged according to a preset arrangement, and the preset arrangement is determined according to at least one of the frequency of use of the candidate Chinese characters and the degree of semantic association.
  • the user input unit 1007 is further configured to receive the first input of the user modifying the pinyin letters on the first candidate interface;
  • the display unit 1006 is further configured to, in response to the first input, update the display content of the first candidate interface to at least one of the first information, the second information, and the third information corresponding to the modified pinyin letters. one.
  • the user input unit 1007 is further configured to receive a second input from the user to view the candidate Chinese character corresponding to the target tone on the first candidate interface;
  • the display unit 1006 is further configured to display the candidate Chinese characters corresponding to the target tone in response to the second input.
  • the user input unit 1007 is further configured to receive a third input from the user selecting a target object in the first candidate interface, where the target object is one of the target candidate Chinese characters, the target rare characters, and the target pinyin;
  • the processor 1010 is configured to output target information corresponding to the target object in response to the third input.
  • the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and a microphone 10042. Such as camera) to obtain still pictures or video image data for processing.
  • the display unit 1006 may include a display panel 10061, which 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 keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.
  • Memory 1009 may be used to store software programs as well as various data, including but not limited to application programs and operating systems.
  • the processor 1010 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 1010.
  • the embodiments of the present application further provide a readable storage medium, the readable storage medium may be non-volatile or volatile, and a program or an instruction is stored on the readable storage medium, and the program or instruction is stored in the readable storage medium.
  • the processor executes, each process of the above-mentioned embodiment of the candidate word display method is implemented, and the same technical effect can be achieved. In order to avoid repetition, details are not 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 is not 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 embodiment of the present application further provides a computer program product, wherein the computer program product is stored in a non-transitory readable storage medium, and the computer program product is executed by at least one processor to realize the above-mentioned FIG. 2
  • the computer program product is stored in a non-transitory readable storage medium, and the computer program product is executed by at least one processor to realize the above-mentioned FIG. 2
  • 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

本申请公开了一种候选词显示方法及装置、电子设备,属于通信技术领域。所述候选词显示方法包括:在接收到用户输入的拼音字母的情况下,在第一候选界面显示与拼音字母对应的第一信息、第二信息、第三信息中的至少一者;其中,所述第一信息为与拼音字母对应的至少部分候选汉字,所述至少部分候选汉字按照拼音字母对应的不同声调进行分类排列,所述第二信息为与拼音字母对应的生僻字,所述第三信息包括拼音字母对应的拼音,所述拼音标注有声调。

Description

候选词显示方法及装置、电子设备
相关申请的交叉引用
本申请主张在2020年12月24日在中国提交的中国专利申请号No.202011546313.9的优先权,其全部内容通过引用包含于此。
技术领域
本申请涉及通信技术领域,具体涉及一种候选词显示方法及装置、电子设备。
背景技术
目前电脑和手机等终端设备已经成为人们在日常工作和生活中不可或缺的一部分,而输入法作为用户最高频使用的应用程序之一,其操作的方便性和快捷程度也越来越受到用户的关注。
目前市面上主流的输入法大多都采用云端词库里的词频热度和用户记忆词库来进行候选词的排序,大部分时候都能较好的匹配到用户需要的热词或者词组,但仍存在一些情况,用户在输入拼音字母后,仍需要多次翻页查找,才能查找到目标汉字。
发明内容
本申请实施例的目的是提供一种候选词显示方法及装置、电子设备,能够解决现有技术中在输入拼音字母后难以查找到目标汉字,导致输入效率低的问题。
为了解决上述技术问题,本申请是这样实现的:
第一方面,本申请实施例提供了一种候选词显示方法,该方法包括:
在接收到用户输入的拼音字母的情况下,在第一候选界面显示与所述拼音字母对应的第一信息、第二信息、第三信息中的至少一者;
其中,所述第一信息为与所述拼音字母对应的至少部分候选汉字,所述至少部分候选汉字按照所述拼音字母对应的不同声调进行分类排列,所述第 二信息为与所述拼音字母对应的生僻字,所述第三信息包括所述拼音字母对应的拼音,所述拼音标注有声调。
第二方面,本申请实施例提供了一种候选词显示装置,该装置包括:
第一显示模块,用于在接收到用户输入的拼音字母的情况下,在第一候选界面显示与所述拼音字母对应的第一信息、第二信息、第三信息中的至少一者;
其中,所述第一信息为与所述拼音字母对应的至少部分候选汉字,所述至少部分候选汉字按照所述拼音字母对应的不同声调进行分类排列,所述第二信息为与所述拼音字母对应的生僻字,所述第三信息包括所述拼音字母对应的拼音,所述拼音标注有声调。
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。
第六方面,提供了一种计算机程序产品,所述计算机程序产品被存储在非瞬态的存储介质中,所述计算机程序产品被至少一个处理器执行以实现如第一方面所述的方法。
在本申请实施例中,在接收到用户输入的拼音字母后,通过显示与拼音字母对应的信息,比如,按照不同声调进行分类排序的候选汉字、拼音对应的生僻字或者标注有声调的拼音等,有助于用户快速找到并输出目标汉字或标注有声调的拼音,提高了输入效率。
附图说明
为了更清楚地说明本申请实施例的技术方案,下面将对本申请实施例描 述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为现有技术中输入附带声调的拼音的示意图;
图2为本申请实施例提供的一种候选词显示方法的流程示意图;
图3为本申请实施例提供的初始候选界面的示意图;
图4为本申请实施例提供的第一候选界面的示意图之一;
图5为本申请实施例提供的第一候选界面的示意图之二;
图6为本申请实施例提供的一种候选词显示装置的结构示意图;
图7为本申请实施例提供的一种电子设备的结构示意图;
图8为实现本申请实施例的一种电子设备的硬件结构示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的汉字拼音输入方法、汉字拼音输入装置和电子设备进行详细地说明。
目前,云端词频热度排序、用户记忆词库或者拼音补全或纠错虽然给用户提供了非常精确的排序机制和算法,但是仍然还是会经常出现用户想要找某一个字,却总是找不到的情况,因此在这些关键的使用场景下,降低了用 户的输入效率。
此外,目标的输入法还存在输入带有声调的拼音较为困难的问题,例如用户对某一生僻字进行拼音标注,目前的输入法都只能快速的输入不带声调的拼音,如果想要输入带有声调的拼音,还需要对输入法进行多级设置和查找。
请参考图1,为现有技术中输入附带声调的拼音的示意图。如图1所示,以一款较为常用的输入法为例,需要依次在设置-符号-注音中找到对应的声调,非常繁琐,输入效率较低。
由此,请参考图2,为本申请实施例提供的一种候选词显示方法的流程示意图。如图2所示,本申请实施例提供的候选词显示方法包括以下步骤:
步骤21:在接收到用户输入的拼音字母的情况下,在第一候选界面显示与所述拼音字母对应的第一信息、第二信息、第三信息中的至少一者;
其中,所述第一信息为与所述拼音字母对应的至少部分候选汉字,所述至少部分候选汉字按照所述拼音字母对应的不同声调进行分类排列,所述第二信息为与所述拼音字母对应的生僻字,所述第三信息包括所述拼音字母对应的拼音,所述拼音标注有声调。
本申请实施例中,电子设备在接收到用户输入的拼音字母后,将在第一候选界面显示与输入的拼音字母对应的第一信息、第二信息、第三信息中的至少一者,以供用户选择。由此,本申请实施例在接收到用户输入的拼音字母后,通过显示与拼音字母对应的信息,比如,按照不同声调进行分类排序的候选汉字、拼音对应的生僻字或者标注有声调的拼音等,有助于用户快速找到并输出目标汉字或标注有声调的拼音,提高了输入效率。
在本申请的一些实施例中,在第一候选界面显示与所述拼音字母对应的第一信息、第二信息、第三信息中的至少一者的步骤之前,还包括:
在接收到用户输入的拼音字母的情况下,在初始候选界面显示与所述拼音字母对应的一行候选汉字;
接收用户触发第一候选界面的触发输入;
响应于所述触发输入,将所述初始候选界面切换显示为第一候选界面。
请参考图3,为本申请实施例提供的初始候选界面的示意图。如图3所 示,在电子设备接收到用户输入的拼音字母时,可以先在初始候选界面显示与输入的拼音字母对应的一行候选汉字,这一行候选汉字可以根据云端词库的词频热度、用户记忆词库中对应汉字的选择频率等进行排列,以方便用户快速输入词频热度较高、选择频率较高的汉字。在较多情况下,用户可以在初始候选界面中便找到目标汉字,从而选择目标汉字进行输入,但是在一些情况下,在初始候选界面中不存在目标汉字,例如目标汉字为生僻字或者使用频率较低的汉字的情况下,需要用户进一步查找才能找到目标汉字。由此,若接收用户触发第一候选界面的触发输入,例如,触发输入为点击初始候选界面中用于跳转至第一候选界面的按钮的输入,则电子设备将响应于所述触发输入,将初始候选界面切换显示为第一候选界面,在该第一候选界面中显示与所述拼音字母对应的第一信息、第二信息、第三信息中的至少一者,从而提供更多的候选信息以供用户选择。
在一些可选的实施方式中,也可以省去上述由初始候选界面切换至第一候选界面的步骤,即直接显示第一候选界面,第一候选界面可以包括上述与输入的拼音字母对应的第一信息、第二信息、第三信息中的至少一者,在该情况下,上述初始候选界面中的与输入的拼音字母对应的一行候选汉字已融合显示在第一信息、第二信息中;进一步的,第一候选界面还可以包括上述初始候选界面中的与输入的拼音字母对应的一行候选汉字,此时,第一信息、第二信息、第三信息中不包括该行候选汉字。
请参考图4,为本申请实施例提供的第一候选界面的示意图之一。本申请实施例中,第一候选界面中显示有第一信息,第一信息即与所述拼音字母对应的至少部分候选汉字,这些候选汉字按照所述拼音字母对应的不同声调进行分类排列,例如,属于第一声调的候选汉字排成一行或一列,属于第二声调拼音的候选汉字排成一行或一列,以此类推,从而对众多的候选汉字进行合理精细的分类,方便用户快速找到目标汉字,提高输入效率。如图4所示,示例性的,第一候选界面可以包括若干声调区域41,每一声调区域41显示有与所述拼音字母对应的同属于一个声调的至少部分候选汉字,并且,不同声调区域41的声调不同,若干声调区域41可以按声调由低到高的顺序自上而下进行逐行排列,若干声调区域41也可以按声调由低到高的顺序自左 向右进行逐行排列,等等,第一信息中的不同声调的候选汉字的排列显示方式不限于图4所示。
可选的,本申请实施例中,所述第一信息中,每一声调对应的至少部分候选汉字按照预设排列方式进行排列,所述预设排列方式根据候选汉字的使用频率、语义关联程度中的至少一者确定。也就是说,每一声调对应的候选汉字的排序同样可以根据云端词库的词频热度、用户记忆词库中对应汉字的选择频率、输入栏上下文的语义关联程度等进行排列。例如,按照候选汉字的使用频率由高到低的顺序进行排列,或者按照候选汉字在用户记忆词库中的选择频率由高到低的顺序进行排列。
可选的,在申请的一些实施例中,第一候选界面除了第一信息外,还可以包括第二信息,第二信息即与所述拼音字母对应的生僻字。请继续参考图4,示例性的,第一候选界面还可以包括生僻字区域42,所述生僻字区域42可以显示于声调区域41下方,生僻字区域42中显示有与所述拼音字母对应的生僻字,这些生僻字为使用频率较低的汉字,从而在用户输入的目标汉字为生僻字的情况下可以快速找到并输出;可选的,为了对生僻字区域42进行标识,在生僻字区域42中可以显示一个“僻”字,该“僻”字可以位于与所述拼音字母对应的生僻字的首位。
本申请的一些实施例中,第一候选界面除了第一信息、第二信息外,还可以包括第三信息,第三信息包括所述拼音字母对应的拼音,所述拼音标注有声调。请继续参考图4,示例性的,第一候选界面还可以包括拼音区域43,拼音区域43可以显示有与所述拼音字母对应的拼音,所述拼音标注有声调,例如显示有第一声调的拼音、第二声调的拼音、第三声调的拼音和第四声调的拼音,从而方便用户输出目标汉字所对应的标注有声调的拼音,提高输出效率。可选的,在若干声调区域41呈行排列的情况下,拼音区域43可以位于声调区域41的左侧,即每一声调区域41对应于拼音区域43中的一个标注有声调的拼音,从而使得用户可以更直观的查看不同声调对应的候选汉字,提高输入效率。在一些实施方式中,第三信息还可以包括与所述拼音字母对应的声调,以为用户提供单独输出声调的方式。
请参考图5,为本申请实施例提供的第一候选界面的示意图之二。如图5 所示,本申请实施例中,可选的,所述拼音区域43的数量为两个,也即第一候选界面中可以包括两个拼音区域43,其中一个,拼音区域43位于第一候选界面的左侧,即每一声调区域41对应于拼音区域43中的一个标注有声调的拼音,从而使得用户可以更直观的查看不同声调对应的候选汉字,提高输入效率;左侧的这一拼音区域43可以设置为不可选取,仅用于不同声调的候选汉字的分类标识;而另一个拼音区域43位于声调区域41的下方,下方的这一拼音区域43同样显示有与所述拼音字母对应的拼音,所述拼音标注有声调,例如显示有第一声调的拼音、第二声调的拼音、第三声调的拼音和第四声调的拼音,不同的是,下方的这一拼音区域43中的拼音可以选中并输出,从而方便用户快速输出目标拼音,提高输入效率。
本申请实施例中,可选的,所述在第一候选界面显示与所述拼音字母对应的第一信息、第二信息、第三信息中的至少一者的步骤之后,还包括:
接收用户在所述第一候选界面修改拼音字母的第一输入;
响应于所述第一输入,将所述第一候选界面的显示内容更新为与修改后的拼音字母所对应的第一信息、第二信息、第三信息中的至少一者。
也就是说,在第一候选界面下,若接收到用户修改拼音字母的第一输入,例如,所述第一输入为在输入法的输入栏重新输入拼音字母的输入,则电子设备将响应于所述第一输入,将第一候选界面中的显示内容更新为与修改后的拼音字母所对应的第一信息、第二信息、第三信息中的至少一者,从而无需从初始候选界面跳转至第一候选界面;一般的,在修改拼音字母前后,第一候选界面的排布方式不变,也即第一候选界面中包括第一信息、第二信息、第三信息的情况保持一致。
本申请实施例中,可选的,所述在第一候选界面显示与所述拼音字母对应的第一信息、第二信息、第三信息中的至少一者的步骤之后,还包括:
接收用户在所述第一候选界面查看目标声调所对应的候选汉字的第二输入;
响应于所述第二输入,显示所述目标声调所对应的候选汉字。
该步骤中,在声调区域41中的候选汉字呈行排列时,所述第二输入可以为在选中某一声调对应的一行候选汉字后向左/右滑动的输入,或者所述第三 输入可以为点击某一声调区域41中显示的翻页按钮的输入,从而电子设备将响应于所述第二输入,显示同一目标声调对应的其他候选汉字(与前一时刻显示的候选汉字不相同),从而方便用户查找目标汉字。
本申请实施例中,可选的,所述在第一候选界面显示与所述拼音字母对应的第一信息、第二信息、第三信息中的至少一者的步骤之后,还包括:
接收用户在所述第一候选界面选取目标对象的第三输入,所述目标对象为目标候选汉字、目标生僻字、目标拼音中的一者;
响应于所述第三输入,输出与所述目标对象对应的目标信息。
在本步骤中,由于输入拼音字母后,在第一候选界面上显示有第一信息、第二信息、第三信息中的至少一者,则若接收到用户在第一候选界面选取目标对象的第三输入,其中,目标对象可以是目标候选汉字、目标生僻字、目标拼音中的一者,例如,所述第三输入可以是长按目标候选汉字的输入,或者,所述第三输入为双击目标候选汉字的输入,或者所述第三输入为点击目标生僻字的输入,又或者所述第三输入为点击目标拼音的输入,则电子设备将响应于所述第三输入,输出与所述目标对象对应的目标信息,其中,与所述目标对象对应的信息具体可以为:在被选中的目标对象为目标候选汉字的情况下,将输出该目标候选汉字或者该目标候选汉字和与其对应的拼音,该拼音标注有声调,确定是输出目标候选汉字还是该目标候选汉字和与其对应的拼音,具体可以通过对第三输入进行规定,例如若第三输入为点击目标候选汉字的输入,则输出目标候选汉字,而若第三输入为双击或长按目标候选汉字的输入,则输出该目标候选汉字和与其对应的拼音,在输出该目标候选汉字和与其对应的拼音时,其输出格式可以根据实际情况进行设定,例如:“犇(bēn)”,从而满足用户快速对汉字进行注音的需求;而在被选中的目标对象为目标生僻字的情况下,则可以输出该目标生僻字或者该目标生僻字和与其对应的拼音,所述拼音标注有声调,同样的,可以对第三输入进行限定,以确定输出的是该目标生僻字还是该目标生僻字和与其对应的拼音;以此类推,被选中的目标对象为目标拼音的情况下,则可以输出该目标拼音,所述目标拼音标注有声调,从而实现拼音的快速输出,提高了用户的输入效率。
在本申请实施例中,在接收到用户输入的拼音字母后,通过显示与拼音字母对应的信息,比如,按照不同声调进行分类排序的候选汉字、拼音对应的生僻字或者标注有声调的拼音等,有助于用户快速找到并输出目标汉字或标注有声调的拼音,提高了输入效率。
需要说明的是,本申请实施例提供的候选词显示方法,执行主体可以为候选词显示装置,或者该候选词显示装置中的用于执行候选词显示方法的控制模块。本申请实施例中以候选词显示装置执行候选词显示方法的方法为例,说明本申请实施例提供的候选词显示装置。
请参考图6,为本申请实施例提供的一种候选词显示装置的结构示意图。如图6所示,本申请另一方面实施例还提供了一种候选词显示装置,所述候选词显示装置60可以包括:
第一显示模块61,用于在接收到用户输入的拼音字母的情况下,在第一候选界面显示与所述拼音字母对应的第一信息、第二信息、第三信息中的至少一者;
其中,所述第一信息为与所述拼音字母对应的至少部分候选汉字,所述至少部分候选汉字按照所述拼音字母对应的不同声调进行分类排列,所述第二信息为与所述拼音字母对应的生僻字,所述第三信息包括所述拼音字母对应的拼音,所述拼音标注有声调。
可选的,所述第一信息中,每一声调对应的至少部分候选汉字按照预设排列方式进行排列,所述预设排列方式根据候选汉字的使用频率、语义关联程度中的至少一者确定。
可选的,所述候选词显示装置60还包括:
第一接收模块,用于接收用户在所述第一候选界面修改拼音字母的第一输入;
第二显示模块,用于响应于所述第一输入,将所述第一候选界面的显示内容更新为与修改后的拼音字母所对应的第一信息、第二信息、第三信息中的至少一者。
可选的,所述候选词显示装置60还包括:
第二接收模块,用于接收用户在所述第一候选界面查看目标声调所对应 的候选汉字的第二输入;
第三显示模块,用于响应于所述第二输入,显示所述目标声调所对应的候选汉字。
可选的,所述候选词显示装置60还包括:
第三接收模块,用于接收用户在所述第一候选界面选取目标对象的第三输入,所述目标对象为目标候选汉字、目标生僻字、目标拼音中的一者;
输出模块,用于响应于所述第三输入,输出与所述目标对象对应的目标信息。
本申请实施例中的候选词显示装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(Ultra-Mobile Personal Computer,UMPC)、上网本或者个人数字助理(Personal Digital Assistant,PDA)等,非移动电子设备可以为个人计算机(Personal Computer,PC)、电视机(Television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。
本申请实施例中的候选词显示装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为iOS操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。
本申请实施例提供的候选词显示装置能够实现图2至图5的方法实施例实现的各个过程,为避免重复,这里不再赘述。
可选的,如图7所示,本申请实施例还提供一种电子设备700,包括处理器701,存储器702,存储在存储器702上并可在所述处理器701上运行的程序或指令,该程序或指令被处理器701执行时实现上述候选词显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。
图8为实现本申请实施例的一种电子设备的硬件结构示意图。
该电子设备1000包括但不限于:射频单元1001、网络模块1002、音频输出单元1003、输入单元1004、传感器1005、显示单元1006、用户输入单 元1007、接口单元1008、存储器1009、以及处理器1010等部件。
本领域技术人员可以理解,电子设备1000还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器1010逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图8中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。
其中,显示单元1006,用于在接收到用户输入的拼音字母的情况下,在第一候选界面显示与所述拼音字母对应的第一信息、第二信息、第三信息中的至少一者;
其中,所述第一信息为与所述拼音字母对应的至少部分候选汉字,所述至少部分候选汉字按照所述拼音字母对应的不同声调进行分类排列,所述第二信息为与所述拼音字母对应的生僻字,所述第三信息包括所述拼音字母对应的拼音,所述拼音标注有声调。
在本申请实施例中,在接收到用户输入的拼音字母后,通过显示与拼音字母对应的信息,比如,按照不同声调进行分类排序的候选汉字、拼音对应的生僻字或者标注有声调的拼音等,有助于用户快速找到并输出目标汉字或标注有声调的拼音,提高了输入效率。
可选的,所述第一信息中,每一声调对应的至少部分候选汉字按照预设排列方式进行排列,所述预设排列方式根据候选汉字的使用频率、语义关联程度中的至少一者确定。
可选的,用户输入单元1007,还用于接收用户在所述第一候选界面修改拼音字母的第一输入;
显示单元1006,还用于响应于所述第一输入,将所述第一候选界面的显示内容更新为与修改后的拼音字母所对应的第一信息、第二信息、第三信息中的至少一者。
可选的,用户输入单元1007,还用于接收用户在所述第一候选界面查看目标声调所对应的候选汉字的第二输入;
显示单元1006,还用于响应于所述第二输入,显示所述目标声调所对应的候选汉字。
可选的,用户输入单元1007,还用于接收用户在所述第一候选界面选取目标对象的第三输入,所述目标对象为目标候选汉字、目标生僻字、目标拼音中的一者;
处理器1010,用于响应于所述第三输入,输出与所述目标对象对应的目标信息。
应理解的是,本申请实施例中,输入单元1004可以包括图形处理器(Graphics Processing Unit,GPU)10041和麦克风10042,图形处理器10041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元1006可包括显示面板10061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板10061。用户输入单元1007包括触控面板10071以及其他输入设备10072。触控面板10071,也称为触摸屏。触控面板10071可包括触摸检测装置和触摸控制器两个部分。其他输入设备10072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器1009可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器1010可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1010中。
本申请实施例还提供一种可读存储介质,所述可读存储介质可以是非易失的,也可以是易失的,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述候选词显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述候选词显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复, 这里不再赘述。
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。
本申请实施例另提供了一种计算机程序产品,其中,所述计算机程序产品被存储在非瞬态的可读存储介质中,所述计算机程序产品被至少一个处理器执行以实现上述图2所示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。

Claims (15)

  1. 一种候选词显示方法,包括:
    在接收到用户输入的拼音字母的情况下,在第一候选界面显示与所述拼音字母对应的第一信息、第二信息、第三信息中的至少一者;
    其中,所述第一信息为与所述拼音字母对应的至少部分候选汉字,所述至少部分候选汉字按照所述拼音字母对应的不同声调进行分类排列,所述第二信息为与所述拼音字母对应的生僻字,所述第三信息包括所述拼音字母对应的拼音,所述拼音标注有声调。
  2. 根据权利要求1所述的候选词显示方法,其中,所述第一信息中,每一声调对应的至少部分候选汉字按照预设排列方式进行排列,所述预设排列方式根据候选汉字的使用频率、语义关联程度中的至少一者确定。
  3. 根据权利要求1所述的候选词显示方法,其中,所述在第一候选界面显示与所述拼音字母对应的第一信息、第二信息、第三信息中的至少一者的步骤之后,还包括:
    接收用户在所述第一候选界面修改拼音字母的第一输入;
    响应于所述第一输入,将所述第一候选界面的显示内容更新为与修改后的拼音字母所对应的第一信息、第二信息、第三信息中的至少一者。
  4. 根据权利要求1所述的候选词显示方法,其中,所述在第一候选界面显示与所述拼音字母对应的第一信息、第二信息、第三信息中的至少一者的步骤之后,还包括:
    接收用户在所述第一候选界面查看目标声调所对应的候选汉字的第二输入;
    响应于所述第二输入,显示所述目标声调所对应的候选汉字。
  5. 根据权利要求1所述的候选词显示方法,其中,所述在第一候选界面显示与所述拼音字母对应的第一信息、第二信息、第三信息中的至少一者的步骤之后,还包括:
    接收用户在所述第一候选界面选取目标对象的第三输入,所述目标对象为目标候选汉字、目标生僻字、目标拼音中的一者;
    响应于所述第三输入,输出与所述目标对象对应的目标信息。
  6. 一种候选词显示装置,包括:
    第一显示模块,用于在接收到用户输入的拼音字母的情况下,在第一候选界面显示与所述拼音字母对应的第一信息、第二信息、第三信息中的至少一者;
    其中,所述第一信息为与所述拼音字母对应的至少部分候选汉字,所述至少部分候选汉字按照所述拼音字母对应的不同声调进行分类排列,所述第二信息为与所述拼音字母对应的生僻字,所述第三信息包括所述拼音字母对应的拼音,所述拼音标注有声调。
  7. 根据权利要求6所述的候选词显示装置,其中,所述第一信息中,每一声调对应的至少部分候选汉字按照预设排列方式进行排列,所述预设排列方式根据候选汉字的使用频率、语义关联程度中的至少一者确定。
  8. 根据权利要求6所述的候选词显示装置,其中,还包括:
    第一接收模块,用于接收用户在所述第一候选界面修改拼音字母的第一输入;
    第二显示模块,用于响应于所述第一输入,将所述第一候选界面的显示内容更新为与修改后的拼音字母所对应的第一信息、第二信息、第三信息中的至少一者。
  9. 根据权利要求6所述的候选词显示装置,其中,还包括:
    第二接收模块,用于接收用户在所述第一候选界面查看目标声调所对应的候选汉字的第二输入;
    第三显示模块,用于响应于所述第二输入,显示所述目标声调所对应的候选汉字。
  10. 根据权利要求6所述的候选词显示装置,其中,还包括:
    第三接收模块,用于接收用户在所述第一候选界面选取目标对象的第三输入,所述目标对象为目标候选汉字、目标生僻字、目标拼音中的一者;
    输出模块,用于响应于所述第三输入,输出与所述目标对象对应的目标信息。
  11. 一种电子设备,包括处理器,存储器及存储在所述存储器上并可在 所述处理器上运行的程序或指令,其中,所述程序或指令被所述处理器执行时实现如权利要求1-5中任一项所述的候选词显示方法的步骤。
  12. 一种可读存储介质,所述可读存储介质上存储程序或指令,其中,所述程序或指令被处理器执行时实现如权利要求1-5中任一项所述的候选词显示方法的步骤。
  13. 一种芯片,包括处理器和通信接口,其中,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1-5中任一项所述的候选词显示方法的步骤。
  14. 一种计算机程序产品,其中,所述计算机程序产品被存储在非瞬态的可读存储介质中,所述计算机程序产品被至少一个处理器执行以实现如权利要求1-5任一项所述的候选词显示方法的步骤。
  15. 一种电子设备,被配置为执行如权利要求1-5中任一项所述的候选词显示方法的步骤。
PCT/CN2021/139097 2020-12-24 2021-12-17 候选词显示方法及装置、电子设备 Ceased WO2022135294A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011546313.9 2020-12-24
CN202011546313.9A CN112698734B (zh) 2020-12-24 2020-12-24 候选词显示方法及装置、电子设备

Publications (1)

Publication Number Publication Date
WO2022135294A1 true WO2022135294A1 (zh) 2022-06-30

Family

ID=75509585

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/139097 Ceased WO2022135294A1 (zh) 2020-12-24 2021-12-17 候选词显示方法及装置、电子设备

Country Status (2)

Country Link
CN (1) CN112698734B (zh)
WO (1) WO2022135294A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116842149A (zh) * 2023-05-18 2023-10-03 维沃移动通信有限公司 词语生成方法和电子设备
CN117332075A (zh) * 2023-10-31 2024-01-02 招商银行股份有限公司 生僻字查询方法、装置、设备及存储介质

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112698734B (zh) * 2020-12-24 2024-04-26 维沃移动通信有限公司 候选词显示方法及装置、电子设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102478969A (zh) * 2010-11-25 2012-05-30 腾讯科技(深圳)有限公司 候选汉字的筛选方法及装置
CN104461334A (zh) * 2013-09-25 2015-03-25 深圳市世纪光速信息技术有限公司 一种字符输入方法及装置
CN104635949A (zh) * 2015-01-07 2015-05-20 三星电子(中国)研发中心 一种汉字输入装置及方法
CN112698734A (zh) * 2020-12-24 2021-04-23 维沃移动通信有限公司 候选词显示方法及装置、电子设备

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020021182A (ko) * 2000-09-08 2002-03-20 류충구 성조 표현을 이용한 중국어 입력 시스템 및 그 방법
JP2002082938A (ja) * 2000-09-08 2002-03-22 Omron Corp 四声付きピンインの入力方法およびこの方法を用いた中国語入力用のプログラム記録媒体
KR20100003831A (ko) * 2008-07-02 2010-01-12 삼성전자주식회사 중국어 입력 장치 및 그 입력 방법
CN104808806B (zh) * 2014-01-28 2019-10-25 北京三星通信技术研究有限公司 根据不确定性信息实现汉字输入的方法和装置
CN104978045B (zh) * 2015-05-27 2019-07-05 腾讯科技(深圳)有限公司 一种汉字输入方法及装置
CN105425976A (zh) * 2015-06-11 2016-03-23 周连惠 一种输入生僻字的方法
KR101871490B1 (ko) * 2016-02-11 2018-06-27 이은령 성조 컬러표시 장치 및 방법
CN106774985A (zh) * 2016-12-30 2017-05-31 维沃移动通信有限公司 一种文字处理方法及移动终端
CN108509060A (zh) * 2018-03-28 2018-09-07 任文 一种通过输入法电子字典注册偏僻汉字拼音代码的方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102478969A (zh) * 2010-11-25 2012-05-30 腾讯科技(深圳)有限公司 候选汉字的筛选方法及装置
CN104461334A (zh) * 2013-09-25 2015-03-25 深圳市世纪光速信息技术有限公司 一种字符输入方法及装置
CN104635949A (zh) * 2015-01-07 2015-05-20 三星电子(中国)研发中心 一种汉字输入装置及方法
CN112698734A (zh) * 2020-12-24 2021-04-23 维沃移动通信有限公司 候选词显示方法及装置、电子设备

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116842149A (zh) * 2023-05-18 2023-10-03 维沃移动通信有限公司 词语生成方法和电子设备
CN117332075A (zh) * 2023-10-31 2024-01-02 招商银行股份有限公司 生僻字查询方法、装置、设备及存储介质

Also Published As

Publication number Publication date
CN112698734B (zh) 2024-04-26
CN112698734A (zh) 2021-04-23

Similar Documents

Publication Publication Date Title
US20150234938A1 (en) Method and electronic terminal for searching for contact in directory
US20120023433A1 (en) Method and apparatus for inputting character in a portable terminal
CN103049166A (zh) 用于在触摸敏感设备中提供搜索功能的方法和装置
WO2022135294A1 (zh) 候选词显示方法及装置、电子设备
WO2022194004A1 (zh) 应用图标整理方法、装置和电子设备
WO2022083750A1 (zh) 文字显示方法、装置和电子设备
CN105468256A (zh) 一种输入法键盘的切换方法和装置
WO2022143341A1 (zh) 输入法候选词显示方法、装置及电子设备
WO2023284799A1 (zh) 搜索方法、装置及电子设备
CN112181167B (zh) 输入法候选词处理方法和电子设备
CN113253883A (zh) 应用界面显示方法、装置和电子设备
WO2022247789A1 (zh) 候选词更新方法、装置和电子设备
US20170315703A1 (en) Projector playing control method, device, and computer storage medium
CN112148135A (zh) 输入法处理方法、装置和电子设备
WO2023056977A1 (zh) 应用程序启动方法, 装置及电子设备
CN112148167A (zh) 控件设置方法、装置和电子设备
CN108536653B (zh) 一种输入方法、装置和用于输入的装置
CN114063841A (zh) 文本选择方法、文本选择装置和电子设备
CN113076010B (zh) 输入方法、输入装置、电子设备及介质
WO2023045958A1 (zh) 应用图标显示方法、装置和电子设备
WO2022253181A1 (zh) 图标整理方法、装置和电子设备
WO2023274171A1 (zh) 应用运行方法和装置
CN112099693A (zh) 任务显示方法、装置及电子设备
WO2022105754A1 (zh) 输入文字的方法、装置和电子设备
CN111831177A (zh) 应用图标显示方法、装置和电子设备

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

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

Country of ref document: EP

Kind code of ref document: A1