Method and device for processing voice texts
A technology of speech text and rules, applied in the field of information processing, can solve problems such as inapplicable language environment, inability to fully play its role, insufficient optimization of speech and text processing methods, etc., to achieve the effect of expanding the scope of application and optimizing the processing method
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0027] The embodiment of the present invention provides a method for processing voice text, see figure 1 , the method flow includes the following steps:
[0028] 101: Perform named entity mapping on the speech text to obtain a first mapping result;
[0029] 102: Perform vocabulary mapping on the first mapping result to obtain a second mapping result;
[0030] Further, before the vocabulary mapping is performed on the first mapping result, it includes:
[0031] Expanding one or more named entities in the first mapping result into corresponding phonetic texts before mapping to obtain at least two third mapping results;
[0032] Vocabulary mapping is performed on the first mapping result, including:
[0033] Vocabulary mapping is performed on the speech text that is not mapped as a named entity in each third mapping result to obtain a second mapping result.
[0034] 103: Match the second mapping result with preset rules including regular rules, and if a matching rule is obtai...
Embodiment 2
[0056] The embodiment of the present invention provides a method for processing speech text, combined with the content of the first embodiment above, see figure 2 , the method flow includes:
[0057] 201: Perform named entity mapping on the speech text to obtain the first mapping result;
[0058]Specifically, performing named entity mapping on the speech text, including but not limited to: establishing a named entity library; searching the phonetic text that can be recognized as a named entity in the named entity library in the speech text, and replacing the found phonetic text with the named entity . It should be noted that named entities are collected from a large amount of information on the Internet, and the identification of named entities is realized by using independent dictionary trees in various fields, that is, it can support finding all named entities when all or part of the named entities overlap. named entity.
[0059] For ease of understanding, take the voice...
Embodiment 3
[0100] see image 3 , an embodiment of the present invention provides a device for processing speech and text, the device comprising:
[0101] The first mapping module 301 is configured to perform named entity mapping on the speech text to obtain a first mapping result;
[0102] The second mapping module 302 is configured to perform vocabulary mapping on the first mapping result to obtain a second mapping result;
[0103] A matching module 303, configured to match the second mapping result with preset rules including regular rules;
[0104] The first processing module 304 is configured to, when a matching rule is obtained, process the speech text according to the obtained matching rule.
[0105] As a preferred embodiment, see Figure 4 , the device also includes:
[0106] An expansion module 305, configured to sequentially expand one or more named entities in the first mapping result into corresponding phonetic texts before mapping to obtain at least two third mapping resu...
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