Text translation method and device, equipment and storage medium
A text and translation model technology, applied in the field of text translation, can solve problems such as difficulty in ensuring the consistency and fluency of text translation
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0027] figure 1 It is a flow chart of a text translation method provided by Embodiment 1 of the present invention. The method of this embodiment can be executed by a text translation device, which can be implemented by means of hardware and / or software, and can generally be integrated into a device. For example server. The method of this embodiment specifically includes:
[0028] S110. Obtain the original language text.
[0029] In this embodiment, the original language text may specifically be any language text. Further, the original language text can be acquired through direct input from the user, or through scanning and image-to-text conversion, or through speech recognition. This implementation The example does not limit this.
[0030] S120. Use the text translation model to translate the original language text to obtain the target language text corresponding to the original language text, wherein the text translation model is a translation model obtained after correct...
Embodiment 2
[0037] figure 2 It is a flowchart of a text translation method provided by Embodiment 2 of the present invention. This embodiment is optimized on the basis of the above-mentioned embodiments. In this embodiment, a specific text evaluation result is given, model correction steps are added, and specific methods for obtaining the best probability translation and random probability translation are given. implementation.
[0038] Correspondingly, the method in this embodiment specifically includes:
[0039] S210. Obtain the best probability translation of the original translation model for the test text, and the random probability translation.
[0040] In this embodiment, the steps of correcting the translation model, ie step 210 to step 230, are added. Further, in this embodiment, the text evaluation results of the training translation are specifically the text evaluation results of the best probability translation and the text evaluation results of the random probability tran...
Embodiment 3
[0051] Figure 3a It is a flowchart of a text translation method provided by Embodiment 3 of the present invention. This embodiment is optimized on the basis of the above-mentioned embodiments. In this embodiment, an overall evaluation algorithm for the specific translation results is given as the teacher motivation algorithm and a method for obtaining text evaluation results corresponding to the specific teacher motivation algorithm. A method for modifying the model and a specific implementation of the structure of the materialized text translation model.
[0052] Correspondingly, the method in this embodiment specifically includes:
[0053] S310. Obtain the best probability translation of the original translation model for the test text, and the random probability translation.
[0054] S320. Obtain the first vector corresponding to the best probability translation and the second vector corresponding to the standard translation of the test text according to the RNN obtained...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com