Machine translation method and device, electronic equipment and medium
A technology of machine translation and translation results, applied in the field of machine translation, can solve the problems of low accuracy and low efficiency of automatic translation, achieve clear boundaries of translation content and improve translation effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0025] figure 1 It is a flow chart of a machine translation method provided by Embodiment 1 of the present invention. This embodiment is applicable to automatic translation (machine translation), and the method can be executed by a machine translation device, which can use software and / or hardware implementation, and can be configured in electronic equipment, the electronic equipment includes terminals or servers, such as figure 1 As shown, the method includes:
[0026] S110. Obtain the source language sentence to be translated.
[0027] The source language sentence to be translated may be, for example, a word, phrase or sentence input by the user to be translated. When the system acquires the source language sentence to be translated, it can perform corresponding translation, for example, the acquired Chinese source language sentence.
[0028] S120. Using the pre-trained machine translation model, simultaneously provide the target language translation result of the source...
Embodiment 2
[0035] image 3 It is a flowchart of a machine translation model training method provided in Embodiment 2 of the present invention. On the basis of the above embodiments, optionally, the machine translation model is a neural network-based machine translation model, such as image 3 Shown, the training method of described machine translation model comprises:
[0036] S310. Obtain sample data, wherein the sample data includes a set of sample sentences in the source language, and each sample sentence is correspondingly marked with the coarse classification and fine classification to which it belongs, and the corresponding The target language translation results of .
[0037] Each sample sentence may include the source language sentence itself, its marked coarse classification and fine classification, and the translation result of the target language under the category formed by the coarse classification and fine classification. Exemplarily, a sample sentence may include: the sour...
Embodiment 3
[0063] Figure 5 is a schematic structural diagram of a machine translation device provided in Embodiment 3 of the present invention, as shown in Figure 5 As shown, the device can be implemented in the form of hardware and / or software, and can be configured in electronic equipment, and the device includes:
[0064] Source language sentence obtaining module 510, for obtaining the source language sentence to be translated;
[0065] The source language sentence translation module 520 is used to use the pre-trained machine translation model to simultaneously provide the target language translation result of the source language sentence and the category to which the source language sentence belongs, wherein the category includes rough classification and The fine classification under the coarse classification, the machine translation model is used in combination with the classification task of the source language sentence to give the target language translation result.
[0066] Opt...
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