CN102063504A - Method, client and system for inputting Chinese characters online - Google Patents

Method, client and system for inputting Chinese characters online Download PDF

Info

Publication number
CN102063504A
CN102063504A CN2011100018586A CN201110001858A CN102063504A CN 102063504 A CN102063504 A CN 102063504A CN 2011100018586 A CN2011100018586 A CN 2011100018586A CN 201110001858 A CN201110001858 A CN 201110001858A CN 102063504 A CN102063504 A CN 102063504A
Authority
CN
China
Prior art keywords
server
input
user
word
speech
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.)
Pending
Application number
CN2011100018586A
Other languages
Chinese (zh)
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 CN2011100018586A priority Critical patent/CN102063504A/en
Publication of CN102063504A publication Critical patent/CN102063504A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method, client and system for inputting Chinese characters online, belonging to the technical field of computers. The method comprises the following steps of: monitoring user input of a client webpage, transmitting candidate word obtaining request information to a server according to the user input so as to make the server select the word according to the candidate word obtaining request information, and inputting the word selecting result into the client webpage. The embodiment of the invention realizes that user directly carries out the Chinese characters input operation in a webpage needing to input, and gets rid of the traditional process that the Chinese characters input operation must be carried out in a specific webpage and the output Chinese characters need to be copied into the webpage needing to input. On the other hand, the server can ensure that the user carries out the input of single letter, word and sentence by a multi-tuple probability calculation model and the single letter, the word and the sentence are more precisely matched with the letter combination input by the user so as to improve the degree of understanding of user input intension and also improve the input efficiency of the user and the input experience of the user.

Description

