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

Position coding method and device and storage medium

A coding method and a technology of a coding device, which are applied in the field of position coding methods, devices and storage media, can solve problems such as inconsistency in the translation of contextual entities and weak coherence, and achieve the effect of improving accuracy and large attention weight

Pending Publication Date: 2022-02-11
BEIJING XIAOMI MOBILE SOFTWARE CO LTD +1
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although the current neural machine translation model can achieve the effect of human translation in many languages, there is still great potential in the field of text translation
In the context of text translation in related technologies, machine translation is prone to problems such as inconsistent translation of contextual entities and weak coherence

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
  • Position coding method and device and storage medium
  • Position coding method and device and storage medium
  • Position coding method and device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0093] Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present disclosure as recited in the appended claims.

[0094] figure 1 is a flow chart of a position encoding method shown according to an exemplary embodiment, such as figure 1 As shown, the method is applied to electronic equipment and mainly includes the following steps:

[0095] In step 101, the text to be processed is split and processed, and each text unit and the corresponding processing order of the text unit are determined;

[...

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 relates to a position coding method and device and a storage medium. The method comprises the following steps: splitting a to-be-processed text, and determining each text unit and a processing sequence corresponding to the text unit, wherein the text units comprise first text units and second text units, and then determining first position information between the second text units and second position information between the first text units to which the second text units belong, and jointly determining target position information corresponding to each second text unit. According to the invention, the position information of the second text units corresponding to the first text units in the to-be-processed text can be simply and accurately enhanced on the premise that the parameter quantity and the calculated quantity are not obviously increased, and the result prediction effect of the follow-up model generation is effectively improved.

Description

technical field [0001] The present disclosure relates to the field of computer technology, in particular to a position encoding method, device and storage medium. Background technique [0002] Machine translation refers to the process of converting a source language into a target language through a computer. With the development of machine learning and deep learning technology, machine translation has gradually moved from statistical machine translation to the era of neural machine translation. Although the current neural machine translation model can achieve the effect of human translation in many languages, there is still great potential in the field of text translation. In the context of text translation in related technologies, machine translation is prone to problems such as inconsistent translation of contextual entities and weak coherence. Contents of the invention [0003] In order to overcome the problems existing in related technologies, the present disclosure p...

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): G06F40/289G06F40/30G06F40/58G06F16/33
CPCG06F40/30G06F40/289G06F40/58G06F16/3344
Inventor 穆畅李响
Owner BEIJING XIAOMI MOBILE SOFTWARE CO LTD
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