CN104423623B - It is a kind of to select word treatment method and electronic equipment - Google Patents

It is a kind of to select word treatment method and electronic equipment Download PDF

Info

Publication number
CN104423623B
CN104423623B CN201310392854.4A CN201310392854A CN104423623B CN 104423623 B CN104423623 B CN 104423623B CN 201310392854 A CN201310392854 A CN 201310392854A CN 104423623 B CN104423623 B CN 104423623B
Authority
CN
China
Prior art keywords
word
text
dictionary
mail
select
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
CN201310392854.4A
Other languages
Chinese (zh)
Other versions
CN104423623A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201310392854.4A priority Critical patent/CN104423623B/en
Publication of CN104423623A publication Critical patent/CN104423623A/en
Application granted granted Critical
Publication of CN104423623B publication Critical patent/CN104423623B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

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

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Machine Translation (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

Word treatment method and electronic equipment are selected the invention discloses a kind of, solves the problems, such as that the prior art selects word to recommend accuracy not high, this method is applied to an electronic equipment, and this method includes:During based on first the second text of text creation, the first character string input by user is obtained;It searches to obtain and selects word with the M of first string matching, the M select in word N number of to select word be to select word by searching for what the first dictionary obtained, M is the positive integer more than or equal to 1, N is the positive integer less than or equal to M, wherein, first dictionary is specially the special dictionary that word is selected for lookup when creating second text generated based on the word content in first text.

Description

It is a kind of to select word treatment method and electronic equipment
Technical field
The present invention relates to input method field more particularly to a kind of selecting word treatment method and electronic equipment.
Background technology
With user interact class of electronic devices application increasingly come it is more extensive, user by input method input information, with Pass through the information control electronics or the acquisition required information of user of input.
Because to the rapidity and accuracy of information input, it can provide there is an urgent need to input method and more accurately select word.
In the prior art in order to more accurately select word according to the offer of user inputs character string, the following two kinds embodiment party is provided Case.
The first embodiment:Classification dictionary is established according to word classification, such as Chinese idiom dictionary, life kind dictionary, sport category Dictionary, popular dictionary etc. can be used according to when being arranged according to user string matching literal in input method setting option Classification dictionary, the word that certain fields can be matched using this select word as recommendation.
Second of technical solution:Word input by user is recorded, records what user often inputted according to user's use habit Word is selected in recommendation when word is as input.
But present inventor has found above-mentioned technology extremely during inventive technique scheme in realizing the embodiment of the present application It has the following technical problems less:
Since the first technical solution in the prior art is that the specific classification dictionary of setting selects word to generate recommendation, and shows Second of technical solution in technology is to be generated to recommend to select word according to the input habit for the user that the electronic equipment is used for a long time, Therefore the first technical solution in prior art and second of technical solution exist when switching voice environment, input The technical problem that the recommendation that method provides selects word accuracy not high, for example, the particular category dictionary of input method original setting is game class, Then when user edits a papers of popular science, then word is selected in the recommendation that cannot provide popular science category.
Invention content
The embodiment of the present application selecting word treatment method and electronic equipment by the way that offer is a kind of, solves and works as switching in the prior art When voice environment, the recommendations technical problem of selecting word accuracy not high that input method provides, language environment can switched by realizing When, it is generated using newspeak environmental quality recommend to select word in real time, therefore improve input method selects word accuracy.
On the one hand, the embodiment of the present application provide it is a kind of selecting word treatment method, using an electronic equipment, the method packet It includes:
During based on first the second text of text creation, the first character string input by user is obtained;
Search to obtain and select word with the M of first string matching, the M select in word N number of to select word be by looking into It is the positive integer more than or equal to 1 to look for select word, M that the first dictionary obtains, and N is the positive integer less than or equal to M, wherein described first Dictionary is specially to select word for being searched when creating second text based on what the word content in first text generated Special dictionary.
Preferably, it is described search to obtain select the word, the method to further include with the M of first string matching:
With the first priority show it is described it is N number of select word, and show that the M are selected in word with the second priority M-N Word, first priority is selected to be higher than second priority.
Preferably, described during based on first the second text of text creation, the first character input by user is obtained Before string, the method further includes:
It is created with first text there are when second text of an incidence relation when detecting, obtains described first Word content in text;
First dictionary is generated based on the word content;
First dictionary is imported into second text, is stored with second textual association.
Preferably, described when detecting newly-built exist with first text when first text is the first mail When second text of one incidence relation, the word content in first text is obtained, specially:
When detect the second mail for replying first mail is created according to first mail when, obtain institute The e-mail page word in the first mail and the attachment word in first mail are stated, using as generating first dictionary Content.
Preferably, described when detecting newly-built exist with first text when first text is the first document When second text of one incidence relation, the word content in first text is obtained, specially:
When detecting newly-built second document under the file option of first document, the text of first document is obtained Shelves page word, using the content as generation first dictionary.
Preferably, the lookup is obtained selects word with the M of first string matching, specifically includes:
It searches to obtain in first dictionary and N number of selects word with the described of first string matching;
It searches and obtains and first string matching at least one second dictionary different from first dictionary The M-N are selected word, wherein at least one second dictionary is that the dictionary for selecting word is searched for global input.
On the other hand, the embodiment of the present application provides a kind of electronic equipment, including:
Obtaining unit, for during based on first the second text of text creation, obtaining the first character input by user String;
Searching unit selects word for searching to obtain with the M of first string matching, the M select it is N number of in word It is to select word by searching for what the first dictionary obtained to select word, and M is the positive integer more than or equal to 1, and N is the positive integer less than or equal to M, In, first dictionary is specially based on the word content generation in first text for when creating second text Search the special dictionary for selecting word.
Preferably, the electronic equipment further includes:
Display unit, for the first priority show it is described it is N number of select word, and show the M with the second priority Select the M-N in word word, first priority is selected to be higher than second priority.
Preferably, the electronic equipment further includes:
Obtaining unit, for when detecting that newly-built there are second texts of an incidence relation with first text When, obtain the word content in first text;
Generation unit, for generating first dictionary based on the word content;
Import unit is stored for first dictionary to be imported second text with second textual association.
Preferably, when first text is the first mail, acquiring unit, specially:
Mail word obtains subelement, for when detecting according to first mail, creating for replying described first When the second mail of mail, the e-mail page word in first mail and the attachment text in first mail are obtained Word, using the content as generation first dictionary.
Preferably, when first text is the first document, the acquiring unit, specially:
Document word obtains subelement, and newly-built second document under the file option of first document is detected for working as When, the document file page word of first document is obtained, using the content as generation first dictionary.
Preferably, the searching unit, specifically includes:
First searches subelement, for being searched described in acquisition and first string matching in first dictionary It is N number of to select word;
Second searches subelement, for searching acquisition and institute at least one second dictionary different from first dictionary State the first string matching the M-N select word, wherein at least one second dictionary is to input to search choosing for the overall situation The dictionary of word.
One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:
1, as a result of during based on first the second text of text creation, the first character input by user is obtained String;Search to obtain and select word with the M of first string matching, the M select in word N number of to select word be by searching for first What dictionary obtained selects word, wherein first dictionary is specially to be used for based on what the word content in first text generated The technological means for the special dictionary for selecting word is searched when creating second text, therefore, even if needing to carry out newer voice ring When the word input in border, it can also obtain and select word with the relevant recommendation of language environment, therefore, efficiently solve in the prior art when cutting When changing voice environment, the recommendations technical problem of selecting word accuracy not high that input method provides, and then realize and can switch language When saying environment, is generated using newspeak environmental quality recommend to select word in real time, therefore improve input method selects word accuracy.
2, further, as a result of when detecting that newly-built there are described the second of an incidence relation with first text When text, the word content in first text is obtained;First dictionary is generated based on the word content;By described One dictionary imports second text, is stored with second textual association.Therefore as editor and the first text and the second text When content does not have other associated documents, the first dictionary will not interfere the generation for selecting word, therefore, electronic equipment can be made different It can be provided under voice environment and accurately recommend to select word.
Description of the drawings
Fig. 1 is the flow chart that word treatment method is selected in the embodiment of the present application;
Fig. 2 is the flow chart that the first dictionary is generated in the embodiment of the present application;
Fig. 3 is the display schematic diagram that word treatment method is selected in the embodiment of the present application;
Fig. 4 is the module map of electronic equipment in the embodiment of the present application.
Specific implementation mode
The present invention by the embodiment of the present application provide it is a kind of selecting word treatment method and electronic equipment, for solving existing skill In art when switching voice environment, the recommendation technical problem of selecting word accuracy not high that input method provides.
The embodiment of the present application is to solve the problems, such as that the recommendation that above-mentioned input method provides selects word accuracy not high, and total thinking is such as Under:
During based on first the second text of text creation, the first character string input by user is obtained;Search obtain with The M of first string matching are selected word, the M select in word N number of to select word be the choosing obtained by searching for the first dictionary Word, M are the positive integer more than or equal to 1, and N is the positive integer less than or equal to M, wherein first dictionary is specially based on described The special dictionary that word is selected for lookup when creating second text that word content in first text generates.
Due to being based on first the second text of text creation, then the content of edit of the first text and the second text is in same language It is under sound environment, then matched in the first dictionary created based on the word content in the first text to select word more acurrate.Therefore, energy Technical problems enough to solve in the prior art when switching voice environment, that the recommendation that input method provides selects word accuracy not high, into And realize when allowing hand over language environment, it is generated using newspeak environmental quality recommend to select word in real time, therefore improve input Method selects word accuracy.
In order to better understand the above technical scheme, in conjunction with appended figures and specific embodiments to upper Technical solution is stated to be described in detail.
On the one hand, the present invention by the embodiment of the present application provide it is a kind of selecting word treatment method, should using an electronic equipment Electronic equipment can be functional mobile phone, smart mobile phone, laptop, tablet computer, desktop computer, other it is common can be defeated Enter the electronic equipment of word.
With reference to figure 1, this method comprises the following steps:
S101:During based on first the second text of text creation, the first character string input by user is obtained;
S102:Search to obtain and select word with the M of first string matching, the M select in word N number of to select word be logical It is the positive integer more than or equal to 1 to cross and search select word, M that the first dictionary obtains, and N is the positive integer less than or equal to M, wherein described First dictionary is specially to search choosing when being used to create second text based on what the word content in first text generated The special dictionary of word.
It is provided in this embodiment to select word treatment method, by based on the word in relevant first text of the second text Matching currently needs the recommendation corresponding to the word inputted to select word in the dictionary that content generates, under different voice environments It can obtain and accurately select word, therefore even if newspeak environmental quality can be utilized to generate in real time if switching voice environment recommends choosing Word, therefore improve input method selects word accuracy.
In one embodiment, the embodiment of the present application provide it is a kind of selecting word treatment method, specifically, with reference to figure 2, this selects word Method is before executing step S101, further includes following steps:
S201:It is created with first text there are when second text of an incidence relation when detecting, obtains institute State the word content in the first text;
S202:First dictionary is generated based on the word content;
S203:First dictionary is imported into second text, is stored with second textual association.
In specific implementation process, step S201~S203 at least but is not limited to the following two kinds implement scene, below into Row illustrates.
The first implement scene:First text is the first mail, and the second text is that the first mail is directed on the first text Replied mail, then there are incidence relations for the first mail and the second mail, and under first implement scene, step S201 is specific For:When detect the second mail for replying first mail is created according to first mail when, obtain described first The attachment files content in e-mail page word and first mail in mail, using as generating first dictionary Content.
Specifically, it is assumed that the first mail discussion received is the problem of system is restored, wherein in the text of the first mail Word content includes the word contents such as very much " system recoverys ", " data recovery " " backups ", and the second mail is for being directed to the The system of one mail restores the replied mail that problem is answered in detail, then shows to need the word inputted in the second mail of editor Content and the word content that the word content in the first mail is under same voice environment, then creating the second mail to improve The accuracy for selecting word in the process generates a triggering command when user clicks " reply " on the first mail, then electronic equipment is rung Triggering command is answered, e-mail page word in the first mail is obtained and is also obtained in the first mail when the first mail includes attachment Word content in e-mail page word content and attachment is integrally generated the first dictionary, then led by the word content in attachment Enter into the second mail, with the second mail associated storage.
Second of implement scene:First text is first document, such as word, TXE etc., and the second text is in the first document File option under the second document identical with the Doctype of the first document for creating, then the first document and the second document presence Incidence relation.
Specifically, it is assumed that the first document is that content is《Image procossing》A Word document, wherein《Image procossing》 In word content include very much " image coding ", " feature extraction ", " image decodings " etc. word content, and《At image Reason》On File Options under select " to create " with create a content for《Image coding mode example》Word document when, Then demonstrate the need for create Word document in word content with《Image procossing》In word content be same language environment under Word content.Electronic equipment generates and responds a triggering command, obtains《Image procossing》Document content life in Word document At the first dictionary, it is then introduced into《Image coding mode example》Document, with《Image coding mode example》Document associations store.
Then, step S101 is executed, i.e.,:During based on first the second text of text creation, obtain input by user First character string.
Specifically, the form of the first character string input by user can be different and different according to input mode, for example, keyboard Pinyin Input, five inputs of keyboard, voice input etc., the present embodiment does not limit the form of the first character string specifically.
After executing step S101, step S102 is then executed, i.e.,:It searches and obtains and first string matching M are selected word.
Specifically, it searches to obtain in the first dictionary and N number of selects word with the described of first string matching;With institute The different at least one second dictionary lookup acquisition of the first dictionary is stated with first string matching the M-N select word, Wherein, at least one second dictionary is that the dictionary for selecting word is searched for global input.Specifically, first dictionary is only applicable in Word is selected to search during the second text creation, the second dictionary is then suitable for selecting word to look under the scene of any input character string It looks for, for example is inputted in webpage, text-independent creates the first above-mentioned implement scene and the in process input and the present embodiment Word is selected to search when two kinds of implement scene inputs, the second dictionary is specifically as follows dictionary in prior art, so, herein not It repeats again.In specific implementation process, word is selected to pass to input method by the N number of of acquisition is searched in the first dictionary, so that The N number of of acquisition has been searched in one dictionary selects word no longer to be matched in the second dictionary.
Further include step S103, i.e., after executing step S102 in one embodiment:The N is shown with the first priority It is a to select word, and with the second priority shows that the M are selected in word M-N select word, first priority is higher than described the Two priority.
Specifically, in specific implementation process, it is first that the first dictionary can be arranged by the setting options of input method Priority, the priority that other dictionaries are arranged is less than the first dictionary, for example, being currently at the second text pair during creating The input method answered includes the dictionary for being the first dictionary, the dictionary B that the word that user is commonly used is formed, and popular word formation C.It is the first priority that the first dictionary, which is then arranged, and setting dictionary B is the second priority less than the first priority, setting dictionary C For the third priority less than the second priority.
It is then illustrated by taking the first implement scene in above-described embodiment as an example, it is assumed that the first character string input by user For " huifu " spelling pinyin string when, in the first dictionary search obtain select word " recoverys ", in dictionary B search acquisition select word " reply ", " going back to mansion " search to obtain in dictionary C and select word " livery " " can pay ", then refering to what is shown in Fig. 3, first is selected word to show For " recovery ", other select word to be shown in after " recovery ".
Assuming that the theme that computer teacher Wang receives an envelope student is the mail of " quick recovery system ", Mail Contents packet It includes:" if the not free space of 200MB, " system recovery " can be always maintained at disabled status, when space is enough, practical journey Sequence can initiate by its own." system recovery " uses first in first out (FIFO) memory module:When data storage reaches the threshold values of setting, Utility program can remove old archive, be new archive vacating space ... " teacher Wang wants to illustrate the content of student's mail The viewpoint of oneself, therefore give student's replied mail.
Below by taking the hypothesis as an example, the technical solution in implementing to the application with reference to figure 3 is illustrated.
Teacher Wang opens the mail that the theme received is " quick recovery system ", clicks and replys on mail, generates empty Replied mail, then be based on theme be " quick recovery system " mail in attachment content and e-mail page content generate first Dictionary, then as teacher Wang when e-mail page inputing characters string " guanyu " in replied mail, electronic equipment obtains character It goes here and there " guanyu ", first, is searched in the first dictionary and " guanyu " is matched selects word, matching is sky in the first dictionary, so Searched in other dictionaries afterwards be matched to " guanyu " it is matched it is multiple select word and show, user selects word " about ".So Afterwards, teacher Wang continues to input character string " xitonghuifu ", then electronic equipment obtains character string " xitonghuifu ", first First, it is searched in the first dictionary, is then matched to " system recovery " in the first dictionary, then, " seat is matched in hot word dictionary Shine together ", chemical field dictionary is matched to " ketenes ".Then lexeme is selected to set display " system at first of the candidate word region of input Restore ", second position shows " seat shines together " that the third place shows " ketenes ", shows successively.
Based on same inventive concept, the present invention provides a kind of electronic equipment by the embodiment of the present application, the electronic equipment Can be functional mobile phone, smart mobile phone, laptop, tablet computer, desktop computer, other are common can to input word Electronic equipment.
As shown in figure 4, the electronic equipment includes such as lower structure:
Obtaining unit 401, for during based on first the second text of text creation, obtaining the first word input by user Symbol string;
Searching unit 402 selects word for searching to obtain with the M of first string matching, and the M are selected in word N number of to select word be to select word by searching for what the first dictionary obtained, and M is the positive integer more than or equal to 1, and N is just whole less than or equal to M Number, wherein first dictionary is specially to be used to create described second based on what the word content in first text generated The special dictionary for selecting word is searched when text.
In one embodiment, the electronic equipment further includes:
Display unit, for the first priority show it is described it is N number of select word, and show the M with the second priority Select the M-N in word word, first priority is selected to be higher than second priority.
In one embodiment, the electronic equipment further includes:
Obtaining unit, for when detecting that newly-built there are second texts of an incidence relation with first text When, obtain the word content in first text;
Generation unit, for generating first dictionary based on the word content;
Import unit is stored for first dictionary to be imported second text with second textual association.
In one embodiment, when first text is the first mail, acquiring unit, specially:
Mail word obtains subelement, for when detecting according to first mail, creating for replying described first When the second mail of mail, the e-mail page word in first mail and the attachment text in first mail are obtained Word, using the content as generation first dictionary.
In one embodiment, when first text is the first document, the acquiring unit, specially:
Document word obtains subelement, and newly-built second document under the file option of first document is detected for working as When, the document file page word of first document is obtained, using the content as generation first dictionary.
In one embodiment, the searching unit, specifically includes:
First searches subelement, for being searched described in acquisition and first string matching in first dictionary It is N number of to select word;
Second searches subelement, for searching acquisition and institute at least one second dictionary different from first dictionary State the first string matching the M-N select word, wherein at least one second dictionary is to input to search choosing for the overall situation The dictionary of word.
Electronic equipment in the present embodiment and aforementioned information processing method be based on two aspects under same inventive concept, The implementation process of method is described in detail in front, so those skilled in the art can understand according to foregoing description Understand the present embodiment in electronic equipment structure and implementation process, in order to illustrate the succinct of book, details are not described herein again.
Technical solution in above-mentioned the embodiment of the present application, at least has the following technical effect that or advantage:
1, as a result of during based on first the second text of text creation, the first character input by user is obtained String;Search to obtain and select word with the M of first string matching, the M select in word N number of to select word be by searching for first It is the positive integer more than or equal to 1 that dictionary obtained, which selects word, M, and N is the positive integer less than or equal to M, wherein the first dictionary tool Body is the special term that word is selected for lookup when creating second text generated based on the word content in first text Therefore, if even if being carried out when a newer voice environment carries out word input based on electronic equipment library can obtain relevant recommendation Word is selected, therefore, is efficiently solved in the prior art when switching voice environment, the recommendation that input method provides selects word accuracy not high The technical issues of, and then realize when allowing hand over language environment, it is generated using newspeak environmental quality recommend to select word in real time, because What this improved input method selects word accuracy.
2, further, as a result of when detecting that newly-built there are described the second of an incidence relation with first text When text, the word content in first text is obtained;First dictionary is generated based on the word content;By described One dictionary imports second text, is stored with second textual association.Therefore as editor and the first text and the second text When content does not have other associated documents, the first dictionary will not interfere the generation for selecting word, therefore, can make electronic equipment in a short time Or it can be provided under different voice environments accurately recommend to select word simultaneously.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that instruction generation stored in the computer readable memory includes referring to Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device so that count Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, in computer or The instruction executed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art God and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (12)

1. a kind of selecting word treatment method, using an electronic equipment, the method includes:
During based on first the second text of text creation, the first character string input by user is obtained;
Search to obtain and select word with the M of first string matching, the M select in word N number of to select word be by searching for the It is the positive integer more than or equal to 1 that one dictionary obtained, which selects word, M, and N is the positive integer less than or equal to M, wherein first dictionary Specially the special of word is selected for being searched when creating second text based on what the word content in first text generated Dictionary;
Described during based on first the second text of text creation, before obtaining the first character string input by user, work as inspection Newly-built and first text is measured there are when second text of an incidence relation, obtains the word in first text Content generates first dictionary based on the word content.
2. the method as described in claim 1, which is characterized in that in the M for searching and obtaining with first string matching It is a to select the word, the method to further include:
With the first priority show it is described it is N number of select word, and show M-N that the M are selected in word with the second priority and select word, First priority is higher than second priority.
3. method as claimed in claim 1 or 2, which is characterized in that described based on first text creation the second text mistake Cheng Zhong, before obtaining the first character string input by user, the method further includes:
First dictionary is imported into second text, is stored with second textual association.
4. method as claimed in claim 3, which is characterized in that described when detection when first text is the first mail To newly-built and first text there are when second text of an incidence relation, obtain in the word in first text Hold, specially:
When detect the second mail for replying first mail is created according to first mail when, obtain described the The attachment word in e-mail page word and first mail in one mail, using as generating in first dictionary Hold.
5. method as claimed in claim 3, which is characterized in that described when detection when first text is the first document To newly-built and first text there are when second text of an incidence relation, obtain in the word in first text Hold, specially:
When detecting newly-built second document under the file option of first document, the documentation page of first document is obtained Face word, using the content as generation first dictionary.
6. method as claimed in claim 1 or 2, which is characterized in that described to search the M obtained with first string matching It is a to select word, it specifically includes:
It searches to obtain in first dictionary and N number of selects word with the described of first string matching;
It is searched described in acquisition and first string matching at least one second dictionary different from first dictionary M-N are selected word, wherein at least one second dictionary is that the dictionary for selecting word is searched for global input.
7. a kind of electronic equipment, including:
Obtaining unit, for during based on first the second text of text creation, obtaining the first character string input by user;
Searching unit selects word for searching to obtain with the M of first string matching, the M select in word N number of select word Select word, M to be obtained by searching for the first dictionary are the positive integer more than or equal to 1, and N is the positive integer less than or equal to M, wherein First dictionary is specially to look into the when of creating second text that is used for generated based on the word content in first text Look for the special dictionary for selecting word;
The obtaining unit is additionally operable to when detecting that newly-built there are second texts of an incidence relation with first text When, obtain the word content in first text;
Generation unit, for generating first dictionary based on the word content.
8. electronic equipment as claimed in claim 7, which is characterized in that the electronic equipment further includes:
Display unit, for the first priority show it is described it is N number of select word, and show that the M are selected word with the second priority In M-N select word, first priority to be higher than second priority.
9. electronic equipment as claimed in claim 7 or 8, which is characterized in that the electronic equipment further includes:
Import unit is stored for first dictionary to be imported second text with second textual association.
10. electronic equipment as claimed in claim 9, which is characterized in that when first text is the first mail, obtain single Member, specially:
Mail word obtains subelement, for when detecting according to first mail, creating for replying first mail The second mail when, obtain the e-mail page word in first mail and the attachment word in first mail, with As the content for generating first dictionary.
11. electronic equipment as claimed in claim 9, which is characterized in that described to obtain when first text is the first document Unit is taken, specially:
Document word obtain subelement, for when detect under the file option of first document create the second document when, The document file page word for obtaining first document, using the content as generation first dictionary.
12. electronic equipment as claimed in claim 7 or 8, which is characterized in that the searching unit specifically includes:
First searches subelement, for searched in first dictionary obtain it is described N number of with first string matching Select word;
Second searches subelement, is obtained and described for being searched at least one second dictionary different from first dictionary The M-N of one string matching select word, wherein at least one second dictionary is to search to select word for overall situation input Dictionary.
CN201310392854.4A 2013-09-02 2013-09-02 It is a kind of to select word treatment method and electronic equipment Active CN104423623B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310392854.4A CN104423623B (en) 2013-09-02 2013-09-02 It is a kind of to select word treatment method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310392854.4A CN104423623B (en) 2013-09-02 2013-09-02 It is a kind of to select word treatment method and electronic equipment

Publications (2)

Publication Number Publication Date
CN104423623A CN104423623A (en) 2015-03-18
CN104423623B true CN104423623B (en) 2018-10-12

Family

ID=52972881

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310392854.4A Active CN104423623B (en) 2013-09-02 2013-09-02 It is a kind of to select word treatment method and electronic equipment

Country Status (1)

Country Link
CN (1) CN104423623B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105224666A (en) * 2015-10-08 2016-01-06 广东欧珀移动通信有限公司 A kind of input method, device and terminal
CN108073292B (en) * 2016-11-11 2021-10-15 北京搜狗科技发展有限公司 Intelligent word forming method and device for intelligent word forming
CN108664142B (en) * 2017-03-31 2023-03-10 微软技术许可有限责任公司 Input method with inter-document self-learning function
CN109683723A (en) * 2018-11-06 2019-04-26 闽江学院 A kind of control method and device handling library in input method system
CN109669551A (en) * 2018-11-06 2019-04-23 闽江学院 A kind of input method information processing method and device
CN109683724A (en) * 2018-11-12 2019-04-26 闽江学院 A kind of method and device for adding input method library
CN109725740A (en) * 2018-11-12 2019-05-07 闽江学院 A kind of text editing processing method and processing device
CN113378539B (en) * 2021-06-29 2023-02-14 华南理工大学 Template recommendation method for standard document writing

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102426591A (en) * 2011-10-31 2012-04-25 北京百度网讯科技有限公司 Method and device for operating corpus used for inputting contents
CN102982070A (en) * 2012-10-26 2013-03-20 北京百度网讯科技有限公司 Word bank updating method and system and cloud server used for input method application program
CN103218447A (en) * 2013-04-24 2013-07-24 东莞宇龙通信科技有限公司 Associating input method and device
CN103246703A (en) * 2013-04-03 2013-08-14 百度在线网络技术(北京)有限公司 Method and equipment for determining application word banks

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101334774B (en) * 2007-06-29 2013-08-14 北京搜狗科技发展有限公司 Character input method and input method system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102426591A (en) * 2011-10-31 2012-04-25 北京百度网讯科技有限公司 Method and device for operating corpus used for inputting contents
CN102982070A (en) * 2012-10-26 2013-03-20 北京百度网讯科技有限公司 Word bank updating method and system and cloud server used for input method application program
CN103246703A (en) * 2013-04-03 2013-08-14 百度在线网络技术(北京)有限公司 Method and equipment for determining application word banks
CN103218447A (en) * 2013-04-24 2013-07-24 东莞宇龙通信科技有限公司 Associating input method and device

Also Published As

Publication number Publication date
CN104423623A (en) 2015-03-18

Similar Documents

Publication Publication Date Title
CN104423623B (en) It is a kind of to select word treatment method and electronic equipment
KR101435265B1 (en) Method for disambiguating multiple readings in language conversion
US8688690B2 (en) Method for calculating semantic similarities between messages and conversations based on enhanced entity extraction
CN104584003B (en) Word is detected and domain dictionary is recommended
US10803241B2 (en) System and method for text normalization in noisy channels
CN109739973A (en) Text snippet generation method, device, electronic equipment and storage medium
WO2012095696A2 (en) Text segmentation with multiple granularity levels
CN101815996A (en) Detect name entities and neologisms
CN107402945B (en) Word stock generation method and device and short text detection method and device
KR20080085165A (en) Multi-word word wheeling
CN109344396A (en) Text recognition method, device and computer equipment
WO2014205232A1 (en) Language input method editor to disambiguate ambiguous phrases via diacriticization
WO2016041428A1 (en) Method and device for inputting english
CN113986950A (en) SQL statement processing method, device, equipment and storage medium
CN101071462A (en) System and method for indicating risk of information inputted by users
CN110427622A (en) Appraisal procedure, device and the storage medium of corpus labeling
US20220139386A1 (en) System and method for chinese punctuation restoration using sub-character information
CN111310481A (en) Speech translation method, device, computer equipment and storage medium
US10963641B2 (en) Multi-lingual tokenization of documents and associated queries
CN105700704A (en) Method and device for inputting characters to mini-size screen
CN102346559A (en) Method and device for deleting lexical items in input method as well as character input tool
WO2015075920A1 (en) Input assistance device, input assistance method and recording medium
CN109727591B (en) Voice search method and device
CN105653912B (en) A kind of method and device for identifying batch registration behavior
Yıldırım et al. An unsupervised text normalization architecture for Turkish language

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