CN105824552B - A kind of recognition methods of text information and device - Google Patents

A kind of recognition methods of text information and device Download PDF

Info

Publication number
CN105824552B
CN105824552B CN201510460528.1A CN201510460528A CN105824552B CN 105824552 B CN105824552 B CN 105824552B CN 201510460528 A CN201510460528 A CN 201510460528A CN 105824552 B CN105824552 B CN 105824552B
Authority
CN
China
Prior art keywords
text information
candidate
target
phrases
target text
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
CN201510460528.1A
Other languages
Chinese (zh)
Other versions
CN105824552A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201510460528.1A priority Critical patent/CN105824552B/en
Publication of CN105824552A publication Critical patent/CN105824552A/en
Application granted granted Critical
Publication of CN105824552B publication Critical patent/CN105824552B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention provides a kind of recognition methods of text information and devices, this method comprises: searching candidate text information in the text information of current interface when detecting specified touch control operation;One or more phrases comprising the candidate text information are searched in preset dictionary;One or more of phrases are matched with the text information of current interface, obtain the target text information of successful match;Show the target text information.The embodiment of the present invention avoids user and repeatedly pulls selection handle, substantially increases the simplicity of operation, reduces time-consuming, also, avoids towing selection handle, reduces the probability of maloperation, improves the identification accuracy of text.

Description

