CN104571821A - Long sentence positioning method and device - Google Patents

Long sentence positioning method and device Download PDF

Info

Publication number
CN104571821A
CN104571821A CN201410849846.2A CN201410849846A CN104571821A CN 104571821 A CN104571821 A CN 104571821A CN 201410849846 A CN201410849846 A CN 201410849846A CN 104571821 A CN104571821 A CN 104571821A
Authority
CN
China
Prior art keywords
candidate item
word
upper screen
location character
screen candidate
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
CN201410849846.2A
Other languages
Chinese (zh)
Other versions
CN104571821B (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.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201410849846.2A priority Critical patent/CN104571821B/en
Publication of CN104571821A publication Critical patent/CN104571821A/en
Application granted granted Critical
Publication of CN104571821B publication Critical patent/CN104571821B/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/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance

Abstract

The invention discloses a long sentence positioning method, and relates to the technical field of input methods. The method comprises the following steps: displaying previous screen candidate items in the input method according to an edit string input by a user; displaying a positioning character at a specific position corresponding to each word in one previous screen candidate item according to received trigger operation; receiving the positioning character input by the user; positioning a cursor to the edit string of the previous screen candidate item according to the correspondence of the positioning character and each word of the previous screen candidate item thus, the problems of more troublesome operation and slow positioning process for a user since the user is required to move a hand to a direction key position of a keyboard by positioning the cursor in the edit string through a direction key and then the cursor can only be positioned to a required position through multiple clicking are solved.

Description

A kind of long sentence localization method and device
Technical field
The present invention relates to input method technique field, be specifically related to a kind of long sentence localization method and device.
Background technology
In various computer systems, default input language is the character in English.English input can directly select letter to input.The input of other language then comparatively bothers, such as Chinese language has up to ten thousand characters, directly cannot input simply by button completely, need to encode to Chinese character, such as according to the pronunciation characteristics of Chinese character, (corresponding spelling input method) is encoded to Chinese character, according to the font characteristic (as stroke and radical) of Chinese character, (corresponding font input method) etc. is encoded to Chinese character, each key combination then can be carried out corresponding with encode Chinese characters for computer, thus can carry out the input of Chinese character.
In input method, user disposablely may can input a long sentence, such as user clicks the keystroke sequence of " changjudingweixiugaigongneng ", input method is known and is obtained editor's string " chang ' ju ' ding ' wei ' xiu ' gai ' gong ' neng " to this keystroke sequence identification, then obtains candidate item is shielded in " long sentence location modify feature ", " long sentence location " etc.And if user is in above-mentioned input process, certain coding input mistake, or want to revise certain editor's substring, need the movement of the directionkeys one by keyboard, with positioning cursor to the assigned address in editor's string, then modify.But, in said process, by directionkeys positioning cursor in editor's string, user is needed hand to be moved to the directionkeys position of keyboard, then may need repeatedly to click could positioning cursor to the position of needs, this is cumbersome for operating user, and position fixing process is slow.
Summary of the invention
In view of the above problems, the present invention is proposed to provide a kind of overcoming the problems referred to above or the long sentence locating device solved the problem at least in part and corresponding long sentence localization method.
According to one aspect of the present invention, provide a kind of long sentence localization method, comprising:
The editor inputted according to user in input method shields candidate item on going here and there and showing;
According to the trigger action received, shield on one in candidate item, at the display location character of the assigned address of each word of correspondence;
Receive the location character of user's input;
According to the corresponding relation of described location character and each word of upper screen candidate item, cursor is navigated in editor's string of described upper screen candidate item.
Preferably, the described trigger action according to user, shields in candidate item on one, comprises at the display location character of the assigned address of each word of correspondence:
According to the trigger action received, in the upper screen candidate item of candidate bar current presentation, determine corresponding upper screen candidate item.
Preferably, the trigger action that described basis receives, in the upper screen candidate item of candidate bar current presentation, determine corresponding upper screen candidate item, comprising:
According to function button and digital keys, in the upper screen candidate item of candidate bar current presentation, determine corresponding upper screen candidate item.
Preferably, described editor's string is pinyin string.
Preferably, describedly to shield on one in candidate item, comprise at the display location character of the assigned address of each word of correspondence:
Extract the initial of the pinyin string of each word, and the described assigned address at each word of correspondence is shown.
Preferably, the described corresponding relation according to described location character and each word of upper screen candidate item, navigates to cursor in editor's string of described upper screen candidate item, comprising:
Exist in the location character of each word multiple identical alphabetical time, for same location character, judge the number receiving described location character, determine corresponding word according to described number, and cursor is navigated to during the editor corresponding with described word go here and there.
Preferably, the described corresponding relation according to described location character and each word of upper screen candidate item, editor's string cursor being navigated to described upper screen candidate item comprises:
According to the corresponding relation of described location character and each word of upper screen candidate item, before cursor being navigated to location character described in the editor's substring corresponding to the word corresponding with described location character.
According to another aspect of the present invention, provide a kind of long sentence locating device, comprising:
Shield display module on initial, the editor being suitable for inputting according to user in input method shields candidate item on going here and there and showing;
Location character display module, is suitable for, according to the trigger action received, shielding in candidate item, at the display location character of the assigned address of each word of correspondence on one;
Location character receiver module, is suitable for the location character receiving user's input;
Cursor locating module, is suitable for the corresponding relation according to described location character and each word of upper screen candidate item, is navigated to by cursor in editor's string of described upper screen candidate item.
Preferably, described location character display module comprises:
Upper screen candidate item determination module, is suitable for, according to the trigger action received, in the upper screen candidate item of candidate bar current presentation, determining corresponding upper screen candidate item.
Preferably, described upper screen candidate item determination module comprises:
Shield candidate item determination module on first, be suitable for according to function button and digital keys, in the upper screen candidate item of candidate bar current presentation, determine corresponding upper screen candidate item.
Preferably, it is characterized in that, described editor's string is pinyin string.
Preferably, described location character display module comprises:
Initial display module, is suitable for the initial of the pinyin string extracting each word, and is shown by the described assigned address at each word of correspondence.
Preferably, described cursor locating module comprises:
Repeat character (RPT) judge module, be suitable for existing in the location character of each word multiple identical alphabetical time, for same location character, judge the number receiving described location character, determine corresponding word according to described number, and cursor is navigated to during the editor corresponding with described word go here and there.
Preferably, comprise at cursor locating module:
First cursor locating module, is suitable for the corresponding relation according to described location character and each word of upper screen candidate item, before cursor being navigated to location character described in the editor's substring corresponding to the word corresponding with described location character.
According to editor's string that long sentence localization method of the present invention can input according to user in input method, after candidate item is shielded in displaying, directly according to the disposable trigger action of user, the assigned address of each word of the upper screen candidate item of amendment is needed at it, immediately below such as this word, show the location character being used for quick position, when user needs to put in certain word correspondence editor displacement to edit, then can input the location character of this word, can put to this word editor displacement by quick position, solve owing to editing positioning cursor in string by directionkeys thus, user is needed hand to be moved to the directionkeys position of keyboard, then may need repeatedly to click the position of ability positioning cursor to needs, this is cumbersome for operation user, the problem that position fixing process is slow, achieve and can be put by editor's displacement of location character quick position to the word needing editor, and the assigned address due to the word in upper screen candidate item provides the guidance information of location character, the location character remembering and analyze each word is removed without user, the location character of this word can be specified fast, thus location character can be inputted fast, to realize beneficial effect cursor being carried out to quick position.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to technological means of the present invention can be better understood, and can be implemented according to the content of instructions, and can become apparent, below especially exemplified by the specific embodiment of the present invention to allow above and other objects of the present invention, feature and advantage.
Accompanying drawing explanation
By reading hereafter detailed description of the preferred embodiment, various other advantage and benefit will become cheer and bright for those of ordinary skill in the art.Accompanying drawing only for illustrating the object of preferred implementation, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts by identical reference symbol.In the accompanying drawings:
Fig. 1 shows a kind of according to an embodiment of the invention schematic flow sheet of long sentence localization method;
The formula bar that Figure 1A obtains after showing user's click keys sequence and candidate bar show interface;
The location character that Figure 1B shows the embodiment of the present invention shows example;
Fig. 1 C shows the cursor location example of the embodiment of the present invention;
Fig. 2 shows a kind of according to an embodiment of the invention schematic flow sheet of long sentence localization method;
Fig. 3 shows a kind of according to an embodiment of the invention schematic flow sheet of long sentence localization method;
Fig. 4 shows a kind of according to an embodiment of the invention schematic flow sheet of long sentence localization method.
Embodiment
Below with reference to accompanying drawings exemplary embodiment of the present disclosure is described in more detail.Although show exemplary embodiment of the present disclosure in accompanying drawing, however should be appreciated that can realize the disclosure in a variety of manners and not should limit by the embodiment set forth here.On the contrary, provide these embodiments to be in order to more thoroughly the disclosure can be understood, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
One of core concept of the present invention is: editor's string that can input according to user in input method according to long sentence localization method of the present invention, after candidate item is shielded in displaying, directly according to the disposable trigger action of user, the assigned address of each word of the upper screen candidate item of amendment is needed at it, immediately below such as this word, show the location character being used for quick position, when user needs to put in certain word correspondence editor displacement to edit, then can input the location character of this word, can put to this word editor displacement by quick position.Said process can be put by editor's displacement of location character quick position to the word needing editor, and the assigned address due to the word in upper screen candidate item provides the guidance information of location character, the location character remembering and analyze each word is removed without user, the location character of this word can be specified fast, thus location character can be inputted fast, to realize carrying out quick position to cursor.
Embodiment one
With reference to Fig. 1, it illustrates the schematic flow sheet of a kind of long sentence localization method of the present invention, specifically can comprise:
Step 110, the editor inputted according to user in input method shields candidate item on going here and there and showing;
In embodiments of the present invention, according to the pinyin string that the keystroke sequence of user is determined in input method, and determine upper screen candidate item according to described pinyin string.
In keyboard, user clicks the keystroke sequence of " changjudingweixiugaigongneng ", input method is known and is obtained editor's string " chang ' ju ' ding ' wei ' xiu ' gai ' gong ' neng " to this keystroke sequence identification and show at formula bar, " ' wherein " be the self-defining mark of word segmentation of input method, the position location of cursor is not affected; Then obtain the upper screen candidate item such as " long sentence location modify feature ", " long sentence location " to show in the candidate bar of input method.User as Figure 1A inputs the interface of input method displaying example that previous example obtains.
Preferably, in embodiments of the present invention, described editor's string is pinyin string.Certainly, also can be applied to other in the embodiment of the present invention to exist in the input method of similar phonetic and candidate item corresponding relation.
Step 120, according to the trigger action received, shields in candidate item on one, at the display location character of the assigned address of each word of correspondence;
In embodiments of the present invention, according to the trigger action of user on keyboard, candidate item can be shielded on certain, obtain the location character of each word of screen candidate item on this, on this, then shield the assigned address display location character of each word of candidate item.
In embodiments of the present invention, according to function button, such as can click a ctrl key, trigger and enter amendment pattern in location of the present invention, namely enter and shield in candidate item on one, in the process of the display location character of the assigned address of each word of correspondence.Can certainly be other function buttons, such as tab key, the incoherent button of normal input button of F1 key etc. and input method.
Acquiescence is when user's click function button in the present invention, determines that the upper screen candidate item needing to show location character is the first candidate item of showing in candidate bar.
Preferably, describedly to shield on one in candidate item, comprise at the display location character of the assigned address of each word of correspondence:
Sub-step 121, extracts the initial of the pinyin string of each word, and is shown by the described assigned address at each word of correspondence.
In such as Fig. 2 A, for " the long sentence location modify feature " of first upper screen candidate item, obtain the location character of each word, be respectively C, J, D, W, X, G, G, N, be then presented at the below of corresponding word.Top can certainly be presented at.
Preferably, the described trigger action according to user, shields in candidate item on one, comprises at the display location character of the assigned address of each word of correspondence:
Sub-step 122, according to the trigger action received, in the upper screen candidate item of candidate bar current presentation, determines corresponding upper screen candidate item.
In embodiments of the present invention, because the upper screen candidate item in input method candidate bar has a lot, as in Figure 1A, 3 are had.And for user, its target candidate item may not be first upper screen candidate item, be such as that second shields candidate item, but the basis needing to shield candidate item on second is edited again.So the present invention first can determine according to the operation of user the upper screen candidate item that the user of quick position needs.
Further, the trigger action that described basis receives, in the upper screen candidate item of candidate bar current presentation, determine corresponding upper screen candidate item, comprising:
Sub-step 1221, according to function button and digital keys, in the upper screen candidate item of candidate bar current presentation, determines corresponding upper screen candidate item.
In embodiments of the present invention, because the upper screen candidate item of candidate bar can exist numbering, " 1. long sentence location modify feature ", " 2. long sentence location ", " 3. long sentence " in such as Figure 1A, so user can, by pressing the numbering of function button and upper screen candidate item simultaneously, determine to need the upper screen candidate item at the display location character of the assigned address of each word of correspondence.Such as press " ctrl+2 " simultaneously, then below each word of " long sentence location ", show location character " C, J, D, W " respectively.
Step 130, receives the location character of user's input;
When so user wants cursor to navigate to editor's substring correspondence position corresponding to which word, then input corresponding location character.Want in such as Figure 1B to navigate to " repairing " word, then user clicks x key.
Step 140, according to the corresponding relation of described location character and each word of upper screen candidate item, navigates to cursor in editor's string of described upper screen candidate item.
The embodiment of the present invention then according to the corresponding relation of location character and each word of upper screen candidate item, can be determined editor's substring that location character is corresponding, then cursor can be navigated to the relevant position of this editor's substring.
As previous example, after input method receives X key, according to the corresponding relation of X with " repairing " word, and then edit the corresponding relation of substring according to " repairing " and " xiu ", before cursor is navigated to x.
Preferably, the described corresponding relation according to described location character and each word of upper screen candidate item, navigates to cursor in editor's string of described upper screen candidate item, comprising:
Sub-step 141, exist in the location character of each word multiple identical alphabetical time, for same location character, judge the number receiving described location character, determine corresponding word according to described number, and cursor is navigated to during the editor corresponding with described word go here and there.
In embodiments of the present invention, shield in candidate item on same, multiple word may be there is there is identical location character, as in Figure 1B, " to change " and " merit " has identical location character " G ", if so user wants the editor's substring navigating to " merit ", then need input twice G, if input a G, then navigate to editor's substring of " changing ".Namely the embodiment of the present invention can for same location character, if corresponding multiple word, the present invention then according to the number of G input, corresponding corresponding word according to the order of sequence.
Preferably, the described corresponding relation according to described location character and each word of upper screen candidate item, editor's string cursor being navigated to described upper screen candidate item comprises:
Sub-step 142, according to the corresponding relation of described location character and each word of upper screen candidate item, before navigating to location character described in the editor's substring corresponding to the word corresponding with described location character by cursor.
In embodiments of the present invention, conveniently user edits, and reduces the impact of subsequent modification on editor's substring, before cursor is then navigated to location character by the embodiment of the present invention.In such as Figure 1B, user clicks D, then before cursor " | " being navigated to " d " of phonetic substring " ding ".
Editor's string that the embodiment of the present invention can input according to user in input method, after candidate item is shielded in displaying, directly according to the disposable trigger action of user, the assigned address of each word of the upper screen candidate item of amendment is needed at it, immediately below such as this word, show the location character being used for quick position, when user needs to put in certain word correspondence editor displacement to edit, then can input the location character of this word, can put to this word editor displacement by quick position.In general said process only needs 2 buttons cursor can be navigated to the position of the word that user wants, and few situation needs 3 times or 4 times.But with respect to directionkeys concerning the cursor of long sentence location, decrease the movement of gesture, greatly reduce click time, thus, can be put to needing editor's displacement of the word edited by location character quick position.And the assigned address due to the word in upper screen candidate item provides the guidance information of location character, the location character remembering and analyze each word is removed without user, the location character of this word can be specified fast, improve the input efficiency of location character, thus location character can be inputted sooner, to realize carrying out quick position to cursor.
Embodiment two
With reference to Fig. 2, it illustrates the schematic flow sheet of a kind of long sentence localization method of the present invention, specifically can comprise:
Step 210, shows according to the pinyin string of user's input and shields candidate item in input method;
In embodiments of the present invention, according to the pinyin string that the keystroke sequence of user is determined in input method, and determine upper screen candidate item according to described pinyin string.
User as Figure 1A inputs the interface of input method displaying example that previous example obtains.In keyboard, user clicks the keystroke sequence of " changjudingweixiugaigongneng ", input method is known and is obtained editor's string " chang ' ju ' ding ' wei ' xiu ' gai ' gong ' neng " to this keystroke sequence identification and show at formula bar, " ' wherein " be the self-defining mark of word segmentation of input method, the position location of cursor is not affected; Then obtain the upper screen candidate item such as " long sentence location modify feature ", " long sentence location " to show in the candidate bar of input method.
Step 220, according to the ctrl button received, shields in candidate item, extracts the initial of the pinyin string of each word on first, and is shown by the described assigned address at each word of correspondence;
Extract the first letter C of the phonetic substring of each word of " long sentence location modify feature ", J, D, W, X, G, G, N, and the described assigned address at each word of correspondence is shown, as Figure 1B.
Step 230, receives the location character of user's input;
Step 240, judges whether there is multiple identical described location character in each location character of each word in described upper screen candidate item; If there is multiple identical described location character, then enter step 250; If there is no multiple identical described location character, then enter step 260;
If that user's input is D, then this location character D, does not repeat in " C, J, D, W, X, G, G, N ", only has one, enters step 250;
If that user's input is G, then this location character G repeats, has two, enter step 260 in " C, J, D, W, X, G, G, N ";
Step 250, according to the corresponding relation of the word of unique described location character and upper screen candidate item, determines the word that upper screen candidate item is corresponding with described location character, thus determines the phonetic substring of corresponding described word in formula bar; Enter step 270;
Directly determine according to D the pinyin string " ding " that the word of its correspondence " is determined ".
Step 260, adds up the input number of times of not unique described location character, according to described number of times, determines the word that upper screen candidate item is corresponding with described location character according to the order of sequence, thus determines the phonetic substring of corresponding described word in formula bar; Enter step 270;
For the G of user's input, the number of statistics input G, if one, then searches word corresponding to first G according to the order of sequence, namely " changes ", then can determine the phonetic substring " gai " of corresponding described word in formula bar; If two, then search word corresponding to second G according to the order of sequence, i.e. " merit ", then can determine the phonetic substring " gong " of corresponding described word in formula bar.
Step 270, before location character described in phonetic substring cursor being navigated to described word.
For aforementioned " ding " that determine, then before cursor being navigated to d, as Fig. 1 C.
For aforementioned " gai " that determine, then before cursor being navigated to g.
For aforementioned " gong " that determine, then before cursor being navigated to g.
Editor's string that the embodiment of the present invention can input according to user in input method, after candidate item is shielded in displaying, directly according to the disposable trigger action of user, the assigned address of each word of the upper screen candidate item of amendment is needed at it, immediately below such as this word, show the location character being used for quick position, when user needs to put in certain word correspondence editor displacement to edit, then can input the location character of this word, can put to this word editor displacement by quick position.In general said process only needs 2 buttons cursor can be navigated to the position of the word that user wants, and few situation needs 3 times or 4 times.But with respect to directionkeys concerning the cursor of long sentence location, decrease the movement of gesture, greatly reduce click time, thus, can be put to needing editor's displacement of the word edited by location character quick position.And the assigned address due to the word in upper screen candidate item provides the guidance information of location character, the location character remembering and analyze each word is removed without user, the location character of this word can be specified fast, improve the input efficiency of location character, thus location character can be inputted sooner, to realize carrying out quick position to cursor.
Embodiment three
With reference to Fig. 3, it illustrates the schematic flow sheet of a kind of long sentence localization method of the present invention, specifically can comprise:
Initial upper screen display module 310, the editor being suitable for inputting according to user in input method shields candidate item on going here and there and showing;
Location character display module 320, is suitable for, according to the trigger action received, shielding in candidate item, at the display location character of the assigned address of each word of correspondence on one;
Location character receiver module 330, is suitable for the location character receiving user's input;
Cursor locating module 340, is suitable for the corresponding relation according to described location character and each word of upper screen candidate item, is navigated to by cursor in editor's string of described upper screen candidate item.
Preferably, described location character display module comprises:
Upper screen candidate item determination module, is suitable for, according to the trigger action received, in the upper screen candidate item of candidate bar current presentation, determining corresponding upper screen candidate item.
Preferably, described upper screen candidate item determination module comprises:
Shield candidate item determination module on first, be suitable for according to function button and digital keys, in the upper screen candidate item of candidate bar current presentation, determine corresponding upper screen candidate item.
Preferably, described editor's string is pinyin string.
Preferably, described location character display module comprises:
Initial display module, is suitable for the initial of the pinyin string extracting each word, and is shown by the described assigned address at each word of correspondence.
Preferably, described cursor locating module comprises:
Repeat character (RPT) judge module, be suitable for existing in the location character of each word multiple identical alphabetical time, for same location character, judge the number receiving described location character, determine corresponding word according to described number, and cursor is navigated to during the editor corresponding with described word go here and there.
Preferably, comprise at cursor locating module:
First cursor locating module, is suitable for the corresponding relation according to described location character and each word of upper screen candidate item, before cursor being navigated to location character described in the editor's substring corresponding to the word corresponding with described location character.
Embodiment four
With reference to Fig. 4, it illustrates the schematic flow sheet of a kind of long sentence localization method of the present invention, specifically can comprise:
Initial upper screen display module 410, the editor being suitable for inputting according to user in input method shields candidate item on going here and there and showing;
Location character display module 420, is suitable for the trigger action according to receiving, in first screen candidate item, at the display location character of the assigned address of each word of correspondence; Specifically comprise:
Initial display module 422, is suitable for the initial of the pinyin string extracting each word, and is shown by the described assigned address at each word of correspondence;
Location character receiver module 430, is suitable for the location character receiving user's input;
Cursor locating module 440, is suitable for the corresponding relation according to described location character and each word of upper screen candidate item, is navigated to by cursor in editor's string of described upper screen candidate item, specifically comprises:
Repeat character (RPT) judge module 441, is suitable for judging whether there is multiple identical described location character in each location character of each word in described upper screen candidate item; If there is multiple identical described location character, then according to the corresponding relation of the word of unique described location character and upper screen candidate item, determine the word that upper screen candidate item is corresponding with described location character, thus determine the phonetic substring of corresponding described word in formula bar; If there is no multiple identical described location character, then add up the input number of times of not unique described location character, according to described number of times, determine the word that upper screen candidate item is corresponding with described location character according to the order of sequence, thus determine the phonetic substring of corresponding described word in formula bar.
First cursor locating module 442, before being suitable for cursor being navigated to location character described in the editor's substring corresponding to the word corresponding with described location character.
Intrinsic not relevant to any certain computer, virtual system or miscellaneous equipment with display at this algorithm provided.Various general-purpose system also can with use based on together with this teaching.According to description above, the structure constructed required by this type systematic is apparent.In addition, the present invention is not also for any certain programmed language.It should be understood that and various programming language can be utilized to realize content of the present invention described here, and the description done language-specific is above to disclose preferred forms of the present invention.
In instructions provided herein, describe a large amount of detail.But can understand, embodiments of the invention can be put into practice when not having these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand in each inventive aspect one or more, in the description above to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes.But, the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires feature more more than the feature clearly recorded in each claim.Or rather, as claims below reflect, all features of disclosed single embodiment before inventive aspect is to be less than.Therefore, the claims following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and adaptively can change the module in the equipment in embodiment and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition.Except at least some in such feature and/or process or unit be mutually repel except, any combination can be adopted to combine all processes of all features disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment or unit.Unless expressly stated otherwise, each feature disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) can by providing identical, alternative features that is equivalent or similar object replaces.
In addition, those skilled in the art can understand, although embodiments more described herein to comprise in other embodiment some included feature instead of further feature, the combination of the feature of different embodiment means and to be within scope of the present invention and to form different embodiments.Such as, in the following claims, the one of any of embodiment required for protection can use with arbitrary array mode.
All parts embodiment of the present invention with hardware implementing, or can realize with the software module run on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that and microprocessor or digital signal processor (DSP) can be used in practice to realize according to the embodiment of the present invention long sentence is locatedthe some or all functions of the some or all parts in equipment.The present invention can also be embodied as part or all equipment for performing method as described herein or device program (such as, computer program and computer program).Realizing program of the present invention and can store on a computer-readable medium like this, or the form of one or more signal can be had.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
The present invention will be described instead of limit the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment when not departing from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and does not arrange element in the claims or step.Word "a" or "an" before being positioned at element is not got rid of and be there is multiple such element.The present invention can by means of including the hardware of some different elements and realizing by means of the computing machine of suitably programming.In the unit claim listing some devices, several in these devices can be carry out imbody by same hardware branch.Word first, second and third-class use do not represent any order.Can be title by these word explanations.
The invention discloses A1, a kind of long sentence localization method, comprising:
The editor inputted according to user in input method shields candidate item on going here and there and showing;
According to the trigger action received, shield on one in candidate item, at the display location character of the assigned address of each word of correspondence;
Receive the location character of user's input;
According to the corresponding relation of described location character and each word of upper screen candidate item, cursor is navigated in editor's string of described upper screen candidate item.
A2, method as described in A1, the described trigger action according to user, shields in candidate item on one, comprises at the display location character of the assigned address of each word of correspondence:
According to the trigger action received, in the upper screen candidate item of candidate bar current presentation, determine corresponding upper screen candidate item.
A3, method as described in A2, the trigger action that described basis receives, in the upper screen candidate item of candidate bar current presentation, determine corresponding upper screen candidate item, comprising:
According to function button and digital keys, in the upper screen candidate item of candidate bar current presentation, determine corresponding upper screen candidate item.
A4, method as described in A1, described editor's string is pinyin string.
A5, method as described in A4, describedly shield in candidate item on one, comprises at the display location character of the assigned address of each word of correspondence:
Extract the initial of the pinyin string of each word, and the described assigned address at each word of correspondence is shown.
A6, method as described in A1 or A5, the described corresponding relation according to described location character and each word of upper screen candidate item, navigates to cursor in editor's string of described upper screen candidate item, comprising:
Exist in the location character of each word multiple identical alphabetical time, for same location character, judge the number receiving described location character, determine corresponding word according to described number, and cursor is navigated to during the editor corresponding with described word go here and there.
A7, method as described in A1, the described corresponding relation according to described location character and each word of upper screen candidate item, editor's string cursor being navigated to described upper screen candidate item comprises:
According to the corresponding relation of described location character and each word of upper screen candidate item, before cursor being navigated to location character described in the editor's substring corresponding to the word corresponding with described location character.
The invention also discloses B8, a kind of long sentence locating device, comprising:
Shield display module on initial, the editor being suitable for inputting according to user in input method shields candidate item on going here and there and showing;
Location character display module, is suitable for, according to the trigger action received, shielding in candidate item, at the display location character of the assigned address of each word of correspondence on one;
Location character receiver module, is suitable for the location character receiving user's input;
Cursor locating module, is suitable for the corresponding relation according to described location character and each word of upper screen candidate item, is navigated to by cursor in editor's string of described upper screen candidate item.
B9, device as described in B8, described location character display module comprises:
Upper screen candidate item determination module, is suitable for, according to the trigger action received, in the upper screen candidate item of candidate bar current presentation, determining corresponding upper screen candidate item.
B10, device as described in B9, described upper screen candidate item determination module comprises:
Shield candidate item determination module on first, be suitable for according to function button and digital keys, in the upper screen candidate item of candidate bar current presentation, determine corresponding upper screen candidate item.
B11, device as described in A1, described editor's string is pinyin string.
B12, device as described in B11, described location character display module comprises:
Initial display module, is suitable for the initial of the pinyin string extracting each word, and is shown by the described assigned address at each word of correspondence.
B13, device as described in B8 or B11, described cursor locating module comprises:
Repeat character (RPT) judge module, be suitable for existing in the location character of each word multiple identical alphabetical time, for same location character, judge the number receiving described location character, determine corresponding word according to described number, and cursor is navigated to during the editor corresponding with described word go here and there.
B14, device as described in A1, comprise at cursor locating module:
First cursor locating module, is suitable for the corresponding relation according to described location character and each word of upper screen candidate item, before cursor being navigated to location character described in the editor's substring corresponding to the word corresponding with described location character.

