Publication translation method and device, electronic equipment and storage medium

Through term mining processing and user confirmation, the problem of low translation quality of terminology in professional publications is solved, the quality of machine translation is improved, and the cost of manual review is reduced, and the translation efficiency is improved.

CN119129612APending Publication Date: 2024-12-13THE FOURTH PARADIGM BEIJING TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411125490.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-15
Publication Date
2024-12-13

AI Technical Summary

Technical Problem

The translation quality of a large number of terms in professional publications is poor, resulting in high cost and low efficiency of manual review after machine translation.

Method used

Before translation, the publication is mined by terminology, obtain the original term text and its translation, and translated it after confirmation by the user, providing the term mining result interface for users to adjust and select.

Benefits of technology

Improves the quality of machine translation, reduces the need for term adjustment during manual review, reduces costs and improves translation efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119129612A_ABST
    Figure CN119129612A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a publication translation method and device, electronic equipment and a storage medium, relates to the technical field of computers, and is designed for effectively improving the quality of machine translation, reducing the manual review cost and improving the translation efficiency. The method comprises the following steps: acquiring a publication file to be translated; performing term mining processing on the publication file to be translated; a term mining result interface is provided, the term mining result interface is used for displaying a term mining result obtained through term mining processing, and the term mining result comprises a term original text and a term translation corresponding to the term original text; and in response to a selection operation of a user on the term mining result, translating the publication file according to the term original text selected by the user and the term translation corresponding to the term original text. The embodiment of the invention can be applied to machine translation products.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and more specifically, to a method, device, electronic device and storage medium for translating publications. Background Art

[0002] In the early days, when translating foreign literature and other publications, the translator usually first did the preliminary translation, then the content editor proofread it, and after the proofreading was completed, it was handed over to the typesetting editor or printing department for processing. At present, with the rapid development of computer and artificial intelligence technology, the effect of machine translation has made great progress. It can basically replace the translator to do the preliminary translation, and then it can be proofread manually. Moreover, both the preliminary translation and the proofreading can be paperless, which greatly improves the efficiency of publication translation.

[0003] However, publications, especially professional publications, contain a large number of terms. Due to the specific meanings of the terms, machine translation may generally have poor translation quality for the terms. If a large number of terminology adjustments are made to the machine translation during manual review, it may have a significant impact on the content and structure of the translation, requiring a lot of time and effort to make adjustments, which is costly and greatly affects the efficiency of translation. Summary of the invention

[0004] In view of this, an embodiment of the present invention provides a method, device, electronic device and storage medium for translating publications, which can effectively improve the quality of machine translation, thereby reducing the cost of manual review and improving translation efficiency.

[0005] In a first aspect, an embodiment of the present invention provides a method for translating a publication, the method comprising: obtaining a publication file to be translated; performing term mining processing on the publication file to be translated; providing a term mining result interface, the term mining result interface being used to display the term mining results obtained by the term mining processing, the term mining results comprising a term original text and a term translation corresponding to the term original text; in response to a user's selection operation on the term mining result, translating the publication file according to the term original text selected by the user and the term translation corresponding to the term original text.

[0006] Optionally, in one embodiment of the present invention, the performing terminology mining processing on the publication file to be translated includes: performing terminology mining processing on the publication file to be translated in response to a translation instruction for the publication file to be translated issued by a user.

[0007] Optionally, in one embodiment of the present invention, the performing terminology mining processing on the publication file to be translated includes: detecting whether a terminology mining function is turned on; if the terminology mining function is turned on, performing terminology mining processing on the publication file to be translated.

[0008] Optionally, in one embodiment of the present invention, the term mining processing of the publication file to be translated includes: obtaining the original terminology corresponding to the publication file and the terminology translation corresponding to the original terminology from the terminology list or index table in the publication file to be translated; and / or, traversing the publication file to be translated to extract the original terminology in the publication file, and obtaining the terminology translation corresponding to the original terminology based on a preset knowledge base.

[0009] Optionally, in an embodiment of the present invention, after providing the term mining result interface, the method further comprises: modifying the term translation in response to a user's modification operation on the term translation.

