Text error correction method based on XLNet-BiGRU
A text error correction, Chinese technology, applied in the field of XLNet-BiGRU text error correction, can solve the problems of inapplicability, time-consuming, etc., and achieve the effect of improving time-consuming
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0049] Such as figure 1 Shown, a kind of text error correction method based on XLNet-BiGRU of the present invention comprises following steps:
[0050] S1. Training XLNet (Generalized Autoregressive Pretraining for Language Understanding) Chinese model based on large-scale unlabeled corpus.
[0051] The XLNet model mainly includes Permutation Language Model, Two-Stream Self-Attention and Transformer-XL core components.
[0052] Further, the permutation language model included in the XLNet model aims to randomly shuffle the Chinese characters in the sentences in the text. For the Chinese character x i , the Chinese {x that originally appeared behind it i+1 ,...,x n} can also appear in front of it, assuming that the text sequence of length T is [1,2,...,T] and all permutations are A T , a t is the tth element in the sequence, and aT The previous element of , this modeling process can be expressed as:
[0053]
[0054] where θ is the model parameter with training.
[00...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


