WO2022135294A1 - Candidate word display method and apparatus, and electronic device - Google Patents

Candidate word display method and apparatus, and electronic device 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
Application number
PCT/CN2021/139097
Other languages
French (fr)
Chinese (zh)
Inventor
罗红星
Original Assignee
维沃移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from CN202011546313.9A external-priority patent/CN112698734B/en
Application filed by 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2022135294A1 publication Critical patent/WO2022135294A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • G06F3/0233Character input methods
    • G06F3/0236Character input methods using selection techniques to select from displayed items
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • G06F3/0233Character input methods
    • G06F3/0237Character input methods using prediction or retrieval techniques

Abstract

The present application relates to the technical field of communications, and provides a candidate word display method and apparatus, and an electronic device. The candidate word display method comprises: in the case that phonetic letters input by a user are received, displaying at least one of first information, second information and third information corresponding to the phonetic letters on a first candidate interface, wherein the first information is at least part of candidate Chinese characters corresponding to phonetic letters, the at least part of candidate Chinese characters are classified and arranged according to different tones corresponding to the phonetic letters, the second information is rarely-used characters corresponding to the phonetic letters, the third information comprises pinyin corresponding to the phonetic letters, and the pinyin is marked with tones.

Description

候选词显示方法及装置、电子设备Method and device for displaying candidate words, and electronic equipment
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请主张在2020年12月24日在中国提交的中国专利申请号No.202011546313.9的优先权,其全部内容通过引用包含于此。This application claims priority to Chinese Patent Application No. 202011546313.9 filed in China on Dec. 24, 2020, the entire contents of which are incorporated herein by reference.
技术领域technical field
本申请涉及通信技术领域,具体涉及一种候选词显示方法及装置、电子设备。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.
背景技术Background technique
目前电脑和手机等终端设备已经成为人们在日常工作和生活中不可或缺的一部分,而输入法作为用户最高频使用的应用程序之一,其操作的方便性和快捷程度也越来越受到用户的关注。At present, terminal devices such as computers and mobile phones have become an indispensable part of people's daily work and life. As one of the most frequently used applications by users, the input method is more and more convenient and fast. user's attention.
目前市面上主流的输入法大多都采用云端词库里的词频热度和用户记忆词库来进行候选词的排序,大部分时候都能较好的匹配到用户需要的热词或者词组,但仍存在一些情况,用户在输入拼音字母后,仍需要多次翻页查找,才能查找到目标汉字。At present, most of the mainstream input methods on the market use the word frequency popularity in the cloud thesaurus and the user memory thesaurus to sort the candidate words. Most of the time, they can better match the hot words or phrases that the user needs, but there are still In some cases, after inputting the pinyin letters, the user still needs to turn pages several times to find the target Chinese character.
发明内容SUMMARY OF THE INVENTION
本申请实施例的目的是提供一种候选词显示方法及装置、电子设备,能够解决现有技术中在输入拼音字母后难以查找到目标汉字,导致输入效率低的问题。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.
为了解决上述技术问题,本申请是这样实现的:In order to solve the above technical problems, this application is implemented as follows:
第一方面,本申请实施例提供了一种候选词显示方法,该方法包括:In a first aspect, an embodiment of the present application provides a method for displaying candidate words, the method comprising:
在接收到用户输入的拼音字母的情况下,在第一候选界面显示与所述拼音字母对应的第一信息、第二信息、第三信息中的至少一者;In the case of receiving the pinyin letter input by the user, 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. For the corresponding rare word, the third information includes the pinyin corresponding to the pinyin letter, and the pinyin is marked with tones.
第二方面,本申请实施例提供了一种候选词显示装置,该装置包括:In a second aspect, 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. For the corresponding rare word, the third information includes the pinyin corresponding to the pinyin letter, and the pinyin is marked with tones.
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。In a third aspect, 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.
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。In a fourth aspect, 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 .
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。In a fifth aspect, 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.
第六方面,提供了一种计算机程序产品,所述计算机程序产品被存储在非瞬态的存储介质中,所述计算机程序产品被至少一个处理器执行以实现如第一方面所述的方法。In a sixth aspect, 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.
在本申请实施例中,在接收到用户输入的拼音字母后,通过显示与拼音字母对应的信息,比如,按照不同声调进行分类排序的候选汉字、拼音对应的生僻字或者标注有声调的拼音等,有助于用户快速找到并输出目标汉字或标注有声调的拼音,提高了输入效率。In the embodiment of the present application, 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.
附图说明Description of drawings
为了更清楚地说明本申请实施例的技术方案,下面将对本申请实施例描 述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions of the embodiments of the present application more clearly, the following briefly introduces the drawings that are used in the description of the embodiments of the present application. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can also be obtained from these drawings without creative labor.
图1为现有技术中输入附带声调的拼音的示意图;Fig. 1 is the schematic diagram of inputting the pinyin with tone in the prior art;
图2为本申请实施例提供的一种候选词显示方法的流程示意图;2 is a schematic flowchart of a method for displaying a candidate word according to an embodiment of the present application;
图3为本申请实施例提供的初始候选界面的示意图;3 is a schematic diagram of an initial candidate interface provided by an embodiment of the present application;
图4为本申请实施例提供的第一候选界面的示意图之一;FIG. 4 is one of the schematic diagrams of the first candidate interface provided by the embodiment of the present application;
图5为本申请实施例提供的第一候选界面的示意图之二;FIG. 5 is the second schematic diagram of the first candidate interface provided by the embodiment of the present application;
图6为本申请实施例提供的一种候选词显示装置的结构示意图;FIG. 6 is a schematic structural diagram of a candidate word display device according to an embodiment of the present application;
图7为本申请实施例提供的一种电子设备的结构示意图;FIG. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
图8为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 8 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "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. For example, the first object may be one or more than one. In addition, "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 method for inputting Chinese pinyin, the device for inputting Chinese pinyin, and the electronic device provided by the embodiments of the present application will be described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
目前,云端词频热度排序、用户记忆词库或者拼音补全或纠错虽然给用户提供了非常精确的排序机制和算法,但是仍然还是会经常出现用户想要找某一个字,却总是找不到的情况,因此在这些关键的使用场景下,降低了用 户的输入效率。At present, although 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.
此外,目标的输入法还存在输入带有声调的拼音较为困难的问题,例如用户对某一生僻字进行拼音标注,目前的输入法都只能快速的输入不带声调的拼音,如果想要输入带有声调的拼音,还需要对输入法进行多级设置和查找。In addition, the target input method also has the problem that it is difficult to input pinyin with tones. For example, when users mark a rare word in pinyin, 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.
请参考图1,为现有技术中输入附带声调的拼音的示意图。如图1所示,以一款较为常用的输入法为例,需要依次在设置-符号-注音中找到对应的声调,非常繁琐,输入效率较低。Please refer to FIG. 1 , which is a schematic diagram of inputting pinyin with tones in the prior art. As shown in Figure 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.
由此,请参考图2,为本申请实施例提供的一种候选词显示方法的流程示意图。如图2所示,本申请实施例提供的候选词显示方法包括以下步骤:Therefore, please refer to FIG. 2 , which is a schematic flowchart of a method for displaying a candidate word according to an embodiment of the present application. As shown in FIG. 2 , the candidate word display method provided by the embodiment of the present application includes the following steps:
步骤21:在接收到用户输入的拼音字母的情况下,在第一候选界面显示与所述拼音字母对应的第一信息、第二信息、第三信息中的至少一者;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. For the corresponding rare word, the third information includes the pinyin corresponding to the pinyin letter, and the pinyin is marked with tones.
本申请实施例中,电子设备在接收到用户输入的拼音字母后,将在第一候选界面显示与输入的拼音字母对应的第一信息、第二信息、第三信息中的至少一者,以供用户选择。由此,本申请实施例在接收到用户输入的拼音字母后,通过显示与拼音字母对应的信息,比如,按照不同声调进行分类排序的候选汉字、拼音对应的生僻字或者标注有声调的拼音等,有助于用户快速找到并输出目标汉字或标注有声调的拼音,提高了输入效率。In the embodiment of the present application, 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.
在本申请的一些实施例中,在第一候选界面显示与所述拼音字母对应的第一信息、第二信息、第三信息中的至少一者的步骤之前,还包括:In some embodiments of the present application, 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:
在接收到用户输入的拼音字母的情况下,在初始候选界面显示与所述拼音字母对应的一行候选汉字;Under the situation of receiving the pinyin letters input by the user, display a line of candidate Chinese characters corresponding to the pinyin letters in the initial candidate interface;
接收用户触发第一候选界面的触发输入;receiving a trigger input from the user to trigger the first candidate interface;
响应于所述触发输入,将所述初始候选界面切换显示为第一候选界面。In response to the trigger input, the initial candidate interface is switched and displayed as the first candidate interface.
请参考图3,为本申请实施例提供的初始候选界面的示意图。如图3所 示,在电子设备接收到用户输入的拼音字母时,可以先在初始候选界面显示与输入的拼音字母对应的一行候选汉字,这一行候选汉字可以根据云端词库的词频热度、用户记忆词库中对应汉字的选择频率等进行排列,以方便用户快速输入词频热度较高、选择频率较高的汉字。在较多情况下,用户可以在初始候选界面中便找到目标汉字,从而选择目标汉字进行输入,但是在一些情况下,在初始候选界面中不存在目标汉字,例如目标汉字为生僻字或者使用频率较低的汉字的情况下,需要用户进一步查找才能找到目标汉字。由此,若接收用户触发第一候选界面的触发输入,例如,触发输入为点击初始候选界面中用于跳转至第一候选界面的按钮的输入,则电子设备将响应于所述触发输入,将初始候选界面切换显示为第一候选界面,在该第一候选界面中显示与所述拼音字母对应的第一信息、第二信息、第三信息中的至少一者,从而提供更多的候选信息以供用户选择。Please refer to FIG. 3 , which is a schematic diagram of an initial candidate interface provided by an embodiment of the present application. As shown in Figure 3, when the electronic device 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. In many cases, 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. Therefore, if 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.
在一些可选的实施方式中,也可以省去上述由初始候选界面切换至第一候选界面的步骤,即直接显示第一候选界面,第一候选界面可以包括上述与输入的拼音字母对应的第一信息、第二信息、第三信息中的至少一者,在该情况下,上述初始候选界面中的与输入的拼音字母对应的一行候选汉字已融合显示在第一信息、第二信息中;进一步的,第一候选界面还可以包括上述初始候选界面中的与输入的拼音字母对应的一行候选汉字,此时,第一信息、第二信息、第三信息中不包括该行候选汉字。In some optional implementations, 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; Further, 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.
请参考图4,为本申请实施例提供的第一候选界面的示意图之一。本申请实施例中,第一候选界面中显示有第一信息,第一信息即与所述拼音字母对应的至少部分候选汉字,这些候选汉字按照所述拼音字母对应的不同声调进行分类排列,例如,属于第一声调的候选汉字排成一行或一列,属于第二声调拼音的候选汉字排成一行或一列,以此类推,从而对众多的候选汉字进行合理精细的分类,方便用户快速找到目标汉字,提高输入效率。如图4所示,示例性的,第一候选界面可以包括若干声调区域41,每一声调区域41显示有与所述拼音字母对应的同属于一个声调的至少部分候选汉字,并且,不同声调区域41的声调不同,若干声调区域41可以按声调由低到高的顺序自上而下进行逐行排列,若干声调区域41也可以按声调由低到高的顺序自左 向右进行逐行排列,等等,第一信息中的不同声调的候选汉字的排列显示方式不限于图4所示。Please refer to FIG. 4 , which is one schematic diagram of a first candidate interface provided by an embodiment of the present application. In the embodiment of the present application, the first candidate interface displays first information, and the first information is at least some candidate Chinese characters corresponding to the pinyin letters, and 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. As shown in FIG. 4, exemplarily, 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. Etc., 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 .
可选的,本申请实施例中,所述第一信息中,每一声调对应的至少部分候选汉字按照预设排列方式进行排列,所述预设排列方式根据候选汉字的使用频率、语义关联程度中的至少一者确定。也就是说,每一声调对应的候选汉字的排序同样可以根据云端词库的词频热度、用户记忆词库中对应汉字的选择频率、输入栏上下文的语义关联程度等进行排列。例如,按照候选汉字的使用频率由高到低的顺序进行排列,或者按照候选汉字在用户记忆词库中的选择频率由高到低的顺序进行排列。Optionally, in the embodiment of the present application, in the first information, at least some of 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.
可选的,在申请的一些实施例中,第一候选界面除了第一信息外,还可以包括第二信息,第二信息即与所述拼音字母对应的生僻字。请继续参考图4,示例性的,第一候选界面还可以包括生僻字区域42,所述生僻字区域42可以显示于声调区域41下方,生僻字区域42中显示有与所述拼音字母对应的生僻字,这些生僻字为使用频率较低的汉字,从而在用户输入的目标汉字为生僻字的情况下可以快速找到并输出;可选的,为了对生僻字区域42进行标识,在生僻字区域42中可以显示一个“僻”字,该“僻”字可以位于与所述拼音字母对应的生僻字的首位。Optionally, in some embodiments of the application, in addition to the first information, the first candidate interface may further include second information, where the second information is a rare word corresponding to the pinyin letter. Please continue to refer to FIG. 4 , exemplarily, 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.
本申请的一些实施例中,第一候选界面除了第一信息、第二信息外,还可以包括第三信息,第三信息包括所述拼音字母对应的拼音,所述拼音标注有声调。请继续参考图4,示例性的,第一候选界面还可以包括拼音区域43,拼音区域43可以显示有与所述拼音字母对应的拼音,所述拼音标注有声调,例如显示有第一声调的拼音、第二声调的拼音、第三声调的拼音和第四声调的拼音,从而方便用户输出目标汉字所对应的标注有声调的拼音,提高输出效率。可选的,在若干声调区域41呈行排列的情况下,拼音区域43可以位于声调区域41的左侧,即每一声调区域41对应于拼音区域43中的一个标注有声调的拼音,从而使得用户可以更直观的查看不同声调对应的候选汉字,提高输入效率。在一些实施方式中,第三信息还可以包括与所述拼音字母对应的声调,以为用户提供单独输出声调的方式。In some embodiments of the present application, in addition to the first information and the second information, 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. Please continue to refer to FIG. 4 . Exemplarily, 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. Optionally, in the case where several tone areas 41 are arranged in rows, 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. In some embodiments, 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.
请参考图5,为本申请实施例提供的第一候选界面的示意图之二。如图5 所示,本申请实施例中,可选的,所述拼音区域43的数量为两个,也即第一候选界面中可以包括两个拼音区域43,其中一个,拼音区域43位于第一候选界面的左侧,即每一声调区域41对应于拼音区域43中的一个标注有声调的拼音,从而使得用户可以更直观的查看不同声调对应的候选汉字,提高输入效率;左侧的这一拼音区域43可以设置为不可选取,仅用于不同声调的候选汉字的分类标识;而另一个拼音区域43位于声调区域41的下方,下方的这一拼音区域43同样显示有与所述拼音字母对应的拼音,所述拼音标注有声调,例如显示有第一声调的拼音、第二声调的拼音、第三声调的拼音和第四声调的拼音,不同的是,下方的这一拼音区域43中的拼音可以选中并输出,从而方便用户快速输出目标拼音,提高输入效率。Please refer to FIG. 5 , which is the second schematic diagram of the first candidate interface provided by the embodiment of the present application. As shown in FIG. 5 , in the embodiment of the present application, optionally, 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. The left side of a candidate interface, that is, 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 Corresponding pinyin, 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.
本申请实施例中,可选的,所述在第一候选界面显示与所述拼音字母对应的第一信息、第二信息、第三信息中的至少一者的步骤之后,还包括:In the embodiment of the present application, optionally, after 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:
接收用户在所述第一候选界面修改拼音字母的第一输入;Receive the first input that the user modifies the pinyin letters on the first candidate interface;
响应于所述第一输入,将所述第一候选界面的显示内容更新为与修改后的拼音字母所对应的第一信息、第二信息、第三信息中的至少一者。In response to the first input, 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.
也就是说,在第一候选界面下,若接收到用户修改拼音字母的第一输入,例如,所述第一输入为在输入法的输入栏重新输入拼音字母的输入,则电子设备将响应于所述第一输入,将第一候选界面中的显示内容更新为与修改后的拼音字母所对应的第一信息、第二信息、第三信息中的至少一者,从而无需从初始候选界面跳转至第一候选界面;一般的,在修改拼音字母前后,第一候选界面的排布方式不变,也即第一候选界面中包括第一信息、第二信息、第三信息的情况保持一致。That is to say, in the first candidate interface, if the first input of the user modifying the pinyin letters is received, for example, the first input is the input of re-entering the pinyin letters in the input field of the input method, 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. Go to the first candidate interface; generally, before and after modifying the pinyin letters, the arrangement of the first candidate interface remains unchanged, that is, the first candidate interface includes the first information, the second information, and the third information. The situation remains the same .
本申请实施例中,可选的,所述在第一候选界面显示与所述拼音字母对应的第一信息、第二信息、第三信息中的至少一者的步骤之后,还包括:In the embodiment of the present application, optionally, after 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:
接收用户在所述第一候选界面查看目标声调所对应的候选汉字的第二输入;Receive the second input of the user viewing the candidate Chinese character corresponding to the target tone on the first candidate interface;
响应于所述第二输入,显示所述目标声调所对应的候选汉字。In response to the second input, candidate Chinese characters corresponding to the target tone are displayed.
该步骤中,在声调区域41中的候选汉字呈行排列时,所述第二输入可以为在选中某一声调对应的一行候选汉字后向左/右滑动的输入,或者所述第三 输入可以为点击某一声调区域41中显示的翻页按钮的输入,从而电子设备将响应于所述第二输入,显示同一目标声调对应的其他候选汉字(与前一时刻显示的候选汉字不相同),从而方便用户查找目标汉字。In this step, when the candidate Chinese characters in the tone area 41 are arranged in rows, the second input may be an input of sliding left/right after selecting a row of candidate Chinese characters corresponding to a certain tone, or 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.
本申请实施例中,可选的,所述在第一候选界面显示与所述拼音字母对应的第一信息、第二信息、第三信息中的至少一者的步骤之后,还包括:In the embodiment of the present application, optionally, after 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:
接收用户在所述第一候选界面选取目标对象的第三输入,所述目标对象为目标候选汉字、目标生僻字、目标拼音中的一者;Receive the third input of the user selecting a target object in the first candidate interface, and the target object is one of the target candidate Chinese characters, the target rare characters, and the target pinyin;
响应于所述第三输入,输出与所述目标对象对应的目标信息。In response to the third input, target information corresponding to the target object is output.
在本步骤中,由于输入拼音字母后,在第一候选界面上显示有第一信息、第二信息、第三信息中的至少一者,则若接收到用户在第一候选界面选取目标对象的第三输入,其中,目标对象可以是目标候选汉字、目标生僻字、目标拼音中的一者,例如,所述第三输入可以是长按目标候选汉字的输入,或者,所述第三输入为双击目标候选汉字的输入,或者所述第三输入为点击目标生僻字的输入,又或者所述第三输入为点击目标拼音的输入,则电子设备将响应于所述第三输入,输出与所述目标对象对应的目标信息,其中,与所述目标对象对应的信息具体可以为:在被选中的目标对象为目标候选汉字的情况下,将输出该目标候选汉字或者该目标候选汉字和与其对应的拼音,该拼音标注有声调,确定是输出目标候选汉字还是该目标候选汉字和与其对应的拼音,具体可以通过对第三输入进行规定,例如若第三输入为点击目标候选汉字的输入,则输出目标候选汉字,而若第三输入为双击或长按目标候选汉字的输入,则输出该目标候选汉字和与其对应的拼音,在输出该目标候选汉字和与其对应的拼音时,其输出格式可以根据实际情况进行设定,例如:“犇(bēn)”,从而满足用户快速对汉字进行注音的需求;而在被选中的目标对象为目标生僻字的情况下,则可以输出该目标生僻字或者该目标生僻字和与其对应的拼音,所述拼音标注有声调,同样的,可以对第三输入进行限定,以确定输出的是该目标生僻字还是该目标生僻字和与其对应的拼音;以此类推,被选中的目标对象为目标拼音的情况下,则可以输出该目标拼音,所述目标拼音标注有声调,从而实现拼音的快速输出,提高了用户的输入效率。In this step, since at least one of the first information, the second information, and the third information is displayed on the first candidate interface after inputting the pinyin letters, if the user selects the target object on the first candidate interface is received The third input, where the target object can be one of the target candidate Chinese character, the target rare character, and the target pinyin. For example, 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 target pinyin can be output, and the target pinyin is marked with tones, thereby realizing the fast output of pinyin and improving the user's input efficiency.
在本申请实施例中,在接收到用户输入的拼音字母后,通过显示与拼音字母对应的信息,比如,按照不同声调进行分类排序的候选汉字、拼音对应的生僻字或者标注有声调的拼音等,有助于用户快速找到并输出目标汉字或标注有声调的拼音,提高了输入效率。In the embodiment of the present application, 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.
需要说明的是,本申请实施例提供的候选词显示方法,执行主体可以为候选词显示装置,或者该候选词显示装置中的用于执行候选词显示方法的控制模块。本申请实施例中以候选词显示装置执行候选词显示方法的方法为例,说明本申请实施例提供的候选词显示装置。It should be noted that, for the candidate word display method provided by the embodiment of the present application, 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. In the embodiment of the present application, 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.
请参考图6,为本申请实施例提供的一种候选词显示装置的结构示意图。如图6所示,本申请另一方面实施例还提供了一种候选词显示装置,所述候选词显示装置60可以包括:Please refer to FIG. 6 , which is a schematic structural diagram of a candidate word display device according to an embodiment of the present application. As shown in FIG. 6 , another embodiment of the present application further provides a candidate word display device, and the candidate word display device 60 may include:
第一显示模块61,用于在接收到用户输入的拼音字母的情况下,在第一候选界面显示与所述拼音字母对应的第一信息、第二信息、第三信息中的至少一者;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. For the corresponding rare word, the third information includes the pinyin corresponding to the pinyin letter, and the pinyin is marked with tones.
可选的,所述第一信息中,每一声调对应的至少部分候选汉字按照预设排列方式进行排列,所述预设排列方式根据候选汉字的使用频率、语义关联程度中的至少一者确定。Optionally, in the first information, at least some of 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. .
可选的,所述候选词显示装置60还包括:Optionally, 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.
可选的,所述候选词显示装置60还包括:Optionally, 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.
可选的,所述候选词显示装置60还包括:Optionally, 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.
本申请实施例中的候选词显示装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(Ultra-Mobile Personal Computer,UMPC)、上网本或者个人数字助理(Personal Digital Assistant,PDA)等,非移动电子设备可以为个人计算机(Personal Computer,PC)、电视机(Television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。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. Exemplarily, 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). Assistant, PDA), etc., 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.
本申请实施例中的候选词显示装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为iOS操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。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.
本申请实施例提供的候选词显示装置能够实现图2至图5的方法实施例实现的各个过程,为避免重复,这里不再赘述。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.
可选的,如图7所示,本申请实施例还提供一种电子设备700,包括处理器701,存储器702,存储在存储器702上并可在所述处理器701上运行的程序或指令,该程序或指令被处理器701执行时实现上述候选词显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in FIG. 7 , 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, When 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.
需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the aforementioned mobile electronic devices and non-mobile electronic devices.
图8为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 8 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
该电子设备1000包括但不限于:射频单元1001、网络模块1002、音频输出单元1003、输入单元1004、传感器1005、显示单元1006、用户输入单 元1007、接口单元1008、存储器1009、以及处理器1010等部件。The electronic device 1000 includes but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010, etc. part.
本领域技术人员可以理解,电子设备1000还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器1010逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图8中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that 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. 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. .
其中,显示单元1006,用于在接收到用户输入的拼音字母的情况下,在第一候选界面显示与所述拼音字母对应的第一信息、第二信息、第三信息中的至少一者;Wherein, 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. For the corresponding rare word, the third information includes the pinyin corresponding to the pinyin letter, and the pinyin is marked with tones.
在本申请实施例中,在接收到用户输入的拼音字母后,通过显示与拼音字母对应的信息,比如,按照不同声调进行分类排序的候选汉字、拼音对应的生僻字或者标注有声调的拼音等,有助于用户快速找到并输出目标汉字或标注有声调的拼音,提高了输入效率。In the embodiment of the present application, 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.
可选的,所述第一信息中,每一声调对应的至少部分候选汉字按照预设排列方式进行排列,所述预设排列方式根据候选汉字的使用频率、语义关联程度中的至少一者确定。Optionally, in the first information, at least some of 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. .
可选的,用户输入单元1007,还用于接收用户在所述第一候选界面修改拼音字母的第一输入;Optionally, 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;
显示单元1006,还用于响应于所述第一输入,将所述第一候选界面的显示内容更新为与修改后的拼音字母所对应的第一信息、第二信息、第三信息中的至少一者。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.
可选的,用户输入单元1007,还用于接收用户在所述第一候选界面查看目标声调所对应的候选汉字的第二输入;Optionally, 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;
显示单元1006,还用于响应于所述第二输入,显示所述目标声调所对应的候选汉字。The display unit 1006 is further configured to display the candidate Chinese characters corresponding to the target tone in response to the second input.
可选的,用户输入单元1007,还用于接收用户在所述第一候选界面选取目标对象的第三输入,所述目标对象为目标候选汉字、目标生僻字、目标拼音中的一者;Optionally, 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;
处理器1010,用于响应于所述第三输入,输出与所述目标对象对应的目标信息。The processor 1010 is configured to output target information corresponding to the target object in response to the third input.
应理解的是,本申请实施例中,输入单元1004可以包括图形处理器(Graphics Processing Unit,GPU)10041和麦克风10042,图形处理器10041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元1006可包括显示面板10061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板10061。用户输入单元1007包括触控面板10071以及其他输入设备10072。触控面板10071,也称为触摸屏。触控面板10071可包括触摸检测装置和触摸控制器两个部分。其他输入设备10072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器1009可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器1010可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1010中。It should be understood that, in this embodiment of the present application, 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. When 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.
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。Wherein, 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.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that 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.
本申请实施例另提供了一种计算机程序产品,其中,所述计算机程序产品被存储在非瞬态的可读存储介质中,所述计算机程序产品被至少一个处理器执行以实现上述图2所示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。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 Each process of the method embodiment is shown, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in the reverse order depending on the functions involved. To perform functions, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to some examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that 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. Based on this understanding, 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.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the inspiration of this application, without departing from the scope of protection of the purpose of this application and the claims, many forms can be made, which all fall within the protection of this application.

