CN110232111A - A kind of text display method, device and terminal device - Google Patents

A kind of text display method, device and terminal device Download PDF

Info

Publication number
CN110232111A
CN110232111A CN201910464395.3A CN201910464395A CN110232111A CN 110232111 A CN110232111 A CN 110232111A CN 201910464395 A CN201910464395 A CN 201910464395A CN 110232111 A CN110232111 A CN 110232111A
Authority
CN
China
Prior art keywords
information
text
text information
string localization
string
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.)
Pending
Application number
CN201910464395.3A
Other languages
Chinese (zh)
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201910464395.3A priority Critical patent/CN110232111A/en
Publication of CN110232111A publication Critical patent/CN110232111A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/3331Query processing
    • G06F16/334Query execution
    • G06F16/3344Query execution using natural language analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/40Document-oriented image-based pattern recognition
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition

Abstract

The present invention is suitable for field of communication technology, provide a kind of text display method, device and terminal device, by obtaining the first text information and the first String localization information corresponding with the first text information to demonstration document, and in the voice messaging for receiving user's input, and after voice messaging is converted to corresponding second text information, the second text information and the first text information are subjected to semantic matches again, and the text obtained according to matching, obtain the corresponding location information of second text information, then, according to conversion factor, the location information is converted to the second String localization information played when demonstration document, and default highlight is carried out to the corresponding text information of the second String localization information, text information corresponding with the voice messaging of user's input is highlighted to reach prominent current text content, it plays Audience is guided, attracts the effect of audience, and reduce user's operation, so that user experience is more preferable.

Description