[0010] Optionally, in one embodiment of the present invention, the term mining interface includes a first area and a second area, the first area is used to display the term mining results, and the second area is used to display the content of the publication file; the first area also includes a control for viewing the term source; after providing the term mining result interface, the method also includes: in response to a user's selection operation on the view term source control, highlighting the original term text corresponding to the view term source control in the content of the publication file.

[0011] Optionally, in one embodiment of the present invention, the method further includes: in response to a user's selection operation on target content in the publication content, providing an add term control; in response to a user's selection operation on the add term control, adding the target content as a term to the term mining results.

[0012] Optionally, in one embodiment of the present invention, adding the target content as a term to the term mining result includes: providing an add term window corresponding to the target content, the add term window including the term original text display box and the term translation input box, the target content being displayed in the term original text display box; receiving the term translation corresponding to the target content input by the user through the term translation input box; in response to the user's determination to add the term, adding the target content as the term original text and the term translation input by the user as the term translation to the term mining result.

[0013] Optionally, in one embodiment of the present invention, the term mining result also includes a case identification item, which is used to identify the term translation when the original term is in uppercase or lowercase; after providing the term mining result interface, the method also includes: modifying the case identification item in response to the user's modification operation on the case identification item.

[0014] Optionally, in one embodiment of the present invention, after or during the translation of the publication file according to the original terminology selected by the user and the translated terminology corresponding to the original terminology, the method further includes: providing a terminology mining result entrance; in response to the user's selection operation on the terminology mining result entrance, providing a terminology mining result interface so that the user can modify the terminology mining results in the terminology mining result interface.

[0015] In a second aspect, an embodiment of the present invention provides a publication translation device, the device comprising: An acquisition unit, used for acquiring publication files to be translated; A mining unit, used for performing term mining processing on the publication file to be translated; A display unit, used for providing a term mining result interface, wherein the term mining result interface is used for displaying the term mining result obtained by the term mining process, wherein the term mining result includes a term original text and a term translation corresponding to the term original text; The translation unit is used for translating the publication file according to the original terminology text selected by the user and the translated terminology text corresponding to the original terminology text in response to the user's selection operation on the terminology mining result.

[0016] Optionally, in one embodiment of the present invention, the excavation unit is used to: In response to a translation instruction issued by a user for the publication file to be translated, term mining processing is performed on the publication file to be translated.

[0017] Optionally, in one embodiment of the present invention, the excavation unit is used to: Check if the term mining function is turned on; If the term mining function is turned on, term mining is performed on the publication file to be translated.

[0018] Optionally, in one embodiment of the present invention, the excavation unit is used to: Obtaining, from the term list or index list in the publication file to be translated, the original term text corresponding to the publication file and the term translation corresponding to the original term text; and / or, The publication files to be translated are traversed to extract the original terminology in the publication files, and the translated terminology corresponding to the original terminology is obtained based on a preset knowledge base.

[0019] Optionally, in one embodiment of the present invention, the device further comprises: The first adjustment unit is used to modify the term translation in response to a user's modification operation on the term translation.

[0020] Optionally, in one embodiment of the present invention: The term mining interface includes a first area and a second area, the first area is used to display the term mining results, and the second area is used to display the content of the publication file; The first area also includes a view term source control; The display unit is also used for: In response to a user's selection operation on the control for viewing term sources, the original text of the term corresponding to the control for viewing term sources is highlighted in the content of the publication file.

[0021] Optionally, in one embodiment of the present invention, the device further comprises: A providing unit, configured to provide a term adding control in response to a user's selection operation on a target content in the publication content; The adding unit adds the target content as a term to the term mining result in response to a user's selection operation on the add term control.

[0022] Optionally, in one embodiment of the present invention, the adding unit includes: A module is provided for providing a term adding window corresponding to the target content, wherein the term adding window includes a term original text display box and a term translation input box, and the target content is displayed in the term original text display box. A receiving module, configured to receive a term translation corresponding to the target content input by a user through the term translation input box; The adding module is used for adding the target content as the original term and the term translation input by the user as the term translation to the term mining result in response to the user's operation of determining to add the term.

[0023] Optionally, in one embodiment of the present invention, the term mining result further includes a case identification item for identifying the term translation when the original term is in uppercase or lowercase; the device further includes: The second adjustment unit modifies the case identification item in response to a user's modification operation on the case identification item.

