WO2016034066A1 - Chinese character recognition method and device, and terminal - Google Patents

Chinese character recognition method and device, and terminal Download PDF

Info

Publication number
WO2016034066A1
WO2016034066A1 PCT/CN2015/088212 CN2015088212W WO2016034066A1 WO 2016034066 A1 WO2016034066 A1 WO 2016034066A1 CN 2015088212 W CN2015088212 W CN 2015088212W WO 2016034066 A1 WO2016034066 A1 WO 2016034066A1
Authority
WO
WIPO (PCT)
Prior art keywords
chinese character
homophones
pinyin
chinese
homophone
Prior art date
Application number
PCT/CN2015/088212
Other languages
French (fr)
Chinese (zh)
Inventor
吴尚智
Original Assignee
阿里巴巴集团控股有限公司
吴尚智
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 阿里巴巴集团控股有限公司, 吴尚智 filed Critical 阿里巴巴集团控股有限公司
Publication of WO2016034066A1 publication Critical patent/WO2016034066A1/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor

Definitions

  • the present invention relates to the field of computer technologies, and in particular, to a Chinese character recognition method, device and terminal.
  • the user clicks the reading icon of the interactive interface the system plays the pronunciation of the current Chinese character according to the triggered reading event sent by the user.
  • This method requires the user to install a specific tool.
  • a specific tool for Chinese character recognition only one function is read aloud.
  • the third way using the Chinese-speaking to pinyin provided by the webpage, it will be detected through a specific webpage.
  • the Chinese characters that are sent are converted into pinyin.
  • This method also needs to be in the network environment, and for users who have not learned the pinyin system, still do not know how to read the Chinese characters, and the user experience is poor.
  • the embodiment of the invention provides a Chinese character recognition method, device and terminal, which are used to solve the problem that the process of identifying Chinese characters existing in the prior art is complicated and the recognition speed is slow.
  • An embodiment of the present invention provides a Chinese character recognition method, including:
  • the input method system searches for a plurality of matches in the saved Chinese character library according to the received structure sequence, and displays the structure sequence of the Chinese characters, the Chinese characters, and the correspondence between the pinyin in the Chinese character library;
  • the pinyin of the Chinese character is displayed.
  • the input method is used to search for the pinyin of the Chinese character in the Chinese character library, and the pinyin of the Chinese character is displayed to the user. Since the input method is a commonly used application on various terminals, in the no-network environment, It can be used without installing other applications, which makes the Chinese character recognition process simple and improves the recognition speed.
  • the above method further includes:
  • a preset number of the homophones are displayed.
  • the above method further includes:
  • a preset number of the homophones are displayed.
  • displaying the preset number of the homophones includes:
  • the homophones corresponding to the selected Chinese characters are sorted according to the frequency of use of the acquired homophones in descending order;
  • the above method further includes:
  • the preset number of homophones are sequentially selected as the switching.
  • the above method further includes:
  • the homophone of the display is marked with the same tone as the pinyin of the Chinese character;
  • the tone of the homophone is marked for the displayed homophone according to the pitch of the pinyin of the displayed homophone.
  • the above method further includes:
  • reading is performed according to the pinyin corresponding to the Chinese character
  • the method further includes:
  • the switching request of the Chinese character pinyin recognition mode is received and switched to the Chinese character pinyin recognition mode.
  • the embodiment of the invention further provides a Chinese character recognition device, comprising:
  • a first searching unit configured to search for and display a Chinese character matching the sequence of the structure in the saved Chinese character library according to the received structure sequence, where the Chinese character library stores a structural sequence of Chinese characters, Chinese characters, and a correspondence relationship of Pinyin;
  • a second searching unit configured to search for a pinyin of the selected Chinese character in the Chinese character library according to a Chinese character selected by the user in the displayed Chinese character;
  • the first display unit is configured to display the pinyin of the Chinese character.
  • the device provided by the embodiment of the invention uses the input method system to find the pinyin of the Chinese character in the Chinese character library, and displays the pinyin of the Chinese character to the user. Since the input method is a commonly used application on various terminals, in the no-network environment, It can be used without installing other applications, which makes the Chinese character recognition process simple and improves the recognition speed.
  • the above device further includes:
  • a third searching unit configured to search for a homophone of the selected Chinese character in the Chinese character library
  • a second display unit configured to display a preset number of the homophones.
  • the above device further includes:
  • a fourth searching unit configured to search, in the Chinese character library, a homophone with the same tone as the selected pinyin of the Chinese character
  • a third display unit configured to display a preset number of the homophones.
  • the second display unit or the third display unit is specifically configured to: in the homophones corresponding to the selected Chinese characters, according to the frequency of use of the acquired homophones in descending order Sort the homophones; display the pre-preset number of homophones in the homophones after sorting.
  • the above device further includes:
  • a homophone switching unit configured to: when receiving a homophone switching request, in the homophones sorted according to the order of frequency of use, starting from the homophones after the currently displayed homophones, sequentially selecting Set the number of homophones as the homophones for switching display.
  • the above device further includes:
  • a first marking unit configured to mark, for the displayed homophones, the same tone as the Chinese pinyin according to the selected pitch of the Chinese characters;
  • a second marking unit configured to mark the homophone of the homophone according to the tone of the pinyin of the displayed homophone.
  • the above device further includes:
  • a reading unit configured to read aloud according to the pinyin corresponding to the Chinese character when receiving the reading request for the selected Chinese character
  • the interpretation display unit is configured to display the obtained interpretation of the Chinese character when receiving the interpretation display request for the selected Chinese character.
  • the above device further includes:
  • the pinyin recognition mode switching unit is configured to receive a switching request of the Chinese pinyin recognition mode and switch to the Chinese pinyin recognition mode before searching for the selected pinyin of the Chinese character in the Chinese character library.
  • the embodiment of the invention further provides a terminal, including:
  • the terminal provided by the embodiment of the present invention can be used in a non-network environment because the input method is a commonly used application on various terminals, and does not need to install other applications, so that the Chinese character recognition process is simple and the recognition speed is improved.
  • FIG. 1 is a flowchart of a Chinese character recognition method according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a Chinese character recognition method according to Embodiment 1 of the present invention.
  • FIG. 3 is a schematic structural diagram of a Chinese character recognition apparatus according to Embodiment 2 of the present invention.
  • the embodiment of the present invention provides a Chinese character recognition method, apparatus, and terminal.
  • the preferred embodiments of the present invention are described below in conjunction with the accompanying drawings.
  • the preferred embodiments described herein are to be construed as illustrative only and not limiting. And in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other.
  • An embodiment of the present invention provides a Chinese character recognition method, as shown in FIG. 1 , including:
  • Step 101 The input method system searches for and displays a Chinese character matching the sequence of the structure in the saved Chinese character library according to the received structure sequence, and stores the structural sequence of the Chinese character, the Chinese character, and the correspondence relationship of the pinyin in the Chinese character library.
  • Step 102 Search for the pinyin of the selected Chinese character in the Chinese character library according to the Chinese character selected by the user in the displayed Chinese characters.
  • Step 103 Display the pinyin of the Chinese character.
  • the pinyin includes an initial, a final, and a tone.
  • the structure sequence refers to a combination of strings corresponding to each stroke structure of a Chinese character.
  • the input method system supports structured input methods, such as five strokes, strokes, handwriting, etc., and the input method system can be installed on various terminals, wherein the terminal can be a computer, a tablet computer with a touch screen, and a mobile phone.
  • FIG. 2 is a flowchart of a Chinese character recognition method according to Embodiment 1 of the present invention, which specifically includes the following processing steps:
  • Step 201 The input method system switches to the Chinese character pinyin recognition mode when receiving the switching request of the Chinese character pinyin recognition mode.
  • the input method system can be installed on various terminals.
  • the Chinese character pinyin recognition icon in the input method icon can be selected by the mouse or the like, that is, the user sends the open Chinese character to the input method system.
  • the switching request of the pinyin recognition mode when the input method system receives the switching request, starts the Chinese pinyin recognition mode.
  • Step 202 After the user inputs the Chinese character to be recognized in the current structured input mode displayed, the input method system determines whether the structure sequence is a valid structure sequence according to the received structure sequence, and if not, proceeds to step 203, if yes, Go to step 204.
  • the structure sequence error cannot constitute an effective structure sequence.
  • the user inputs the new words by using the stroke input mode, one of the main functions of the structure is used. If the stroke has no input, then the other strokes cannot be composed of a word structure, or if the current structured input mode is handwritten, that is, the user inputs the word to be recognized using the handwriting input method, because each user writes a Chinese character with a different degree of neatness, If the structure of the handwritten stroke differs greatly from the standard structure, it cannot form a structure of a word.
  • step 203 it is necessary to judge whether the structure sequence of the Chinese character input by the user is valid, and specifically according to the order of the structural elements of the Chinese character input by the user, that is, the strokes. Whether it is determined whether the pre-stored combinable strokes are satisfied, if not, proceed to step 203, and if yes, proceed to step 204 to actually determine whether the character string corresponding to the stroke structure of the Chinese character input by the user is pre-stored. String With, if matching, the configuration of the sequence of characters entered by the user is a valid sequence. If not, indicating that the structural sequence of characters entered by the user is invalid sequence.
  • Step 203 When it is determined that the structure sequence is an invalid structure sequence, prompt information for re-entering the Chinese character is displayed.
  • the prompt information may be displayed through an interaction interface between the terminal and the user, prompting the user to re-enter the Chinese character, and returning to step 202.
  • Step 204 When determining that the structure sequence is a valid structure sequence, according to the received structure sequence, Find the Chinese characters matching the structure sequence in the saved Chinese character library and display them.
  • the Chinese character library is pre-stored in the input method system, and the Chinese character library stores the correspondence between the Chinese character, the Chinese character structure sequence, and the Pinyin. Since the string corresponding to each stroke structure is combined, the combined string may correspond to different Chinese characters. For example, a Chinese character corresponding to a string of strokes "one", “ ⁇ ” and “one” may be "soil” or " Therefore, it is possible to find a plurality of Chinese characters matching the structure in the Chinese character library.
  • Step 205 Arranging the Chinese characters that are searched in the Chinese character library and the Chinese characters input by the user from high to low, and displaying the Chinese characters in the order.
  • the higher the matching degree of the Chinese character indicates that the structure of the Chinese character is similar to the structure of the Chinese character, and the Chinese character with the highest matching degree is ranked in the first position, and is displayed as the default selected word to the user.
  • Pre-set order for example: the default order is “earth”, “senior”, “work”, that is, because “land”, “shi”, “work” and the user input Chinese characters have the same degree of matching And the highest, and it is obvious that the word “go” has a lower matching degree with the words “earth”, “shi” and “work”, and the structure of strokes and "one” and “ ⁇ ” found in the Chinese character library.
  • the order of the "one” matching Chinese characters is “earth”, “senior", “work”, “go”, and is displayed to the user in this order. Among them, the first displayed "earth” as the default selected word.
  • Step 206 Search for the selected pinyin of the Chinese character in the Chinese character library according to the Chinese character selected by the user in the displayed Chinese character and display it.
  • the user when the default selected word displayed is the Chinese character to be recognized by the user, the user can directly determine the default selected word as the Chinese character to be recognized by keyboard, mouse or touch screen touch; when the default is displayed When the selected word is not the Chinese character that the user is to recognize, the user can switch the currently selected word by keyboard, mouse or touch screen touch to determine the Chinese character to be recognized. After the pinyin of the Chinese character selected by the user is found, the pinyin of the Chinese character is displayed, The user can identify the Chinese character through the displayed pinyin.
  • the Chinese character matching the structural sequence of the Chinese character is searched in the Chinese character library, and the pinyin of each of the plurality of Chinese characters may also be searched.
  • the pinyin of the selected Chinese character may be directly obtained, but Since it is only necessary to find the pinyin of the Chinese character to be recognized by the user, in this step, in order to save resources and reduce the time of recognition of the new character, after determining the Chinese character selected by the user, the pinyin of the Chinese character is searched.
  • the homophone of the Chinese character can also be displayed, so that the user who has not systematically learned the pinyin can also recognize the Chinese character through the homophone.
  • Homophones refer to words with the same phonetic but different meanings in modern Chinese. The so-called voices are the same. Generally speaking, the initials and finals are identical, and the tones can be different.
  • the homophones corresponding to the pinyin "pin” include "spelling". "Frequency", "goods”, etc., the tone of these homophones can be different.
  • Step 207 Search for the homophones of the Chinese character selected by the user in the Chinese character library according to the pinyin of the Chinese character.
  • the Chinese character library stores the correspondence between the Chinese character, the structural sequence of the Chinese character, and the pinyin, the homophone of the Chinese character can be reversely checked according to the pinyin of the Chinese character.
  • the tone of the homophone can be different, when the Chinese character is recognized by displaying the homophone of the Chinese character, only the homophone with the same tone as the pinyin of the selected Chinese character can be found in the Chinese character library.
  • Step 208 In the homophones of the Chinese character selected by the user, sort the homophones in descending order according to the used frequency weights corresponding to the acquired homophones.
  • the usage frequency weights of the homophones are preset, and the usage frequency weights of the homophones can be stored in the Chinese character library, and after the homophones of the Chinese characters are found, the frequency of use of the homophones is correspondingly used; The homophone and the frequency of use weights can be separately stored in the buffer of the input method system. When the homophones of the Chinese characters are found, the frequency of use of the homophones is searched in the cache.
  • Step 209 Display a preset number of homophones in the homophones after sorting.
  • the preset quantity can be flexibly set according to actual experience and needs, and the user can identify the Chinese character through the displayed homophone.
  • the selected Chinese characters can be directly recognized by the pinyin displayed in step 206; if the user has not learned the pinyin in the system, the selected Chinese characters can also be identified by the homophones displayed in step 209, since the homophones are used according to the frequency of use.
  • the display is first displayed with the most commonly used and easily recognized Chinese characters, so it is relatively easy for the user to recognize the preset number of homophones with high frequency. However, considering that the user may also not recognize the preset number of homophones displayed, the user may also switch the displayed homophones, and the user may use a mouse, a keyboard, etc. to trigger a switching request for switching the currently displayed homophones.
  • the preset number is one, and the input method system may be processed according to the following step 210; when the preset number is multiple, the input method system may be specifically processed according to the following step 211.
  • Step 210 When receiving the homophone switching request, select, in the homophones sorted according to the frequency of use frequency from the largest to the smallest, the next homophone with the use frequency of the currently displayed homophone is used as the switching. The homophones displayed.
  • Step 211 When receiving the homophone switching request, select a preset number of homophones from the homophones after the homophones that are sequentially displayed according to the homophones that are sorted in descending order of the frequency of use frequency. The word is used as a homophone for switching display.
  • the preset number is 2, and the currently displayed homophone is the first two of the homophones arranged according to the frequency of use frequency, and the third is received when the homophone switching request is received.
  • the third and fourth homophones are displayed in turn for display to the user.
  • the difficulty of Chinese character recognition is further simplified by displaying different homophones.
  • the homophones of the display with the same tones as the pinyin of the selected Chinese characters. Since the tone is included in the pinyin, after the pinyin of the Chinese character selected by the user is found, the tone of the Chinese character can be obtained. According to the tone of the pinyin of the Chinese character, the same tone as the pinyin of the Chinese character can be marked after the displayed homophone character, specifically by the numbers 1, 2, 3, 4 It means four tones, flat, flat, and sound. For example, the word input by the user is “concave”, the tone is Yinping, and the homophone displayed is “Olympic”.
  • the Chinese character selected by the user may be read aloud according to the user's reading request.
  • the user can trigger the sending of the reading request by clicking the reading icon of the display interface, and after receiving the reading request for the Chinese character, the input method system reads the pronunciation according to the pinyin corresponding to the Chinese character.
  • the obtained interpretation of the selected Chinese character may be displayed.
  • the user can trigger the sending of the interpretation display request by clicking the interpretation icon of the display interface, and after receiving the reading request for the Chinese character, the input method system searches the Chinese character library for the interpretation corresponding to the Chinese character and displays the interpretation.
  • the definition of obtaining the Chinese character is not limited to the above-mentioned way of searching in the Chinese character library, and can also display the definition of the Chinese character in the network and display the interpretation in the network environment.
  • the Chinese character recognition method in the embodiment of the present invention is mainly directed to Chinese characters, and other similar language characters can also be identified by using the method in the embodiment of the present invention.
  • the input method is used to search for the pinyin of the Chinese character in the Chinese character library, and the pinyin of the Chinese character is displayed to the user. Since the input method is a commonly used application on various terminals, in a networkless environment. It can also be used underneath. It does not need to install other applications, which makes the Chinese character recognition process simple and improves the recognition speed. Moreover, the homophones of the Chinese characters are also displayed to the user, so that the user who has not learned the pinyin in the system can also recognize the Chinese characters through the homophones, which simplifies the recognition of the Chinese characters and improves the user experience.
  • the Chinese character recognition method according to the above embodiment of the present invention correspondingly, the second embodiment of the present invention further provides a Chinese character recognition device, and the schematic structural diagram thereof is as shown in FIG.
  • a first searching unit 301 configured to search in the saved Chinese character library according to the received structure sequence And displaying a Chinese character matching the sequence of the structure, wherein the Chinese character library stores a structural sequence of Chinese characters, Chinese characters, and a correspondence relationship of pinyin;
  • a second searching unit 302 configured to search for a pinyin of the selected Chinese character in the Chinese character library according to a Chinese character selected by the user in the displayed Chinese character;
  • the first display unit 303 is configured to display the pinyin of the Chinese character.
  • the above device further includes:
  • a third searching unit 304 configured to search for a homophone of the selected Chinese character in the Chinese character library
  • the second display unit 305 is configured to display a preset number of the homophones.
  • the above device further includes:
  • a fourth searching unit 306 configured to search, in the Chinese character library, a homophone with the same tone as the selected pinyin of the Chinese character;
  • the third display unit 307 is configured to display a preset number of the homophones.
  • the second display unit 305 or the third display unit 307 is specifically configured to: in the homophones corresponding to the selected Chinese characters, the homophones according to the frequency of use of the acquired homophones in descending order Sort the words; display the pre-preset number of homophones in the sorted homophones.
  • the above device further includes:
  • the homophone switching unit 308 is configured to: when receiving the homophone switching request, select the homophones that are sorted according to the frequency of use from the largest to the smallest, and select from the homophones after the currently displayed homophones A preset number of homophones is used as a homophone for switching display.
  • the above device further includes:
  • a first marking unit 309 configured to mark, for the displayed homophones, the same tone as the Chinese pinyin according to the selected tone of the pinyin of the Chinese character;
  • the second marking unit 310 is configured to mark the homophone of the homophone in the homophone according to the pitch of the pinyin of the displayed homophone.
  • the above device further includes:
  • the reading unit 311 is configured to, when receiving the reading request for the selected Chinese character, follow the Chinese The pinyin corresponding to the word is read aloud; or
  • the interpretation display unit 312 is configured to display the obtained interpretation of the Chinese character when receiving the interpretation display request for the selected Chinese character.
  • the above device further includes:
  • the pinyin recognition mode switching unit 313 is configured to receive a switching request of the Chinese pinyin recognition mode and switch to the Chinese pinyin recognition mode before searching for the selected pinyin of the Chinese character in the Chinese character library.
  • Embodiment 2 of the present invention further provides a terminal, including:
  • the solution provided by the embodiment of the present invention includes: the input method system searches for a Chinese character matching the sequence of the structure in the saved Chinese character library according to the received structure sequence, and stores the Chinese character and the Chinese character in the Chinese character library.
  • the correspondence between the structure sequence and the pinyin searching for the pinyin of the selected Chinese character in the Chinese character library according to the received Chinese characters selected in the displayed Chinese characters; displaying the pinyin of the Chinese character.
  • the Chinese character recognition device provided by the embodiment of the present application can be implemented by a computer program.
  • Those skilled in the art should be able to understand that the above module division manner is only one of a plurality of module division manners. If the division into other modules or no division modules, as long as the Chinese character recognition device has the above functions, it should be within the scope of protection of the present application. within.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Abstract

