CN104423623A - To-be-selected word processing method and electronic equipment - Google Patents

To-be-selected word processing method and electronic equipment Download PDF

Info

Publication number
CN104423623A
CN104423623A CN201310392854.4A CN201310392854A CN104423623A CN 104423623 A CN104423623 A CN 104423623A CN 201310392854 A CN201310392854 A CN 201310392854A CN 104423623 A CN104423623 A CN 104423623A
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.)
Granted
Application number
CN201310392854.4A
Other languages
Chinese (zh)
Other versions
CN104423623B (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)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Machine Translation (AREA)

Abstract

The invention discloses a to-be-selected word processing method and electronic equipment, aiming to solve the problem of low to-be-selected word recommendation accuracy in the prior art. The to-be-selected word processing method is applied to the electronic equipment and includes: in a process of creating a second text based on a first text, acquiring a first character string inputted by a user; searching to acquire M to-be-selected words matched with the first character string, wherein N to-be-selected words of the M to-be-selected words are to-be-selected words acquired by searching a first word library, the M is a positive integer not smaller than 1, the N is a positive integer not larger than the M, and the first word library specifically is a special word library which is generated based on text content in the first text and is used for searching the to-be-selected words when the second text is created.

Description

One selects word treatment method and electronic equipment
Technical field
The present invention relates to input method field, particularly relate to one and select word treatment method and electronic equipment.
Background technology
Along with the application of user interactions class of electronic devices more and more comes more extensive, user inputs information by input method, with the information being controlled electronic equipment by the information of input or obtained required for user.
Because to rapidity and the accuracy of information input, can provide in the urgent need to input method and select word more accurately.
Selecting word more accurately to provide according to user inputs character string in prior art, providing the following two kinds embodiment.
The first embodiment: set up classification dictionary according to word classification, as Chinese idiom dictionary, life kind dictionary, sport category dictionary, popular dictionary etc., according to the classification dictionary arranged in input method setting option according to using during user string matching literal, word can be selected using the word that this can match some field as recommendation.
The second technical scheme: the word of recording user input, selects word according to the word that user's use habit recording user often inputs as recommendation during input.
But present inventor is in the process realizing invention technical scheme in the embodiment of the present application, find that above-mentioned technology at least exists following technical matters:
Because the first technical scheme of the prior art arranges specific classification dictionary to select word with generating recommendations, and the second technical scheme of the prior art selects word according to the input habit generating recommendations of the user of this electronic equipment of Long-Time Service, therefore the first technical scheme in prior art and the second technical scheme all exist when switching voice environment, the technical matters that the recommendation that input method provides selects word accuracy not high, such as, the particular category dictionary of the former setting of input method is game class, then when user edits a papers of popular science, the recommendation of popular science category then can not be provided to select word.
Summary of the invention
The embodiment of the present application selects word treatment method and electronic equipment by providing one, solve in prior art when switch voice environment time, the technical matters that the recommendation that input method provides selects word accuracy not high, achieving can when switch languages environment, utilize newspeak environmental quality generating recommendations to select word in real time, what therefore improve input method selects word accuracy.
On the one hand, the embodiment of the present application provides one and selects word treatment method, applies an electronic equipment, and described method comprises:
Based in the first text creation second text process, obtain the first character string of user's input;
Search to obtain and select word with the M of described first string matching, to select in word N number of selects word to be select word by what search that the first dictionary obtains for described M, M be more than or equal to 1 positive integer, N is the positive integer being less than or equal to M, wherein, described first dictionary be specially based in described first text word content generate for creating described second text time search the special dictionary selecting word.
Preferably, select word described M of searching acquisition and described first string matching, described method also comprises:
N number ofly select word so that the first priority display is described, and show described M with the second priority and select the M-N in word to select word, described first priority is higher than described second priority.
Preferably, described based in the first text creation second text process, before obtaining the first character string of user's input, described method also comprises:
When detecting that newly-built and described first text exists described second text of an incidence relation, obtain the word content in described first text;
Described first dictionary is generated based on described word content;
Described first dictionary is imported described second text, stores with described second textual association.
Preferably, when described first text is the first mail, described when detecting that newly-built and described first text exists described second text of an incidence relation, obtain the word content in described first text, be specially:
When detecting according to described first mail, newly-built for reply described first mail the second mail time, obtain the e-mail page word in described first mail and the annex word in described first mail, using as generating the content of described first dictionary.
Preferably, when described first text is the first document, described when detecting that newly-built and described first text exists described second text of an incidence relation, obtain the word content in described first text, be specially:
When newly-built second document under the file option of described first document being detected, obtain the document file page word of described first document, using the content as described first dictionary of generation.
Preferably, described in search the M obtained with described first string matching and select word, specifically comprise:
Search to obtain in described first dictionary and select word with the described N number of of described first string matching;
Search to obtain at least one second dictionary different from described first dictionary and select word with the described M-N of described first string matching, wherein, at least one second dictionary described is search for the overall situation input dictionary selecting word.
On the other hand, the embodiment of the present application provides a kind of electronic equipment, comprising:
Obtain unit, for based in the first text creation second text process, obtain the first character string of user's input;
Search unit, word is selected with the M of described first string matching for searching to obtain, to select in word N number of selects word to be select word by what search that the first dictionary obtains for described M, M be more than or equal to 1 positive integer, N is the positive integer being less than or equal to M, wherein, described first dictionary be specially based in described first text word content generate for creating described second text time search the special dictionary selecting word.
Preferably, described electronic equipment also comprises:
Display unit, for N number ofly selecting word so that the first priority display is described, and show described M with the second priority and select the M-N in word to select word, described first priority is higher than described second priority.
Preferably, described electronic equipment also comprises:
Obtaining unit, for when detecting that newly-built and described first text exists described second text of an incidence relation, obtaining the word content in described first text;
Generation unit, for generating described first dictionary based on described word content;
Import unit, for described first dictionary is imported described second text, store with described second textual association.
Preferably, when described first text is the first mail, acquiring unit, is specially:
Mail word obtains subelement, detect according to described first mail for working as, newly-built for reply described first mail the second mail time, obtain the e-mail page word in described first mail and the annex word in described first mail, using as generating the content of described first dictionary.
Preferably, when described first text is the first document, described acquiring unit, is specially:
Document word obtains subelement, for when newly-built second document under the file option of described first document being detected, obtains the document file page word of described first document, using the content as described first dictionary of generation.
Preferably, described in search unit, specifically comprise:
First searches subelement, selects word for searching to obtain in described first dictionary with the described N number of of described first string matching;
Second searches subelement, selects word for searching at least one second dictionary different from described first dictionary to obtain with the described M-N of described first string matching, and wherein, at least one second dictionary described is search for the overall situation input dictionary selecting word.
The one or more technical schemes provided in the embodiment of the present application, at least have following technique effect or advantage:
1, owing to have employed based in the first text creation second text process, the first character string of user's input is obtained, search to obtain and select word with the M of described first string matching, to select in word N number of selects word to be select word by what search that the first dictionary obtains for described M, wherein, described first dictionary be specially based on the word content in described first text generate for creating described second text time search the technological means of the special dictionary selecting word, therefore, even if when needing to carry out the text event detection of newer voice environment, also can obtain the recommendation relevant to language environment and select word, therefore, efficiently solve in prior art when switch voice environment time, the technical matters that the recommendation that input method provides selects word accuracy not high, and then achieve can when switch languages environment, newspeak environmental quality generating recommendations is utilized to select word in real time, what therefore improve input method selects word accuracy.
2, further, owing to have employed when detecting that newly-built and described first text exists described second text of an incidence relation, obtain the word content in described first text; Described first dictionary is generated based on described word content; Described first dictionary is imported described second text, stores with described second textual association.Therefore when editor does not have other documents related with the first text and the second content of text, the first dictionary can not disturb the generation selecting word, therefore, electronic equipment can be made can to provide under different voice environments and recommend accurately to select word.
Accompanying drawing explanation
Fig. 1 is the process flow diagram selecting word treatment method in the embodiment of the present application;
Fig. 2 is the process flow diagram generating the first dictionary in the embodiment of the present application;
Fig. 3 is the display schematic diagram selecting word treatment method in the embodiment of the present application;
Fig. 4 is the module map of electronic equipment in the embodiment of the present application.
Embodiment
The present invention provides one by the embodiment of the present application and selects word treatment method and electronic equipment, for solving in prior art when switching voice environment, and the technical matters that the recommendation that input method provides selects word accuracy not high.
The problem that the embodiment of the present application selects word accuracy not high for the recommendation solving above-mentioned input method and provide, total thinking is as follows:
Based in the first text creation second text process, obtain the first character string of user's input; Search to obtain and select word with the M of described first string matching, to select in word N number of selects word to be select word by what search that the first dictionary obtains for described M, M be more than or equal to 1 positive integer, N is the positive integer being less than or equal to M, wherein, described first dictionary be specially based in described first text word content generate for creating described second text time search the special dictionary selecting word.
Due to based on the first text creation second text, then under the content of edit of the first text and the second text is in same voice environment, then the word that selects mated in the first dictionary created based on the word content in the first text can be more accurate.Therefore, can solve in prior art when switch voice environment time, the technical matters that the recommendation that input method provides selects word accuracy not high, so achieve can switch languages environment time, utilize newspeak environmental quality generating recommendations to select word in real time, what therefore improve input method selects word accuracy.
In order to better understand technique scheme, below in conjunction with Figure of description and concrete embodiment, technique scheme is described in detail.
On the one hand, the present invention provides one by the embodiment of the present application and selects word treatment method, applies an electronic equipment, this electronic equipment can be functional mobile phone, smart mobile phone, notebook computer, panel computer, desktop computer, other public can the electronic equipment of input characters.
With reference to figure 1, the method comprises the steps:
S101: based in the first text creation second text process, obtain the first character string of user's input;
S102: search to obtain and select word with the M of described first string matching, to select in word N number of selects word to be select word by what search that the first dictionary obtains for described M, M be more than or equal to 1 positive integer, N is the positive integer being less than or equal to M, wherein, described first dictionary be specially based in described first text word content generate for creating described second text time search the special dictionary selecting word.
What the present embodiment provided selects word treatment method, word is selected by the recommendation of mating in the dictionary generated based on the word content in the first text relevant to the second text corresponding to word that current needs input, thus can obtain under different voice environments and select word accurately, even if therefore switch voice environment, also newspeak environmental quality generating recommendations can be utilized in real time to select word, and what therefore improve input method selects word accuracy.
In one embodiment, the embodiment of the present application provides one and selects word treatment method, concrete, and with reference to figure 2, this selects word method for before execution step S101, also comprises the steps:
S201: when detecting that newly-built and described first text exists described second text of an incidence relation, obtains the word content in described first text;
S202: generate described first dictionary based on described word content;
S203: described first dictionary is imported described second text, stores with described second textual association.
In specific implementation process, step S201 ~ S203 has at least but is not limited to the following two kinds enforcement scene, is illustrated below.
The first implements scene: the first text is the first mail, second text is the replied mail for the first mail on the first text, then there is incidence relation in the first mail and the second mail, under this first enforcement scene, step S201 is specially: when detecting according to described first mail, newly-built for reply described first mail the second mail time, obtain the e-mail page word in described first mail and the attachment files content in described first mail, using the content as described first dictionary of generation.
Specifically, suppose the problem for System recover that the first mail received is discussed, wherein, comprise a lot " System recover " at the word content of the first mail, the word contents such as " date restoring " " backup ", and the second mail is the replied mail for carrying out answer in detail for the System recover problem of the first mail, then show to need in editor second mail the word content in the word content that inputs and the first mail to be word content under same voice environment, then in order to improve the accuracy selecting word in establishment second email process, when user clicks " reply " on the first mail, generate a triggering command, then electronic equipment response triggering command, obtain e-mail page word in the first mail, when the first mail comprises annex, also obtain the word content in the annex in the first mail, word content entirety in e-mail page word content and annex is generated the first dictionary, then import in the second mail, with the second mail association store.
The second implements scene: the first text is the first document, such as word, TXE etc., and the second text is second document identical with the Doctype of the first document newly-built under the file option of the first document, then the first document and the second document exist incidence relation.
Specifically, suppose the first document Word document that to be content be " image procossing ", wherein, word content in " image procossing " comprises a lot " Image Coding ", " feature extraction ", " image decoding " etc. word contents, and when selecting " newly-built " be the Word document of " Image Coding mode example " with a newly-built content under File Options on " image procossing ", then show that the word content in the Word document that needs create and the word content in " image procossing " are the word content under same language environment.Electronic equipment generates and responds a triggering command, and the document content obtained in " image procossing " Word document generates the first dictionary, then imports to " Image Coding mode example " document, stores with " Image Coding mode example " document associations.
Then, perform step S101, that is: based in the first text creation second text process, obtain the first character string of user's input.
Concrete, the form of the first character string of user's input can be different according to input mode difference, and such as, keyboard spelling inputs, and the input of five, keyboard, phonetic entry etc., the present embodiment does not specifically limit the form of the first character string.
After execution step S101, then perform step S102, that is: search to obtain and select word with the M of described first string matching.
Specifically, in the first dictionary, search acquisition and select word with the described N number of of described first string matching; Search to obtain at least one second dictionary different from described first dictionary and select word with the described M-N of described first string matching, wherein, at least one second dictionary described is search for the overall situation input dictionary selecting word.Concrete, the word that selects that this first dictionary is only applicable in the second text creation process is searched, the word that selects that second dictionary is then applicable under the scene of any input of character string is searched, input in such as webpage, text-independent constructive process inputs, and the word that selects that in the present embodiment, the first enforcement scene above-mentioned and the second are implemented when scene inputs is searched, and the second dictionary is specifically as follows dictionary in prior art, so, do not repeat them here.In specific implementation process, the N number of word that selects searching acquisition in the first dictionary is passed to input method, no longer mate in the second dictionary to make the N number of word that selects having searched acquisition in the first dictionary.
Perform after step S102 in one embodiment, also comprise step S103, that is: N number ofly select word so that the first priority display is described, and show described M with the second priority and select the M-N in word to select word, described first priority is higher than described second priority.
Specifically, in specific implementation process, can arrange the first dictionary by the setting options of input method is the first priority, the priority of other dictionary is set lower than the first dictionary, such as, it is the first dictionary that the input method that current the second text be in constructive process is corresponding comprises, the dictionary B that the word that user often uses is formed, and the dictionary C that popular word is formed.Then arranging the first dictionary is the first priority, and arranging dictionary B is the second priority lower than the first priority, and arranging dictionary C is the 3rd priority lower than the second priority.
Then implement scene for the first in above-described embodiment to be described, when supposing that the first character string that user inputs is the spelling pinyin string of " huifu ", in the first dictionary, search acquisition select word " recovery ", in dictionary B, search acquisition select word " reply ", " go back to mansion ", in dictionary C, search acquisition select word " livery " " can pay ", then with reference to shown in figure 3, first is selected word to be shown as " recovery ", and other select after word is presented at " recovery ".
Suppose that computing machine teacher Wang receives the mail theming as " quick recovery system " of an envelope student, Mail Contents comprises: " if do not have the free space of 200MB; " System recover " can keep disabled status always, when space is enough, utility routine can initiate self." System recover " uses first in first out (FIFO) memory module: when data storage reaches the threshold values of setting, utility routine can remove old file, for new file vacating space ... " teacher Wang wants the viewpoint content of this student's mail being set forth to oneself, therefore gives this student's replied mail.
Be assumed to be example with this below, be illustrated with reference to the technical scheme during figure 3 couples of the application implement.
Teacher Wang opens the mail that this that receive themes as " quick recovery system ", mail is clicked and replys, generate empty replied mail, then generate the first dictionary based on the attachment content themed as in the mail of " quick recovery system " and e-mail page content, then when the e-mail page inputing characters string " guanyu " of teacher Wang in replied mail, electronic equipment obtains character string " guanyu ", first, search in the first dictionary mate with " guanyu " select word, in the first dictionary, coupling is for empty, then search in other dictionaries and match mate with " guanyu " multiple and select word and show, user select word " about ".Then, teacher Wang continues input of character string " xitonghuifu ", then electronic equipment obtains character string " xitonghuifu ", first, search in the first dictionary, then match " System recover " in the first dictionary, then, match " seat shines together " in hot word dictionary, chemical field dictionary matches " ketenes ".Then select word position display " System recover ", second position display " seat shines together " at first of the candidate word region of input, the 3rd position display " ketenes ", shows successively.
Based on same inventive concept, the present invention provides a kind of electronic equipment by the embodiment of the present application, and this electronic equipment can be functional mobile phone, smart mobile phone, notebook computer, panel computer, desktop computer, other public can the electronic equipment of input characters.
As shown in Figure 4, this electronic equipment comprises following structure:
Obtain unit 401, for based in the first text creation second text process, obtain the first character string of user's input;
Search unit 402, word is selected with the M of described first string matching for searching to obtain, to select in word N number of selects word to be select word by what search that the first dictionary obtains for described M, M be more than or equal to 1 positive integer, N is the positive integer being less than or equal to M, wherein, described first dictionary be specially based in described first text word content generate for creating described second text time search the special dictionary selecting word.
In one embodiment, described electronic equipment also comprises:
Display unit, for N number ofly selecting word so that the first priority display is described, and show described M with the second priority and select the M-N in word to select word, described first priority is higher than described second priority.
In one embodiment, described electronic equipment also comprises:
Obtaining unit, for when detecting that newly-built and described first text exists described second text of an incidence relation, obtaining the word content in described first text;
Generation unit, for generating described first dictionary based on described word content;
Import unit, for described first dictionary is imported described second text, store with described second textual association.
In one embodiment, when described first text is the first mail, acquiring unit, is specially:
Mail word obtains subelement, detect according to described first mail for working as, newly-built for reply described first mail the second mail time, obtain the e-mail page word in described first mail and the annex word in described first mail, using as generating the content of described first dictionary.
In one embodiment, when described first text is the first document, described acquiring unit, is specially:
Document word obtains subelement, for when newly-built second document under the file option of described first document being detected, obtains the document file page word of described first document, using the content as described first dictionary of generation.
In one embodiment, described in search unit, specifically comprise:
First searches subelement, selects word for searching to obtain in described first dictionary with the described N number of of described first string matching;
Second searches subelement, selects word for searching at least one second dictionary different from described first dictionary to obtain with the described M-N of described first string matching, and wherein, at least one second dictionary described is search for the overall situation input dictionary selecting word.
Electronic equipment in the present embodiment and aforementioned information disposal route are based on the aspect of two under same inventive concept, detailed description is done to the implementation process of method above, so those skilled in the art can according to the structure of the electronic equipment in aforementioned understanding the present embodiment be described clearly and implementation process, succinct in order to instructions, has just repeated no more at this.
Technical scheme in above-mentioned the embodiment of the present application, at least has following technique effect or advantage:
1, owing to have employed based in the first text creation second text process, the first character string of user's input is obtained, search to obtain and select word with the M of described first string matching, to select in word N number of selects word to be select word by what search that the first dictionary obtains for described M, M be more than or equal to 1 positive integer, N is the positive integer being less than or equal to M, wherein, described first dictionary be specially based in described first text word content generate for creating described second text time search the special dictionary selecting word, therefore, even if based on electronic equipment carry out a newer voice environment carry out text event detection time, also can obtain relevant recommendation and select word, therefore, efficiently solve in prior art when switch voice environment time, the technical matters that the recommendation that input method provides selects word accuracy not high, and then achieve can switch languages environment time, newspeak environmental quality generating recommendations is utilized to select word in real time, what therefore improve input method selects word accuracy.
2, further, owing to have employed when detecting that newly-built and described first text exists described second text of an incidence relation, obtain the word content in described first text; Described first dictionary is generated based on described word content; Described first dictionary is imported described second text, stores with described second textual association.Therefore when editor does not have other documents related with the first text and the second content of text, the first dictionary can not disturb the generation selecting word, therefore, electronic equipment can be made can to provide under different voice environments in a short time or simultaneously and recommend accurately to select word.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be loaded in computing machine or other programmable data processing device, make on computing machine or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computing machine or other programmable devices is provided for the step realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
Although describe the preferred embodiments of the present invention, those skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising preferred embodiment and falling into all changes and the amendment of the scope of the invention.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (12)