[0024] Optionally, in one embodiment of the present invention, the device further comprises: A second providing unit is used to provide a term mining result entry; The third providing unit is used to provide a term mining result interface in response to the user's selection operation on the term mining result entry, so that the user can modify the term mining result in the term mining result interface.

[0025] In a third aspect, an embodiment of the present invention provides an electronic device, comprising: a housing, a processor, a memory, a circuit board and a power supply circuit, wherein the circuit board is placed inside a space enclosed by the housing, and the processor and the memory are arranged on the circuit board; the power supply circuit is used to supply power to various circuits or devices of the above-mentioned electronic device; the memory is used to store executable program code; the processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to execute the translation method described in the method of the first aspect above.

[0026] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the translation method described in the first aspect.

[0027] The embodiments of the present invention provide a method, device, electronic device and storage medium for translating publications. Before translating a publication file, a term mining process is first performed on the publication file to obtain possible terms and their translations in the publication file, and the original terms and their translations are displayed on a term mining result interface for user adjustment and selection. The publication file is translated based on the original terms and their translations selected by the user. Since the translations of the terms have been confirmed by the user before translation, the defect of poor translation quality of the terms by machine translation is compensated, and the quality of machine translation is effectively improved, thereby greatly reducing the possibility of large-scale term adjustments for machine translations during subsequent manual review. Therefore, the cost of manual review is effectively reduced and the efficiency of translation is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0029] Figure 1 A flowchart of a method for translating publications provided by an embodiment of the present invention; Figure 2 An exemplary schematic diagram of a file upload interface in a method for translating publications provided in an embodiment of the present invention; Figure 3 An exemplary schematic diagram of a file upload interface in a method for translating publications provided in an embodiment of the present invention; FIG4 is an exemplary schematic diagram of a term mining result interface in a publication translation method provided by an embodiment of the present invention; Figure 5 An exemplary schematic diagram of a list of operable controls in a method for translating publications provided in an embodiment of the present invention; Figure 6 An exemplary schematic diagram of a term adding window in a method for translating a publication provided by an embodiment of the present invention; Figure 7 An exemplary schematic diagram of a term mining result entry in a method for translating a publication provided in an embodiment of the invention; Figure 8 A schematic diagram of the structure of a translation device provided by an embodiment of the present invention; Fig. 9 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0030] The embodiments of the present invention are described in detail below with reference to the accompanying drawings.

[0031] It should be clear that the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0032] The following is combined with Figure 1 , the scheme provided by the embodiment of the present invention is described in detail, Figure 1 The flowchart of the method for translating publications provided in the embodiment of the present invention is a subject of the implementation of an electronic device, which can be a translation platform or translation application set on the electronic device. The electronic device can be a terminal device, such as a personal computer, a desktop computer, etc. The electronic device can also be a server. Figure 1 As shown, the method of this embodiment specifically includes the following steps: Step 110: Obtain the publication file to be translated.

[0033] In the embodiment of the present invention, publications refer to published products for the purpose of spreading culture and knowledge, including printed materials and electronic products, which can be specifically divided into books, periodicals, newspapers, and electronic communication products. In order to facilitate dissemination, publications usually need to be translated into multiple languages.

[0034] In this step, the user can upload the electronic version of the translated publication, i.e., the publication file, and obtain the publication file based on the user's upload operation. Figure 2 , a file upload interface can be provided, and a file upload control, such as a button, can be set on the interface. Users can upload the publication file to be translated by clicking the file upload control, and can also drag the publication file to the file upload control to upload the file.

[0035] Step 120: Perform term mining on the publication file to be translated.

[0036] Generally speaking, publications, especially professional publications, may contain a large number of terms. Among them, terminology refers to specialized terms in specialized disciplines, that is, professional terms used in specific fields. In other words, terminology expresses special concepts in various professions, so its scope of application is limited and few people use it. Due to the specific meaning of terminology and the limitation of communication scope, the translation quality of terminology by machine translation is insufficient. After translating publications by machine translation, manual review needs to spend a lot of time to adjust terminology, which is costly and has a great impact on the overall translation speed. Moreover, if a large number of terminology adjustments are made, it is very likely to have a great impact on the content and results of the machine translation, requiring large-scale modifications, which is risky.

