CN104345896B - Alphabetic writing phrase entering method and system - Google Patents

Alphabetic writing phrase entering method and system Download PDF

Info

Publication number
CN104345896B
CN104345896B CN201310329118.4A CN201310329118A CN104345896B CN 104345896 B CN104345896 B CN 104345896B CN 201310329118 A CN201310329118 A CN 201310329118A CN 104345896 B CN104345896 B CN 104345896B
Authority
CN
China
Prior art keywords
phrase
word
input
string
matching
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
CN201310329118.4A
Other languages
Chinese (zh)
Other versions
CN104345896A (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.)
Taobao China Software Co Ltd
Original Assignee
Taobao China Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Taobao China Software Co Ltd filed Critical Taobao China Software Co Ltd
Priority to CN201310329118.4A priority Critical patent/CN104345896B/en
Publication of CN104345896A publication Critical patent/CN104345896A/en
Application granted granted Critical
Publication of CN104345896B publication Critical patent/CN104345896B/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

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)

Abstract

The phrase entering method and system of alphabetic writing, the phrase being made up of multiple words is stored with phrase database, the alphabetic string inputted according to user, the phrase initial that correlation is extracted from phrase database forms lead-in letter string, when inputting alphabetic string with initial String matching, the phrase of matching is output to candidate area.System is matched multiple alphabetic strings with separator of input with multiple words in dictionary, output and the complete word for matching or partly matching of each letter to candidate area are selected successively, selected multiple words are inputted as phrase, the phrase being transfused to is added self-word creation group storehouse by system.

Description