1. select a word treatment method, apply an electronic equipment, described method comprises:
Based in the first text creation second text process, obtain the first character string of user's input;
Search to obtain and select word with the M of described first string matching, to select in word N number of selects word to be select word by what search that the first dictionary obtains for described M, M be more than or equal to 1 positive integer, N is the positive integer being less than or equal to M, wherein, described first dictionary be specially based in described first text word content generate for creating described second text time search the special dictionary selecting word.
2. the method for claim 1, is characterized in that, select word described M of searching acquisition and described first string matching, described method also comprises:
N number ofly select word so that the first priority display is described, and show described M with the second priority and select the M-N in word to select word, described first priority is higher than described second priority.
3. method as claimed in claim 1 or 2, is characterized in that, described based in the first text creation second text process, before obtaining the first character string of user's input, described method also comprises:
When detecting that newly-built and described first text exists described second text of an incidence relation, obtain the word content in described first text;
Described first dictionary is generated based on described word content;
Described first dictionary is imported described second text, stores with described second textual association.
4. method as claimed in claim 3, it is characterized in that, when described first text is the first mail, described when detecting that newly-built and described first text exists described second text of an incidence relation, obtain the word content in described first text, be specially:
When detecting according to described first mail, newly-built for reply described first mail the second mail time, obtain the e-mail page word in described first mail and the annex word in described first mail, using as generating the content of described first dictionary.
5. method as claimed in claim 3, it is characterized in that, when described first text is the first document, described when detecting that newly-built and described first text exists described second text of an incidence relation, obtain the word content in described first text, be specially:
When newly-built second document under the file option of described first document being detected, obtain the document file page word of described first document, using the content as described first dictionary of generation.
6. method as claimed in claim 1 or 2, is characterized in that, described in search to obtain and select word with the M of described first string matching, specifically comprise:
Search to obtain in described first dictionary and select word with the described N number of of described first string matching;
Search to obtain at least one second dictionary different from described first dictionary and select word with the described M-N of described first string matching, wherein, at least one second dictionary described is search for the overall situation input dictionary selecting word.
7. an electronic equipment, comprising:
Obtain unit, for based in the first text creation second text process, obtain the first character string of user's input;
Search unit, word is selected with the M of described first string matching for searching to obtain, to select in word N number of selects word to be select word by what search that the first dictionary obtains for described M, M be more than or equal to 1 positive integer, N is the positive integer being less than or equal to M, wherein, described first dictionary be specially based in described first text word content generate for creating described second text time search the special dictionary selecting word.
8. electronic equipment as claimed in claim 7, it is characterized in that, described electronic equipment also comprises:
Display unit, for N number ofly selecting word so that the first priority display is described, and show described M with the second priority and select the M-N in word to select word, described first priority is higher than described second priority.
9. electronic equipment as claimed in claim 7 or 8, it is characterized in that, described electronic equipment also comprises:
Obtaining unit, for when detecting that newly-built and described first text exists described second text of an incidence relation, obtaining the word content in described first text;
Generation unit, for generating described first dictionary based on described word content;
Import unit, for described first dictionary is imported described second text, store with described second textual association.
10. electronic equipment as claimed in claim 9, it is characterized in that, when described first text is the first mail, acquiring unit, is specially:
Mail word obtains subelement, detect according to described first mail for working as, newly-built for reply described first mail the second mail time, obtain the e-mail page word in described first mail and the annex word in described first mail, using as generating the content of described first dictionary.
11. electronic equipments as claimed in claim 9, is characterized in that, when described first text is the first document, described acquiring unit, is specially:
Document word obtains subelement, for when newly-built second document under the file option of described first document being detected, obtains the document file page word of described first document, using the content as described first dictionary of generation.
12. electronic equipments as claimed in claim 7 or 8, is characterized in that, described in search unit, specifically comprise:
First searches subelement, selects word for searching to obtain in described first dictionary with the described N number of of described first string matching;
Second searches subelement, selects word for searching at least one second dictionary different from described first dictionary to obtain with the described M-N of described first string matching, and wherein, at least one second dictionary described is search for the overall situation input dictionary selecting word.
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 true CN104423623A (en) 2015-03-18
CN104423623B 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)