Claims (10)

1. a long sentence localization method, comprising:
The editor inputted according to user in input method shields candidate item on going here and there and showing;
According to the trigger action received, shield on one in candidate item, at the display location character of the assigned address of each word of correspondence;
Receive the location character of user's input;
According to the corresponding relation of described location character and each word of upper screen candidate item, cursor is navigated in editor's string of described upper screen candidate item.
2. the method for claim 1, is characterized in that, the described trigger action according to user, shields in candidate item on one, comprises at the display location character of the assigned address of each word of correspondence:
According to the trigger action received, in the upper screen candidate item of candidate bar current presentation, determine corresponding upper screen candidate item.
3. method as claimed in claim 2, is characterized in that, the trigger action that described basis receives, in the upper screen candidate item of candidate bar current presentation, determines corresponding upper screen candidate item, comprising:
According to function button and digital keys, in the upper screen candidate item of candidate bar current presentation, determine corresponding upper screen candidate item.
4. the method for claim 1, is characterized in that, described editor's string is pinyin string.
5. method as claimed in claim 4, is characterized in that, describedly shields on one in candidate item, comprises at the display location character of the assigned address of each word of correspondence:
Extract the initial of the pinyin string of each word, and the described assigned address at each word of correspondence is shown.
6. the method as described in claim 1 or 5, is characterized in that, the described corresponding relation according to described location character and each word of upper screen candidate item, is navigated to by cursor in editor's string of described upper screen candidate item, comprising:
Exist in the location character of each word multiple identical alphabetical time, for same location character, judge the number receiving described location character, determine corresponding word according to described number, and cursor is navigated to during the editor corresponding with described word go here and there.
7. the method for claim 1, is characterized in that, the described corresponding relation according to described location character and each word of upper screen candidate item, and editor's string cursor being navigated to described upper screen candidate item comprises:
According to the corresponding relation of described location character and each word of upper screen candidate item, before cursor being navigated to location character described in the editor's substring corresponding to the word corresponding with described location character.
8. a long sentence locating device, comprising:
Shield display module on initial, the editor being suitable for inputting according to user in input method shields candidate item on going here and there and showing;
Location character display module, is suitable for, according to the trigger action received, shielding in candidate item, at the display location character of the assigned address of each word of correspondence on one;
Location character receiver module, is suitable for the location character receiving user's input;
Cursor locating module, is suitable for the corresponding relation according to described location character and each word of upper screen candidate item, is navigated to by cursor in editor's string of described upper screen candidate item.
9. device as claimed in claim 8, it is characterized in that, described location character display module comprises:
Upper screen candidate item determination module, is suitable for, according to the trigger action received, in the upper screen candidate item of candidate bar current presentation, determining corresponding upper screen candidate item.
10. device as claimed in claim 9, it is characterized in that, described upper screen candidate item determination module comprises:
Shield candidate item determination module on first, be suitable for according to function button and digital keys, in the upper screen candidate item of candidate bar current presentation, determine corresponding upper screen candidate item.
CN201410849846.2A 2014-12-30 2014-12-30 A kind of long sentence localization method and device Active CN104571821B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410849846.2A CN104571821B (en) 2014-12-30 2014-12-30 A kind of long sentence localization method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410849846.2A CN104571821B (en) 2014-12-30 2014-12-30 A kind of long sentence localization method and device