A kind of text display method, device and terminal device
Technical field
The invention belongs to field of communication technology more particularly to a kind of text display methods, device and terminal device.
Background technique
People when giving a lecture or demonstrating using files such as PPT, PDF, if necessary to content that it is told about into Row highlights, and guides generally by the speech auxiliary tool such as laser pen or PPT, PDF the emphasis position of speech Perhaps circle picture is so that speaker in speech or demonstration, needs to cross to the corresponding contents in PPT, PDF, enclose picture etc. The content that operation is shown with its desired emphasis of giving prominence to the key points, listens speaker that can preferably follow up what it was given a lecture or demonstrated with guidance Content.
When guided by emphasis position of the laser pen to speech perhaps enclose picture when it is guided or circle picture content simultaneously It is not very intuitive, accurate;And the emphasis position of speech is guided or enclosed when by speech auxiliary tool such as PPT, PDF etc. When picture, user needs to go to broadcasting or shows by the terminal devices such as the computer, notebook of this document, and being easy interruption, it is currently drilled The progress said is interrupted sb's train of tought.
Summary of the invention
In view of this, the embodiment of the invention provides a kind of text display method, device and terminal device, it is existing to solve User wants to give prominence to the key points to it during speech the content of display when operating, and is easy to interrupt its progress currently given a lecture And interrupt sb's train of tought, and inconvenient, so that the problem that user experience is bad.
The first aspect of the embodiment of the present invention provides a kind of text display method, comprising:
It obtains and believes to the first text information of demonstration document and the first String localization corresponding with first text information Breath;
The voice messaging of user's input is received, and the voice messaging is converted into corresponding second text information;
Second text information and first text information are subjected to semantic matches, and the text obtained according to matching This, obtains the corresponding location information of second text information;
The location information is converted to and plays second String localization information when demonstration document, and to described the The corresponding text information of two String localization information carries out default highlight.
The second aspect of the embodiment of the present invention provides a kind of textual display device, comprising:
Text information and String localization information acquisition unit, for obtain to demonstration document the first text information and with institute State the corresponding first String localization information of the first text information;
Voice messaging receives converting unit, for receiving the voice messaging of user's input, and the voice messaging is converted For corresponding second text information;
Text information matching unit, for second text information and first text information to be carried out semantic The text matched, and obtained according to matching obtains the corresponding location information of second text information;
String localization information conversion unit, for according to conversion factor, by the location information be converted to broadcasting it is described to The second String localization information when demonstration document;
Text display unit, it is default prominent aobvious for being carried out to the corresponding text information of the second String localization information Show.
The third aspect of the embodiment of the present invention provides a kind of terminal device, comprising:
Memory, processor and storage are in the memory and the computer journey that can run on the processor Sequence, wherein the processor realizes that the first aspect of the embodiment of the present invention provides text when executing the computer program is aobvious The step of showing method.
Wherein, the computer program includes:
Text information and String localization information acquisition unit, for obtain to demonstration document the first text information and with institute State the corresponding first String localization information of the first text information;
Voice messaging receives converting unit, for receiving the voice messaging of user's input, and the voice messaging is converted For corresponding second text information;
Text information matching unit, for second text information and first text information to be carried out semantic The text matched, and obtained according to matching obtains the corresponding location information of second text information;
String localization information conversion unit, for according to conversion factor, by the location information be converted to broadcasting it is described to The second String localization information when demonstration document;
Text display unit, it is default prominent aobvious for being carried out to the corresponding text information of the second String localization information Show.
The fourth aspect of the embodiment of the present invention provides a kind of computer readable storage medium, the computer-readable storage Media storage has computer program, wherein the first of the embodiment of the present invention is realized when the computer program is executed by processor The step of text display method that aspect provides.
Wherein, the computer program includes:
Text information and String localization information acquisition unit, for obtain to demonstration document the first text information and with institute State the corresponding first String localization information of the first text information;
Voice messaging receives converting unit, for receiving the voice messaging of user's input, and the voice messaging is converted For corresponding second text information;
Text information matching unit, for second text information and first text information to be carried out semantic The text matched, and obtained according to matching obtains the corresponding location information of second text information;
String localization information conversion unit, for according to conversion factor, by the location information be converted to broadcasting it is described to The second String localization information when demonstration document;
Text display unit, it is default prominent aobvious for being carried out to the corresponding text information of the second String localization information Show.
Existing beneficial effect is the embodiment of the present invention compared with prior art: by obtaining the first text to demonstration document This information and the first String localization information corresponding with the first text information, and in the voice messaging for receiving user's input, and will After voice messaging is converted to corresponding second text information, then the second text information and the first text information carried out semantic Match, and according to the obtained text of matching, obtains the corresponding location information of second text information, then, according to conversion factor, The location information is converted to the second String localization information played when demonstration document, and corresponding to the second String localization information Text information carry out it is default highlight, text information corresponding with the voice messaging of user's input is highlighted To reach prominent current text content, plays the role of guiding audience, attract audience, and liberated the both hands of user, that is, use The terminal devices such as computer, notebook are left at family, and the content that emphasis is shown still can be wanted to it and is highlighted, is reduced User's operation, so that user experience is more preferable.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these Attached drawing obtains other attached drawings.
Fig. 1 is a kind of implementation flow chart of text display method provided in an embodiment of the present invention;
Fig. 2 is a kind of acquisition the first text information and corresponding with the first text information first provided in an embodiment of the present invention The specific implementation flow chart of the method for String localization information;
Fig. 3 is provided in an embodiment of the present invention another to obtain the first text information and corresponding with the first text information the The specific implementation flow chart of the method for one String localization information;
Fig. 4 be it is provided in an embodiment of the present invention a kind of according to conversion factor, corresponding first String localization information is converted For the specific implementation flow chart of the method for second String localization information of broadcasting when demonstration document;
Fig. 5 is a kind of schematic diagram of textual display device provided in an embodiment of the present invention;
Fig. 6 is a kind of schematic diagram of terminal device provided in an embodiment of the present invention.
Specific embodiment
In being described below, for illustration and not for limitation, the tool of such as particular system structure, technology etc is proposed Body details, to understand thoroughly the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific The present invention also may be implemented in the other embodiments of details.In other situations, it omits to well-known system, system, electricity The detailed description of road and method, in case unnecessary details interferes description of the invention.
In order to illustrate technical solutions according to the invention, the following is a description of specific embodiments.Referring to FIG. 1, Fig. 1 shows a kind of implementation process of text display method provided in an embodiment of the present invention, and details are as follows:
In step s101, the first text information to demonstration document and corresponding with first text information the are obtained One String localization information.
It in embodiments of the present invention, include but is not limited to PPT file to be demonstrated, pdf document, the demonstration to demonstration document Include in file but is not limited to text information, pictorial information.
Herein, be stored in the preset database to demonstration document the first text information and with first text information Corresponding first String localization information.
Wherein, the first text information is to all text informations in demonstration document, and the first String localization information is and this The corresponding String localization information of first text information includes text page number mark, text in the first String localization information Information can find corresponding text by text location information in the String localizations information such as location information of the current page number This information.
Herein, the corresponding String localization information of each text is generally indicated by pixel, can in String localization information To know the text on which location of pixels.
In order to accurately determine the size of pixel shared by the text, the general position with two each texts of coordinate representation Information, for example top left co-ordinate and bottom right angular coordinate are used, it sits each text upper left corner of target value mark and is opened by that pixel Begin, the lower right corner terminates in that pixel.
Herein, first in the first text information and the first String localization information has no particular meaning, is only for area The text information and String localization information obtained under point different situations, such as the second text information hereinafter, third text envelope Breath, the second String localization information and third String localization information etc..
Optionally, step S101 specifically:
By described to the corresponding interface protocol of demonstration document, obtain first text information to demonstration document and with The corresponding first String localization information of first text information.
In embodiments of the present invention, by the corresponding interface protocol of demonstration document, textual display device can directly from Be stored under default file catalogue to demonstration document, user be uploaded to textual display device to demonstration document, or it is current Open to obtain the first text information and the first String localization information corresponding with first text information in demonstration document.
Herein, when demonstration document is PPT file, corresponding interface protocol is PPT interface protocol, when text to be demonstrated When part is pdf document, corresponding interface protocol is PDF interface protocol, and so on.
It is understood that textual display device is detecting after the file format of demonstration document, corresponding connect is called Mouth agreement waits for obtaining its first text information and the first String localization corresponding with first text information in demonstration document from this Information.
Optionally, after step slol, further includes:
Establish the text index relation table of first text information and the first String localization information.
In embodiments of the present invention, in text index relation table, each text in text information is corresponding with the text Location information the first text information and the first String localization information are enabled by the text index relation table established Mutually index, so as in text index relation table according to the corresponding location information of the String searching text, or according to Location information finds corresponding text, for example, the text " today, weather was fine " in the first text information, in the text established In this index relative table, " today, weather was fine " corresponding location information is specific as follows:
[
{ " label ": " the present ", " points ": [[395,73], [442,124]] },
{ " label ": " day ", " points ": [[444,73], [491,124]] },
{ " label ": " day ", " points ": [[493,73], [540,124]] },
{ " label ": " gas ", " points ": [[542,73], [589,124]] },
{ " label ": " very ", " points ": [[591,73], [638,124]] },
{ " label ": " good ", " points ": [[640,73], [687,124]] },
]
At this moment, " today, weather was fine " corresponding upper left corner start bit confidence can be found in text index relation table Breath is [395,73], and the end position lower right corner is [687,124]], or passing through the inquiry upper left corner is [395,73], the lower right corner For the rectangular area location information of [687,124], corresponding text can be inquired are as follows: today, weather was fine.
Optionally, after step slol, further includes:
Establish the page reference relation table of the first text information and the first String localization information on the page number and the page number.
In embodiments of the present invention, it in page reference relation table, the page number can be used is indexed the page number and correspond to page First text information and the first text position information in face subtract to carry out semantic matches in the page that user currently gives a lecture The hypologia matched mistake of justice.
Herein, to make established text index relation table or page reference relation table more accurate, location information In can also be expert at including but not limited to text, in the identification informations such as column or the place page number any one or it is several Kind.
Optionally, referring to FIG. 2, Fig. 2 shows a kind of first text information of acquisition provided in an embodiment of the present invention and with The specific implementation flow of the method for the corresponding first String localization information of first text information, details are as follows:
In step s 201, it obtains described to demonstration document.
In embodiments of the present invention, obtaining to the mode of demonstration document includes but is not limited to work as user to put the demonstration document When setting under default file catalogue, textual display device obtains under the default file catalogue should be to demonstration document;Or text Display device receive user upload to demonstration document;Or terminal device detects after demonstration document is opened, and leads to Crossing textual display device acquisition should be to demonstration document.
In step S202, the manuscript image of respective numbers is generated by the number of pages to demonstration document.
In embodiments of the present invention, when demonstration document is PPT file or this class file of pdf document, according to text There is different numbers of pages for the number of this content, for the ease of obtaining the text information and String localization information of the demonstration document, Wait for that the number of pages of demonstration document generates the manuscript image of respective numbers first, in accordance with this, i.e., it should be just raw to how many page of demonstration document It, should be to one page of content one manuscript image of corresponding generation of demonstration document at how many manuscript images.
Herein, the picture format of manuscript image generated includes but is not limited to the picture formats such as jpg, jpeg, png, Here the picture format of manuscript image generated is not specifically limited.
In step S203, based on described to demonstration document and/or the manuscript image, obtain described to demonstration document First text information and the first String localization information corresponding with first text information.
In embodiments of the present invention, image object identifying processing includes but is not limited to OCR (Optical Character Recognition, optical character identification), text object neural network based identification etc. processing methods, to pass through image object Identifying processing obtains the text information and String localization information of every manuscript image.
Optionally, step S203 is specifically included:
By described to the corresponding interface protocol of demonstration document, obtain first text information to demonstration document and with The corresponding first String localization information of first text information;Or:
Image object identifying processing is carried out to the manuscript image, is extracted from the manuscript image described to demonstration document The first text information and the first String localization information corresponding with first text information.
It in embodiments of the present invention, can be by described corresponding to demonstration document when this is when demonstration document is PPT file Interface protocol, directly acquire the text information and the corresponding String localization information of text information in PPT file.
When in order to obtain the first text and the first text position information by way of image recognition, step will be first executed After S202 generates corresponding manuscript image, then image object identifying processing is carried out to this article manuscript base picture, extracting should be to demonstration document In text information and corresponding String localization information.
Optionally, for the text information for further increasing manuscript image generated String localization information corresponding with its Accuracy, referring to FIG. 3, Fig. 3 shows and provided in an embodiment of the present invention another obtains the first text information and with first The specific implementation flow of the method for the corresponding first String localization information of text information, details are as follows:
In step S301, by described to the corresponding interface protocol of demonstration document, the to demonstration document is obtained Three text informations and third String localization information corresponding with the third text information.
In step s 302, image object identifying processing is carried out to the manuscript image, is extracted from the manuscript image The 4th text information to demonstration document and the 4th String localization information corresponding with the 4th text information.
In step S303, the third text information and third String localization corresponding with the third text information are believed Breath, and the 4th text information and the 4th String localization information corresponding with the 4th text information is matched respectively, Obtain the first text information and the first String localization information corresponding with first text information.
In embodiments of the present invention, generally more accurate by third text information acquired in communication interface, especially In the case where all the elements of the current page number are text, acquired third text information is most accurate, however, due to Other reasons are such as needed because of secrecy, the reasons such as author's habit, and the segment word or whole texts in current page digital content are With graphic form storage, will lead to communication interface in this way can not obtain the text information of the segment word, at this moment by third text This location information and the 4th String localization information carry out position matching, and whether the 4th String localization information of inquiry has not in third text Location information outside this corresponding third String localization range of information, if so, then supplementing corresponding String localization information and being somebody's turn to do The text of position, to determine whether there is the location information of omission by accurate third String localization information, to third Text and the corresponding third String localization information of third text carry out leakage detection and fill a vacancy, so that it is fixed to obtain accurate first text Position information.
Herein, by distinguishing third text information and third String localization information corresponding with third text information And the 4th text information and the 4th String localization information corresponding with the 4th text information are matched, to improve the first text The accuracy of this information and location information corresponding with the first text information so that text highlight it is more accurate.
Optionally, step S303 is specifically included:
Step S3031, according to location information, by with same position third text information and the 4th text information carry out Compare.
In embodiments of the present invention, location information is to carry out third String localization information and the 4th String localization information simultaneously The String localization information obtained after collection.
Wherein, the third text information with same position and the 4th text information include but is not limited to same coordinate Third text information and the third text in the 4th text information, the coordinate range with identical origin coordinates and terminating coordinates Information and the 4th text information.
Step S3032, when the third text information with same position is consistent with the 4th text information, by the third Text information or the 4th text information are set as the first text information.
It in embodiments of the present invention, will when the third text information with same position is consistent with the 4th text information The corresponding third text information in the position or the 4th text information are set as the first text information.
It is understood that when the third text information of all positions in location information and consistent the 4th text, Third text information or the 4th text information can be set as the first text information.
Step S3033, when with same position third text information and the 4th text information it is inconsistent, and the third Text information or the 4th text information have one when being empty, do not supplement corresponding for empty third text or the 4th text On current location, text is supplemented into the text information that complete all positions are included and is set as the first text information.
In embodiments of the present invention, in same position, third text information or the 4th text information are possible to as sky, Such as when passing through the picture character that the corresponding interface protocol of PPT can not be got, the picture character is corresponding in third text information Position be sky, and the 4th text information obtained by image recognition is by the text envelope comprising the picture character corresponding position Breath, at this moment, on the position by the text information supplement of the corresponding position, to obtain supplementing complete third text information; The 4th text information can also be supplemented completely with same method, at this moment, in same position, third text information and the 4th Text information will will form unanimously, thus, text is supplemented into the text information that complete all positions are included and is set as first Text information, it will more fully and accurately.
Step S3034, when with same position third text information and the 4th text information it is inconsistent, and the third When text information and the 4th text information are not empty, the third text information is replenished on current location, will be mended It fills the text information that complete all positions are included and is set as the first text information.
In embodiments of the present invention, when the third text information and inconsistent the 4th text information with same position, It is reference with third text information, corresponding third text is replenished on the corresponding position of the 4th text, so that third Text information and the 4th text information are formed unanimously, will be supplemented the text information that complete all positions are included and are set as first Text information, the text information that the complete all positions of supplement referred herein include further includes the text for not needing the position of supplement This information.
In embodiments of the present invention, corresponding text is replenished on the position of text missing by location information, so that logical The picture content of text that crossing communication interface agreement can not obtain can be embodied in the first text information, so that text is shown It is more accurate comprehensive.
Optionally, in step S303, specifically further include:
Step S3035 obtains third String localization information and the 4th String localization information within the scope of same coordinate, and The two is compared.
Step S3036, when the third String localization information within the scope of same coordinate is consistent with the 4th String localization information When, it is the first String localization information by the third String localization information or the 4th String localization information setting.
Step S3037, when the third String localization information within the scope of same coordinate and the 4th String localization information are inconsistent, And the third String localization information or the 4th String localization information have one coordinate when being empty, will be not the coordinate of sky It replenishes in the corresponding position for empty third String localization information or the 4th String localization information, coordinate is supplemented complete the Three String localization information or the 4th String localization information setting are the first String localization information.
Step S3038, when the third String localization information within the scope of same coordinate and the 4th String localization information are inconsistent, And the coordinate of the third String localization information or the 4th String localization information is determined the third text when being not empty Position information setting is the first String localization information.
In embodiments of the present invention, by comparing third String localization information and the 4th String localization information to align confidence Breath carries out looking into scarce leak repairing, to obtain more comprehensive first String localization information so that text show it is more accurate comprehensive.
In step s 102, the voice messaging of user's input is received, and the voice messaging is converted to corresponding second Text information.
In embodiments of the present invention, presentation state is in being in broadcast state such as PPT file to demonstration document Or pdf document played in full screen, the voice messaging of user's input is received by microphone, by speech recognition technology by the voice Information is converted to corresponding text information, and the opportunity for being converted to corresponding second text information to voice messaging here, which does not do, to be had Body limits, the speech text information after conversion, and text therein can be intercepted using various ways as the second text information.Side Formula includes but is not limited to following manner:
Mode one: include but is not limited to using punctuation mark: fullstop, comma, exclamation mark etc. indicate as interception, intercept two Text between punctuation mark as the second text information, or interception terminated using to preset punctuation mark after text as the Two text informations.
Mode two: interception particular words after text, such as predetermined keyword highlight, draw emphasis, emphasize it is inferior Text after keyword is as the second text information.
Mode three: the text of nearest preset duration is intercepted as the second text information.
Optionally, in order to realize that user needs to want it in highlighted text to highlight according to it, in step Further include following step after rapid S102:
Whether detect in second text information includes predetermined keyword;
If including predetermined keyword in second text information, S103 is thened follow the steps;
If not including predetermined keyword in second text information, step S102 is continued to execute.
In embodiments of the present invention, predetermined keyword is preset for triggering the progress highlighted word of text Language, for example highlight, draw emphasis, emphasize inferior keyword.
In step s 103, by second text information and first text information progress semantic matches, and according to Obtained text is matched, the corresponding location information of second text information is obtained.
In embodiments of the present invention, it is carried out for the voice messaging quickly and accurately to user's input and to demonstration document The second text information corresponding with voice messaging and the first text information are first carried out semantic matches by position matching, with determine with The text that second text information matches, the purpose for carrying out semantic matches is in order to avoid there are multiple identical in text information Text when caused positioning obscure, to improve the accuracy rate of String localization.
After the text to be matched, its corresponding location information is obtained further according to the text to match, thus The corresponding String localization information of voice messaging inputted to user is to get to the corresponding location information of the second text information.
It is understood that when the second text information and the first text information are carried out semantic matches, it is referred herein Second text information refer to a part in all voice messagings of received user, generally received several sentences recently Or paragraph is not repeated that carrying out semantic matches to the sentence or paragraph works as semantic matches certainly after carrying out semantic matches When spending not high, the upper sentence or paragraph that can obtain current sentence or paragraph again are matched, to reach raising matching degree Purpose.
Optionally, in order to improve matched efficiency and accuracy, step S103 is specifically included:
Step S1031 obtains the place page number of the currently playing content of pages to demonstration document.
Second text information text corresponding with the page number is carried out semantic matches by step S1032.
Step S1033 obtains the corresponding location information of second text information according to the matched text of institute.
In embodiments of the present invention, after the voice messaging for detecting user's input, currently broadcasting to demonstration document is obtained Put the place page number of content of pages, then the second text information that the voice messaging is converted and the current page number text information into Row semantic matches obtain matched section or row, to obtain the corresponding location information of the second text information, pass through acquisition Current page is limited in matching within the scope of current page, reduces matched data volume and workload, to improve matching Efficiency, and since the voice messaging of user's input is generally the related content of the currently playing page, in the currently playing page In the place page number of content, the first text information to match is searched for, it will interference of other content of pages to it is reduced, so that Matching accuracy is higher.
Optionally, it according to the place paragraph of upper matched text information or can be expert at, determine and carry out semantic matches Text where paragraph or be expert at, can be further improved matched efficiency.
In step S104, according to conversion factor, the location information is converted to play it is described when demonstration document Second String localization information.
It in embodiments of the present invention, should text be demonstrated to the first resolution of demonstration document and broadcasting according to conversion factor Conversion proportion is calculated in the second resolution of the equipment of part.
First resolution includes but is not limited to that the length obtained by interface protocol to demonstration document and width are converted Pixel how much, should to manuscript image made of demonstration document conversion pixel how much, such as 900*600.
Second resolution is to play this to wait for the resolution that the current screen resolution ratio of the equipment of demonstration document namely screen are shown Rate is measured with horizontal and vertical pixel, for example the screen resolution of certain display is 1920*1080,1600*900 etc., Referred herein play to the equipment of demonstration document includes but is not limited to the equipment such as desktop computer, laptop, projector.
When being played when demonstration document by projector, when detecting the access projector, obtained by communication interface The relevant information of the projector is taken, includes the screen resolution of projector in the relevant information.
Herein, because the first String localization information is when the text information of demonstration document each page when 100% shows It for the set of the corresponding String localization information of this page, or is every manuscript figure after demonstration document is converted to manuscript image As the set of the upper corresponding String localization information of text information.Play when, need should to demonstration document played in full screen, or Person projects in other equipment and plays out, therefore, it is desirable to will be currently in demonstration document corresponding with the second text information One String localization information, that is, location information, is converted into played in full screen or projects on other equipment such as projector and play out The second String localization information, enable to be accurately positioned text according to the second String localization information.
Optionally, referring to FIG. 4, Fig. 4 shows provided in an embodiment of the present invention a kind of according to conversion factor, position is believed Breath is converted to the specific implementation flow for playing the method for the second String localization information when demonstration document, and details are as follows:
In step S401, obtains the first resolution to demonstration document and play the equipment to demonstration document Second resolution.
It in embodiments of the present invention, according to the file type to demonstration document, for example is for PPT file, PDF file etc. It determines corresponding interface protocol, to obtain the size for waiting for demonstration document by interface protocol, or demonstration document is waited for according to this Manuscript image made of conversion obtains corresponding first resolution.
Optionally, since the size of manuscript image made of converting to the pages different in demonstration document is not identical, than The size and different situation of manuscript image occur caused by such as due to page orientation for landscape layout and longitudinal layout, this When, step S401 specifically:
It obtains the first resolution to demonstration document corresponding page and plays the of the equipment to demonstration document Two resolution ratio.
In embodiments of the present invention, corresponding first String localization information is being obtained according to matched first text information of institute Afterwards, according to the page size obtained of the page where demonstration document or according to the text generated to the page where demonstration document Manuscript base obtains the screen resolution for playing the equipment to demonstration document as picture size obtained, as first resolution Rate, i.e. second resolution.
In step S402, by conversion of resolution formula, the first resolution and the second resolution are calculated Conversion factor.
In embodiments of the present invention, conversion of resolution formula is specially L=A/B, wherein L is conversion factor, when A is the When the first parameter of two resolution ratio, corresponding B is the first parameter of first resolution;When the second parameter of A second resolution When, corresponding B is the second parameter of first resolution.
For example, first resolution is 900*600, then the first parameter of corresponding first resolution is 900, the second parameter It is 600;Second resolution is 1920*1080, then the first parameter of corresponding second resolution is 1920, the second parameter is 1080。
Specifically, step S402 are as follows:
By conversion of resolution formula, according to the first parameter and/or the second parameter calculate separately the first resolution and The conversion factor of the second resolution.
Optionally, due to be calculated conversion factor quantity be two, i.e., the described conversion factor include first conversion because Son and the second conversion factor, in order to improve the accuracy rate of determining conversion factor, are kept away when the numerical value of two conversion factors is inconsistent Exempt from image occur can not to show comprehensively and the situation of String localization inaccuracy is caused to occur, after step S402, further includes:
First conversion factor and the second conversion factor are compared;
When first conversion factor is greater than second conversion factor, using second conversion factor as described the The conversion factor of one resolution ratio and the second resolution;
When first conversion factor is less than second conversion factor, using first conversion factor as described the The conversion factor of one resolution ratio and the second resolution.
In embodiments of the present invention, when two conversion factors are inconsistent, using the lesser conversion factor of numerical value as first The conversion factor of resolution ratio and second resolution, can be to avoid due to pixel shows infull the problem of bring position inaccurate.
In step S403, according to the conversion factor, it is described to demonstration document that the location information is converted into broadcasting When the second String localization information.
In embodiments of the present invention, after conversion factor is calculated, the first String localization is believed according to the conversion factor Coordinate position in breath is converted to the coordinate position under corresponding second resolution, i.e. the second String localization information.
In step s105, default highlight is carried out to the corresponding text information of the second String localization information.
In embodiments of the present invention, it presets and highlights the seat for including but not limited to being included in the second String localization information The lower section of cursor position adds the underscore of picture different colours different thicknesses, in the coordinate position that the second String localization information is included Surrounding add picture different colours different thicknesses box or different shape such as star, cloud shape pattern to second text The corresponding text information of location information is highlighted, and to reach guidance audience, attracts the effect of audience.
Optionally, step S105 specifically:
Predetermined pattern is loaded in the corresponding coordinate position of the second String localization information, to second String localization The corresponding text information of information carries out default highlight.
It is understood that when carrying out default highlight to the corresponding text information of the second String localization information, and Do not change itself constituting to demonstration document, but by textual display device in the corresponding coordinate bit of the second String localization information It sets and increases the modes such as underscore, box to highlight to the corresponding text information of the second String localization information.
In embodiments of the present invention, by obtaining to the first text information of demonstration document and corresponding with the first text information The first String localization information, and receive user input voice messaging, and by voice messaging be converted to it is corresponding second text After this information, then by the second text information and the first text information progress semantic matches, and according to obtained text is matched, obtain Then the corresponding location information of second text information according to conversion factor, which is converted to and is played wait demonstrate The second String localization information when file, and the corresponding text information of the second String localization information preset and is highlighted, Text information corresponding with the voice messaging of user's input is highlighted to reach prominent current text content, is played Audience is guided, attracts the effect of audience, and liberated the both hands of user, even if user leaves the terminal devices such as computer, notebook, Still the content that emphasis is shown can be wanted to it to highlight, and reduce user's operation, so that user experience is more preferable.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process Execution sequence Ying Yiqi function and internal logic control, the implementation process without coping with the embodiment of the present invention constitutes any limit It is fixed.
Corresponding to a kind of text display method described in foregoing embodiments, Fig. 5 shows provided in an embodiment of the present invention one The schematic diagram of kind textual display device, for ease of description, only parts related to embodiments of the present invention are shown.
Referring to Fig. 5, which includes:
Text information and String localization information acquisition unit 51, for obtain to demonstration document the first text information and with The corresponding first String localization information of first text information;
Voice messaging receives converting unit 52, turns for receiving the voice messaging of user's input, and by the voice messaging It is changed to corresponding second text information;
Text information matching unit 53, for second text information and first text information to be carried out semantic The text matched, and obtained according to matching obtains the corresponding location information of second text information;
String localization information conversion unit 54, for according to conversion factor, the location information to be converted to described in broadcasting The second String localization information when demonstration document;
Text display unit 55, it is default prominent aobvious for being carried out to the corresponding text information of the second String localization information Show.
Optionally, the text information and String localization information acquisition unit 51 include:
File acquisition subelement, it is described to demonstration document for obtaining;
Manuscript image generates subelement, for generating the manuscript image of respective numbers by the number of pages to demonstration document;
Acquisition of information subelement, for carrying out image object identifying processing to the manuscript image, from the manuscript image To the first text information of demonstration document and the first String localization information corresponding with first text information described in middle extraction.
The text information and String localization information acquisition unit 51, comprising:
Text information and String localization acquisition of information subelement, for being assisted by described to the corresponding interface of demonstration document View obtains described to the third text information of demonstration document and third String localization corresponding with third text information letter Breath;
Text information and String localization information extraction subelement, for according to the manuscript figure generated to demonstration document As carrying out image object identifying processing, extracted from the manuscript image the 4th text information to demonstration document and with institute State the corresponding 4th String localization information of the 4th text information;
Text information and String localization information matches subelement, for by the third text information and with third text The corresponding third String localization information of this information, respectively and the 4th text information and corresponding with the 4th text information 4th String localization information is matched, and obtains the first text information and the first text corresponding with first text information is fixed Position information.
Optionally, the text information and String localization information matches subelement, are specifically used for:
According to location information, the third text information with same position is compared with the 4th text information;
When the third text information with same position is consistent with the 4th text information, by the third text information or 4th text information is set as the first text information;
When with same position third text information and the 4th text information it is inconsistent, and the third text information or 4th text information has one when being empty, does not replenish current location for corresponding for empty third text or the 4th text On, the text information that complete all positions are included will be supplemented and be set as the first text information;
When with same position third text information and the 4th text information it is inconsistent, and the third text information and When 4th text information is not empty, the third text information is replenished on current location, complete institute will be supplemented The text information for having position to be included is set as the first text information.
Optionally, the text information and String localization information matches subelement, are specifically also used to:
Third String localization information and the 4th String localization information within the scope of same coordinate are obtained, and the two is carried out Compare;
When the third String localization information within the scope of same coordinate is consistent with the 4th String localization information, by described Three String localization information or the 4th String localization information setting are the first String localization information;
When the third String localization information within the scope of same coordinate and the 4th String localization information are inconsistent, and the third It will not be that empty coordinate replenishes as sky when String localization information or the 4th String localization information have one coordinate to be empty Third String localization information or the 4th String localization information corresponding position in, coordinate is supplemented into complete third String localization Information or the 4th String localization information setting are the first String localization information;
When the third String localization information within the scope of same coordinate and the 4th String localization information are inconsistent, and the third When the coordinate of String localization information or the 4th String localization information is not empty, by the third String localization information setting For the first String localization information.
Optionally, the text information matching unit 53, is specifically used for:
Obtain the place page number of the currently playing content of pages to demonstration document;
Second text information text corresponding with the page number is subjected to semantic matches;
According to the matched text of institute, the corresponding location information of second text information is obtained.
Optionally, the String localization information conversion unit 54 includes:
Resolution ratio obtains subelement, for obtaining the first resolution to demonstration document and playing the text to be demonstrated The second resolution of the equipment of part;
Conversion factor computation subunit, for by conversion of resolution formula, calculating the first resolution and described the The conversion factor of two resolution ratio;
Location information conversion subunit, for according to the conversion factor, the location information to be converted to described in broadcasting The second String localization information when demonstration document.
In embodiments of the present invention, by obtaining to the first text information of demonstration document and corresponding with the first text information The first String localization information, and receive user input voice messaging, and by voice messaging be converted to it is corresponding second text After this information, then by the second text information and the first text information progress semantic matches, and according to obtained text is matched, obtain Then the corresponding location information of second text information according to conversion factor, which is converted to and is played wait demonstrate The second String localization information when file, and the corresponding text information of the second String localization information preset and is highlighted, Text information corresponding with the voice messaging of user's input is highlighted to reach prominent current text content, is played Audience is guided, attracts the effect of audience, and liberated the both hands of user, even if user leaves the terminal devices such as computer, notebook, Still the content that emphasis is shown can be wanted to it to highlight, and reduce user's operation, so that user experience is more preferable.
Fig. 6 is a kind of schematic diagram for terminal that one embodiment of the invention provides.As shown in fig. 6, the terminal of the embodiment is set Standby 6 include: processor 60, memory 61 and are stored in the meter that can be run in the memory 61 and on the processor 60 Calculation machine program 62.The processor 60 realizes above-mentioned each text display method embodiment when executing the computer program 62 In step, such as step 101 shown in FIG. 1 is to 105.Alternatively, reality when the processor 60 executes the computer program 62 The function of each unit in existing above-mentioned each system embodiment, such as the function of module 51 to 55 shown in Fig. 5.
Illustratively, the computer program 62 can be divided into one or more units, one or more of Unit is stored in the memory 61, and is executed by the processor 60, to complete the present invention.One or more of lists Member can be the series of computation machine program instruction section that can complete specific function, and the instruction segment is for describing the computer journey Implementation procedure of the sequence 62 in the terminal device 6.For example, the computer program 62 can be divided into text information and text This location information acquiring unit 51, voice messaging receive converting unit 52, text information matching unit 53, String localization information and turn Unit 54, text display unit 55 are changed, each unit concrete function is as follows:
Text information and String localization information acquisition unit 51, for obtain to demonstration document the first text information and with The corresponding first String localization information of first text information;
Voice messaging receives converting unit 52, turns for receiving the voice messaging of user's input, and by the voice messaging It is changed to corresponding second text information;
Text information matching unit 53, for second text information and first text information to be carried out semantic The text matched, and obtained according to matching obtains the corresponding location information of second text information;
String localization information conversion unit 54, for according to conversion factor, the location information to be converted to described in broadcasting The second String localization information when demonstration document;
Text display unit 55, it is default prominent aobvious for being carried out to the corresponding text information of the second String localization information Show.
Optionally, the text information and String localization information acquisition unit 51 include:
File acquisition subelement, it is described to demonstration document for obtaining;
Manuscript image generates subelement, for generating the manuscript image of respective numbers by the number of pages to demonstration document;
Acquisition of information subelement, for carrying out image object identifying processing to the manuscript image, from the manuscript image To the first text information of demonstration document and the first String localization information corresponding with first text information described in middle extraction.
The text information and String localization information acquisition unit 51, comprising:
Text information and String localization acquisition of information subelement, for being assisted by described to the corresponding interface of demonstration document View obtains described to the third text information of demonstration document and third String localization corresponding with third text information letter Breath;
Text information and String localization information extraction subelement, for according to the manuscript figure generated to demonstration document As carrying out image object identifying processing, extracted from the manuscript image the 4th text information to demonstration document and with institute State the corresponding 4th String localization information of the 4th text information;
Text information and String localization information matches subelement, for by the third text information and with third text The corresponding third String localization information of this information, respectively and the 4th text information and corresponding with the 4th text information 4th String localization information is matched, and obtains the first text information and the first text corresponding with first text information is fixed Position information.
Optionally, the text information and String localization information matches subelement, are specifically used for:
According to location information, the third text information with same position is compared with the 4th text information;
When the third text information with same position is consistent with the 4th text information, by the third text information or 4th text information is set as the first text information;
When with same position third text information and the 4th text information it is inconsistent, and the third text information or When 4th text information is empty, do not replenished corresponding on current location for empty third text or the 4th text, it will It supplements the text information that complete all positions are included and is set as the first text information;
When with same position third text information and the 4th text information it is inconsistent, and the third text information and When 4th text information is not empty, the third text information is replenished on current location, complete institute will be supplemented The text information for having position to be included is set as the first text information.
Optionally, the text information and String localization information matches subelement, are specifically also used to:
Third String localization information and the 4th String localization information within the scope of same coordinate are obtained, and the two is carried out Compare;
When the third String localization information within the scope of same coordinate is consistent with the 4th String localization information, by described Three String localization information or the 4th String localization information setting are the first String localization information;
When the third String localization information within the scope of same coordinate and the 4th String localization information are inconsistent, and the third It will not be that empty coordinate replenishes as sky when String localization information or the 4th String localization information have one coordinate to be empty Third String localization information or the 4th String localization information corresponding position in, coordinate is supplemented into complete third String localization Information or the 4th String localization information setting are the first String localization information;
When the third String localization information within the scope of same coordinate and the 4th String localization information are inconsistent, and the third When the coordinate of String localization information or the 4th String localization information is not empty, by the third String localization information setting For the first String localization information.
Optionally, the text information matching unit 53, is specifically used for:
Obtain the place page number of the currently playing content of pages to demonstration document;
Second text information text corresponding with the page number is subjected to semantic matches;
According to the matched text of institute, the corresponding location information of second text information is obtained.
Optionally, the String localization information conversion unit 54 includes:
Resolution ratio obtains subelement, for obtaining the first resolution to demonstration document and playing the text to be demonstrated The second resolution of the equipment of part;
Conversion factor computation subunit, for by conversion of resolution formula, calculating the first resolution and described the The conversion factor of two resolution ratio;
Location information conversion subunit, for according to the conversion factor, the location information to be converted to described in broadcasting The second String localization information when demonstration document.
The terminal device 6 may include, but be not limited only to, processor 60, memory 61.Those skilled in the art can manage Solution, Fig. 6 is only the example of terminal device 6, does not constitute the restriction to terminal device 6, may include more or more than illustrating Few component, perhaps combines certain components or different components, for example, the terminal can also include input-output equipment, Network access equipment, bus etc..
Alleged processor 60 can be central processing unit (Central Processing Unit, CPU), can also be Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor Deng.
The memory 61 can be the internal storage unit of the terminal device 6, for example, terminal device 6 hard disk or Memory.The memory 61 is also possible to the External memory equipment of the terminal device 6, such as is equipped on the terminal device 6 Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, Flash card (Flash Card) etc..Further, the memory 61 can also both include the storage inside of the terminal device 6 Unit also includes External memory equipment.The memory 61 is for storing needed for the computer program and the terminal it His program and data.The memory 61 can be also used for temporarily storing the data that has exported or will export.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different Functional unit, module are completed, i.e., the internal structure of the system is divided into different functional unit or module, more than completing The all or part of function of description.Each functional unit in embodiment, module can integrate in one processing unit, can also To be that each unit physically exists alone, can also be integrated in one unit with two or more units, it is above-mentioned integrated Unit both can take the form of hardware realization, can also realize in the form of software functional units.In addition, each function list Member, the specific name of module are also only for convenience of distinguishing each other, the protection scope being not intended to limit this application.Above system The specific work process of middle unit, module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed The scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed system/terminal device and method, it can be with It realizes by another way.For example, system described above/terminal device embodiment is only schematical, for example, institute The division of module or unit is stated, only a kind of logical function partition, there may be another division manner in actual implementation, such as Multiple units or components can be combined or can be integrated into another system, or some features can be ignored or not executed.Separately A bit, shown or discussed mutual coupling or direct-coupling or communication connection can be through some interfaces, system Or the INDIRECT COUPLING or communication connection of unit, it can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated module/unit be realized in the form of SFU software functional unit and as independent product sale or In use, can store in a computer readable storage medium.Based on this understanding, the present invention realizes above-mentioned implementation All or part of the process in example method, can also instruct relevant hardware to complete, the meter by computer program Calculation machine program can be stored in a computer readable storage medium, the computer program when being executed by processor, it can be achieved that on The step of stating each embodiment of the method.Wherein, the computer program includes computer program code, the computer program generation Code can be source code form, object identification code form, executable file or certain intermediate forms etc..The computer-readable medium It may include: any entity or system, recording medium, USB flash disk, mobile hard disk, magnetic that can carry the computer program code Dish, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that described The content that computer-readable medium includes can carry out increasing appropriate according to the requirement made laws in jurisdiction with patent practice Subtract, such as does not include electric carrier signal and electricity according to legislation and patent practice, computer-readable medium in certain jurisdictions Believe signal.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality Applying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified Or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all It is included within protection scope of the present invention.