[0037] In view of this, in an embodiment of the present invention, after obtaining the publication file to be translated, term mining processing is first performed to mine possible terms and obtain the translation of the terms, which are provided to the user for modification and selection. Then, the translation is performed according to the terms modified and selected by the user, effectively ensuring the accuracy and quality of the translation.

[0038] Optionally, in this step, when it is detected that the publication file to be translated has been obtained, that is, when the upload is completed, the term mining process can be automatically carried out. Figure 3 As shown, after the publication file to be translated is obtained, a control for receiving the user's translation instructions, such as a "Start Term Mining" button, can be provided, and then responding to the translation instructions for the publication file to be translated issued by the user, for example, the user clicks the "Start Term Mining" button to perform term mining processing on the publication file to be translated.

[0039] Optionally, considering that not all publication files require term mining processing, a switch can be set for the term mining function, and the user can turn on or off the term mining function to facilitate the user's translation operation. Therefore, in this step, when it is detected that the publication file to be translated is obtained, it is first detected whether the term mining function is turned on. If the term mining function is turned on, the publication file to be translated is subjected to term mining processing.

[0040] In this step, the purpose of term mining is to obtain the original text and translation of at least part of the terms in the publication file to be translated. The embodiment of the present invention is not limited to how to perform term mining, as long as the purpose of term mining can be achieved.

[0041] For example, many publications have index tables, which mark certain terms and other words with special meanings with numbers, such as circle 1①, circle 2②, etc., and then translate and explain these words in the index table according to the numbers. The index table can be uniformly set on certain pages of the publication or at the bottom of each page of the publication. Therefore, optionally, in this step, the original terminology corresponding to the publication file and the translation of the terminology corresponding to the original terminology can be obtained from the index table in the publication file to be translated.

[0042] Similarly, many professional publications will have special glossaries that will translate and explain the terms that appear in the professional publications. The glossaries can be uniformly set on certain pages of the publication. Therefore, optionally, in step 102, the original terms corresponding to the publication file and the translated terms corresponding to the original terms can be obtained from the glossary in the publication file to be translated.

[0043] In addition, optionally, a retrieval and comparison method can be used to pre-set a terminology library, and by traversing the publication files to be translated and comparing them with the pre-set terminology knowledge base, the original terminology texts of the terms in the publication files can be extracted, and the terminology translations corresponding to the original terminology texts can be obtained based on the preset terminology knowledge base.

[0044] With the rapid development of artificial intelligence and big language model technology, artificial intelligence AI models such as big language models have the ability to analyze and extract text and other content. Therefore, AI models for term mining can be pre-trained and term mining processing can be performed through AI models.

[0045] It should be emphasized that the term mining process in step 102 will obtain a term mining result, which includes the original term and the term translation corresponding to the original term. In addition, it can be understood that some terms are special and may have different meanings when the full letters or the first letter are capitalized or lowercase. Therefore, the term mining result can also include a capitalization mark to identify the term translation when the original term is capitalized or lowercase. In addition, in order to facilitate users to make accuracy judgments, the term mining result can also include a description of the mined term, such as a description in the index table, or the context of the term in the publication file.

[0046] Step 130: Provide a term mining result interface, which is used to display the term mining results obtained by the term mining process. The term mining results include the original term and the term translation corresponding to the original term.

[0047] In this step, the term mining result interface is an interactive interface, through which the user can view the term mining results, and the user can modify the translation of the term, that is, can perform a modification operation on the term translation. In the embodiment of the present invention, the term translation can be modified in response to the user's modification operation on the term translation. The user can also select the term and its translation that need to be applied to the publication file to be translated from the term mining results, so as to ensure the quality of subsequent translation.

[0048] FIG4 shows an exemplary term mining result interface for displaying the term mining result obtained by the term mining process. As shown in FIG4 (a), the term mining interface includes a first area and a second area. The first area 10 is used to display the term mining result, and the second area is used to display the content of the publication file. The term mining result is displayed in a list in the first area, and each line corresponds to a term. Each term corresponds to the original term, the term translation, the term case (i.e., the case mark), and the term description. Among them, the term translation and the term case can be edited by the user, that is, the user can modify the translation and the term case. In response to the user's modification operation on the translation or the case, the translation or the term case is modified. In addition, each term also corresponds to a "view term source" control. When the user is not sure whether to apply the term to the publication file, the user can select "view term source" to view the original source text for auxiliary judgment. When the user selects the control, in response to the user's selection operation on the control, as shown in FIG4 (b), the original text of the term corresponding to the control for viewing the term source is highlighted in the content of the publication file in the second area 20. At the same time, a bottom bar can be added to the second area 20, and the bottom bar is provided with "previous" and "next" controls, and the number of occurrences of the term in this publication file can also be provided. The user can switch to view the original text and context of the term in various places in this file through the two controls in the bottom bar.

