Text phonetic notation method, electronic equipment and storage medium
A text and text technology, applied in text database query, unstructured text data retrieval, electronic digital data processing, etc., can solve problems such as difficult to accurately predict the pronunciation of polyphonic characters, phonetic errors, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0029] figure 1 A flow chart of a text phonetic notation method provided by an embodiment of the present invention is shown. like figure 1 As shown, the method includes the following steps:
[0030] Step S110: Match the acquired text to be phoneticized with the preset polyphone list, and identify the target polyphone included in the text to be phoneticized according to the matching result.
[0031] Wherein, the text to be phoneticized refers to the text that needs to be marked with pinyin. Specifically, the text to be phoneticized may be the original text of the electronic book, or a text obtained after preprocessing the original text of the electronic book, and the source and form of the text to be phoneticized are not limited in the present invention. In addition, the preset list of polyphonic characters is used to store known polyphonic characters. The list of polyphonic characters can be generated based on pre-collected polyphonic characters, or based on feedback from u...
Embodiment 2
[0041] figure 2 A flow chart of a text phonetic notation method provided by another embodiment of the present invention is shown. like figure 2 As shown, the method includes the following steps:
[0042]Step S200: respectively obtaining training sample sets corresponding to each polyphone sample, and training to obtain a polyphone model corresponding to each polyphone sample based on the training sample set corresponding to each polyphone sample, and training the obtained polyphone model. The individual polyphonic models of , are added to the polyphonic model collection.
[0043] Specifically, in order to accurately predict the pronunciation of different polyphonic words, in this embodiment, a corresponding polyphonic word model is trained for each polyphonic word, so as to predict the meaning of the polyphonic word in different contexts and the pronunciation rules. Pinyin of the polyphonic word.
[0044] During the specific implementation, first, text data is obtained, ...
Embodiment 3
[0072] An embodiment of the present application provides a non-volatile computer storage medium, the computer storage medium stores at least one executable instruction, and the computer executable instruction can execute the text phonetic notation method in any of the above method embodiments.
[0073] Specifically, the executable instruction can be used to make the processor perform the following operations:
[0074] Matching the acquired text to be phoneticized with a preset list of polyphonic characters, and identifying the target polyphonic characters contained in the text to be phoneticized according to the matching result;
[0075] Acquiring the context information of the target polyphonic character in the text to be phoneticized, and generating a prediction feature vector corresponding to the target polyphonic character according to the context information;
[0076] Querying the polyphonic character model corresponding to the target polyphonic character from the pre-tra...
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