Claims (13)

1. a kind of text display method, which is characterized in that the described method includes:
A: the first text information to demonstration document and the first String localization information corresponding with first text information are obtained;
B: the voice messaging of user's input is received, and the voice messaging is converted into corresponding second text information;
C: carrying out semantic matches, and the text obtained according to matching for second text information and first text information, Obtain the corresponding location information of second text information;
D: according to conversion factor, the location information is converted to and plays the second String localization letter when demonstration document Breath;
E: default highlight is carried out to the corresponding text information of the second String localization information.
2. the method as described in claim 1, which is characterized in that it is described obtain to demonstration document the first text information and with institute The step of stating the first text information corresponding first String localization information, comprising:
It obtains described to demonstration document;
The manuscript image of respective numbers is generated by the number of pages to demonstration document;
Based on described to demonstration document and/or the manuscript image, obtain first text information to demonstration document and with The corresponding first String localization information of first text information.
3. method according to claim 2, which is characterized in that based on described to demonstration document or the manuscript image, obtain The step of the first text information and the first String localization information corresponding with first text information to demonstration document, Include:
By described to the corresponding interface protocol of demonstration document, obtain first text information to demonstration document and with it is described The corresponding first String localization information of first text information;Or:
Image object identifying processing is carried out to the manuscript image, the to demonstration document is extracted from the manuscript image One text information and the first String localization information corresponding with first text information.
4. method according to claim 2, which is characterized in that based on described to demonstration document and the manuscript image, obtain The step of the first text information and the first String localization information corresponding with first text information to demonstration document, Include:
By described to the corresponding interface protocol of demonstration document, obtain the third text information to demonstration document and with it is described The corresponding third String localization information of third text information;
Image object identifying processing is carried out to the manuscript image, the to demonstration document is extracted from the manuscript image Four text informations and the 4th String localization information corresponding with the 4th text information;
By the third text information and third String localization information corresponding with the third text information, respectively with described Four text informations and the 4th String localization information corresponding with the 4th text information are matched, and the first text information is obtained With the first String localization information corresponding with first text information.
5. method as claimed in claim 4, which is characterized in that it is described by the third text information and with third text The corresponding third String localization information of this information, respectively and the 4th text information and corresponding with the 4th text information In the step of 4th String localization information is matched, comprising:
According to location information, the third text information with same position is compared with the 4th text information;
When the third text information with same position is consistent with the 4th text information, by the third text information or described 4th text information is set as the first text information;
When with same position third text information and the 4th text information it is inconsistent, and the third text information or described 4th text information has one when being empty, does not replenish corresponding on current location for empty third text or the 4th text, The text information that complete all positions are included will be supplemented and be set as the first text information;
When with same position third text information and the 4th text information it is inconsistent, and the third text information and described When 4th text information is not empty, the third text information is replenished on current location, complete all positions will be supplemented It sets included text information and is set as the first text information.
6. method as claimed in claim 4, which is characterized in that it is described by the third text information and with third text The corresponding third String localization information of this information, respectively and the 4th text information and corresponding with the 4th text information In the step of 4th String localization information is matched, comprising:
Third String localization information and the 4th String localization information within the scope of same coordinate are obtained, and the two is compared Compared with;
When the third String localization information within the scope of same coordinate is consistent with the 4th String localization information, by the third text This location information or the 4th String localization information setting are the first String localization information;
When the third String localization information within the scope of same coordinate and the 4th String localization information are inconsistent, and the third text Location information or the 4th String localization information have one coordinate when being empty, will be that empty coordinate replenishes are the of sky In the corresponding position of three String localization information or the 4th String localization information, coordinate is supplemented into complete third String localization information Or the 4th String localization information setting be the first String localization information;
When the third String localization information within the scope of same coordinate and the 4th String localization information are inconsistent, and the third text It is the by the third String localization information setting when coordinate of location information or the 4th String localization information is not empty One String localization information.
7. the method as described in claim 1, which is characterized in that in the voice messaging of the reception user input, and will be described Voice messaging was converted to after the step of corresponding second text information, further includes:
Determine in second text information whether include predetermined keyword;
If including predetermined keyword in second text information, c is thened follow the steps;
If not including predetermined keyword in second text information, b is thened follow the steps.
8. the method as described in claim 1, which is characterized in that described by second text information and first text envelope The step of breath carries out semantic matches, and according to the obtained text of matching, obtains second text information corresponding location information, Include:
Obtain the place page number of the currently playing content of pages to demonstration document;
Second text information text corresponding with the page number is subjected to semantic matches;
According to the matched text of institute, the corresponding location information of second text information is obtained.
9. method as described in any of the claims 1 to 8, which is characterized in that it is described according to conversion factor, by the location information Be converted to the step of playing second String localization information when demonstration document, comprising:
It obtains the first resolution to demonstration document and plays the second resolution of the equipment to demonstration document;
By conversion of resolution formula, the conversion factor of the first resolution and the second resolution is calculated;
According to the conversion factor, the location information is converted to and plays the second String localization letter when demonstration document Breath.
10. the method as described in claim 1, which is characterized in that described to the corresponding text of the second String localization information Information carries out default the step of highlighting, comprising:
Predetermined pattern is loaded in the corresponding coordinate position of the second String localization information, to the second String localization information Corresponding text information carries out default highlight.
11. a kind of textual display device, which is characterized in that described device includes:
Text information and String localization information acquisition unit, for obtaining to the first text information of demonstration document and with described The corresponding first String localization information of one text information;
Voice messaging receives converting unit, is converted to pair for receiving the voice messaging of user's input, and by the voice messaging The second text information answered;
Text information matching unit, for second text information and first text information to be carried out semantic matches, and According to the text that matching obtains, the corresponding location information of second text information is obtained;
String localization information conversion unit, for it is described wait demonstrate that the location information to be converted to broadcasting according to conversion factor The second String localization information when file;
Text display unit, for carrying out default highlight to the corresponding text information of the second String localization information.
12. a kind of terminal device, including memory, processor and storage are in the memory and can be on the processor The computer program of operation, which is characterized in that the processor realizes such as claims 1 to 10 when executing the computer program The step of any one text display method.
13. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists In the step of realization text display method as described in any one of claims 1 to 10 when the computer program is executed by processor Suddenly.
CN201910464395.3A 2019-05-30 2019-05-30 A kind of text display method, device and terminal device Pending CN110232111A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910464395.3A CN110232111A (en) 2019-05-30 2019-05-30 A kind of text display method, device and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910464395.3A CN110232111A (en) 2019-05-30 2019-05-30 A kind of text display method, device and terminal device