Disclosed are a Chinese character recognition method and device, and a terminal. The method comprises: according to a received structure sequence, searching for, by an input method system, Chinese characters matching the structure sequence from a saved Chinese character library and displaying same, wherein a corresponding relationship between the Chinese characters and the structure sequence and Pinyin of the Chinese characters is stored in the Chinese character library; according to a received Chinese character selected from the displayed Chinese characters, searching for the Pinyin of the selected Chinese character in the Chinese character library; and displaying the Pinyin of the Chinese character. By means of the solution provided in the present invention, compared with the prior art, the Chinese character recognition process is simplified, and the recognition speed is increased.

Description

一种汉字识别方法、装置及终端Chinese character recognition method, device and terminal 技术领域Technical field
本发明涉及计算机技术领域,尤其涉及一种汉字识别方法、装置及终端。The present invention relates to the field of computer technologies, and in particular, to a Chinese character recognition method, device and terminal.
背景技术Background technique
不同国家的语言由单个字或者词为基本单位组成,每种语言都包括了大量的字或者词。中国的汉字非常多,在《中国字海》中大约收录了85568个汉字,其中常用汉字大约3500个。由于中国的汉字数量庞大,即使是在常用汉字中,也有一些字是大多数人不认识的汉字。当在社交生活中遇到不认识的汉字即生字时,需要及时获知该汉字的读音或者释义。Languages in different countries consist of a single word or a word as a basic unit, and each language includes a large number of words or words. There are many Chinese characters in China. In the "Chinese Character Sea", about 85,568 Chinese characters are included, of which about 3,500 are commonly used. Due to the large number of Chinese characters in China, even in commonly used Chinese characters, there are some characters that are not recognized by most people. When encountering a Chinese character that is not recognized in social life, it is necessary to know the pronunciation or interpretation of the Chinese character in time.
现有的汉字识别方式主要有以下几种:The existing Chinese character recognition methods mainly include the following:
第一种方式:采用传统的查字典方式,这种方式由于需要在识别汉字时身边带有字典,很不方便,并且人遇到生字具有随机性,可能随时随地会遇到生字,不可能时刻随身携带字典。The first way: using the traditional way of looking up the dictionary, this method is very inconvenient because it needs to be accompanied by a dictionary when recognizing Chinese characters, and people encounter randomness of the new words, they may encounter new words anytime, anywhere, impossible moments Take the dictionary with you.
下面是基于现代的通信终端进行汉字识别的方式。The following is a way to identify Chinese characters based on modern communication terminals.
第二种方式:采用特定的工具,如金山词霸的辅助读音功能,用户通过结构化输入汉字方式(例如五笔、笔画输入方式)输入将要识别的汉字,系统在检测到有汉字输入时,通过将当前汉字与汉字库中的汉字进行匹配,在汉字库中查找到该当前汉字后,对应得到该当前汉字的信息,包括该当前汉字的读音。当用户点击交互界面的朗读图标时,系统按照用户发送的触发朗读事件播放该当前汉字的读音。这种方式需要用户安装特定的工具,在采用特定的工具进行汉字识别时,只使用了朗读一项功能,其他的功能可能是用户不经常使用或者不需要的功能,这样造成资源的浪费。并且,如果用户使用的终端上没有安装特定的工具时,需要在网络环境下下载并安装该特定工具,使得汉字识别具有一定的局限性,导致识别速度下降。The second way: using a specific tool, such as Kingsoft's auxiliary pronunciation function, the user enters the Chinese character to be recognized through the structured input Chinese character method (such as five strokes, stroke input mode), the system will detect when there is Chinese character input, The current Chinese character is matched with the Chinese character in the Chinese character library, and after the current Chinese character is found in the Chinese character library, the information of the current Chinese character is obtained correspondingly, including the pronunciation of the current Chinese character. When the user clicks the reading icon of the interactive interface, the system plays the pronunciation of the current Chinese character according to the triggered reading event sent by the user. This method requires the user to install a specific tool. When using a specific tool for Chinese character recognition, only one function is read aloud. Other functions may be functions that the user does not often use or need, which causes waste of resources. Moreover, if a specific tool is not installed on the terminal used by the user, the specific tool needs to be downloaded and installed in the network environment, so that the recognition of the Chinese character has certain limitations, resulting in a decrease in the recognition speed.
第三种方式:使用网页提供的汉字转拼音的方式,通过特定的网页将检测 到的汉字转化为拼音显示出来。该方式也需要在网络环境下,并且对于没有系统学习过拼音的用户,仍然不知道该汉字如何读,用户体验差。The third way: using the Chinese-speaking to pinyin provided by the webpage, it will be detected through a specific webpage. The Chinese characters that are sent are converted into pinyin. This method also needs to be in the network environment, and for users who have not learned the pinyin system, still do not know how to read the Chinese characters, and the user experience is poor.
发明内容Summary of the invention
本发明实施例提供一种汉字识别方法、装置及终端,用以解决现有技术中存在的对汉字进行识别时过程复杂、识别速度慢的问题。The embodiment of the invention provides a Chinese character recognition method, device and terminal, which are used to solve the problem that the process of identifying Chinese characters existing in the prior art is complicated and the recognition speed is slow.
本发明实施例提供一种汉字识别方法,包括:An embodiment of the present invention provides a Chinese character recognition method, including:
输入法系统根据接收到的结构序列,在保存的汉字库中查找与所述结构序列匹配的多个并显示,所述汉字库中存储汉字、汉字的结构序列、拼音的对应关系;The input method system searches for a plurality of matches in the saved Chinese character library according to the received structure sequence, and displays the structure sequence of the Chinese characters, the Chinese characters, and the correspondence between the pinyin in the Chinese character library;
根据用户在显示的所述汉字中选择的汉字,在所述汉字库中查找选择的所述汉字的拼音;Searching for the selected pinyin of the Chinese character in the Chinese character library according to the Chinese character selected by the user in the displayed Chinese character;
显示所述汉字的拼音。The pinyin of the Chinese character is displayed.
采用本发明实施例提供的方法,使用输入法系统在汉字库中查找汉字的拼音,将该汉字的拼音显示给用户,由于输入法是各种终端上一个常用的应用,在无网络环境下也可以使用,不需要安装其他的应用,使得汉字识别过程简单,提高了识别速度。By using the method provided by the embodiment of the present invention, the input method is used to search for the pinyin of the Chinese character in the Chinese character library, and the pinyin of the Chinese character is displayed to the user. Since the input method is a commonly used application on various terminals, in the no-network environment, It can be used without installing other applications, which makes the Chinese character recognition process simple and improves the recognition speed.
进一步的,上述方法,还包括:Further, the above method further includes:
在所述汉字库中查找选择的所述汉字的同音字;Searching for the homophone of the selected Chinese character in the Chinese character library;
显示预设数量的所述同音字。A preset number of the homophones are displayed.
这样,由于将汉字的同音字也显示给用户,使得对于没有系统学习过拼音的用户也可以通过同音字对该汉字进行识别,简化了汉字识别难度,提高了用户体验。In this way, since the homophones of the Chinese characters are also displayed to the user, the user who has not learned the pinyin in the system can also recognize the Chinese characters through the homophones, which simplifies the recognition of the Chinese characters and improves the user experience.
进一步的,上述方法,还包括:Further, the above method further includes:
在所述汉字库中查找与选择的所述汉字的拼音的声调相同的同音字;Searching in the Chinese character library for the same homophone with the pitch of the selected pinyin of the Chinese character;
显示预设数量的所述同音字。 A preset number of the homophones are displayed.
进一步的,显示预设数量的所述同音字,具体包括:Further, displaying the preset number of the homophones includes:
在选择的所述汉字对应的同音字中,按照获取的各同音字对应的使用频度从大到小的顺序对所述同音字进行排序;In the homophones corresponding to the selected Chinese characters, the homophones are sorted according to the frequency of use of the acquired homophones in descending order;
显示排序后的同音字中前预设数量的同音字。Displays the first preset number of homophones in the sorted homophone.
这样,由于使用频度越大表示越常使用,通过显示使用频度从大到小的前预设数量的同音字,可以使得用户更加容易识别该汉字。In this way, since the more frequently used, the more frequently used, by displaying the pre-preset number of homophones with a frequency of use from large to small, the user can be more easily recognized by the user.
进一步的,上述方法,还包括:Further, the above method further includes:
当接收到同音字切换请求时,在按照使用频度从大到小的顺序排序的所述同音字中,从当前显示的同音字之后的同音字开始,依次选择预设数量的同音字作为切换显示的同音字。When receiving the homophone switching request, in the homophones sorted according to the order of frequency of use, starting from the homophone after the currently displayed homophone, the preset number of homophones are sequentially selected as the switching. The homophones displayed.
这样,通过显示不同的同音字,进一步简化了汉字识别难度。In this way, the difficulty of Chinese character recognition is further simplified by displaying different homophones.
进一步的,上述方法,还包括:Further, the above method further includes:
根据选择的所述汉字的拼音的声调,为显示的同音字标记与该汉字拼音相同的声调;或者According to the selected tone of the pinyin of the Chinese character, the homophone of the display is marked with the same tone as the pinyin of the Chinese character; or
根据显示的同音字的拼音的声调,为显示的同音字标记该同音字的声调。The tone of the homophone is marked for the displayed homophone according to the pitch of the pinyin of the displayed homophone.
进一步的,上述方法,还包括:Further, the above method further includes:
当接收到对选择的所述汉字的朗读请求时,按照该汉字对应的拼音进行朗读;或者When receiving a reading request for the selected Chinese character, reading is performed according to the pinyin corresponding to the Chinese character; or
当接收到对选择的所述汉字的释义显示请求时,将获取的该汉字的释义进行显示。When the interpretation display request for the selected Chinese character is received, the obtained interpretation of the Chinese character is displayed.
进一步的,在所述汉字库中查找选择的所述汉字的拼音之前,还包括:Further, before searching for the pinyin of the selected Chinese character in the Chinese character library, the method further includes:
接收汉字拼音识别模式的切换请求并切换到汉字拼音识别模式。The switching request of the Chinese character pinyin recognition mode is received and switched to the Chinese character pinyin recognition mode.
本发明实施例还提供了一种汉字识别装置,包括:The embodiment of the invention further provides a Chinese character recognition device, comprising:
第一查找单元,用于根据接收到的结构序列,在保存的汉字库中查找与所述结构序列匹配的汉字并显示,所述汉字库中存储汉字、汉字的结构序列、拼音的对应关系; a first searching unit, configured to search for and display a Chinese character matching the sequence of the structure in the saved Chinese character library according to the received structure sequence, where the Chinese character library stores a structural sequence of Chinese characters, Chinese characters, and a correspondence relationship of Pinyin;
第二查找单元,用于根据用户在显示的所述汉字中选择的汉字,在所述汉字库中查找选择的所述汉字的拼音;a second searching unit, configured to search for a pinyin of the selected Chinese character in the Chinese character library according to a Chinese character selected by the user in the displayed Chinese character;
第一显示单元,用于显示所述汉字的拼音。The first display unit is configured to display the pinyin of the Chinese character.
采用本发明实施例提供的装置,使用输入法系统在汉字库中查找汉字的拼音,将该汉字的拼音显示给用户,由于输入法是各种终端上一个常用的应用,在无网络环境下也可以使用,不需要安装其他的应用,使得汉字识别过程简单,提高了识别速度。The device provided by the embodiment of the invention uses the input method system to find the pinyin of the Chinese character in the Chinese character library, and displays the pinyin of the Chinese character to the user. Since the input method is a commonly used application on various terminals, in the no-network environment, It can be used without installing other applications, which makes the Chinese character recognition process simple and improves the recognition speed.
进一步的,上述装置,还包括:Further, the above device further includes:
第三查找单元,用于在所述汉字库中查找选择的所述汉字的同音字;a third searching unit, configured to search for a homophone of the selected Chinese character in the Chinese character library;
第二显示单元,用于显示预设数量的所述同音字。a second display unit, configured to display a preset number of the homophones.
这样,由于将汉字的同音字也显示给用户,使得对于没有系统学习过拼音的用户也可以通过同音字对该汉字进行识别,简化了汉字识别难度,提高了用户体验。In this way, since the homophones of the Chinese characters are also displayed to the user, the user who has not learned the pinyin in the system can also recognize the Chinese characters through the homophones, which simplifies the recognition of the Chinese characters and improves the user experience.
进一步的,上述装置,还包括:Further, the above device further includes:
第四查找单元,用于在所述汉字库中查找与选择的所述汉字的拼音的声调相同的同音字;a fourth searching unit, configured to search, in the Chinese character library, a homophone with the same tone as the selected pinyin of the Chinese character;
第三显示单元,用于显示预设数量的所述同音字。a third display unit, configured to display a preset number of the homophones.
进一步的,所述第二显示单元或第三显示单元,具体用于在选择的所述汉字对应的同音字中,按照获取的各同音字对应的使用频度从大到小的顺序对所述同音字进行排序;显示排序后的同音字中前预设数量的同音字。Further, the second display unit or the third display unit is specifically configured to: in the homophones corresponding to the selected Chinese characters, according to the frequency of use of the acquired homophones in descending order Sort the homophones; display the pre-preset number of homophones in the homophones after sorting.
这样,由于使用频度越大表示越常使用,通过显示使用频度从大到小的前预设数量的同音字,可以使得用户更加容易识别该汉字。In this way, since the more frequently used, the more frequently used, by displaying the pre-preset number of homophones with a frequency of use from large to small, the user can be more easily recognized by the user.
进一步的,上述装置,还包括:Further, the above device further includes:
同音字切换单元,用于当接收到同音字切换请求时,在按照使用频度从大到小的顺序排序的所述同音字中,从当前显示的同音字之后的同音字开始,依次选择预设数量的同音字作为切换显示的同音字。 a homophone switching unit, configured to: when receiving a homophone switching request, in the homophones sorted according to the order of frequency of use, starting from the homophones after the currently displayed homophones, sequentially selecting Set the number of homophones as the homophones for switching display.
这样,通过显示不同的同音字,进一步简化了汉字识别难度。In this way, the difficulty of Chinese character recognition is further simplified by displaying different homophones.
进一步的,上述装置,还包括:Further, the above device further includes:
第一标记单元,用于根据选择的所述汉字的拼音的声调,为显示的同音字标记与该汉字拼音相同的声调;或者a first marking unit, configured to mark, for the displayed homophones, the same tone as the Chinese pinyin according to the selected pitch of the Chinese characters; or
第二标记单元,用于根据显示的同音字的拼音的声调,为显示的同音字标记该同音字的声调。And a second marking unit, configured to mark the homophone of the homophone according to the tone of the pinyin of the displayed homophone.
进一步的,上述装置,还包括:Further, the above device further includes:
朗读单元,用于当接收到对选择的所述汉字的朗读请求时,按照该汉字对应的拼音进行朗读;或者a reading unit configured to read aloud according to the pinyin corresponding to the Chinese character when receiving the reading request for the selected Chinese character; or
释义显示单元,用于当接收到对选择的所述汉字的释义显示请求时,将获取的该汉字的释义进行显示。The interpretation display unit is configured to display the obtained interpretation of the Chinese character when receiving the interpretation display request for the selected Chinese character.
进一步的,上述装置,还包括:Further, the above device further includes:
拼音识别模式切换单元,用于在所述汉字库中查找选择的所述汉字的拼音之前,接收汉字拼音识别模式的切换请求并切换到汉字拼音识别模式。The pinyin recognition mode switching unit is configured to receive a switching request of the Chinese pinyin recognition mode and switch to the Chinese pinyin recognition mode before searching for the selected pinyin of the Chinese character in the Chinese character library.
本发明实施例还提供了一种终端,包括:The embodiment of the invention further provides a terminal, including:
如上述汉字识别装置。Such as the above Chinese character recognition device.
采用本发明实施例提供的终端,由于输入法是各种终端上一个常用的应用,在无网络环境下也可以使用,不需要安装其他的应用,使得汉字识别过程简单,提高了识别速度。The terminal provided by the embodiment of the present invention can be used in a non-network environment because the input method is a commonly used application on various terminals, and does not need to install other applications, so that the Chinese character recognition process is simple and the recognition speed is improved.
本申请的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本申请而了解。本申请的目的和其他优点可通过在所写的说明书、权利要求书、以及附图中所特别指出的结构来实现和获得。Other features and advantages of the present application will be set forth in the description which follows. The objectives and other advantages of the present invention can be realized and obtained by the structure of the invention.
附图说明DRAWINGS
附图用来提供对本发明的进一步理解,并且构成说明书的一部分,与本发 明实施例一起用于解释本发明,并不构成对本发明的限制。在附图中:The accompanying drawings are included to provide a further understanding of the invention The examples are intended to be illustrative of the invention and are not to be construed as limiting. In the drawing:
图1为本发明实施例提供的汉字识别方法的流程图;FIG. 1 is a flowchart of a Chinese character recognition method according to an embodiment of the present invention;
图2为本发明实施例1提供的汉字识别方法的流程图;2 is a flowchart of a Chinese character recognition method according to Embodiment 1 of the present invention;
图3为本发明实施例2提供的汉字识别装置的结构示意图。FIG. 3 is a schematic structural diagram of a Chinese character recognition apparatus according to Embodiment 2 of the present invention.
具体实施方式detailed description
为了给出使得汉字识别过程简单、提高识别速度以及提高用户体验的实现方案,本发明实施例提供了一种汉字识别方法、装置及终端,以下结合说明书附图对本发明的优选实施例进行说明,应当理解,此处所描述的优选实施例仅用于说明和解释本发明,并不用于限定本发明。并且在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。In order to provide an implementation scheme for simplifying the Chinese character recognition process, improving the recognition speed, and improving the user experience, the embodiment of the present invention provides a Chinese character recognition method, apparatus, and terminal. The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings. The preferred embodiments described herein are to be construed as illustrative only and not limiting. And in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other.
本发明实施例提供一种汉字识别方法,如图1所示,包括:An embodiment of the present invention provides a Chinese character recognition method, as shown in FIG. 1 , including:
步骤101、输入法系统根据接收到的结构序列,在保存的汉字库中查找与该结构序列匹配的汉字并显示,该汉字库中存储汉字、汉字的结构序列、拼音的对应关系。Step 101: The input method system searches for and displays a Chinese character matching the sequence of the structure in the saved Chinese character library according to the received structure sequence, and stores the structural sequence of the Chinese character, the Chinese character, and the correspondence relationship of the pinyin in the Chinese character library.
步骤102、根据用户在显示的汉字中选择的汉字,在该汉字库中查找选择的汉字的拼音。Step 102: Search for the pinyin of the selected Chinese character in the Chinese character library according to the Chinese character selected by the user in the displayed Chinese characters.
步骤103、显示该汉字的拼音。Step 103: Display the pinyin of the Chinese character.
本发明实施例中,拼音,包括声母、韵母以及声调。结构序列是指一个汉字的每一个笔画结构对应的字符串的组合。输入法系统支持结构化输入方式,例如五笔、笔画、手写等输入方式,并且输入法系统可以安装在各种终端上,其中,该终端可以为电脑,以及带触摸屏的平板电脑和手机等。In the embodiment of the present invention, the pinyin includes an initial, a final, and a tone. The structure sequence refers to a combination of strings corresponding to each stroke structure of a Chinese character. The input method system supports structured input methods, such as five strokes, strokes, handwriting, etc., and the input method system can be installed on various terminals, wherein the terminal can be a computer, a tablet computer with a touch screen, and a mobile phone.
下面结合附图,用具体实施例对本发明提供的方法及装置进行详细描述。The method and apparatus provided by the present invention will be described in detail below with reference to the accompanying drawings.
实施例1:Example 1:
图2为本发明实施例1提供的汉字识别方法的流程图,具体包括如下处理步骤: 2 is a flowchart of a Chinese character recognition method according to Embodiment 1 of the present invention, which specifically includes the following processing steps:
步骤201、输入法系统当接收到汉字拼音识别模式的切换请求时,切换到汉字拼音识别模式。Step 201: The input method system switches to the Chinese character pinyin recognition mode when receiving the switching request of the Chinese character pinyin recognition mode.
本步骤中,该输入法系统可以安装在各种终端上,用户在打开输入法时,可以通过鼠标等方式选择输入法图标中的汉字拼音识别图标,即相当于用户向输入法系统发送开启汉字拼音识别模式的切换请求,当输入法系统接收到该切换请求时,启动汉字拼音识别模式。In this step, the input method system can be installed on various terminals. When the user inputs the input method, the Chinese character pinyin recognition icon in the input method icon can be selected by the mouse or the like, that is, the user sends the open Chinese character to the input method system. The switching request of the pinyin recognition mode, when the input method system receives the switching request, starts the Chinese pinyin recognition mode.
步骤202、在用户在显示的当前结构化输入模式下输入将要识别的汉字之后,输入法系统根据接收到的结构序列,确定该结构序列是否为有效结构序列,如果否,进入步骤203,如果是,进入步骤204。Step 202: After the user inputs the Chinese character to be recognized in the current structured input mode displayed, the input method system determines whether the structure sequence is a valid structure sequence according to the received structure sequence, and if not, proceeds to step 203, if yes, Go to step 204.
本步骤中,由于用户当前结构化输入模式下按照结构输入生字,可能会存在结构序列错误不能组成有效结构序列的情况,例如,用户使用笔画输入方式输入生字时,其中对结构其主要作用的一个笔画没有输入,那么其他的笔画不能组成的一个字的结构,或者若当前结构化输入模式为手写方式,即用户使用手写输入法输入将要识别的生字,由于每个用户书写汉字的工整程度不同,手写的笔画结构如果与标准结构相差较多,也不能组成一个字的结构,因此需要判断用户输入的汉字的结构序列是否有效,具体可以按照用户输入的汉字的结构要素即笔画之间的先后顺序是否满足预先存储的可组合的笔画的先后顺序进行判断,如果不满足,进入步骤203,如果满足,进入步骤204,实际上就是判断用户输入的汉字的笔画结构对应的字符串是否与预先存储的字符串匹配,如果匹配,说明用户输入的汉字的结构序列是有效序列,如果不匹配,说明用户输入的汉字的该结构序列是无效序列。In this step, since the user inputs the new words according to the structure in the current structured input mode, there may be a case where the structure sequence error cannot constitute an effective structure sequence. For example, when the user inputs the new words by using the stroke input mode, one of the main functions of the structure is used. If the stroke has no input, then the other strokes cannot be composed of a word structure, or if the current structured input mode is handwritten, that is, the user inputs the word to be recognized using the handwriting input method, because each user writes a Chinese character with a different degree of neatness, If the structure of the handwritten stroke differs greatly from the standard structure, it cannot form a structure of a word. Therefore, it is necessary to judge whether the structure sequence of the Chinese character input by the user is valid, and specifically according to the order of the structural elements of the Chinese character input by the user, that is, the strokes. Whether it is determined whether the pre-stored combinable strokes are satisfied, if not, proceed to step 203, and if yes, proceed to step 204 to actually determine whether the character string corresponding to the stroke structure of the Chinese character input by the user is pre-stored. String With, if matching, the configuration of the sequence of characters entered by the user is a valid sequence. If not, indicating that the structural sequence of characters entered by the user is invalid sequence.
步骤203、当确定该结构序列为无效结构序列时,显示重新输入汉字的提示信息。Step 203: When it is determined that the structure sequence is an invalid structure sequence, prompt information for re-entering the Chinese character is displayed.
具体的,可以通过终端与用户之间的交互界面显示该提示信息,提示用户重新输入汉字,并返回步骤202。Specifically, the prompt information may be displayed through an interaction interface between the terminal and the user, prompting the user to re-enter the Chinese character, and returning to step 202.
步骤204、当确定该结构序列为有效结构序列时,根据接收到的结构序列, 在保存的汉字库中查找与该结构序列匹配的汉字并显示。Step 204: When determining that the structure sequence is a valid structure sequence, according to the received structure sequence, Find the Chinese characters matching the structure sequence in the saved Chinese character library and display them.
其中,该汉字库预先保存在输入法系统中,并且该汉字库中存储汉字、汉字的结构序列、拼音的对应关系。由于每一个笔画结构对应的字符串组合后,组合后的字符串可能会对应不同的汉字,例如,笔画“一”“丨”“一”组合的字符串对应的汉字可能为“土”或者“士”,因此可能在汉字库中查找到与该结构匹配的多个汉字。The Chinese character library is pre-stored in the input method system, and the Chinese character library stores the correspondence between the Chinese character, the Chinese character structure sequence, and the Pinyin. Since the string corresponding to each stroke structure is combined, the combined string may correspond to different Chinese characters. For example, a Chinese character corresponding to a string of strokes "one", "丨" and "one" may be "soil" or " Therefore, it is possible to find a plurality of Chinese characters matching the structure in the Chinese character library.
步骤205、按照在汉字库中查找的汉字与该用户输入的汉字的匹配度从高到低的顺序进行排列,并按照该顺序对汉字进行显示。Step 205: Arranging the Chinese characters that are searched in the Chinese character library and the Chinese characters input by the user from high to low, and displaying the Chinese characters in the order.
本步骤中,汉字的匹配度越高说明该汉字的结构与该生字的结构越相似,将匹配度最高的汉字排在第一个位置,作为默认的选中字显示给用户。以笔画“一”“丨”“一”为例,匹配出汉字“土”、“士”、“工”、“去”等汉字,对于“土”、“士”、“工”三个字,笔画结构和“一”“丨”“一”完全匹配,因此这三个字在显示时的先后顺序可以按照默认的顺序进行显示,该默认的顺序是针对笔画结构对应的字符串相同的汉字预先设置的排列顺序,例如:该默认的顺序为“土”、“士”、“工”,也就是说,由于“土”、“士”、“工”与用户输入的汉字的匹配度相同且最高,而很明显,“去”字与“土”、“士”、“工”三个字相比匹配度较低,对在汉字库中查找的与笔画结构和“一”“丨”“一”匹配的汉字的顺序为“土”、“士”、“工”、“去”,并按照该顺序显示给用户。其中,第一个显示的“土”作为默认的选中字。In this step, the higher the matching degree of the Chinese character indicates that the structure of the Chinese character is similar to the structure of the Chinese character, and the Chinese character with the highest matching degree is ranked in the first position, and is displayed as the default selected word to the user. Take the strokes "一", "丨" and "一" as examples, and match the Chinese characters "土", "士", "工", "去" and other Chinese characters, for the words "土", "士", "工" The stroke structure is exactly matched with "one", "丨" and "one", so the order of the three words can be displayed in the default order. The default order is the same Chinese character for the stroke structure. Pre-set order, for example: the default order is "earth", "senior", "work", that is, because "land", "shi", "work" and the user input Chinese characters have the same degree of matching And the highest, and it is obvious that the word "go" has a lower matching degree with the words "earth", "shi" and "work", and the structure of strokes and "one" and "丨" found in the Chinese character library. The order of the "one" matching Chinese characters is "earth", "senior", "work", "go", and is displayed to the user in this order. Among them, the first displayed "earth" as the default selected word.
步骤206、根据用户在显示的汉字中选择的汉字,在该汉字库中查找选择的该汉字的拼音并显示。Step 206: Search for the selected pinyin of the Chinese character in the Chinese character library according to the Chinese character selected by the user in the displayed Chinese character and display it.
本步骤中,当显示的默认的选中字为用户将要进行识别的汉字时,该用户可以通过键盘、鼠标或触摸屏触摸等方式直接确定默认的选中字为将要进行识别的汉字;当显示的默认的选中字不是该用户将要进行识别的汉字时,该用户可以通过键盘、鼠标或触摸屏触摸等方式切换当前的选中字,确定将要进行识别的汉字。在将查找到的用户选择的该汉字的拼音后,显示该汉字的拼音,用 户可以通过显示的拼音,对该汉字进行识别。In this step, when the default selected word displayed is the Chinese character to be recognized by the user, the user can directly determine the default selected word as the Chinese character to be recognized by keyboard, mouse or touch screen touch; when the default is displayed When the selected word is not the Chinese character that the user is to recognize, the user can switch the currently selected word by keyboard, mouse or touch screen touch to determine the Chinese character to be recognized. After the pinyin of the Chinese character selected by the user is found, the pinyin of the Chinese character is displayed, The user can identify the Chinese character through the displayed pinyin.
步骤204中在汉字库中查找与该汉字的结构序列匹配的汉字的同时,也可以查找多个汉字各自的拼音,当步骤206确定选择的汉字后,可直接获得该选择的汉字的拼音,但由于只需要查找到用户输入的将要识别的汉字的拼音即可,因此本步骤中为了节省资源,减少生字识别时间,在确定用户选择的汉字以后,再查找该汉字的拼音。In the step 204, the Chinese character matching the structural sequence of the Chinese character is searched in the Chinese character library, and the pinyin of each of the plurality of Chinese characters may also be searched. When the selected Chinese character is determined in step 206, the pinyin of the selected Chinese character may be directly obtained, but Since it is only necessary to find the pinyin of the Chinese character to be recognized by the user, in this step, in order to save resources and reduce the time of recognition of the new character, after determining the Chinese character selected by the user, the pinyin of the Chinese character is searched.
进一步的,为了使得用户识别汉字更加容易,还可以显示该汉字的同音字,使得对于没有系统学习过拼音的用户也可以通过同音字对汉字进行识别。同音字是指现代汉语里语音相同但字形、意义不同的字,所谓语音相同,一般是指声母和韵母完全相同,声调可以不同,例如,与拼音“pin”对应的同音字包括“拼”、“频”、“品”等,这些同音字的声调可以不同。Further, in order to make the user recognize the Chinese character more easily, the homophone of the Chinese character can also be displayed, so that the user who has not systematically learned the pinyin can also recognize the Chinese character through the homophone. Homophones refer to words with the same phonetic but different meanings in modern Chinese. The so-called voices are the same. Generally speaking, the initials and finals are identical, and the tones can be different. For example, the homophones corresponding to the pinyin "pin" include "spelling". "Frequency", "goods", etc., the tone of these homophones can be different.
步骤207、根据该汉字的拼音,在该汉字库中查找用户选择的该汉字的同音字。Step 207: Search for the homophones of the Chinese character selected by the user in the Chinese character library according to the pinyin of the Chinese character.
由于该汉字库中存储了汉字、汉字的结构序列、拼音的对应关系,因此可以根据该汉字的拼音反查该汉字的同音字。Since the Chinese character library stores the correspondence between the Chinese character, the structural sequence of the Chinese character, and the pinyin, the homophone of the Chinese character can be reversely checked according to the pinyin of the Chinese character.
进一步的,由于同音字的声调可以不同,因此通过显示汉字的同音字对汉字进行识别时,还可以在该汉字库中只查找与选择的汉字的拼音的声调相同的同音字。Further, since the tone of the homophone can be different, when the Chinese character is recognized by displaying the homophone of the Chinese character, only the homophone with the same tone as the pinyin of the selected Chinese character can be found in the Chinese character library.
步骤208、在用户选择的该汉字的同音字中,按照获取的各同音字对应的使用频度权重从大到小的顺序对同音字进行排序。Step 208: In the homophones of the Chinese character selected by the user, sort the homophones in descending order according to the used frequency weights corresponding to the acquired homophones.
其中,该使用频度权重越大,该使用频度权重对应的同音字越常用,同音字越常用,用户进行识别时越容易。并且,同音字各自的使用频度权重是预先设置的,可以将同音字的使用频度权重对应保存在汉字库中,查找到汉字的同音字后,对应得到同音字的使用频度权重;也可以将同音字和使用频度权重单独保存在输入法系统的缓存中,当查找到汉字的同音字后,在该缓存中查找各同音字的使用频度权重。 The greater the usage frequency weight, the more common the homophones corresponding to the frequency of use frequency, the more common the homophones are, the easier it is for the user to identify. Moreover, the usage frequency weights of the homophones are preset, and the usage frequency weights of the homophones can be stored in the Chinese character library, and after the homophones of the Chinese characters are found, the frequency of use of the homophones is correspondingly used; The homophone and the frequency of use weights can be separately stored in the buffer of the input method system. When the homophones of the Chinese characters are found, the frequency of use of the homophones is searched in the cache.
步骤209、显示排序后的同音字中前预设数量的同音字。Step 209: Display a preset number of homophones in the homophones after sorting.
其中,该预设数量可以根据实际经验和需要进行灵活设置,用户可以通过显示的同音字对汉字进行识别。The preset quantity can be flexibly set according to actual experience and needs, and the user can identify the Chinese character through the displayed homophone.
如果用户系统学习过拼音,则可以直接通过步骤206显示的拼音识别选择的汉字;如果用户没有系统学习过拼音,也可以通过步骤209显示的同音字识别选择的汉字,由于同音字是按照使用频度进行显示,首先显示的是最常用即容易识别的汉字,因此对于使用频度高的预设数量的同音字,用户在进行识别时相对更加容易。但考虑到用户也可能对于显示的预设数量的同音字也不认识的情况,还可以切换显示的同音字,用户可以通过鼠标、键盘等进行操作触发切换当前显示的同音字的切换请求,当预设数量为一个,输入法系统具体可以按照如下步骤210进行处理;当预设数量为多个,输入法系统具体可以按照如下步骤211进行处理。If the user system has learned the pinyin, the selected Chinese characters can be directly recognized by the pinyin displayed in step 206; if the user has not learned the pinyin in the system, the selected Chinese characters can also be identified by the homophones displayed in step 209, since the homophones are used according to the frequency of use. The display is first displayed with the most commonly used and easily recognized Chinese characters, so it is relatively easy for the user to recognize the preset number of homophones with high frequency. However, considering that the user may also not recognize the preset number of homophones displayed, the user may also switch the displayed homophones, and the user may use a mouse, a keyboard, etc. to trigger a switching request for switching the currently displayed homophones. The preset number is one, and the input method system may be processed according to the following step 210; when the preset number is multiple, the input method system may be specifically processed according to the following step 211.
步骤210、当接收到同音字切换请求时,在按照使用频度权重从大到小的顺序排序的同音字中,选择比当前显示的同音字的使用频度权重小的下一个同音字作为切换显示的同音字。Step 210: When receiving the homophone switching request, select, in the homophones sorted according to the frequency of use frequency from the largest to the smallest, the next homophone with the use frequency of the currently displayed homophone is used as the switching. The homophones displayed.
步骤211、当接收到同音字切换请求时,在按照使用频度权重从大到小的顺序排序的同音字中,从比当前显示的同音字之后的同音字开始,依次选择预设数量的同音字作为切换显示的同音字。Step 211: When receiving the homophone switching request, select a preset number of homophones from the homophones after the homophones that are sequentially displayed according to the homophones that are sorted in descending order of the frequency of use frequency. The word is used as a homophone for switching display.
本步骤中,以预设数量为2为例,当前显示的同音字为按照使用频度权重从大到小排列的同音字的前2个,当接收到同音字切换请求时,从第3个同音字开始,依次选择第3个、第4个同音字显示给用户。通过显示不同的同音字,进一步简化了汉字识别难度。In this step, the preset number is 2, and the currently displayed homophone is the first two of the homophones arranged according to the frequency of use frequency, and the third is received when the homophone switching request is received. At the beginning of the homophone, the third and fourth homophones are displayed in turn for display to the user. The difficulty of Chinese character recognition is further simplified by displaying different homophones.
进一步的,为了能够更加准确的识别汉字,还可以为显示的同音字标记与选择的汉字的拼音相同的声调。由于拼音中包括声调,在查找到用户选择的汉字的拼音后,可以得到该汉字的声调。根据该汉字的拼音的声调,可以在显示的当前同音字后标记与该汉字拼音相同的声调,具体可以通过数字1、2、3、4 表示四个声调阴平、阳平、上声、去声,例如:用户输入的生字为“凹”,声调为阴平,显示的同音字为“奥”,可以在奥字后边加数字1,即显示“奥1”,用来表示“凹”的读音。还可以在查找到同音字后,根据同音字的拼音的声调,在显示同音字时,为同音字标记该同音字的声调。Further, in order to be able to recognize Chinese characters more accurately, it is also possible to mark the homophones of the display with the same tones as the pinyin of the selected Chinese characters. Since the tone is included in the pinyin, after the pinyin of the Chinese character selected by the user is found, the tone of the Chinese character can be obtained. According to the tone of the pinyin of the Chinese character, the same tone as the pinyin of the Chinese character can be marked after the displayed homophone character, specifically by the numbers 1, 2, 3, 4 It means four tones, flat, flat, and sound. For example, the word input by the user is “concave”, the tone is Yinping, and the homophone displayed is “Olympic”. You can add the number 1 after the character, that is, “Show” Ao 1" is used to indicate the pronunciation of "concave". After the homophone is found, according to the pitch of the pinyin of the homophone, when the homophone is displayed, the homophone is marked for the homophone.
进一步的,还可以根据用户的朗读请求,对用户选择的汉字进行朗读。具体的,用户可以通过点击显示界面的朗读图标,触发发送朗读请求,输入法系统在接收到对该汉字的朗读请求之后,按照该汉字对应的拼音进行朗读。Further, the Chinese character selected by the user may be read aloud according to the user's reading request. Specifically, the user can trigger the sending of the reading request by clicking the reading icon of the display interface, and after receiving the reading request for the Chinese character, the input method system reads the pronunciation according to the pinyin corresponding to the Chinese character.
进一步的,还可以根据用户的释义显示请求,将获取的用户选择的汉字的释义进行显示。具体的,用户可以通过点击显示界面的释义图标,触发发送释义显示请求,输入法系统在接收到对该汉字的朗读请求之后,在该汉字库中查找该汉字对应的释义并显示该释义。获取该汉字的释义并不限于上述在汉字库中查找的方式,也可以通过在网络环境下,通过在网络中查找该汉字的释义并显示该释义。Further, according to the user's interpretation display request, the obtained interpretation of the selected Chinese character may be displayed. Specifically, the user can trigger the sending of the interpretation display request by clicking the interpretation icon of the display interface, and after receiving the reading request for the Chinese character, the input method system searches the Chinese character library for the interpretation corresponding to the Chinese character and displays the interpretation. The definition of obtaining the Chinese character is not limited to the above-mentioned way of searching in the Chinese character library, and can also display the definition of the Chinese character in the network and display the interpretation in the network environment.
本发明实施例中的汉字识别方法主要是针对汉字,对于其他类似的语种文字也可以采用与本发明实施例中的方法进行识别。The Chinese character recognition method in the embodiment of the present invention is mainly directed to Chinese characters, and other similar language characters can also be identified by using the method in the embodiment of the present invention.
通过本发明上述实施例1提供的方法,使用输入法系统在汉字库中查找汉字的拼音,将该汉字的拼音显示给用户,由于输入法是各种终端上一个常用的应用,在无网络环境下也可以使用,不需要安装其他的应用,使得汉字识别过程简单,提高了识别速度。并且,将汉字的同音字也显示给用户,使得对于没有系统学习过拼音的用户也可以通过同音字对该汉字进行识别,简化了汉字识别难度,提高了用户体验。Through the method provided by the above-mentioned Embodiment 1 of the present invention, the input method is used to search for the pinyin of the Chinese character in the Chinese character library, and the pinyin of the Chinese character is displayed to the user. Since the input method is a commonly used application on various terminals, in a networkless environment. It can also be used underneath. It does not need to install other applications, which makes the Chinese character recognition process simple and improves the recognition speed. Moreover, the homophones of the Chinese characters are also displayed to the user, so that the user who has not learned the pinyin in the system can also recognize the Chinese characters through the homophones, which simplifies the recognition of the Chinese characters and improves the user experience.
实施例2:Example 2:
基于同一发明构思,根据本发明上述实施例提供的汉字识别方法,相应地,本发明实施例2还提供了一种汉字识别装置,其结构示意图如图3所示,具体包括:Based on the same inventive concept, the Chinese character recognition method according to the above embodiment of the present invention, correspondingly, the second embodiment of the present invention further provides a Chinese character recognition device, and the schematic structural diagram thereof is as shown in FIG.
第一查找单元301,用于根据接收到的结构序列,在保存的汉字库中查找 与所述结构序列匹配的汉字并显示,所述汉字库中存储汉字、汉字的结构序列、拼音的对应关系;a first searching unit 301, configured to search in the saved Chinese character library according to the received structure sequence And displaying a Chinese character matching the sequence of the structure, wherein the Chinese character library stores a structural sequence of Chinese characters, Chinese characters, and a correspondence relationship of pinyin;
第二查找单元302,用于根据用户在显示的所述汉字中选择的汉字,在所述汉字库中查找选择的所述汉字的拼音;a second searching unit 302, configured to search for a pinyin of the selected Chinese character in the Chinese character library according to a Chinese character selected by the user in the displayed Chinese character;
第一显示单元303,用于显示所述汉字的拼音。The first display unit 303 is configured to display the pinyin of the Chinese character.
进一步的,上述装置,还包括:Further, the above device further includes:
第三查找单元304,用于在所述汉字库中查找选择的所述汉字的同音字;a third searching unit 304, configured to search for a homophone of the selected Chinese character in the Chinese character library;
第二显示单元305,用于显示预设数量的所述同音字。The second display unit 305 is configured to display a preset number of the homophones.
进一步的,上述装置,还包括:Further, the above device further includes:
第四查找单元306,用于在所述汉字库中查找与选择的所述汉字的拼音的声调相同的同音字;a fourth searching unit 306, configured to search, in the Chinese character library, a homophone with the same tone as the selected pinyin of the Chinese character;
第三显示单元307,用于显示预设数量的所述同音字。The third display unit 307 is configured to display a preset number of the homophones.
所述第二显示单元305或第三显示单元307,具体用于在选择的所述汉字对应的同音字中,按照获取的各同音字对应的使用频度从大到小的顺序对所述同音字进行排序;显示排序后的同音字中前预设数量的同音字。The second display unit 305 or the third display unit 307 is specifically configured to: in the homophones corresponding to the selected Chinese characters, the homophones according to the frequency of use of the acquired homophones in descending order Sort the words; display the pre-preset number of homophones in the sorted homophones.
进一步的,上述装置,还包括:Further, the above device further includes:
同音字切换单元308,用于当接收到同音字切换请求时,在按照使用频度从大到小的顺序排序的所述同音字中,从当前显示的同音字之后的同音字开始,依次选择预设数量的同音字作为切换显示的同音字。The homophone switching unit 308 is configured to: when receiving the homophone switching request, select the homophones that are sorted according to the frequency of use from the largest to the smallest, and select from the homophones after the currently displayed homophones A preset number of homophones is used as a homophone for switching display.
进一步的,上述装置,还包括:Further, the above device further includes:
第一标记单元309,用于根据选择的所述汉字的拼音的声调,为显示的同音字标记与该汉字拼音相同的声调;或者a first marking unit 309, configured to mark, for the displayed homophones, the same tone as the Chinese pinyin according to the selected tone of the pinyin of the Chinese character; or
第二标记单元310,用于根据显示的同音字的拼音的声调,为显示的同音字标记该同音字的声调。The second marking unit 310 is configured to mark the homophone of the homophone in the homophone according to the pitch of the pinyin of the displayed homophone.
进一步的,上述装置,还包括:Further, the above device further includes:
朗读单元311,用于当接收到对选择的所述汉字的朗读请求时,按照该汉 字对应的拼音进行朗读;或者The reading unit 311 is configured to, when receiving the reading request for the selected Chinese character, follow the Chinese The pinyin corresponding to the word is read aloud; or
释义显示单元312,用于当接收到对选择的所述汉字的释义显示请求时,将获取的该汉字的释义进行显示。The interpretation display unit 312 is configured to display the obtained interpretation of the Chinese character when receiving the interpretation display request for the selected Chinese character.
进一步的,上述装置,还包括:Further, the above device further includes:
拼音识别模式切换单元313,用于在所述汉字库中查找选择的所述汉字的拼音之前,接收汉字拼音识别模式的切换请求并切换到汉字拼音识别模式。The pinyin recognition mode switching unit 313 is configured to receive a switching request of the Chinese pinyin recognition mode and switch to the Chinese pinyin recognition mode before searching for the selected pinyin of the Chinese character in the Chinese character library.
本发明实施例2还提供了一种终端,包括:Embodiment 2 of the present invention further provides a terminal, including:
本发明实施例2中提供的上述汉字识别装置。The above-mentioned Chinese character recognition device provided in Embodiment 2 of the present invention.
上述各单元的功能可对应于图1或图2所示流程中的相应处理步骤,在此不再赘述。The functions of the above units may correspond to corresponding processing steps in the process shown in FIG. 1 or FIG. 2, and details are not described herein again.
综上所述,本发明实施例提供的方案,包括:输入法系统根据接收到的结构序列,在保存的汉字库中查找与该结构序列匹配的汉字并,该汉字库中存储汉字、汉字的结构序列、拼音的对应关系;根据接收的在显示的汉字中选择的汉字,在该汉字库中查找选择的汉字的拼音;显示该汉字的拼音。采用本发明提供的上述方案,相比现有技术,简化了汉字识别过程,提高了识别速度。In summary, the solution provided by the embodiment of the present invention includes: the input method system searches for a Chinese character matching the sequence of the structure in the saved Chinese character library according to the received structure sequence, and stores the Chinese character and the Chinese character in the Chinese character library. The correspondence between the structure sequence and the pinyin; searching for the pinyin of the selected Chinese character in the Chinese character library according to the received Chinese characters selected in the displayed Chinese characters; displaying the pinyin of the Chinese character. By adopting the above solution provided by the invention, compared with the prior art, the Chinese character recognition process is simplified, and the recognition speed is improved.
本申请的实施例所提供的汉字识别装置可通过计算机程序实现。本领域技术人员应该能够理解,上述的模块划分方式仅是众多模块划分方式中的一种,如果划分为其他模块或不划分模块,只要汉字识别装置具有上述功能,都应该在本申请的保护范围之内。The Chinese character recognition device provided by the embodiment of the present application can be implemented by a computer program. Those skilled in the art should be able to understand that the above module division manner is only one of a plurality of module division manners. If the division into other modules or no division modules, as long as the Chinese character recognition device has the above functions, it should be within the scope of protection of the present application. within.
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。 The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the present application. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。 It is apparent that those skilled in the art can make various modifications and variations to the invention without departing from the spirit and scope of the invention. Thus, it is intended that the present invention cover the modifications and modifications of the invention

