CN102937864A - Method and device for determining selected texts on touch terminals - Google Patents

Method and device for determining selected texts on touch terminals Download PDF

Info

Publication number
CN102937864A
CN102937864A CN2012104292777A CN201210429277A CN102937864A CN 102937864 A CN102937864 A CN 102937864A CN 2012104292777 A CN2012104292777 A CN 2012104292777A CN 201210429277 A CN201210429277 A CN 201210429277A CN 102937864 A CN102937864 A CN 102937864A
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.)
Granted
Application number
CN2012104292777A
Other languages
Chinese (zh)
Other versions
CN102937864B (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

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention aims to provide a method and a device for determining selected texts on touch terminals. A selection device obtains text selection operation executed on a touch terminal, and the text selection operation corresponds to at least one candidate text region which comprises candidate character strings between two candidate endpoints; and relevant candidate character strings corresponding to the candidate endpoints are subjected to natural language processing, and target character strings corresponding to the selected candidate character strings are determined to serve as selected texts corresponding to the text selection operation. Compared with the prior art, the selected texts on the touch terminal are subjected to natural language processing to determine the target character strings corresponding to the selected texts, the text selection bias caused by small operation regions or touch errors on touch terminals are overcome, and accordingly, the selection accuracy is improved, the user operation efficiency is improved, and the user operation experience is improved.

Description

A kind of for determine the method and apparatus of selected text on touch terminal
Technical field
The present invention relates to computer realm, relate in particular to a kind of for determine the technology of selected text on touch terminal.
Background technology
Current, touch-screen is as a kind of novel multimedia interactive input equipment, and the man-machine interaction characteristic easy, natural with it is used in various fields.For example, in field of mobile equipment, increasing mobile phone or other mobile devices adopt touch-screen to show and input.Because touch-screen carries out man-machine interaction by test example as touch action and the judgement finger position of pointing, therefore when the user carries out the text selecting operation, often because operated zone is less, the limiting factors such as response accuracy of skilled operation degree or touch-screen, be easy to cause touching error, thereby usually be difficult to be selected exactly required text, reduced user's operating efficiency and experience.Typically, as the user, when this selection of the enterprising style of writing of handset touch panel operates, selected text can be wished selected text generating deviation with the user usually.
Summary of the invention
The purpose of this invention is to provide a kind of for determine the method and apparatus of selected text on touch terminal.
According to an aspect of the present invention, provide a kind of for determine the method for selected text on touch terminal, wherein, the method comprises the following steps:
A obtains the text selecting operation of carrying out on touch terminal, and wherein, described text selecting operational correspondence is text filed at least one candidate, and described candidate is text filed comprises two candidate character strings between candidate endpoint;
B, by the corresponding relevant character string of described candidate endpoint is carried out to natural language processing, determines the target string corresponding with described candidate character strings, usings as the corresponding selected text of described text selecting operation.
According to a further aspect in the invention, also provide a kind of for determine the selection equipment of selected text on touch terminal, wherein, described selection equipment comprises:
Deriving means, for obtaining the text selecting operation of carrying out on touch terminal, wherein, described text selecting operational correspondence is text filed at least one candidate, and described candidate is text filed comprises two candidate character strings between candidate endpoint;
Treating apparatus, for by the corresponding relevant character string of described candidate endpoint is carried out to natural language processing, determine the target string corresponding with described candidate character strings, usings as the corresponding selected text of described text selecting operation.
Compared with prior art, the present invention is by carrying out natural language processing to selected text on touch terminal, to determine the target string corresponding with selected text, to solve text selecting deviation less because of operating area on touch terminal or that the touch error causes, thereby improved the precision of selecting, improve user's operating efficiency, improved user's operating experience.And, the present invention can also, by the mode such as selected candidate endpoint or candidate character strings being processed to, be processed selecting the selected text of operation, to improve the efficiency of natural language processing, improve user's operating efficiency, improved user's operating experience.And, the present invention can also be according to the corresponding text-processing operation of selected text, thereby operate corresponding additional character string in conjunction with described text-processing, the corresponding relevant character string of described candidate endpoint is carried out to natural language processing, and further, described text-processing operation comprises deletion or insertion etc., thereby the operation of user's text selecting and text-processing operation are combined, the demand that more meets the user, improve user's operating efficiency, improved user's operating experience.And, the present invention can also be applicable to the performed text selecting operation of input of character string in input frame, further, can also be according to the slide of the slider bar corresponding with described input frame, using as described text selecting operation, cause selecting inaccurate problem thereby improved user's touch operation, improved the degree of accuracy of selecting, improve user's operating efficiency, improved user's operating experience.
The accompanying drawing explanation
By reading the detailed description that non-limiting example is done of doing with reference to the following drawings, it is more obvious that other features, objects and advantages of the present invention will become:
Fig. 1 illustrates a kind of selection equipment schematic diagram for definite selected text on touch terminal according to one aspect of the invention;
Fig. 2 illustrates a kind of selection equipment schematic diagram for definite 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 definite selected text on touch terminal according to another preferred embodiment of the present invention;
Fig. 4 illustrates a kind of method flow diagram for definite selected text on touch terminal according to a further aspect of the present invention;
Fig. 5 illustrates a kind of method flow diagram for definite 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 definite 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 definite selected text on touch terminal according to one aspect of the invention; Wherein, this selection equipment comprises deriving means 11, treating apparatus 12.Particularly, deriving means 11 obtains the text selecting operation of carrying out on touch terminal, and wherein, described text selecting operational correspondence is text filed at least one candidate, and described candidate is text filed comprises two candidate character strings between candidate endpoint; Treating apparatus 12, by the corresponding relevant character string of described candidate endpoint is carried out to natural language processing, is determined the target string corresponding with described candidate character strings, usings as the corresponding selected text of described text selecting operation.At this, selection equipment include but not limited to the network equipment, subscriber equipment or the network equipment with subscriber equipment by the mutually integrated equipment formed of network.Wherein, the described network equipment its include but not limited to the cloud that computing machine, network host, single network server, a plurality of webserver collection or a plurality of server form; At this, cloud consists of a large amount of computing machines based on cloud computing (Cloud Computing) or the webserver, and wherein, cloud computing is a kind of of Distributed Calculation, the virtual supercomputer be comprised of the loosely-coupled computing machine collection of a group.It includes but not limited to described subscriber equipment anyly can carry out with the user electronic product of man-machine interaction, such as computing machine, smart mobile phone, PDA, game machine or IPTV etc. 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 network, wireless self-organization network (Ad Hoc network) etc.Those skilled in the art will be understood that other selection equipment is equally applicable to the present invention, also should be included in protection domain of the present invention, and be contained in this at this with way of reference.
Between above-mentioned each device, be constant work, at this, it will be understood by those skilled in the art that " continuing " refers to that above-mentioned each device is respectively in real time or according to the mode of operation requirement of setting or adjust in real time, carry out determining of the obtaining of text selecting operation, target string etc., until selection equipment stops obtaining the text selecting operation of carrying out on touch terminal.
Deriving means 11 obtains the text selecting operation of carrying out on touch terminal, and wherein, described text selecting operational correspondence is text filed at least one candidate, and described candidate is text filed comprises two candidate character strings between candidate endpoint.Particularly, deriving means 11 is by the touch detection part based on touch terminal, obtain touch location or the touch information of the text selecting operation that for example user carries out on touch terminal, and according to described touch location or touch information, determine that described text selecting operates corresponding two candidate endpoint, thereby, according to described two candidate endpoint, determine that corresponding at least one candidate of described text selecting operation is text filed; Perhaps deriving means 11, based on various communication protocol, can provide the equipment of described text selecting operation with other, as the text selecting operating database carries out alternately, to obtain the text selecting operation of carrying out on touch terminal.Wherein, described text selecting operation includes but not limited to single-point touches or multiple point touching, for example, when the user carries out single-point touches, the end points that the starting point of pressing when the user touches is text filed as described candidate, another end points that the terminal of finally pressing when the user touches is text filed as described candidate, thus determine that described text selecting operational correspondence is text filed at least one candidate; When the user carries out multiple point touching, the end points text filed as described candidate using the starting point of each touch point, another end points that the terminal of finally pressing when each touches is text filed as described candidate, each touch point when thereby described multiple point touching is initial, it is text filed that the terminal that all touch corresponding thereto finishes has formed different candidates, thereby the setting of selecting according to system setting or user, determine that from described a plurality of candidates are text filed one or more to carry out the candidate of subsequent treatment for the user text filed.At this, while due to the user, pressing touch, a corresponding touch point can correspond to the one or more contact coordinates on touch-screen, at this, deriving means 11 can be according to preset conversion regime, or self-defining conversion regime, described a plurality of contact coordinates are converted to single contact coordinate, to determine that described text selecting operates text filed included two candidate endpoint of corresponding candidate, as according to the corresponding central coordinate of a plurality of contact coordinates, as the candidate endpoint coordinate, or using the edge coordinate of described a plurality of contacts as the candidate endpoint coordinate etc.At this, the text selecting operation of carrying out on described touch terminal can be carried out in input frame, as short message editing frame, content input frame etc.; Also can be at the page without input focus, by being selected, content of pages undertaken.
Treating apparatus 12, by the corresponding relevant character string of described candidate endpoint is carried out to natural language processing, is determined the target string corresponding with described candidate character strings, usings as the corresponding selected text of described text selecting operation.Particularly, described treating apparatus 12 is by obtaining the determined candidate character strings of described deriving means 11, by described candidate character strings is carried out to natural language processing, as participle and/or semantic analysis, to determine the target string corresponding with described candidate character strings, thereby using described target string as the corresponding selected text of described text selecting operation.Wherein, described candidate endpoint comprises and the text filed corresponding single candidate endpoint of described candidate or two candidate endpoint, thereby a described single candidate endpoint is carried out to natural language processing, or described two candidate endpoint are carried out respectively to natural language processing.For example, text on described touch-screen is " I love Tian An-men, Beijing; sun liter on Tian An-men ", the user is after this selection of the enterprising style of writing of touch terminal operation, text selecting operation according to described user, determine that the candidate is text filed is " I like sky, Beijing peace " corresponding zone, thereby candidate character strings is " I like sky, Beijing peace "; 12 pairs of described candidate character strings for the treatment of apparatus are carried out semantic processes, determine that " I love Tian An-men, Beijing " should be a complete character string, thereby " I love Tian An-men, Beijing ", as target string, usingd as the corresponding selected text of described text selecting operation.Those skilled in the art will be understood that " natural language processing " at this includes but not limited to the processing such as the participle, semantic analysis of the various natural language models based on different.
Preferably, described treating apparatus 12 can also, by the corresponding relevant character string of described candidate endpoint is carried out to natural language processing, be determined the target endpoint corresponding with described candidate endpoint; According to described target endpoint, determine and the text filed corresponding target text zone of described candidate, using the corresponding character string in described target text zone as described target string.Particularly, described treating apparatus 12 is by obtaining the corresponding relevant character string of described candidate endpoint, and described relevant character string is carried out to participle and/or semantic analysis, by regulating the position of candidate endpoint, as the reach or after move, to determine and the corresponding target endpoint of described candidate endpoint, upgrade text filed.Wherein, described candidate endpoint comprises and the text filed corresponding single candidate endpoint of described candidate or two candidate endpoint, thereby a described single candidate endpoint is carried out to natural language processing, or described two candidate endpoint are carried out respectively to natural language processing.Precedent continues, when the user determines that the candidate is text filed during for " I like sky, Beijing peace ", be that described candidate endpoint is the position after the cursor of " day peace ", by the corresponding relevant character string of 12 pairs of these candidate endpoint of described treating apparatus, as " Tian An-men, Beijing ", carry out participle, obtain " ”,“ Tian An-men, Beijing ", determine that " Tian An-men " should be a complete word, therefore after target endpoint should be " Tian An-men " " door " word.Described treating apparatus 12 is according to the position of described target endpoint, what will be associated with described target endpoint position is text filed, as with the text filed corresponding target text zone of described candidate, using the corresponding character string in described target text zone as described target string, obtain corresponding target string.For example, after described treating apparatus 12 determines that target endpoint should be " door " word in " Tian An-men ", therefore " door " corresponding zone is also put under in the text filed corresponding target text zone of described candidate, thereby by " I love Tian An-men, Beijing " corresponding zone as the target text zone, and then by " I love Tian An-men, Beijing " as target string.
Preferably, described deriving means 11 can also obtain the text selecting operation performed to input of character string in input frame on touch terminal, wherein, described text selecting operational correspondence is text filed at least one candidate, and described candidate is text filed comprises two candidate character strings between candidate endpoint.Particularly, described deriving means 11 can also be applicable in the input frame on touch terminal, to obtain the text selecting operation performed to input of character string in described input frame.At this, described in the obtain manner of described deriving means 11 and Fig. 1, the obtain manner of deriving means 11 is same or similar, so locate to repeat no more, and mode by reference is contained in this.
More preferably, described deriving means 11 can also obtain the slide to slider bar corresponding with described input frame on described touch terminal, using as described text selecting operation, wherein, described text selecting operational correspondence is text filed at least one candidate, described candidate is text filed comprises two candidate character strings between candidate endpoint, and described candidate endpoint is corresponding with status indication information corresponding on described slider bar.Particularly, all right corresponding one or more slider bars 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 identify the visible slider bar of slip coordinate, or sightless other interactive forms, such as according to touch point, at the relative position of operating area, determining sliding position etc.For example, mark the some Digital IDs from 0-N on described slider bar, the position of the word in the corresponding input frame of each Digital ID.For example, if in described input frame, content is " ABCDEFGHIJKLMN ", if the slip selector bar rests on 0 place, thinks and do not select any content in input frame; If the slip selector bar rests on the 0-5 place, think that the content of selecting is " ABCDE "; If the slip selector bar rests on " 4-8 " and locates, think that the content of selecting is " DEFGH "; Etc..Therefore, described deriving means 11 can also obtain the slide to described slider bar, according to described slide, determines the Origin And Destination corresponding with slide, thereby determines the status indication information on slider bar; And then, by status indication information corresponding on described slider bar, determine described candidate endpoint, thereby determine that described candidate is text filed.At this, described in the obtain manner of described deriving means 11 and Fig. 1, the obtain manner of deriving means 11 is same or similar, so locate to repeat no more, and mode by reference is contained in this.
Preferably, described selection equipment also comprises the operating means (not shown), and wherein, operating means is carried out described text selecting to described selected text and operated corresponding text-processing operation.Particularly, operating means obtains the determined target string for the treatment of apparatus 12, by described target string being carried out to text-processing operation predetermined or that the user is selected.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 if are applicable to the present invention, also should be included in protection domain of the present invention, and be contained in this at this with way of reference.
Fig. 2 illustrates a kind of selection equipment schematic diagram for definite selected text on touch terminal in accordance with a preferred embodiment of the present invention; Wherein, described selection equipment comprises deriving means 11 ', treating apparatus 12 ', and described treating apparatus 12 ' comprises judging unit 121 ', text acquiring unit 122 '.Particularly, deriving means 11 ' obtains the text selecting operation of carrying out on touch terminal, and wherein, described text selecting operational correspondence is text filed at least one candidate, and described candidate is text filed comprises two candidate character strings between candidate endpoint; Judging unit 121 ', by the corresponding relevant character string of described candidate endpoint is carried out to natural language processing, judges in described relevant character string, whether part should be contained in described candidate character strings; Text acquiring unit 122 ' is according to judged result, and part in described relevant character string is contained in to described candidate character strings or deletes from described candidate character strings, usings to obtain described target string and as described selected text.Wherein, described deriving means 11 ' is identical with corresponding intrument shown in Fig. 1 or basic identical, so locate to repeat no more, and mode by reference is contained in this.
Between above-mentioned each device, be constant work, at this, it will be understood by those skilled in the art that " continuing " refers to that above-mentioned each device is respectively in real time or according to the mode of operation requirement of setting or adjust in real time, carry out the obtaining etc. of judgement, target string of the obtaining of text selecting operation, candidate character strings, until selection equipment stops obtaining the text selecting operation of carrying out on touch terminal.
Judging unit 121 ', by the corresponding relevant character string of described candidate endpoint is carried out to natural language processing, 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 deriving means 11 ', by the corresponding relevant character string of described candidate endpoint is carried out to participle and/or semantic analysis, result according to described participle and/or semantic analysis, in conjunction with such as methods such as ratio judgements, judge in described relevant character string, whether part should be contained in described candidate character strings.For example, if the text on described touch-screen is for " I love Tian An-men, Beijing, sun liter on Tian An-men ", the user is after this selection of the enterprising style of writing of touch terminal operation, text selecting operation according to described user, determine that the candidate is text filed is " I like sky, Beijing peace " corresponding zone, judging unit 121 ' carries out word segmentation processing to the corresponding relevant character string of described candidate endpoint " Tian An-men, Beijing ", obtain " Beijing ", " Tian An-men ", " Tian An-men " should be a complete word, thereby determine that " Tian An-men " should be contained in this candidate text character string " I like sky, Beijing peace ".
Text acquiring unit 122 ' is according to judged result, and part in described relevant character string is contained in to described candidate character strings or deletes from described candidate character strings, usings 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 ', judgment result is that if described in described relevant character string, part should be contained in described candidate character strings, part in described relevant character string is contained in to described candidate character strings; Judgment result is that if described in described relevant character string, part should not be contained in described candidate character strings, part in described relevant character string is deleted from described candidate character strings; Using and obtain described target string and as described selected text.
Preferably, described judging unit 121 ' can also extract corresponding focus word by the corresponding relevant character string of described candidate endpoint is carried out to natural language processing from described relevant character string, and 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 be by obtaining the determined candidate endpoint of described deriving means 11 ', by the corresponding relevant character string of described candidate endpoint is carried out to participle and/or semantic analysis, by the result according to described participle and/or semantic analysis, extract corresponding focus word from described relevant character string, at this, when the corresponding word of described candidate endpoint is Chinese, the focus word can be a phrase; When the corresponding word of described candidate endpoint is English, the 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 surpass as described in the focus word 50% the time, will in described relevant character string, part whether should be contained in described candidate character strings; Otherwise, if described candidate endpoint be no more than described focus word 50% the time, will be in described relevant character string part from described candidate character strings, delete) judge in described relevant character string, whether part should be contained in described candidate character strings.For example, if the text on described touch-screen is " I love Tian An-men, Beijing; sun liter on Tian An-men ", the user is after this selection of the enterprising style of writing of touch terminal operation, text selecting operation according to described user, determine that the candidate is text filed is " I like sky, Beijing peace " corresponding zone, determine that the corresponding relevant character string of described candidate endpoint is for " Tian An-men, Beijing ", through participle and semantic analysis, process, determine that " Tian An-men " should be the phrase corresponding to candidate endpoint, described focus word is " Tian An-men "; Judging unit 121 ' is according to default or judgment rule that the user arranges, described judgment rule for example when selected candidate character strings (" day peace ") surpasses the determined character string of semantic analysis (i.e. " Tian An-men ") 50% (at this, be 66% herein), determine that " door " should be contained in described candidate character strings; If the candidate is text filed for " I like sky, Beijing ", due to " day " only account for " Tian An-men " 33%, surpass 50%, judge " my god " should not be contained in described candidate character strings.Thereby, according to judged result, for example, while, when described candidate is text filed, being " I like sky, Beijing peace ", determine that described target string is for " I love Tian An-men, Beijing "; Text filed when " I like sky, Beijing " as described candidate, determine that described target string is for " I love Beijing ".
Fig. 3 illustrates a kind of selection equipment schematic diagram for definite selected text on touch terminal according to another preferred embodiment of the present invention; Wherein, described selection equipment comprises deriving means 11 ", treating apparatus 12 ", operating means 13 ".Particularly, deriving means 11 " obtain the text selecting operation of carrying out on touch terminal, wherein, described text selecting operational correspondence is text filed at least one candidate, and described candidate is text filed comprises two candidate character strings between candidate endpoint; Treating apparatus 12 " operate corresponding additional character string in conjunction with described text-processing, the corresponding relevant character string of described candidate endpoint is carried out to natural language processing, using and determine described target string and as described selected text; Operating means 13 " described selected text is carried out to described text selecting operate corresponding text-processing operation.Wherein, described deriving means 11 " identical with corresponding intrument shown in Fig. 1 or basic identical, so locate to repeat no more, and mode by reference is contained in this.
Between above-mentioned each device, be constant work, at this, it will be understood by those skilled in the art that " continuing " refers to that above-mentioned each device is respectively in real time or according to the mode of operation requirement of setting or adjust in real time, carry out the execution of the determining of the obtaining of text selecting operation, target string, text-processing operation etc., until selection equipment stops obtaining the text selecting operation of carrying out on touch terminal.
Treating apparatus 12 " operate corresponding additional character string in conjunction with described text-processing, the corresponding relevant character string of described candidate endpoint is carried out to natural language processing, using and determine described target string and as described selected text.Particularly, treating apparatus 12 " obtain described text-processing operation, wherein, the operations such as the deletion that described text-processing operation includes but not limited to carry out, insertion; At this, described text-processing operation can operate simultaneously or forward and backward completing in text selecting, and for example concrete operand (being selected text) or first selected operand definite text-processing operation (for example draw a circle to approve some texts and then be dragged to target location) are again selected in first definite concrete text-processing operation again.Treating apparatus 12 " operate corresponding additional character string according to described text-processing; for example; the text on touch-screen is for " I love Tian An-men, Beijing, sun liter on Tian An-men "; the character string that user's selected " I like sky, Beijing " is deleted as hope; " I like sky, Beijing " is candidate character strings, " peace door " is described text-processing and operates corresponding additional character string; The corresponding relevant character string of described candidate endpoint is " Tian An-men "; By the corresponding relevant character string of described candidate endpoint is carried out to natural language processing, obtain " Tian An-men " and should be a complete word, the part that for example in conjunction with this word, is contained in described candidate character strings accounts for the ratio of this word, thereby determine that selected text is that object to be deleted should be " I love Beijing ", and " I love Beijing " is defined as to described target string.
Operating means 13 " described selected text is carried out to described text selecting operate corresponding text-processing operation.Particularly, operating means 13 " can be according to described treating apparatus 12 " determined described selected text, described selected text is carried out to described text selecting and operate corresponding text-processing operation.Wherein, described text-processing operation includes but not limited to described selected text is carried out to insert or delete operation.The upper example that continues, be about to " I love Beijing " and delete from " I love Tian An-men, Beijing ".
Preferably, when described text-processing operation comprises when described selected text is carried out to deletion action, described treating apparatus 12 " in conjunction with the corresponding additional character string of described deletion action; the corresponding relevant character string of described candidate endpoint is carried out to natural language processing; using and determine described target string and as described selected text; wherein, the corresponding additional character string of described deletion action comprises the text filed external character string with described candidate.Wherein, described external character string is text filed outer, adjacent with this zone character string of candidate.For example, text message on touch-screen is " putting down burden with it ", to " on " by deletion action deletes, thereby the additional character string is the respective symbols string after the deletion related text, " put down body " and " burden ", by to the corresponding relevant character string of described candidate endpoint, " with it " carries out natural language processing, determine that target string should be " with it ", thereby complete described processing operation, be about to " with it " and deleted 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 corresponding additional character string of described update; the corresponding relevant character string of described candidate endpoint is carried out to natural language processing; using and determine described target string and as described selected text; wherein, the corresponding additional character string of described update comprises the character string corresponding with described target location.For example, text message on touch-screen is " Tian An-men ", the text be inserted into is " I like sky ", and it is front that described text is inserted into to " Tian An-men ", candidate character strings is " I like sky ", the additional character string is " Tian An-men ", corresponding relevant character string is " I love Tian An-men ", by this relevant character string is carried out to natural language processing, 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 like ", and do not comprise " Tian An-men ", be that selected text is " I like ", correspondingly, operating means 13 " this preferred text " I like " is inserted into to target location, obtain " I love Tian An-men ".
Fig. 4 illustrates a kind of method flow diagram for definite selected text on touch terminal according to a further aspect of the present invention.Particularly, in step s1, selection equipment obtains the text selecting operation of carrying out on touch terminal, and wherein, described text selecting operational correspondence is text filed at least one candidate, and described candidate is text filed comprises two candidate character strings between candidate endpoint; In step s2, selection equipment, by the corresponding relevant character string of described candidate endpoint is carried out to natural language processing, is determined the target string corresponding with described candidate character strings, usings as the corresponding selected text of described text selecting operation.
Between above steps, be constant work, at this, it will be understood by those skilled in the art that " continuing " refers to that above steps is respectively in real time or according to the mode of operation requirement of setting or adjust in real time, carry out determining of the obtaining of text selecting operation, target string etc., until selection equipment stops obtaining the text selecting operation of carrying out on touch terminal.
In step s1, selection equipment obtains the text selecting operation of carrying out on touch terminal, and wherein, described text selecting operational correspondence is text filed at least one candidate, and described candidate is text filed comprises two candidate character strings between candidate endpoint.Particularly, in step s1, selection equipment is by the touch detection part based on touch terminal, obtain touch location or the touch information of the text selecting operation that for example user carries out on touch terminal, and according to described touch location or touch information, determine that described text selecting operates corresponding two candidate endpoint, thereby, according to described two candidate endpoint, determine that corresponding at least one candidate of described text selecting operation is text filed; Perhaps, in step s1, selection equipment, based on various communication protocol, can provide the equipment of described text selecting operation with other, as the text selecting operating database carries out alternately, to obtain the text selecting operation of carrying out on touch terminal.Wherein, described text selecting operation includes but not limited to single-point touches or multiple point touching, for example, when the user carries out single-point touches, the end points that the starting point of pressing when the user touches is text filed as described candidate, another end points that the terminal of finally pressing when the user touches is text filed as described candidate, thus determine that described text selecting operational correspondence is text filed at least one candidate; When the user carries out multiple point touching, the end points text filed as described candidate using the starting point of each touch point, another end points that the terminal of finally pressing when each touches is text filed as described candidate, each touch point when thereby described multiple point touching is initial, it is text filed that the terminal that all touch corresponding thereto finishes has formed different candidates, thereby the setting of selecting according to system setting or user, determine that from described a plurality of candidates are text filed one or more to carry out the candidate of subsequent treatment for the user text filed.At this, while due to the user, pressing touch, a corresponding touch point can correspond to the one or more contact coordinates on touch-screen, at this, selection equipment can be according to preset conversion regime, or self-defining conversion regime, described a plurality of contact coordinates are converted to single contact coordinate, to determine that described text selecting operates text filed included two candidate endpoint of corresponding candidate, as according to the corresponding central coordinate of a plurality of contact coordinates, as the candidate endpoint coordinate, or using the edge coordinate of described a plurality of contacts as the candidate endpoint coordinate etc.At this, the text selecting operation of carrying out on described touch terminal can be carried out in input frame, as short message editing frame, content input frame etc.; Also can be at the page without input focus, by being selected, content of pages undertaken.
In step s2, selection equipment, by the corresponding relevant character string of described candidate endpoint is carried out to natural language processing, is determined the target string corresponding with described candidate character strings, usings as the corresponding selected text of described text selecting operation.Particularly, in step s2, selection equipment is by obtaining determined candidate character strings in described step s1, by described candidate character strings is carried out to natural language processing, as participle and/or semantic analysis, to determine the target string corresponding with described candidate character strings, thereby using described target string as the corresponding selected text of described text selecting operation.Wherein, described candidate endpoint comprises and the text filed corresponding single candidate endpoint of described candidate or two candidate endpoint, thereby a described single candidate endpoint is carried out to natural language processing, or described two candidate endpoint are carried out respectively to natural language processing.For example, text on described touch-screen is " I love Tian An-men, Beijing; sun liter on Tian An-men ", the user is after this selection of the enterprising style of writing of touch terminal operation, text selecting operation according to described user, determine that the candidate is text filed is " I like sky, Beijing peace " corresponding zone, thereby candidate character strings is " I like sky, Beijing peace "; In step s2, selection equipment carries out semantic processes to described candidate character strings, determine that " I love Tian An-men, Beijing " should be a complete character string, thus by " I love Tian An-men, Beijing " as target string, using and operate corresponding selected text as described text selecting.Those skilled in the art will be understood that " natural language processing " at this includes but not limited to the processing such as the participle, semantic analysis of the various natural language models based on different.
Preferably, in step s2, selection equipment can also, by the corresponding relevant character string of described candidate endpoint is carried out to natural language processing, be determined the target endpoint corresponding with described candidate endpoint; According to described target endpoint, determine and the text filed corresponding target text zone of described candidate, using the corresponding character string in described target text zone as described target string.Particularly, in step s2, selection equipment is by obtaining the corresponding relevant character string of described candidate endpoint, and described relevant character string is carried out to participle and/or semantic analysis, by regulating the position of candidate endpoint, as the reach or after move, to determine and the corresponding target endpoint of described candidate endpoint, upgrade text filed.Wherein, described candidate endpoint comprises and the text filed corresponding single candidate endpoint of described candidate or two candidate endpoint, thereby a described single candidate endpoint is carried out to natural language processing, or described two candidate endpoint are carried out respectively to natural language processing.Precedent continues, when the user determines that the candidate is text filed during for " I like sky, Beijing peace ", be that described candidate endpoint is the position after the cursor of " day peace ", by selection equipment to the corresponding relevant character string of this candidate endpoint, as " Tian An-men, Beijing ", carry out participle, obtain " ”,“ Tian An-men, Beijing ", determine that " Tian An-men " should be a complete word, therefore after target endpoint should be " Tian An-men " " door " word.In step s2, selection equipment is according to the position of described target endpoint, what will be associated with described target endpoint position is text filed, as with the text filed corresponding target text zone of described candidate, using the corresponding character string in described target text zone as described target string, obtain corresponding target string.For example, after selection equipment is determined target endpoint and be should be " door " word in " Tian An-men ", therefore " door " corresponding zone is also put under in the text filed corresponding target text zone of described candidate, thereby by " I love Tian An-men, Beijing " corresponding zone as the target text zone, and then by " I love Tian An-men, Beijing " as target string.
Preferably, in step s1, selection equipment can also obtain the text selecting operation performed to input of character string in input frame on touch terminal, wherein, described text selecting operational correspondence is text filed at least one candidate, and described candidate is text filed comprises two candidate character strings between candidate endpoint.Particularly, in step s1, selection equipment can also be applicable in the input frame on touch terminal, to obtain the text selecting operation performed to input of character string in described input frame.At this, described in described obtain manner and Fig. 4, the obtain manner of step s1 is same or similar, so locate to repeat no more, and mode by reference is contained in this.
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 selecting operation, wherein, described text selecting operational correspondence is text filed at least one candidate, and described candidate is text filed comprises two candidate character strings between candidate endpoint, and described candidate endpoint is corresponding with status indication information corresponding on described slider bar.Particularly, all right corresponding one or more slider bars 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 identify the visible slider bar of slip coordinate, or sightless other interactive forms, such as according to touch point, at the relative position of operating area, determining sliding position etc.For example, mark the some Digital IDs from 0-N on described slider bar, the position of the word in the corresponding input frame of each Digital ID.For example, if in described input frame, content is " ABCDEFGHIJKLMN ", if the slip selector bar rests on 0 place, thinks and do not select any content in input frame; If the slip selector bar rests on the 0-5 place, think that the content of selecting is " ABCDE "; If the slip selector bar rests on " 4-8 " and locates, think that the content of selecting is " DEFGH "; Etc..Therefore, in step s1, selection equipment can also obtain the slide to described slider bar, according to described slide, determines the Origin And Destination corresponding with slide, thereby determines the status indication information on slider bar; And then, by status indication information corresponding on described slider bar, determine described candidate endpoint, thereby 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 locate to repeat no more, and mode by reference is contained in this.
Preferably, described selection equipment also comprises step s3 (not shown), and wherein, in step s3, selection equipment is carried out described text selecting to described selected text and operated corresponding text-processing operation.Particularly, in step s3, select determined target string in equipment obtaining step s2, by described target string being carried out to text-processing operation predetermined or that the user is selected.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 if are applicable to the present invention, also should be included in protection domain of the present invention, and be contained in this at this with way of reference.
Fig. 5 illustrates a kind of method flow diagram for definite selected text on touch terminal in accordance with a preferred embodiment of the present invention.Particularly, in step s1 ', selection equipment obtains the text selecting operation of carrying out on touch terminal, and wherein, described text selecting operational correspondence is text filed at least one candidate, and described candidate is text filed comprises two candidate character strings between candidate endpoint; In step s21 ', selection equipment, by the corresponding relevant character string of described candidate endpoint is carried out to natural language processing, judges in described relevant character string, whether part should be contained in described candidate character strings; In step s22 ', selection equipment is according to judged result, and part in described relevant character string is contained in to described candidate character strings or deletes from described candidate character strings, usings to obtain described target string and as described selected text.Wherein, described step s1 ' is identical or basic identical with corresponding step shown in Fig. 4, so locate to repeat no more, and mode by reference is contained in this.
Between above steps, be constant work, at this, it will be understood by those skilled in the art that " continuing " refers to that above steps is respectively in real time or according to the mode of operation requirement of setting or adjust in real time, carry out the obtaining etc. of judgement, target string of the obtaining of text selecting operation, candidate character strings, until selection equipment stops obtaining the text selecting operation of carrying out on touch terminal.
In step s21 ', selection equipment, by the corresponding relevant character string of described candidate endpoint is carried out to natural language processing, 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 the corresponding relevant character string of described candidate endpoint is carried out to participle and/or semantic analysis, result according to described participle and/or semantic analysis, in conjunction with such as methods such as ratio judgements, judge in described relevant character string, whether part should be contained in described candidate character strings.For example, if the text on described touch-screen is for " I love Tian An-men, Beijing, sun liter on Tian An-men ", the user is after this selection of the enterprising style of writing of touch terminal operation, text selecting operation according to described user, determine that the candidate is text filed is " I like sky, Beijing peace " corresponding zone, in step s21 ', selection equipment carries out word segmentation processing to the corresponding relevant character string of described candidate endpoint " Tian An-men, Beijing ", obtain " Beijing ", " Tian An-men ", " Tian An-men " should be a complete word, thereby determine that " Tian An-men " should be contained in this candidate text character string " I like sky, Beijing peace ".
In step s22 ', selection equipment is according to judged result, and part in described relevant character string is contained in to described candidate character strings or deletes from described candidate character strings, usings to obtain described target string and as described selected text.Particularly, in step s22 ', selection equipment, according to the judged result of described step s21 ', judgment result is that if described in described relevant character string, part should be contained in described candidate character strings, part in described relevant character string is contained in to described candidate character strings; Judgment result is that if described in described relevant character string, part should not be contained in described candidate character strings, part in described relevant character string is deleted from described candidate character strings; Using and obtain described target string and as described selected text.
Preferably, in step s21 ', selection equipment can also, by the corresponding relevant character string of described candidate endpoint is carried out to natural language processing, 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 be by obtaining the determined candidate endpoint of described step s1 ', by the corresponding relevant character string of described candidate endpoint is carried out to participle and/or semantic analysis, by the result according to described participle and/or semantic analysis, extract corresponding focus word from described relevant character string, at this, when the corresponding word of described candidate endpoint is Chinese, the focus word can be a phrase; When the corresponding word of described candidate endpoint is English, the 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 surpass as described in the focus word 50% the time, will in described relevant character string, part whether should be contained in described candidate character strings; Otherwise, if described candidate endpoint be no more than described focus word 50% the time, will be in described relevant character string part from described candidate character strings, delete) judge in described relevant character string, whether part should be contained in described candidate character strings.For example, if the text on described touch-screen is " I love Tian An-men, Beijing; sun liter on Tian An-men ", the user is after this selection of the enterprising style of writing of touch terminal operation, text selecting operation according to described user, determine that the candidate is text filed is " I like sky, Beijing peace " corresponding zone, determine that the corresponding relevant character string of described candidate endpoint is for " Tian An-men, Beijing ", through participle and semantic analysis, process, determine that " Tian An-men " should be the phrase corresponding to candidate endpoint, described focus word is " Tian An-men "; In step s21 ', selection equipment is according to default or judgment rule that the user arranges, described judgment rule for example when selected candidate character strings (" day peace ") surpasses the determined character string of semantic analysis (i.e. " Tian An-men ") 50% (at this, be 66% herein), determine that " door " should be contained in described candidate character strings; If the candidate is text filed for " I like sky, Beijing ", due to " day " only account for " Tian An-men " 33%, surpass 50%, judge " my god " should not be contained in described candidate character strings.Thereby, according to judged result, for example, while, when described candidate is text filed, being " I like sky, Beijing peace ", determine that described target string is for " I love Tian An-men, Beijing "; Text filed when " I like sky, Beijing " as described candidate, determine that described target string is for " I love Beijing ".
Fig. 6 illustrates a kind of method flow diagram for definite selected text on touch terminal according to another preferred embodiment of the present invention.Particularly, at step s1 " in, selection equipment obtains the text selecting operation of carrying out on touch terminal, and wherein, described text selecting operational correspondence is text filed at least one candidate, and described candidate is text filed comprises two candidate character strings between candidate endpoint; At step S2 " in, selection equipment operates corresponding additional character string in conjunction with described text-processing, and the corresponding relevant character string of described candidate endpoint is carried out to natural language processing, usings to determine described target string and as described selected text; At step S3 " in, selection equipment is carried out described text selecting to described selected text and is operated corresponding text-processing operation.Wherein, described step s1 " identical or basic identical with corresponding step shown in Fig. 4, so locate to repeat no more, and mode by reference is contained in this.
Between above steps, be constant work, at this, it will be understood by those skilled in the art that " continuing " refers to that above steps is respectively in real time or according to the mode of operation requirement of setting or adjust in real time, carry out the execution of the determining of the obtaining of text selecting operation, target string, text-processing operation etc., until selection equipment stops obtaining the text selecting operation of carrying out on touch terminal.
At step S2 " in, selection equipment operates corresponding additional character string in conjunction with described text-processing, and the corresponding relevant character string of described candidate endpoint is carried out to natural language processing, usings to determine described target string and as described selected text.Particularly, at step S2 " in, selection equipment obtains described text-processing operation, wherein, and the operations such as the deletion that described text-processing operation includes but not limited to carry out, insertion; At this, described text-processing operation can operate simultaneously or forward and backward completing in text selecting, and for example concrete operand (being selected text) or first selected operand definite text-processing operation (for example draw a circle to approve some texts and then be dragged to target location) are again selected in first definite concrete text-processing operation again.At step s2 " in; selection equipment operates corresponding additional character string according to described text-processing; for example; the text on touch-screen is for " I love Tian An-men, Beijing, sun liter on Tian An-men "; the character string that user's selected " I like sky, Beijing " is deleted as hope, " I like sky, Beijing " is candidate character strings, and " peace door " is described text-processing and operates corresponding additional character string; The corresponding relevant character string of described candidate endpoint is " Tian An-men "; By the corresponding relevant character string of described candidate endpoint is carried out to natural language processing, obtain " Tian An-men " and should be a complete word, the part that for example in conjunction with this word, is contained in described candidate character strings accounts for the ratio of this word, thereby determine that selected text is that object to be deleted should be " I love Beijing ", and " I love Beijing " is defined as to described target string.
At step s3 " in, selection equipment is carried out described text selecting to described selected text and is operated corresponding text-processing operation.Particularly, at step s3 " in, selection equipment can be according to described step s2 " determined described selected text, described selected text is carried out to described text selecting and operate corresponding text-processing operation.Wherein, described text-processing operation includes but not limited to described selected text is carried out to insert or delete operation.The upper example that continues, be about to " I love Beijing " and delete from " I love Tian An-men, Beijing ".
Preferably, when described text-processing operation comprises when described selected text is carried out to deletion action, at step s2 " in; selection equipment is in conjunction with the corresponding additional character string of described deletion action; the corresponding relevant character string of described candidate endpoint is carried out to natural language processing; using and determine described target string and, as described selected text, wherein, the corresponding additional character string of described deletion action comprises the text filed external character string with described candidate.Wherein, described external character string is text filed outer, adjacent with this zone character string of candidate.For example, text message on touch-screen is " putting down burden with it ", to " on " by deletion action deletes, thereby the additional character string is the respective symbols string after the deletion related text, " put down body " and " burden ", by to the corresponding relevant character string of described candidate endpoint, " with it " carries out natural language processing, determine that target string should be " with it ", thereby complete described processing operation, be about to " with it " and deleted 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, at step s2 " in; selection equipment is in conjunction with the corresponding additional character string of described update; the corresponding relevant character string of described candidate endpoint is carried out to natural language processing; using and determine described target string and, as described selected text, wherein, the corresponding additional character string of described update comprises the character string corresponding with described target location.For example, text message on touch-screen is " Tian An-men ", the text be inserted into is " I like sky ", and it is front that described text is inserted into to " Tian An-men ", candidate character strings is " I like sky ", the additional character string is " Tian An-men ", corresponding relevant character string is " I love Tian An-men ", by this relevant character string is carried out to natural language processing, 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 like ", and do not comprise " Tian An-men ", be that selected text is " I like ", correspondingly, at step s3 " in, selection equipment is inserted into target location by this preferred text " I like ", obtains " I love Tian An-men ".
To those skilled in the art, obviously the invention is not restricted to the details of above-mentioned example embodiment, and in the situation that do not deviate from spirit of the present invention or essential characteristic, can realize the present invention with other concrete form.Therefore, no matter from which point, all should regard embodiment as exemplary, and be nonrestrictive, scope of the present invention is limited by claims rather than above-mentioned explanation, therefore is intended to be included in the present invention dropping on the implication that is equal to important document of claim and all changes in scope.Any Reference numeral in claim should be considered as limit related claim.In addition, obviously other unit or step do not got rid of in " comprising " word, and odd number is not got rid of plural number.A plurality of unit of stating in the device claim or device also can be realized by software or hardware by a unit or device.The first, the second word such as grade is used for meaning title, and does not mean any specific order.