A kind of recognition methods of text information and device
Technical field
The present invention relates to computer processing technical fields, recognition methods and a kind of text more particularly to a kind of text information The identification device of this information.
Background technique
With the development of network and mobile technology, mobile terminal has become the crucial entrance of internet, people's daily life In important tool.
The basic service that mobile terminal provides is text-processing function, the function meet people for text reading, The demands such as editor, access.
Currently, text-processing function increasingly develops to intelligent, hommization direction, and the basis of this development is text This selection is more flexible, intelligent.
In the text interface of mobile intelligent terminal, as shown in Figure 1, user can select whole section of text by long-pressing touch screen Word.If the user feels that whole section of text is too many or very little, what adjustable two selection handle localization of text that can be pulled started The position of position and end to select interested text, and then carries out other processing to text.
But this mode initial selected is passage.This text selection method would generally select many users The text not needed.
For example, seeing some keyword as user, its meaning is not understood, it is desirable to when replicating keyword and scanning for, if Big section text will be selected in this way, and keyword is caused to flood wherein.
Although adjustable selection handle selects keyword, user needs true by repeatedly towing selection handle Determine the position of position and end that keyword starts, it is cumbersome, it is time-consuming high, also, since the spacing of text information is smaller, Touch screen interface is not easy the amplitude of control towing selection handle, is easy to pull excessive position or very few position, causes accidentally to grasp Make.
Summary of the invention
In view of the above problems, recognition methods and a kind of text of the embodiment of the present invention in order to provide a kind of text information are proposed The identification device of this information improves the simplicity of operation, reduces maloperation for avoiding user from repeatedly pulling selection handle.
To solve the above-mentioned problems, the embodiment of the invention discloses a kind of recognition methods of text information, comprising:
When detecting specified touch control operation, candidate text information is searched in the text information of current interface;
One or more phrases comprising the candidate text information are searched in preset dictionary;
One or more of phrases are matched with the text information of current interface, obtain the target text of successful match This information;
Show the target text information.
The embodiment of the invention also discloses a kind of identification devices of text information, comprising:
Candidate text information searching module, for identifying the text in current interface when detecting specified touch control operation Candidate text information is searched in this information;
Phrase searching module, for searching one or more words comprising the candidate text information in preset dictionary Group;
Target text information matches module, for carrying out the text information of one or more of phrases and current interface Matching, obtains the target text information of successful match;
Target text information display module, for showing the target text information.
The embodiment of the present invention includes following advantages:
The embodiment of the present invention searches candidate text by specified touch control operation in the text information in current text interface This information searches the phrase for including at least candidate text information in dictionary, then phrase is matched with text information, obtains Target text information avoids user and repeatedly pulls selection handle, substantially increase the simplicity of operation, reduces time-consuming, also, Towing selection handle is avoided, reduces the probability of maloperation, improves the identification accuracy of text.
The embodiment of the present invention sets candidate text information for target text information by reselection operation, re-starts Match, increase the diversity of target text information, further increases the accuracy rate of text identification.
The embodiment of the present invention provides target text information and applies entrance object, quickly to carry out increasing using processing The convenience for calling other application improves the efficiency using processing.
Detailed description of the invention
Fig. 1 is a kind of selection exemplary diagram of first text information;
Fig. 2 is a kind of step flow chart of the recognition methods embodiment 1 of text information of the invention;
Fig. 3 is a kind of step flow chart of the recognition methods embodiment 2 of text information of the invention;
Fig. 4 is a kind of structural block diagram of the identification device embodiment 1 of text information of the invention;
Fig. 5 is a kind of structural block diagram of the identification device embodiment 2 of text information of the invention.
Specific embodiment
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, with reference to the accompanying drawing and specific real Applying mode, the present invention is described in further detail.
Referring to Fig. 2, a kind of step flow chart of the recognition methods embodiment 1 of text information of the invention is shown, specifically It may include steps of:
Step S201 searches candidate text when detecting specified touch control operation in the text information of current interface Information;
If user is interested in some word, word, the sentence in the text information of current interface display, touching can be passed through Bristle with anger fixed touch control operation, such as long-pressing, double-click, searches the word, word, sentence automatically.
It should be noted that text information can be independent text information, the text depended in the picture can also be This information, the embodiments of the present invention are not limited thereto.
Firstly, the text information in identification current interface;
In embodiments of the present invention, identification text information may include two layers of meaning, first is that the text of identification text information Itself, second is that the first coordinate position of identification text information.
When the text information that current interface is shown, by taking Android as an example, application call belonging to current interface SurfaceFlinger service is rendered into the Surface after measurement is laid out and is drawn on display screen.
Wherein, SurfaceFlinger service is android system service, is responsible for the frame buffering of management android system Area shows screen;
Surface is the corresponding painting canvas of each window of the application program of Android, it can be understood as application program A window.
According to the displaying principle of text information, identify that text information and its first coordinate position can be in two kinds of situation:
1, it is informed by application program itself;
In this mode, the application program belonging to the current interface receives text information, it is known that entire text interface is shown First coordinate position of which text information and each text information.
Application program will record the typesetting situation (i.e. first that current screen shows which text information and text information Coordinate position).
But text information generally only has current application program itself to know with its first coordinate position, other application If desired program obtains these information, interface can be provided by current application program to the external world, provides text information and its One coordinate position guarantees the recognition accuracy of text information and its first coordinate position.
2, it is identified by the mode outside application program.
In this mode, screenshot is carried out to current interface, interface image is obtained, passes through optical character identification (Optical Character Recognition, OCR) text information is identified from interface image.
The method of OCR has generality, no matter being currently what application program, is text-independent information or is attached to figure Text information as in can therefrom extract text information and its first seat the interface that it shows as a frame image Cursor position guarantees the identification coverage rate of text information and its first coordinate position.
Certainly, the identification method of above-mentioned text information is intended only as example, in implementing the embodiments of the present invention, can basis The identification method of other text informations is arranged in actual conditions, and the embodiments of the present invention are not limited thereto.In addition, in addition to above-mentioned text Outside the identification method of this information, those skilled in the art can also use the identification side of other text informations according to actual needs Formula, the embodiment of the present invention are also without restriction to this.
Secondly, candidate text information is searched in the text information according to the touch control operation;
Touch control operation is triggered by user, and the general intention with user can be known by analyzing touch control operation The intention of user.
In one example, it is believed that the text information nearest from the touch control operation of user is as candidate text information (T_touch)。
Therefore, the first coordinate position of each text information can be searched, and, the corresponding touch-control of detection touch control operation Point, to calculate the second coordinate position of touch point.
By taking capacitance touch screen as an example, when user touches capacitance touch screen, due to human body electric field, user hand finger and work Face forms a coupled capacitor, because being connected to high-frequency signal on working face, then finger absorbs the electric current of a very little.This A electric current point is flowed out from the electrode on four angles of touch screen, and the electric current and finger that theoretically flow through this four electrodes are to four The distance at angle is proportional, by the calculating to this four current ratios, obtains the second coordinate position of touch point.
It should be noted that due to each touch point almost as pixel it is intensive, touch control operation triggering touch point one As be it is multiple, then can calculate the central point in the region being made of the touch point, with the central point calculate the second coordinate position.
Further, calculating the distance between the second coordinate position and each first coordinate position will most such as Euclidean distance Text information belonging to the distance of small value is set as candidate text information (T_touch).
Certainly, the lookup mode of above-mentioned candidate text information is intended only as example, in implementing the embodiments of the present invention, can be with The lookup mode of other candidate text informations is set according to the actual situation, for example, a range is determined based on touch point, such as with touch-control Point is the center of circle, some value is radius, determines a circular scope, a text information within the scope of this as candidate text information, etc. Deng the embodiments of the present invention are not limited thereto.In addition, other than the lookup mode of above-mentioned candidate text information, this field skill Art personnel can also be according to actual needs using the lookup mode of other candidate text informations, this is also not added in the embodiment of the present invention With limitation.
Step S202 searches one or more phrases comprising the candidate text information in preset dictionary;
Using the embodiment of the present invention, various common vocabulary, phrase, popular word, cyberspeak etc. can be acquired in advance Phrase is stored in dictionary.
Candidate text information (T_touch) is included at least in general, can search in dictionary using following two mode Phrase can also include other texts after comprising candidate text information (T_touch) that is, in the phrase:
1, local to search;
Specifically, searching in local preset dictionary using candidate text information (T_touch) as start or end Or one or more phrases of intermediate (i.e. n-th character, N are positive integer, not first or last);
In the manner, the dictionary made can be pushed to mobile device local by cloud, to accelerate the lookup of phrase Speed.
2, cloud is searched;
Specifically, candidate text information (T_touch) is sent to specified server, and, it receives server and returns Return, it is being found from preset dictionary, using candidate text information (T_touch) as start or end or centre one Or multiple phrases.
In the manner, using the powerful storage of cloud server and computing capability, by rarely used word, network popular word etc. It searches out and, improve the coverage rate of text information, increase the quantity of phrase, text information needed for increasing user identifies successfully Rate preferably meets user's intelligent text selection demand.
It should be noted that local lookup and cloud are searched both modes and can be used alone, can also apply simultaneously, The embodiments of the present invention are not limited thereto.
For example, first in local lookup, if not finding the phrase using candidate text information (T_touch) as beginning, It can then search beyond the clouds;
In another example searching beyond the clouds first, if server return is not received within a preset period of time, from preset word It is being found in library, using candidate text information (T_touch) as beginning multiple phrases, then can be in local lookup.
In addition, being that beginning is searched with candidate text information (T_touch), it can be convenient search, reduce the matching used time. In the case where the arithmetic speed of mobile device is enough fast, candidate text information (T_touch) can be placed on second, third and wait positions Also possible, the embodiments of the present invention are not limited thereto.
Step S203 matches one or more of phrases with the text information of current interface, obtain matching at The target text information of function;
In the concrete realization, all matching results searched out in dictionary, candidate text information (T_touch) place Text information when further being matched, can be preferential to show the shortest text envelope of character length using shortest character as principle Breath.
One or more phrases are matched with text information, by successful match, the shortest text of string length This information is set as target text information (T_mach).
Step S204 shows the target text information.
For dictionary successful match, the target text information (T_mach) of text information successful match, user is showed, with User is allowed to carry out other processing.
The embodiment of the present invention searches candidate text by specified touch control operation in the text information in current text interface This information searches the phrase for including at least candidate text information in dictionary, then phrase is matched with text information, obtains Target text information avoids user and repeatedly pulls selection handle, substantially increase the simplicity of operation, reduces time-consuming, also, Towing selection handle is avoided, reduces the probability of maloperation, improves the identification accuracy of text.
Referring to Fig. 3, a kind of step flow chart of the recognition methods embodiment 2 of text information of the invention is shown, specifically It may include steps of:
Step S301 searches candidate text when detecting specified touch control operation in the text information of current interface Information;
Step S302 searches one or more phrases comprising the candidate text information in preset dictionary;
Step S303 matches one or more of phrases with the text information of current interface, obtain matching at The target text information of function;
Step S304 shows the target text information;
Step S305, when detecting the reselection operation for the target text information, by the target text information It is set as candidate text information, returns to step S302;
It in embodiments of the present invention, is not text needed for user in target text information, user is to target text information It may be unsatisfied with, then can trigger reselection operation, such as be double-clicked on the right side of target text information, with last round of matched mesh Text information (T_mach) is marked as the matched candidate text information (T_touch) of next round, selects string length longer Target text information (T_mach), until user is satisfied.
Step S306 generates one or more application entrance object for the target text information;
Step S307 is carried out according to the target text information using processing when the application entrance object is triggered.
In embodiments of the present invention, target text information can be generated and apply entrance object, i.e. the corresponding application of triggering The control of processing, such as prompt some apply text data, image data, JSON (JavaScript Object Notation, Data interchange format) data etc..
When this is triggered using entrance object by operations such as clicks, application processing accordingly can be carried out.
For example, some is used to trigger the application processing of duplication target text information using entrance object, if this applies entrance Object is triggered, then can replicate the target text information, and user can be elsewhere (such as instant messaging tools Chat window) it is pasted, fast implement text input.
In another example some is used to trigger the application processing of search target text information using entrance object, if the application enters Mouth object is triggered, then can be generated searching request using the target text information as keyword, which is sent to Search engine, and browser is called to carry out connecing the displaying for searching result, realize fast text search.
The embodiment of the present invention sets candidate text information for target text information by reselection operation, re-starts Match, increase the diversity of target text information, further increases the accuracy rate of text identification.
The embodiment of the present invention provides target text information and applies entrance object, quickly to carry out increasing using processing The convenience for calling other application improves the efficiency using processing.
Embodiment in order to enable those skilled in the art to better understand the present invention illustrates the present invention below by way of specific The recognition methods of text information in embodiment.
For user in reading electronic book, current text interface display text information is " with mobile Internet thinking remodeling tradition The product of enterprise needs to overturn the intrinsic thinking of the past, holds the pulse in epoch, catch consumer demand, makes ultimate attainment Product."
If user is ignorant of the meaning of wherein " mobile Internet thinking ", want to inquire related data.
User's long-pressing (specified touch control operation) before " mobile Internet thinking ", then can be identified by OCR ought be above Text information in this interface.
If detect distance by touch point it is nearest be " shiftings " word, using " shifting " word as candidate's text information (T_ touch)。
In dictionary, it is beginning with " shifting ", finds " movement ", " transplanting ", " removal ", " immigrant ", " mobile Internet " Equal phrases.
By the phrases such as " movement ", " transplanting ", " removal ", " immigrant ", " mobile Internet " in the progress of above-mentioned text information Match, successful match " movement " and " mobile Internet ", since the string length of " movement " is most short, by " movement " conduct Target text information (T_mach) is shown.
The full text as needed for " movement " not user, user can double-click on the right side of " movement " (reselection operation) carries out next round matching using " movement " as candidate text information (T_touch), obtains string length more Long target text information (T_mach) " mobile Internet ".
Similarly, the full text as needed for " mobile Internet " not user, user can be " mobile mutual (reselection operation) is double-clicked on the right side of networking ", using " mobile Internet " as candidate text information (T_touch), is carried out down One wheel matching, obtains the longer target text information (T_mach) " mobile Internet thinking " of string length.
" mobile Internet thinking " is text needed for user, and user can trigger some and apply entrance pair for its configuration As generating searching request, which being sent to search engine, and adjust using " mobile Internet thinking " as keyword It is carried out connecing the displaying for searching result (application processing) with browser.
It should be noted that for simple description, therefore, it is stated as a series of action groups for embodiment of the method It closes, but those skilled in the art should understand that, embodiment of that present invention are not limited by the describe sequence of actions, because according to According to the embodiment of the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art also should Know, the embodiments described in the specification are all preferred embodiments, and the related movement not necessarily present invention is implemented Necessary to example.
Referring to Fig. 4, a kind of structural block diagram of the identification device embodiment 1 of text information of the invention is shown, specifically may be used To include following module:
Candidate text information searching module 401, for when detecting specified touch control operation, in the text of current interface Candidate text information is searched in information;
Phrase searching module 402, for searching one or more comprising the candidate text information in preset dictionary A phrase;
Target text information matches module 403, for by the text information of one or more of phrases and current interface It is matched, obtains the target text information of successful match;
Target text information display module 404, for showing the target text information.
In one preferred embodiment of the invention, the candidate text information searching module 401 may include following son Module:
Text information identifies submodule, for identification the text information in current interface;
Touch-control searches submodule, for searching candidate text information in the text information according to the touch control operation.
In one preferred embodiment of the invention, the text information identification submodule may include such as lower unit:
Text information receiving unit receives text information for the application program belonging to the current interface;
And/or
Screenshot unit obtains interface image for carrying out screenshot to current interface;
Image identification unit, for identifying text information from the interface image by optical character identification.
In one preferred embodiment of the invention, each text information can have the first coordinate position;
It may include such as lower unit that the touch-control, which searches submodule:
Touch point detection unit, for detecting the corresponding touch point of the touch control operation;The touch point has second to sit Cursor position;
Metrics calculation unit, for calculating the distance between second coordinate position and each first coordinate position;
Candidate text information setting unit is set as candidate text envelope for text information belonging to the distance by minimum value Breath.
In one preferred embodiment of the invention, the phrase searching module 402 may include following submodule:
It is local to search submodule, in local preset dictionary, searching using the candidate text information as beginning Ending or centre one or more phrases;
And/or
Candidate text information sending submodule, for the candidate text information to be sent to specified server;
Phrase receiving submodule is returned for receiving the server, finding from preset dictionary, with described Candidate text information is as start or end or one or more phrases of centre.
In one preferred embodiment of the invention, the target text information matches module 404 may include following son Module:
Text information matched sub-block, for matching one or more of phrases with the text information;
Submodule is arranged in target text information, for by successful match, the shortest text information of string length is arranged For target text information.
The embodiment of the present invention searches candidate text by specified touch control operation in the text information in current text interface This information searches the phrase for including at least candidate text information in dictionary, then phrase is matched with text information, obtains Target text information avoids user and repeatedly pulls selection handle, substantially increase the simplicity of operation, reduces time-consuming, also, Towing selection handle is avoided, reduces the probability of maloperation, improves the identification accuracy of text.
Referring to Fig. 5, a kind of structural block diagram of the identification device embodiment 2 of text information of the invention is shown, specifically may be used To include following module:
Candidate text information searching module 501, for when detecting specified touch control operation, in current text information Search candidate text information;
Phrase searching module 502, for searching one or more comprising the candidate text information in preset dictionary A phrase;
Target text information matches module 503, for by the text information of one or more of phrases and current interface It is matched, obtains the target text information of successful match;
Target text information display module 504, for showing the target text information;
Reselection operation module 505, for when detecting the reselection operation for the target text information, by the mesh Mark text information is set as candidate text information, returns and calls phrase searching module 502;
Using entrance object generation module 506, enter for generating one or more application for the target text information Mouth object;
Application processing module 507, for when the application entrance object is triggered, according to the target text information into Row application processing.
The embodiment of the present invention sets candidate text information for target text information by reselection operation, re-starts Match, increase the diversity of target text information, further increases the accuracy rate of text identification.
The embodiment of the present invention provides target text information and applies entrance object, quickly to carry out increasing using processing Add the convenience for calling other application, improves the efficiency using processing.
For device embodiment, since it is basically similar to the method embodiment, related so being described relatively simple Place illustrates referring to the part of embodiment of the method.
It should be noted that the embodiment of the present invention can be applied to have in the mobile device of touch screen, wherein the touch Screen may include vector pressure sensing touch screen, electric resistance touch screen, capacitance touch screen, infrared touch panel, surface acoustic wave touch Screen etc., which may include mobile phone, PDA (Personal Digital Assistant, personal digital assistant), knee Laptop computer, tablet computer etc., the embodiments of the present invention are not limited thereto.
These mobile devices can support the operating systems such as WindowsPhone, Windows, Android (Android), IOS, The application program by showing interface text information can usually be run, for example, browser, text file reader, mailbox client, Immediate communication tool etc..
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
It should be understood by those skilled in the art that, the embodiment of the embodiment of the present invention can provide as method, apparatus or calculate Machine program product.Therefore, the embodiment of the present invention can be used complete hardware embodiment, complete software embodiment or combine software and The form of the embodiment of hardware aspect.Moreover, the embodiment of the present invention can be used one or more wherein include computer can With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code The form of the computer program product of implementation.
The embodiment of the present invention be referring to according to the method for the embodiment of the present invention, terminal device (system) and computer program The flowchart and/or the block diagram of product describes.It should be understood that flowchart and/or the block diagram can be realized by computer program instructions In each flow and/or block and flowchart and/or the block diagram in process and/or box combination.It can provide these Computer program instructions are set to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminals Standby processor is to generate a machine, so that being held by the processor of computer or other programmable data processing terminal devices Capable instruction generates for realizing in one or more flows of the flowchart and/or one or more blocks of the block diagram The device of specified function.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing terminal devices In computer-readable memory operate in a specific manner, so that instruction stored in the computer readable memory generates packet The manufacture of command device is included, which realizes in one side of one or more flows of the flowchart and/or block diagram The function of being specified in frame or multiple boxes.
These computer program instructions can also be loaded into computer or other programmable data processing terminal devices, so that Series of operation steps are executed on computer or other programmable terminal equipments to generate computer implemented processing, thus The instruction executed on computer or other programmable terminal equipments is provided for realizing in one or more flows of the flowchart And/or in one or more blocks of the block diagram specify function the step of.
Although the preferred embodiment of the embodiment of the present invention has been described, once a person skilled in the art knows bases This creative concept, then additional changes and modifications can be made to these embodiments.So the following claims are intended to be interpreted as Including preferred embodiment and fall into all change and modification of range of embodiment of the invention.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements not only wrap Those elements are included, but also including other elements that are not explicitly listed, or further includes for this process, method, article Or the element that terminal device is intrinsic.In the absence of more restrictions, being wanted by what sentence "including a ..." limited Element, it is not excluded that there is also other identical elements in process, method, article or the terminal device for including the element.
Recognition methods to a kind of text information provided by the present invention and a kind of identification device of text information above, into It has gone and has been discussed in detail, used herein a specific example illustrates the principle and implementation of the invention, the above implementation The explanation of example is merely used to help understand method and its core concept of the invention;Meanwhile for the general technology people of this field Member, according to the thought of the present invention, there will be changes in the specific implementation manner and application range, in conclusion this explanation Book content should not be construed as limiting the invention.

