Unlock instant, AI-driven research and patent intelligence for your innovation.

Fusion language model generation method and device, word error correction method and electronic equipment

A language model and model generation technology, applied in the Internet field, can solve the problems of inaccurate error correction and poor error correction effect.

Active Publication Date: 2021-04-13
亿度慧达教育科技(北京)有限公司
View PDF8 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, one of the technical problems solved by the embodiments of the present application is to provide a method and device for generating a fusion language model, a word error correction method and electronic equipment, so as to overcome the error correction of misspelled words in the prior art. , only considering the word frequency information to select spelling error correction suggestions from the error correction candidate set, resulting in inaccurate error correction and poor error correction effect, so as to make full use of the context information of misspelled words and integrate multiple language models to realize the correction of misspelled words Perform error correction to provide reasonable error correction suggestions as much as possible, so as to achieve better error correction effect

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

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Fusion language model generation method and device, word error correction method and electronic equipment
  • Fusion language model generation method and device, word error correction method and electronic equipment
  • Fusion language model generation method and device, word error correction method and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027]Any of the technical solutions of the present application embodiment must not necessarily need to reach all over the above advantages.

[0028]In order to better understand the technical solution in the present application embodiment, the technical solutions in the present application embodiment will be described in conjunction with the drawings in the present application embodiment, and will be described in conjunction with the drawings in the present application embodiment. The embodiment is only a part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application embodiment, all other embodiments obtained by those of ordinary skill in the art should belong to the scope of the present application embodiment.

[0029]Next, the present application embodiment is further implemented in accordance with an embodiment of the present application.

[0030]The following examples of the present application are mainly spelling erro...

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 embodiment of the invention provides a fusion language model generation method and device, a word error correction method and electronic equipment. The fusion language model generation method comprises the steps of determining weights of at least two pre-trained language models; obtaining a fused prior probability according to the weight and the prior probability of the sample error correction candidate words in the spelling error correction training set in each language model; adjusting the weight of each language model according to the fused prior probability, the transition probability of sample spelling suggested words with the sample error correction candidate words as the sample spelling wrong words and the label information of the sample error correction candidate words; and generating a fusion language model based on a pre-trained language model and the adjusted weight of each language model. According to the method, the pre-trained language models are fused according to different weights to generate the fused language model, error correction is carried out on spelling wrong words by utilizing the fused language model, and reasonable words can be selected from the error correction candidate set to serve as final spelling suggested words.

Description

Technical field[0001]Embodiments of the present application relate to Internet technology, and more particularly to a fusion language model generation method and apparatus, a word error correction method, and an electronic device.Background technique[0002]Often, because people are negligent or unskilled with English words, English words spell errors in English articles or document writing; in the Internet age, the editing of English words via the keyboard and other hardware interactive equipment, It is also very easy to cause spelling errors for words.[0003]At present, the error correction of the words of the spelling error is mainly selected from the correct word from the error correction candidate, including: selecting the optimal word from the error correction candidate collection as spelling error correction, through a certain algorithm. Thus the purpose of automatic error correction. The error correction candidate is often included in several spelling error corrections, how to ...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F40/232G06F40/242G06F40/284
Inventor 李洪宇
Owner 亿度慧达教育科技(北京)有限公司