Text processing method and device, electronic equipment and storage medium
A text processing and text input technology, applied in the field of information processing, can solve problems such as uncoordinated pronunciation, and achieve the effect of increasing naturalness and natural speech
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0049] figure 1 This is a flowchart of a text processing method provided in Embodiment 1 of the present invention. This embodiment is applicable to the case of processing the pronunciation of sentences mixed with special nouns composed of letters in Chinese. The method can be executed by a text processing device. The apparatus can be implemented by hardware and / or software, and can generally be integrated in various terminals or servers that provide speech synthesis for text. like figure 1 As shown, the method includes:
[0050] Step 110: Identify at least one group of English character strings included in the input text.
[0051] In this embodiment of the present invention, the input text is a piece of text pre-stored in the database, which can answer the question raised by the user or satisfy the requirement raised by the user. Specifically, the input text can be an article, and by performing speech synthesis on the article, the requirement of playing the article for the ...
Embodiment 2
[0064] figure 2 It is a flowchart of a text processing method provided in Embodiment 2 of the present invention, and the arrangement and combination of technical features among the foregoing embodiments also fall within the protection scope of the embodiments of the present invention. The embodiments of the present invention can be applied to any situation where speech synthesis needs to be performed on text. For details, refer to figure 2 , the method may include the following steps:
[0065] Step 210: Establish a mapping relationship between the replacement character and the pronunciation of each Chinese phoneme in advance.
[0066] In the embodiment of the present invention, in order to replace the English letters in the special nouns composed of letters in the input text with the replacement characters, and then obtain the pronunciations corresponding to the English letters in the special nouns, the inconsistency of the pronunciation of the special nouns in the prior ar...
Embodiment 3
[0091] image 3 It is a schematic structural diagram of a text processing apparatus provided in Embodiment 3 of the present invention. Specifically, as image 3 As shown, the apparatus may include:
[0092] an English character string identification module 310, configured to identify at least one group of English character strings included in the input text;
[0093] The target character string replacement module 320 is configured to obtain a replacement character corresponding to each English letter in the target character string if it is determined that the English character string includes a target character string that does not belong to an English word, and perform replacement processing on the target character string. does not belong to Chinese characters;
[0094] The input text segmentation module 330 is used to perform text segmentation on the input text after the replacement processing to obtain at least one text segmentation;
[0095] The pronunciation obtaining ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com