Claims (15)

  1. 一种候选词显示方法,包括:A candidate word display method, including:
    在接收到用户输入的拼音字母的情况下,在第一候选界面显示与所述拼音字母对应的第一信息、第二信息、第三信息中的至少一者;In the case of receiving the pinyin letter input by the user, 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. For the corresponding rare word, the third information includes the pinyin corresponding to the pinyin letter, and the pinyin is marked with tones.
  2. 根据权利要求1所述的候选词显示方法,其中,所述第一信息中,每一声调对应的至少部分候选汉字按照预设排列方式进行排列,所述预设排列方式根据候选汉字的使用频率、语义关联程度中的至少一者确定。The method for displaying candidate words according to claim 1, wherein, in the first information, at least some of 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 , at least one of a degree of semantic association is determined.
  3. 根据权利要求1所述的候选词显示方法,其中,所述在第一候选界面显示与所述拼音字母对应的第一信息、第二信息、第三信息中的至少一者的步骤之后,还包括:The method for displaying candidate words according to claim 1, wherein after 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, further include:
    接收用户在所述第一候选界面修改拼音字母的第一输入;Receive the first input that the user modifies the pinyin letters on the first candidate interface;
    响应于所述第一输入,将所述第一候选界面的显示内容更新为与修改后的拼音字母所对应的第一信息、第二信息、第三信息中的至少一者。In response to the first input, 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.
  4. 根据权利要求1所述的候选词显示方法,其中,所述在第一候选界面显示与所述拼音字母对应的第一信息、第二信息、第三信息中的至少一者的步骤之后,还包括:The method for displaying candidate words according to claim 1, wherein after 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, further include:
    接收用户在所述第一候选界面查看目标声调所对应的候选汉字的第二输入;Receive the second input of the user viewing the candidate Chinese character corresponding to the target tone on the first candidate interface;
    响应于所述第二输入,显示所述目标声调所对应的候选汉字。In response to the second input, candidate Chinese characters corresponding to the target tone are displayed.
  5. 根据权利要求1所述的候选词显示方法,其中,所述在第一候选界面显示与所述拼音字母对应的第一信息、第二信息、第三信息中的至少一者的步骤之后,还包括:The method for displaying candidate words according to claim 1, wherein after 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, further include:
    接收用户在所述第一候选界面选取目标对象的第三输入,所述目标对象为目标候选汉字、目标生僻字、目标拼音中的一者;Receive the third input of the user selecting a target object in the first candidate interface, and the target object is one of the target candidate Chinese characters, the target rare characters, and the target pinyin;
    响应于所述第三输入,输出与所述目标对象对应的目标信息。In response to the third input, target information corresponding to the target object is output.
  6. 一种候选词显示装置,包括:A candidate word display 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. For the corresponding rare word, the third information includes the pinyin corresponding to the pinyin letter, and the pinyin is marked with tones.
  7. 根据权利要求6所述的候选词显示装置,其中,所述第一信息中,每一声调对应的至少部分候选汉字按照预设排列方式进行排列,所述预设排列方式根据候选汉字的使用频率、语义关联程度中的至少一者确定。The candidate word display device according to claim 6, wherein, in the first information, at least some of 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 , at least one of a degree of semantic association is determined.
  8. 根据权利要求6所述的候选词显示装置,其中,还包括:The candidate word display device according to claim 6, further comprising:
    第一接收模块,用于接收用户在所述第一候选界面修改拼音字母的第一输入;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.
  9. 根据权利要求6所述的候选词显示装置,其中,还包括:The candidate word display device according to claim 6, further comprising:
    第二接收模块,用于接收用户在所述第一候选界面查看目标声调所对应的候选汉字的第二输入;The second receiving module is configured to receive the second input of the user viewing the candidate Chinese character corresponding to the target tone on 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.
  10. 根据权利要求6所述的候选词显示装置,其中,还包括:The candidate word display device according to claim 6, further comprising:
    第三接收模块,用于接收用户在所述第一候选界面选取目标对象的第三输入,所述目标对象为目标候选汉字、目标生僻字、目标拼音中的一者;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.
  11. 一种电子设备,包括处理器,存储器及存储在所述存储器上并可在 所述处理器上运行的程序或指令,其中,所述程序或指令被所述处理器执行时实现如权利要求1-5中任一项所述的候选词显示方法的步骤。An electronic device, comprising a processor, a memory, and a program or instruction stored on the memory and executable on the processor, wherein the program or instruction is executed by the processor to achieve as claimed in claim 1 The steps of the candidate word display method described in any one of -5.
  12. 一种可读存储介质,所述可读存储介质上存储程序或指令,其中,所述程序或指令被处理器执行时实现如权利要求1-5中任一项所述的候选词显示方法的步骤。A readable storage medium storing programs or instructions on the readable storage medium, wherein, when the programs or instructions are executed by a processor, the method for displaying the candidate word according to any one of claims 1-5 is realized. step.
  13. 一种芯片,包括处理器和通信接口,其中,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1-5中任一项所述的候选词显示方法的步骤。A chip, comprising a processor and a communication interface, wherein the communication interface is coupled with the processor, and the processor is used for running a program or an instruction to implement the candidate word according to any one of claims 1-5 Displays the steps of the method.
  14. 一种计算机程序产品,其中,所述计算机程序产品被存储在非瞬态的可读存储介质中,所述计算机程序产品被至少一个处理器执行以实现如权利要求1-5任一项所述的候选词显示方法的步骤。A computer program product, wherein the computer program product is stored in a non-transitory readable storage medium, the computer program product being executed by at least one processor to implement any one of claims 1-5 The steps of the candidate word display method.
  15. 一种电子设备,被配置为执行如权利要求1-5中任一项所述的候选词显示方法的步骤。An electronic device configured to perform the steps of the candidate word display method according to any one of claims 1-5.
PCT/CN2021/139097 2020-12-24 2021-12-17 Candidate word display method and apparatus, and electronic device WO2022135294A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011546313.9A CN112698734B (en) 2020-12-24 Candidate word display method and device and electronic equipment
CN202011546313.9 2020-12-24

Publications (1)

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

Family

ID=75509585

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/139097 WO2022135294A1 (en) 2020-12-24 2021-12-17 Candidate word display method and apparatus, and electronic device

Country Status (1)

Country Link
WO (1) WO2022135294A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102478969A (en) * 2010-11-25 2012-05-30 腾讯科技(深圳)有限公司 Method and device for screening candidate Chinese characters
CN104461334A (en) * 2013-09-25 2015-03-25 深圳市世纪光速信息技术有限公司 Character input method and device
CN104635949A (en) * 2015-01-07 2015-05-20 三星电子(中国)研发中心 Chinese character input device and method
CN112698734A (en) * 2020-12-24 2021-04-23 维沃移动通信有限公司 Candidate word display method and device and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102478969A (en) * 2010-11-25 2012-05-30 腾讯科技(深圳)有限公司 Method and device for screening candidate Chinese characters
CN104461334A (en) * 2013-09-25 2015-03-25 深圳市世纪光速信息技术有限公司 Character input method and device
CN104635949A (en) * 2015-01-07 2015-05-20 三星电子(中国)研发中心 Chinese character input device and method
CN112698734A (en) * 2020-12-24 2021-04-23 维沃移动通信有限公司 Candidate word display method and device and electronic equipment

Also Published As

Publication number Publication date
CN112698734A (en) 2021-04-23

Similar Documents

Publication Publication Date Title
US11573939B2 (en) Process and apparatus for selecting an item from a database
WO2022017525A1 (en) Page display method and apparatus, and electronic device
EP3005066B1 (en) Multiple graphical keyboards for continuous gesture input
US20150234938A1 (en) Method and electronic terminal for searching for contact in directory
US20120189368A1 (en) Overloaded typing apparatuses, and related devices, systems, and methods
US20120023433A1 (en) Method and apparatus for inputting character in a portable terminal
WO2009127168A1 (en) System capable of accomplishing flexible keyboard layout
US20100321299A1 (en) System and method for key layout aware spell check
WO2022083750A1 (en) Text display method and apparatus and electronic device
WO2023284799A1 (en) Search method and apparatus, and electronic device
WO2022194004A1 (en) Application icon arrangement method and apparatus, and electronic device
WO2022135474A1 (en) Information recommendation method and apparatus, and electronic device
WO2022247789A1 (en) Candidate word update method and apparatus, and electronic device
WO2023045958A1 (en) Application icon display method and apparatus, and electronic device
WO2022253181A1 (en) Icon arrangement method and apparatus, and electronic device
WO2023083158A1 (en) Text selection method, text selection apparatus, and electronic device
WO2022242586A1 (en) Application interface method and apparatus, and electronic device
US20170315703A1 (en) Projector playing control method, device, and computer storage medium
WO2022105754A1 (en) Character input method and apparatus, and electronic device
CN108536653B (en) Input method, input device and input device
WO2022233275A1 (en) Input correction method and apparatus
WO2022194207A1 (en) Input method and apparatus, electronic device and readable storage medium
WO2023036115A1 (en) Text content selection method and apparatus
WO2023040724A1 (en) Information display method and apparatus, electronic device, and storage medium
WO2022135294A1 (en) Candidate word display method and apparatus, and electronic device

Legal Events

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

Ref document number: 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