Publications (2)

Publication Number Publication Date
CN104571821A true CN104571821A (en) 2015-04-29
CN104571821B CN104571821B (en) 2018-09-04

Family

ID=53088034

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410849846.2A Active CN104571821B (en) 2014-12-30 2014-12-30 A kind of long sentence localization method and device

Country Status (1)

Country Link
CN (1) CN104571821B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010028742A1 (en) * 1996-05-20 2001-10-11 Keiko Gunji Apparatus for recognizing input character strings by inference
CN101661331A (en) * 2008-08-28 2010-03-03 北京搜狗科技发展有限公司 Character and phrase input method and input method system
CN101763208A (en) * 2008-12-31 2010-06-30 北京搜狗科技发展有限公司 Method and device for displaying interface of input method
CN102445994A (en) * 2010-09-30 2012-05-09 北京搜狗科技发展有限公司 Intelligence input method and system thereof
CN104049770A (en) * 2014-07-03 2014-09-17 任文 Chinese character candidate selecting, locating and correcting scheme based on Chinese sentence input

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010028742A1 (en) * 1996-05-20 2001-10-11 Keiko Gunji Apparatus for recognizing input character strings by inference
CN101661331A (en) * 2008-08-28 2010-03-03 北京搜狗科技发展有限公司 Character and phrase input method and input method system
CN101763208A (en) * 2008-12-31 2010-06-30 北京搜狗科技发展有限公司 Method and device for displaying interface of input method
CN102445994A (en) * 2010-09-30 2012-05-09 北京搜狗科技发展有限公司 Intelligence input method and system thereof
CN104049770A (en) * 2014-07-03 2014-09-17 任文 Chinese character candidate selecting, locating and correcting scheme based on Chinese sentence input