Publications (1)

Publication Number Publication Date
CN110232111A true CN110232111A (en) 2019-09-13

Family

ID=67858270

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910464395.3A Pending CN110232111A (en) 2019-05-30 2019-05-30 A kind of text display method, device and terminal device

Country Status (1)

Country Link
CN (1) CN110232111A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112114771A (en) * 2019-06-20 2020-12-22 珠海金山办公软件有限公司 Presentation file playing control method and device
CN112423089A (en) * 2020-11-19 2021-02-26 维沃移动通信有限公司 Live broadcasting method and device
CN113032499A (en) * 2019-12-25 2021-06-25 广州极飞科技股份有限公司 Auxiliary display method, auxiliary ground feature information labeling method, auxiliary display device, auxiliary ground feature information labeling equipment and auxiliary ground feature information labeling medium
WO2021139667A1 (en) * 2020-01-08 2021-07-15 阿里巴巴集团控股有限公司 Input processing method and apparatus, and computing device
CN115328381A (en) * 2022-08-05 2022-11-11 深圳乐播科技有限公司 Page pushing method and device and server
WO2023273702A1 (en) * 2021-06-29 2023-01-05 华为技术有限公司 Method and apparatus for synchronizing speech information and presentation information
CN113032499B (en) * 2019-12-25 2024-04-26 广州极飞科技股份有限公司 Auxiliary display and auxiliary labeling method, device, equipment and medium for ground object information

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104423573A (en) * 2013-09-05 2015-03-18 Lg电子株式会社 Display Device And Method Of Operating The Same
CN105895085A (en) * 2016-03-30 2016-08-24 科大讯飞股份有限公司 Multimedia transliteration method and system
CN108665764A (en) * 2018-05-11 2018-10-16 亮风台(上海)信息科技有限公司 A kind of method and apparatus read by arrangement for reading
CN109343768A (en) * 2018-09-21 2019-02-15 联想(北京)有限公司 Display methods and system, computer system and computer readable storage medium
WO2019092506A1 (en) * 2017-11-13 2019-05-16 Wetransfer B.V. Semantic slide autolayouts

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104423573A (en) * 2013-09-05 2015-03-18 Lg电子株式会社 Display Device And Method Of Operating The Same
CN105895085A (en) * 2016-03-30 2016-08-24 科大讯飞股份有限公司 Multimedia transliteration method and system
WO2019092506A1 (en) * 2017-11-13 2019-05-16 Wetransfer B.V. Semantic slide autolayouts
CN108665764A (en) * 2018-05-11 2018-10-16 亮风台(上海)信息科技有限公司 A kind of method and apparatus read by arrangement for reading
CN109343768A (en) * 2018-09-21 2019-02-15 联想(北京)有限公司 Display methods and system, computer system and computer readable storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
杨喜林: "《可视化程序设计VisualC++》", 31 August 2011 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112114771A (en) * 2019-06-20 2020-12-22 珠海金山办公软件有限公司 Presentation file playing control method and device
CN113032499A (en) * 2019-12-25 2021-06-25 广州极飞科技股份有限公司 Auxiliary display method, auxiliary ground feature information labeling method, auxiliary display device, auxiliary ground feature information labeling equipment and auxiliary ground feature information labeling medium
CN113032499B (en) * 2019-12-25 2024-04-26 广州极飞科技股份有限公司 Auxiliary display and auxiliary labeling method, device, equipment and medium for ground object information
WO2021139667A1 (en) * 2020-01-08 2021-07-15 阿里巴巴集团控股有限公司 Input processing method and apparatus, and computing device
CN112423089A (en) * 2020-11-19 2021-02-26 维沃移动通信有限公司 Live broadcasting method and device
CN112423089B (en) * 2020-11-19 2023-02-03 维沃移动通信有限公司 Live broadcasting method and device
WO2023273702A1 (en) * 2021-06-29 2023-01-05 华为技术有限公司 Method and apparatus for synchronizing speech information and presentation information
CN115328381A (en) * 2022-08-05 2022-11-11 深圳乐播科技有限公司 Page pushing method and device and server
CN115328381B (en) * 2022-08-05 2023-09-05 深圳乐播科技有限公司 Page pushing method, device and server