Claims (9)

1. a kind of recognition methods of text information characterized by comprising
When detecting specified touch control operation, candidate text information is searched in the text information of current interface;
One or more phrases comprising the candidate text information are searched in preset dictionary;
One or more of phrases are matched with the text information of current interface, obtain the target text letter of successful match Breath;
Show the target text information;
When detecting the reselection operation for the target text information, candidate text is set by the target text information Information returns and executes the step for searching one or more phrases comprising the candidate text information in preset dictionary Suddenly.
2. the method according to claim 1, wherein further include:
One or more application entrance object is generated for the target text information;
When the application entrance object is triggered, carried out according to the target text information using processing.
3. method according to claim 1 or 2, which is characterized in that described search in the text information of current interface is waited The step of selecting text information include:
Identify the text information in current interface;
Candidate text information is searched in the text information according to the touch control operation.
4. according to the method described in claim 3, it is characterized in that, the step of the text information in the identification current text interface Suddenly include:
The application program belonging to the current interface receives text information;
And/or
Screenshot is carried out to current interface, obtains interface image;
Text information is identified from the interface image by optical character identification.
5. according to the method described in claim 3, it is characterized in that, each text information has the first coordinate position;
Described the step of searching candidate text information in the text information according to the touch control operation includes:
Detect the corresponding touch point of the touch control operation;The touch point has the second coordinate position;
Calculate the distance between second coordinate position and each first coordinate position;
Text information belonging to distance by minimum value is set as candidate text information.
6. method described according to claim 1 or 2 or 4 or 5, which is characterized in that it is described in preset dictionary search include It is described candidate text information one or more phrases the step of include:
In local preset dictionary, search using the candidate text information as start or end or the one or more of centre Phrase;
And/or
The candidate text information is sent to specified server;
Receive what the server returned, it is being found from preset dictionary, using the candidate text information as starting or One or more phrases of ending or centre.
7. method described according to claim 1 or 2 or 4 or 5, which is characterized in that it is described by one or more of phrases with The step of text information is matched, and the target text information of successful match is obtained include:
One or more of phrases are matched with the text information;
By successful match, the shortest text information of string length be set as target text information.
8. a kind of identification device of text information characterized by comprising
Candidate text information searching module, for identifying the text envelope in current interface when detecting specified touch control operation Candidate text information is searched in breath;
Phrase searching module, for searching one or more phrases comprising the candidate text information in preset dictionary;
A target text information matches module, for carrying out the text informations of one or more of phrases and current interface Match, obtains the target text information of successful match;
Target text information display module, for showing the target text information
Reselection operation module, for when detecting the reselection operation for the target text information, by the target text Information is set as candidate text information, returns and calls phrase searching module.
9. device according to claim 8, which is characterized in that further include:
Using entrance object generation module, for generating one or more application entrance object for the target text information;
Application processing module, for being applied according to the target text information when the application entrance object is triggered Processing.
CN201510460528.1A 2015-07-29 2015-07-29 A kind of recognition methods of text information and device Active CN105824552B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510460528.1A CN105824552B (en) 2015-07-29 2015-07-29 A kind of recognition methods of text information and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510460528.1A CN105824552B (en) 2015-07-29 2015-07-29 A kind of recognition methods of text information and device

Publications (2)

Publication Number Publication Date
CN105824552A CN105824552A (en) 2016-08-03
CN105824552B true CN105824552B (en) 2019-05-17

Family

ID=56514497

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510460528.1A Active CN105824552B (en) 2015-07-29 2015-07-29 A kind of recognition methods of text information and device

Country Status (1)

Country Link
CN (1) CN105824552B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111381751A (en) * 2016-10-18 2020-07-07 北京字节跳动网络技术有限公司 Text processing method and device
CN108255804A (en) * 2017-09-25 2018-07-06 上海四宸软件技术有限公司 A kind of communication artificial intelligence system and its language processing method
CN109933275A (en) * 2019-02-12 2019-06-25 努比亚技术有限公司 A kind of knowledge screen method, terminal and computer readable storage medium
CN110008884A (en) * 2019-03-28 2019-07-12 维沃移动通信有限公司 A kind of literal processing method and terminal
CN110362546A (en) * 2019-07-22 2019-10-22 网易(杭州)网络有限公司 Acquisition methods, device and the document conversion system of convert file
CN111414122B (en) * 2019-12-26 2021-06-11 腾讯科技(深圳)有限公司 Intelligent text processing method and device, electronic equipment and storage medium
CN112347228A (en) * 2020-11-10 2021-02-09 网易有道信息技术(北京)有限公司 Method and portable electronic device for text query
CN112346643B (en) * 2020-11-16 2022-02-08 维沃移动通信有限公司 Text processing method and device, electronic equipment and readable storage medium
CN112562684B (en) * 2020-12-08 2023-09-26 维沃移动通信有限公司 Voice recognition method and device and electronic equipment
CN113127718A (en) * 2021-05-17 2021-07-16 北京字节跳动网络技术有限公司 Text search method and device, readable medium and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1471024A (en) * 2002-07-25 2004-01-28 摩托罗拉公司 Chinese segmenting method
CN102609208A (en) * 2012-02-13 2012-07-25 广州市动景计算机科技有限公司 Method and system for word capture on screen of touch screen equipment, and touch screen equipment
CN103744578A (en) * 2013-12-20 2014-04-23 百度在线网络技术(北京)有限公司 Method and device for text selection on basis of focus area
CN104239313A (en) * 2013-06-09 2014-12-24 百度在线网络技术(北京)有限公司 Method for searching for characters displayed in screen and based on mobile terminal and mobile terminal
CN104778194A (en) * 2014-12-26 2015-07-15 北京奇虎科技有限公司 Search method and device based on touch operation

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102521216A (en) * 2011-12-20 2012-06-27 安徽科大讯飞信息科技股份有限公司 Object marking method applied to interactive multimedia equipment
CN103455162B (en) * 2012-06-01 2017-11-14 中兴通讯股份有限公司 input processing method and device
CN104854585B (en) * 2013-06-03 2018-12-25 东莞宇龙通信科技有限公司 Associated cue input system, terminal and associated cue input method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1471024A (en) * 2002-07-25 2004-01-28 摩托罗拉公司 Chinese segmenting method
CN102609208A (en) * 2012-02-13 2012-07-25 广州市动景计算机科技有限公司 Method and system for word capture on screen of touch screen equipment, and touch screen equipment
CN104239313A (en) * 2013-06-09 2014-12-24 百度在线网络技术(北京)有限公司 Method for searching for characters displayed in screen and based on mobile terminal and mobile terminal
CN103744578A (en) * 2013-12-20 2014-04-23 百度在线网络技术(北京)有限公司 Method and device for text selection on basis of focus area
CN104778194A (en) * 2014-12-26 2015-07-15 北京奇虎科技有限公司 Search method and device based on touch operation

