CN105824552A - Text information recognition method and device - Google Patents

Text information recognition method and device Download PDF

Info

Publication number
CN105824552A
CN105824552A CN201510460528.1A CN201510460528A CN105824552A CN 105824552 A CN105824552 A CN 105824552A CN 201510460528 A CN201510460528 A CN 201510460528A CN 105824552 A CN105824552 A CN 105824552A
Authority
CN
China
Prior art keywords
text message
candidate
text information
text
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.)
Granted
Application number
CN201510460528.1A
Other languages
Chinese (zh)
Other versions
CN105824552B (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 text information recognition method and device. The method comprises the following steps: when an assigned touch operation is detected, searching candidate text information in current interface text information; searching one or more phrases containing the candidate text information from a preset word library; matching one or more of the phrases with the current interface text information so as to obtain target text information which is successfully matched; showing the target text information. According to the embodiment of the invention, the condition that a user tows a selection hand lever repeatedly is avoided, and the operating simplicity is greatly improved; the time consumption is reduced, the condition that the selection hand lever is towed is avoided, the error operation probability is reduced, and the recognition accuracy of texts is improved.

Description

The recognition methods of a kind of text message and device
Technical field
The present invention relates to computer processing technology field, particularly relate to the recognition methods of a kind of text message and the identification device of a kind of text message.
Background technology
Along with network and the development of mobile technology, mobile terminal has become the important tool in the crucial entrance of the Internet, people's daily life.
The basic service that mobile terminal provides is text-processing function, this function meet people for text reading, edit, the demand such as consult.
At present, text-processing function increasingly develops to intelligent, the direction of hommization, and the basis of this development is that text selecting is more flexible, intelligent.
In the text interface of mobile intelligent terminal, as it is shown in figure 1, user can select whole section of word by long by touch screen.If the user feels that whole section of word is too much or very little, position that handle localization of text that what adjustable two can be pulled select starts and the position of end, thus select text interested, and then text is carried out other process.
But, this mode initial selected is passage.This text selection method would generally select the word that a lot of user is not required to.
Such as, when user sees certain key word, its meaning is not understood, it is desirable to when duplication key word scans for, if big section word will be selected in this way, cause key word to be submerged in wherein.
Although selection handle can be adjusted to select key word, but, user needs by repeatedly pulling the position and the position of end selecting handle to determine that key word starts, complex operation, the highest, and, owing to the spacing of text message is less, it is not easy control towing to select in touch screen interface the amplitude of handle, easily pulls too much position or very few position, cause maloperation.
Summary of the invention
In view of the above problems, it is proposed that the embodiment of the present invention, to provide the recognition methods of a kind of text message and the identification device of a kind of text message, is used for avoiding user repeatedly to pull selection handle, improves the simplicity of operation, reduce maloperation.
In order to solve the problems referred to above, the embodiment of the invention discloses the recognition methods of a kind of text message, including:
When the touch control operation specified being detected, the text message of current interface is searched candidate's text message;
The one or more phrases comprising described candidate's text message are searched in preset dictionary;
The one or more phrase is mated with the text message of current interface, it is thus achieved that the target text information that the match is successful;
Show described target text information.
The embodiment of the invention also discloses the identification device of a kind of text message, including:
Candidate's text message searches module, for when the touch control operation specified being detected, identifies and searches candidate's text message in the text message of current interface;
Module searched in phrase, for searching the one or more phrases comprising described candidate's text message in preset dictionary;
Target text information matches module, for mating the one or more phrase with the text message of current interface, it is thus achieved that the target text information that the match is successful;
Target text information display module, is used for showing described target text information.
The embodiment of the present invention includes advantages below:
The embodiment of the present invention is by the touch control operation specified, text message in current text interface is searched candidate's text message, dictionary is searched the phrase including at least candidate's text message, then phrase is mated with text message, obtain target text information, avoid user and repeatedly pull selection handle, substantially increase the simplicity of operation, reduce time-consuming, and, avoid towing and select handle, decrease the probability of maloperation, improve the identification accuracy of text.
Target text information is set to candidate's text message by reselection operation by the embodiment of the present invention, re-starts coupling, adds the multiformity of target text information, further increases the accuracy rate of text identification.
The embodiment of the present invention provides application entrance object to target text information, quickly to carry out application process, adds the convenience calling other application, improves the efficiency that application processes.
Accompanying drawing explanation
Fig. 1 is the selection exemplary plot of a kind of text message formerly;
Fig. 2 is the flow chart of steps of the recognition methods embodiment 1 of a kind of text message of the present invention;
Fig. 3 is the flow chart of steps of the recognition methods embodiment 2 of a kind of text message of the present invention;
Fig. 4 is the structured flowchart identifying device embodiment 1 of a kind of text message of the present invention;
Fig. 5 is the structured flowchart identifying device embodiment 2 of a kind of text message of the present invention.
Detailed description of the invention
Understandable for enabling the above-mentioned purpose of the present invention, feature and advantage to become apparent from, the present invention is further detailed explanation with detailed description of the invention below in conjunction with the accompanying drawings.
With reference to Fig. 2, it is shown that the flow chart of steps of the recognition methods embodiment 1 of a kind of text message of the present invention, specifically may include steps of:
Step S201, when the touch control operation specified being detected, searches candidate's text message in the text message of current interface;
If user is interested in certain word in the text message in current interface display, word, sentence, then the touch control operation can specified by triggering, as long pressed, double-click etc., automatically search this word, word, sentence.
It should be noted that text information can be independent text message, it is also possible to being to depend on text message in the picture, this is not any limitation as by the embodiment of the present invention.
First, the text message in current interface is identified;
In embodiments of the present invention, identifying that text message can include that two-layer is looked like, one is the word itself identifying text message, and two is the first coordinate position identifying text message.
During the text message that current interface shows, as a example by Android, the application call SurfaceFlinger service belonging to current interface is rendered into the Surface after measured layout and drafting on display screen.
Wherein, SurfaceFlinger service is android system service, is responsible for the frame buffer zone of android system, i.e. display screen;
Surface is that corresponding painting canvas of each window of the application program of Android is it can be understood as a window of application program.
According to the displaying principle of text message, identify that text message and the first coordinate position thereof can be in two kinds of situation:
1, informed by application program itself;
In this mode, receive text message it is known that whole text interface shows the first coordinate position of which text message and each text message from the application program belonging to current interface.
Application program can record current screen and show which text message, and the typesetting situation (the i.e. first coordinate position) of text message.
But, text message typically only has current application program itself to know with its first coordinate position, other application programs if desired obtain these information, interface can be provided to the external world by current application program, there is provided text message and the first coordinate position thereof, it is ensured that text message and the recognition accuracy of the first coordinate position thereof.
2, identification by the way of application program is outside.
In this mode, current interface is carried out sectional drawing, it is thus achieved that interface image, from interface image, identify text message by optical character recognition (OpticalCharacterRecognition, OCR).
The method of OCR has universality, it it is the most currently any application program, it is text-independent information or depends on text message in the picture, the interface that it can be shown is as a two field picture, therefrom extract text message and the first coordinate position thereof, it is ensured that the identification coverage rate of text message and the first coordinate position thereof.
Certainly, the recognition method of above-mentioned text message is intended only as example, when implementing the embodiment of the present invention, can arrange the recognition method of other text messages according to practical situation, and this is not any limitation as by the embodiment of the present invention.It addition, in addition to the recognition method of above-mentioned text message, those skilled in the art can also use the recognition method of other text message according to actual needs, and this is not any limitation as by the embodiment of the present invention.
Secondly, in described text message, candidate's text message is searched according to described touch control operation;
Touch control operation is triggered by user, typically with the intention of user, by being analyzed touch control operation, can know the intention of user.
In one example, it is believed that the nearest text message of touch control operation from user is as candidate's text message (T_touch).
Therefore, it can search the first coordinate position of each text message, and, the touch point that detection touch control operation is corresponding, to calculate the second coordinate position of touch point.
As a example by capacitance touch screen, when user touches capacitance touch screen, owing to human body electric field, user's finger and work surface form a coupling electric capacity, because being connected to high-frequency signal on work surface, then finger absorbs a electric current the least.This electric current divides outflow in the electrode from four angles of touch screen, and the electric current flowing through these four electrodes in theory is proportional to the distance of finger to corner, by the calculating to these four current ratios, it is thus achieved that the second coordinate position of touch point.
It should be noted that almost intensive as pixel due to each touch point, the touch point that touch control operation triggers is the most multiple, then can calculate the central point in the region being made up of this touch point, calculate the second coordinate position with this central point.
Further, calculate the distance between the second coordinate position and each first coordinate position, such as Euclidean distance, the text message belonging to the distance of minima is set to candidate's text message (T_touch).
Certainly, the lookup mode of above-mentioned candidate's text message is intended only as example, when implementing the embodiment of the present invention, can arrange the lookup mode of other candidate's text messages according to practical situation, such as, determining a scope based on touch point, as with touch point as the center of circle, certain value is radius, determine a circular scope, one should in the range of text message as candidate's text message, etc., this is not any limitation as by the embodiment of the present invention.It addition, in addition to the lookup mode of above-mentioned candidate's text message, those skilled in the art can be to use the lookup mode of other candidate's text message according to actual needs, and this is not any limitation as by the embodiment of the present invention.
Step S202, searches the one or more phrases comprising described candidate's text message in preset dictionary;
The application embodiment of the present invention, can gather various conventional vocabulary, phrase, popular word, cyberspeak etc. phrase in advance, be stored in dictionary.
Generally, the phrase of candidate's text message (T_touch) can be included at least to use following two mode search in dictionary, i.e. in this phrase, after comprising candidate's text message (T_touch), it is also possible to comprise other words:
1, local lookup;
Specifically, in the preset dictionary in this locality, search using candidate's text message (T_touch) as start or end or centre (i.e. n-th character, N is positive integer, not first or last) one or more phrases;
In the manner, it is local that the dictionary made can be pushed to mobile device by high in the clouds, to accelerate the lookup speed of phrase.
2, high in the clouds is searched;
Specifically, candidate's text message (T_touch) is sent to the server specified, and, receive what server returned, that find from preset dictionary, using candidate's text message (T_touch) as start or end or one or more phrases of centre.
In the manner, utilize powerful storage and the computing capability of cloud server, also search for out by rarely used word, network flow lang etc., improve the coverage rate of text message, increase the quantity of phrase, increase the text message recognition success rate needed for user, preferably meet user's intelligent text and select demand.
It should be noted that local lookup can be used alone with high in the clouds lookup both modes, it is also possible to applying, this is not any limitation as by the embodiment of the present invention simultaneously.
Such as, first searching in this locality, if not finding using candidate's text message (T_touch) as the phrase of beginning, then can search beyond the clouds;
The most such as, search the most beyond the clouds, if do not receive in preset time period server return, that find from preset dictionary, using candidate's text message (T_touch) as start multiple phrases, then can search in this locality.
Additionally, be that beginning makes a look up with candidate's text message (T_touch), can be searchable, reduce the coupling used time.In the case of the arithmetic speed of mobile device is enough fast, candidate's text message (T_touch) can be placed on second, third etc. position also possible, this is not any limitation as by the embodiment of the present invention.
Step S203, mates the one or more phrase with the text message of current interface, it is thus achieved that the target text information that the match is successful;
In implementing, all of matching result searched out in dictionary, when the text message at candidate's text message (T_touch) place mates further, can be with shortest character as principle, the text message that preferential display character length is the shortest.
Will mate with text message by one or more phrases, by the match is successful, text message that string length is the shortest be set to target text information (T_mach).
Step S204, shows described target text information.
For dictionary, the match is successful, the text message target text information (T_mach) that the match is successful, shows user, processes to allow user carry out other.
The embodiment of the present invention is by the touch control operation specified, text message in current text interface is searched candidate's text message, dictionary is searched the phrase including at least candidate's text message, then phrase is mated with text message, obtain target text information, avoid user and repeatedly pull selection handle, substantially increase the simplicity of operation, reduce time-consuming, and, avoid towing and select handle, decrease the probability of maloperation, improve the identification accuracy of text.
With reference to Fig. 3, it is shown that the flow chart of steps of the recognition methods embodiment 2 of a kind of text message of the present invention, specifically may include steps of:
Step S301, when the touch control operation specified being detected, searches candidate's text message in the text message of current interface;
Step S302, searches the one or more phrases comprising described candidate's text message in preset dictionary;
Step S303, mates the one or more phrase with the text message of current interface, it is thus achieved that the target text information that the match is successful;
Step S304, shows described target text information;
Step S305, when the reselection operation for described target text information being detected, is set to described target text information candidate's text message, returns and perform step S302;
In embodiments of the present invention, it is not the text needed for user in target text information, target text information may be unsatisfied with by user, then can trigger reselection operation, as double-clicked on the right side of target text information, the candidate's text message (T_touch) mated as next round using the target text information (T_mach) of last round of coupling, selects the target text information (T_mach) that string length is longer, till user is satisfied.
Step S306, generates one or more application entrance objects for described target text information;
Step S307, when described application entrance object is triggered, carries out application process according to described target text information.
In embodiments of the present invention, target text information can be generated application entrance object, i.e. trigger the control that corresponding application processes, such as the text data pointing out certain to apply, view data, JSON (JavaScriptObjectNotation, data interchange format) data etc..
When this application entrance object is triggered by operations such as clicks, corresponding application process can be carried out.
Such as, certain application entrance object processes for triggering the application replicating target text information, if this application entrance object is triggered, then this target text information can be replicated, user can paste (such as the chat window of JICQ) elsewhere, quickly realizes text input.
The most such as, certain application entrance object processes for the application triggering search target text information, if this application entrance object is triggered, then can be using this target text information as key word, generate searching request, this searching request is sent to search engine, and calls browser and carry out connecing the displaying searching result, it is achieved fast text is searched for.
Target text information is set to candidate's text message by reselection operation by the embodiment of the present invention, re-starts coupling, adds the multiformity of target text information, further increases the accuracy rate of text identification.
The embodiment of the present invention provides application entrance object to target text information, quickly to carry out application process, adds the convenience calling other application, improves the efficiency that application processes.
For making those skilled in the art be more fully understood that the embodiment of the present invention, below by way of the concrete recognition methods illustrating embodiment of the present invention Chinese version information.
User is when reading electronic book, and current text interface display text message " is reinvented the product of the traditional forms of enterprises, needed to overturn intrinsic thinking, hold the pulse in epoch, catch consumer demand, make ultimate attainment product with mobile Internet thinking in the past.”
If the meaning of wherein " mobile Internet thinking " is ignorant of by user, want to inquire about related data.
User by (touch control operation specified), then can identify the text message in current text interface by OCR in " mobile Internet thinking " front length.
If detect distance by touch point nearest be " shifting " word, then using " shifting " word as candidate's text message (T_touch).
In dictionary, with " shifting " for beginning, find the phrases such as " movement ", " transplanting ", " removing ", " immigrant ", " mobile Internet ".
The phrase such as " movement ", " transplanting ", " removing ", " immigrant ", " mobile Internet " is mated at above-mentioned text message, the match is successful " movement " and " mobile Internet ", owing to the string length of " movement " is the shortest, therefore, " movement " is shown as target text information (T_mach).
Due to the full text needed for " movement " not user, therefore, user can carry out double-clicking (reselection operation) on the right side of " movement ", using " movement " as candidate's text message (T_touch), carry out next round coupling, it is thus achieved that the target text information (T_mach) " mobile Internet " that string length is longer.
Similarly, due to the full text needed for " mobile Internet " not user, therefore, user can carry out double-clicking (reselection operation) on the right side of " mobile Internet ", using " mobile Internet " as candidate's text message (T_touch), carry out next round coupling, it is thus achieved that the target text information (T_mach) " mobile Internet thinking " that string length is longer.
" mobile Internet thinking " is the text needed for user, user can trigger certain application entrance object for its configuration, using " mobile Internet thinking " as key word, generate searching request, this searching request is sent to search engine, and calls browser and carry out connecing the displaying (application process) searching result.
It should be noted that, for embodiment of the method, in order to be briefly described, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the embodiment of the present invention is not limited by described sequence of movement, because according to the embodiment of the present invention, some step can use other orders or carry out simultaneously.Secondly, those skilled in the art also should know, embodiment described in this description belongs to preferred embodiment, necessary to the involved action not necessarily embodiment of the present invention.
With reference to Fig. 4, it is shown that the structured flowchart identifying device embodiment 1 of a kind of text message of the present invention, specifically can include such as lower module:
Candidate's text message searches module 401, for when the touch control operation specified being detected, searches candidate's text message in the text message of current interface;
Module 402 searched in phrase, for searching the one or more phrases comprising described candidate's text message in preset dictionary;
Target text information matches module 403, for mating the one or more phrase with the text message of current interface, it is thus achieved that the target text information that the match is successful;
Target text information display module 404, is used for showing described target text information.
In one preferred embodiment of the invention, described candidate's text message is searched module 401 and can be included following submodule:
Text message identification submodule, for identifying the text message in current interface;
Touch-control searches submodule, for searching candidate's text message in described text message according to described touch control operation.
In one preferred embodiment of the invention, described text message identification submodule can include such as lower unit:
Text message receives unit, for receiving text message from the application program belonging to current interface;
And/or,
Sectional drawing unit, for carrying out sectional drawing to current interface, it is thus achieved that interface image;
Image identification unit, for identifying text message by optical character recognition from described interface image.
In one preferred embodiment of the invention, each text message can have the first coordinate position;
Described touch-control is searched submodule and can be included such as lower unit:
Touch point detector unit, for detecting the touch point that described touch control operation is corresponding;Described touch point has the second coordinate position;
Metrics calculation unit, for calculating the distance between described second coordinate position and each first coordinate position;
Candidate's text message arranges unit, for the text message belonging to the distance of minima is set to candidate's text message.
In one preferred embodiment of the invention, described phrase is searched module 402 and can be included following submodule:
Local lookup submodule, in the dictionary preset in this locality, searches using described candidate's text message as start or end or one or more phrases of centre;
And/or,
Candidate's text message sends submodule, for sending described candidate's text message to the server specified;
Phrase receives submodule, for receiving what described server returned, that find from preset dictionary, using described candidate's text message as start or end or one or more phrases of centre.
In one preferred embodiment of the invention, described target text information matches module 404 can include following submodule:
Text message matched sub-block, for mating the one or more phrase with described text message;
Target text information arranges submodule, for by the match is successful, text message that string length is the shortest be set to target text information.
The embodiment of the present invention is by the touch control operation specified, text message in current text interface is searched candidate's text message, dictionary is searched the phrase including at least candidate's text message, then phrase is mated with text message, obtain target text information, avoid user and repeatedly pull selection handle, substantially increase the simplicity of operation, reduce time-consuming, and, avoid towing and select handle, decrease the probability of maloperation, improve the identification accuracy of text.
With reference to Fig. 5, it is shown that the structured flowchart identifying device embodiment 2 of a kind of text message of the present invention, specifically can include such as lower module:
Candidate's text message searches module 501, for when the touch control operation specified being detected, searches candidate's text message in current text information;
Module 502 searched in phrase, for searching the one or more phrases comprising described candidate's text message in preset dictionary;
Target text information matches module 503, for mating the one or more phrase with the text message of current interface, it is thus achieved that the target text information that the match is successful;
Target text information display module 504, is used for showing described target text information;
Reselection operation module 505, for when the reselection operation for described target text information being detected, is set to candidate's text message by described target text information, returns and calls phrase lookup module 502;
Application entrance object generation module 506, for generating one or more application entrance objects for described target text information;
Application processing module 507, for when described application entrance object is triggered, carries out application process according to described target text information.
Target text information is set to candidate's text message by reselection operation by the embodiment of the present invention, re-starts coupling, adds the multiformity of target text information, further increases the accuracy rate of text identification.
The embodiment of the present invention provides application entrance object to target text information, quickly to carry out application process, adds the convenience calling other application, improves the efficiency that application processes.
For device embodiment, due to itself and embodiment of the method basic simlarity, so describe is fairly simple, relevant part sees the part of embodiment of the method and illustrates.
It should be noted that, the embodiment of the present invention can apply to have in the mobile device of touch screen, wherein, this touch screen can include vector pressure sensing touch screen, electric resistance touch screen, capacitance touch screen, infrared touch panel, surface acoustic wave touch screen etc., this mobile device can include mobile phone, PDA (PersonalDigitalAssistant, personal digital assistant), laptop computer, panel computer etc., this is not any limitation as by the embodiment of the present invention.
These mobile devices can support the operating systems such as WindowsPhone, Windows, Android (Android), IOS, generally can run through the application program of showing interface text message, such as, browser, text file reader, mailbox client, immediate communication tool etc..
Each embodiment in this specification all uses the mode gone forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, and between each embodiment, identical similar part sees mutually.
Those skilled in the art are it should be appreciated that the embodiment of the embodiment of the present invention can be provided as method, device or computer program.Therefore, the form of the embodiment in terms of the embodiment of the present invention can use complete hardware embodiment, complete software implementation or combine software and hardware.And, the embodiment of the present invention can use the form at one or more upper computer programs implemented of computer-usable storage medium (including but not limited to disk memory, CD-ROM, optical memory etc.) wherein including computer usable program code.
The embodiment of the present invention is to describe with reference to method, terminal unit (system) and the flow chart of computer program according to embodiments of the present invention and/or block diagram.It should be understood that can be by the flow process in each flow process in computer program instructions flowchart and/or block diagram and/or square frame and flow chart and/or block diagram and/or the combination of square frame.These computer program instructions can be provided to produce a machine to the processor of general purpose computer, special-purpose computer, Embedded Processor or other programmable data processing terminal equipment so that the instruction performed by the processor of computer or other programmable data processing terminal equipment is produced for realizing the device of function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions may be alternatively stored in and can guide in the computer-readable memory that computer or other programmable data processing terminal equipment work in a specific way, the instruction making to be stored in this computer-readable memory produces the manufacture including command device, and this command device realizes the function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded on computer or other programmable data processing terminal equipment, make to perform sequence of operations step on computer or other programmable terminal equipment to produce computer implemented process, thus the instruction performed on computer or other programmable terminal equipment provides the step of the function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame for realization.
Although having been described for the preferred embodiment of the embodiment of the present invention, but those skilled in the art once know basic creative concept, then these embodiments can be made other change and amendment.So, claims are intended to be construed to include preferred embodiment and fall into all changes and the amendment of range of embodiment of the invention.
Finally, it can further be stated that, in this article, the relational terms of such as first and second or the like is used merely to separate an entity or operation with another entity or operating space, and not necessarily requires or imply the relation or sequentially that there is any this reality between these entities or operation.And, term " includes ", " comprising " or its any other variant are intended to comprising of nonexcludability, so that include that the process of a series of key element, method, article or terminal unit not only include those key elements, but also include other key elements being not expressly set out, or also include the key element intrinsic for this process, method, article or terminal unit.In the case of there is no more restriction, statement " including ... " key element limited, it is not excluded that there is also other identical element in including the process of described key element, method, article or terminal unit.
Recognition methods and the identification device of a kind of text message to a kind of text message provided by the present invention above, it is described in detail, principle and the embodiment of the present invention are set forth by specific case used herein, and the explanation of above example is only intended to help to understand method and the core concept thereof of the present invention;Simultaneously for one of ordinary skill in the art, according to the thought of the present invention, the most all will change, in sum, this specification content should not be construed as limitation of the present invention.

Claims (11)

1. the recognition methods of a text message, it is characterised in that including:
When the touch control operation specified being detected, the text message of current interface is searched candidate's text message;
The one or more phrases comprising described candidate's text message are searched in preset dictionary;
The one or more phrase is mated with the text message of current interface, it is thus achieved that the target text information that the match is successful;
Show described target text information.
Method the most according to claim 1, it is characterised in that also include:
When the reselection operation for described target text information being detected, described target text information is set to candidate's text message, returns and perform the described step searching the one or more phrases comprising described candidate's text message in preset dictionary.
Method the most according to claim 1, it is characterised in that also include:
One or more application entrance objects are generated for described target text information;
When described application entrance object is triggered, carry out application process according to described target text information.
4. according to the method described in claim 1 or 2 or 3, it is characterised in that the described step searching candidate's text message in the text message of current interface includes:
Identify the text message in current interface;
In described text message, candidate's text message is searched according to described touch control operation.
Method the most according to claim 4, it is characterised in that the step of the text message in described identification current text interface includes:
Text message is received from the application program belonging to current interface;
And/or,
Current interface is carried out sectional drawing, it is thus achieved that interface image;
From described interface image, text message is identified by optical character recognition.
Method the most according to claim 4, it is characterised in that each text message has the first coordinate position;
The described step searching candidate's text message according to described touch control operation in described text message includes:
Detect the touch point that described touch control operation is corresponding;Described touch point has the second coordinate position;
Calculate the distance between described second coordinate position and each first coordinate position;
Text message belonging to the distance of minima is set to candidate's text message.
7. according to the method described in claim 1 or 2 or 3 or 5 or 6, it is characterised in that the described step searching the one or more phrases comprising described candidate's text message in preset dictionary includes:
In the dictionary that this locality is preset, search using described candidate's text message as start or end or one or more phrases of centre;
And/or,
Described candidate's text message is sent to the server specified;
Receive what described server returned, that find from preset dictionary, using described candidate's text message as start or end or one or more phrases of centre.
8. according to the method described in claim 1 or 2 or 3 or 5 or 6, it is characterised in that described the one or more phrase is mated with described text message, it is thus achieved that the step of the target text information that the match is successful includes:
The one or more phrase is mated with described text message;
By the match is successful, text message that string length is the shortest be set to target text information.
9. the identification device of a text message, it is characterised in that including:
Candidate's text message searches module, for when the touch control operation specified being detected, identifies and searches candidate's text message in the text message of current interface;
Module searched in phrase, for searching the one or more phrases comprising described candidate's text message in preset dictionary;
Target text information matches module, for mating the one or more phrase with the text message of current interface, it is thus achieved that the target text information that the match is successful;
Target text information display module, is used for showing described target text information.
Device the most according to claim 9, it is characterised in that also include:
Reselection operation module, for when the reselection operation for described target text information being detected, is set to candidate's text message by described target text information, returns and calls phrase lookup module.
11. devices according to claim 9, it is characterised in that also include:
Application entrance object generation module, for generating one or more application entrance objects for described target text information;
Application processing module, for when described application entrance object is triggered, carries out application process according to described target text information.
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 true CN105824552A (en) 2016-08-03
CN105824552B 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)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106484266A (en) * 2016-10-18 2017-03-08 北京锤子数码科技有限公司 A kind of text handling 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
CN111026319A (en) * 2019-12-26 2020-04-17 腾讯科技(深圳)有限公司 Intelligent text processing method and device, electronic equipment and storage medium
CN112346643A (en) * 2020-11-16 2021-02-09 维沃移动通信有限公司 Text processing method and device, electronic equipment and readable storage medium
CN112347228A (en) * 2020-11-10 2021-02-09 网易有道信息技术(北京)有限公司 Method and portable electronic device for text query
CN112562684A (en) * 2020-12-08 2021-03-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 (8)