Alphabetic writing phrase entering method and system
Technical field
The present invention relates to electronic device field, especially performs the method and system that word inputs, more specifically, this hair The bright input method and system for being related to the phrase of alphabetic writing in the electronic device.
Background technology
Generally it is required for performing word input function in using computer and mobile phone as the various electronic equipments of representative.Electronics Equipment generally use mechanical keyboard(Or physical keyboard)Word is inputted with dummy keyboard.
For as alphabetic writing using English as representative, that is, be made up of word, each word is by several and hair The related alphabetical continuous writing of sound and the word formed, are all to directly input the input mode for main flow all the time, i.e. Letter, such as alphabetical a are tapped on keyboard, i.e., the letter is directly inputted to the editing area of electronic equipment.
This mode that directly inputs be with input in Chinese used by input is comparatively indirectly.In input Chinese When, for example, inputting Chinese using phonetic mode, the pinyin table that user inputs Chinese character reaches, i.e., using the Latin alphabet(Or referred to as English Word is female)Expression, input system provides in its candidate area reaches word or word in the one or more that matches with pinyin table, leads to Cross the selection to the words in candidate area that user is done, complete input, make to finally enter words and enter editing area.It is this to pass through Candidate area prompts the words matched with input letter, and reselection finally enters the side that the input mode of words referred to as inputs indirectly Formula, and traditional English to directly input mode relative.
26 English alphabets are distributed on 9 numerical keys using the mobile phone of # formula keypads, each numerical key is corresponding three Or four letters, on the numerical key as corresponding to tri- letters of ABC 2, i.e. a key ambiguity.When being directly inputted, it is necessary to Continuous key-press once or twice or three times or four times, sequentially corresponds to input on the key respectively in sufficiently small time interval First or second or the 3rd or the 4th letter.Touch potential required for so inputting a word is often word Two to three times of alphabetical number, input speed is slow.
It is the Indistinct Input method that English is inputted using keypad to occur later, i.e. only presses the number containing target letter Keyboard once, as alphabetical all combinations corresponding to input system determines multiple button, therefrom provides and meets spelling rule All English words, are shown in candidate area, and user therefrom selects final input word.This key ambiguity Indistinct Input it is defeated Entering mode makes the input of English enter the mode inputted indirectly.
As increasing electronic equipment uses touch-screen, equipment can generally provide the full keyboard of the whole letters of display Dummy keyboard.These equipment sizes are small, generally carry out keystroke operation by one hand, are not usually fixed on desk and operate, and To operate on the move, the operation of input not as conventional desktop computer or large-sized notebook computer with mechanical keyboard that Sample prescription is just.Occur the scheme of some inputs later, while user's inputting English letter, provided in candidate area with inputting word The word of female matching completely or part matching, the word finally entered is therefrom selected for user, so as to improve input speed.
Nevertheless, still there is the problem of input speed is slow in these input methods and system.
The content of the invention
In order to solve above-mentioned problems of the prior art, it is an object of the invention to provide a kind of method and it is System so that input Pinyin word is more convenient in the electronic device.
According to an aspect of the present invention, there is provided a kind of alphabetic writing phrase input method, including system word library, list is made certainly Dictionary, system phrase database, self-word creation group storehouse, matching subsystem, display subsystem, phrase database is with word library according to corresponding word Sequence number is interrelated, and matching subsystem extracts the phrase and list to match according to input alphabetic string from phrase database and word library Word, it is output to candidate area.
According to another aspect of the present invention, there is provided a kind of phrase entering method of alphabetic writing, including step:Receive input Alphabetic string, the phrase and word to match is extracted from phrase database and word library according to input alphabetic string, candidate area is output to, connects By user inputting for completion phrase is selected in candidate area.
According to another aspect of the present invention, there is provided a kind of alphabetic writing phrase input method, including system word library, make certainly Word library, system phrase database, self-word creation group storehouse, matching subsystem, display subsystem, phrase database is with word library according to corresponding single Word order number is interrelated, matching subsystem according to input segmentation alphabetic string determined from phrase database and word library its word sequentially with The input segmentation alphabetic string phrase of matching or part matching completely, is output to candidate area.
According to another aspect of the present invention, there is provided a kind of phrase entering method of alphabetic writing, including step:Receive input Band every lexicon multiple segmentation alphabetic strings, will input segmentation alphabetic string sequentially matched with the word of the phrase of phrase database, By the phrase inputting that word therein matches completely or partially to candidate area, phrase is completed in the selection for receiving user in candidate area Input.
In accordance with a further aspect of the present invention, there is provided a kind of phrase entering method of alphabetic writing, including step:Receive input Multiple segmentation alphabetic strings with separator, will input segmentation alphabetic string sequentially matched with word library, will completely or partially The word of matching is sequentially input to candidate area composition phrase as word matched result, receives the selection operation knot of candidate area respectively Fruit, word matched result is selected, composition matching phrase, receives the input that user completes phrase in the selection of candidate area, while handle The phrase of input adds self-word creation group storehouse.
, can be by inputting a phrase in the electronic device during input Pinyin word by the such scheme of the present invention Each word lead-in letter string, rapidly input whole phrase.The present invention can also receive the complete list of a phrase of input Word or part of words, the input of phrase is completed, and self-word creation group storehouse will be added in the phrase, so as in input afterwards Rapidly inputting for whole phrase is realized by inputting lead-in letter string.
Brief description of the drawings
Fig. 1 is the structural representation according to the alphabetic writing phrase input method of one embodiment of the invention;
Fig. 2 is the schematic diagram according to the alphabet expressed with Unicode of one embodiment of the invention;
Fig. 3 is the schematic diagram according to the word tables of data of one embodiment of the invention;
Fig. 4 is the schematic diagram according to the word address table of one embodiment of the invention;
Fig. 5 is the schematic diagram according to the phrase tables of data of one embodiment of the invention;
Fig. 6 is the schematic diagram according to the phrase address table of one embodiment of the invention;
Fig. 7 is the virtual disk of alphabetic writing phrase inputting and the schematic diagram of candidate area according to one embodiment of the invention;
Fig. 8 is the alphabetic writing phrase entering method flow chart according to one embodiment of the invention;
Fig. 9 is the alphabetic writing phrase entering method flow chart according to another embodiment of the present invention.
Embodiment
The embodiment of the present invention is described below in conjunction with the accompanying drawings.
Fig. 1 shows the schematic block diagram of alphabetic writing phrase input method of the present invention, as shown in figure 1, the input system Including:System word library, word library is made certainly, system phrase database, self-word creation group storehouse, matches subsystem and display subsystem, wherein:
The system word library is used to store the word that input system has been pre-set before user is supplied to, it Whole basic vocabularies, and the necessary specialized vocabulary set depending on specifically used environment should generally be included;It is described to make certainly Word library is used to store the word made certainly during input system is used by user;Similarly, the system phrase database is used In the phrase that storage system is pre-set, and the self-word creation group storehouse is used to store user from the phrase made.It is mentioned here Phrase refers to two or more single contaminations, and they generally have fixed implication and fixed form, generally exist Occur simultaneously in article, for example, I am going to, sincerely yours, word can be in article when forming phrase In it is continuous occur or discrete, such as this four words of not only ... but also, although they may in article It is discontinuous to occur, but in the context of the present invention, can also be used as a phrase to treat.
For the convenience of statement, in the associated description to the present invention, the system word library of the above has with making word library certainly When can be collectively referred to as word library, system phrase database is collectively referred to as phrase database sometimes with self-word creation group storehouse, the meeting when needing to distinguish Illustrate.
In the case where input alphabetic string does not include separator, matching subsystem will input alphabetic string with being extracted in phrase database Alphabetic string matched, matched with the word in word library, provide alternative phrase and word;In alphabetic string is inputted In the case of separator, matching subsystem will input alphabetic string and the phrase extracted the segmentation progress in phrase database Match somebody with somebody, matched with the word segmentation in word library, provide alternative phrase and word.
The display subsystem is used to showing the user interface of whole input process, the alphabetic string of display user's input, standby Constituency, alternative phrase and word.
Above-mentioned storehouse and the structure of subsystem and function can be in further detail below description.
Word library has three tables, and one is alphabet, as shown in Fig. 2 its record it is all occur in word it is alphabetical ISN, such as Unicode, this is the primary expression of letter in the electronic device.Unicode such as alphabetical A is expressed as 0041, B 0042, C is 0043, etc., and corresponding alphabetical sequence number is also included in the alphabet.
Another is word tables of data, as shown in figure 3, it by the alphabetic string of each word, is converted into each letter Sequence number in alphabet, form the alphabetical sequence number expression of word(For simplicity each word is not provided in Fig. 3 table Specific sequence number expression), arranged by certain ordering rule.Also include corresponding word sequence number in Fig. 3 table.
3rd is word address table, as shown in figure 4, it records the start-stop address of each word data, i.e. starting point Location and termination address.Address mentioned here refers to the first letter of each word and the first letter of next word Arrangement position of the corresponding sequence number in whole word tables of data.Such as, the first word in word library is " a ", second Word is " aba ", and the 3rd word is " abac ".These three words are arranged in order in word tables of data, then of word " a " Beginning, address was " 0 ", and termination address is " 1 ";The original position of word " aba " is " 1 ", and termination address is " 4 ";Word " abac " Initial address is " 4 ", and termination address is " 8 ".Also include word sequence number in Fig. 4 table, it is corresponding with the word sequence number in Fig. 3.
Phrase database is independently of word library and existing, what it was preserved be not word in itself, but each word is in list Sequence number in dictionary.For example, tetra- words of I, am, going, to, its letter in word library are saved in word library respectively Sequence number expression is 6741,27,2987 and 13276 respectively;A phrase is preserved in phrase database(I am going to), it is protected The data deposited be not this four words in itself, but 6741,27,2987,13276.
The phrase database includes two tables, and one is phrase tables of data, as shown in figure 5, it is recorded in each phrase Word, each word represents with word sequence number of the word in word tables of data.List in each phrase of phrase database Word order number is arranged in order by certain rule, is arranged in order for example, this queueing discipline can be word sequence number, and with space or Other symbols are separated.For simplicity the specific word sequence number expression of listed phrase not shown in Fig. 5.Institute's predicate Also include corresponding phrase sequence number in group tables of data, the phrase sequence number refers to each when phrase data are arranged by particular order The arrangement position or serial number of phrase wherein.
If any two continuously arranged phrase Sincerely yours and So long no see, wherein word The alphabetical sequence number expression of Sincerely, yours, So, long, no, see in word library is respectively 6970,16943,7035, 3927,5214,6573, then the data that the two phrases preserve in phrase database are exactly 6970,16943,7035,3927,5214, 6573。
Second table is phrase address table, as shown in fig. 6, it records the start-stop address of each phrase data.Here institute The address said refers to the numeral expression of the arrangement sequence number of all words in phrase database.For example, phrase Sincerely yours and So The sequence number that long no see are arranged in phrase is the 1278th and 1279, all phrases before Sincerely yours Word number summation be 3153, then following data are preserved in phrase address table:
0 (the 1st), 3 (2) ..., 3153 (1278), 3155 (1279), 3159 (1280) ...
Also include corresponding phrase sequence number in the phrase address table, it is corresponding with the phrase sequence number in Fig. 5.
The phrase database is interrelated according to corresponding word sequence number with word library.
It should be noted that the list given by above-mentioned Fig. 2 to Fig. 6 is to be shown schematically in word library and phrase To the representation of word and phrase in storehouse, the structure of form is not the structure of database in itself, such database Structure is well known to the skilled artisan, and is not added with repeating herein.Although in addition, stored in storehouse and non-word With phrase in itself, but their sequence number expression and address table reach, and for the convenience of statement, are described in this patent document For the word and phrase of storage, or the word and phrase being described as in storehouse, this be also skilled artisans appreciate that.
The process of phrase inputting is described with reference to Fig. 7 and Fig. 8.To input English phrase so long no see Exemplified by.First, the alphabetic string SLNS of input system accessing user input.Display subsystem is shown in SLNS defeated shown in Fig. 7 Enter and represent that user directly inputs the region 71 of letter, also referred to as Dai Shangping areas 71 in interface.Inputting interface shown in Fig. 7 also includes Virtual key panel 73 and candidate area 72.
SLNS is phrase so long no see lead-in letter string, and lead-in letter string is the first of each word of a phrase The alphabetic string that individual letter sequentially forms.Separately the lead-in letter string corresponding to the phrase I am going to for example shown in Fig. 5 is IAGT。
Because SLNS has four letters, system is searched for the phrase with four words first in phrase database, searched for To four word phrases in extract the initials of all words, form four alphabetical lead-in letter strings, referred to as phrase lead-in letter string; Sub-combination is matched alphabetic string SLNS is inputted with phrase lead-in letter string, determines described four alphabetical phrase lead-in letter strings Include SLNS, that is, match;Phrase so long no see as matching result are shown to candidate area 72.Then press again Method searches for SLNS in word library as photograph.
It with the order for inputting the phrases that match of alphabetic string SLNS and word is that the first order is suitable to go phrase database and word library searching Sequence is word library after first phrase database, and second level order is first to be followed successively by self-word creation group storehouse, system phrase from system library behind storehouse is made Storehouse, word library, system word library are made certainly.
More specifically, it is first according to phrase sequence during the phrase of search and the alphabetical String matching of input in phrase database The initial address and termination address of corresponding phrase are extracted number into phrase address table, then into phrase tables of data according to starting point Location and termination address take out phrase data.Explanation is needed exist for, the sort method of phrase sequence number foundation phrase data is not It is same and different, when implementing, typically use two kinds of arrangement modes:A kind of is to be grouped first by the number of word in phrase, I.e. the phrase with same word number is arranged together, is then ranked up in group according to the word frequency of word, in this arrangement side Under formula, used starting phrase serial number 0 during search;Another kind is directly to be ranked up according to the order of phrase initial, Such as if phrase initial is A, B, C etc. come alphabetical S before phrase number be respectively 100,100,100 ..., then Search for used starting phrase serial number 1800 during the phrase that lead-in letter string is SLNS.Any letter is not had in phrase data Information, some are the sequence number expression of word.Expressed successively according to word sequence number into word library after taking out the expression of word sequence number The alphabetic string of the corresponding word of extraction, and intercept initial and user's input alphabetic string, such as SLNS, the progress of each word Match somebody with somebody.
As one embodiment of the present invention, when carrying out phrase searching, first according to the first word of the alphabetic string of input Mother determines region of search, then extracts the data of a phrase from phrase database successively, then takes out each word successively Sequence number, word data are then extracted into word database according to sequence number, find out first letter and input alphabetic string progress Match somebody with somebody.The word number of phrase is identical with input alphabetic string, and the initial of each word is successively with inputting alphabetical String matching It is matching to think the phrase.Such as the phrase is deserved, then exports the phrase, otherwise skip.Compare after a phrase again Next phrase is compared, is completed until comparing.
Phrase only looks for what is matched completely when matching, i.e., the number of word is equal with the number of input alphabetic string in phrase, and The initial of each word matches successively with input alphabetic string.
When the search in word library and the word of the alphabetical String matching of input, matching result is except the list including matching completely Word, the word matched with input alphabetic string part, the anterior word completely the same with input alphabetic string of word can also be included Also by as matching result, candidate area is shown in by display subsystem.For example, when input character string be sy when, as system this The word of sample can also be shown as matching result.
The process of matching can be dynamic, during alphabetic string is inputted, can immediately be matched and shown With result, in order to avoid the phrase and word that are matched when inputting first letter or the first two letter are excessively difficult to show, System can set the rule on display number, and the mode of this setting is known in those skilled in the art.
Display subsystem shows that the sequencing of alternate item is first to show input alphabetic string in candidate area, followed by matches Phrase, then be matching word.When the phrase of multiple matchings be present, its display order can be ranked by frequency of use, or Person is ranked in alphabetical order, and display order when multiple matching words be present is also such.
If system does not search desired phrase, desired word is not searched out yet, can also be selected by user will Shield in input alphabetic string, as shown in fig. 7, input alphabetic string is placed in the preferred location of candidate area, user may pass through numerical key Or function key, such as enter key, select in input alphabetic string to shield, i.e., using input alphabetic string in itself as the word to be inputted, Target editing area is made it into, that is, confirms output.
It should be noted that the solution of the present invention is also applied for the situation of a key ambiguity.In the case of a key ambiguity, By taking # type keypads as an example, in order to input alphabetic string SLNS, numerical key 7567 corresponding to key string is directly inputted, the key string institute The alphabetic string of representative be not it is above-mentioned shown in SLNS this, it is but multiple.At this moment, the first order of multiple input alphabetic strings is shown Order is then to meet the combination of spelling rules preceding, and second level order can be sorted by alphabetical precedence.Generally, match The display order of successful phrase and word is preferential.
Pass through the alphabetic string corresponding to the key string to a key ambiguity and the phrase lead-in string and word that meet spelling rule The mathematical statistics that is done of corresponding relation show that the phrase corresponding to an enter key sequence is simultaneously few, and the solution of the present invention is complete It can be implemented entirely in the environment of a key ambiguity, and it is in terms of the convenience of input is improved and effective.Certainly, a key Implementation under ambiguity environment needs to make above-mentioned embodiment some changes, and this change is based on known key ambiguity Implementation technology, it is not added with being described in detail herein.
As one embodiment of the present invention, the alphabetic string of input can also be by as word addition is made certainly, oneself makes word In storehouse.Can be in input alphabetic string, such as SLNS from word is made, startup before makes word function or is in input letter certainly Start after string from making word function or being to automatically become from making word and realize after input alphabetic string is on screen, make certainly The startup of function can be by function key or click on the special icon on screen to realize.
With reference to Fig. 9, exemplified by inputting phrase sincerely yours, to the word of the input tape separator of the present invention The method and system of group and self-word creation group are illustrated.
Input method can set separator, for representing that the previous section of a word has been totally lost when inputting phrase, open Begin the input of next word.For example, separator can be space bar, in # type keypads, separator can be on keypad " # " key.
User sequentially inputs the word letter of indefinite length before each word of phrase(Word can also be inputted All letters), separator is then inputted, followed by the key corresponding to the letter of defeated next word:Receive input si;Receive empty Lattice key is as separator;Receive input you.The input alphabetic string that section is separated into by separator is referred to as being segmented alphabetic string, i.e. si For a segmentation alphabetic string, you is another segmentation alphabetic string, precedence be present between them.At this moment, show in Dai Shangping areas That show is " si you ".
Subsystem is matched according to the segmentation alphabetic string of input, is matched with the phrase in phrase database.The mode of matching is, According to the first segmentation alphabetic string si, it is the phrase started with si to determine first word, then, further according to the second segmentation alphabetic string You, in the phrase that above-mentioned steps have matched, it is the phrase started with you to determine second word.
Two stage cultivation conducted herein had both included matching completely, also includes part and matches.Such as si and sincerely Matching is part matching.
Described phrase database includes self-word creation group storehouse and system phrase database, and the order of matching is self-word creation group storehouse prior to being System phrase database.
Similar to foregoing embodiment, display subsystem the segmentation alphabetic string with separator of input, and matching into The phrase of work(is shown in Dai Shangping areas 71, selects to input for user.User can be selected the segmentation alphabetic string of input, or With shielding on successful phrase, as input results.
Alternatively, still by input segmentation alphabetic string, " exemplified by si you ", system can only display only two words The phrase of matching, more than two word and the first two order of words and the " si you " phrases that the match is successful can also be shown.
In addition, during matching, system allows user to modify the letter inputted, e.g., passes through click Corresponding position, the letter that can be segmented to input in any segmentation of alphabetic string be increased, the modification such as delete, for occurring The segmentation alphabetic string of modification, correspondingly re-execute the step of matching.
As a kind of embodiment, if above-mentioned matching step does not determine the phrase of matching, with separators Segmentation alphabetic string is unit, and word matched is carried out based on word library.
Input system finds the word for matching with si or partly matching completely first in word library, as word matched knot Fruit, Dai Shangping areas are output to, including " sincerely ", receive operation of the user in candidate area, selection " sincerely ", " sincerely " change position in Dai Shangping areas 71, i.e., the region of segmentation alphabetic string is inputted in display, " sincerely " substitution " si ".
Then, system searches for the word for matching with " you " or partly matching in word library, and is shown in Dai Shangping areas, Including " yours ", select " yours ", " yours " changes position in Dai Shangping areas, substitutes the segmentation alphabetic string of input “you”.In this way, phrase matching result is formed by the word " sincerely " selected respectively and " yours ".
System when showing word matched result, is carried out according to the precedence of segmentation alphabetic string.Only when first The matching result of segmentation alphabetic string " si " be shown, and have selected as the matching word of input target enter Dai Shangping areas it Afterwards, system just shows posterior segmentation alphabetic string you word matched result.
System such as clicks directly on according to the mode shielded in selection set in advance by function key or on the touchscreen " sincerely yours ", by " sincerely yours " shield on the whole as a phrase.
System will " sincerely yours " be used as self-word creation group, deposit self-word creation group storehouse, and generate corresponding Fig. 5 with Form shown in Fig. 6.
Afterwards in use, user can be by inputting SY, and sincerely yours are inputted.It can also pass through Another imperfect expression of the phrase is inputted, such as " sin yo ", the input of same phrase can also be realized.
Above-mentioned step is also applied for not only including the phrase of two words, namely includes the defeated of more than one separator Enter alphabetic string, its job step is similar to the above.
During user carries out phrase inputting, it may occur however that the input segmentation alphabetic string of part does not match word Situation, such case is probably the input because wrong, such as by " sincerely " erroneous input into " sincerelu ", or Person will " in a system according to claim1 " " according to " erroneous inputs into " accordingto ", etc. Deng.As an alternative embodiment, the solution of the present invention can be segmented in the case of word matched is unsuccessful to input Alphabetic string carries out carving culture, by taking " accordingto " as an example, first splits the last letter " o ", or is referred to as Remove alphabetical " o ", to front portion " accordingt ", that is, the alphabetic string shortened, include matching completely and matched with part Word matched, it is and right if being still divided into " accordingto " " according " and " to " without the word that the match is successful Preceding " according " carries out word matched, now with regard to that can find the word that the match is successful.If remove second letter it Afterwards, matching is still unsuccessful, then circulation carries out removing a step of last letter matches the alphabetic string of shortening, until matching Success.After the match is successful for the alphabetic string " according " of shortening, system generates a separator and is added in " according " Between " to ", then word matched is carried out to " to ".
For the situation of " sincerelu ", because " sincerel " can the match is successful, system has been automatically added to separator Afterwards, " u " turns into an individually segmentation alphabetic string, and many with such a letter word that the match is successful, system can be set Whether word matched is carried out to one " u " in this case.
On the other hand, in the solution of the present invention, display subsystem can set the display number of the matching result shown Amount, can also show more matching results, with reasonable employment screen space by turning over screen.
The solution of the present invention is mainly implemented in electronic equipment in a manner of computer program, states aspect on the implementation During, those skilled in the art are it is understood that system first determines whether input in alphabetic string whether include separator, and then basis is sentenced Disconnected result performs the step of Fig. 8 and Fig. 9 respectively.In this specification and accompanying drawing, the judgment step Fig. 8 and Fig. 9 are not added into And in described step, this is succinct in order to what is illustrated and describe, and this omission does not influence the method for the present invention and is The implementation of system.
During the step stated on the implementation, system not necessarily implements all steps, but some of which can be walked Suddenly different selection and combination are carried out, and forms technology from having rational different method on practice level.
Above is the alphabetic writing phrase entering method and system of the present invention are illustrated, it is necessary to refer to by taking English as an example Go out, the solution of the present invention is not limited to English, and is applied to all similar alphabetic writings.

Claims (12)

  1. A kind of 1. alphabetic writing phrase input method, it is characterised in that including:
    System word library, for storage system word set in advance;
    From word library is made, for storing the word of user's generation;
    System phrase database, for storage system phrase set in advance;
    Self-word creation group storehouse, for storing the phrase of user's generation;
    Subsystem is matched, for extracting phrase initial from the self-word creation group storehouse, system phrase database according to input alphabetic string String, input alphabetic string is matched with the phrase lead-in letter string, by input alphabetic string with making word library, system word library certainly In word matched, the phrase and/or word of matching are output to the candidate area of display subsystem;The matching subsystem First input alphabetic string is matched with self-word creation group storehouse in order, then matched with system phrase database, then with making word certainly Storehouse is matched, then is matched with system word library;In phrase database during the phrase of search and the alphabetical String matching of input, Initial address and termination address that phrase sequence number extracts corresponding phrase into phrase address table are first according to, then to phrase data In table phrase data are removed according to initial address and termination address;
    Display subsystem, inputting interface, input alphabetic string, candidate area for display system and the word as matching result Group and/or word.
  2. 2. the system as claimed in claim 1, it is characterised in that the phrase lead-in letter string is by word number and input letter What the initial of each word of the same phrase of string number sequentially formed, the phrase lead-in letter string and input alphabetic string are complete The phrase of matching is the phrase of matching.
  3. 3. the system as claimed in claim 1, it is characterised in that display subsystem sequentially shows input word in candidate area Letter string, the phrase with inputting alphabetical String matching, the word with inputting alphabetical String matching;
    When the phrase of multiple matchings be present, sorted by frequency of use or lexicographic order;
    When the word of multiple matchings be present, sorted by frequency of use or lexicographic order.
  4. 4. a kind of phrase entering method of alphabetic writing, it is characterised in that including step:
    Receive input alphabetic string;
    Phrase initial storehouse is extracted in self-word creation group storehouse and system phrase database according to input alphabetic string;
    Input alphabetic string is matched with phrase lead-in letter string, the word corresponding to phrase lead-in letter string that the two is matched completely Group is output to candidate area as matching phrase;It is described to be with the order that phrase lead-in letter string is matched by input alphabetic string, first Input character string is matched with self-word creation group storehouse, then matched with system phrase database, then with making word library progress certainly Match somebody with somebody, then matched with system word library;In phrase database during the phrase of search and the alphabetical String matching of input, it is first according to Phrase sequence number extracts the initial address and termination address of corresponding phrase into phrase address table, then into phrase tables of data according to Initial address and termination address remove phrase data;
    Input alphabetic string is matched with making the word in word library and system word library certainly, it is single using matching result as matching Word is output to candidate area;
    The selection operation result in candidate area is received, matching phrase or word are confirmed into output.
  5. 5. method as claimed in claim 4, it is characterised in that the phrase lead-in letter string is by word number and input letter What the initial of each word of the same phrase of string number sequentially formed, the phrase lead-in letter string and input alphabetic string are complete The phrase of matching is the phrase of matching.
  6. 6. method as claimed in claim 4, it is characterised in that also including step:
    Input alphabetic string, the phrase with inputting alphabetical String matching are sequentially shown in candidate area, with inputting alphabetical String matching Word;
    When the phrase of multiple matchings be present, sorted by frequency of use or lexicographic order;
    When the word of multiple matchings be present, sorted by frequency of use or lexicographic order.
  7. A kind of 7. alphabetic writing phrase input method, it is characterised in that including:
    System word library, for storage system word set in advance;
    From word library is made, for storing the word of user's generation;
    System phrase database, for storage system phrase set in advance;
    Self-word creation group storehouse, for storing the phrase of user's generation;
    Subsystem is matched, for being segmented alphabetic string according to the input opened by separators, in self-word creation group storehouse, system phrase database The middle phrase for determining that its word sequentially matches completely with segmentation alphabetic string or part matches, the phrase of matching is output to display The candidate area of system;The matching subsystem is in order first matched input segmentation alphabetic string with self-word creation group storehouse, then with System phrase database is matched;In phrase database during the phrase of search and the alphabetical String matching of input, phrase sequence is first according to The initial address and termination address of corresponding phrase are extracted number into phrase address table, then into phrase tables of data according to starting point Location and termination address remove phrase data;
    Display subsystem, inputting interface, input for display system are segmented alphabetic string, candidate area and as matching result Phrase.
  8. 8. system as claimed in claim 7, it is characterised in that the phrase of the matching includes word number and input segmented Letter string number identical phrase, also including word number more than input segmentation alphabetic string number, anterior word sequentially with input It is segmented the phrase of alphabetic string matching completely or part matching.
  9. 9. a kind of phrase entering method of alphabetic writing, it is characterised in that including step:
    Receive the segmentation alphabetic string opened by separators of input;
    Word of the segmentation alphabetic string sequentially with the phrase in self-word creation group storehouse and system phrase database will be inputted to be matched;In order First input segmentation alphabetic string is allocated with self-word creation group storehouse, then matched with system phrase database;Searched in phrase database During with the phrase of the alphabetical String matching of the input, the starting that phrase sequence number extract correspondence phrase into phrase address table is first according to Address and termination address, then remove phrase data according to initial address and termination address into phrase tables of data;
    Will input segmentation alphabetic string sequentially match completely with its word or part match phrase as match phrase be output to it is standby Constituency;
    The selection operation result in candidate area is received, matching phrase is confirmed into output.
  10. 10. method as claimed in claim 9, it is characterised in that the phrase of the matching includes word number and is segmented with input Alphabetic string number identical phrase, also including word number more than input segmentation alphabetic string number, anterior word sequentially with it is defeated Enter to be segmented the phrase of alphabetic string matching completely or part matching.
  11. 11. a kind of phrase entering method of alphabetic writing, it is characterised in that including step:
    Step 1, the segmentation alphabetic string separated by separator of input is received;
    Step 2, input segmentation alphabetic string is sequentially matched with making the word in word library and system word library certainly;To every When individual input segmentation alphabetic string is matched, first input segmentation alphabetic string is matched with making word library certainly in order, then with System word library is matched;
    Step 3, will respectively with input segmentation alphabetic string completely match or part match word as word matched result sequentially Candidate area is output to, receives the selection operation result of candidate area respectively, selects word matched result, composition matching phrase;
    Step 4, the selection operation result in candidate area is received, matching phrase is confirmed into output;
    Also include step:The matching phrase is added into self-word creation group storehouse;Search and the input alphabetic string in phrase database During the phrase matched somebody with somebody, initial address and termination address that phrase sequence number extracts corresponding phrase into phrase address table are first according to, so Afterwards phrase data are removed into phrase tables of data according to initial address and termination address.
  12. 12. method as claimed in claim 11, it is characterised in that the step 2 and step 3 also specifically include:
    Previously input segmentation alphabetic string is completed to match and have selected word matched result and then to next input point Section alphabetic string is matched and selected word matched result.
CN201310329118.4A 2013-07-31 2013-07-31 Alphabetic writing phrase entering method and system Active CN104345896B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310329118.4A CN104345896B (en) 2013-07-31 2013-07-31 Alphabetic writing phrase entering method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310329118.4A CN104345896B (en) 2013-07-31 2013-07-31 Alphabetic writing phrase entering method and system

Publications (2)

Publication Number Publication Date
CN104345896A CN104345896A (en) 2015-02-11
CN104345896B true CN104345896B (en) 2018-02-06

Family

ID=52501701

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310329118.4A Active CN104345896B (en) 2013-07-31 2013-07-31 Alphabetic writing phrase entering method and system

Country Status (1)

Country Link
CN (1) CN104345896B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105608139B (en) * 2015-12-16 2019-04-09 携程计算机技术(上海)有限公司 Data matching system and method
CN107273537A (en) * 2017-06-30 2017-10-20 深圳创维数字技术有限公司 One kind search words recommending method, set top box and storage medium
CN109901725B (en) * 2017-12-07 2022-05-06 北京搜狗科技发展有限公司 Pinyin string segmentation method and device
CN110221707A (en) * 2018-03-01 2019-09-10 北京搜狗科技发展有限公司 A kind of English input method, device and electronic equipment
CN113205084B (en) * 2021-07-05 2021-10-08 北京一起教育科技有限责任公司 English dictation correction method and device and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7096425B1 (en) * 1998-12-15 2006-08-22 Fujitsu Limited Dictionary apparatus for preparing and displaying form with keyword entries from entered word string
CN101075262A (en) * 2007-06-12 2007-11-21 腾讯科技(深圳)有限公司 Method and system for inputting Chinese character by computer
CN101079060A (en) * 2007-03-26 2007-11-28 腾讯科技(深圳)有限公司 Chinese character input simple 'pinyin' implementation method and system
CN101271363A (en) * 2007-03-21 2008-09-24 姜润基 Word retrieval method
CN101315639A (en) * 2008-06-20 2008-12-03 北京天语君锐科技有限公司 Search system and method
CN101819471A (en) * 2010-03-27 2010-09-01 孙强国 Method for inputting and displaying alphabetic writing words and phrases

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7096425B1 (en) * 1998-12-15 2006-08-22 Fujitsu Limited Dictionary apparatus for preparing and displaying form with keyword entries from entered word string
CN101271363A (en) * 2007-03-21 2008-09-24 姜润基 Word retrieval method
CN101079060A (en) * 2007-03-26 2007-11-28 腾讯科技(深圳)有限公司 Chinese character input simple 'pinyin' implementation method and system
CN101075262A (en) * 2007-06-12 2007-11-21 腾讯科技(深圳)有限公司 Method and system for inputting Chinese character by computer
CN101315639A (en) * 2008-06-20 2008-12-03 北京天语君锐科技有限公司 Search system and method
CN101819471A (en) * 2010-03-27 2010-09-01 孙强国 Method for inputting and displaying alphabetic writing words and phrases

Also Published As

Publication number Publication date
CN104345896A (en) 2015-02-11

Similar Documents

Publication Publication Date Title
CN102081490B (en) Touch screen equipment-oriented dot-dash Chinese character initial and final input system
CN103365925B (en) Obtain polyphone phonetic, method based on phonetic retrieval and related device thereof
CN104345896B (en) Alphabetic writing phrase entering method and system
CN102455845B (en) Character entry method and device
CN100565525C (en) A kind of computer Chinese input method and system
WO2012139475A1 (en) Method and device for acquiring candidate character string corresponding to input key sequence
CN101002162A (en) Handheld electronic device with text disambiguation
WO2018156351A1 (en) Corpus specific generative query completion assistant
KR102182672B1 (en) The method for searching integrated multilingual consonant pattern and apparatus thereof
US8782067B2 (en) Searching method, searching device and recording medium recording a computer program
CN110073351A (en) Text is predicted by combining the candidate attempted from user
CN102119375B (en) Word input method
CN108279787A (en) Input method and device
JP2005122665A (en) Electronic equipment apparatus, method for updating related word database, and program
CN101010673B (en) Method and system for ambiguity resolution for input of handheld electronic device
CN110658923B (en) Method and device for quickly inputting pinyin and Chinese characters
KR20070024386A (en) Succession chinese character input method
CN106293129B (en) A kind of method that individual Chinese character is inputted in Chinese character coding input method
KR100862242B1 (en) Words retrieving method
CN107894851A (en) A kind of sliding spelling Chinese character inputting method
KR101667183B1 (en) Method and system for input a combination of old hangul jamo from smart devices based on cheonjiin
CN104850237A (en) Method for generating and processing derived candidate item in input method
CN101103347B (en) Method and system for ambiguity resolution for input of handheld electronic device
CN109376339B (en) Text conversion candidate rule information extraction method based on user behaviors
CN110955338A (en) Chinese character input method and device related to word segmentation

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