Also Published As

Publication number Publication date
CN105824552A (en) 2016-08-03

Similar Documents

Publication Publication Date Title
CN105824552B (en) A kind of recognition methods of text information and device
US11314801B2 (en) Multiple partial-image compositional searching
KR102447607B1 (en) Actionable content displayed on a touch screen
CN110020411B (en) Image-text content generation method and equipment
US20150339391A1 (en) Method for searching and device thereof
KR20220091500A (en) Methods and devices, electronic devices and media for displaying music points
US10620821B2 (en) Page sliding method and apparatus
CN107832330B (en) Searching method and terminal equipment
CN109192212B (en) Voice control method and device
JP2016524229A (en) Search recommendation method and apparatus
US20110047503A1 (en) File content navigation using binary search
JP7146961B2 (en) Audio package recommendation method, device, electronic device and storage medium
KR20190040997A (en) Method and device for creating groups
CN112306235A (en) Gesture operation method, device, equipment and storage medium
US10657326B2 (en) Removable spell checker device
CN111538830A (en) French retrieval method, French retrieval device, computer equipment and storage medium
WO2016034066A1 (en) Chinese character recognition method and device, and terminal
CN105589570A (en) Input error processing method and apparatus
US20210165540A1 (en) Information processing device, information processing method, and program
WO2017045277A1 (en) Search method, device and apparatus, and non-volatile computer storage medium
US8694509B2 (en) Method and apparatus for managing for handwritten memo data
CN114595391A (en) Data processing method and device based on information search and electronic equipment
CN104331222B (en) Use the method and apparatus of input method input character
CN112307073A (en) Information query method, device, equipment and storage medium
CN106326289B (en) Contact person matching method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant