CN104978045B - A kind of Chinese character input method and device - Google Patents

A kind of Chinese character input method and device Download PDF

Info

Publication number
CN104978045B
CN104978045B CN201510278629.7A CN201510278629A CN104978045B CN 104978045 B CN104978045 B CN 104978045B CN 201510278629 A CN201510278629 A CN 201510278629A CN 104978045 B CN104978045 B CN 104978045B
Authority
CN
China
Prior art keywords
chinese character
description information
hanzi component
characters
chinese
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510278629.7A
Other languages
Chinese (zh)
Other versions
CN104978045A (en
Inventor
林柏科
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201510278629.7A priority Critical patent/CN104978045B/en
Publication of CN104978045A publication Critical patent/CN104978045A/en
Application granted granted Critical
Publication of CN104978045B publication Critical patent/CN104978045B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

The present invention provides a kind of Chinese character input method, comprising: obtains the description information for constituting each Hanzi component of target characters, which includes the phonetic of the respectively Hanzi component;According to the description information, the Chinese character to match with the description information is searched;It is exported the Chinese character found as the target characters.The present invention also provides a kind of Chinese input units.Above-mentioned Chinese character input method and device, it can be achieved that rarely used word quick input, promote the ease for use of input method of Chinese character.

Description

A kind of Chinese character input method and device
Technical field
The present invention relates to field of computer technology more particularly to a kind of Chinese character input method and devices.
Background technique
Input method refers to the coding method used in order to which various symbols are inputted computer or other equipment (such as mobile phone). The coding method of Chinese character input is essentially all to be associated using by sound, shape, justice with specific key, further according to different Chinese character into Row combines to complete the input of Chinese character.
The input method of Chinese character of mainstream is mainly searched and is used using the spell mode according to phonetic in currently available technology Then the Chinese character or word that the phonetic of family input matches are come with the temperature that word frequency occurs for user's sequence, thus to recommend use Family uses.Above-mentioned spelling input method with it can read the advantages of can inputting and be widely used, as soon as but there is also a defect, that It is that user must correctly spell out the phonetic of Chinese character and could input corresponding Chinese character in a computer, and Chinese character is extremely great Numerous, there are about 100,000 or more, wherein being no lack of the rarely used word that numerous users will not read, when user faces these rarely used words, due to not It can determine that their pronunciation, awkward situation is just come, and the input method based on phonetic makes user not know how just get the word. Therefore, it is necessary to improved technical solution be provided, to overcome rarely used word present in existing Chinese character entering technique to be difficult to input The problem of.
Summary of the invention
In view of this, the present invention a kind of Chinese character input method and device are provided, it can be achieved that rarely used word quick input, promoted The ease for use of input method of Chinese character.
Chinese character input method provided in an embodiment of the present invention, comprising: obtain retouching for each Hanzi component for constituting target characters Information is stated, the description information includes the phonetic of each Hanzi component;According to the description information, searches and believe with the description The matched Chinese character of manner of breathing;It is exported the Chinese character found as the target characters.
Chinese input unit provided in an embodiment of the present invention, comprising: description information obtains module, constitutes target for obtaining The description information of each Hanzi component of Chinese character, the description information include the phonetic of each Hanzi component;Searching module is used for The description information that module obtains is obtained according to the description information, searches the Chinese character to match with the description information;It is defeated Module out, the Chinese character for finding the searching module are exported as the target characters.It is provided in an embodiment of the present invention Above-mentioned Chinese character input method and device.
Above-mentioned Chinese character input method provided in an embodiment of the present invention and device will consult word with the radical of font Allusion quotation, the non-human act habit for obtaining the pronunciation of the word this user realized in spelling input method, by according to including structure At the description information of the phonetic of each Hanzi component of target characters, the Chinese character to match with the description information is searched, can be solved existing Life can not be realized for the technological deficiency of text input terminal equipment due to user does not know about the pronunciation of text to be entered by having in technology The quick input of rare word, promotes the ease for use of input method of Chinese character.
For above and other objects, features and advantages of the invention can be clearer and more comprehensible, preferred embodiment is cited below particularly, And cooperate institute's accompanying drawings, it is described in detail below.
Detailed description of the invention
Fig. 1 shows a kind of structural block diagram of user terminal;
Fig. 2 is a kind of flow chart for Chinese character input method that first embodiment of the invention provides;
Fig. 3 is a kind of flow chart for Chinese character input method that second embodiment of the invention provides;
The details flow chart of part steps in a kind of Chinese character input method that Fig. 4 provides for second embodiment of the invention;
Fig. 5 is to carry out the signal of Chinese character input in computer terminal in a kind of Chinese character input method provided in an embodiment of the present invention Figure;
Fig. 6 is to carry out the signal of Chinese character input in mobile terminal in a kind of Chinese character input method provided in an embodiment of the present invention Figure;
Fig. 7 is a kind of structural schematic diagram for Chinese input unit that third embodiment of the invention provides;
Fig. 8 is a kind of structural schematic diagram for Chinese input unit that fourth embodiment of the invention provides.
Specific embodiment
Further to illustrate that the present invention is the technical means and efficacy realizing predetermined goal of the invention and being taken, below in conjunction with Attached drawing and preferred embodiment, to specific embodiment, structure, feature and its effect according to the present invention, detailed description is as follows.
Fig. 1 shows a kind of structural block diagram of user terminal.As shown in Figure 1, user terminal 200 include: memory 202, Storage control 204, one or more (one is only shown in figure) processors 206, Peripheral Interface 208, radio-frequency module 210, sound Frequency module 212, display module 214 and key module 216.These components pass through one or more communication bus/signal wire 218 Mutually communication.
It is appreciated that structure shown in FIG. 1 is only to illustrate, user terminal 200 may also include it is more than shown in Fig. 1 or Less component, or with the configuration different from shown in Fig. 1.Each component shown in Fig. 1 can using hardware, software or its Combination is realized.
Memory 202 can be used for storing software program and module, as in the embodiment of the present invention Chinese character input method and Corresponding program instruction/the module of device, the software program and module that processor 206 is stored in memory 202 by operation, Thereby executing various function application and data processing, that is, realize above-mentioned Chinese character input method.
Memory 202 may include high speed random access memory, may also include nonvolatile memory, such as one or more magnetic Property storage device, flash memory or other non-volatile solid state memories.In some instances, memory 202 can further comprise The memory remotely located relative to processor 206, these remote memories can pass through network connection to user terminal 200. The example of above-mentioned network includes but is not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.Processor 206 and other possible components the access of memory 202 can be carried out under the control of storage control 204.
Various softwares in 206 run memory 202 of processor, instruction with execute the various functions of user terminal 200 with And carry out data processing.
Peripheral Interface 208 is used to couple CPU and memory 202 for various external equipments.
In some embodiments, storage control 204, processor 206 and Peripheral Interface 208 can be in one single chips It realizes.In some other example, they can be realized by independent chip respectively.
Radio-frequency module 210 is used to receive and transmit electromagnetic wave, realizes the mutual conversion of electromagnetic wave and electric signal, thus with Communication network or other equipment are communicated.Radio-frequency module 210 may include various existing for executing the electricity of these functions Circuit component, for example, antenna, RF transceiver, digital signal processor, encryption/deciphering chip, subscriber identity module (SIM) card, Memory etc..Radio-frequency module 210 can be communicated or be led to various networks such as internet, intranet, wireless network Wireless network is crossed to be communicated with other equipment.Above-mentioned wireless network may include cellular telephone networks, WLAN or Metropolitan Area Network (MAN).Various communication standards, agreement and technology can be used in above-mentioned wireless network, and including but not limited to the whole world is mobile logical Letter system (Global System for Mobile Communication, GSM), enhanced mobile communication technology (Enhanced Data GSM Environment, EDGE), Wideband CDMA Technology (wideband code division Multiple access, W-CDMA), Code Division Multiple Access (Code division access, CDMA), time division multiple access technology (time division multiple access, TDMA), bluetooth, adopting wireless fidelity technology (Wireless, Fidelity, WiFi) (such as American Institute of Electrical and Electronics Engineers's standard IEEE 802.11a, IEEE802.11b, IEEE802.11g and/or IEEE802.11n), the networking telephone (Voice over internet protocol, VoIP), worldwide interoperability for microwave accesses (Worldwide Interoperability for Microwave Access, Wi-Max), other be used for mail, Instant Messenger The agreement and any other suitable communications protocol of letter and short message, or even may include that those are not developed currently yet Agreement.
Audio-frequency module 212 provides a user audio interface, may include one or more microphones, one or more raises Sound device and voicefrequency circuit.Voicefrequency circuit receives voice data from Peripheral Interface 208, and voice data is converted to power information, Power information is transmitted to loudspeaker.Power information is converted to the sound wave that human ear can be heard by loudspeaker.Voicefrequency circuit is also from microphone Place receive power information, convert electrical signals to voice data, and by data transmission in network telephony into Peripheral Interface 208 to carry out into one The processing of step.Audio data can obtain from memory 202 or through radio-frequency module 210.In addition, audio data can also be with It stores into memory 202 or is sent by radio-frequency module 210.In some instances, audio-frequency module 212 may also include One earphone broadcasts hole, for providing audio interface to earphone or other equipment.
Display module 214 provides an output interface between user terminal 200 and user, shows that video is defeated to user Out, the content of these videos output may include text, figure, video and any combination thereof.Some outputs are the result is that correspond to one A little user interface objects.It should be understood that display module 214 can also provide simultaneously one between user terminal 200 and user A output and input interface.Specifically, other than showing video output to user, display module 214 also receives the defeated of user Enter, such as the gesture operations such as click, sliding of user, so that user interface object responds the input of these users.Inspection The technology for surveying user's input can be based on resistance-type, condenser type or any other possible touch control detection technology.Show mould The specific example of 214 display unit of block includes but is not limited to liquid crystal display or light emitting polymer displays.
Key module 216 equally provides user's interface inputted to user terminal 200, and user can be by pressing not Same key is so that user terminal 200 executes different functions.
User terminal 200 may include: support the smart phone of character input function, tablet computer, E-book reader, MP3 player (Moving Picture Experts Group Audio Layer III, dynamic image expert's compression standard sound Frequency level 3), MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert's compression standard Audio level 4) mobile terminals such as player, pocket computer on knee, vehicle-mounted computer, wearable device, navigator, and, The immobile terminals such as intelligent TV set, all-in-one machine, desktop computer.
First embodiment
Referring to Fig. 2, Fig. 2 is a kind of flow chart for Chinese character input method that first embodiment of the invention provides.This implementation The Chinese character input method that example provides can be applied in user terminal 200 shown in FIG. 1, to realize that Chinese character inputs, as shown in Fig. 2, Chinese character input method provided in this embodiment includes:
Step S11, obtains the description information for constituting each Hanzi component of target characters, which includes the respectively Chinese character The phonetic of component;
Hanzi component has the word-building unit for assembling Chinese word function by what stroke formed, here it can be appreciated that Chinese character Radical, such as: " sturgeon " is made of " fish " and " having " two Hanzi components, " win " by " dying ", " mouth, " moon ", " shellfish " and " all " five Hanzi components are constituted.It is to be appreciated that the Hanzi component may include: basic components and compound component.Wherein, base Plinth component refers to the minimal parts that cannot be split, such as: " field " and " power " in " male " is all the basic components that cannot be split.It closes At component refer to there are two or the component that constitutes of multiple more widgets, compound component can further split, such as: " thinking " It can be split as " phase " and " heart ", this was split to the first time of Chinese character, and still " phase " can also be split as " wood " and " mesh ", because This " phase " is compound component.
Input method client is installed in user terminal, specifically, user's input is obtained by the input method client The description information of each Hanzi component of target characters is constituted, which includes the phonetic of the respectively Hanzi component, such as: by the Chinese The pinyin string " yuyou " that the phonetic of each Hanzi component of word " sturgeon " is constituted.
Step S12 searches the Chinese character to match with the description information according to the description information;
Uncommon dictionary or rarely used word white list are preset in user terminal, wherein record has common rarely used word or according to user User's frequency of usage for counting of Chinese character of history input is lower and unfamiliar rare Chinese character and its structural information (such as: each life Position etc. of the Hanzi component and each Hanzi component that rare word includes in affiliated rarely used word).In addition, in user terminal Also preset the relational database for recording the corresponding relationship between Hanzi component and its description information.It is to be appreciated that the Chinese Corresponding relationship between word component and description information is also recordable in the uncommon dictionary or rarely used word white list.
Specifically, the description information of each Hanzi component for the composition target characters that user terminal inputs user is uncommon with this The Chinese character recorded in dictionary or rarely used word white list is matched, to search at least one Chinese to match with the description information Word.
It is to be appreciated that the uncommon dictionary or rarely used word white list can also be configured in the server.User terminal is by being somebody's turn to do Server inquires the uncommon dictionary or rarely used word white list, obtains and each Hanzi component of the composition target characters of user's input The Chinese character that description information matches.
Step S13 is exported the Chinese character found as the target characters.
The alternative frame that input method client displayed in the screen provides is exported using the Chinese character found as target characters In designated position.
Further, using the highest Chinese character of matching degree in the Chinese character found with the description information of user's input as mesh Mark Chinese character is exported according to specified mode in the designated position of alternative frame, such as: by the target characters according to specified color or The mode of font or other dynamic special efficacys exports the eye-catching position of the alternative frame in the human-computer interaction interface of input method client It sets;Then, display triggers output institute when detecting for triggering the prompt information for exporting all candidate Chinese characters in the alternative frame When having the operation of candidate Chinese character, all candidate Chinese characters are exported in screen, the Chinese for wanting to input to facilitate user quickly to find Word.
Further, user terminal obtains phonetic and its phonetic notation of each Chinese character found, while exporting each Chinese character Export the corresponding phonetic of each Chinese character and its phonetic notation.
A kind of Chinese character input method provided in an embodiment of the present invention will be consulted a dictionary with the radical of font, be obtained The non-human act habit of this user of the pronunciation of the word is realized in spelling input method, by according to including constituting the target Chinese The description information of the phonetic of each Hanzi component of word is searched the Chinese character to match with the description information, can be solved in the prior art The technological deficiency of text input terminal equipment can not be realized the fast of rarely used word because user does not know about the pronunciation of text to be entered Victory input, promotes the ease for use of input method of Chinese character.
Second embodiment
Referring to Fig. 3, Fig. 3 is a kind of flow chart for Chinese character input method that second embodiment of the invention provides.This implementation The Chinese character input method that example provides can be applied in user terminal shown in FIG. 1, to realize that Chinese character inputs, as shown in figure 3, this reality Applying the Chinese character input method that example provides includes:
Step S21 obtains the description information for constituting each Hanzi component of target characters;
Hanzi component has the word-building unit for assembling Chinese word function by what stroke formed, here it can be appreciated that Chinese character Radical, such as: " sturgeon " is made of " fish " and " having " two Hanzi components, " win " by " dying ", " mouth, " moon ", " shellfish " and " all " five Hanzi components are constituted.It is to be appreciated that the Hanzi component may include: basic components and compound component.Wherein, base Plinth component refers to the minimal parts that cannot be split, such as: " field " and " power " in " male " is all the basic components that cannot be split.It closes At component refer to there are two or the component that constitutes of multiple more widgets, compound component can further split, such as: " thinking " It can be split as " phase " and " heart ", this was split to the first time of Chinese character, and still " phase " can also be split as " wood " and " mesh ", because This " phase " is compound component.
Input method client is installed in user terminal, specifically, user's input is obtained by the input method client The description information of each Hanzi component of target characters is constituted, which includes the phonetic of each Hanzi component, such as: by Chinese character The pinyin string " yuyou " that the phonetic of each Hanzi component of " sturgeon " is constituted.
Further, description information further include: the phonetic of the title of each Hanzi component.Since the Hanzi component having is existing Phonetic has title, such as Hanzi component " Http " again, and phonetic is " mian ", and entitled " precious headkerchief ", usual people are more accustomed to " Http " is identified in use " precious headkerchief ";Some Hanzi components only have title without phonetic, such as: " Ren " (single other);Have It is the shared phonetic of several Hanzi components, such as: entitled " two water " of " Bing ", entitled " 3 water " of " Rui ", but on The phonetic for stating two Hanzi components is all " shui ".At this time, it is assumed that target characters are " treasured ", then the target characters that user inputs The description information of each Hanzi component can be the phonetic composition of the phonetic and Hanzi component " jade " of the title of Hanzi component " Http " Pinyin string " baogaitouyu ", or, or the phonetic composition of the phonetic and Hanzi component " jade " of Hanzi component " Http " Pinyin string: " mianyu ".
Like this, by the pinyin string constituted according to the phonetic of each Hanzi component, alternatively, by the phonetic and the Chinese of Hanzi component The pinyin string that the phonetic of the title of word component collectively forms searches corresponding Chinese character, can expand the scope of application of the invention, when When the existing corresponding phonetic of Hanzi component has corresponding title again, as long as user understands the phonetic or Hanzi component of Hanzi component Any one of both phonetic of title, so that it may realize the input of target characters, thus can be improved Chinese character input flexibility and Input efficiency.
Further, description information further include: each corresponding quantity information of Hanzi component.Wherein, which believes Breath can be the phonetic of the quantity of Hanzi component, such as: " Biao " i.e. " sangema " (three horses), " vast " i.e. " sangeshui " (three water);Alternatively, the quantity information can also be identified by number, and such as: " prosperous " i.e. " 3jin ".
Further, description information further include: location information of each Hanzi component in target characters.Wherein, the position Confidence breath can be identified by number or other spcial characters, such as: on being identified with 1, under 2 marks, in 3 marks, 4 marks Outside, % mark is left, and * identifies right side etc..Since identical Hanzi component may constitute different Chinese characters, such as: " tired " and " apricot " It is all to be made of Hanzi component " wood " and " mouth ", only " wood " is different from the position of " mouth ", but constitutes two different Chinese characters. Phonetic and its corresponding location information by each Hanzi component inputted according to user, can quickly find out the target Chinese Word improves the efficiency of Chinese character input.Such as: assuming that target characters are " apricot ", when the description information of the target characters of user's input When for " mu1kou2 ", user terminal can orient position of the corresponding Hanzi component in the target characters according to number therein It sets " under wood is suitable for reading ", to faster and more accurately find the target characters " apricot ".It is to be appreciated that user terminal can according to The configuration-direct at family, configuration number or other spcial characters and each position corresponding relationships, that is, user can customize number or its Corresponding relationship between his spcial character and its corresponding position, such as: " 1 " is defined as defining " 2 " for identifying " left side " For mark " in ", " 3 " are defined as mark " right side " etc..
It is to be appreciated that when quantity information and location information be all by number to identify when, can according to number with Chinese character portion The positional relationship of the phonetic (or, phonetic of the title of Hanzi component) of part determines the mark object of the number, such as: work as digit order number When the left side of the phonetic of Hanzi component, determine that the mark object of the number is the quantity of the Hanzi component;When number is located at the Chinese When the right side of the phonetic of word component, determine that the mark object of the number is the position of the Hanzi component.
Step S22 searches the Chinese character to match with the description information according to the description information;
Specifically, the Chinese character recorded in the description information and uncommon dictionary or rarely used word white list is matched, to look into Look at least one Chinese character to match with the description information as candidate Chinese character.
Uncommon dictionary or rarely used word white list are preset in user terminal, wherein record has rarely used word or according to user's history User's frequency of usage that the Chinese character of input counts is lower and unfamiliar Chinese character and its structural information (such as: each rarely used word includes Position etc. in affiliated rarely used word of Hanzi component and each Hanzi component).In addition, also being preset in user terminal For recording the relational database of the corresponding relationship between each description information being somebody's turn to do in Hanzi component and step S21.It is understood that Ground, the corresponding relationship between Hanzi component and description information are also recordable in the uncommon dictionary or rarely used word white list.
Specifically, defeated according to user when the description information does not include location information of the Hanzi component in target characters The description information of each Hanzi component of the composition target characters entered obtains and the description information pair by searching for relational database Each Hanzi component answered, by each Hanzi component of the Chinese character recorded in the uncommon dictionary or rarely used word white list and the description information Corresponding each Hanzi component is matched, and includes the Chinese character of the corresponding each Hanzi component of the description information with lookup, then basis The input sequence of the description information of each Hanzi component and preset input sequence and position corresponding relationship (such as: according to defeated The sequencing entered, the description information for defining input is respectively corresponded from a left side and the right side, top-down position), judge to find Whether position of each Hanzi component corresponding with the description information that Chinese character includes in affiliated Chinese character be corresponding with the input sequence Position be consistent, according to the quantity for the Hanzi component corresponding with the description information for including in the Chinese character found, the phase of position Fu Du, and, preset matching degree calculation formula calculates the matching degree of each Chinese character and description information found.Such as: it is false If the description information of each Hanzi component of the composition target characters " Consoles " of user's input is " huorisheng ", then first uncommon Being searched in dictionary comprising description information is respectively one in the Hanzi component (such as: fire, day, life) of " huo ", " ri ", " sheng " Or the Chinese character of multiple components, then according to input sequence and preset input sequence and the corresponding relationship of position (assuming that basis The sequencing of input, corresponding position are left, center, right), judge that description information is respectively the Chinese of " huo ", " ri ", " sheng " The degree of being consistent of word the component position in the Chinese character found and " left, center, right ", it is last to include according in the Chinese character found Description information be respectively " huo ", " ri ", " sheng " Hanzi component quantity (such as: be to contain description information to be respectively " huo ", " ri ", " sheng " Hanzi component whole, still contain only description information be respectively " huo ", " ri ", One in the Hanzi component of " sheng "), description information be respectively " huo ", " ri ", " sheng " Hanzi component finding Chinese character in position and the degree of being consistent of " left, center, right ", and, preset matching degree calculation formula calculates each Chinese found The matching degree of word and " huorisheng ".
When the description information includes location information of the Hanzi component in target characters, according to the composition mesh of user's input The description information of each Hanzi component of Chinese character is marked, by searching for relational database, obtains corresponding each Hanzi component, this is uncommon Each Hanzi component progress corresponding with the description information of each Hanzi component of the Chinese character recorded in dictionary or rarely used word white list Match, to search the Chinese character for including the corresponding each Hanzi component of the description information, is then existed according to each Hanzi component that user inputs Location information in target characters judges the corresponding each Hanzi component of the description information that the Chinese character found includes in the Chinese character In position of the position Hanzi component whether corresponding with the description information in target characters be consistent, according to the Chinese character found In include the corresponding each Hanzi component of the description information quantity, the degree of being consistent of position and preset matching degree calculate public Formula calculates the matching degree of the Chinese character and description information found.Such as: assuming that the composition target characters " sturgeon " of user's input The description information of each Hanzi component is " yu1you2 ", and according to customized, 1 for identifying a left side, and 2 for identifying the right side, then first in life Searched in out-of-the-way dictionary comprising description information be respectively " yu ", " you " Hanzi component (such as: fish, in, it is beautiful, again, have) the Chinese Word judges that description information is respectively position and " left yu right you " of the Hanzi component of " yu ", " you " in the Chinese character found Degree of being consistent, it is last according to the description information for including in the Chinese character found be respectively " yu ", " you " Hanzi component quantity (such as: be comprising description information be respectively " yu ", " you " Hanzi component whole, still containing only description information is The Hanzi component of " yu ", alternatively, contain only description information be " you " Hanzi component), description information be respectively " yu ", The degree of being consistent of position of the Hanzi component of " you " in the Chinese character found and " the left right you of yu ", and, preset matching degree Calculation formula calculates the matching degree of each Chinese character and " yu1you2 " found.
In addition, the difference based on north and south accent, user terminal can be matched according to fuzzy phoneme, such as: by " sui " with The similar pronunciation of " shui " this kind of initial consonant is used as the same pronunciation.
It is to be appreciated that the uncommon dictionary or rarely used word white list can also be configured in the server.User terminal is by being somebody's turn to do Server inquires the uncommon dictionary or rarely used word white list, obtains and each Hanzi component of the composition target characters of user's input The Chinese character that description information matches.
Step S23 is exported the Chinese character found as the target characters;
Specifically, as shown in figure 4, this step further can include:
Step S231, according to the height of the matching degree of the candidate Chinese character and the description information that find, by all candidate Chinese Word is ranked up according to sequence from high in the end;
It is possible to further which matching degree in all Chinese characters found to be greater than to the Chinese character of default value as candidate Chinese character Retained, alternatively, the Chinese character for retaining preceding presetting bit in ranking results is retained as candidate Chinese character.For example, will find All Chinese characters in Chinese character with the matching degree of the description information greater than 80% retained as candidate Chinese character, alternatively, will look into After all Chinese characters found are ranked up according to the matching degree with the description information according to sequence from high in the end, preceding 10 will be come The Chinese character of position is retained as candidate Chinese character.
Step S232, according to ranking results, by all candidate Chinese characters with the highest Chinese character of the matching degree of the description information It is exported according to specified mode in the designated position of alternative frame as target characters;
Specifically, by the description in the candidate Chinese character found with each Hanzi component of the composition target characters of user's input The highest Chinese character of the matching degree of information is exported according to specified mode in the designated position of alternative frame as target characters, such as: By the target characters in the way of specified color or font or other dynamic special efficacys, export in the man-machine of input method client The awake destination locations of alternative frame in interactive interface, the upper right corner of alternative frame as shown in Figure 5 or alternative frame as shown in FIG. 6 Right end.
Step S233, display is for triggering the prompt information for exporting all candidate Chinese characters in the alternative frame, when detecting When triggering exports the operation of all candidate Chinese characters, all candidate Chinese characters are sequentially exported in screen.
The prompt information display mode can be, but not limited to include: to show to export all candidates for triggering in alternative frame The operation button (" the expansion button " of such as Fig. 5 intermediate cam shape) of Chinese character, alternatively, display is for triggering all candidate Chinese characters of output Text information, e.g., display " check more ... " printed words.When the operation for detecting all candidate Chinese characters of triggering output (e.g., detects It clicks to user for triggering the operation button for exporting all candidate Chinese characters, alternatively, detecting that user's control mouse " is checked more It is more ... " hovering of the display positions of printed words) when, all candidate Chinese characters found are exported, in screen to facilitate user faster Find the Chinese character for wanting input in ground.
Further, user terminal obtains phonetic and its phonetic notation of each candidate Chinese character found, is exporting each candidate Chinese The corresponding phonetic of each candidate Chinese character and its phonetic notation are exported while word.
Step S24 searches corresponding phrase and exports using the phonetic of the Hanzi component as the phonetic of individual Chinese character.
While searching rarely used word, using the phonetic of the Hanzi component of user's input as the phonetic of individual Chinese character, standby The phrase that the pinyin string that the pinyin string that the phonetic with each Hanzi component inputted with user is constituted matches is searched in dictionary is selected, And while exporting target characters, the phrase found is exported in alternative frame.
Like this, while searching rarely used word, corresponding phrase is searched, and rarely used word is exported according to specified mode In the designated position of alternative frame, the conventional func that user uses input method is not interfered with, user will not be allowed to ignore this quilt Select rarely used word.At the same time, this function will not influence the normal use of other characteristics of input method.
To further illustrate the Chinese character input method in the present embodiment, for example in conjunction with Fig. 5 and Fig. 6, Fig. 5, which shows, is The form of expression of computer terminal (PC) input method, when user does not know the phonetic of " sturgeon " word, it is only necessary to sequentially input this The phonetic of radical of Chinese character can, be exactly as shown in Figure 5 specifically, it is only necessary to first input as the portion by fish word The phonetic " yu " of first Hanzi component, then input again the other half Hanzi component phonetic " you " can, immediately input method visitor Family end will take the phonetic pronunciation of the word and it will be shown in the right sides of defeated phonetic, selects for user.What Fig. 6 showed For the form of expression of mobile terminal (mobile phone) input method: it is consistent with the usage experience at the end PC, when sequentially inputting radical of Chinese character Phonetic when, alternative word can occur in the rearmost of alternative frame, while can also be labeled as different color and mix Phonetic phonetic notation facilitates user to click with this.
A kind of Chinese character input method provided in an embodiment of the present invention will be consulted a dictionary with the radical of font, be obtained The non-human act habit of this user of the pronunciation of the word is realized in spelling input method, by according to including constituting the target Chinese The description information of the phonetic of each Hanzi component of word is searched the Chinese character to match with the description information, can be solved in the prior art The technological deficiency of text input terminal equipment can not be realized the fast of rarely used word because user does not know about the pronunciation of text to be entered Victory input, promotes the ease for use of input method of Chinese character.
3rd embodiment
Fig. 7 is a kind of structural schematic diagram for Chinese input unit that third embodiment of the invention provides.The present embodiment provides Chinese input unit can run in user terminal 200 shown in FIG. 1, for realizing the Chinese character input side in above-described embodiment Method.As shown in fig. 7, Chinese input unit 30 includes:
Description information obtains module 31, for obtaining the description information for constituting each Hanzi component of target characters, the description Information includes the phonetic of the Hanzi component;
Searching module 32 is searched and is believed with the description for obtaining the description information that module 31 obtains according to description information The matched Chinese character of manner of breathing;
Output module 33, the Chinese character for finding searching module 32 are exported as the target characters.
The present embodiment refers to above-mentioned figure to the detailed process of the respective function of each Implement of Function Module of Chinese input unit 1 to particular content described in embodiment illustrated in fig. 6, and details are not described herein again.
Chinese input unit provided in an embodiment of the present invention will be consulted a dictionary with the radical of font, obtain the word The non-human act habit of pronunciation this user realized in spelling input method, by according to including constituting target characters The description information of the phonetic of each Hanzi component searches the Chinese character to match with the description information, can solve in the prior art because with Family does not know about the pronunciation of text to be entered and the technological deficiency of text input terminal equipment can not be realized the quick defeated of rarely used word Enter, promotes the ease for use of input method of Chinese character.
Fourth embodiment
Fig. 8 is a kind of structural schematic diagram for Chinese input unit that fourth embodiment of the invention provides.The present embodiment provides Chinese input unit can run in user terminal 200 shown in FIG. 1, for realizing the Chinese character input side in above-described embodiment Method.As shown in figure 8, Chinese input unit 40 includes:
Description information obtains module 41, for obtaining the description information for constituting each Hanzi component of target characters, the description Information includes the phonetic of the respectively Hanzi component;
Searching module 42 is searched and is believed with the description for obtaining the description information that module obtains according to the description information The matched Chinese character of manner of breathing;
Output module 43, the Chinese character for finding searching module 42 are exported as the target characters.
Further, description information further include: the respectively phonetic of the title of the Hanzi component.
Further, description information further include: respectively location information of the Hanzi component in the target characters.
Further, description information further include: the respectively corresponding quantity information of the Hanzi component.
Further, searching module 42 are also used to record in the description information and uncommon dictionary or rarely used word white list Chinese character matched, to search at least one Chinese character to match with the description information as candidate Chinese character.
Further, output module 43 includes:
Sorting module 431 will own for the height according to the candidate Chinese character found and the matching degree of the description information Candidate Chinese character is ranked up according to sequence from high in the end;
Chinese character output module 432 will retouch in all candidate Chinese characters with this for the ranking results according to sorting module 431 The highest Chinese character of matching degree for stating information is exported according to specified mode in the designated position of alternative frame as target characters;
Display module 433, for showing in the alternative frame for triggering the prompt information for exporting all candidate Chinese characters;
The device further include: detection module 44 exports the operation of all candidate Chinese characters for detecting triggering;
Chinese character output module 432 is also used to detect that the triggering exports the operation of all candidate Chinese characters when detection module 44 When, all candidate Chinese characters are sequentially exported in screen.
Further, searching module 42 are also used to using the phonetic of the Hanzi component as the phonetic of individual Chinese character, lookup pair The phrase answered;
Output module 43, further includes:
Phrase output module 434, the phrase found for exporting searching module 42.
The present embodiment refers to above-mentioned figure to the detailed process of the respective function of each Implement of Function Module of Chinese input unit 1 to particular content described in embodiment illustrated in fig. 6, and details are not described herein again.
Chinese input unit provided in an embodiment of the present invention will be consulted a dictionary with the radical of font, obtain the word The non-human act habit of pronunciation this user realized in spelling input method, by according to including constituting target characters The description information of the phonetic of each Hanzi component searches the Chinese character to match with the description information, can solve in the prior art because with Family does not know about the pronunciation of text to be entered and the technological deficiency of text input terminal equipment can not be realized the quick defeated of rarely used word Enter, promotes the ease for use of input method of Chinese character.
It should be noted that all the embodiments in this specification are described in a progressive manner, each embodiment weight Point explanation is the difference from other embodiments, and the same or similar parts between the embodiments can be referred to each other. For device class embodiment, since it is basically similar to the method embodiment, so being described relatively simple, related place ginseng See the part explanation of embodiment of the method.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that process, method, article or device including a series of elements are not only wanted including those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or device Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in process, method, article or device including element.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, which can store in a kind of computer-readable storage In medium, storage medium mentioned above can be read-only memory, disk or CD etc..
More than, it is only presently preferred embodiments of the present invention, is not intended to limit the present invention in any form, although this Invention has been disclosed in a preferred embodiment above, and however, it is not intended to limit the invention, any person skilled in the art, It does not depart within the scope of technical solution of the present invention, is equal when the technology contents using the disclosure above are modified or are modified to The equivalent embodiment of variation, but without departing from the technical solutions of the present invention, according to the technical essence of the invention to the above reality Any simple modification, equivalent change and modification made by example are applied, all of which are still within the scope of the technical scheme of the invention.

Claims (10)

1. a kind of Chinese character input method characterized by comprising
The description information of target characters is obtained, the description information of the target characters includes the composition target Chinese sequentially organized The description information of each Hanzi component of word, the description information of each Hanzi component include the number for the Hanzi component sequentially organized Measure the location information in the target characters of phonetic and the Hanzi component of information, the Hanzi component;The position Information is identified by number or other spcial characters;The quantity information is identified by number;
According to the description information, matching with the description information of recording in uncommon dictionary or rarely used word white list is searched Chinese character;
It is exported the Chinese character found as the target characters.
2. the method according to claim 1, wherein the description information further include: each Hanzi component The phonetic of title.
3. according to the method described in claim 2, it is characterized in that, described according to the description information, lookup and the description The Chinese character that information matches includes:
The Chinese character recorded in the description information and uncommon dictionary or rarely used word white list is matched, is retouched with searching with described At least one Chinese character that information matches is stated as candidate Chinese character.
4. according to the method described in claim 3, it is characterized in that, the Chinese character that will be found is defeated as the target characters Include: out
According to the height of the candidate Chinese character that finds and the matching degree of the description information, by all candidate Chinese characters according to from height to The sequence at bottom is ranked up;
According to ranking results, using in all candidate Chinese characters with the highest Chinese character of the matching degree of the description information as target characters It exports according to specified mode in the designated position of alternative frame;
Display is owned for triggering the prompt information for exporting all candidate Chinese characters when detecting to trigger to export in the alternative frame When the operation of candidate Chinese character, all candidate Chinese characters are sequentially exported in screen.
5. the method according to claim 1, wherein the method also includes:
Using the phonetic of the Hanzi component as the phonetic of individual Chinese character, searches corresponding phrase and export.
6. a kind of Chinese input unit characterized by comprising
Description information obtains module, and for obtaining the description information of target characters, the description information of the target characters includes suitable The description information of each Hanzi component of the composition target characters of secondary tissue, the description information of each Hanzi component include sequentially The quantity information of the Hanzi component, the phonetic of the Hanzi component and the Hanzi component of tissue are in the target characters In location information;The location information is identified by number or other spcial characters;The quantity information by number come Mark;
Searching module searches uncommon dictionary or life for obtaining the description information that module obtains according to the description information The Chinese character to match with the description information recorded in rare word white list;
Output module, the Chinese character for finding the searching module are exported as the target characters.
7. device according to claim 6, which is characterized in that the description information further include: each Hanzi component The phonetic of title.
8. device according to claim 7, which is characterized in that
The searching module, the Chinese character for being also used to record in the description information and uncommon dictionary or rarely used word white list carry out Matching, to search at least one Chinese character to match with the description information as candidate Chinese character.
9. device according to claim 8, which is characterized in that the output module includes:
Sorting module, for the height according to the candidate Chinese character found and the matching degree of the description information, by all candidates Chinese character is ranked up according to sequence from high in the end;
Chinese character output module will be believed in all candidate Chinese characters with the description for the ranking results according to the sorting module The highest Chinese character of the matching degree of breath is exported according to specified mode in the designated position of alternative frame as target characters;
Display module, for showing in the alternative frame for triggering the prompt information for exporting all candidate Chinese characters;
Described device further include:
Detection module exports the operation of all candidate Chinese characters for detecting triggering;
The Chinese character output module is also used to detect that the triggering exports the operation of all candidate Chinese characters when the detection module When, all candidate Chinese characters are sequentially exported in screen.
10. device according to claim 9, which is characterized in that
The searching module is also used to search corresponding phrase using the phonetic of the Hanzi component as the phonetic of individual Chinese character;
The output module, further includes:
Phrase output module, the phrase found for exporting the searching module.
CN201510278629.7A 2015-05-27 2015-05-27 A kind of Chinese character input method and device Active CN104978045B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510278629.7A CN104978045B (en) 2015-05-27 2015-05-27 A kind of Chinese character input method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510278629.7A CN104978045B (en) 2015-05-27 2015-05-27 A kind of Chinese character input method and device

Publications (2)

Publication Number Publication Date
CN104978045A CN104978045A (en) 2015-10-14
CN104978045B true CN104978045B (en) 2019-07-05

Family

ID=54274617

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510278629.7A Active CN104978045B (en) 2015-05-27 2015-05-27 A kind of Chinese character input method and device

Country Status (1)

Country Link
CN (1) CN104978045B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115145446B (en) * 2016-03-25 2023-03-17 华为技术有限公司 Character input method, device and terminal
CN106774985A (en) * 2016-12-30 2017-05-31 维沃移动通信有限公司 A kind of literal processing method and mobile terminal
CN107329584A (en) * 2017-06-20 2017-11-07 努比亚技术有限公司 A kind of word input processing method, mobile terminal and computer-readable recording medium
CN107346183B (en) * 2017-06-29 2021-02-23 维沃移动通信有限公司 Vocabulary recommendation method and electronic equipment
CN114637406B (en) * 2020-12-15 2024-08-13 中国联合网络通信集团有限公司 Chinese character input display method and device
CN112698734B (en) * 2020-12-24 2024-04-26 维沃移动通信有限公司 Candidate word display method and device and electronic equipment
CN112632979A (en) * 2020-12-31 2021-04-09 上海臣星软件技术有限公司 Character generation method, device, equipment and medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101615084A (en) * 2009-08-11 2009-12-30 腾讯科技(深圳)有限公司 Chinese character input method and device
CN101930291A (en) * 2009-06-26 2010-12-29 罗宇翔 Simple input, search and study method of Chinese characters
CN102346557A (en) * 2010-07-28 2012-02-08 腾讯科技(深圳)有限公司 Input method and input method system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101038518B (en) * 2007-04-26 2010-12-01 周连惠 Chinese phonics input method
CN101825949B (en) * 2009-06-05 2013-06-19 王林 Chinese character input method for alphabetizing Chinese character component
CN102722257A (en) * 2009-07-22 2012-10-10 杨春华 Method for inputting Chinese characters by utilizing standard component codes
CN102830809B (en) * 2011-06-15 2016-05-11 高静敏 Encode method for entering Chinese characters

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101930291A (en) * 2009-06-26 2010-12-29 罗宇翔 Simple input, search and study method of Chinese characters
CN101615084A (en) * 2009-08-11 2009-12-30 腾讯科技(深圳)有限公司 Chinese character input method and device
CN102346557A (en) * 2010-07-28 2012-02-08 腾讯科技(深圳)有限公司 Input method and input method system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
搜狗拼音输入法技巧;高娟等;《电脑知识与技术》;20110131;第7卷(第3期);第690-691页

Also Published As

Publication number Publication date
CN104978045A (en) 2015-10-14

Similar Documents

Publication Publication Date Title
CN104978045B (en) A kind of Chinese character input method and device
CN110111787B (en) Semantic parsing method and server
US10841265B2 (en) Apparatus and method for providing information
EP4064276A1 (en) Method and device for speech recognition, terminal and storage medium
EP2990930B1 (en) Scraped information providing method and apparatus
CN107085479B (en) Method for providing handwriting style correction function and electronic device suitable for same
CN108242235A (en) Electronic equipment and its audio recognition method
US20180143802A1 (en) Method for processing various inputs, and electronic device and server for the same
US10691402B2 (en) Multimedia data processing method of electronic device and electronic device thereof
CN107657953A (en) Sound control method and system
KR20160015727A (en) Method and apparatus for visualizing music information
US20170249934A1 (en) Electronic device and method for operating the same
CN108958503A (en) input method and device
CN111970401B (en) Call content processing method, electronic equipment and storage medium
TWI554900B (en) Apparatus and method for providing information
CN109543014B (en) Man-machine conversation method, device, terminal and server
CN109144285A (en) A kind of input method and device
CN109799916A (en) A kind of candidate item association method and device
CN115859220A (en) Data processing method, related device and storage medium
CN113039513B (en) Recommendation method for candidate content of input method and electronic equipment
CN108536653A (en) A kind of input method, device and the device for input
CN104424324B (en) The method and device of locating list item in list element
CN109388249A (en) Input processing method, device, terminal and the readable storage medium storing program for executing of information
CN105450849B (en) Device and method for showing the preference of content in the electronic device
CN108628461A (en) A kind of input method and device, a kind of method and apparatus of update dictionary

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant