CN102937864B - A kind of method and apparatus for determining selected text on touch terminal - Google Patents

A kind of method and apparatus for determining selected text on touch terminal Download PDF

Info

Publication number
CN102937864B
CN102937864B CN201210429277.7A CN201210429277A CN102937864B CN 102937864 B CN102937864 B CN 102937864B CN 201210429277 A CN201210429277 A CN 201210429277A CN 102937864 B CN102937864 B CN 102937864B
Authority
CN
China
Prior art keywords
text
candidate
character string
endpoint
target
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
CN201210429277.7A
Other languages
Chinese (zh)
Other versions
CN102937864A (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 Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology 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 Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201210429277.7A priority Critical patent/CN102937864B/en
Publication of CN102937864A publication Critical patent/CN102937864A/en
Application granted granted Critical
Publication of CN102937864B publication Critical patent/CN102937864B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The object of this invention is to provide a kind of method and apparatus for determining selected text on touch terminal.Selection equipment obtains the Text Select operation that touch terminal performs, and wherein, it is text filed that described Text Select operation corresponds at least one candidate, the text filed candidate character strings comprised between two candidate endpoint of described candidate; By carrying out natural language processing to the relevant character string corresponding to described candidate endpoint, determine the target string corresponding with described candidate character strings, using text selected by corresponding to described Text Select operation.Compared with prior art, the present invention is by carrying out natural language processing to text selected on touch terminal, to determine the target string corresponding with selected text, to solve the text selecting deviation caused because operating area is less or touch error on touch terminal, thus improve the precision of selection, improve the operating efficiency of user, improve the operating experience of user.

Description

A kind of method and apparatus for determining selected text on touch terminal
Technical field
The present invention relates to computer realm, particularly relating to a kind of technology for determining selected text on touch terminal.
Background technology
Current, touch-screen is as a kind of novel multimedia interactive input equipment, and easy with it, natural man-machine interaction characteristic is used in various field.Such as, in field of mobile equipment, increasing mobile phone or other mobile devices adopt touch-screen to carry out showing and input.Due to touch-screen by test example as finger touch action and judge that finger position carries out man-machine interaction, therefore when user carries out Text Select operation, often because operated region is less, the limiting factor such as the response accuracy of skilled operation degree or touch-screen, then be easy to cause touching error, thus be usually difficult to carry out exactly selecting required text, reduce operating efficiency and the experience of user.Typically, when user carries out Text Select operation on handset touch panel, the text selected usually can wish that the text selected produces deviation with user.
Summary of the invention
The object of this invention is to provide a kind of method and apparatus for determining selected text on touch terminal.
According to an aspect of the present invention, provide a kind of method for determining selected text on touch terminal, wherein, the method comprises the following steps:
A obtains the Text Select operation that touch terminal performs, and wherein, it is text filed that described Text Select operation corresponds at least one candidate, the text filed candidate character strings comprised between two candidate endpoint of described candidate;
B, by carrying out natural language processing to the relevant character string corresponding to described candidate endpoint, determines the target string corresponding with described candidate character strings, using text selected by corresponding to described Text Select operation.
According to a further aspect in the invention, additionally provide a kind of selection equipment for determining selected text on touch terminal, wherein, described selection equipment comprises:
Acquisition device, for obtaining the Text Select operation that touch terminal performs, wherein, it is text filed that described Text Select operation corresponds at least one candidate, the text filed candidate character strings comprised between two candidate endpoint of described candidate;
Treating apparatus, for by carrying out natural language processing to the relevant character string corresponding to described candidate endpoint, determines the target string corresponding with described candidate character strings, using text selected by corresponding to described Text Select operation.
Compared with prior art, the present invention is by carrying out natural language processing to text selected on touch terminal, to determine the target string corresponding with selected text, to solve the text selecting deviation caused because operating area is less or touch error on touch terminal, thus improve the precision of selection, improve the operating efficiency of user, improve the operating experience of user.And, the present invention by carrying out the mode such as processing to selected candidate endpoint or candidate character strings, can also process the text selected by selection operation, to improve the efficiency of natural language processing, improve the operating efficiency of user, improve the operating experience of user.And, the present invention can also operate in the text-processing corresponding to selected text, thus in conjunction with the additional character string corresponding to described text-processing operation, carry out natural language processing to the relevant character string corresponding to described candidate endpoint, further, described text-processing operation comprises deletion or insertion etc., thus the Text Select operation of user and text-processing are operated combine, more meet the demand of user, improve the operating efficiency of user, improve the operating experience of user.And, the present invention can also be applicable to the Text Select operation in input frame performed by input of character string, further, can also according to the slide of the slider bar corresponding with described input frame, using as described Text Select operation, thus improve user's touch operation and cause selecting inaccurate problem, improve the degree of accuracy of selection, improve the operating efficiency of user, improve the operating experience of user.
Accompanying drawing explanation
By reading the detailed description done non-limiting example done with reference to the following drawings, other features, objects and advantages of the present invention will become more obvious:
Fig. 1 illustrates a kind of selection equipment schematic diagram for determining selected text on touch terminal according to one aspect of the invention;
Fig. 2 illustrates a kind of selection equipment schematic diagram for determining selected text on touch terminal in accordance with a preferred embodiment of the present invention;
Fig. 3 illustrates a kind of selection equipment schematic diagram for determining selected text on touch terminal according to another preferred embodiment of the present invention;
Fig. 4 illustrates a kind of method flow diagram for determining selected text on touch terminal according to a further aspect of the present invention;
Fig. 5 illustrates a kind of method flow diagram for determining selected text on touch terminal in accordance with a preferred embodiment of the present invention;
Fig. 6 illustrates a kind of method flow diagram for determining selected text on touch terminal according to another preferred embodiment of the present invention.
In accompanying drawing, same or analogous Reference numeral represents same or analogous parts.
Embodiment
Below in conjunction with accompanying drawing, the present invention is described in further detail.
Fig. 1 illustrates a kind of selection equipment schematic diagram for determining selected text on touch terminal according to one aspect of the invention; Wherein, this selection equipment comprises acquisition device 11, treating apparatus 12.Particularly, acquisition device 11 obtains the Text Select operation that touch terminal performs, and wherein, it is text filed that described Text Select operation corresponds at least one candidate, the text filed candidate character strings comprised between two candidate endpoint of described candidate; Treating apparatus 12, by carrying out natural language processing to the relevant character string corresponding to described candidate endpoint, determines the target string corresponding with described candidate character strings, using text selected by corresponding to described Text Select operation.At this, selection equipment includes but not limited to that the network equipment, subscriber equipment or the network equipment and subscriber equipment are by the mutually integrated equipment formed of network.Wherein, the described network equipment its include but not limited to computing machine, network host, single network server, cloud that multiple webserver collection or multiple server are formed; At this, cloud is formed by based on a large amount of computing machine of cloud computing (CloudComputing) or the webserver, and wherein, cloud computing is the one of Distributed Calculation, the virtual supercomputer be made up of the loosely-coupled computing machine collection of a group.Described subscriber equipment its include but not limited to that any one can to carry out the electronic product of man-machine interaction, such as computing machine, smart mobile phone, PDA, game machine or IPTV etc. with user by keyboard, telepilot, touch pad or voice-operated device.Described network includes but not limited to internet, wide area network, Metropolitan Area Network (MAN), LAN (Local Area Network), VPN, wireless self-organization network (AdHoc network) etc.Those skilled in the art will be understood that other selection equipment is equally applicable to the present invention, within also should being included in scope, and are contained in this at this with way of reference.
Constant work between above-mentioned each device, at this, it will be understood by those skilled in the art that " continuing " refer to above-mentioned each device respectively in real time or according to setting or the mode of operation requirement of adjustment in real time, carry out the acquisition of Text Select operation, the determination etc. of target string, until selection equipment stops obtaining the Text Select operation that touch terminal performs.
Acquisition device 11 obtains the Text Select operation that touch terminal performs, and wherein, it is text filed that described Text Select operation corresponds at least one candidate, the text filed candidate character strings comprised between two candidate endpoint of described candidate.Particularly, acquisition device 11 passes through based on the touch detection part on touch terminal, obtain touch location or the touch information of the Text Select operation that such as user performs on touch terminal, and according to described touch location or touch information, determine two candidate endpoint corresponding to described Text Select operation, thus according to described two candidate endpoint, determine that at least one candidate corresponding to described Text Select operation is text filed; Or acquisition device 11 is based on various communication protocol, the equipment of described Text Select operation can be provided with other, as Text Select operation database carries out alternately, to obtain the Text Select operation that touch terminal performs.Wherein, described Text Select operation includes but not limited to that single-point touches or multiple point touching, such as, when user fill order touch, the starting point pressed when user being touched is as the text filed end points of described candidate, the terminal finally pressed when user being touched is as text filed another end points of described candidate, thus it is text filed to determine that described Text Select operation corresponds at least one candidate; When user performs multiple point touching, using the starting point of each touch point as the text filed end points of described candidate, the terminal finally pressed when each being touched is as text filed another end points of described candidate, thus described multiple point touching initial time each touch point, it is text filed that the terminal that touch all corresponding thereto terminates defines different candidates, thus according to the setting that Operation system setting or user select, middlely determine that one or more to perform the candidate of subsequent treatment for user text filed from described multiple candidate is text filed.At this, because when user presses touch, a corresponding touch point may correspond to as the one or more contact coordinates on touch-screen, at this, acquisition device 11 can according to preset conversion regime, or self-defining conversion regime, described multiple contact coordinate is converted to single contact coordinate, to determine text filed included two candidate endpoint of candidate corresponding to described Text Select operation, as the central coordinate corresponding to multiple contact coordinate, alternatively extreme coordinates, or by the edge coordinate of described multiple contact alternatively extreme coordinates etc.At this, the Text Select operation that described touch terminal performs can carry out in input frame, as short message editing frame, content input frame etc.; Also at the page without input focus, can be undertaken by selecting content of pages.
Treating apparatus 12, by carrying out natural language processing to the relevant character string corresponding to described candidate endpoint, determines the target string corresponding with described candidate character strings, using text selected by corresponding to described Text Select operation.Particularly, described treating apparatus 12 is by obtaining the determined candidate character strings of described acquisition device 11, by carrying out natural language processing to described candidate character strings, as participle and/or semantic analysis, to determine the target string corresponding with described candidate character strings, thus using described target string as text selected by corresponding to described Text Select operation.Wherein, described candidate endpoint comprises text filed corresponding single one candidate endpoint or two candidate endpoint with described candidate, thus natural language processing is carried out to described single one candidate endpoint, or respectively natural language processing is carried out to described two candidate endpoint.Such as, text on described touch-screen is " I loves Tian An-men, Beijing; sun liter on Tian An-men ", after user carries out Text Select operation on touch terminal, according to the Text Select operation of described user, determine the text filed region corresponding to " I likes Beijing Tian An " of candidate, thus candidate character strings is " I likes Beijing Tian An "; Then treating apparatus 12 carries out semantic processes to described candidate character strings, determine that " I loves Tian An-men, Beijing " should be a complete character string, thus by " I loves Tian An-men, Beijing " as target string, using text selected by corresponding to described Text Select operation.Those skilled in the art will be understood that and include but not limited to the various process such as participle, semantic analysis based on different natural language models in this " natural language processing ".
Preferably, described treating apparatus 12 by carrying out natural language processing to the relevant character string corresponding to described candidate endpoint, can also determine the target endpoint corresponding with described candidate endpoint; According to described target endpoint, determine corresponding target text region text filed with described candidate, using by the character string corresponding to described target text region as described target string.Particularly, described treating apparatus 12 is by obtaining the relevant character string corresponding to described candidate endpoint, and participle and/or semantic analysis are carried out to described relevant character string, by regulating the position of candidate endpoint, as reach or after move, to determine and the target endpoint corresponding to described candidate endpoint, upgrade text filed.Wherein, described candidate endpoint comprises text filed corresponding single one candidate endpoint or two candidate endpoint with described candidate, thus natural language processing is carried out to described single one candidate endpoint, or respectively natural language processing is carried out to described two candidate endpoint.Continue precedent, when user determine candidate text filed for " I likes Beijing Tian An " time, namely described candidate endpoint is the position after the cursor of " Tian An ", by described treating apparatus 12 to the relevant character string corresponding to this candidate endpoint, as " Tian An-men, Beijing ", carry out participle, obtain " Beijing ", " Tian An-men ", determine that " Tian An-men " should be a complete word, therefore after target endpoint should be " door " word in " Tian An-men ".Described treating apparatus 12 is according to the position of described target endpoint, text filed by what be associated with described target endpoint position, as corresponding target text region text filed with described candidate, using by the character string corresponding to described target text region as described target string, obtain corresponding target string.Such as, after " door " word that target endpoint should be " Tian An-men " determined by described treating apparatus 12, therefore the region corresponding to " door " is also put under in the text filed corresponding target text region of described candidate, thus by the region corresponding to " I loves Tian An-men, Beijing " as target text region, and then by " I loves Tian An-men, Beijing " as target string.
Preferably, described acquisition device 11 can also obtain the Text Select operation in input frame on touch terminal performed by input of character string, wherein, it is text filed that described Text Select operation corresponds at least one candidate, the text filed candidate character strings comprised between two candidate endpoint of described candidate.Particularly, described acquisition device 11 can also be applicable in the input frame on touch terminal, to obtain the Text Select operation in described input frame performed by input of character string.At this, described in the obtain manner of described acquisition device 11 and Fig. 1, the obtain manner of acquisition device 11 is same or similar, so place repeats no more, and is contained in this by way of reference.
More preferably, described acquisition device 11 can also obtain the slide to slider bar corresponding with described input frame on described touch terminal, using as described Text Select operation, wherein, it is text filed that described Text Select operation corresponds at least one candidate, the text filed candidate character strings comprised between two candidate endpoint of described candidate, described candidate endpoint is corresponding with status indication information corresponding on described slider bar.Particularly, all right corresponding one or more slider bar of described input frame, described slider bar is used to indicate the text point in input frame; Wherein, described slider bar includes but not limited to the visible slider bar identifying slip coordinate, or other interactive forms sightless, such as, determine sliding position etc. according to touch point at the relative position of operating area.Such as, described slider bar marks the some Digital IDs from 0-N, the position of the word in the corresponding input frame of each Digital ID.Such as, if content is " ABCDEFGHIJKLMN " in described input frame, if slip selector bar rests on 0 place, then think any content do not selected in input frame; If slip selector bar rests on 0-5 place, then think that the content selected is " ABCDE "; If slip selector bar rests on " 4-8 " place, then think that the content selected is " DEFGH "; Etc..Therefore, described acquisition device 11 can also obtain the slide to described slider bar, determines the Origin And Destination corresponding with slide according to described slide, thus determines the status indication information on slider bar; And then by status indication information corresponding on described slider bar, determine described candidate endpoint, thus determine that described candidate is text filed.At this, described in the obtain manner of described acquisition device 11 and Fig. 1, the obtain manner of acquisition device 11 is same or similar, so place repeats no more, and is contained in this by way of reference.
Preferably, described selection equipment also comprises operating means (not shown), and wherein, operating means performs the text-processing operation corresponding to described Text Select operation to described selected text.Particularly, operating means obtains the determined target string for the treatment of apparatus 12, the text-processing operation selected by or user predetermined to described target string execution.Wherein, described text-processing operation includes but not limited to insertion, deletion, shearing etc.Those skilled in the art will be understood that other text-processing operation is if be applicable to the present invention, within also should being included in scope, and is contained in this at this with way of reference.
Fig. 2 illustrates a kind of selection equipment schematic diagram for determining selected text on touch terminal in accordance with a preferred embodiment of the present invention; Wherein, described selection equipment comprises acquisition device 11 ', treating apparatus 12 ', and described treating apparatus 12 ' comprises judging unit 121 ', text acquiring unit 122 '.Particularly, acquisition device 11 ' obtains the Text Select operation that touch terminal performs, and wherein, it is text filed that described Text Select operation corresponds at least one candidate, the text filed candidate character strings comprised between two candidate endpoint of described candidate; Judging unit 121 ', by carrying out natural language processing to the relevant character string corresponding to described candidate endpoint, judges in described relevant character string, whether part should be contained in described candidate character strings; Part in described relevant character string, according to judged result, is contained in described candidate character strings or deletes from described candidate character strings by text acquiring unit 122 ', to obtain described target string and as described selected text.Wherein, described acquisition device 11 ' is identical with corresponding intrument shown in Fig. 1 or substantially identical, so place repeats no more, and is contained in this by way of reference.
Constant work between above-mentioned each device, at this, it will be understood by those skilled in the art that " continuing " refer to above-mentioned each device respectively in real time or according to setting or the mode of operation requirement of adjustment in real time, carry out the acquisition of Text Select operation, the judgement of candidate character strings, the acquisition etc. of target string, until selection equipment stops obtaining the Text Select operation that touch terminal performs.
Judging unit 121 ', by carrying out natural language processing to the relevant character string corresponding to described candidate endpoint, judges in described relevant character string, whether part should be contained in described candidate character strings.Particularly, described judging unit 121 ' is by obtaining the determined candidate endpoint of described acquisition device 11 ', by carrying out participle and/or semantic analysis to the relevant character string corresponding to described candidate endpoint, according to the result of described participle and/or semantic analysis, in conjunction with methods such as such as ratio judgements, judge in described relevant character string, whether part should be contained in described candidate character strings.Such as, if when the text on described touch-screen is for " I loves Tian An-men, Beijing, sun liter on Tian An-men ", after user carries out Text Select operation on touch terminal, according to the Text Select operation of described user, determine the text filed region corresponding to " I likes Beijing Tian An " of candidate, judging unit 121 ' carries out word segmentation processing to the relevant character string " Tian An-men, Beijing " corresponding to described candidate endpoint, obtain in " Beijing ", " Tian An-men ", namely " Tian An-men " should be a complete word, thus determine that " Tian An-men " should be contained in this candidate text character string " I likes Beijing Tian An ".
Part in described relevant character string, according to judged result, is contained in described candidate character strings or deletes from described candidate character strings by text acquiring unit 122 ', to obtain described target string and as described selected text.Particularly, text acquiring unit 122 ' is according to the judged result of described judging unit 121 ', if described judged result is that in described relevant character string, part should be contained in described candidate character strings, then part in described relevant character string is contained in described candidate character strings; If described judged result is that in described relevant character string, part should not be contained in described candidate character strings, then part in described relevant character string is deleted from described candidate character strings; To obtain described target string and as described selected text.
Preferably, described judging unit 121 ' can also by carrying out natural language processing to the relevant character string corresponding to described candidate endpoint, and from described relevant character string, extract corresponding focus word, wherein, described focus word covers described candidate endpoint; According to the relative position relation of described candidate endpoint and described focus word, judge in described relevant character string, whether part should be contained in described candidate character strings.Particularly, described judging unit 121 ' can also by obtaining the determined candidate endpoint of described acquisition device 11 ', by carrying out participle and/or semantic analysis to the relevant character string corresponding to described candidate endpoint, by the result according to described participle and/or semantic analysis, corresponding focus word is extracted from described relevant character string, at this, when the word corresponding to described candidate endpoint is Chinese, focus word can be a phrase; When the word corresponding to described candidate endpoint is English, focus word can be a word.Described judging unit 121 ' is according to the relative position relation of described candidate endpoint and described focus word, such as described candidate endpoint be contained in focus word, focus word be contained in the text filed number percent of this candidate etc. (as when as described in candidate endpoint exceed as described in focus word 50% time, part whether will should be contained in described candidate character strings in described relevant character string; Otherwise, if when described candidate endpoint is no more than 50% of described focus word, part in described relevant character string is deleted from described candidate character strings) and judge in described relevant character string, whether part should be contained in described candidate character strings.Such as, if when the text on described touch-screen is " I loves Tian An-men, Beijing; sun liter on Tian An-men ", after user carries out Text Select operation on touch terminal, according to the Text Select operation of described user, determine the text filed region corresponding to " I likes Beijing Tian An " of candidate, determine that the relevant character string corresponding to described candidate endpoint is " Tian An-men, Beijing ", through participle and semantic analysis process, determine that " Tian An-men " should be a phrase corresponding to candidate endpoint, then described focus word is " Tian An-men "; The judgment rule that judging unit 121 ' is arranged according to default or user, described judgment rule such as when selected candidate character strings (i.e. " Tian An ") exceedes the determined character string of semantic analysis (i.e. " Tian An-men ") 50% (at this, be 66% herein), then determine that " door " should be contained in described candidate character strings; If candidate is text filed for " I likes sky, Beijing ", due to " my god " only account for " Tian An-men " 33%, more than 50%, then judge " my god " should not be contained in described candidate character strings.Thus according to judged result, such as, when described candidate text filed for " I likes Beijing Tian An " time, determine that described target string is for " I loves Tian An-men, Beijing "; When described candidate text filed for " I likes sky, Beijing " time, determine that described target string is for " I loves Beijing ".
Fig. 3 illustrates a kind of selection equipment schematic diagram for determining selected text on touch terminal according to another preferred embodiment of the present invention; Wherein, described selection equipment comprises acquisition device 11 ", treating apparatus 12 ", operating means 13 ".Particularly, acquisition device 11 " obtain the Text Select operation that touch terminal performs, wherein, it is text filed that described Text Select operation corresponds at least one candidate, the text filed candidate character strings comprised between two candidate endpoint of described candidate; Treating apparatus 12 " in conjunction with the additional character string corresponding to described text-processing operation, natural language processing is carried out to the relevant character string corresponding to described candidate endpoint, to determine described target string and as described selected text; Operating means 13 " the text-processing operation corresponding to described Text Select operation is performed to described selected text.Wherein, described acquisition device 11 " identical with corresponding intrument shown in Fig. 1 or substantially identical, so place repeats no more, and be contained in this by way of reference.
Constant work between above-mentioned each device, at this, it will be understood by those skilled in the art that " continuing " refer to above-mentioned each device respectively in real time or according to setting or the mode of operation requirement of adjustment in real time, carry out the acquisition of Text Select operation, the determination of target string, the execution etc. of text-processing operation, until selection equipment stops obtaining the Text Select operation that touch terminal performs.
Treating apparatus 12 " in conjunction with the additional character string corresponding to described text-processing operation, natural language processing is carried out to the relevant character string corresponding to described candidate endpoint, to determine described target string and as described selected text.Particularly, treating apparatus 12 " obtain described text-processing operation, wherein, described text-processing operation includes but not limited to the operation such as deletion, insertion that will perform; At this, described text-processing operation can Text Select operation simultaneously or forward and backward come, such as first determine concrete text-processing operation select again concrete operand (i.e. selected text) or first selected operand determine that text-processing operates (such as draw a circle to approve some texts and be then dragged to target location) again.Treating apparatus 12 " additional character string corresponding to described text-processing operation; such as; the text on touch-screen is for " I loves Tian An-men, Beijing, sun liter on Tian An-men "; user's selected " I likes sky, Beijing " carries out the character string of deleting as hope; then " I likes sky, Beijing " is candidate character strings, and " peace door " is the additional character string corresponding to described text-processing operation; Relevant character string corresponding to described candidate endpoint is in " Tian An-men "; By carrying out natural language processing to the relevant character string corresponding to described candidate endpoint, obtain " Tian An-men " and should be a complete word, the part being such as contained in described candidate character strings in conjunction with this word accounts for the ratio of this word, thus determine that selected text and object to be deleted should be " I loves Beijing ", and " I loves Beijing " is defined as described target string.
Operating means 13 " the text-processing operation corresponding to described Text Select operation is performed to described selected text.Particularly, operating means 13 " can according to described treating apparatus 12 " determined described selected text, the text-processing operation corresponding to described Text Select operation is performed to described selected text.Wherein, described text-processing operation includes but not limited to perform insert or delete operation to described selected text.Continue upper example, is about to " I loves Beijing " and deletes from " I loves Tian An-men, Beijing ".
Preferably, when described text-processing operation comprise deletion action is carried out to described selected text time, described treating apparatus 12 " in conjunction with the additional character string corresponding to described deletion action; natural language processing is carried out to the relevant character string corresponding to described candidate endpoint; to determine described target string and as described selected text; wherein, the additional character string corresponding to described deletion action comprises the text filed external character string with described candidate.Wherein, described external character string and text filed outer, adjacent with this region character string of candidate.Such as, text message on touch-screen is " putting down burden with it ", by deletion action, " on " is deleted, thus additional character string is the respective symbols string after deleting related text, namely " body is put down " and " burden ", by to the relevant character string corresponding to described candidate endpoint, namely " with it " carries out natural language processing, determine that target string should be " with it ", thus complete described process operation, be about to " with it " delete from " putting down burden with it ", residue " laying down the burden ".
Preferably, when described text-processing operation comprises the update of described selected text insertion target location, described treating apparatus 12 " in conjunction with the additional character string corresponding to described update; natural language processing is carried out to the relevant character string corresponding to described candidate endpoint; to determine described target string and as described selected text; wherein, the additional character string corresponding to described update comprises the character string corresponding with described target location.Such as, when the text message on touch-screen is " Tian An-men ", the text be inserted into is " I likes sky ", and it is front that described text is inserted into " Tian An-men ", then candidate character strings is " I likes sky ", additional character string is " Tian An-men ", corresponding relevant character string is " I loves Tian An-men ", by carrying out natural language processing to this relevant character string, determine participle " I ", " love " " Tian An-men ", and the target location of inserting has comprised additional character string " Tian An-men ", therefore determine that target string should be " I likes ", and do not comprise " Tian An-men ", namely selected text is " I likes ", correspondingly, operating means 13 " this preferred text " I likes " is inserted into target location, obtain " I loves Tian An-men ".
Fig. 4 illustrates a kind of method flow diagram for determining selected text on touch terminal according to a further aspect of the present invention.Particularly, in step s1, selection equipment obtains the Text Select operation that touch terminal performs, and wherein, it is text filed that described Text Select operation corresponds at least one candidate, the text filed candidate character strings comprised between two candidate endpoint of described candidate; In step s2, selection equipment, by carrying out natural language processing to the relevant character string corresponding to described candidate endpoint, determines the target string corresponding with described candidate character strings, using text selected by corresponding to described Text Select operation.
Constant work between above steps, at this, it will be understood by those skilled in the art that " continuing " refer to above steps respectively in real time or according to setting or the mode of operation requirement of adjustment in real time, carry out the acquisition of Text Select operation, the determination etc. of target string, until selection equipment stops obtaining the Text Select operation that touch terminal performs.
In step s1, selection equipment obtains the Text Select operation that touch terminal performs, and wherein, it is text filed that described Text Select operation corresponds at least one candidate, the text filed candidate character strings comprised between two candidate endpoint of described candidate.Particularly, in step s1, selection equipment passes through based on the touch detection part on touch terminal, obtain touch location or the touch information of the Text Select operation that such as user performs on touch terminal, and according to described touch location or touch information, determine two candidate endpoint corresponding to described Text Select operation, thus according to described two candidate endpoint, determine that at least one candidate corresponding to described Text Select operation is text filed; Or in step s1, select equipment based on various communication protocol, the equipment of described Text Select operation can be provided with other, as Text Select operation database carries out alternately, to obtain the Text Select operation that touch terminal performs.Wherein, described Text Select operation includes but not limited to that single-point touches or multiple point touching, such as, when user fill order touch, the starting point pressed when user being touched is as the text filed end points of described candidate, the terminal finally pressed when user being touched is as text filed another end points of described candidate, thus it is text filed to determine that described Text Select operation corresponds at least one candidate; When user performs multiple point touching, using the starting point of each touch point as the text filed end points of described candidate, the terminal finally pressed when each being touched is as text filed another end points of described candidate, thus described multiple point touching initial time each touch point, it is text filed that the terminal that touch all corresponding thereto terminates defines different candidates, thus according to the setting that Operation system setting or user select, middlely determine that one or more to perform the candidate of subsequent treatment for user text filed from described multiple candidate is text filed.At this, because when user presses touch, a corresponding touch point may correspond to as the one or more contact coordinates on touch-screen, at this, selection equipment can according to preset conversion regime, or self-defining conversion regime, described multiple contact coordinate is converted to single contact coordinate, to determine text filed included two candidate endpoint of candidate corresponding to described Text Select operation, as the central coordinate corresponding to multiple contact coordinate, alternatively extreme coordinates, or by the edge coordinate of described multiple contact alternatively extreme coordinates etc.At this, the Text Select operation that described touch terminal performs can carry out in input frame, as short message editing frame, content input frame etc.; Also at the page without input focus, can be undertaken by selecting content of pages.
In step s2, selection equipment, by carrying out natural language processing to the relevant character string corresponding to described candidate endpoint, determines the target string corresponding with described candidate character strings, using text selected by corresponding to described Text Select operation.Particularly, in step s2, selection equipment is by obtaining determined candidate character strings in described step s1, by carrying out natural language processing to described candidate character strings, as participle and/or semantic analysis, to determine the target string corresponding with described candidate character strings, thus using described target string as text selected by corresponding to described Text Select operation.Wherein, described candidate endpoint comprises text filed corresponding single one candidate endpoint or two candidate endpoint with described candidate, thus natural language processing is carried out to described single one candidate endpoint, or respectively natural language processing is carried out to described two candidate endpoint.Such as, text on described touch-screen is " I loves Tian An-men, Beijing; sun liter on Tian An-men ", after user carries out Text Select operation on touch terminal, according to the Text Select operation of described user, determine the text filed region corresponding to " I likes Beijing Tian An " of candidate, thus candidate character strings is " I likes Beijing Tian An "; Then in step s2, selection equipment carries out semantic processes to described candidate character strings, determine that " I loves Tian An-men, Beijing " should be a complete character string, thus by " I loves Tian An-men, Beijing " as target string, using text selected by corresponding to described Text Select operation.Those skilled in the art will be understood that and include but not limited to the various process such as participle, semantic analysis based on different natural language models in this " natural language processing ".
Preferably, in step s2, selection equipment by carrying out natural language processing to the relevant character string corresponding to described candidate endpoint, can also determine the target endpoint corresponding with described candidate endpoint; According to described target endpoint, determine corresponding target text region text filed with described candidate, using by the character string corresponding to described target text region as described target string.Particularly, in step s2, selection equipment is by obtaining the relevant character string corresponding to described candidate endpoint, and participle and/or semantic analysis are carried out to described relevant character string, by regulating the position of candidate endpoint, as reach or after move, to determine and the target endpoint corresponding to described candidate endpoint, upgrade text filed.Wherein, described candidate endpoint comprises text filed corresponding single one candidate endpoint or two candidate endpoint with described candidate, thus natural language processing is carried out to described single one candidate endpoint, or respectively natural language processing is carried out to described two candidate endpoint.Continue precedent, when user determine candidate text filed for " I likes Beijing Tian An " time, namely described candidate endpoint is the position after the cursor of " Tian An ", by selecting equipment to the relevant character string corresponding to this candidate endpoint, as " Tian An-men, Beijing ", carry out participle, obtain " Beijing ", " Tian An-men ", determine that " Tian An-men " should be a complete word, therefore after target endpoint should be " door " word in " Tian An-men ".In step s2, selection equipment is according to the position of described target endpoint, text filed by what be associated with described target endpoint position, as corresponding target text region text filed with described candidate, using by the character string corresponding to described target text region as described target string, obtain corresponding target string.Such as, after selection equipment determination target endpoint should be " door " word in " Tian An-men ", therefore the region corresponding to " door " is also put under in the text filed corresponding target text region of described candidate, thus by the region corresponding to " I loves Tian An-men, Beijing " as target text region, and then by " I loves Tian An-men, Beijing " as target string.
Preferably, in step s1, selection equipment can also obtain the Text Select operation in input frame on touch terminal performed by input of character string, wherein, it is text filed that described Text Select operation corresponds at least one candidate, the text filed candidate character strings comprised between two candidate endpoint of described candidate.Particularly, in step s1, selection equipment can also be applicable in the input frame on touch terminal, to obtain the Text Select operation in described input frame performed by input of character string.At this, described in described obtain manner and Fig. 4, the obtain manner of step s1 is same or similar, so place repeats no more, and is contained in this by way of reference.
More preferably, in step s1, selection equipment can also obtain the slide to slider bar corresponding with described input frame on described touch terminal, using as described Text Select operation, wherein, it is text filed that described Text Select operation corresponds at least one candidate, and the text filed candidate character strings comprised between two candidate endpoint of described candidate, described candidate endpoint is corresponding with status indication information corresponding on described slider bar.Particularly, all right corresponding one or more slider bar of described input frame, described slider bar is used to indicate the text point in input frame; Wherein, described slider bar includes but not limited to the visible slider bar identifying slip coordinate, or other interactive forms sightless, such as, determine sliding position etc. according to touch point at the relative position of operating area.Such as, described slider bar marks the some Digital IDs from 0-N, the position of the word in the corresponding input frame of each Digital ID.Such as, if content is " ABCDEFGHIJKLMN " in described input frame, if slip selector bar rests on 0 place, then think any content do not selected in input frame; If slip selector bar rests on 0-5 place, then think that the content selected is " ABCDE "; If slip selector bar rests on " 4-8 " place, then think that the content selected is " DEFGH "; Etc..Therefore, in step s1, selection equipment can also obtain the slide to described slider bar, determines the Origin And Destination corresponding with slide according to described slide, thus determines the status indication information on slider bar; And then by status indication information corresponding on described slider bar, determine described candidate endpoint, thus determine that described candidate is text filed.At this, described in described obtain manner and Fig. 4, the obtain manner of step s1 is same or similar, so place repeats no more, and is contained in this by way of reference.
Preferably, described selection equipment also comprises step s3 (not shown), and wherein, in step s3, selection equipment performs the text-processing operation corresponding to described Text Select operation to described selected text.Particularly, in step s3, select determined target string in equipment obtaining step s2, the text-processing operation selected by or user predetermined to described target string execution.Wherein, described text-processing operation includes but not limited to insertion, deletion, shearing etc.Those skilled in the art will be understood that other text-processing operation is if be applicable to the present invention, within also should being included in scope, and is contained in this at this with way of reference.
Fig. 5 illustrates a kind of method flow diagram for determining selected text on touch terminal in accordance with a preferred embodiment of the present invention.Particularly, in step s1 ', selection equipment obtains the Text Select operation that touch terminal performs, and wherein, it is text filed that described Text Select operation corresponds at least one candidate, the text filed candidate character strings comprised between two candidate endpoint of described candidate; In step s21 ', selection equipment, by carrying out natural language processing to the relevant character string corresponding to described candidate endpoint, judges in described relevant character string, whether part should be contained in described candidate character strings; In step s22 ', select equipment according to judged result, part in described relevant character string is contained in described candidate character strings or deletes from described candidate character strings, to obtain described target string and as described selected text.Wherein, described step s1 ' is identical with step corresponding shown in Fig. 4 or substantially identical, so place repeats no more, and is contained in this by way of reference.
Constant work between above steps, at this, it will be understood by those skilled in the art that " continuing " refer to above steps respectively in real time or according to setting or the mode of operation requirement of adjustment in real time, carry out the acquisition of Text Select operation, the judgement of candidate character strings, the acquisition etc. of target string, until selection equipment stops obtaining the Text Select operation that touch terminal performs.
In step s21 ', selection equipment, by carrying out natural language processing to the relevant character string corresponding to described candidate endpoint, judges in described relevant character string, whether part should be contained in described candidate character strings.Particularly, in step s21 ', selection equipment is by obtaining the determined candidate endpoint of described step s1 ', by carrying out participle and/or semantic analysis to the relevant character string corresponding to described candidate endpoint, according to the result of described participle and/or semantic analysis, in conjunction with methods such as such as ratio judgements, judge in described relevant character string, whether part should be contained in described candidate character strings.Such as, if when the text on described touch-screen is for " I loves Tian An-men, Beijing, sun liter on Tian An-men ", after user carries out Text Select operation on touch terminal, according to the Text Select operation of described user, determine the text filed region corresponding to " I likes Beijing Tian An " of candidate, in step s21 ', selection equipment carries out word segmentation processing to the relevant character string " Tian An-men, Beijing " corresponding to described candidate endpoint, obtain in " Beijing ", " Tian An-men ", namely " Tian An-men " should be a complete word, thus determine that " Tian An-men " should be contained in this candidate text character string " I likes Beijing Tian An ".
In step s22 ', select equipment according to judged result, part in described relevant character string is contained in described candidate character strings or deletes from described candidate character strings, to obtain described target string and as described selected text.Particularly, in step s22 ', part in described relevant character string, according to the judged result of described step s21 ', if described judged result is that in described relevant character string, part should be contained in described candidate character strings, is then contained in described candidate character strings by selection equipment; If described judged result is that in described relevant character string, part should not be contained in described candidate character strings, then part in described relevant character string is deleted from described candidate character strings; To obtain described target string and as described selected text.
Preferably, in step s21 ', selection equipment by carrying out natural language processing to the relevant character string corresponding to described candidate endpoint, can also extract corresponding focus word from described relevant character string, wherein, described focus word covers described candidate endpoint; According to the relative position relation of described candidate endpoint and described focus word, judge in described relevant character string, whether part should be contained in described candidate character strings.Particularly in step s21 ', selection equipment can also by obtaining the determined candidate endpoint of described step s1 ', by carrying out participle and/or semantic analysis to the relevant character string corresponding to described candidate endpoint, by the result according to described participle and/or semantic analysis, corresponding focus word is extracted from described relevant character string, at this, when the word corresponding to described candidate endpoint is Chinese, focus word can be a phrase; When the word corresponding to described candidate endpoint is English, focus word can be a word.In step s21 ', selection equipment is according to the relative position relation of described candidate endpoint and described focus word, such as described candidate endpoint be contained in focus word, focus word be contained in the text filed number percent of this candidate etc. (as when as described in candidate endpoint exceed as described in focus word 50% time, part whether will should be contained in described candidate character strings in described relevant character string; Otherwise, if when described candidate endpoint is no more than 50% of described focus word, part in described relevant character string is deleted from described candidate character strings) and judge in described relevant character string, whether part should be contained in described candidate character strings.Such as, if when the text on described touch-screen is " I loves Tian An-men, Beijing; sun liter on Tian An-men ", after user carries out Text Select operation on touch terminal, according to the Text Select operation of described user, determine the text filed region corresponding to " I likes Beijing Tian An " of candidate, determine that the relevant character string corresponding to described candidate endpoint is " Tian An-men, Beijing ", through participle and semantic analysis process, determine that " Tian An-men " should be a phrase corresponding to candidate endpoint, then described focus word is " Tian An-men "; In step s21 ', the judgment rule that selection equipment is arranged according to default or user, described judgment rule such as when selected candidate character strings (i.e. " Tian An ") exceedes the determined character string of semantic analysis (i.e. " Tian An-men ") 50% (at this, be 66% herein), then determine that " door " should be contained in described candidate character strings; If candidate is text filed for " I likes sky, Beijing ", due to " my god " only account for " Tian An-men " 33%, more than 50%, then judge " my god " should not be contained in described candidate character strings.Thus according to judged result, such as, when described candidate text filed for " I likes Beijing Tian An " time, determine that described target string is for " I loves Tian An-men, Beijing "; When described candidate text filed for " I likes sky, Beijing " time, determine that described target string is for " I loves Beijing ".
Fig. 6 illustrates a kind of method flow diagram for determining selected text on touch terminal according to another preferred embodiment of the present invention.Particularly, in step s1 " in, selection equipment obtains the Text Select operation that touch terminal performs, and wherein, it is text filed that described Text Select operation corresponds at least one candidate, the text filed candidate character strings comprised between two candidate endpoint of described candidate; In step S2 " in, selection equipment, in conjunction with the additional character string corresponding to described text-processing operation, carries out natural language processing to the relevant character string corresponding to described candidate endpoint, to determine described target string and as described selected text; In step S3 " in, selection equipment performs the text-processing operation corresponding to described Text Select operation to described selected text.Wherein, described step s1 " identical with step corresponding shown in Fig. 4 or substantially identical, so place repeats no more, and be contained in this by way of reference.
Constant work between above steps, at this, it will be understood by those skilled in the art that " continuing " refer to above steps respectively in real time or according to setting or the mode of operation requirement of adjustment in real time, carry out the acquisition of Text Select operation, the determination of target string, the execution etc. of text-processing operation, until selection equipment stops obtaining the Text Select operation that touch terminal performs.
In step S2 " in, selection equipment, in conjunction with the additional character string corresponding to described text-processing operation, carries out natural language processing to the relevant character string corresponding to described candidate endpoint, to determine described target string and as described selected text.Particularly, in step S2 " in, selection equipment obtains described text-processing operation, and wherein, described text-processing operation includes but not limited to the operation such as deletion, insertion that will perform; At this, described text-processing operation can Text Select operation simultaneously or forward and backward come, such as first determine concrete text-processing operation select again concrete operand (i.e. selected text) or first selected operand determine that text-processing operates (such as draw a circle to approve some texts and be then dragged to target location) again.In step s2 " in; select the additional character string of equipment corresponding to described text-processing operation; such as; the text on touch-screen is for " I loves Tian An-men, Beijing, sun liter on Tian An-men "; user's selected " I likes sky, Beijing " carries out the character string of deleting as hope, then " I likes sky, Beijing " is candidate character strings, and " peace door " is the additional character string corresponding to described text-processing operation; Relevant character string corresponding to described candidate endpoint is in " Tian An-men "; By carrying out natural language processing to the relevant character string corresponding to described candidate endpoint, obtain " Tian An-men " and should be a complete word, the part being such as contained in described candidate character strings in conjunction with this word accounts for the ratio of this word, thus determine that selected text and object to be deleted should be " I loves Beijing ", and " I loves Beijing " is defined as described target string.
In step s3 " in, selection equipment performs the text-processing operation corresponding to described Text Select operation to described selected text.Particularly, in step s3 " in, the equipment of selection can according to described step s2 " determined described selected text, the text-processing operation corresponding to described Text Select operation is performed to described selected text.Wherein, described text-processing operation includes but not limited to perform insert or delete operation to described selected text.Continue upper example, is about to " I loves Beijing " and deletes from " I loves Tian An-men, Beijing ".
Preferably, when described text-processing operation comprise deletion action is carried out to described selected text time, in step s2 " in; selection equipment is in conjunction with the additional character string corresponding to described deletion action; carry out natural language processing to the relevant character string corresponding to described candidate endpoint; to determine described target string and as described selected text, wherein, the additional character string corresponding to described deletion action comprises the text filed external character string with described candidate.Wherein, described external character string and text filed outer, adjacent with this region character string of candidate.Such as, text message on touch-screen is " putting down burden with it ", by deletion action, " on " is deleted, thus additional character string is the respective symbols string after deleting related text, namely " body is put down " and " burden ", by to the relevant character string corresponding to described candidate endpoint, namely " with it " carries out natural language processing, determine that target string should be " with it ", thus complete described process operation, be about to " with it " delete from " putting down burden with it ", residue " laying down the burden ".
Preferably, when described text-processing operation comprises the update of described selected text insertion target location, in step s2 " in; selection equipment is in conjunction with the additional character string corresponding to described update; carry out natural language processing to the relevant character string corresponding to described candidate endpoint; to determine described target string and as described selected text, wherein, the additional character string corresponding to described update comprises the character string corresponding with described target location.Such as, when the text message on touch-screen is " Tian An-men ", the text be inserted into is " I likes sky ", and it is front that described text is inserted into " Tian An-men ", then candidate character strings is " I likes sky ", additional character string is " Tian An-men ", corresponding relevant character string is " I loves Tian An-men ", by carrying out natural language processing to this relevant character string, determine participle " I ", " love " " Tian An-men ", and the target location of inserting has comprised additional character string " Tian An-men ", therefore determine that target string should be " I likes ", and do not comprise " Tian An-men ", namely selected text is " I likes ", correspondingly, in step s3 " in, select equipment that this preferred text " I likes " is inserted into target location, obtain " I loves Tian An-men ".
To those skilled in the art, obviously the invention is not restricted to the details of above-mentioned one exemplary embodiment, and when not deviating from spirit of the present invention or essential characteristic, the present invention can be realized in other specific forms.Therefore, no matter from which point, all should embodiment be regarded as exemplary, and be nonrestrictive, scope of the present invention is limited by claims instead of above-mentioned explanation, and all changes be therefore intended in the implication of the equivalency by dropping on claim and scope are included in the present invention.Any Reference numeral in claim should be considered as the claim involved by limiting.In addition, obviously " comprising " one word do not get rid of other unit or step, odd number does not get rid of plural number.Multiple unit of stating in device claim or device also can be realized by software or hardware by a unit or device.First, second word such as grade is used for representing title, and does not represent any specific order.

Claims (16)

1., for determining a method for selected text on touch terminal, wherein, the method comprises the following steps:
A obtains the Text Select operation that touch terminal performs, and wherein, it is text filed that described Text Select operation corresponds at least one candidate, the text filed candidate character strings comprised between two candidate endpoint of described candidate;
B is by carrying out natural language processing to the relevant character string corresponding to described candidate endpoint, and from described relevant character string, extract corresponding focus word, wherein, described focus word covers described candidate endpoint; According to the relative position relation of described candidate endpoint and described focus word, judge whether the partial character in described relevant character string should be contained in described candidate character strings; According to judged result, described candidate character strings is contained in by being judged as the partial character not being contained in described candidate character strings in the described relevant character string that should be contained in described candidate character strings, maybe delete being judged as the partial character be contained in described candidate character strings in the described relevant character string that should not be contained in described candidate character strings from described candidate character strings, to obtain target string and as described selected text.
2. method according to claim 1, wherein, described step b comprises:
-by carrying out natural language processing to the relevant character string corresponding to described candidate endpoint, determine the target endpoint corresponding with described candidate endpoint;
-according to described target endpoint, determine corresponding target text region text filed with described candidate, using by the character string corresponding to described target text region as described target string.
3. method according to claim 1, wherein, the method also comprises:
-the text-processing operation corresponding to described Text Select operation is performed to described selected text.
4. method according to claim 3, wherein, described step b comprises:
-in conjunction with the additional character string corresponding to described text-processing operation, natural language processing is carried out to the relevant character string corresponding to described candidate endpoint, to determine described target string and as described selected text.
5. method according to claim 4, wherein, described text-processing operation comprises carries out deletion action to described selected text;
Wherein, described step b comprises:
-in conjunction with the additional character string corresponding to described deletion action, natural language processing is carried out to the relevant character string corresponding to described candidate endpoint, to determine described target string and as described selected text, wherein, the additional character string corresponding to described deletion action comprises the text filed external character string with described candidate.
6. method according to claim 4, wherein, described text-processing operation comprises the update described selected text being inserted target location;
Wherein, described step b comprises:
-in conjunction with the additional character string corresponding to described update, natural language processing is carried out to the relevant character string corresponding to described candidate endpoint, to determine described target string and as described selected text, wherein, the additional character string corresponding to described update comprises the character string corresponding with described target location.
7. method according to claim 1, wherein, described step a comprises:
-obtain the Text Select operation in input frame on touch terminal performed by input of character string, wherein, it is text filed that described Text Select operation corresponds at least one candidate, the text filed candidate character strings comprised between two candidate endpoint of described candidate.
8. method according to claim 7, wherein, described step a comprises:
-obtain slide to slider bar corresponding with described input frame on described touch terminal, using as described Text Select operation, wherein, it is text filed that described Text Select operation corresponds at least one candidate, the text filed candidate character strings comprised between two candidate endpoint of described candidate, described candidate endpoint is corresponding with status indication information corresponding on described slider bar.
9. for determining a selection equipment for selected text on touch terminal, wherein, described selection equipment comprises:
Acquisition device, for obtaining the Text Select operation that touch terminal performs, wherein, it is text filed that described Text Select operation corresponds at least one candidate, the text filed candidate character strings comprised between two candidate endpoint of described candidate;
Treating apparatus, for by carrying out natural language processing to the relevant character string corresponding to described candidate endpoint, from described relevant character string, extract corresponding focus word, wherein, described focus word covers described candidate endpoint; According to the relative position relation of described candidate endpoint and described focus word, judge whether the partial character in described relevant character string should be contained in described candidate character strings; According to judged result, described candidate character strings is contained in by being judged as the partial character not being contained in described candidate character strings in the described relevant character string that should be contained in described candidate character strings, maybe delete being judged as the partial character be contained in described candidate character strings in the described relevant character string that should not be contained in described candidate character strings from described candidate character strings, to obtain target string and as described selected text.
10. selection equipment according to claim 9, wherein, described treating apparatus is used for:
-by carrying out natural language processing to the relevant character string corresponding to described candidate endpoint, determine the target endpoint corresponding with described candidate endpoint;
-according to described target endpoint, determine corresponding target text region text filed with described candidate, using by the character string corresponding to described target text region as described target string.
11. selection equipment according to claim 9, wherein, this equipment also comprises:
Operating means, for performing the text-processing operation corresponding to described Text Select operation to described selected text.
12. selection equipment according to claim 11, wherein, described treating apparatus is used for:
-in conjunction with the additional character string corresponding to described text-processing operation, natural language processing is carried out to the relevant character string corresponding to described candidate endpoint, to determine described target string and as described selected text.
13. selection equipment according to claim 12, wherein, described text-processing operation comprises carries out deletion action to described selected text;
Wherein, described treating apparatus is used for:
-in conjunction with the additional character string corresponding to described deletion action, natural language processing is carried out to the relevant character string corresponding to described candidate endpoint, to determine described target string and as described selected text, wherein, the additional character string corresponding to described deletion action comprises the text filed external character string with described candidate.
14. selection equipment according to claim 12, wherein, described text-processing operation comprises the update described selected text being inserted target location;
Wherein, described treating apparatus is used for:
-in conjunction with the additional character string corresponding to described update, natural language processing is carried out to the relevant character string corresponding to described candidate endpoint, to determine described target string and as described selected text, wherein, the additional character string corresponding to described update comprises the character string corresponding with described target location.
15. selection equipment according to claim 9, wherein, described acquisition device is used for:
-obtain the Text Select operation in input frame on touch terminal performed by input of character string, wherein, it is text filed that described Text Select operation corresponds at least one candidate, the text filed candidate character strings comprised between two candidate endpoint of described candidate.
16. selection equipment according to claim 15, wherein, described acquisition device is used for:
-obtain slide to slider bar corresponding with described input frame on described touch terminal, using as described Text Select operation, wherein, it is text filed that described Text Select operation corresponds at least one candidate, the text filed candidate character strings comprised between two candidate endpoint of described candidate, described candidate endpoint is corresponding with status indication information corresponding on described slider bar.
CN201210429277.7A 2012-10-31 2012-10-31 A kind of method and apparatus for determining selected text on touch terminal Active CN102937864B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210429277.7A CN102937864B (en) 2012-10-31 2012-10-31 A kind of method and apparatus for determining selected text on touch terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210429277.7A CN102937864B (en) 2012-10-31 2012-10-31 A kind of method and apparatus for determining selected text on touch terminal

Publications (2)

Publication Number Publication Date
CN102937864A CN102937864A (en) 2013-02-20
CN102937864B true CN102937864B (en) 2015-11-25

Family

ID=47696764

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210429277.7A Active CN102937864B (en) 2012-10-31 2012-10-31 A kind of method and apparatus for determining selected text on touch terminal

Country Status (1)

Country Link
CN (1) CN102937864B (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103324667B (en) * 2013-05-20 2016-08-17 吴涛军 A kind of method generating adaptively selected text on webpage
US9377949B2 (en) 2013-09-27 2016-06-28 Xiaomi Inc. Method and terminal device for selecting character
CN103472998B (en) * 2013-09-27 2017-03-15 小米科技有限责任公司 A kind of method of selected text, device and terminal unit
CN106610780A (en) * 2015-10-27 2017-05-03 中兴通讯股份有限公司 Text selection method and intelligent terminal
CN106126052A (en) 2016-06-23 2016-11-16 北京小米移动软件有限公司 Text selection method and device
CN106339159A (en) * 2016-08-25 2017-01-18 乐视控股(北京)有限公司 Character selection processing method, terminal and semantic analysis server
CN107015738A (en) * 2016-09-20 2017-08-04 阿里巴巴集团控股有限公司 A kind of text selection method and equipment
CN108334395B (en) * 2018-03-21 2023-11-10 光禹莱特数字科技(上海)有限公司 Information processing method, apparatus, computer device, and storage medium
CN110018762A (en) * 2019-03-15 2019-07-16 维沃移动通信有限公司 A kind of text clone method and mobile terminal
CN110909524B (en) * 2019-11-27 2023-12-26 维沃移动通信有限公司 Editing method and electronic equipment
CN111026319B (en) * 2019-12-26 2021-12-10 腾讯科技(深圳)有限公司 Intelligent text processing method and device, electronic equipment and storage medium
CN114757180A (en) * 2020-12-26 2022-07-15 华为技术有限公司 Method for selecting text, electronic equipment and computer readable storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5832528A (en) * 1994-08-29 1998-11-03 Microsoft Corporation Method and system for selecting text with a mouse input device in a computer system
CN1545666A (en) * 2001-07-02 2004-11-10 英特尔公司 Method and system for lexical acquisition and word boundary identification
CN101093423A (en) * 2006-06-23 2007-12-26 微软公司 Indication method and system for inputting method
CN101295293A (en) * 2007-04-29 2008-10-29 摩托罗拉公司 Automatic error correction method for input character string of ideographic character
CN101526881A (en) * 2008-03-04 2009-09-09 苹果公司 Text selection by gesture
CN101727271A (en) * 2008-10-22 2010-06-09 北京搜狗科技发展有限公司 Method and device for providing error correcting prompt and input method system
CN102662575A (en) * 2012-03-27 2012-09-12 上海量明科技发展有限公司 Method for modifying text, client and system
CN102750088A (en) * 2012-06-04 2012-10-24 华为终端有限公司 Method and electronic device for prompting character inputting

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5832528A (en) * 1994-08-29 1998-11-03 Microsoft Corporation Method and system for selecting text with a mouse input device in a computer system
CN1545666A (en) * 2001-07-02 2004-11-10 英特尔公司 Method and system for lexical acquisition and word boundary identification
CN101093423A (en) * 2006-06-23 2007-12-26 微软公司 Indication method and system for inputting method
CN101295293A (en) * 2007-04-29 2008-10-29 摩托罗拉公司 Automatic error correction method for input character string of ideographic character
CN101526881A (en) * 2008-03-04 2009-09-09 苹果公司 Text selection by gesture
CN101727271A (en) * 2008-10-22 2010-06-09 北京搜狗科技发展有限公司 Method and device for providing error correcting prompt and input method system
CN102662575A (en) * 2012-03-27 2012-09-12 上海量明科技发展有限公司 Method for modifying text, client and system
CN102750088A (en) * 2012-06-04 2012-10-24 华为终端有限公司 Method and electronic device for prompting character inputting

Also Published As

Publication number Publication date
CN102937864A (en) 2013-02-20

Similar Documents

Publication Publication Date Title
CN102937864B (en) A kind of method and apparatus for determining selected text on touch terminal
EP2940557B1 (en) Method and device used for providing input candidate item corresponding to input character string
CN103324425B (en) The method and apparatus that a kind of order based on gesture performs
CN106484266A (en) A kind of text handling method and device
US10248635B2 (en) Method for inserting characters in a character string and the corresponding digital service
US10416868B2 (en) Method and system for character insertion in a character string
US20110242000A1 (en) Method for optimization of soft keyboards for multiple languages
US20180121074A1 (en) Freehand table manipulation
US9280524B2 (en) Combining a handwritten marking with a rendered symbol to modify the rendered symbol
EP3029567B1 (en) Method and device for updating input method system, computer storage medium, and device
CN102866827A (en) Document editing method and device for man-machine interaction equipment
CN107025053A (en) The method that one service is provided when by dummy keyboard input content to application program
CN105867820A (en) Text editing method and device for touch screen
CN102141868A (en) Method for quickly operating information interaction page, input method system and browser plug-in
CN103543947A (en) Method and system for amending input contents on electronic device with touch screen
CN105183184A (en) Character processing method and terminal
EP2909702B1 (en) Contextually-specific automatic separators
CN103324674A (en) Method and device for selecting webpage content
CN104516674A (en) Word processing method and device
Billah et al. Accessible gesture typing for non-visual text entry on smartphones
CN106598409A (en) Text replication method and device, and intelligent terminal
CN103530041A (en) Dragging processing method and device and terminal equipment
CN105589570B (en) A kind of method and apparatus handling input error
CN104679723B (en) A kind of control display methods, system and the device of text
US9940513B2 (en) Intuitive selection of a digital stroke grouping

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant