CN107608957A - Text modification method, apparatus and its equipment based on voice messaging - Google Patents
Text modification method, apparatus and its equipment based on voice messaging Download PDFInfo
- Publication number
- CN107608957A CN107608957A CN201710797779.8A CN201710797779A CN107608957A CN 107608957 A CN107608957 A CN 107608957A CN 201710797779 A CN201710797779 A CN 201710797779A CN 107608957 A CN107608957 A CN 107608957A
- Authority
- CN
- China
- Prior art keywords
- text
- user
- processing
- target
- word segmentation
- 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
Links
- 238000002715 modification method Methods 0.000 title claims abstract description 25
- 238000012545 processing Methods 0.000 claims abstract description 113
- 230000004048 modification Effects 0.000 claims abstract description 70
- 238000012986 modification Methods 0.000 claims abstract description 70
- 230000011218 segmentation Effects 0.000 claims abstract description 56
- 238000000034 method Methods 0.000 claims abstract description 29
- 238000004590 computer program Methods 0.000 claims description 12
- 230000008859 change Effects 0.000 claims description 9
- 238000012217 deletion Methods 0.000 claims description 3
- 230000037430 deletion Effects 0.000 claims description 3
- 230000003993 interaction Effects 0.000 abstract description 10
- 230000008569 process Effects 0.000 abstract description 6
- 238000006243 chemical reaction Methods 0.000 abstract description 4
- 230000001360 synchronised effect Effects 0.000 abstract description 2
- 238000004891 communication Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 8
- 238000013473 artificial intelligence Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 3
- 239000000463 material Substances 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000003058 natural language processing Methods 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The present invention proposes a kind of text modification method, apparatus and its equipment based on voice messaging, wherein, method includes:Conversion process is carried out to the voice messaging of user's input, the text message corresponding to generation in text box;Word segmentation processing is carried out to text message and generates multiple participles, and text modification contact panel is shown in application interface, wherein, text modification contact panel includes:Multiple participle and participle interval locations;Obtain the target location that user selectes in text modification contact panel;The process instruction to target location is obtained, corresponding operation processing is carried out according to process instruction, and renewal is synchronized to the text message in text box.Thus, returned in phonetic entry, when user is updated to the text message in text box without needs and be manually entered panel, it is possible to be rapidly completed, be user-friendly, improve the efficiency of voice messaging interaction.
Description
Technical Field
The invention relates to the technical field of artificial intelligence, in particular to a text modification method, a text modification device and text modification equipment based on voice information.
Background
Artificial Intelligence (Artificial Intelligence), abbreviated in english as AI. The method is a new technical science for researching and developing theories, methods, technologies and application systems for simulating, extending and expanding human intelligence. Artificial intelligence is a branch of computer science that attempts to understand the essence of intelligence and produce a new intelligent machine that can react in a manner similar to human intelligence, a field of research that includes robotics, speech recognition, image recognition, natural language processing, and expert systems. Among them, the most important aspect of artificial intelligence is speech recognition technology.
In the related technology, when a user needs to input voice, the user needs to return to a manual input panel to complete operations such as adding, deleting and modifying, and the operations cannot be completed quickly, and the efficiency of voice information interaction is low, so that the user is inconvenient to use.
Disclosure of Invention
The present invention has been made to solve at least one of the technical problems of the related art to some extent.
Therefore, a first object of the present invention is to provide a text modification method based on voice information, which is used to solve the problem that in the prior art, when a user updates text information in a text box during voice input, the user needs to return to a manual input panel, and the update cannot be completed quickly.
The second purpose of the present invention is to provide a text modification device based on voice information.
A third object of the invention is to propose a computer device.
A fourth object of the invention is to propose a non-transitory computer-readable storage medium.
A fifth object of the invention is to propose a computer program product.
In order to achieve the above object, an embodiment of a first aspect of the present invention provides a text modification method based on voice information, where the method includes the following steps: converting voice information input by a user, and generating corresponding text information in a text box; performing word segmentation processing on the text information to generate a plurality of words, and displaying a text modification touch panel on an application interface, wherein the text modification touch panel comprises: a plurality of participles and participle interval positions; acquiring a target position selected by the user in the text modification touch panel; and acquiring a processing instruction of the target position, performing corresponding operation processing according to the processing instruction, and synchronously updating the text information in the text box.
The text modification method based on the voice information in the embodiment of the invention generates corresponding text information in a text box by converting the voice information input by a user, then performs word segmentation processing on the text information to generate a plurality of words, and displays a text modification touch panel on an application interface, wherein the text modification touch panel comprises: and then acquiring a target position selected by a user in the text modification touch panel, acquiring a processing instruction of the target position, performing corresponding operation processing according to the processing instruction, and synchronously updating text information in the text box. Therefore, when voice is input, a user does not need to return to a manual input panel when updating the text information in the text box, the operation can be completed quickly, the use by the user is facilitated, and the efficiency of voice information interaction is improved.
In order to achieve the above object, a second embodiment of the present invention provides a text modification apparatus based on voice information, the apparatus including: the generating module is used for converting the voice information input by the user and generating corresponding text information in the text box; a display module, configured to perform word segmentation processing on the text information to generate a plurality of words, and display a text modification touch panel on an application interface, where the text modification touch panel includes: a plurality of participles and participle interval positions; the first acquisition module is used for acquiring a target position selected by the user in the text modification touch panel; the second acquisition module is used for acquiring a processing instruction of the target position; and the processing module is used for carrying out corresponding operation processing according to the processing instruction and synchronously updating the text information in the text box.
The text modification device based on the voice information in the embodiment of the invention generates corresponding text information in a text box by converting the voice information input by a user, then performs word segmentation processing on the text information to generate a plurality of words, and displays a text modification touch panel on an application interface, wherein the text modification touch panel comprises: and then acquiring a target position selected by a user in the text modification touch panel, acquiring a processing instruction of the target position, performing corresponding operation processing according to the processing instruction, and synchronously updating text information in the text box. Therefore, when voice is input, a user does not need to return to a manual input panel when updating the text information in the text box, the operation can be completed quickly, the use by the user is facilitated, and the efficiency of voice information interaction is improved.
To achieve the above object, a third embodiment of the present invention provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement a text modification method based on speech information, where the method includes: converting voice information input by a user, and generating corresponding text information in a text box; performing word segmentation processing on the text information to generate a plurality of words, and displaying a text modification touch panel on an application interface, wherein the text modification touch panel comprises: a plurality of participles and participle interval positions; acquiring a target position selected by the user in the text modification touch panel; and acquiring a processing instruction of the target position, performing corresponding operation processing according to the processing instruction, and synchronously updating the text information in the text box.
In order to achieve the above object, a fourth aspect of the present invention provides a non-transitory computer-readable storage medium, wherein instructions of the storage medium, when executed by a processor, enable execution of a text modification method based on speech information, the method comprising: converting voice information input by a user, and generating corresponding text information in a text box; performing word segmentation processing on the text information to generate a plurality of words, and displaying a text modification touch panel on an application interface, wherein the text modification touch panel comprises: a plurality of participles and participle interval positions; acquiring a target position selected by the user in the text modification touch panel; and acquiring a processing instruction of the target position, performing corresponding operation processing according to the processing instruction, and synchronously updating the text information in the text box.
In order to achieve the above object, a fifth aspect of the present invention provides a computer program product, wherein when executed by an instruction processor in the computer program product, a text modification method based on speech information is performed, and the method includes: converting voice information input by a user, and generating corresponding text information in a text box; performing word segmentation processing on the text information to generate a plurality of words, and displaying a text modification touch panel on an application interface, wherein the text modification touch panel comprises: a plurality of participles and participle interval positions; acquiring a target position selected by the user in the text modification touch panel; and acquiring a processing instruction of the target position, performing corresponding operation processing according to the processing instruction, and synchronously updating the text information in the text box.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 is a flow diagram of a method for text modification based on speech information according to one embodiment of the present invention;
FIG. 2 is a schematic diagram of a text modifying touch panel according to one embodiment of the invention;
FIG. 3 is a flow diagram of a text modification method based on speech information according to another embodiment of the present invention;
FIG. 4 is a flow chart of a text modification method based on voice information according to another embodiment of the present invention
FIG. 5 is a schematic structural diagram of a text modification apparatus based on voice information according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of a computer device according to one embodiment of the invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.
The following describes a text modification method, device and equipment based on voice information according to an embodiment of the present invention with reference to the accompanying drawings.
At present, when a user needs to input voice, the user needs to return to a manual input panel to complete operations such as adding, deleting and modifying, and the operations cannot be completed quickly, and the efficiency of voice information interaction is low, so that the user is inconvenient to use.
In order to solve the problem, the embodiment of the invention provides a text modification method based on voice information, when voice is input, a user does not need to return to a manual input panel when updating text information in a text box, the text modification can be quickly completed, the use by the user is convenient, and the efficiency of voice information interaction is improved. The method comprises the following specific steps:
fig. 1 is a flowchart illustrating a text modification method based on voice information according to an embodiment of the present invention. As shown in fig. 1, the text modification method based on voice information includes:
step 101, converting the voice information input by the user, and generating corresponding text information in a text box.
102, performing word segmentation processing on the text information to generate a plurality of words, and displaying a text modification touch panel on an application interface, wherein the text modification touch panel comprises: a plurality of participles and a participle interval position.
Specifically, in practical applications, when a user inputs a voice, the voice information input by the user may be converted in many ways, and corresponding text information is generated in a text box, which is illustrated as follows:
as an example, by a voice-text conversion device, voice information is converted into text information; as another example, the voice information is input into a preset algorithm or model, and corresponding text information is generated, etc., and the setting can be selected according to the actual application requirement.
Further, the generated text information is subjected to word segmentation processing by a word segmentation processing device or algorithm to obtain a plurality of words, for example, the generated text information is "i think that it can go out and play today", and the obtained plurality of words are "i", "feel", "today", "can" and "go out and play". The text modification touch panel is then displayed at the application interface.
Wherein the text modifying touch panel comprises: a plurality of participles and a participle interval position. FIG. 2 is a diagram of a text modifying touch panel, according to one embodiment of the invention. As shown in fig. 2, a plurality of participles are "i", "felt", "today", "may", and "play out" with a participle interval position therebetween.
Step 103, acquiring a target position selected by the user in the text modification touch panel.
And 104, acquiring a processing instruction of the target position, performing corresponding operation processing according to the processing instruction, and synchronously updating the text information in the text box.
Specifically, the target position selected by the user in the text modification touch panel can be obtained in many ways, for example, as follows:
in the first example, a target word segmentation selected by a user from a plurality of word segmentation is obtained, a word segmentation area corresponding to the target word segmentation is subjected to color change processing, and the user is prompted to select the target word segmentation successfully.
In the second example, a target interval position selected by a user from the word segmentation interval positions is obtained, and cursor color change processing is performed on the target interval position to prompt the user that the selection is successful.
For example, in the text modification touch panel shown in fig. 2, lines of the segmentation interval positions of the segmentation words "feel" and "today" represent the selected target interval position, and color change processing may be performed on the selected target interval position to prompt the user that the selection is successful.
Further, there are various ways to obtain the processing instruction for the target location, and the setting may be selected according to the actual application requirement, for example, as follows:
in a first example, according to a touch operation of a user on a target position in a text modification touch panel, a preset instruction library is queried to obtain a processing instruction corresponding to the touch operation.
In a second example, voice processing information of a target position input by a user is received, and a recognition and acquisition processing instruction is performed on the voice processing information.
Furthermore, corresponding operation processing can be performed according to the processing instruction, and the text information in the text box is synchronously updated. Wherein, different operation processing is performed according to different processing instructions, which is illustrated as follows:
for example, according to a deleting instruction, deleting the target word segmentation; or, for example, inserting a new word at the target interval position according to the adding instruction; or, for example, according to a shift instruction, shifting the target participle to a specified position; or, for example, modifying the target participle into a new word according to the replacing instruction, and the like.
In order to make the above process more clear to those skilled in the art, the following is exemplified by taking the processing instruction as "replacement instruction" in conjunction with fig. 3 and taking the processing instruction as "deletion instruction" in fig. 4:
specifically, fig. 3 is a flowchart illustrating a text modification method based on voice information according to another embodiment of the present invention. As shown in fig. 3, the user presses the word "today" for a long time, the user inputs the voice information as "tomorrow", identifies the voice processing information "tomorrow" to obtain a processing instruction as a replacing instruction, and modifies the target word into a new word "tomorrow". Alternatively, as shown in fig. 3, the user clicks on the word segmentation "tomorrow" and a plurality of candidate words may appear to the user for selection and replacement. Therefore, the updating operation of the text information can be completed quickly without returning to a manual input panel.
Specifically, fig. 4 is a flowchart illustrating a text modification method based on voice information according to another embodiment of the present invention. As shown in fig. 4, the user presses the participle "today" for a long time, the user inputs the speech information "delete today" to recognize the speech processing information "delete today" to obtain the processing instruction as the delete instruction, and the delete target participle "today". Alternatively, as shown in FIG. 3, the user slides the word segmentation "feel" upward to delete it. The sliding mechanism can slide downwards, and can be specifically selected and set according to the actual application requirements.
Therefore, when voice is input, the recognition result is displayed in the text box, and a user does not need to return to a manual input panel when performing operations such as adding, deleting and modifying, so that the voice information interaction can be quickly completed, and the efficiency of voice information interaction is improved.
In summary, in the text modification method based on voice information according to the embodiment of the present invention, the voice information input by the user is converted to generate corresponding text information in the text box, then the text information is subjected to word segmentation to generate a plurality of words, and a text modification touch panel is displayed on the application interface, where the text modification touch panel includes: and then acquiring a target position selected by a user in the text modification touch panel, acquiring a processing instruction of the target position, performing corresponding operation processing according to the processing instruction, and synchronously updating text information in the text box. Therefore, when voice is input, a user does not need to return to a manual input panel when updating the text information in the text box, the operation can be completed quickly, the use by the user is facilitated, and the efficiency of voice information interaction is improved.
In order to implement the above embodiments, the present invention further provides a text modification apparatus based on voice information, and fig. 5 is a schematic structural diagram of the text modification apparatus based on voice information according to an embodiment of the present invention. As shown in fig. 5, the text modification apparatus based on voice information includes: the device comprises a generating module 11, a display module 12, a first obtaining module 13, a second obtaining module 14 and a processing module 15.
The generating module 11 is configured to perform conversion processing on the voice information input by the user, and generate corresponding text information in the text box.
A display module 12, configured to perform word segmentation processing on the text information to generate a plurality of words, and display a text modification touch panel on the application interface, where the text modification touch panel includes: a plurality of participles and a participle interval position.
The first obtaining module 13 is configured to obtain a target location selected by the user in the text modification touch panel.
And a second obtaining module 14, configured to obtain a processing instruction for the target location.
And the processing module 15 is configured to perform corresponding operation processing according to the processing instruction, and perform synchronous update on the text information in the text box.
In one possible implementation manner of the present invention, the first obtaining module 13 is specifically configured to: acquiring a target word segmentation selected by a user from a plurality of word segmentation, and carrying out color change processing on a word segmentation area corresponding to the target word segmentation to prompt the user to successfully select the target word segmentation; or, acquiring a target interval position selected by the user from the word segmentation interval positions, and performing cursor color change processing on the target interval position to prompt the user to successfully select the word segmentation interval position.
In one possible implementation manner of the present invention, the second obtaining module 14 is specifically configured to: modifying the touch operation of the target position in the touch panel according to the text of the user; and querying a preset instruction library to obtain a processing instruction corresponding to the touch operation.
In a possible implementation manner of the present invention, the second obtaining module 14 is further specifically configured to: receiving voice processing information of a target position input by a user; and recognizing the voice processing information to acquire a processing instruction.
In one possible implementation manner of the present invention, the processing module 15 is specifically configured to: deleting the target word segmentation according to the deleting instruction; or inserting a new word at the target interval position according to the adding instruction; or shifting the target word segmentation to a specified position according to the shifting instruction; or modifying the target participle into a new word according to the replacing instruction.
It should be noted that the foregoing explanation on the embodiment of the text modification method based on voice information is also applicable to the text modification device based on voice information in this embodiment, and details are not described here again.
In summary, the text modification apparatus based on voice information according to the embodiment of the present invention generates corresponding text information in a text box by performing conversion processing on voice information input by a user, then performs word segmentation processing on the text information to generate a plurality of words, and displays a text modification touch panel on an application interface, where the text modification touch panel includes: and then acquiring a target position selected by a user in the text modification touch panel, acquiring a processing instruction of the target position, performing corresponding operation processing according to the processing instruction, and synchronously updating text information in the text box. Therefore, when voice is input, a user does not need to return to a manual input panel when updating the text information in the text box, the operation can be completed quickly, the use by the user is facilitated, and the efficiency of voice information interaction is improved.
The invention provides a computer device, and fig. 6 is a schematic structural diagram of the computer device according to an embodiment of the invention. As shown in fig. 6, a memory 21, a processor 22, and a computer program stored on the memory 21 and executable on the processor 22.
The processor 22, when executing the program, implements the text modification method based on speech information provided in the above-described embodiments.
Further, the computer device further comprises:
a communication interface 23 for communication between the memory 21 and the processor 22.
A memory 21 for storing a computer program operable on the processor 22.
The memory 21 may comprise a high-speed RAM memory, and may further include a non-volatile memory (non-volatile memory), such as at least one disk memory.
And a processor 22, configured to implement the text modification method based on the voice information according to the foregoing embodiment when executing the program.
If the memory 21, the processor 22 and the communication interface 23 are implemented independently, the communication interface 21, the memory 21 and the processor 22 may be connected to each other through a bus and perform communication with each other. The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (enhanced Industry Standard Architecture) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 6, but this is not intended to represent only one bus or type of bus.
Optionally, in a specific implementation, if the memory 21, the processor 22 and the communication interface 23 are integrated on a chip, the memory 21, the processor 22 and the communication interface 23 may complete mutual communication through an internal interface.
The processor 22 may be a Central Processing Unit (CPU), or an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to implement embodiments of the present invention.
To achieve the above embodiments, the present invention also proposes a non-transitory computer-readable storage medium in which instructions, when executed by a processor, enable execution of a text modification method based on speech information, the method comprising: converting voice information input by a user, and generating corresponding text information in a text box; performing word segmentation processing on the text information to generate a plurality of words, and displaying a text modification touch panel on an application interface, wherein the text modification touch panel comprises: a plurality of participles and participle interval positions; acquiring a target position selected by a user in a text modification touch panel; and acquiring a processing instruction of the target position, performing corresponding operation processing according to the processing instruction, and synchronously updating the text information in the text box.
In order to implement the above embodiments, the present invention further provides a computer program product, which when executed by an instruction processor executes a text modification method based on speech information, the method including: converting voice information input by a user, and generating corresponding text information in a text box; performing word segmentation processing on the text information to generate a plurality of words, and displaying a text modification touch panel on an application interface, wherein the text modification touch panel comprises: a plurality of participles and participle interval positions; acquiring a target position selected by a user in a text modification touch panel; and acquiring a processing instruction of the target position, performing corresponding operation processing according to the processing instruction, and synchronously updating the text information in the text box.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing steps of a custom logic function or process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. If implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.
Claims (13)
1. A text modification method based on voice information is characterized by comprising the following steps:
converting voice information input by a user, and generating corresponding text information in a text box;
performing word segmentation processing on the text information to generate a plurality of words, and displaying a text modification touch panel on an application interface, wherein the text modification touch panel comprises: a plurality of participles and participle interval positions;
acquiring a target position selected by the user in the text modification touch panel;
and acquiring a processing instruction of the target position, performing corresponding operation processing according to the processing instruction, and synchronously updating the text information in the text box.
2. The method of claim 1, wherein the obtaining the target location selected by the user in the text-modifying touch panel comprises:
acquiring a target word segmentation selected by the user from the plurality of word segmentation, and carrying out color change processing on a word segmentation area corresponding to the target word segmentation to prompt the user to successfully select the target word segmentation;
or,
and acquiring a target interval position selected by the user from the word segmentation interval positions, and performing cursor color change processing on the target interval position to prompt the user to successfully select.
3. The method of claim 1, wherein said obtaining processing instructions for said target location comprises:
modifying the touch operation of the target position in a touch panel according to the text of the user;
and querying a preset instruction library to obtain a processing instruction corresponding to the touch operation.
4. The method of claim 1, wherein said obtaining processing instructions for said target location comprises:
receiving voice processing information input by the user for the target position;
and identifying the voice processing information to acquire a processing instruction.
5. The method of claim 2, wherein the performing the corresponding operation processing according to the processing instruction comprises:
deleting the target word segmentation according to a deletion instruction; or,
inserting a new word at the target interval position according to an adding instruction; or,
shifting the target word segmentation to a specified position according to a shifting instruction; or,
and modifying the target word segmentation into a new word according to the replacement instruction.
6. A text modification apparatus based on speech information, comprising:
the generating module is used for converting the voice information input by the user and generating corresponding text information in the text box;
a display module, configured to perform word segmentation processing on the text information to generate a plurality of words, and display a text modification touch panel on an application interface, where the text modification touch panel includes: a plurality of participles and participle interval positions;
the first acquisition module is used for acquiring a target position selected by the user in the text modification touch panel;
the second acquisition module is used for acquiring a processing instruction of the target position;
and the processing module is used for carrying out corresponding operation processing according to the processing instruction and synchronously updating the text information in the text box.
7. The apparatus of claim 6, wherein the first obtaining module is specifically configured to:
acquiring a target word segmentation selected by the user from the plurality of word segmentation, and carrying out color change processing on a word segmentation area corresponding to the target word segmentation to prompt the user to successfully select the target word segmentation;
or,
and acquiring a target interval position selected by the user from the word segmentation interval positions, and performing cursor color change processing on the target interval position to prompt the user to successfully select.
8. The apparatus of claim 6, wherein the second obtaining module is specifically configured to:
modifying the touch operation of the target position in a touch panel according to the text of the user;
and querying a preset instruction library to obtain a processing instruction corresponding to the touch operation.
9. The apparatus of claim 6, wherein the second obtaining module is further specifically configured to:
receiving voice processing information input by the user for the target position;
and identifying the voice processing information to acquire a processing instruction.
10. The apparatus of claim 7, wherein the processing module is specifically configured to:
deleting the target word segmentation according to a deletion instruction; or,
inserting a new word at the target interval position according to an adding instruction; or,
shifting the target word segmentation to a specified position according to a shifting instruction; or,
and modifying the target word segmentation into a new word according to the replacement instruction.
11. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing a method for text modification based on speech information according to any one of claims 1-5 when executing the program.
12. A non-transitory computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements a method for text modification based on speech information according to any one of claims 1 to 5.
13. A computer program product, characterized in that instructions in the computer program product, when executed by a processor, perform the method for text modification based on speech information according to any of claims 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710797779.8A CN107608957A (en) | 2017-09-06 | 2017-09-06 | Text modification method, apparatus and its equipment based on voice messaging |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710797779.8A CN107608957A (en) | 2017-09-06 | 2017-09-06 | Text modification method, apparatus and its equipment based on voice messaging |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107608957A true CN107608957A (en) | 2018-01-19 |
Family
ID=61062507
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710797779.8A Pending CN107608957A (en) | 2017-09-06 | 2017-09-06 | Text modification method, apparatus and its equipment based on voice messaging |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107608957A (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108520750A (en) * | 2018-03-13 | 2018-09-11 | 努比亚技术有限公司 | A kind of voice input control method, equipment and computer readable storage medium |
CN109215661A (en) * | 2018-08-30 | 2019-01-15 | 上海与德通讯技术有限公司 | Speech-to-text method, apparatus equipment and storage medium |
CN109471539A (en) * | 2018-10-23 | 2019-03-15 | 维沃移动通信有限公司 | A kind of input content amending method and mobile terminal |
CN110659970A (en) * | 2018-06-12 | 2020-01-07 | 百度在线网络技术(北京)有限公司 | Account information processing method and device based on voice recognition and electronic equipment |
CN110767234A (en) * | 2019-10-31 | 2020-02-07 | 北京字节跳动网络技术有限公司 | Audio information processing method and device, electronic equipment and storage medium |
WO2020042784A1 (en) * | 2018-08-30 | 2020-03-05 | 维沃移动通信有限公司 | Speech processing method and mobile terminal |
CN111104418A (en) * | 2019-12-23 | 2020-05-05 | 北京百度网讯科技有限公司 | Text description processing method and device and electronic equipment |
CN111324213A (en) * | 2018-12-13 | 2020-06-23 | 青岛海信移动通信技术股份有限公司 | Information input method of terminal and terminal |
CN112562684A (en) * | 2020-12-08 | 2021-03-26 | 维沃移动通信有限公司 | Voice recognition method and device and electronic equipment |
CN112612442A (en) * | 2019-09-19 | 2021-04-06 | 北京搜狗科技发展有限公司 | Input method and device and electronic equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102629246A (en) * | 2012-02-10 | 2012-08-08 | 北京百纳信息技术有限公司 | Server used for recognizing browser voice commands and browser voice command recognition system |
CN103645876A (en) * | 2013-12-06 | 2014-03-19 | 百度在线网络技术(北京)有限公司 | Voice inputting method and device |
CN105869632A (en) * | 2015-01-22 | 2016-08-17 | 北京三星通信技术研究有限公司 | Speech recognition-based text revision method and device |
CN106484266A (en) * | 2016-10-18 | 2017-03-08 | 北京锤子数码科技有限公司 | A kind of text handling method and device |
CN106653006A (en) * | 2016-11-17 | 2017-05-10 | 百度在线网络技术(北京)有限公司 | Search method and device based on voice interaction |
-
2017
- 2017-09-06 CN CN201710797779.8A patent/CN107608957A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102629246A (en) * | 2012-02-10 | 2012-08-08 | 北京百纳信息技术有限公司 | Server used for recognizing browser voice commands and browser voice command recognition system |
CN103645876A (en) * | 2013-12-06 | 2014-03-19 | 百度在线网络技术(北京)有限公司 | Voice inputting method and device |
CN105869632A (en) * | 2015-01-22 | 2016-08-17 | 北京三星通信技术研究有限公司 | Speech recognition-based text revision method and device |
CN106484266A (en) * | 2016-10-18 | 2017-03-08 | 北京锤子数码科技有限公司 | A kind of text handling method and device |
CN106653006A (en) * | 2016-11-17 | 2017-05-10 | 百度在线网络技术(北京)有限公司 | Search method and device based on voice interaction |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108520750A (en) * | 2018-03-13 | 2018-09-11 | 努比亚技术有限公司 | A kind of voice input control method, equipment and computer readable storage medium |
CN110659970A (en) * | 2018-06-12 | 2020-01-07 | 百度在线网络技术(北京)有限公司 | Account information processing method and device based on voice recognition and electronic equipment |
CN109215661A (en) * | 2018-08-30 | 2019-01-15 | 上海与德通讯技术有限公司 | Speech-to-text method, apparatus equipment and storage medium |
US12033623B2 (en) | 2018-08-30 | 2024-07-09 | Vivo Mobile Communication Co., Ltd. | Speech processing method and mobile terminal |
WO2020042784A1 (en) * | 2018-08-30 | 2020-03-05 | 维沃移动通信有限公司 | Speech processing method and mobile terminal |
CN109471539A (en) * | 2018-10-23 | 2019-03-15 | 维沃移动通信有限公司 | A kind of input content amending method and mobile terminal |
CN111324213A (en) * | 2018-12-13 | 2020-06-23 | 青岛海信移动通信技术股份有限公司 | Information input method of terminal and terminal |
CN112612442A (en) * | 2019-09-19 | 2021-04-06 | 北京搜狗科技发展有限公司 | Input method and device and electronic equipment |
CN112612442B (en) * | 2019-09-19 | 2024-08-09 | 北京搜狗科技发展有限公司 | Input method and device and electronic equipment |
WO2021082637A1 (en) * | 2019-10-31 | 2021-05-06 | 北京字节跳动网络技术有限公司 | Audio information processing method, apparatus, electronic equipment and storage medium |
CN110767234A (en) * | 2019-10-31 | 2020-02-07 | 北京字节跳动网络技术有限公司 | Audio information processing method and device, electronic equipment and storage medium |
CN111104418A (en) * | 2019-12-23 | 2020-05-05 | 北京百度网讯科技有限公司 | Text description processing method and device and electronic equipment |
CN111104418B (en) * | 2019-12-23 | 2023-08-29 | 北京百度网讯科技有限公司 | Text description processing method and device and electronic equipment |
CN112562684A (en) * | 2020-12-08 | 2021-03-26 | 维沃移动通信有限公司 | Voice recognition method and device and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107608957A (en) | Text modification method, apparatus and its equipment based on voice messaging | |
CN110673748B (en) | Method and device for providing candidate long sentences in input method | |
CN107193807B (en) | Artificial intelligence-based language conversion processing method and device and terminal | |
CN112115678B (en) | Information display method and device, storage medium and electronic equipment | |
CN108984679B (en) | Training method and device for dialogue generation model | |
CN107680589A (en) | Voice messaging exchange method, device and its equipment | |
CN108108215B (en) | Skin generation method, device, terminal and computer readable storage medium | |
CN109119079B (en) | Voice input processing method and device | |
US20230419561A1 (en) | Three-dimensional model rendering method and apparatus, device, storage medium, and program product | |
KR102546631B1 (en) | Apparatus for video data argumentation and method for the same | |
CN110704592B (en) | Statement analysis processing method and device, computer equipment and storage medium | |
CN110276081B (en) | Text generation method, device and storage medium | |
US20160187865A1 (en) | Plc system and arithmetic-expression-data-creation supporting apparatus | |
US20150111189A1 (en) | System and method for browsing multimedia file | |
CN108829896B (en) | Reply information feedback method and device | |
CN112506503B (en) | Programming method, device, terminal equipment and storage medium | |
CN110188327B (en) | Method and device for removing spoken language of text | |
JP2016189089A (en) | Extraction equipment, extraction method and program thereof, support device, and display controller | |
CN109726279B (en) | Data processing method and device | |
CN111124387B (en) | Modeling system, modeling method, computer device and storage medium for machine learning platform | |
JP4885569B2 (en) | Style sheet generating apparatus and style sheet generating program | |
CN109492747A (en) | A kind of the network structure generation method and device of neural network | |
CN109388385A (en) | Method and apparatus for application and development | |
CN112818129A (en) | Atlas modeling system and method | |
CN113806479B (en) | Text phonetic notation method and device, electronic equipment and storage medium |
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: 20180119 |