Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

English sentence simplification algorithm based on pre-trained Transformer language model

A technology of language model and simplification algorithm, which is applied in the field of English sentence simplification algorithm based on the pre-trained Transformer language model, can solve the problems of step interference, high cost of dictionary construction, limited coverage of complex words, etc., and achieve the goal of simplifying steps and simplifying vocabulary Steps, the effect of improving efficiency

Active Publication Date: 2019-12-06
YANGZHOU UNIV
View PDF2 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The first two types of algorithms have great constraints. First, the construction of dictionaries is expensive and high-quality parallel corpus extraction is very difficult. Second, the coverage of these two types of algorithms for complex words is also limited.
The main problem of the above three types of algorithms is that in the process of generating candidate words, only the complex word itself is considered, and the context of the complex word is ignored, which will inevitably produce many unsuitable candidate words, which will bring great inconvenience to the subsequent steps of the system. big disturbance

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] The present invention will be further described below in conjunction with specific embodiments.

[0048] A kind of English sentence simplification algorithm based on pre-training Transformer language model, proceed as follows:

[0049] Step 1. Use the public English Wikipedia corpus D, which can be downloaded from "https: / / dumps.wikimedia.org / enwiki / ", and count the frequency f(w) of each word w, f(w) means that word w is in the number of occurrences in D; in the field of text simplification, the complexity measure of words takes into account the frequency of words; in general, the higher the frequency of a word, the easier it is to understand the word; t Find the most understandable word in the set of highly similar words.

[0050] Step 2. Obtain the public word embedding model pre-trained using the word vector model fastText, which can be obtained from " https: / / dl.fbaipublicfiles.com / fasttext / vectors-english / crawl-300d-2M- subword.zip "Download, here fastText is ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses an English sentence simplification algorithm based on a pre-trained Transformer language model, and the algorithm comprises the following steps: 1, carrying out the statisticsof word frequency through a public Wikipedia corpus; 2, utilizing a public pre-trained word embedding model to obtain vectorized representation of words; 3, preprocessing sentences needing to be simplified to obtain content words; 4, for the content words in the sentences, utilizing a public pre-training Transformer language model Bert to obtain a candidate alternative word set of the words; 5, sorting the candidate alternative word set of each content word by utilizing a plurality of features; 6, comparing the word frequencies of the candidate words with the highest sequence with the word frequencies of the original content words, and determining a final substitute word; and 7, processing other content words in the sentence according to the steps 4 to 6 in sequence to obtain a final simplified sentence. According to the method, the pre-trained Transformer language model is fully utilized without utilizing any labeled parallel corpus, so that the English sentence simplification accuracy is effectively improved.

Description

technical field [0001] The invention relates to the field of English text simplification, in particular to an English sentence simplification algorithm based on a pre-trained Transformer language model. Background technique [0002] In recent years, there are more and more English materials on the Internet. For example, many professional papers are written in English and published in English journals. Many people begin to like to read English materials directly instead of translating English materials into Chinese first and reading them in Chinese. Material. However, because English is not our mother tongue, the lack of vocabulary has seriously affected the understanding of English materials. Many studies have confirmed that if you can understand 90% of the words in the text, even if it is a long and complex text, the meaning expressed in the text is easier to understand. Additionally, English text simplification can be of great help to native English speakers, especially ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F17/27G06K9/62
CPCG06F18/22Y02D10/00
Inventor 强继朋
Owner YANGZHOU UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products