[0049] Optionally, in one embodiment of the present invention, when a user browses the content of a publication file in a term mining result interface or other interface, if the user finds a term that has not been mined, the user can manually add the term to the term mining result, and then display it in the term mining solution interface. Specifically, the user can first select a target content (i.e., the term to be added) in the content of the publication file, for example, by swiping to select the target content. After detecting the user's selection operation, in response to the user's selection operation on the target content in the publication content, such as Figure 5As shown, a list of operable controls may be provided, the list of controls including an add term control, and when the user selects the add term control, in response to the user's selection operation of the add term control, the target content is added as a term to the term mining result. Figure 6 As shown, after the user selects the add term control, an add term window corresponding to the target content may be provided. The add term window includes a term original text display box and a term translation input box. The target content is displayed in the term original text display box, and the user can input the term translation corresponding to the target content through the term translation input box. After that, the user can click the "Add and Apply" control, that is, confirm to add the term. In response to the user's operation of confirming to add the term, the target content is added as the term original text and the term translation input by the user is added as the term translation to the term mining results. Of course, the user's addition of terms is not limited to the content in the publication file. The user can also select the target content from other content to add to the term mining results. The method is similar to the above-mentioned method of adding the target content, which will not be repeated here.

[0050] Step 140 : In response to the user's selection operation on the term mining result, the publication file is translated according to the original term selected by the user and the translated term corresponding to the original term.

[0051] In an embodiment of the present invention, a user can select terms and their translations that need to be applied to the publication file to be translated from the term mining results, and then translate the publication file according to the original terminology selected by the user and the terminology translation corresponding to the original terminology, thereby ensuring the quality of the translation.

[0052] Referring to FIG. 4 (a), the user can select the terms and their translations to be applied in the publication file by checking the boxes, and then issue the translation instruction by clicking the "checked terms, start translation" control. It is understandable that the user's selection of term mining results is not limited to the checking method.

[0053] The publication translation method provided by the embodiment of the present invention performs terminology mining on the publication file to be translated before translating it, obtains possible terms and their translations in the publication file, and displays the original terms and their translations on the terminology mining result interface for user adjustment and selection. The publication file is translated based on the original terms and their translations selected by the user. Since the translation of the terms has been confirmed by the user before translation, the defect of poor translation quality of the terms by machine translation is compensated, and the quality of machine translation is effectively improved, thereby greatly reducing the possibility of large-scale terminology adjustment for machine translation during subsequent manual review. Therefore, the cost of manual review is effectively reduced and the efficiency of translation is improved.

[0054] Furthermore, in order to facilitate users to understand and adjust terms, in an embodiment of the present invention, after the term mining process is performed, a term mining result entry can be provided at a predetermined position of any interface, so that after translating a publication file or during the translation process, in response to the user's selection operation on the term mining result entry, a term mining result interface is provided so that the user can view and modify the term mining results in the term mining result interface. Figure 7 Shown Figure 8 A schematic diagram of a device structure provided by an embodiment of the present invention is shown in FIG. Figure 8 As shown, the device of this embodiment may include: An acquisition unit 80, used for acquiring a publication file to be translated; A mining unit 81, used for performing term mining processing on the publication file to be translated; A display unit 82, used for providing a term mining result interface, wherein the term mining result interface is used for displaying the term mining result obtained by the term mining process, wherein the term mining result includes the original term and the term translation corresponding to the original term; The translation unit 83 is used to translate the publication file according to the original terminology text selected by the user and the translated terminology text corresponding to the original terminology text in response to the user's selection operation on the terminology mining result.

[0055] Optionally, in one embodiment of the present invention, the mining unit 81 is specifically used for: In response to a translation instruction issued by a user for the publication file to be translated, term mining processing is performed on the publication file to be translated.

[0056] Optionally, in one embodiment of the present invention, the mining unit 81 is specifically used for: Check if the term mining function is turned on; If the term mining function is turned on, term mining is performed on the publication file to be translated.

[0057] Optionally, in one embodiment of the present invention, the mining unit 81 is specifically used for: Obtaining, from the term list or index list in the publication file to be translated, the original term text corresponding to the publication file and the term translation corresponding to the original term text; Optionally, in one embodiment of the present invention, the mining unit 81 is specifically used for: The publication files to be translated are traversed to extract the original terminology in the publication files, and the translated terminology corresponding to the original terminology is obtained based on a preset knowledge base.

[0058] Optionally, in one embodiment of the present invention, the device further includes: The first adjustment unit is used to modify the term translation in response to a user's modification operation on the term translation.

[0059] Optionally, in one embodiment of the present invention, the term mining interface includes a first area and a second area, the first area is used to display the term mining results, and the second area is used to display the content of the publication file; the first area also includes a control for viewing term sources; The display unit 82 is further used for: in response to a user's selection operation on the view term source control, highlighting the original term text corresponding to the view term source control in the content of the publication file.

[0060] Optionally, in one embodiment of the present invention, the device further includes: A providing unit, configured to provide a term adding control in response to a user's selection operation on a target content in the publication content; The adding unit adds the target content as a term to the term mining result in response to a user's selection operation on the add term control.

[0061] Further, in one embodiment of the present invention, the adding unit includes: A providing module, configured to provide an add term window corresponding to the target content, wherein the add term window includes a term original text display box and a term translation input box, and the target content is displayed in the term original text display box; A receiving module, configured to receive a term translation corresponding to the target content input by a user through the term translation input box; The adding module is used to add the target content as the original term and the term translation input by the user as the term translation to the term mining result in response to the user's operation of determining to add the term.

[0062] Optionally, in one embodiment of the present invention, the term mining result further includes a case identification item, which is used to identify the translation of the term when the original term is in uppercase or lowercase; The device also includes: The second adjustment unit modifies the case identification item in response to a user's modification operation on the case identification item.

[0063] Optionally, in one embodiment of the present invention, the device further includes: A second providing unit is used to provide a term mining result entry; The third providing unit is used to provide a term mining result interface in response to the user's selection operation on the term mining result entry, so that the user can modify the term mining result in the term mining result interface.

[0064] The device of the embodiment of the present invention can be used to perform Figure 1 The technical solution of the method embodiment shown has similar implementation principles and technical effects, which will not be repeated here.

[0065] Accordingly, a device provided by an embodiment of the present invention may also be implemented by another structure. Fig. 9 A schematic diagram of the structure of an electronic device embodiment provided by the present invention can implement the present invention Figure 1 The process of the embodiment shown is as follows: Fig. 9 As shown, the electronic device may include: a housing 91, a processor 92, a memory 93, a circuit board 94 and a power supply circuit 95, wherein the circuit board 94 is placed inside the space enclosed by the housing 91, and the processor 92 and the memory 93 are arranged on the circuit board 94; the power supply circuit 95 is used to supply power to various circuits or devices of the electronic device; the memory 93 is used to store executable program codes; the processor 92 runs the program corresponding to the executable program code by reading the executable program code stored in the memory 93, so as to execute the method of the aforementioned embodiment.

[0066] For details on the specific execution process of the above steps by the processor 92 and the steps further executed by the processor 92 by running the executable program code, please refer to the present invention. Figure 1 The description of the illustrated embodiment will not be repeated here.

[0067] The electronic device is a device that provides computing services. The electronic device consists of a processor, hard disk, memory, system bus, etc. The electronic device is similar to the general computer architecture, but because it needs to provide highly reliable services, it has higher requirements in terms of processing power, stability, reliability, security, scalability, manageability, etc.

[0068] It should be noted that, in this article, terms such as "comprises", "includes" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of more restrictions, an element defined by the sentence "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.

[0069] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.

[0070] In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0071] The logic and / or steps represented in the flowchart or otherwise described herein, for example, may be considered as an ordered list of executable instructions for implementing logical functions, and may be embodied in any computer-readable medium for use by an instruction execution system, apparatus or device (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, apparatus or device and execute instructions), or in conjunction with such instruction execution system, apparatus or device. For purposes of this specification, "computer-readable medium" may be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, apparatus or device, or in conjunction with such instruction execution system, apparatus or device.

