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

Statement correction method and device based on bert model and ngram model

A sentence and model technology, applied in the field of sentence correction based on the bert model and the ngram model, can solve the problems of incalculability, sparse data, and inability to effectively solve the sparse data, and achieve the effect of improving the accuracy.

Pending Publication Date: 2022-04-05
北京方寸无忧科技发展有限公司
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Benefits of technology

This invention relates to an improved way to smooth out documents with repetitive content without leaking important details or losing their original purpose. It combines two techniques: one involves comparing different terms from each other by calculating differences between them; another technique uses word/word pairs instead of just counting how many times they have been used beforehand. Overall this technology helps improve document quality and preventing data loss during communication sessions.

Problems solved by technology

This patented technical solution described in the patents involves computing the confidence value of each letter called ppi_intestation ratio (PTS). By comparing these values against predetermined thresholds, we may determine if any letters have higher chance than other ones. If they don’t get enough evidence during testing, indicating that some parts were missing while others had been added correctly. However, even after learning about how long things took beforehand, most phrases still contain errors. To address such issues, previous solutions involve either adding extra bits like zeros or repeating existing tokens over multiple times instead of just repeatedly applying new symbols until convergence occurs.

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
  • Statement correction method and device based on bert model and ngram model
  • Statement correction method and device based on bert model and ngram model
  • Statement correction method and device based on bert model and ngram model

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0058] In order to make the objectives, technical solutions and advantages of the implementation of the application clearer, the technical solutions in the implementation modes of the application will be described in more detail below with reference to the drawings in the implementation modes of the application. In the drawings, the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The described embodiments are some, but not all, embodiments of the present application. The embodiments described below by referring to the figures are exemplary and are intended to explain the present application, and should not be construed as limiting the present application. Based on the implementation manners in this application, all other implementation manners obtained by persons of ordinary skill in the art without creative efforts fall within the scope of protection of this application. Embodiments of the pr...

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 provides a statement correction method and device based on a bert model and an ngram model, and belongs to the technical field of data processing. The method comprises the following steps: determining a plurality of candidate target words used for replacing wrong words in statements, and forming a plurality of candidate statements; for each candidate statement, calculating a first confusion degree of the statement based on a preset bert model, and calculating a second confusion degree of the statement based on a preset ngram model; giving a first weighting coefficient of the first confusion degree, and giving a second weighting coefficient of the second confusion degree; determining the total perplexity of each candidate statement by weighting the first perplexity and the second perplexity; and determining a final statement based on the total perplexity. According to the method, the bert model and the ngram model are complementary, so that the accuracy of statement correction is improved.

Description

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

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
Owner 北京方寸无忧科技发展有限公司
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