Also Published As

Publication number Publication date
CN104571821B (en) 2018-09-04

Similar Documents

Publication Publication Date Title
CN103026318B (en) Input method editor
JP5980279B2 (en) Input method based on keyboard input
CN104951099A (en) Method and device for showing candidate items based on input method
US20130007606A1 (en) Text deletion
Thompson Understanding Maple
US20150121291A1 (en) Input Method Editor
CN101286094A (en) Multi-mode input method editor
US20120017161A1 (en) System and method for user interface
CN102141889A (en) Typing assistance for editing
CN101286155A (en) Method and system for input method editor integration
KR20070098252A (en) System and method for providing automatically completed recommended word by correcting and displaying the word
CN104571587A (en) Method and device for screening on-screen candidate items of input method
CN105468256A (en) Input method keyboard switching method and device
CN102422245A (en) Input method editor
CN103049098A (en) Device and method for input method shifting
JP5454783B2 (en) Variable name input support method in PLC programming, variable name input support device in PLC programming, and computer program
US20140189640A1 (en) Native Language IDE Code Assistance
CN104536688A (en) Searching method and device based on touch operation
CN103530380A (en) Vertical search device and method
CN106168880A (en) A kind of method inputting control and terminal
JP4293348B2 (en) Program for character string input and program for character string extraction
CN104571821A (en) Long sentence positioning method and device
US20160292140A1 (en) Associative input method and terminal
KR100862242B1 (en) Words retrieving method
KR102231336B1 (en) System for fast searching similar string and method thereof

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220725

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.