Claims (20)

1. one kind for determining the method for selected text on touch terminal, and wherein, the method comprises the following steps:
A obtains the text selecting operation of carrying out on touch terminal, and wherein, described text selecting operational correspondence is text filed at least one candidate, and described candidate is text filed comprises two candidate character strings between candidate endpoint;
B, by the corresponding relevant character string of described candidate endpoint is carried out to natural language processing, determines the target string corresponding with described candidate character strings, usings as the corresponding selected text of described text selecting operation.
2. method according to claim 1, wherein, described step b comprises:
B1, by the corresponding relevant character string of described candidate endpoint is carried out to natural language processing, judges in described relevant character string, whether part should be contained in described candidate character strings;
-according to judged result, part in described relevant character string is contained in to described candidate character strings or deletes from described candidate character strings, using and obtain described target string and as described selected text.
3. method according to claim 2, wherein, described step b1 comprises:
-by the corresponding relevant character string of described candidate endpoint is carried out to natural language processing, 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.
4. method according to claim 1, wherein, described step b comprises:
-by the corresponding relevant character string of described candidate endpoint is carried out to natural language processing, determine the target endpoint corresponding with described candidate endpoint;
-according to described target endpoint, determine and the text filed corresponding target text zone of described candidate, using the corresponding character string in described target text zone as described target string.
5. method according to claim 1, wherein, the method also comprises:
-described selected text is carried out to described text selecting operate corresponding text-processing operation.
6. method according to claim 5, wherein, described step b comprises:
-operate corresponding additional character string in conjunction with described text-processing, the corresponding relevant character string of described candidate endpoint is carried out to natural language processing, using and determine described target string and as described selected text.
7. method according to claim 6, wherein, described text-processing operation comprises carries out deletion action to described selected text;
Wherein, described step b comprises:
-in conjunction with the corresponding additional character string of described deletion action, the corresponding relevant character string of described candidate endpoint is carried out to natural language processing, using and determine described target string and as described selected text, wherein, the corresponding additional character string of described deletion action comprises the text filed external character string with described candidate.
8. method according to claim 6, wherein, described text-processing operation comprises inserts the update of target location by described selected text;
Wherein, described step b comprises:
-in conjunction with the corresponding additional character string of described update, the corresponding relevant character string of described candidate endpoint is carried out to natural language processing, using and determine described target string and as described selected text, wherein, the corresponding additional character string of described update comprises the character string corresponding with described target location.
9. method according to claim 1, wherein, described step a comprises:
-obtain the text selecting performed to input of character string in input frame on touch terminal operation, wherein, described text selecting operational correspondence is text filed at least one candidate, and described candidate is text filed comprises two candidate character strings between candidate endpoint.
10. method according to claim 9, wherein, described step a comprises:
-obtain the slide to slider bar corresponding with described input frame on described touch terminal, using as described text selecting operation, wherein, described text selecting operational correspondence is text filed at least one candidate, described candidate is text filed comprises two candidate character strings between candidate endpoint, and described candidate endpoint is corresponding with status indication information corresponding on described slider bar.
11. the selection equipment for definite selected text on touch terminal, wherein, described selection equipment comprises:
Deriving means, for obtaining the text selecting operation of carrying out on touch terminal, wherein, described text selecting operational correspondence is text filed at least one candidate, and described candidate is text filed comprises two candidate character strings between candidate endpoint;
Treating apparatus, for by the corresponding relevant character string of described candidate endpoint is carried out to natural language processing, determine the target string corresponding with described candidate character strings, usings as the corresponding selected text of described text selecting operation.
12. selection equipment according to claim 11, wherein, described treating apparatus comprises:
Judging unit, for by the corresponding relevant character string of described candidate endpoint is carried out to natural language processing, judge in described relevant character string, whether part should be contained in described candidate character strings;
The text acquiring unit, for according to judged result, be contained in part in described relevant character string described candidate character strings or delete from described candidate character strings, usings to obtain described target string and as described selected text.
13. selection equipment according to claim 12, wherein, described judging unit is used for:
-by the corresponding relevant character string of described candidate endpoint is carried out to natural language processing, 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.
14. selection equipment according to claim 11, wherein, described treating apparatus is used for:
-by the corresponding relevant character string of described candidate endpoint is carried out to natural language processing, determine the target endpoint corresponding with described candidate endpoint;
-according to described target endpoint, determine and the text filed corresponding target text zone of described candidate, using the corresponding character string in described target text zone as described target string.
15. selection equipment according to claim 11, wherein, this equipment also comprises:
Operating means, operate corresponding text-processing operation for described selected text being carried out to described text selecting.
16. selection equipment according to claim 15, wherein, described treating apparatus is used for:
-operate corresponding additional character string in conjunction with described text-processing, the corresponding relevant character string of described candidate endpoint is carried out to natural language processing, using and determine described target string and as described selected text.
17. selection equipment according to claim 16, 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 corresponding additional character string of described deletion action, the corresponding relevant character string of described candidate endpoint is carried out to natural language processing, using and determine described target string and as described selected text, wherein, the corresponding additional character string of described deletion action comprises the text filed external character string with described candidate.
18. selection equipment according to claim 16, wherein, described text-processing operation comprises inserts the update of target location by described selected text;
Wherein, described treating apparatus is used for:
-in conjunction with the corresponding additional character string of described update, the corresponding relevant character string of described candidate endpoint is carried out to natural language processing, using and determine described target string and as described selected text, wherein, the corresponding additional character string of described update comprises the character string corresponding with described target location.
19. selection equipment according to claim 11, wherein, described deriving means is used for:
-obtain the text selecting performed to input of character string in input frame on touch terminal operation, wherein, described text selecting operational correspondence is text filed at least one candidate, and described candidate is text filed comprises two candidate character strings between candidate endpoint.
20. selection equipment according to claim 19, wherein, described deriving means is used for:
-obtain the slide to slider bar corresponding with described input frame on described touch terminal, using as described text selecting operation, wherein, described text selecting operational correspondence is text filed at least one candidate, described candidate is text filed comprises two candidate character strings between candidate endpoint, and 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 true CN102937864A (en) 2013-02-20
CN102937864B 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)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103324667A (en) * 2013-05-20 2013-09-25 吴涛军 Method for generating adaptively selected text on web page
CN103472998A (en) * 2013-09-27 2013-12-25 小米科技有限责任公司 Method, device and terminal equipment for character selection
US9377949B2 (en) 2013-09-27 2016-06-28 Xiaomi Inc. Method and terminal device for selecting character
CN106126052A (en) * 2016-06-23 2016-11-16 北京小米移动软件有限公司 Text selection method and device
WO2016184106A1 (en) * 2015-10-27 2016-11-24 中兴通讯股份有限公司 Text selection method, smart terminal and storage medium
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
CN108334395A (en) * 2018-03-21 2018-07-27 平安普惠企业管理有限公司 Information processing method, device, computer equipment and storage medium
CN110018762A (en) * 2019-03-15 2019-07-16 维沃移动通信有限公司 A kind of text clone method and mobile terminal
CN111026319A (en) * 2019-12-26 2020-04-17 腾讯科技(深圳)有限公司 Intelligent text processing method and device, electronic equipment and storage medium
WO2021104160A1 (en) * 2019-11-27 2021-06-03 维沃移动通信有限公司 Editing method and electronic device
WO2022135302A1 (en) * 2020-12-26 2022-06-30 华为技术有限公司 Method for selecting text, electronic device, 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

Cited By (16)

* 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
CN103324667A (en) * 2013-05-20 2013-09-25 吴涛军 Method for generating adaptively selected text on web page
US9792019B2 (en) 2013-09-27 2017-10-17 Xiaomi Inc. Method and terminal device for selecting character
CN103472998A (en) * 2013-09-27 2013-12-25 小米科技有限责任公司 Method, device and terminal equipment for character selection
US9377949B2 (en) 2013-09-27 2016-06-28 Xiaomi Inc. Method and terminal device for selecting character
WO2016184106A1 (en) * 2015-10-27 2016-11-24 中兴通讯股份有限公司 Text selection method, smart terminal and storage medium
CN106126052A (en) * 2016-06-23 2016-11-16 北京小米移动软件有限公司 Text selection method and device
US10296201B2 (en) 2016-06-23 2019-05-21 Beijing Xiaomi Mobile Software Co., Ltd. Method and apparatus for text selection
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
CN108334395A (en) * 2018-03-21 2018-07-27 平安普惠企业管理有限公司 Information processing method, device, computer equipment and storage medium
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
WO2021104160A1 (en) * 2019-11-27 2021-06-03 维沃移动通信有限公司 Editing method and electronic device
CN111026319A (en) * 2019-12-26 2020-04-17 腾讯科技(深圳)有限公司 Intelligent text processing method and device, electronic equipment and storage medium
WO2022135302A1 (en) * 2020-12-26 2022-06-30 华为技术有限公司 Method for selecting text, electronic device, and computer-readable storage medium

Also Published As

Publication number Publication date
CN102937864B (en) 2015-11-25

Similar Documents

Publication Publication Date Title
CN102937864B (en) A kind of method and apparatus for determining selected text on touch terminal
CN103076892B (en) A kind of method and apparatus of the input candidate item for providing corresponding to input character string
US20210011595A1 (en) Terminal and method for determining type of input method editor
US20140365929A1 (en) Handhold electronic device and method for list item editing based on a touch screen
CN102141868B (en) Method for quickly operating information interaction page, input method system and browser plug-in
EP3029567B1 (en) Method and device for updating input method system, computer storage medium, and device
KR20180119647A (en) Method for inserting characters into a string and corresponding digital device
CN103116461B (en) A kind of character processing method based on touch-screen and terminal
CN104199607A (en) Candidate selection method and device based on input method
CN103543947A (en) Method and system for amending input contents on electronic device with touch screen
CN105117159B (en) A kind of character processing method and terminal
US20170249505A1 (en) Method and system for character insertion in a character string
WO2013086675A1 (en) Techniques for input of a multi-character compound consonant or vowel and transliteration to another language using a touch computing device
CN105867820A (en) Text editing method and device for touch screen
CN103324674A (en) Method and device for selecting webpage content
KR20150023151A (en) Electronic device and method for executing application thereof
CN104090669A (en) Input method editing method and device
CN106598409A (en) Text replication method and device, and intelligent terminal
CN105404462A (en) Touch screen based text input method
CN103530041A (en) Dragging processing method and device and terminal equipment
CN102426483B (en) Multi-channel accurate target positioning method for touch equipment
CN104076945A (en) Device and method for displaying input keyboard in terminal
CN105589570A (en) Input error processing method and apparatus
CN103645829A (en) Character deletion method and portable terminal utilizing same
CN104657078B (en) A kind of terminal

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