[0072] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a computer memory.

[0073] It should be understood that various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof.

[0074] In the above embodiments, multiple steps or methods may be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it may be implemented by any one of the following technologies known in the art or a combination thereof: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0075] A person skilled in the art may understand that all or part of the steps in the above-mentioned embodiment method may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.

[0076] For the convenience of description, the above device is described by dividing the functions into various units / modules. Of course, when implementing the present invention, the functions of each unit / module can be implemented in the same or multiple software and / or hardware.

[0077] It can be known from the above description of the implementation mode that those skilled in the art can clearly understand that the present invention can be implemented by means of software plus a necessary general hardware platform. Based on such an understanding, the technical solution of the present invention can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product can be stored in a storage medium such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods of various embodiments of the present invention or certain parts of the embodiments.

Claims

1. A method for translating a publication, characterized in that: The method comprises: Obtain publication files for translation; Performing term mining processing on the publication file to be translated; Providing a term mining result interface, the term mining result interface is used to display the term mining results obtained by the term mining process, the term mining results including the original term and the term translation corresponding to the original term; In response to a user's selection operation on the term mining result, the publication file is translated according to the original term text selected by the user and the term translation corresponding to the original term text.

2. The method according to claim 1, characterized in that The term mining process for the publication file to be translated includes: Obtaining, from the term list or index list in the publication file to be translated, the original term text corresponding to the publication file and the term translation corresponding to the original term text; and / or, The publication files to be translated are traversed to extract the original terminology in the publication files, and the translated terminology corresponding to the original terminology is obtained based on a preset knowledge base.

3. The method according to claim 1, characterized in that After providing the term mining result interface, the method further includes: In response to a user's modification operation on the term translation, the term translation is modified.

4. The method according to claim 1, characterized in that: The term mining interface includes a first area and a second area, the first area is used to display the term mining results, and the second area is used to display the content of the publication file; The first area also includes a view term source control; After providing the term mining result interface, the method further includes: In response to a user's selection operation on the control for viewing term sources, the original text of the term corresponding to the control for viewing term sources is highlighted in the content of the publication file.

5. The method according to claim 4, characterized in that The method further comprises: In response to a user's selection operation on target content in the publication content, providing an add term control; In response to a user's selection operation on the add term control, the target content is added as a term to the term mining result.

6. The method according to claim 5, characterized in that The adding the target content as a term to the term mining result comprises: Providing a term adding window corresponding to the target content, wherein the term adding window includes a term original text display box and a term translation input box, and the target content is displayed in the term original text display box; receiving a term translation corresponding to the target content input by a user through the term translation input box; In response to the user's operation of determining to add a term, the target content is taken as the original term text and the term translation input by the user is taken as the term translation is added to the term mining result.

7. The method according to claim 1, characterized in that The term mining result also includes a case identification item, which is used to identify the translation of the term when the original term is in uppercase or lowercase; After providing the term mining result interface, the method further includes: In response to a user's modification operation on the case identification item, the case identification item is modified.

8. A publication translation device, characterized in that: The device comprises: An acquisition unit, used for acquiring publication files to be translated; A mining unit, used for performing term mining processing on the publication file to be translated; A display unit, used for providing a term mining result interface, wherein the term mining result interface is used for displaying the term mining result obtained by the term mining process, wherein the term mining result includes a term original text and a term translation corresponding to the term original text; The translation unit is used for translating the publication file according to the original terminology text selected by the user and the translated terminology text corresponding to the original terminology text in response to the user's selection operation on the terminology mining result.

9. An electronic device, characterized in that: The electronic device comprises: a housing, a processor, a memory, a circuit board and a power supply circuit, wherein the circuit board is placed inside the space enclosed by the housing, and the processor and the memory are arranged on the circuit board; the power supply circuit is used to supply power to various circuits or devices of the above-mentioned electronic device; the memory is used to store executable program codes; the processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to execute the method described in any of the preceding claims 1-7.

10. A computer-readable storage medium storing one or more programs, wherein the one or more programs can be executed by one or more processors to implement the method according to any one of claims 1 to 7.