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

Document translation method and device and electronic equipment

A translation device and document technology, which is applied in the field of document translation, can solve the problems of different translation requirements for translation, and achieve the effect of avoiding accidental deletion or improper translation, and avoiding errors when backfilling

Pending Publication Date: 2021-08-24
ALIBABA GRP HLDG LTD
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, since the document in DITA XML format contains a large number of tags, such as topic, title, etc., and is usually mixed with the actual text that needs to be translated, its translation requirements are different from traditional text translation

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
  • Document translation method and device and electronic equipment
  • Document translation method and device and electronic equipment
  • Document translation method and device and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0093] First of all, the first embodiment provides a document-aided translation method, see figure 2 , the method may specifically include:

[0094] S210: Determine the source document, the source document includes text content and tags, and the tags represent attribute information of the associated text content;

[0095] Wherein, the source document may specifically be a document in a format such as DITA XML, which may include text content and tags, that is, tags are mixed with specific document content. The specific mark can be used to describe the attribute information of the associated text content, for example, it can include whether the text content belongs to the first-level title, the second-level title, the text, and so on.

[0096] There are many ways to specifically determine the source document. For example, in one way, the translator user may submit a specific document to be translated to the translation tool, and the document to be translated belongs to the sou...

Embodiment 2

[0121] The second embodiment provides another document-aided translation method, see Figure 5 , the method may specifically include:

[0122] S510: Determine a source document, where the source document includes text content and tags, where the tags represent attributes of the associated text content;

[0123] S520: According to the relative position information of the mark and the text content, classify the mark into an internal mark and an external mark;

[0124] S530: Divide the external tag into multiple text strings, and extract the external tag into a template file;

[0125] S540: Visually display the internal tags included in the text string differently from ordinary text content;

[0126] S550: After obtaining the translation corresponding to the text string, backfill the translation corresponding to the text string into the template file according to the positional relationship between the external markup and the text string, so as to generate a transl...

Embodiment 3

[0128] In the third embodiment, the process of creative translation is protected separately. Specifically, the third embodiment provides a document-assisted translation method, see Figure 6 , the method may specifically include:

[0129] S610: Determine the source document, the source document includes text content and tags, and the tags are used to describe the attribute information of the associated text content;

[0130] S620: Determine an external mark from the mark according to the position information of the mark relative to the text content, and extract the external mark into a template file;

[0131] S630: During the translation process, modify the external markup in the template file according to the received operation of splitting or merging text strings.

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 discloses a document translation method and device and electronic equipment, and the method comprises the steps: determining a source document, wherein the source document comprises text content and a mark, and the mark represents attribute information of the associated text content; determining an external mark from the marks according to the position information of the marks relative to the text content; dividing the text content into a plurality of text strings according to the external marks, and extracting the external marks into a template file; acquiring a corresponding translation by taking the text string as a unit; and according to the position relationship between the external mark and the text string, backfilling the translation corresponding to the text string into the template file to generate a translated document. Through the embodiment of the invention, effective translation of the DITA XML document can be realized.

Description

technical field [0001] The present application relates to the technical field of document translation, in particular to a document translation method, device and electronic equipment. Background technique [0002] Technical writing arose along with the industrial age. As equipment becomes more and more complex, mechanical equipment is used globally, and equipment is equipped with more and more software, etc., it is very common to provide various technical materials to help users use documents. . For example, a certain product may have both hardware equipment and various software, for example, mobile terminal equipment such as mobile phones, and so on. When the manufacturer sells this product to consumers, it usually provides a complete set of user manuals, for example, including technical documentation manuals, configuration manuals, installation manuals, command reference manuals, and so on. This kind of manual is usually written by relevant personnel, and some office sof...

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/47G06F40/166G06F9/451
CPCG06F40/47G06F40/166G06F9/451
Inventor 聂一兵董双巩媛媛刘婕韩玉洁夏明泽
Owner ALIBABA GRP HLDG 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