* 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
CN102521216A (en) * 2011-12-20 2012-06-27 安徽科大讯飞信息科技股份有限公司 Object marking method applied to interactive multimedia equipment
CN102609208A (en) * 2012-02-13 2012-07-25 广州市动景计算机科技有限公司 Method and system for word capture on screen of touch screen equipment, and touch screen equipment
CN103455162A (en) * 2012-06-01 2013-12-18 中兴通讯股份有限公司 Input processing method and device
CN103744578A (en) * 2013-12-20 2014-04-23 百度在线网络技术(北京)有限公司 Method and device for text selection on basis of focus area
WO2014194450A1 (en) * 2013-06-03 2014-12-11 东莞宇龙通信科技有限公司 Association prompt input system, terminal and association prompt input method
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

Patent Citations (8)

* 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
CN102521216A (en) * 2011-12-20 2012-06-27 安徽科大讯飞信息科技股份有限公司 Object marking method applied to interactive multimedia equipment
CN102609208A (en) * 2012-02-13 2012-07-25 广州市动景计算机科技有限公司 Method and system for word capture on screen of touch screen equipment, and touch screen equipment
CN103455162A (en) * 2012-06-01 2013-12-18 中兴通讯股份有限公司 Input processing method and device
WO2014194450A1 (en) * 2013-06-03 2014-12-11 东莞宇龙通信科技有限公司 Association prompt input system, terminal and association prompt input method
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

Cited By (13)

* 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
US10489047B2 (en) 2016-10-18 2019-11-26 Beijing Bytedance Network Technology Co Ltd. Text processing method and device
CN106484266A (en) * 2016-10-18 2017-03-08 北京锤子数码科技有限公司 A kind of text handling 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
CN111026319A (en) * 2019-12-26 2020-04-17 腾讯科技(深圳)有限公司 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
CN112347227A (en) * 2020-11-10 2021-02-09 网易有道信息技术(北京)有限公司 Method and portable electronic device for text query
CN112346643A (en) * 2020-11-16 2021-02-09 维沃移动通信有限公司 Text processing method and device, electronic equipment and readable storage medium
CN112562684A (en) * 2020-12-08 2021-03-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

Also Published As

Publication number Publication date
CN105824552B (en) 2019-05-17

Similar Documents

Publication Publication Date Title
CN105824552A (en) Text information recognition method and device
US11157577B2 (en) Method for searching and device thereof
CN110020411B (en) Image-text content generation method and equipment
CN111782977B (en) Point-of-interest processing method, device, equipment and computer readable storage medium
KR102510640B1 (en) Method, apparatus, device and medium for retrieving video
TWI505139B (en) A method for realizing intelligent association in the input method, device and terminal device
US10846475B2 (en) Emoji input method and device thereof
CN106843737B (en) Text input method and device and terminal equipment
JP6517352B2 (en) Method and system for providing translation information
US20150339348A1 (en) Search method and device
US20150121291A1 (en) Input Method Editor
CN111949814A (en) Searching method, searching device, electronic equipment and storage medium
US20140129991A1 (en) Character input prompting method and electronic device
US11734370B2 (en) Method for searching and device thereof
EP3832492A1 (en) Method and apparatus for recommending voice packet, electronic device, and storage medium
CN103995601A (en) Method and device for achieving input method
CN104281647A (en) Search input method and search input device
EP2947584A1 (en) Multimodal search method and device
CN107239209B (en) Photographing search method, device, terminal and storage medium
CN112883218A (en) Image-text combined representation searching method, system, server and storage medium
JP2018010510A (en) Image processing device, image processing method, and program
CN113743102B (en) Method and device for recognizing characters and electronic equipment
KR20150097250A (en) Sketch retrieval system using tag information, user equipment, service equipment, service method and computer readable medium having computer program recorded therefor
CN114595391A (en) Data processing method and device based on information search and electronic equipment
CN113642559B (en) Text acquisition method, device and equipment based on scanning equipment and storage medium

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