Claims (17)

  1. 一种汉字识别方法,其特征在于,包括:A Chinese character recognition method, comprising:
    输入法系统根据接收到的结构序列,在保存的汉字库中查找与所述结构序列匹配的汉字并显示,所述汉字库中存储汉字、汉字的结构序列、拼音的对应关系;The input method system searches for and displays the Chinese characters matching the structure sequence in the saved Chinese character library according to the received structure sequence, wherein the Chinese character library stores the structural sequence of the Chinese characters, the Chinese characters, and the correspondence relationship of the Pinyin;
    根据用户在显示的所述汉字中选择的汉字,在所述汉字库中查找选择的所述汉字的拼音;Searching for the selected pinyin of the Chinese character in the Chinese character library according to the Chinese character selected by the user in the displayed Chinese character;
    显示所述汉字的拼音。The pinyin of the Chinese character is displayed.
  2. 如权利要求1所述的方法,其特征在于,还包括:The method of claim 1 further comprising:
    在所述汉字库中查找选择的所述汉字的同音字;Searching for the homophone of the selected Chinese character in the Chinese character library;
    显示预设数量的所述同音字。A preset number of the homophones are displayed.
  3. 如权利要求1所述的方法,其特征在于,还包括:The method of claim 1 further comprising:
    在所述汉字库中查找与选择的所述汉字的拼音的声调相同的同音字;Searching in the Chinese character library for the same homophone with the pitch of the selected pinyin of the Chinese character;
    显示预设数量的所述同音字。A preset number of the homophones are displayed.
  4. 如权利要求2或3所述的方法,其特征在于,显示预设数量的所述同音字,具体包括:The method of claim 2 or 3, wherein displaying the preset number of the homophones comprises:
    在选择的所述汉字对应的同音字中,按照获取的各同音字对应的使用频度从大到小的顺序对所述同音字进行排序;In the homophones corresponding to the selected Chinese characters, the homophones are sorted according to the frequency of use of the acquired homophones in descending order;
    显示排序后的同音字中前预设数量的同音字。Displays the first preset number of homophones in the sorted homophone.
  5. 如权利要求4所述的方法,其特征在于,还包括:The method of claim 4, further comprising:
    当接收到同音字切换请求时,在按照使用频度从大到小的顺序排序的所述同音字中,从当前显示的同音字之后的同音字开始,依次选择预设数量的同音字作为切换显示的同音字。When receiving the homophone switching request, in the homophones sorted according to the order of frequency of use, starting from the homophone after the currently displayed homophone, the preset number of homophones are sequentially selected as the switching. The homophones displayed.
  6. 如权利要求2所述的方法,其特征在于,还包括:The method of claim 2, further comprising:
    根据选择的所述汉字的拼音的声调,为显示的同音字标记与该汉字拼音相 同的声调;或者According to the selected tone of the pinyin of the Chinese character, the homophone character of the display is pinned with the Chinese character. The same tone; or
    根据显示的同音字的拼音的声调,为显示的同音字标记该同音字的声调。The tone of the homophone is marked for the displayed homophone according to the pitch of the pinyin of the displayed homophone.
  7. 如权利要求1所述的方法,其特征在于,还包括:The method of claim 1 further comprising:
    当接收到对选择的所述汉字的朗读请求时,按照该汉字对应的拼音进行朗读;或者When receiving a reading request for the selected Chinese character, reading is performed according to the pinyin corresponding to the Chinese character; or
    当接收到对选择的所述汉字的释义显示请求时,将获取的该汉字的释义进行显示。When the interpretation display request for the selected Chinese character is received, the obtained interpretation of the Chinese character is displayed.
  8. 如权利要求1所述的方法,其特征在于,在所述汉字库中查找选择的所述汉字的拼音之前,还包括:The method according to claim 1, wherein before the pinyin of the selected Chinese character is searched in the Chinese character library, the method further comprises:
    接收汉字拼音识别模式的切换请求并切换到汉字拼音识别模式。The switching request of the Chinese character pinyin recognition mode is received and switched to the Chinese character pinyin recognition mode.
  9. 一种汉字识别装置,其特征在于,包括:A Chinese character recognition device, comprising:
    第一查找单元,用于根据接收到的结构序列,在保存的汉字库中查找与所述结构序列匹配的汉字并显示,所述汉字库中存储汉字、汉字的结构序列、拼音的对应关系;a first searching unit, configured to search for and display a Chinese character matching the sequence of the structure in the saved Chinese character library according to the received structure sequence, where the Chinese character library stores a structural sequence of Chinese characters, Chinese characters, and a correspondence relationship of Pinyin;
    第二查找单元,用于根据用户在显示的所述汉字中选择的汉字,在所述汉字库中查找选择的所述汉字的拼音;a second searching unit, configured to search for a pinyin of the selected Chinese character in the Chinese character library according to a Chinese character selected by the user in the displayed Chinese character;
    第一显示单元,用于显示所述汉字的拼音。The first display unit is configured to display the pinyin of the Chinese character.
  10. 如权利要求9所述的装置,其特征在于,还包括:The device of claim 9 further comprising:
    第三查找单元,用于在所述汉字库中查找选择的所述汉字的同音字;a third searching unit, configured to search for a homophone of the selected Chinese character in the Chinese character library;
    第二显示单元,用于显示预设数量的所述同音字。a second display unit, configured to display a preset number of the homophones.
  11. 如权利要求9所述的装置,其特征在于,还包括:The device of claim 9 further comprising:
    第四查找单元,用于在所述汉字库中查找与选择的所述汉字的拼音的声调相同的同音字;a fourth searching unit, configured to search, in the Chinese character library, a homophone with the same tone as the selected pinyin of the Chinese character;
    第三显示单元,用于显示预设数量的所述同音字。a third display unit, configured to display a preset number of the homophones.
  12. 如权利要求10或11所述的装置,其特征在于,所述第二显示单元或第三显示单元,具体用于在选择的所述汉字对应的同音字中,按照获取的各同 音字对应的使用频度从大到小的顺序对所述同音字进行排序;显示排序后的同音字中前预设数量的同音字。The device according to claim 10 or 11, wherein the second display unit or the third display unit is specifically configured to use the acquired homophones in the homophones corresponding to the selected Chinese characters. The homophones are sorted in descending order of frequency of use corresponding to the phonetic characters; the pre-preset number of homophones in the sorted homophones are displayed.
  13. 如权利要求12所述的装置,其特征在于,还包括:The device of claim 12, further comprising:
    同音字切换单元,用于当接收到同音字切换请求时,在按照使用频度从大到小的顺序排序的所述同音字中,从当前显示的同音字之后的同音字开始,依次选择预设数量的同音字作为切换显示的同音字。a homophone switching unit, configured to: when receiving a homophone switching request, in the homophones sorted according to the order of frequency of use, starting from the homophones after the currently displayed homophones, sequentially selecting Set the number of homophones as the homophones for switching display.
  14. 如权利要求10所述的装置,其特征在于,还包括:The device of claim 10, further comprising:
    第一标记单元,用于根据选择的所述汉字的拼音的声调,为显示的同音字标记与该汉字拼音相同的声调;或者a first marking unit, configured to mark, for the displayed homophones, the same tone as the Chinese pinyin according to the selected pitch of the Chinese characters; or
    第二标记单元,用于根据显示的同音字的拼音的声调,为显示的同音字标记该同音字的声调。And a second marking unit, configured to mark the homophone of the homophone according to the tone of the pinyin of the displayed homophone.
  15. 如权利要求9所述的装置,其特征在于,还包括:The device of claim 9 further comprising:
    朗读单元,用于当接收到对选择的所述汉字的朗读请求时,按照该汉字对应的拼音进行朗读;或者a reading unit configured to read aloud according to the pinyin corresponding to the Chinese character when receiving the reading request for the selected Chinese character; or
    释义显示单元,用于当接收到对选择的所述汉字的释义显示请求时,将获取的该汉字的释义进行显示。The interpretation display unit is configured to display the obtained interpretation of the Chinese character when receiving the interpretation display request for the selected Chinese character.
  16. 如权利要求9所述的装置,其特征在于,还包括:The device of claim 9 further comprising:
    拼音识别模式切换单元,用于在所述汉字库中查找选择的所述汉字的拼音之前,接收汉字拼音识别模式的切换请求并切换到汉字拼音识别模式。The pinyin recognition mode switching unit is configured to receive a switching request of the Chinese pinyin recognition mode and switch to the Chinese pinyin recognition mode before searching for the selected pinyin of the Chinese character in the Chinese character library.
  17. 一种终端,其特征在于,包括:A terminal, comprising:
    如权利要求9-16任一所述的装置。 A device according to any of claims 9-16.