Similar Documents

Publication Publication Date Title
CN110232111A (en) A kind of text display method, device and terminal device
US20220164395A1 (en) Using Natural Language Processing for Visual Analysis of a Data Set
US9601113B2 (en) System, device and method for processing interlaced multimodal user input
JP5439454B2 (en) Electronic comic editing apparatus, method and program
CN110770735B (en) Transcoding of documents with embedded mathematical expressions
CN110659527B (en) Form detection in electronic forms
CN109614846A (en) Manage real-time handwriting recognition
KR20170014353A (en) Apparatus and method for screen navigation based on voice
CN115238214A (en) Presentation method, presentation device, computer equipment, storage medium and program product
CN101561725B (en) Method and system of fast handwriting input
CN111240669B (en) Interface generation method and device, electronic equipment and computer storage medium
CN106527945A (en) Text information extracting method and device
US20220147835A1 (en) Knowledge graph construction system and knowledge graph construction method
US20160078865A1 (en) Information Processing Method And Electronic Device
WO2020187117A1 (en) Figure page display method and apparatus, and text page display method and apparatus
WO2023087934A1 (en) Voice control method, apparatus, device, and computer storage medium
US9141867B1 (en) Determining word segment boundaries
US9710701B2 (en) Handwriting data search
CN106601256A (en) Voice recognition method and mobile terminal
CN109478122A (en) The gesture based on pressure for graphic keyboard is keyed in
CN102323858B (en) Identify the input method of modification item in input, terminal and system
WO2021104274A1 (en) Image and text joint representation search method and system, and server and storage medium
CN106775337A (en) The method for sorting and mobile terminal of multipad icon
US11929100B2 (en) Video generation method, apparatus, electronic device, storage medium and program product
US11907524B2 (en) Digital ink processing system, method, and program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190913