CN110008884A - A kind of literal processing method and terminal - Google Patents

A kind of literal processing method and terminal Download PDF

Info

Publication number
CN110008884A
CN110008884A CN201910245755.0A CN201910245755A CN110008884A CN 110008884 A CN110008884 A CN 110008884A CN 201910245755 A CN201910245755 A CN 201910245755A CN 110008884 A CN110008884 A CN 110008884A
Authority
CN
China
Prior art keywords
text
input
target
terminal
information
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
CN201910245755.0A
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.)
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 CN201910245755.0A priority Critical patent/CN110008884A/en
Publication of CN110008884A publication Critical patent/CN110008884A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • G06F3/0233Character input methods
    • G06F3/0237Character input methods using prediction or retrieval techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/279Recognition of textual entities
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present invention provides a kind of literal processing method and terminal, this method comprises: carrying out Text region to target object;Show the text information obtained by Text region;If detecting the first input for first object text in the text information, the candidate substitution text of the first object text is shown;It receives and the selection of target substitution text in the candidate substitution text is inputted;The first object text in the text information is replaced with into the target substitution text.In this way, can directly modify to first object text in text information, the operation of the modification to first object text can be simplified, improve modification efficiency.

Description

A kind of literal processing method and terminal
Technical field
The present invention relates to field of communication technology more particularly to a kind of literal processing method and terminals.
Background technique
Currently, for the text information in image, module can be known by the text of terminal, and (such as terminal passes through optics word Symbol identification software) it is identified, to obtain text knowledge figure result.Since terminal is identified to the text information in image When, do not ensure that identification is accurate completely, it is therefore desirable to repair to the text for identifying mistake in the text knowledge figure result of acquisition Change, or certain character orders of text knowledge figure result are adjusted.But terminal is obtained to by text knowledge module at present The text knowledge figure result obtained only supports the functions such as duplication, sharing, if user needs to repair the text in text knowledge figure result Change, then needing for text knowledge figure result to be copied to note, notepad etc. can support to modify in the application of editting function, operate numerous Trivial, editorial efficiency is low.
Summary of the invention
The embodiment of the present invention provides a kind of literal processing method and terminal, to solve the text knowledge figure that user obtains terminal As a result when the text in is modified, the low problem of editorial efficiency.
In order to solve the above technical problems, the present invention is implemented as follows:
In a first aspect, being applied to terminal the embodiment of the invention provides a kind of literal processing method, comprising:
Text region is carried out to target object;
Show the text information obtained by Text region;
If detecting for the first input of first object text in the text information, the first object text is shown Candidate substitution text;
It receives and the selection of target substitution text in the candidate substitution text is inputted;
The first object text in the text information is replaced with into the target substitution text.
Second aspect, the embodiment of the present invention also provide a kind of terminal, comprising:
Identification module, for carrying out Text region to target object;
First display module, for showing the text information obtained by Text region;
Second display module, if being shown for detecting for the first input of first object text in the text information Show the candidate substitution text of the first object text;
First receiving module, for receiving the selection input to target substitution text in the candidate substitution text;
Replacement module, for the first object text in the text information to be replaced with the target substitution text Word.
The third aspect, the embodiment of the present invention also provide a kind of terminal, including processor, memory and are stored in the storage On device and the computer program that can run on the processor, realized when the computer program is executed by the processor The step of stating literal processing method.
Fourth aspect, the embodiment of the present invention also provide a kind of computer readable storage medium, the computer-readable storage Computer program is stored on medium, the computer program realizes the step of above-mentioned literal processing method when being executed by processor Suddenly.
In embodiments of the present invention, Text region is carried out to target object;Display is believed by the text that Text region obtains Breath;If detecting for the first input of first object text in the text information, the time of the first object text is shown Choosing substitution text;It receives and the selection of target substitution text in the candidate substitution text is inputted;It will be in the text information The first object text replaces with the target substitution text.In this way, can be directly to first object text in text information It modifies, the operation of the modification to first object text can be simplified, improve modification efficiency.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, needed in being described below to the embodiment of the present invention Attached drawing to be used is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, For those of ordinary skill in the art, without any creative labor, it can also obtain according to these attached drawings Obtain other attached drawings.
Fig. 1 is one of the flow chart of literal processing method provided in an embodiment of the present invention;
Fig. 2 and Fig. 3 is the interface schematic diagram of the terminal provided in an embodiment of the present invention using literal processing method;
Fig. 4 is the two of the flow chart of literal processing method provided in an embodiment of the present invention;
Fig. 5-Figure 10 is the interface schematic diagram of the terminal provided in an embodiment of the present invention using literal processing method;
Figure 11 is the structure chart of terminal provided in an embodiment of the present invention;
Figure 12 be another embodiment of the present invention provides terminal structure chart.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
It is the flow chart of literal processing method provided in an embodiment of the present invention referring to Fig. 1, Fig. 1, as shown in Figure 1, this implementation Example provides a kind of literal processing method, comprising the following steps:
Step 101 carries out Text region to target object.
Target object can be the webpage or picture for including word content, can also be the document that not can be carried out editing and processing, example Such as the document of pdf format.Optical character identification (Optical Character Recognition, abbreviation OCR) technology can be used Text region is carried out to target object.Word content includes text or symbol.
The text information that step 102, display are obtained by Text region.
Specifically, text information includes text, in the present embodiment, text can for phrase, sentence, single word or Symbol.
Terminal, can be in the first display area displaying target object of terminal, in the second display area of terminal in display Show text information, the first display area and the second display area be not be overlapped, in this way, user can be by text information and target pair Word content as in is compared, to be further processed.For example, the top half displaying target of the display screen in terminal Object, display screen lower half portion show text information, if terminal include the first screen and the second screen, on the first screen Displaying target object, in the second screen display text information.
If step 103 is detected for the first input of first object text in the text information, described first is shown The candidate substitution text of target text.
When having Text region mistake in text information or not going out to Text region, need to the text in text information It modifies.
Specifically, the first input is to slidably input.For example, as shown in Fig. 2, dragging the small cube where first object text It is to slidably input starting point to target area, or with the small cube where first object text, target area is to slidably input end Point is slided, and terminal shows the candidate substitution text of the first object text.Candidate's substitution text can be first object text The nearly word form of word.As shown in Fig. 2, terminal shows "true" when user carries out slide for first object text "true" Nearly word form.Target area can be the screen area except text information display area, for example, target area can be aobvious for target object The region shown, specifically without limitation.
If the text in text information is shown in the form of small cube, obtained as shown in figure 3, showing Text region in Fig. 3 The text information obtained, text information include phrase, number, word and punctuation mark, and each phrase, number, word and punctuation mark separate It has been shown that, i.e., each phrase, number, word and punctuation mark are respectively displayed in each small cube.At this point, user can be by clicking small cube First object text is chosen, the text for including in small cube is first object text.
Step 104 is received to the candidate selection input for substituting target substitution text in text.
Input is selected to choose the candidate input for substituting target substitution text in text.Select input can to slidably input or Person clicks input, it is not limited here.
The first object text in the text information is replaced with the target substitution text by step 105.
Terminal is inputted according to selection, and the first object text in the text information is replaced with the target substitution Text, to realize that the modification to first object text is handled.
In the embodiment of the present invention, above-mentioned terminal can for mobile phone, tablet computer (Tablet Personal Computer), Laptop computer (Laptop Computer), personal digital assistant (personal digital assistant, abbreviation PDA), Mobile Internet access device (Mobile Internet Device, MID) or wearable device (Wearable Device) etc..
The literal processing method of the embodiment of the present invention carries out Text region to target object;Display is obtained by Text region The text information obtained;If detecting for the first input of first object text in the text information, first mesh is shown Mark the candidate substitution text of text;It receives and the selection of target substitution text in the candidate substitution text is inputted;By the text The first object text in word information replaces with the target substitution text.In this way, can be directly in text information One target text is modified, and can be simplified the operation of the modification to first object text, be improved modification efficiency.
Further, referring to fig. 4, Fig. 4 is the flow chart of literal processing method provided in an embodiment of the present invention, such as Fig. 4 institute Show, the present embodiment provides a kind of literal processing methods, comprising the following steps:
Step 201 carries out Text region to target object.
The text information that step 202, display are obtained by Text region.
Step 201- step 202 is consistent with the record in step 101- step 102, and details are not described herein.
Step 203, detect for the first object text first input in the case where, receive in the terminal Predeterminable area in second input.
Specifically, the first input is to slidably input.For example, as shown in Fig. 2, dragging the small cube where first object text It is to slidably input starting point to target area, or with the small cube where first object text, target area is to slidably input end Point is slided, and terminal shows the candidate substitution text of the first object text.Candidate's substitution text can be first object text The nearly word form of word, candidate's substitution text can specifically be obtained from character library.Candidate's substitution text specifically can be displayed in target object institute Region between region shown by display area and text information, as shown in Fig. 2, when user for first object text "true" into When row slide, terminal shows the nearly word form of "true".Target area can be the region that target object is shown.
If in the candidate substitution text of display not including text required for user, user can input the in predeterminable area Two inputs, the second input are to write the input of book text.
Step 204, corresponding with second input text of display, wherein the candidate substitute text include with it is described The corresponding text of second input.
Terminal shows corresponding text according to the second input, for selection by the user.Candidate's substitution text includes and described the The corresponding text of two inputs.Predeterminable area can be configured according to the actual situation, for example, as shown in Fig. 2, " () " in figure (in include Number) included by region be predeterminable area.
Further, if terminal receives the input of the selection to text corresponding with second input;By the text The first object text in information replaces with text corresponding with second input, meanwhile, update character library, will with it is described The corresponding text of second input is stored in character library as the candidate substitution text of first object text.Terminal is obtaining the first mesh It when marking the nearly word form of text, is obtained from character library, updating character library can enrich constantly the text stored in character library, facilitate use Text needed for family obtains.
Step 205 is received to the candidate selection input for substituting target substitution text in text;
The first object text in the text information is replaced with the target substitution text by step 206.
Step 205- step 206 is consistent with the record in step 104- step 105, and details are not described herein.
In the present embodiment, in the case where detecting the first input for the first object text, receive described The second input in the predeterminable area of terminal;Show text corresponding with second input, wherein the candidate substitution text Including text corresponding with second input.In this way, user can be directly corresponding with the second input by the second input acquisition Text, first object text is quickly revised as text corresponding with the second input, can simplify and first object text is repaired Change operation, improves modification efficiency.
Further, terminal is the text to all areas in target object when carrying out Text region to target object Content is identified, is possible to will include the unwanted text of user in text information, for example, if identifying to document, eventually End can also identify the page number of document, so that including the page number in text information, which is extra text for users Word, user need to delete the page number.
The first object text in text information is deleted such as under type specifically, can be used.
The literal processing method further include: if detecting for first object text described in the text information Three inputs, the first object text is deleted from the text information;
Alternatively,
If detecting the 4th input for first object text described in the text information, in the first object text Icon is deleted in the display of word side;If detecting for the selection input for deleting icon, by the first object text from institute It states in text information and deletes.
Specifically, third input is to slidably input.For example, if text information is shown in a manner of shown in Fig. 3, user's finger Small cube where dragging first object text towards assigned direction (for example, upwards), first object text and its place it is small Square is deleted together, at this point, third input only includes slidably inputing, this slidably inputs finger and drags the first mesh according to assigned direction Mark the input of the small cube where text.
Third input includes clicking input and slidably inputing.For example, if being used when text information is shown in a manner of shown in Fig. 3 Family can click the small cube where first object text, then will be where first object text to choose first object text Small cube dragged towards assigned direction, the small cube at first object text and its place is deleted together.At this point, third input packet It includes and the click of first object text is chosen to input and slidably input, slidably input finger according to assigned direction and drag first object text The input of the small cube at place.
4th input is pressing input, selects input to click input.For example, as shown in figure 5, pressing first object text The small cube at place, terminal can carry out On-Screen Identification by pressure sensor, the first object text institute that pressing input is chosen Indigo plant is set in small cube, and is shown in small cube one end and deletes icon, deleting icon can beOr "×".Then it clicks and deletes Except icon, first object text and its small cube at place can be deleted together.
For another example can also be pressing text information includes as shown in fig. 6, pressing the small cube where first object text Any one small cube, compressing time is greater than default compressing time threshold value, and (default compressing time threshold value can be according to the actual situation It is configured, it is not limited here) in the case where, terminal shows deletion figure in the side for each small cube that text information includes Then mark is clicked and deletes icon, can delete together first object text and its small cube at place.
4th input includes pressing input and slidably inputs, and selects input to click input.For example, as shown in figure 5, pressing Small cube where first object text, terminal can carry out On-Screen Identification by pressure sensor, that pressing input is chosen Small cube where one target text sets indigo plant, and (i.e. dragging the is then slidably inputed for small cube where first object text Small cube where one target text), terminal is shown in small cube one end deletes icon.It clicks and deletes icon, it can be by first object Text and its small cube at place are deleted together.
It in the present embodiment, will if detecting the third input for first object text described in the text information The first object text is deleted from the text information;Alternatively, if detecting for first described in the text information 4th input of target text, shows in first object text side and deletes icon;If detecting for the deletion figure Target selection input, the first object text is deleted from the text information.In this way, by text information first The third of target text inputs or the 4th input, to carry out delete processing to first object text, can simplify to first object text The delete operation of word, improves editorial efficiency.
Further, above-mentioned literal processing method further include: if detecting for the first mesh described in the text information The 5th input for marking text, by the first object character motion to target position corresponding with the 5th input.
It is to be identified to target object according to sequence from top to bottom, from left to right when terminal carries out text identification, If the content of text sortord in target object is irregular, as shown in fig. 7, the sequence side of the content of text in target object Formula is irregular, and the text information after identification can not form clear and coherent sentence, needs to adjust the character order in text information It is whole.
5th input can be mobile input, such as move the input of first object text.The first object text is moved It moves to target position corresponding with the 5th input.For example, pressing needs the small cube where mobile first object text (at this point, small box can set indigo plant) drags small box movement, selected small cube is moved to the target position that expectation is placed, then Small box is unclamped, the movement of first object text can be realized, achievees the purpose that adjust first object character order.
Further, the terminal includes the first screen and the second screen;By the first object text in the text information Word replaces with after the target substitution text, further includes:
In first screen display replacement treated text information;
Receive the selection input for the second target text in replacement treated the text information;
Second target text duplication is affixed in the runnable interface for the target application that second screen is shown.
Specifically, the selection for the second target text is inputted for choosing the second target text.For as shown in Figure 3 Text information (can be described, which is known as by the small cube where choosing the starting text of the second target text to simplify Originate small cube) and the second target text terminate text where small cube (described to simplify, which is known as terminating to begin Small cube), to choose starting small cube and terminate the small cube between small cube.Second target text includes starting small cube packet The text that includes, starting small cube and terminate text that the small cube between small cube includes and terminate beginning small cube include Text.
When small box as shown in figure 8, the small box where choosing " evening ", and where " ", the second target text packet Include " evening ", " together ", " going ", " having a meal ", the text in the small box where " ".
In addition, when select to input as greater than pre-determined distance when slidably inputing for the second target text, such as from screen The curtain upper left corner slides into the slide in the screen lower right corner, direction as shown by the arrows in Figure 8, can will replacement treated text letter Text in breath is all chosen, and realizes quickly full choosing.
Target application may include notepad, document, mail or social software etc..The runnable interface of target application can be managed Solution is the interface after target application is opened, and in the interface, user can be with inputting word information.
For example, after carrying out editing and processing to first object text, as shown in figure 8, " sharing " of clicking menu bar carries out Share, or fast shared in the following way: list is shared wait share to enter using addition, as shown in figure 9, Fig. 9 In include multiple wait share using corresponding icon (the application 1- in such as Fig. 9 belongs to application to be shared using 6), Mei Gefen The corresponding serial number (serial number in such as Fig. 9) of application icon is enjoyed, after user selects one of sharing application icon, terminal root Corresponding target application is determined according to the selection, and the duplication of the second target text is affixed into the target application that second screen is shown In runnable interface.
Specifically, terminal include the first screen and the second screen in the case where, can the first screen display replace treated Text information.In the runnable interface of the second screen display target application.As shown in Figure 10, on the first screen simultaneously displaying target pair As and text information, text information is compareed with the word content in target object convenient for user, it is convenient to text information It is edited.After being completed to text information editor, the second target text is copied in target application.For example, user drags Dynamic second target text is mobile towards default duplication direction, or carries out the slide for the second target text, can be by second Target text is copied to target application, and on the runnable interface of target application displaying duplication the second target text.Run boundary Face is the interface that displaying duplication pastes text.
Since the second text information is shown on different screens from the runnable interface of target application, in this way, in the first screen When upper switching target object, the display of the runnable interface of target application will not be had an impact.Successively to multiple on the first screen Target object carries out Text region, and the second target text in the text information of each acquisition can be copied in target application, It is i.e. sustainable to add the second target text to target application, so that target application can get the text in multiple and different target objects Word, this mode for obtaining the second target text is intuitive and efficient, enormously simplifies user's operation, improves editorial efficiency.
It is the structure chart of terminal provided in an embodiment of the present invention referring to Figure 11, Figure 11, as shown in figure 11, terminal 400 includes:
Identification module 401, for carrying out Text region to target object;
First display module 402, for showing the text information obtained by Text region;
Second display module 403, if for detecting the first input for first object text in the text information, Show the candidate substitution text of the first object text;
First receiving module 404, for receiving the selection input to target substitution text in the candidate substitution text;
Replacement module 405, for the first object text in the text information to be replaced with the target substitution Text.
Further, second display module 403, comprising:
Receiving submodule, if being received in the case where detecting the first input for the first object text The second input in the predeterminable area of the terminal;
Display sub-module, for showing text corresponding with second input, wherein the candidate substitutes text and includes Text corresponding with second input.
Further, the terminal 400 further include:
Removing module, if for detecting the third input for first object text described in the text information, it will The first object text is deleted from the text information;
Alternatively,
If detecting the 4th input for first object text described in the text information, in the first object text Icon is deleted in the display of word side;If detecting for the selection input for deleting icon, by the first object text from institute It states in text information and deletes.
Further, the terminal 400 further include:
Mobile module, if for detecting the 5th input for first object text described in the text information, it will The first object character motion extremely target position corresponding with the 5th input.
Further, the terminal includes the first screen and the second screen;
The terminal further include:
Third display module, in first screen display replacement treated text information;
Second receiving module, for receiving the selection for being directed to the second target text in replacement treated the text information Input;
Processing module, for second target text duplication to be affixed to the fortune for the target application that second screen is shown In row interface.
Terminal 400 can be realized each process that terminal is realized in the embodiment of the method for Fig. 1 to Fig. 4, to avoid repeating, this In repeat no more.
The terminal 400 of the embodiment of the present invention carries out Text region to target object;Show the text obtained by Text region Word information;If detecting for the first input of first object text in the text information, the first object text is shown Candidate substitution text;It receives and the selection of target substitution text in the candidate substitution text is inputted;By the text information In the first object text replace with the target substitution text.In this way, can be directly to first object in text information Text is modified, and can be simplified the operation of the modification to first object text, be improved modification efficiency.
A kind of hardware structural diagram of Figure 12 terminal of each embodiment to realize the present invention, as shown in figure 12, the end End 500 includes but is not limited to: radio frequency unit 501, network module 502, audio output unit 503, input unit 504, sensor 505, display unit 506, user input unit 507, interface unit 508, memory 509, processor 510 and power supply 511 etc. Component.It will be understood by those skilled in the art that the restriction of the not structure paired terminal of terminal structure shown in Figure 12, terminal can be with Including perhaps combining certain components or different component layouts than illustrating more or fewer components.In the embodiment of the present invention In, terminal include but is not limited to mobile phone, tablet computer, laptop, palm PC, car-mounted terminal, wearable device and Pedometer etc..
Wherein, processor 510, for carrying out Text region to target object;
Show the text information that Text region obtains;Wherein, terminal can edit the text in the text information Processing, the editing and processing include at least one in delete processing, mobile processing or modification processing.
Further, processor 510 are also used to:
Text region is carried out to target object;
Show the text information obtained by Text region;
If detecting for the first input of first object text in the text information, the first object text is shown Candidate substitution text;
It receives and the selection of target substitution text in the candidate substitution text is inputted;
The first object text in the text information is replaced with into the target substitution text.
Further, processor 510, for the case where detecting the first input for the first object text Under, receive the second input in the predeterminable area of the terminal;
Show text corresponding with second input, wherein the candidate substitution text includes and described second inputs Corresponding text.
Further, processor 510, if for detecting for first object text described in the text information Three inputs, the first object text is deleted from the text information;
Alternatively,
If detecting the 4th input for first object text described in the text information, in the first object text Icon is deleted in the display of word side;If detecting for the selection input for deleting icon, by the first object text from institute It states in text information and deletes.
Further, processor 510, if for detecting for first object text described in the text information Five inputs, by the first object character motion to target position corresponding with the 5th input.
Further, processor 510 include the first screen and the second screen for the terminal;
After the first object text in the text information is replaced with the target substitution text, further includes:
In first screen display replacement treated text information;
Receive the selection input for the second target text in replacement treated the text information;
Second target text duplication is affixed in the runnable interface for the target application that second screen is shown.
Terminal 500 can be realized each process that terminal is realized in previous embodiment, no longer superfluous here to avoid repeating It states.
The terminal 500 of the embodiment of the present invention carries out Text region to target object;Show the text obtained by Text region Word information;If detecting for the first input of first object text in the text information, the first object text is shown Candidate substitution text;It receives and the selection of target substitution text in the candidate substitution text is inputted;By the text information In the first object text replace with the target substitution text.In this way, can be directly to first object in text information Text is modified, and can be simplified the operation of the modification to first object text, be improved modification efficiency.
It should be understood that the embodiment of the present invention in, radio frequency unit 501 can be used for receiving and sending messages or communication process in, signal Send and receive, specifically, by from base station downlink data receive after, to processor 510 handle;In addition, by uplink Data are sent to base station.In general, radio frequency unit 501 includes but is not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 501 can also by wireless communication system and network and other set Standby communication.
Terminal provides wireless broadband internet by network module 502 for user and accesses, and such as user is helped to receive and dispatch electricity Sub- mail, browsing webpage and access streaming video etc..
Audio output unit 503 can be received by radio frequency unit 501 or network module 502 or in memory 509 The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 503 can also provide and end The relevant audio output of specific function (for example, call signal receives sound, message sink sound etc.) that end 500 executes.Sound Frequency output unit 503 includes loudspeaker, buzzer and receiver etc..
Input unit 504 is for receiving audio or video signal.Input unit 504 may include graphics processor (Graphics Processing Unit, GPU) 5041 and microphone 5042, graphics processor 5041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 506.Through graphics processor 5041, treated that picture frame can be deposited Storage is sent in memory 509 (or other storage mediums) or via radio frequency unit 501 or network module 502.Mike Wind 5042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be The format output that mobile communication base station can be sent to via radio frequency unit 501 is converted in the case where telephone calling model.
Terminal 500 further includes at least one sensor 505, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ambient light Light and shade adjusts the brightness of display panel 5061, and proximity sensor can close display panel when terminal 500 is moved in one's ear 5061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (generally three axis) and add The size of speed can detect that size and the direction of gravity when static, can be used to identify terminal posture (such as horizontal/vertical screen switching, Dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Sensor 505 can be with Including fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, hygrometer, thermometer, Infrared sensor etc., details are not described herein.
Display unit 506 is for showing information input by user or being supplied to the information of user.Display unit 506 can wrap Display panel 5061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 5061.
User input unit 507 can be used for receiving the number or character information of input, and generates and set with the user of terminal It sets and the related key signals of function control inputs.Specifically, user input unit 507 include touch panel 5071 and other Input equipment 5072.Touch panel 5071, also referred to as touch screen, collect user on it or nearby touch operation (such as User is using any suitable objects or attachment such as finger, stylus on touch panel 5071 or near touch panel 5071 Operation).Touch panel 5071 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus is examined The touch orientation of user is surveyed, and detects touch operation bring signal, transmits a signal to touch controller;Touch controller from Touch information is received on touch detecting apparatus, and is converted into contact coordinate, then gives processor 510, receives processor 510 The order sent simultaneously is executed.Furthermore, it is possible to using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves Realize touch panel 5071.In addition to touch panel 5071, user input unit 507 can also include other input equipments 5072. Specifically, other input equipments 5072 can include but is not limited to physical keyboard, function key (such as volume control button, switch Key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 5071 can be covered on display panel 5061, when touch panel 5071 is detected at it On or near touch operation after, send processor 510 to determine the type of touch event, be followed by subsequent processing device 510 according to touching The type for touching event provides corresponding visual output on display panel 5061.Although in Figure 12, touch panel 5071 and aobvious Show that panel 5061 is the function that outputs and inputs of realizing terminal as two independent components, but in certain embodiments, The function that outputs and inputs that touch panel 5071 and display panel 5061 can be integrated and be realized terminal, does not limit specifically herein It is fixed.
Interface unit 508 is the interface that external device (ED) is connect with terminal 500.For example, external device (ED) may include it is wired or Wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, memory card port, For connecting port, the port audio input/output (I/O), video i/o port, ear port of the device with identification module Etc..Interface unit 508 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and will One or more elements that the input received is transferred in terminal 500 or can be used for terminal 500 and external device (ED) it Between transmit data.
Memory 509 can be used for storing software program and various data.Memory 509 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 509 may include high-speed random access memory, it can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 510 is the control centre of terminal, using the various pieces of various interfaces and the entire terminal of connection, is led to It crosses operation or executes the software program and/or module being stored in memory 509, and call and be stored in memory 509 Data execute the various functions and processing data of terminal, to carry out integral monitoring to terminal.Processor 510 may include one Or multiple processing units;Preferably, processor 510 can integrate application processor and modem processor, wherein application processing The main processing operation system of device, user interface and application program etc., modem processor mainly handles wireless communication.It can manage Solution, above-mentioned modem processor can not also be integrated into processor 510.
Terminal 500 can also include the power supply 511 (such as battery) powered to all parts, it is preferred that power supply 511 can be with It is logically contiguous by power-supply management system and processor 510, thus by power-supply management system realize management charging, electric discharge, with And the functions such as power managed.
In addition, terminal 500 includes some unshowned functional modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of terminal, including processor 510, and memory 509 is stored in storage It is real when which is executed by processor 510 on device 509 and the computer program that can be run on the processor 510 Each process of existing above-mentioned literal processing method embodiment, and identical technical effect can be reached, to avoid repeating, here no longer It repeats.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program, the computer program realize each process of above-mentioned literal processing method embodiment, and energy when being executed by processor Reach identical technical effect, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium, such as only Read memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic or disk etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form belongs within protection of the invention.

Claims (11)

1. a kind of literal processing method is applied to terminal characterized by comprising
Text region is carried out to target object;
Show the text information obtained by Text region;
If detecting for the first input of first object text in the text information, the time of the first object text is shown Choosing substitution text;
It receives and the selection of target substitution text in the candidate substitution text is inputted;
The first object text in the text information is replaced with into the target substitution text.
2. if the method according to claim 1, wherein detected for the first object text One input shows the candidate substitution text of the first object text, comprising:
In the case where detecting the first input for the first object text, receive in the predeterminable area of the terminal Second input;
Show text corresponding with second input, wherein the candidate substitution text includes corresponding with second input Text.
3. the method according to claim 1, wherein the method also includes: if detecting for the text The third of first object text described in information inputs, and the first object text is deleted from the text information;
Alternatively,
If the 4th input for first object text described in the text information is detected, in the first object text one Icon is deleted in side display;If detecting for the selection input for deleting icon, by the first object text from the text It is deleted in word information.
4. the method according to claim 1, wherein the method also includes:
If detecting the 5th input for first object text described in the text information, the first object text is moved It moves to target position corresponding with the 5th input.
5. the method according to claim 1, wherein the terminal includes the first screen and the second screen;
After the first object text in the text information is replaced with the target substitution text, further includes:
In first screen display replacement treated text information;
Receive the selection input for the second target text in replacement treated the text information;
Second target text duplication is affixed in the runnable interface for the target application that second screen is shown.
6. a kind of terminal characterized by comprising
Identification module, for carrying out Text region to target object;
First display module, for showing the text information obtained by Text region;
Second display module, if showing institute for detecting for the first input of first object text in the text information State the candidate substitution text of first object text;
First receiving module, for receiving the selection input to target substitution text in the candidate substitution text;
Replacement module, for the first object text in the text information to be replaced with the target substitution text.
7. terminal according to claim 6, which is characterized in that second display module, comprising:
Receiving submodule, if receiving in the case where detecting the first input for the first object text in institute State the second input in the predeterminable area of terminal;
Display sub-module, for showing text corresponding with second input, wherein the candidate substitutes text and includes and institute State the corresponding text of the second input.
8. terminal according to claim 6, which is characterized in that the terminal further include:
Removing module, if for detecting the third input for first object text described in the text information, it will be described First object text is deleted from the text information;
Alternatively,
If the 4th input for first object text described in the text information is detected, in the first object text one Icon is deleted in side display;If detecting for the selection input for deleting icon, by the first object text from the text It is deleted in word information.
9. terminal according to claim 6, which is characterized in that the terminal further include:
Mobile module, if for detecting the 5th input for first object text described in the text information, it will be described First object character motion extremely target position corresponding with the 5th input.
10. terminal according to claim 6, which is characterized in that the terminal includes the first screen and the second screen;
The terminal further include:
Third display module, in first screen display replacement treated text information;
Second receiving module, for receive be directed to the second target text in replacement treated the text information selection it is defeated Enter;
Processing module, for second target text duplication to be affixed to operation circle for the target application that second screen is shown In face.
11. a kind of terminal, which is characterized in that including processor, memory and be stored on the memory and can be at the place The computer program run on reason device is realized when the computer program is executed by the processor as appointed in claim 1 to 5 The step of literal processing method described in one.
CN201910245755.0A 2019-03-28 2019-03-28 A kind of literal processing method and terminal Pending CN110008884A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910245755.0A CN110008884A (en) 2019-03-28 2019-03-28 A kind of literal processing method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910245755.0A CN110008884A (en) 2019-03-28 2019-03-28 A kind of literal processing method and terminal

Publications (1)

Publication Number Publication Date
CN110008884A true CN110008884A (en) 2019-07-12

Family

ID=67168778

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910245755.0A Pending CN110008884A (en) 2019-03-28 2019-03-28 A kind of literal processing method and terminal

Country Status (1)

Country Link
CN (1) CN110008884A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111402367A (en) * 2020-03-27 2020-07-10 维沃移动通信有限公司 Image processing method and electronic equipment
CN112698739A (en) * 2020-12-28 2021-04-23 联想(北京)有限公司 Positioning method and device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101382866A (en) * 2008-09-26 2009-03-11 腾讯科技(深圳)有限公司 System and method for correcting input characters
CN102349087A (en) * 2009-03-12 2012-02-08 谷歌公司 Automatically providing content associated with captured information, such as information captured in real-time
CN105446572A (en) * 2014-08-13 2016-03-30 阿里巴巴集团控股有限公司 Text-editing method and device used for screen display device
CN105824552A (en) * 2015-07-29 2016-08-03 维沃移动通信有限公司 Text information recognition method and device
CN107451582A (en) * 2017-07-13 2017-12-08 安徽声讯信息技术有限公司 A kind of graphics context identifying system and its recognition methods
CN107885345A (en) * 2017-10-17 2018-04-06 深圳市金立通信设备有限公司 A kind of method, terminal and computer-readable medium for aiding in amendment word
CN108304815A (en) * 2018-02-08 2018-07-20 百度在线网络技术(北京)有限公司 A kind of data capture method, device, server and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101382866A (en) * 2008-09-26 2009-03-11 腾讯科技(深圳)有限公司 System and method for correcting input characters
CN102349087A (en) * 2009-03-12 2012-02-08 谷歌公司 Automatically providing content associated with captured information, such as information captured in real-time
CN105446572A (en) * 2014-08-13 2016-03-30 阿里巴巴集团控股有限公司 Text-editing method and device used for screen display device
CN105824552A (en) * 2015-07-29 2016-08-03 维沃移动通信有限公司 Text information recognition method and device
CN107451582A (en) * 2017-07-13 2017-12-08 安徽声讯信息技术有限公司 A kind of graphics context identifying system and its recognition methods
CN107885345A (en) * 2017-10-17 2018-04-06 深圳市金立通信设备有限公司 A kind of method, terminal and computer-readable medium for aiding in amendment word
CN108304815A (en) * 2018-02-08 2018-07-20 百度在线网络技术(北京)有限公司 A kind of data capture method, device, server and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
小山龙介: "《整理的艺术》", 30 April 2012, 世界图书出版公司北京公司 *
李群: "《图书馆发展研究》", 31 December 2008, 云南民族出版社 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111402367A (en) * 2020-03-27 2020-07-10 维沃移动通信有限公司 Image processing method and electronic equipment
CN111402367B (en) * 2020-03-27 2023-09-26 维沃移动通信有限公司 Image processing method and electronic equipment
CN112698739A (en) * 2020-12-28 2021-04-23 联想(北京)有限公司 Positioning method and device

Similar Documents

Publication Publication Date Title
CN110321044A (en) Sharing files method and terminal
CN109213396A (en) A kind of object control method and terminal
CN109145142A (en) A kind of management method and terminal of the sharing information of picture
CN110456953A (en) File interface switching method and terminal device
CN108920239A (en) A kind of long screenshotss method and mobile terminal
CN109582475A (en) A kind of sharing method and terminal
CN110231897A (en) A kind of object processing method and terminal device
CN110196646A (en) A kind of data inputting method and mobile terminal
CN109213416A (en) A kind of display information processing method and mobile terminal
CN108769374A (en) A kind of image management method and mobile terminal
CN110007835A (en) A kind of method for managing object and mobile terminal
CN109871358A (en) A kind of management method and terminal device
CN109683777A (en) A kind of image processing method and terminal device
CN108763540A (en) A kind of file browsing method and terminal
CN108228902A (en) A kind of document display method and mobile terminal
CN110069188A (en) Identification display method and terminal device
CN110209332A (en) A kind of information processing method and terminal device
CN109976640A (en) A kind of content copying methods and terminal
CN110471589A (en) Information display method and terminal device
CN108984143A (en) A kind of display control method and terminal device
CN109491632A (en) A kind of resource sharing method and terminal
CN109857876A (en) A kind of information display method and terminal device
CN108363536A (en) A kind of expression packet application method and terminal device
CN108345674A (en) A kind of file management method and mobile terminal
CN109710155A (en) A kind of information processing method and terminal device

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: 20190712