Method, client and the system of online input Chinese
Technical field
The present invention relates to input method field, particularly a kind of method, client and system of online input Chinese.
Background technology
Along with the development of Internet technology, the popularizing of cloud computing technology, increasing web application will replace traditional stand-alone application program.Online input method is exactly a kind of server and webpage programming technique of utilizing, the process of input method being got speech is placed on the server, with the Chinese web application of a kind of online input of realizing accurate matching candidate speech of server powerful calculating ability and storage capacity.
The conventional online input method is to realize online input in Chinese by the page that a website provides.The user when the needs input characters, to arrive earlier appointment the page carry out the input of literal, then the literal of this page output is duplicated and copies to the user and need in the page of input characters and finish input process.
In realizing process of the present invention, the inventor finds that there is following problem at least in prior art:
The user can not directly carry out input operation in the prior art in the webpage of needs input, need import and word selection in the wire side of special use.Also need input results duplicated and copy to the process that just can finish whole input in the input frame of the webpage that the user imports.Make that user's input speed is slow, the input process inconvenience, user's input is simultaneously experienced also very undesirable.
Summary of the invention
In order to solve in the prior art problem that the page that each input all will arrive appointment carries out input in Chinese.The embodiment of the invention has proposed method, client and the system of online input Chinese.Described technical scheme is as follows:
The embodiment of the invention has proposed a kind of method of online input in Chinese, comprising:
Monitor user's input of client terminal web page;
Obtain the prepare word solicited message according to described user's input to the server transmission, make server get speech according to the described prepare word solicited message of obtaining;
The described speech result that gets is outputed to described client terminal web page.
Preferred as technique scheme, the described transmission to server according to described user's input obtained the prepare word solicited message, comprising:
Whenever described user carries out input operation, obtain the prepare word solicited message to what server sent a letter that comprises all users' inputs or monogram in real time.
Preferred as technique scheme, described server is got speech according to the described prepare word solicited message of obtaining, and comprising:
Server is determined the pairing polynary group of probability calculation model of described monogram number according to the described monogram number that obtains in the prepare word solicited message, gets speech according to the probability calculation model of described correspondence.
Preferred as technique scheme, user's input of described monitoring client terminal web page also comprises before:
The info web of gathering described client terminal web page in advance is sent to server, makes server select a dictionary that mates most with described info web, is used for getting speech according to the described prepare word solicited message of obtaining.
Preferred as technique scheme, the described transmission to server according to described user's input obtained the prepare word solicited message, makes server get speech according to the described prepare word solicited message of obtaining, and also comprises afterwards:
Send the parameter that prepare word is chosen custom to server, make server carry out the adjustment that prepare word is chosen according to described parameter.
Preferred as technique scheme, described method also comprises:
Select the speech result that the server dictionary is carried out overall word frequency adjustment according to the user.
The embodiment of the invention has also proposed a kind of client of online input in Chinese, comprising:
Monitor module, be used to monitor user's input of client terminal web page;
Sending module is used for obtaining the prepare word solicited message according to described user's input to the server transmission;
Output module is used for outputing to described client terminal web page with getting the speech result.
Preferred as technique scheme, described sending module comprises at least:
Described sending module specifically is used for whenever described user carries out input operation, obtains the prepare word solicited message to what server sent a letter that comprises all users' inputs or monogram in real time.
Preferred as technique scheme, described client also comprises:
Pretreatment module, the info web that is used for gathering in advance described client terminal web page is sent to server, makes server select a dictionary that mates most with described info web, is used for getting speech according to the described prepare word solicited message of obtaining.
Preferred as technique scheme, described client also comprises:
Module is set, is used for sending the parameter that prepare word is chosen custom to server.
The embodiment of the invention has also proposed a kind of system of online input in Chinese, comprising: client and server; It is characterized in that described client comprises:
Monitor module, be used to monitor user's input of client terminal web page;
Sending module is used for obtaining the prepare word solicited message according to described user's input to the server transmission;
Output module is used for outputing to described client terminal web page with getting the speech result.
Described server comprises:
Get the speech module, be used to receive that client sends obtains the prepare word solicited message, get speech according to the described prepare word solicited message of obtaining.
Preferred as technique scheme, described sending module comprises at least:
Described sending module specifically is used for whenever described user carries out input operation, obtains the prepare word solicited message to what server sent a letter that comprises all users' inputs or monogram in real time.
Preferred as technique scheme, the described speech module of getting comprises at least:
The described speech module of getting specifically is used for server according to the described monogram number that obtains the prepare word solicited message, determines the pairing polynary group of probability calculation model of described monogram number, gets speech according to the probability calculation model of described correspondence.
Preferred as technique scheme, described client also comprises:
Pretreatment module, the info web that is used for gathering in advance described client terminal web page is sent to server, makes server select a dictionary that mates most with described info web, is used for getting speech according to the described prepare word solicited message of obtaining.
Preferred as technique scheme, described client also comprises:
Module is set, is used for sending the parameter that prepare word is chosen custom to server.
Preferred as technique scheme, described server also comprises:
First adjusting module, the parameter that is used for choosing according to the prepare word that described client sends custom is carried out the adjustment of prepare word.
Preferred as technique scheme, described server also comprises:
Second adjusting module is used for selecting the speech result that the server dictionary is carried out overall word frequency adjustment according to client.
Preferred as technique scheme, described server also comprises:
Update module is used for server and searches popular vocabulary automatically and carry out Word library updating.
The beneficial effect of the technical scheme that the embodiment of the invention provides is: by the user who monitors client terminal web page is imported, obtain the prepare word solicited message according to described user's input to the server transmission, make server get speech, and the described speech result that gets is outputed to described client terminal web page according to the described prepare word solicited message of obtaining.Realized that the user directly carries out the operation of input in Chinese in the page that needs are imported, broken away from and traditional must in particular webpage, carry out input in Chinese, also need will output literal copy process in the webpage that need import to.On the other hand, server is by polynary group of probability calculation model, can make the user carry out the input of individual character, speech, sentence, simultaneously more accurate monogram with user's input mates, improve the degree of understanding of the user being imported intention, and improved the efficient of user's input and user's input experience.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the method flow synoptic diagram of the online input in Chinese that provides for the embodiment of the invention 1;
Fig. 2 is the method flow synoptic diagram of the online input in Chinese that provides for the embodiment of the invention 2;
Fig. 3 is the apparatus structure synoptic diagram of the online input in Chinese that provides for the embodiment of the invention 3;
Fig. 4 is the apparatus structure synoptic diagram of the online input in Chinese that provides for the embodiment of the invention 4;
Fig. 5 is the apparatus structure synoptic diagram of the online input in Chinese that provides for the embodiment of the invention 5;
Fig. 6 is the apparatus structure synoptic diagram of the online input in Chinese that provides for the embodiment of the invention 6.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, embodiment of the present invention is described further in detail below in conjunction with accompanying drawing.
Embodiment 1
First embodiment of the invention has proposed a kind of method of online input in Chinese, and its flow process comprises as shown in Figure 1:
Step 101: user's input of monitoring client terminal web page;
Step 102: obtain the prepare word solicited message according to described user's input to the server transmission, make server get speech according to the described prepare word solicited message of obtaining;
Step 103: the described speech result that gets is outputed to described client terminal web page.
In the embodiment of the invention, by the user who monitors client terminal web page is imported, obtain the prepare word solicited message according to described user's input to the server transmission, make server get speech, and the described speech result that gets is outputed to described client terminal web page according to the described prepare word solicited message of obtaining.Realized that the user directly carries out the operation of input in Chinese in the page that needs are imported, broken away from and traditional must in particular webpage, carry out Chinese individual character input, also need will output literal copy process in the webpage that need import to.Improve the efficient of user's input, and improved user's input experience.
Embodiment 2
Second embodiment of the invention is the further proof to first embodiment, and its flow process comprises as shown in Figure 2:
Step 201: user's input of monitoring client terminal web page.
Concrete, in client terminal web page, generate online input method in the present embodiment and the content that the user imported is monitored.Therefore, step 201 can be specially:
Step 2011: storage in advance starts the link of the code of input method.
Concrete, the user is before using online input method, and the link that will start the code of online input method in advance is kept in the collection of browser.
Further, when the user at browsing page and need in webpage, use input method when Chinese input, only need in browser collection folder, to click this link, carry out code wherein, and then start online input method and make the user carry out input operation.
This link is different from general network address, and it is made up of one section JavaScript (client script language) code.JavaScript is a kind of OO, descriptive client script language, can be inserted in HTML (HTML (Hypertext Markup Language)) code, by browser resolves and operation.Use JavaScript can in webpage, create dynamic effect, and can carry out interaction with user or server.The common ground of script all is to act on client, allows the browser resolves of client also carry out.After clicking this link, browser can resolve and carry out linking pairing code, the effect of this section code is to guide browser to obtain the JavaScript file of latest edition by CDN (Content Delivery Network, the content distributing network) server of the online input method of links and accesses of appointment.The CDN server is by increasing the new network architecture of one deck in existing Internet, with the content release of website near user's network " edge ", make the user can obtain required content nearby, solve the situation of Internet network congestion, improve the response speed of user capture website.
Step 2012: obtain online input method procedure file.
Concrete, from the CDN server of online input method, obtain the JavaScript file of latest edition, these JavaScript file storage be to be used for generating status bar, input field, the candidate word hurdle of input method and the interactive interface such as status bar of the various attributes of input being set and constituting the script language code of online input method in client.
Step 2013: start online input method and generate input method, and monitor user's input of client terminal web page.
Concrete, browser is after getting access to the client JavaScript file of online input method, the JavaScript code is resolved and carried out, carry out generating on the page of input characters the status bar of online input method at described needs, comprise the basic setup of input method in this interface, switching push button as the Chinese and English input, the switching push button of double byte character and half-angle character, the switching push button of simplified form of Chinese Character and Chinese-traditional input, the switching push button of Chinese and english punctuation mark, the shift knob that attribute is provided with is clicked attribute button is set, and can generate the interface that input habit is provided with the hurdle.When the user carries out input operation, can generate the interface on input field and candidate word hurdle.After client browser generates online input method, can catch user's input by the key-press event in the input field in the monitoring webpage, and the content that the user imported is shown in the input field of online input method.
Further, in the prior art, need a particular Web page to carry out the literal input, the literal that need export behind word selection duplicates and copies in the page that needs input characters just can finish input process.The present invention has changed this loaded down with trivial details input process fully, directly carries out input operation in the page that needs are imported, and can realize the input of the various input modes of word, word, whole word, whole section words.Simultaneously can provide more intelligent candidate word for the user according to the webpage environment.
Compare with traditional unit input method, the present invention need not download and install the client application of input method.And because server powerful computing ability and storage capacity make the user obtain the incomparable input of unit input method and experience.
Step 2014: the info web of gathering described client terminal web page in advance is sent to server, makes server select a dictionary that mates most with described info web, is used for getting speech according to the described prepare word solicited message of obtaining.
Concrete, after online input method initialization finished, client can and report server with the real-time webpage environment collection in the webpage of place.Described webpage environment is meant that the user carries out the Word message in the webpage of input operation, and server can therefrom be found out key word from these Word messages, calculates the dictionary that mates most with the current web page environment by key word.When the user carries out input process, the intelligence of server is got the speech server and is screened by the most suitable dictionary of input this time that matches in advance, dwindled the speech scope of selecting, imported the word of intention, the time of having improved the matching candidate speech matching the user as far as possible accurately.When the user was switched the page, client can report current webpage environment again, and server can recomputate and provide the dictionary of coupling according to the new webpage environment of gathering.This step is optionally, also can not carry out the operation of this step.
Further, client JavaScript code reports this process of webpage environment, and need not that webpage is carried out refresh operation can communicate with online input method server.What this process was used is AJAX (Asynchronous JavaScript and XML, asynchronous JavaScript and XML) asynchronous communications.The tradition web application all uses the request model to obtain the data of client-requested from server, the principle of work of AJAX asynchronous communications can be regarded as and add a middle layer between user and server, the user is operated and server response asynchronization, it provides the agreement of client with the server asynchronous communication, by this agreement, AJAX can make the page carry out the exchange of data plane with server as desktop programs, just can or read and write data to Server Transport and need not to refresh the page, also need not server be submitted in the work of data processing at every turn and be done, so promptly alleviate load of server and accelerated response speed again, shortened user's waiting time.The AJAX asynchronous communications belongs to prior art, this is not made qualification in the embodiment of the invention.
Step 202: obtain the prepare word solicited message according to described user's input to the server transmission, make server get speech according to the described prepare word solicited message of obtaining.
Concrete, client is sent to server with letter that the user imported or monogram and gets speech.Therefore step 202 can be specially:
Step 2021: whenever described user carries out input operation, obtain the prepare word solicited message to what server sent a letter that comprises all users' inputs or monogram in real time.
Concrete, the dictionary storage of online input method and intelligence are got speech calculating and are all finished on extensive server cluster, these servers not only storage capacity are huge, and processor performance is superpower, and the speech of getting that can support thousands of user to carry out online input simultaneously calculates.User side only need send on the server cluster then the waiting for server cluster to complicated calculation task request by network and return result of calculation and get final product.When the user began to carry out input operation, online input method can be monitored the letter of user's input in the key-press event, and the letter that the user imported is presented in the input field of input method.By the AJAX asynchronous communications, letter or monogram according to user's input generate a request of obtaining prepare word to server, and client is asked the asynchronous server that is sent to this.The intelligence of server is got letter or the monogram of speech server meeting according to user's input of sending, and gets speech in conjunction with the dictionary that user's webpage environment that described client reports is matched.The user uses phonetic input Chinese, input form each of a literal alphabetical in, from the input first letter to import the formation this literal each alphabetical process, client is to the record that carries out of user's input, and real-time the input condition of word is got speech request to server since first letter to the monogram transmission one by one of a letter of every increase with user's input according to the user, the number of times that sends request promptly constitutes the number of the phonetic alphabet of this literal or word, server can carry out participle according to getting the speech request monogram with each bar request one by one, and return each bar request get the speech result.If the situation of input error is arranged in the process of input, letter by backspace key deletion input error, behind letter of every deletion, client also can send one and comprise the user and import the solicited message of obtaining prepare word of all letters to server, these monograms are got speech, and return client.Online input method not only comprises spelling input method, this is not made qualification in the embodiment of the invention.
Further, in the application of prior art, be in the page that a website provides, to realize simple input based on the phonetic individual character.The user will want the literal imported one by one input and select speech respectively after, the result that will export copies in the input frame that need carry out the literal input again.This method can not be carried out the whole sentence of literal, whole section input, and can not directly import at the required page of importing, and needs the special-purpose page could export word selection, and efficient is very low.
Traditional unit input method, the user carries out the input of whole sentence, whole section even entire article through regular meeting when input characters, do not carry out the process of choosing of candidate word midway.Because the singularity of Chinese phonetically similar word, input method wants to export the accurate result that meets user's request, necessarily requires the user to select for the individual character of each input in theory.And wanting to allow input method promote efficient, rational solution is first cis-position that result the most accurately is presented at the candidate word hurdle as far as possible " intellectuality ".To judgements such as common phrase, context of co-texts is that traditional unit input method is used to the important way that determines that candidate word puts in order, theoretically, the Pinyin code of user's input is long more, input method is imported the understanding of intention for the user also should be clear more, all Pinyin codes of supposing user's input can both be transfused to the method accurate recognition, the accuracy rate of importing a whole word so should be far above the accuracy rate of a word of input, and the efficient of input will improve greatly.
But be subject to the objective factors such as computing power, character library of unit input method, traditional unit input method is being difficult to accomplish something aspect the input of whole sentence.Because word of the every many inputs of user, the calculating that requires input method to make just increases by geometric progression.Exactly because also such reason although " whole sentence is judged " is to improve the most effective way of accuracy in theory, is difficult to realize on the unit input method.Online input method can be ignored these restrictions fully, because computing power and storage capacity with respect to unit, what server adopted is the storage and the computing power of extensive server cluster, and with respect to the dictionary capacity of unit input method, server also is that great advantage is arranged.The dictionary capacity of storage is big, can accomplish no matter be different styles such as spoken language, ancient Chinese prose, prose, modern literary composition, poetry, still be different field such as politics, economy, physical culture, amusement, can both be exhaustive, and complete.Authority's entry, the high frequency spoken language, the dialect slang, specialized vocabularies etc. can completely be included dictionary in and not be subjected to any restriction.The popular vocabulary of search in network that server also can be real-time simultaneously, popular vocabulary is carried out real-time being updated in the dictionary behind the collating sort, can also collect the word information that selects of user's input, word frequency to word in the dictionary is carried out real-time adjustment, can improve the intelligent and relevance that the user gets speech thus.The client that the user uses is a terminal, and all complex calculations are all handled by server, and therefore online input method can realize whole sentence, even the entire article input, and the accuracy rate of input has great raising than prior art unit input method.
Step 2022: send the parameter that prepare word is chosen custom to server, make server carry out the adjustment that prepare word is chosen according to described parameter.
Concrete, the user can carry out the adjustment of setting option respectively according to input habit and hobby.This step is optionally, also can not carry out the operation of this step.Therefore, step 2022 can be specific as follows:
Step 20221: the adjusted parameter of input habit is attached in the solicited message of obtaining prepare word is sent to server.
Concrete, the user can carry out the setting of concrete setting option by personal input habit.For example: to the unlatching of fuzzy sound or close setting, the setting of every page of candidate word number, the input of the simplified or complex form of Chinese characters.The user is after having carried out being provided with of input habit, and when importing, client can append to the setting of user's change in the solicited message of obtaining prepare word with the form of parameter and be sent to server next time.Server can carry out the concrete change that is provided with according to parameter additional in the solicited message, then the candidate word result is screened again, generates suitable user and the candidate word of custom is set and returns client.Input habit setting option content and parameter are as shown in table 1:
Figure BDA0000042884810000091
Table 1
Step 20222: adjust setting and regenerate the client interactive interface.
Concrete, the user also can be provided with the interactive interface of client according to the hobby of oneself.For example: the display mode of candidate word horizontally-arranged or vertical setting of types, the size of candidate word font increases the setting of text decoration for candidate word.After having changed client end interface hobby and being provided with, online input method can read configuration file according to the project of change again and then again generation is carried out at the interface, improves user's experience with more friendly interactive interface.
Step 2023: server is determined the pairing polynary group of probability calculation model of described monogram number according to the described monogram number that obtains in the prepare word solicited message, gets speech according to the probability calculation model of described correspondence.
Concrete, get speech CGI (Common Gate Interface by server, CGI (Common gateway interface)) reception is from the speech request of getting of client, and the different input method according to client is selected is sent to corresponding intelligence respectively with the solicited message of obtaining prepare word and gets the speech server.Described intelligence is got the speech server and is carried out participle according to the monogram that user in the solicited message imports, and gets speech in conjunction with the dictionary that the webpage environment that reports is mated.
Further, the probability calculation model that is based on " two tuples " that traditional unit input method is used, promptly the probability that two adjacent word relations are occurred calculates, export two words of probability of occurrence maximum at last, this computing method are confined to the scale of word and the calculating storage capacity of machine, on counting yield and effect, all can not be satisfactory.For example input " alleviation working pressure ", carry out the output result that the unit input method of word output obtains by binary probability calculation model and be " change-session working pressure ", this is because input method is calculated by the word of binary probability calculation model to all unisonances of change-session and these two speech of work, drawing change-session is the highest binary combination of probability of occurrence with these two speech of work, but but the contact of alleviation and these two speech of pressure can't be embodied.Online input method can remedy the limitation of binary probability calculation model, by server powerful computing ability and storage capacity, except using binary probability calculation model to get speech, can also be by polynary group probability of tlv triple even the combination of more words being stored and when calculating whole probability, being used.
With spelling input method, polynary group of probability calculation model is to calculate by the word pinyin combinations more than three or three of user's input is carried out correlation probabilities, and the highest word combination of posterior probability is calculated in output in the pinyin combinations of all unisonances.Theoretically, the combination that the word correlation probabilities is calculated is many more, and the accuracy that input method is calculated resulting word combination in back or sentence is high more, meets importer's input intention more.Above example is an example, and polynary group of probability calculation model can be to alleviating work, the phonetic of these three speech of pressure carries out correlation probabilities and calculates, in the pinyin combinations of numerous unisonances, the sentence probability of occurrence that can find these three speech to constitute is the highest, is to meet the user most to import intention.A kind of more rational whole sentence method for calculating probability of polynary group computing method, the contact before and after further having strengthened between the speech, what make that input method can export higher accuracy gets the speech result.
Step 203: the described speech result that gets is outputed to described client terminal web page.
Concrete, intelligence is got the speech server and will be got the speech result and be converted into the JSON data layout, returns to client.The JSON data layout is a kind of data interchange format of lightweight, is very suitable for the mutual of server and client JavaScript.The candidate word of returning is shown in the candidate word hurdle of online input method according to the word frequency order.This moment, online input method can be selected to monitor to the candidate word that the user carried out, after the user selects to meet in candidate word and oneself imports the word of intention, user-selected candidate word can be adjusted back in the input field that the user imported on the webpage, simultaneously input field and candidate word hurdle are hidden, waited for user's input operation again.
Step 204: select the speech result that the server dictionary is carried out overall word frequency adjustment according to the user.
Concrete, online input method recording user select word information, the word information that selects that will be recorded in client by the AJAX asynchronous communications is sent to server.The word order of server dictionary can change according to user's word operating position, improves the word frequency of common wordss, makes that getting speech efficient is further enhanced.This step is optionally, also can not carry out the operation of this step.Therefore, step 204 can be specific as follows:
Step 2041: obtain the user and select word information.
Concrete, the JavaScript program of client can be noted user's the word information that selects, and can select speech number of times or service time according to what pre-set, and the user selected word information to be sent to server to handle.Report CGI to receive the user who reports from client by server and select word information.The triggerings such as speech number of times or service time of selecting that pre-set report the condition of selecting word information, this are not made qualification in the embodiment of the invention.
Step 2042: select the speech result to carry out word frequency of utilization statistics according to the user.
Concrete, select word information to gather all users that collect, carry out the user and select the speech statistics, according to the operating position of user to word, word to frequent use carries out frequency modulation, make it obtain higher word frequency, the position candidate in the candidate word tabulation that returns to the user can be more forward than its original position.
On the other hand, the information of collecting can be sent to online statistical server, the online number of users of online input method is added up, and then online input method is optimized processing.For example,, guarantee that the resource utilization of server obtains utilizing the most efficiently to itself and being connected of server cutting off processing to long-time client on the shelf.
Step 2043: according to the word frequency of described statistics update service device dictionary.
Concrete, select word information to be updated in the dictionary of server the user after the adjustment word frequency, the word frequency in the server dictionary is realized real-time renewal, at any time the word frequency of dictionary is made rational adjustment.The user is when carrying out the literal input, and server matches real-time adjusted word frequency according to user's input, by the order of the word frequency after the real-time update candidate word is returned to client and chooses in order to the user.
Step 205: server is searched popular vocabulary automatically and is carried out Word library updating.
Concrete, server is by the real-time popular vocabulary of search in network of dictionary collection arrangement server, and popular vocabulary carried out real-time being updated in the dictionary server behind the collating sort, and adjust the word frequency of word in the dictionary server, need not to wait for that popular vocabulary frequently imported back server heightening its word frequency by the user, thereby it is higher to make the user get the intelligent and relevance of speech, improved the efficient that server is got speech thus, and user's experience is improved also.This step is optionally, also can not carry out the operation of this step.
The beneficial effect of the technical scheme that the embodiment of the invention provides is: by the user who monitors client terminal web page is imported, obtain the prepare word solicited message according to described user's input to the server transmission, make server get speech, and the described speech result that gets is outputed to described client terminal web page according to the described prepare word solicited message of obtaining.Realized that the user directly carries out the operation of input in Chinese in the page that needs are imported, broken away from and traditional must in particular webpage, carry out input in Chinese, also need will output literal copy process in the webpage that need import to.On the other hand, server is by polynary group of probability calculation model, can make the user carry out the input of individual character, speech, sentence, simultaneously more accurate monogram with user's input mates, improve the degree of understanding of the user being imported intention, and improved the efficient of user's input and user's input experience.
Embodiment 3
Third embodiment of the invention has proposed a kind of client of online input in Chinese, and its structure comprises as shown in Figure 3:
Monitor module 1, be used to monitor user's input of client terminal web page;
Sending module 2 is used for obtaining the prepare word solicited message according to described user's input to the server transmission;
Output module 3 is used for outputing to described client terminal web page with getting the speech result.
In the embodiment of the invention, by the user who monitors client terminal web page is imported, obtain the prepare word solicited message according to described user's input to the server transmission, make server get speech, and the described speech result that gets is outputed to described client terminal web page according to the described prepare word solicited message of obtaining.Realized that the user directly carries out the operation of input in Chinese in the page that needs are imported, broken away from and traditional must in particular webpage, carry out Chinese individual character input, also need will output literal copy process in the webpage that need import to.Improve the efficient of user's input, and improved user's input experience.
Embodiment 4
Fourth embodiment of the invention has proposed a kind of client of online input in Chinese, be further proof to the 3rd embodiment, its structure as shown in Figure 4, the device of online input in Chinese comprises: monitor module 1, sending module 2 and output module 3, can also comprise pretreatment module 4, module 5 is set.
Monitor module 1, be used to monitor user's input of client terminal web page.
Monitoring module 1 can specifically comprise:
Pre-stored unit 11 is used for storing in advance the link of the code that starts input method.
First acquiring unit 12 is used to obtain online input method procedure file.
Monitoring unit 13 is used for generating input method in client, and monitors user's input of client terminal web page.
Pretreatment module 4, the info web that is used for gathering in advance described client terminal web page is sent to server, makes server select a dictionary that mates most with described info web, is used for getting speech according to the described prepare word solicited message of obtaining.
Sending module 2 is used for obtaining the prepare word solicited message according to described user's input to the server transmission, makes server get speech according to the described prepare word solicited message of obtaining.
Can specifically be used for whenever described user carries out input operation, obtain the prepare word solicited message to what server sent a letter that comprises all users' inputs or monogram in real time.
Module 5 is set, is used for sending the parameter that prepare word is chosen custom to server.
Module 5 is set can specifically be comprised:
First is provided with unit 51, is used for that the adjusted parameter of input habit is attached to the solicited message of obtaining prepare word and is sent to server.
Second is provided with unit 52, is used for adjusting being provided with regenerating the client interactive interface.
Output module 3 is used for outputing to described client terminal web page with getting the speech result.
In the embodiment of the invention, by the user who monitors client terminal web page is imported, obtain the prepare word solicited message according to described user's input to the server transmission, make server get speech, and the described speech result that gets is outputed to described client terminal web page according to the described prepare word solicited message of obtaining.Realized that the user directly carries out the operation of input in Chinese in the page that needs are imported, broken away from and traditional must in particular webpage, carry out Chinese individual character input, also need will output literal copy process in the webpage that need import to.Improve the efficient of user's input, and improved user's input experience.
The client of the embodiment of the invention third and fourth embodiment, identical with the design of the method for aforesaid first and second embodiment with principle, so in third and fourth embodiment to first and second embodiment in identical part repeat no more.
Embodiment 5
Fifth embodiment of the invention has proposed a kind of terminal login system, and its structure comprises as shown in Figure 5: client 1 and server 2;
Wherein, client 1 comprises:
Monitor module 11, be used to monitor user's input of client terminal web page.
Pretreatment module 12, the info web that is used for gathering in advance described client terminal web page is sent to server, makes server select a dictionary that mates most with described info web, is used for getting speech according to the described prepare word solicited message of obtaining.
Sending module 13 is used for obtaining the prepare word solicited message according to described user's input to the server transmission.
Module 14 is set, is used for sending the parameter that prepare word is chosen custom to server.
Output module 15 is used for outputing to described client terminal web page with getting the speech result.
Wherein, server 2 comprises:
Get speech module 21, be used to receive that client sends obtains the prepare word solicited message, get speech according to the described prepare word solicited message of obtaining.
First adjusting module 22, the parameter that is used for choosing according to the prepare word that described client sends custom is carried out the adjustment of prepare word.
Second adjusting module 23 is used for selecting the speech result that the server dictionary is carried out overall word frequency adjustment according to client.
Update module 24 is used for server and searches popular vocabulary automatically and carry out Word library updating.
The beneficial effect of the technical scheme that the embodiment of the invention provides is: by the user who monitors client terminal web page is imported, obtain the prepare word solicited message according to described user's input to the server transmission, make server get speech, and the described speech result that gets is outputed to described client terminal web page according to the described prepare word solicited message of obtaining.Realized that the user directly carries out the operation of input in Chinese in the page that needs are imported, broken away from and traditional must in particular webpage, carry out input in Chinese, also need will output literal copy process in the webpage that need import to.On the other hand, server is by polynary group of probability calculation model, can make the user carry out the input of individual character, speech, sentence, simultaneously more accurate monogram with user's input mates, improve the degree of understanding of the user being imported intention, and improved the efficient of user's input and user's input experience.
Embodiment 6
Sixth embodiment of the invention has proposed a kind of terminal login system, is the further proof to the 5th embodiment, and its structure comprises as shown in Figure 6: terminal 1 and server 2;
Wherein, client 1 comprises:
Monitor module 11, be used to monitor user's input of client terminal web page.
Monitoring module 11 can specifically comprise:
Pre-stored unit 111 is used for storing in advance the link of the code that starts input method.
First acquiring unit 112 is used to obtain online input method procedure file.
Monitoring unit 113 is used for generating input method in client, and monitors user's input of client terminal web page.
Pretreatment module 12, the info web that is used for gathering in advance described client terminal web page is sent to server, makes server select a dictionary that mates most with described info web, is used for getting speech according to the described prepare word solicited message of obtaining.
Sending module 13 is used for obtaining the prepare word solicited message according to described user's input to the server transmission, makes server get speech according to the described prepare word solicited message of obtaining.
Can specifically be used for whenever described user carries out input operation, obtain the prepare word solicited message to what server sent a letter that comprises all users' inputs or monogram in real time.
Module 14 is set, is used for sending the parameter that prepare word is chosen custom to server.
Module 14 is set can specifically be comprised:
First is provided with unit 141, is used for that the adjusted parameter of input habit is attached to the solicited message of obtaining prepare word and is sent to server.
Second is provided with unit 142, is used for adjusting being provided with regenerating the client interactive interface.
Output module 15 is used for outputing to described client terminal web page with getting the speech result.
Wherein, server 2 comprises:
Get speech module 21, be used to receive that client sends obtains the prepare word solicited message, get speech according to the described prepare word solicited message of obtaining.
Specifically be used for server according to the described monogram number that obtains the prepare word solicited message, determine the pairing polynary group of probability calculation model of described monogram number, get speech according to the probability calculation model of described correspondence.
First adjusting module 22, the parameter that is used for choosing according to the prepare word that described client sends custom is carried out the adjustment of prepare word.
Second adjusting module 23 is used for selecting the speech result that the server dictionary is carried out overall word frequency adjustment according to client.
Second adjusting module 23 can for:
Second acquisition unit 231 is used to obtain the user and selects word information.
Statistic unit 232 is used for selecting the speech result to carry out word frequency of utilization statistics according to the user.
Adjustment unit 233 is used for the word frequency according to described statistics update service device dictionary.
Update module 3 is used for server and searches popular vocabulary automatically and carry out Word library updating.
The beneficial effect of the technical scheme that the embodiment of the invention provides is: by the user who monitors client terminal web page is imported, obtain the prepare word solicited message according to described user's input to the server transmission, make server get speech, and the described speech result that gets is outputed to described client terminal web page according to the described prepare word solicited message of obtaining.Realized that the user directly carries out the operation of input in Chinese in the page that needs are imported, broken away from and traditional must in particular webpage, carry out input in Chinese, also need will output literal copy process in the webpage that need import to.On the other hand, server is by polynary group of probability calculation model, can make the user carry out the input of individual character, speech, sentence, simultaneously more accurate monogram with user's input mates, improve the degree of understanding of the user being imported intention, and improved the efficient of user's input and user's input experience.
The embodiment of the invention the 5th and the 6th system, identical with the method design of aforesaid first and second embodiment with principle, so the 5th with the 6th embodiment in to first and second embodiment in identical part repeat no more.
If the described integrated unit of the embodiment of the invention is realized with the form of SFU software functional unit and during as independently production marketing or use, also can be stored in the computer read/write memory medium.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in the storage medium, comprise that some instructions are with so that a computer equipment (can be a personal computer, website, the perhaps network equipment etc.) carry out all or part of of the described method of each embodiment of the present invention.And aforesaid storage medium comprises: various media that can be program code stored such as USB flash disk, portable hard drive, ROM (read-only memory) (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD.
Below only be preferred embodiment of the present invention, or not within the spirit and principles in the present invention not all in order to restriction the present invention, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (18)

1. the method for an online input Chinese is characterized in that described method comprises:
Monitor user's input of client terminal web page;
Obtain the prepare word solicited message according to described user's input to the server transmission, make server get speech according to the described prepare word solicited message of obtaining;
The described speech result that gets is outputed to described client terminal web page.
2. the method for a kind of online input Chinese according to claim 1 is characterized in that, the described transmission to server according to described user's input obtained the prepare word solicited message, comprising:
Whenever described user carries out input operation, obtain the prepare word solicited message to what server sent a letter that comprises all users' inputs or monogram in real time.
3. the method for a kind of online input Chinese according to claim 1 is characterized in that described server is got speech according to the described prepare word solicited message of obtaining, and comprising:
Server is determined the pairing polynary group of probability calculation model of described monogram number according to the described monogram number that obtains in the prepare word solicited message, gets speech according to the probability calculation model of described correspondence.
4. the method for a kind of online input Chinese according to claim 1 is characterized in that, user's input of described monitoring client terminal web page also comprises before:
The info web of gathering described client terminal web page in advance is sent to server, makes server select a dictionary that mates most with described info web, is used for getting speech according to the described prepare word solicited message of obtaining.
5. the method for a kind of online input Chinese according to claim 1, it is characterized in that, the described transmission to server according to described user's input obtained the prepare word solicited message, makes server get speech according to the described prepare word solicited message of obtaining, and also comprises afterwards:
Send the parameter that prepare word is chosen custom to server, make server carry out the adjustment that prepare word is chosen according to described parameter.
6. the method for a kind of online input Chinese according to claim 1 is characterized in that described method also comprises:
Select the speech result that the server dictionary is carried out overall word frequency adjustment according to the user.
7. the client of an online input Chinese is characterized in that described device comprises:
Monitor module, be used to monitor user's input of client terminal web page;
Sending module is used for obtaining the prepare word solicited message according to described user's input to the server transmission, makes server get speech according to the described prepare word solicited message of obtaining;
Output module is used for outputing to described client terminal web page with getting the speech result.
8. the client of a kind of online input Chinese according to claim 7, it is characterized in that, described sending module specifically is used for whenever described user carries out input operation, obtains the prepare word solicited message to what server sent a letter that comprises all users' inputs or monogram in real time.
9. the client of a kind of online input Chinese according to claim 7 is characterized in that described device also comprises:
Pretreatment module, the info web that is used for gathering in advance described client terminal web page is sent to server, makes server select a dictionary that mates most with described info web, is used for getting speech according to the described prepare word solicited message of obtaining.
10. the client of a kind of online input Chinese according to claim 7 is characterized in that described device also comprises:
Module is set, is used for sending the parameter that prepare word is chosen custom to server.
11. the system of an online input Chinese comprises: client and server; It is characterized in that described client comprises:
Monitor module, be used to monitor user's input of client terminal web page;
Sending module is used for obtaining the prepare word solicited message according to described user's input to the server transmission;
Output module is used for outputing to described client terminal web page with getting the speech result;
Described server comprises:
Get the speech module, be used to receive that client sends obtains the prepare word solicited message, get speech according to the described prepare word solicited message of obtaining.
12. the system of a kind of online input Chinese according to claim 11, it is characterized in that, described sending module specifically is used for whenever described user carries out input operation, obtains the prepare word solicited message to what server sent a letter that comprises all users' inputs or monogram in real time.
13. the system of a kind of online input Chinese according to claim 11, it is characterized in that, the described speech module of getting specifically is used for server according to the described monogram number that obtains the prepare word solicited message, determine the pairing polynary group of probability calculation model of described monogram number, get speech according to the probability calculation model of described correspondence.
14. the system of a kind of online input Chinese according to claim 11 is characterized in that described client also comprises:
Pretreatment module, the info web that is used for gathering in advance described client terminal web page is sent to server, makes server select a dictionary that mates most with described info web, is used for getting speech according to the described prepare word solicited message of obtaining.
15. the system of a kind of online input Chinese according to claim 11 is characterized in that described client also comprises:
Module is set, is used for sending the parameter that prepare word is chosen custom to server.
16. the system of a kind of online input Chinese according to claim 11 is characterized in that described server also comprises:
First adjusting module, the parameter that is used for choosing according to the prepare word that described client sends custom is carried out the adjustment of prepare word.
17. the system of a kind of online input Chinese according to claim 11 is characterized in that described server also comprises:
Second adjusting module is used for selecting the speech result that the server dictionary is carried out overall word frequency adjustment according to client.
18. the system of a kind of online input Chinese according to claim 11 is characterized in that described server also comprises:
Update module is used for server and searches popular vocabulary automatically and carry out Word library updating.
CN2011100018586A 2011-01-06 2011-01-06 Method, client and system for inputting Chinese characters online Pending CN102063504A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011100018586A CN102063504A (en) 2011-01-06 2011-01-06 Method, client and system for inputting Chinese characters online

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011100018586A CN102063504A (en) 2011-01-06 2011-01-06 Method, client and system for inputting Chinese characters online

Publications (1)

Publication Number Publication Date
CN102063504A true CN102063504A (en) 2011-05-18

Family

ID=43998779

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011100018586A Pending CN102063504A (en) 2011-01-06 2011-01-06 Method, client and system for inputting Chinese characters online

Country Status (1)

Country Link
CN (1) CN102063504A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102419643A (en) * 2011-10-26 2012-04-18 南京华设科技有限公司 Method and system for remotely entering words based on cloud computing
CN103257718A (en) * 2012-02-17 2013-08-21 腾讯科技(深圳)有限公司 Chinese character input method, device and system
CN104424163A (en) * 2013-08-29 2015-03-18 北大方正集团有限公司 Word processing method and system
CN106557178A (en) * 2016-11-29 2017-04-05 百度国际科技(深圳)有限公司 For updating the method and device of input method entry
CN109426357A (en) * 2017-09-01 2019-03-05 百度在线网络技术(北京)有限公司 Data inputting method and device
CN111104836A (en) * 2019-01-11 2020-05-05 孙向东 Multifunctional social system and method
CN112114684A (en) * 2020-09-28 2020-12-22 深圳哇哇鱼网络科技有限公司 Multi-language input method, man-machine interface self-defining method, terminal and medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101697109A (en) * 2009-10-26 2010-04-21 北京搜狗科技发展有限公司 Method and system for acquiring candidates of input method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101697109A (en) * 2009-10-26 2010-04-21 北京搜狗科技发展有限公司 Method and system for acquiring candidates of input method

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102419643A (en) * 2011-10-26 2012-04-18 南京华设科技有限公司 Method and system for remotely entering words based on cloud computing
CN102419643B (en) * 2011-10-26 2014-07-23 南京华设科技股份有限公司 Method and system for remotely entering words based on cloud computing
CN103257718A (en) * 2012-02-17 2013-08-21 腾讯科技(深圳)有限公司 Chinese character input method, device and system
CN103257718B (en) * 2012-02-17 2018-05-29 深圳市世纪光速信息技术有限公司 Chinese character input method, equipment and system
CN104424163A (en) * 2013-08-29 2015-03-18 北大方正集团有限公司 Word processing method and system
CN104424163B (en) * 2013-08-29 2017-09-22 北大方正集团有限公司 Literal processing method and system
CN106557178A (en) * 2016-11-29 2017-04-05 百度国际科技(深圳)有限公司 For updating the method and device of input method entry
CN106557178B (en) * 2016-11-29 2021-03-09 百度国际科技(深圳)有限公司 Method and device for updating entries of input method
CN109426357A (en) * 2017-09-01 2019-03-05 百度在线网络技术(北京)有限公司 Data inputting method and device
CN111104836A (en) * 2019-01-11 2020-05-05 孙向东 Multifunctional social system and method
CN112114684A (en) * 2020-09-28 2020-12-22 深圳哇哇鱼网络科技有限公司 Multi-language input method, man-machine interface self-defining method, terminal and medium

Similar Documents

Publication Publication Date Title
US11586805B2 (en) Machine-learning-based natural language processing techniques for low-latency document summarization
CN102063504A (en) Method, client and system for inputting Chinese characters online
CN102163198B (en) A method and a system for providing new or popular terms
CN110619053A (en) Training method of entity relation extraction model and method for extracting entity relation
JP6529761B2 (en) Topic providing system and conversation control terminal device
CN105389389B (en) A kind of network public-opinion propagation situation medium control analysis method
US20120323554A1 (en) Systems and methods for tuning parameters in statistical machine translation
CN102110140A (en) Network-based method for analyzing opinion information in discrete text
WO2022077880A1 (en) Model training method and apparatus, short message verification method and apparatus, device, and storage medium
RU2720074C2 (en) Method and system for creating annotation vectors for document
US20200134511A1 (en) Systems and methods for identifying documents with topic vectors
CN103699525A (en) Method and device for automatically generating abstract on basis of multi-dimensional characteristics of text
CN107092639A (en) A kind of search engine system
US10691664B1 (en) User interface structural clustering and analysis
Rudrapal et al. A Survey on Automatic Twitter Event Summarization.
US20200349208A1 (en) Data-driven online business name generator
Nodarakis et al. Using hadoop for large scale analysis on twitter: A technical report
CN103984731B (en) Self adaptation topic tracking method and apparatus under microblogging environment
US20170124090A1 (en) Method of discovering and exploring feature knowledge
CN103631779A (en) Word recommending system based on socialized dictionary
JP2015102957A (en) Information search system, information search device, information search method, and program
JP2003157257A (en) Dictionary device and natural language processing system
US11907657B1 (en) Dynamically extracting n-grams for automated vocabulary updates
Li An on-demand service discovery approach based on mined domain knowledge
Oliveira et al. Sentiment analysis of stock market behavior from Twitter using the R Tool

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20110518