PCT/CN2015/088212 2014-09-01 2015-08-27 Chinese character recognition method and device, and terminal WO2016034066A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410441700.4 2014-09-01
CN201410441700.4A CN105404624A (en) 2014-09-01 2014-09-01 Chinese character recognition method, device and terminal

Publications (1)

Publication Number Publication Date
WO2016034066A1 true WO2016034066A1 (en) 2016-03-10

Family

ID=55439119

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/088212 WO2016034066A1 (en) 2014-09-01 2015-08-27 Chinese character recognition method and device, and terminal

Country Status (3)

Country Link
CN (1) CN105404624A (en)
HK (1) HK1221791A1 (en)
WO (1) WO2016034066A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106570180A (en) * 2016-11-10 2017-04-19 北京百度网讯科技有限公司 Artificial intelligence based voice searching method and device
CN111737288A (en) * 2020-06-05 2020-10-02 富途网络科技(深圳)有限公司 Search control method, device, terminal equipment, server and storage medium

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106354752A (en) * 2016-08-16 2017-01-25 广东小天才科技有限公司 Words searching method and device, and electronic device
CN113486655A (en) * 2021-06-11 2021-10-08 陈展天 Chinese character phonetic notation recognition method beneficial to distance education

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1690930A (en) * 2004-04-30 2005-11-02 英华达(上海)电子有限公司 Device and method for providing inverse check function of Chinese input methods
CN1786882A (en) * 2004-12-07 2006-06-14 魏有 Chinese character five stroke universal input method
CN1841277A (en) * 2005-03-30 2006-10-04 英华达(上海)电子有限公司 Method for displaying Chinese phonetic transcription in hand-writing input method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101625595A (en) * 2008-07-07 2010-01-13 英华达(南京)科技有限公司 Handheld device capable of rapidly inputting Chinese and Chinese Pinyin input method thereof
CN102609455B (en) * 2012-01-12 2014-12-03 北京中科大洋科技发展股份有限公司 Method for Chinese homophone searching
CN103853479B (en) * 2012-12-06 2017-06-27 袁恒祺 Double with reference to hand-writing input method write formula Chinese character sound figure identifying device and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1690930A (en) * 2004-04-30 2005-11-02 英华达(上海)电子有限公司 Device and method for providing inverse check function of Chinese input methods
CN1786882A (en) * 2004-12-07 2006-06-14 魏有 Chinese character five stroke universal input method
CN1841277A (en) * 2005-03-30 2006-10-04 英华达(上海)电子有限公司 Method for displaying Chinese phonetic transcription in hand-writing input method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106570180A (en) * 2016-11-10 2017-04-19 北京百度网讯科技有限公司 Artificial intelligence based voice searching method and device
CN106570180B (en) * 2016-11-10 2020-05-22 北京百度网讯科技有限公司 Voice search method and device based on artificial intelligence
CN111737288A (en) * 2020-06-05 2020-10-02 富途网络科技(深圳)有限公司 Search control method, device, terminal equipment, server and storage medium
CN111737288B (en) * 2020-06-05 2023-07-25 富途网络科技(深圳)有限公司 Search control method, device, terminal equipment, server and storage medium

Also Published As

Publication number Publication date
CN105404624A (en) 2016-03-16
HK1221791A1 (en) 2017-06-09

Similar Documents

Publication Publication Date Title
US20200050661A1 (en) Incremental Multi-Word Recognition
CN107273019B (en) Collaborative gesture based input language
KR20150143774A (en) Consistent text suggestion output
EP2765473A1 (en) Input processing method and apparatus
CN105824552B (en) A kind of recognition methods of text information and device
US20180068476A1 (en) Information processing device, information processing method, and program
WO2017098332A2 (en) Method and system for inputting information
WO2014055791A1 (en) Incremental feature-based gesture-keyboard decoding
RU2015104882A (en) PORTABLE TERMINAL USING THE TOUCH KNOB AND METHOD FOR ENTERING A HANDWRITTEN TEXT USING IT
EP2897055A1 (en) Information processing device, information processing method, and program
WO2016034066A1 (en) Chinese character recognition method and device, and terminal
CN106325488B (en) A kind of input method, input unit, server and input system
TW201411418A (en) A method for realizing intelligent association in the input method, device and terminal device
US9626354B2 (en) Systems and methods for using tone indicator in text recognition
CN102063620A (en) Handwriting identification method, system and terminal
CN104199607A (en) Candidate selection method and device based on input method
CN102073884A (en) Handwriting recognition method, system and handwriting recognition terminal
CN106445369A (en) Input method and device
CN103713845A (en) Method for screening candidate items and device thereof, text input method and input method system
KR101099654B1 (en) Chinese input system and method
US9501220B2 (en) Device and method for extracting data on a touch screen
WO2016155643A1 (en) Input-based candidate word display method and device
CN104317416B (en) A kind of method and apparatus of input
CN107132927A (en) Input recognition methods and device and the device for identified input character of character
CN105302857A (en) Method and equipment providing contact person information

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

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

Country of ref document: EP

Kind code of ref document: A1