Cited By (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
CN108073292A (en) * 2016-11-11 2018-05-25 北京搜狗科技发展有限公司 A kind of intelligent word method and apparatus, a kind of device for intelligent word
CN108664142A (en) * 2017-03-31 2018-10-16 微软技术许可有限责任公司 Input method with self-learning function between document
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
CN109683723A (en) * 2018-11-06 2019-04-26 闽江学院 A kind of control method and device handling library in input method system
CN109725740A (en) * 2018-11-12 2019-05-07 闽江学院 A kind of text editing processing method and processing device
CN113378539A (en) * 2021-06-29 2021-09-10 华南理工大学 Template recommendation method for standard document compiling

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101334774A (en) * 2007-06-29 2008-12-31 北京搜狗科技发展有限公司 Character input method and input method system
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

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101334774A (en) * 2007-06-29 2008-12-31 北京搜狗科技发展有限公司 Character input method and input method system
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

Cited By (9)

* 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
CN108073292A (en) * 2016-11-11 2018-05-25 北京搜狗科技发展有限公司 A kind of intelligent word method and apparatus, a kind of device for intelligent word
CN108664142A (en) * 2017-03-31 2018-10-16 微软技术许可有限责任公司 Input method with self-learning function between document
CN108664142B (en) * 2017-03-31 2023-03-10 微软技术许可有限责任公司 Input method with inter-document self-learning function
CN109669551A (en) * 2018-11-06 2019-04-23 闽江学院 A kind of input method information processing method and device
CN109683723A (en) * 2018-11-06 2019-04-26 闽江学院 A kind of control method and device handling library in input method system
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
CN113378539A (en) * 2021-06-29 2021-09-10 华南理工大学 Template recommendation method for standard document compiling

Also Published As

Publication number Publication date
CN104423623B (en) 2018-10-12

Similar Documents

Publication Publication Date Title
CN104423623A (en) To-be-selected word processing method and electronic equipment
US10229111B1 (en) Sentence compression using recurrent neural networks
US9710452B2 (en) Input method editor having a secondary language mode
US20090055168A1 (en) Word Detection
CN103885608A (en) Input method and system
KR20210154705A (en) Method, apparatus, device and storage medium for matching semantics
CN104412212A (en) Input method editor
KR101509727B1 (en) Apparatus for creating alignment corpus based on unsupervised alignment and method thereof, and apparatus for performing morphological analysis of non-canonical text using the alignment corpus and method thereof
CN102662575A (en) Method for modifying text, client and system
CN112507706B (en) Training method and device for knowledge pre-training model and electronic equipment
WO2009026850A1 (en) Domain dictionary creation
WO2014205232A1 (en) Language input method editor to disambiguate ambiguous phrases via diacriticization
CN111611468A (en) Page interaction method and device and electronic equipment
CN109359308B (en) Machine translation method, device and readable storage medium
CN115982376A (en) Method and apparatus for training models based on text, multimodal data and knowledge
US20220139386A1 (en) System and method for chinese punctuation restoration using sub-character information
CN105700897A (en) Method and device for launching application program, and terminal device
CN112269862A (en) Text role labeling method and device, electronic equipment and storage medium
CN104102704A (en) System control displaying method and system control displaying device
CN111310481B (en) Speech translation method, device, computer equipment and storage medium
CN107239209B (en) Photographing search method, device, terminal and storage medium
JP2022017173A (en) Method and device for outputting information, electronic device, computer-readable storage medium, and computer program
CN113761923A (en) Named entity recognition method and device, electronic equipment and storage medium
CN103530380A (en) Vertical search device and method
CN107168627B (en) Text editing method and device for touch screen

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