A punctuation mark prediction method based on a self-attention mechanism
A technology of punctuation and prediction methods, applied in neural learning methods, natural language data processing, special data processing applications, etc., can solve problems such as long-term dependence and overfitting calculation amount, gradient disappearance, etc., to reduce training difficulty and alleviate Gradient disappears and enhances the effect of feature transfer
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0043] Such as figure 1 As shown, a punctuation prediction method based on self-attention mechanism, including the following steps:
[0044] S1: Perform speech recognition based on automatic speech recognition technology to obtain text without punctuation marks;
[0045] S2: Sorting the text without punctuation marks to obtain a text sequence;
[0046] S3: Build a punctuation prediction model, import the text sequence into the model, and complete the punctuation prediction of the text sequence.
[0047] In the specific implementation process, the text sequence input by the model is X 1 ,X 2 ,...,X T , representing T words, the output sequence is Y 1 ,Y 2 ,...,Y t , mark each word; among them, Y t =0 represents no punctuation after the word, Y t = 1 means that the word is followed by a comma, Y t =2 represents that the word is followed by a full stop, Y t =3 means that the word is followed by a question mark.
[0048] More specifically, in step S3, the punctuation p...
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