Translation text revision method, device, computer equipment and storage medium
By obtaining the quality inspection report and confirming the revision instructions, the segments in the translated text are automatically modified, which solves the problems of low revision efficiency and poor accuracy of the existing translated text, and achieves efficient and accurate text revision.
Patent Information
- Application Number
- CN202010909502.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-09-02
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2040-09-02
AI Technical Summary
The existing translation text revision methods are inefficient and have poor accuracy, making it difficult for translators to avoid quality defects during the revision process.
By obtaining the quality inspection segments and revision content in the quality inspection report, receiving confirmation revision instructions, and automatically modifying the text segments in the translation text based on the revision content, the revision efficiency and accuracy are improved.
It achieves efficient automatic revision of translated texts, improves revision accuracy and reduces the occurrence of quality defects.
Smart Images

Figure CN112215015B
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a translation text revision method, apparatus, computer equipment and storage medium. Background Art
[0002] In current online translation systems, after translators complete translation in the editor, they usually need to hand over the translation to quality inspectors or automatic quality inspection tools for quality inspection to ensure translation quality. After quality inspection, a quality inspection report can be generated. When customers review the translated text, they can also output quality inspection opinions by directly modifying the translated text or adding comments to generate a quality inspection report. After receiving the quality inspection report, translators can manually locate the sentences that need to be modified based on the modification opinions in the quality inspection report and manually revise the translated text.
[0003] However, the above-mentioned manual revision method is inefficient, and translators are unlikely to avoid making mistakes during the revision process, which can easily lead to certain quality defects.
[0004] Therefore, the current translation text revision method has the problems of low revision efficiency and poor accuracy. Summary of the invention
[0005] Based on this, it is necessary to provide a translation text revision method, device, computer equipment and storage medium to address the above-mentioned problems of low revision efficiency and poor accuracy.
[0006] A translation text revision method, the method comprising:
[0007] Obtaining a quality inspection report, wherein the quality inspection report includes quality inspection segments and revised content corresponding to at least one of the quality inspection segments; the quality inspection segments correspond to text segments in the translation text;
[0008] Receiving confirmation and revision instructions for the quality inspection report;
[0009] The text segment in the translation text is revised according to the confirmation revision instruction and the revision content.
[0010] In one embodiment, revising the text segment in the translation text according to the confirmation revision instruction and the revision content includes:
[0011] Obtaining a first quality inspection sentence corresponding to the confirmation revision instruction;
[0012] According to the revised content corresponding to the first quality inspection segment, the first text segment corresponding to the first quality inspection segment is revised.
[0013] In one embodiment, revising the first text segment corresponding to the first quality inspection segment according to the revised content corresponding to the first quality inspection segment includes:
[0014] Obtain target revision content according to the revision content corresponding to the first quality inspection sentence segment;
[0015] Obtaining a segment identifier of the first quality inspection segment;
[0016] determining the first text segment from the translated text according to the segment identifier;
[0017] The first text segment is revised according to the target revision content.
[0018] In one embodiment, the confirmation revision instruction is an instruction to click a target button, and the target button is displayed at a position corresponding to the first quality inspection segment.
[0019] In one embodiment, revising the text segment in the translation text according to the confirmation revision instruction and the revision content further includes:
[0020] If the confirmation revision instruction is received, determining the quality inspection segment with the revised content in the quality inspection report as the second quality inspection segment;
[0021] According to the revised content corresponding to the second quality inspection segment, the second text segment corresponding to the second quality inspection segment is revised.
[0022] In one embodiment, revising the text segment in the translation text according to the confirmation revision instruction and the revision content further includes:
[0023] Determining whether the revision content matches a preset revision template;
[0024] Acquire a revision operation and revision operation content according to the preset revision template matched by the revision content;
[0025] An operation is performed on the text segment according to the revision operation and the revision operation content to complete the revision.
[0026] In one embodiment, in the quality inspection report, the initial state of the quality inspection segment with the revised content is a pending confirmation state; the method further includes:
[0027] receiving a revision completion notification, wherein the revision completion notification is sent after any text segment in the translation text is revised;
[0028] The status of the quality inspection segment corresponding to the revision completion notification is updated to a revised status.
[0029] In one embodiment, the method further comprises:
[0030] receiving a rejection revision instruction corresponding to at least one of the quality inspection segments;
[0031] The status of the quality inspection segment corresponding to the reject revision instruction is updated to the reject revision status.
[0032] A translation text revision device, the device comprising:
[0033] A quality inspection report acquisition module, used to acquire a quality inspection report, wherein the quality inspection report includes quality inspection segments and revision content corresponding to at least one of the quality inspection segments; the quality inspection segments correspond to text segments in the translation text;
[0034] A revision instruction receiving module, used for receiving a confirmation revision instruction for the quality inspection report;
[0035] The translation text revision module is used to revise the text segment in the translation text according to the confirmation revision instruction and the revision content.
[0036] A computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0037] Obtaining a quality inspection report, wherein the quality inspection report includes quality inspection segments and revised content corresponding to at least one of the quality inspection segments; the quality inspection segments correspond to text segments in the translation text;
[0038] Receiving confirmation and revision instructions for the quality inspection report;
[0039] The text segment in the translation text is revised according to the confirmation revision instruction and the revision content.
[0040] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the following steps:
[0041] Obtaining a quality inspection report, wherein the quality inspection report includes quality inspection segments and revised content corresponding to at least one of the quality inspection segments; the quality inspection segments correspond to text segments in the translation text;
[0042] Receiving confirmation and revision instructions for the quality inspection report;
[0043] The text segment in the translation text is revised according to the confirmation revision instruction and the revision content.
[0044] The above-mentioned translation text revision method, device, computer equipment and storage medium can obtain the revision content corresponding to the quality inspection segment in the quality inspection report by acquiring the quality inspection report, receive the confirmation revision instruction for the quality inspection report, and revise the text segment in the translation text according to the confirmation revision instruction and the revision content. The text segment in the translation text can be automatically modified according to the revision content, and the modification opinions in the quality inspection report can be automatically implemented in the translation text, thereby improving the revision efficiency and revision accuracy of the translation text. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 A diagram of an application environment of a translation text revision method in one embodiment;
[0046] Figure 2 A schematic diagram of a process of revising a translation text in one embodiment;
[0047] Figure 3 A schematic flow chart of a translation text revision method in another embodiment;
[0048] Figure 4 A structural block diagram of a translation text revision device in one embodiment;
[0049] Figure 5 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0050] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0051] The translation text revision method provided by this application can be applied to Figure 1 In the application environment shown. The terminal 102 communicates with the server 104 through the network. The terminal 102 may be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, and portable wearable devices. The server 104 may be implemented as an independent server or a server cluster composed of multiple servers, and may also be a cloud server. Furthermore, the terminal 102 may be a translator terminal of a language service provider (Language Services Provider), and the server may be a server of the language service provider.
[0052] In one embodiment, Figure 2 As shown, a translation text revision method is provided, which is applied to Figure 1 Taking the server 104 in the example as an example, the following steps are included:
[0053] Step S210, obtaining a quality inspection report, wherein the quality inspection report includes quality inspection segments and revised content corresponding to at least one quality inspection segment; the quality inspection segment corresponds to the text segment in the translation text.
[0054] The quality inspection segment may be a segment that has passed quality inspection.
[0055] In a specific implementation, the server 104 may read a quality inspection report, which may include multiple quality inspection segments and revised content of at least one quality inspection segment, wherein the quality inspection segment corresponds to a text segment in the translation text, and the quality inspection segment may carry a segment identifier.
[0056] In actual applications, the client can download the translation text from the language service provider server through the client terminal. The translation text can include the original text and the translated text. In the translation text, all text segments can be selected as quality inspection segments, or some text segments can be selected as quality inspection segments. Quality inspection is performed on the quality inspection segments, and revision opinions are given for the problematic quality inspection segments to obtain the revised content of at least one quality inspection segment. The client terminal can generate a quality inspection report based on the quality inspection segments and the revised content, and upload the quality inspection report to the server 104 of the language service provider.
[0057] The quality inspection report may also be a quality inspection report generated by the language service provider's internal quality inspection. The internal quality inspection personnel may download the translated text from the server through the quality inspection terminal, and upload the generated quality inspection report to the server 104 after quality inspection.
[0058] The internal translator of the language service provider can also download the quality inspection report from the server through the translator terminal, add the content that needs to be automatically modified to the quality inspection report to form an updated quality inspection report, and upload the updated quality inspection report to the server 104 through the translator terminal.
[0059] It should be noted that segment identifiers can be added to the quality inspection segments in the quality inspection report. For example, the source information of the segment can be used as the segment identifier, where the source information can be at least one of a GUID (Globally Unique Identifier), a file identifier, a task identifier, and authorized personnel information. The text segment can be searched in the translated text based on the segment identifier.
[0060] Step S220: receiving a confirmation and revision instruction for the quality inspection report.
[0061] The confirmation revision instruction may be an instruction for confirming the modification of the translation text.
[0062] In a specific implementation, the terminal 102 may generate a confirmation and revision instruction for the quality inspection report and send the instruction to the server 104 . The server 104 may receive the confirmation and revision instruction sent by the terminal 102 .
[0063] In actual applications, terminal 102 can be a translator terminal of an internal translator of a language service provider. A quality inspection report and a target button corresponding to each quality inspection segment in the quality inspection report can be displayed on the translator terminal. If the translator agrees to the revision content of the specified quality inspection segment and needs to implement the revision content in the translation text stored on server 104, the translator can click the target button corresponding to the quality inspection segment to generate a confirmation revision instruction for the quality inspection segment. The translator terminal can send the confirmation revision instruction to server 104, which will be received by server 104.
[0064] Terminal 102 can also be a quality inspector terminal for quality inspectors within the language service provider. The quality inspector terminal can display the quality inspection report and the target button corresponding to each quality inspection segment in the quality inspection report. If the quality inspector needs to modify the quality inspection segment according to the revised content after adding the revision content of the specified quality inspection segment, the target button of the quality inspection segment can be clicked to generate a confirmation revision instruction for the quality inspection segment. The quality inspector terminal can send the confirmation revision instruction to server 104, which will be received by server 104.
[0065] It should be noted that the translator or quality inspector can click the target button of a quality inspection segment to generate confirmation revision instructions for the quality inspection segment, and can also click the target buttons of multiple or all quality inspection segments to generate confirmation revision instructions for multiple or all quality inspection segments.
[0066] Step S230, revising the text segment in the translation text according to the confirmed revision instruction and the revision content.
[0067] In a specific implementation, server 104 can obtain the quality inspection segment corresponding to the confirmation revision instruction, and use the revision content corresponding to the quality inspection segment as the target revision content. Server 104 can also obtain the segment identifier of the quality inspection segment, determine the target text segment in the translation text according to the segment identifier, and revise the target text segment according to the target revision content.
[0068] In practical applications, the target revision content may be deletion, insertion or replacement of the target text segment, and the target text segment may be deleted, inserted or replaced according to the target revision content. The target revision content may also be a comment, and the server 104 may first identify whether the comment uses a predefined comment template. If the predefined comment template is used, the target text segment may be modified according to the comment template. For example, according to the comment template "@R XXX=>YYY", all XXX in the target text segment may be replaced with YYY, and according to the comment template "@D ZZZ", all ZZZ in the target text segment may be deleted, wherein the comment template may be agreed or defined in advance as required; if it is identified that the comment does not use the comment template, it may be determined that the comment is a common comment, and the above-mentioned modification based on the comment template is not performed. At this time, the translator may add the content that needs to be automatically modified to the quality inspection report to form an updated quality inspection report, and give a confirmation revision instruction for the updated quality inspection report. The server 104 revise the text segment in the translated text according to the confirmation revision instruction and the updated quality inspection report.
[0069] The above-mentioned translation text revision method can obtain the revision content corresponding to the quality inspection segment in the quality inspection report by obtaining the quality inspection report, receive the confirmation revision instruction for the quality inspection report, and revise the text segment in the translation text according to the confirmation revision instruction and the revision content. The text segment in the translation text can be automatically modified according to the revision content, and the modification opinions in the quality inspection report can be automatically implemented in the translation text, thereby improving the revision efficiency and revision accuracy of the translation text.
[0070] In one embodiment, the above step S230 may specifically include:
[0071] Step S231, obtaining the first quality inspection segment corresponding to the confirmation revision instruction;
[0072] Step S232: revise the first text segment corresponding to the first quality inspection segment according to the revision content corresponding to the first quality inspection segment.
[0073] The first quality inspection segment may be a single quality inspection segment.
[0074] The first text segment may be a single text segment in the translation text.
[0075] In a specific implementation, after receiving the confirmation revision instruction, the server may use the quality inspection segment corresponding to the confirmation revision instruction as the first quality inspection segment, and obtain the revision content corresponding to the first quality inspection segment in the quality inspection report as the target revision content. The server may also obtain the segment identifier of the first quality inspection segment, and search the translation text for the text segment corresponding to the segment identifier as the first text segment. The server may revise the first text segment according to the target revision content.
[0076] For example, when the translator of the language service provider agrees with the revision of the quality inspection segment 1 in the quality inspection report, the translator can click the "Confirm Single Sentence Change" button corresponding to the quality inspection segment 1 in the quality inspection report displayed on the translator's terminal to generate a confirmation revision instruction for the quality inspection segment 1 and send it to the server. After receiving the confirmation revision instruction, the server can determine that the quality inspection segment 1 needs to be revised according to the confirmation revision instruction, and obtain the revision corresponding to the quality inspection segment 1 through the quality inspection report, which is to delete the segment. The server can search for the corresponding text segment in the translation text according to the segment identifier of the quality inspection segment 1 and delete the text segment.
[0077] In this embodiment, by obtaining the first quality inspection segment corresponding to the confirmation revision instruction, the first text segment corresponding to the first quality inspection segment is revised according to the revision content corresponding to the first quality inspection segment. The revised content of the quality inspection segment can be quickly implemented on the text segment, thereby improving the revision efficiency and revision accuracy of the translated text.
[0078] In one embodiment, the above step S232 may specifically include: obtaining target revision content based on the revision content corresponding to the first quality inspection segment; obtaining the segment identifier of the first quality inspection segment; determining the first text segment from the translation text based on the segment identifier; and revising the first text segment based on the target revision content.
[0079] In a specific implementation, the server may pre-identify the text segments in the translation text to obtain the segment identifier of the text segment. When generating a quality inspection report and selecting a text segment from the translation text as a quality inspection segment, the segment identifier of the text segment may be used as the segment identifier of the quality inspection segment. After receiving the confirmation revision instruction, the server may use the quality inspection segment corresponding to the confirmation revision instruction as the first quality inspection segment, and obtain the revision content corresponding to the first quality inspection segment in the quality inspection report as the target revision content. The server may also obtain the segment identifier of the first quality inspection segment, and search for the corresponding text segment in the translation text according to the segment identifier as the first text segment. The server may revise the first text segment according to the target revision content.
[0080] For example, the server can add a segment identifier 6F9619FF-8B86-D011-B42D for text segment A in the translation text, and use text segment A as quality inspection segment 1 in the quality inspection report. It can be obtained that the segment identifier of quality inspection segment 1 is also 6F9619FF-8B86-D011-B42D. When the server determines that quality inspection segment 1 needs to be revised and obtains from the quality inspection report that the revision content corresponding to quality inspection segment 1 is to delete the segment, the server can obtain the segment identifier 6F9619FF-8B86-D011-B42D of quality inspection segment 1. By searching for the same segment identifier in the translation text, it can be determined that text segment A in the translation text needs to be revised, and text segment A is deleted according to the revision content.
[0081] In this embodiment, the target revision content is obtained based on the revision content corresponding to the first quality inspection segment, the segment identifier of the first quality inspection segment is obtained, the first text segment is determined from the translation text based on the segment identifier, and the first text segment is revised based on the target revision content. The revised content of the quality inspection segment can be quickly implemented on the text segment, thereby improving the revision efficiency and revision accuracy of the translation text.
[0082] In one embodiment, the confirmation revision instruction in step S230 is an instruction to click a target button, and the target button is displayed at a position corresponding to the first quality inspection segment.
[0083] In a specific implementation, the quality inspection report displayed on the translator's terminal may have a target button corresponding to the first quality inspection segment. If the translator agrees with the revised content of the first quality inspection segment and needs to implement the revised content in the translation text stored on the server, the translator may click the target button corresponding to the first quality inspection segment. The translator's terminal generates a click instruction for the first quality inspection segment and sends the click instruction to the server as a confirmation revision instruction.
[0084] In this embodiment, by confirming that the revision instruction is an instruction to click a target button, the target button is displayed at a position corresponding to the first quality inspection segment, and the quality inspection segment can be modified by clicking the target button, which is easy to operate and improves the efficiency and convenience of revising the translated text.
[0085] In one embodiment, the above step S230 may further specifically include: if a revision confirmation instruction is received, determining the quality inspection segment with revised content in the quality inspection report as the second quality inspection segment; and revising the second text segment corresponding to the second quality inspection segment according to the revised content corresponding to the second quality inspection segment.
[0086] The second quality inspection segment may be a batch quality inspection segment.
[0087] The second text segment may be a batch of text segments in the translation text.
[0088] In a specific implementation, after receiving the confirmation revision instruction, the server can select batch quality inspection segments with revised content in the quality inspection report as the second quality inspection segments, and use the revised content corresponding to each second quality inspection segment as the target revision content. The server can obtain the segment identifier of each second quality inspection segment, search for the text segment corresponding to the segment identifier in the translation text, and use the obtained batch text segments as the second text segment. The server can revise the second text segment according to the target revision content.
[0089] For example, when the translator of the language service provider agrees with the revisions of all the quality inspection segments in the quality inspection report, he can click the "Confirm Batch Changes" button in the quality inspection report displayed on the translator's terminal to generate confirmation revision instructions for all the quality inspection segments and send them to the server. After receiving the confirmation revision instructions, the server can determine that all the quality inspection segments need to be revised according to the confirmation revision instructions, and obtain the revision content corresponding to each quality inspection segment through the quality inspection report. The server can find the corresponding text segment in the translation text according to the segment identifier of each quality inspection segment, and revise the text segment according to the revision content.
[0090] In this embodiment, if a confirmation revision instruction is received, the quality inspection segment with revised content in the quality inspection report is determined as the second quality inspection segment, and the second text segment corresponding to the second quality inspection segment is revised based on the revised content corresponding to the second quality inspection segment. The revised content of batch quality inspection segments can be quickly implemented on the text segments, thereby further improving the revision efficiency on the basis of ensuring the accuracy of the revision of the translated text.
[0091] In one embodiment, the above step S230 may specifically include: determining whether the revision content matches a preset revision template; obtaining a revision operation and revision operation content according to the preset revision template matched by the revision content; and performing an operation on the text segment according to the revision operation and revision operation content to complete the revision.
[0092] The revision operation may be an action of revising the translation text.
[0093] The revision operation content may be a text for revising the translated text.
[0094] In a specific implementation, a revision template can be pre-set in the server. After receiving a revision confirmation instruction, the server can obtain the quality inspection segment corresponding to the revision confirmation instruction and the revision content corresponding to the quality inspection segment, and determine whether the revision content matches the preset revision template. If the revision content does not match the revision template, the revision template cannot be used for revision. If the revision content matches the revision template, the revision operation and the revision operation content can be determined according to the revision template, and what operation needs to be performed on the text segment in the translation text can be determined according to the revision operation. According to the revision operation content, the specific text content of the revision operation on the text segment is obtained, thereby completing the revision of the text segment according to the revision operation and the revision operation content.
[0095] For example, the server may first identify whether the annotation uses a predefined annotation template. If a predefined annotation template is used, the target text segment may be modified according to the annotation template. For example, according to the annotation template "@R XXX=>YYY", all XXX in the target text segment may be replaced with YYY, and according to the annotation template "@D ZZZ", all ZZZ in the target text segment may be deleted, wherein the annotation template may be pre-agreed or defined as needed; if it is identified that the annotation does not use an annotation template, then it may be determined that the annotation is an ordinary annotation, and the above-mentioned modification based on the annotation template is not performed. At this time, the translator may add the content that needs to be automatically modified to the quality inspection report to form an updated quality inspection report, and give a confirmation revision instruction for the updated quality inspection report. The server 104 revise the text segments in the translated text according to the confirmation revision instruction and the updated quality inspection report.
[0096] In this embodiment, by determining whether the revision content matches a preset revision template, obtaining the revision operation and the revision operation content according to the preset revision template matched by the revision content, and performing the operation on the text segment according to the revision operation and the revision operation content to complete the revision, the same revision content in multiple quality inspection segments can be quickly implemented on the text segment, thereby further improving the revision efficiency on the basis of ensuring the accuracy of the revision of the translated text.
[0097] In one embodiment, the above-mentioned translation text revision method may further specifically include: receiving a revision completion notification, which is sent after any text segment in the translation text is revised; and updating the status of the quality inspection segment corresponding to the revision completion notification to a revised status.
[0098] In the specific implementation, after obtaining the quality inspection report, the server can set the status of the quality inspection segment in the quality inspection report to the pending revision status. The terminal sends a confirmation revision instruction for the quality inspection segment. After receiving the confirmation revision instruction, the server revises the text segments in the translation text according to the confirmation revision instruction. After revising any text segment, a revision completion notification can be generated. The revision completion notification corresponds to the quality inspection segment, and the status of the quality inspection segment corresponding to the revision completion notification can be updated from the pending revision status to the revised status.
[0099] For example, the quality inspection report obtained by the server may include quality inspection segment 1, quality inspection segment 2 and quality inspection segment 3. The status of the three quality inspection segments can be set to the pending revision status. The terminal sends a confirmation revision instruction for quality inspection segment 1. After receiving the confirmation revision instruction, the server determines that quality inspection segment 1 corresponds to text segment A in the translation text. After revising text segment A, a revision completion notification can be generated. The server can determine that the revision completion notification corresponds to quality inspection segment 1 in the quality inspection report, and can update the status of quality inspection segment 1 from the pending revision status to the revised status.
[0100] In this embodiment, by receiving the revision completion notification, the status of the quality inspection segment corresponding to the revision completion notification is updated to the revised status, so that the quality inspection segments to be revised and the revised quality inspection segments in the quality inspection report can be distinguished, which makes it convenient to view the revision status of the translated text, and can improve the efficiency and convenience of revision.
[0101] In one embodiment, the translation text revision method may further include: receiving a rejection revision instruction corresponding to at least one quality inspection segment; and updating the status of the quality inspection segment corresponding to the rejection revision instruction to a rejection revision status.
[0102] In the specific implementation, after obtaining the quality inspection report, the server can set the status of the quality inspection segment in the quality inspection report to the pending revision status. The terminal can send a rejection revision instruction for a single quality inspection segment or a batch of quality inspection segments. After receiving the rejection revision instruction, the server can obtain the quality inspection segment corresponding to the rejection revision instruction, and update the status of the quality inspection segment from the pending revision status to the rejection revision status.
[0103] For example, the quality inspection report obtained by the server may include quality inspection segment 1, quality inspection segment 2 and quality inspection segment 3. The status of the three quality inspection segments can be set to the pending revision status. The terminal sends a reject revision instruction to quality inspection segment 1. After receiving the reject revision instruction, the server determines that the reject revision instruction corresponds to quality inspection segment 1. The server can update the status of quality inspection segment 1 from the pending revision status to the reject revision status.
[0104] In this embodiment, by receiving a reject revision instruction corresponding to at least one quality inspection segment, the status of the quality inspection segment corresponding to the reject revision instruction is updated to a reject revision status, the quality inspection opinions in the quality inspection report can be rejected for revision, and the quality inspection segments to be revised and the quality inspection segments rejected for revision in the quality inspection report can be distinguished, thereby improving the efficiency and convenience of revision.
[0105] In one embodiment, a translation text revision method is provided, which is described by taking the method applied to a terminal as an example, including: obtaining user information of a user; verifying whether the user is an authorized user based on the user information; and if so, identifying the user type of the user.
[0106] The user information may include user name, user number, phone number and other information.
[0107] In the specific implementation, after the terminal displays the initial quality inspection report, the user authority can be determined by verifying the user's identity. The terminal can verify the user's identity by obtaining user information. For example, when the user clicks the login button on the initial quality inspection report, the user can be requested to enter identity information such as user name or phone number, and the identity information can be verified through the login password entered by the user. If the verification is successful, it can be determined as an authorized user; the terminal can also authenticate identity by reading Cookies; for security reasons, when the user has not operated the quality inspection report page for a long time or clicked a jump link to jump to other pages, if the user requests to re-login to the quality inspection report page, the user's identity can be re-verified. The terminal can verify whether the user is an authorized user based on the identity information. For unauthorized users, only the viewing permission for the translated text can be opened, and the translated text cannot be edited or annotated. If it is an authorized user, the terminal can further identify the user type including internal users and external users based on the identity information.
[0108] In this embodiment, by obtaining the user's user information and verifying whether the user is an authorized user based on the user information, if so, identifying the user's user type, it can prevent unauthorized users from illegally tampering with the quality inspection report and ensure the reliability of the quality inspection report.
[0109] In one embodiment, the above-mentioned translation text revision method also includes: if the user type is an external user, opening the user's viewing, editing and annotation permissions; if the user type is an internal user, opening the user's viewing, editing, annotation, confirming revision and rejecting revision permissions.
[0110] Among them, internal users can be internal operators of the language service provider, and can be internal translators, internal quality inspectors or internal PMs (Project Management, stakeholders). Internal users can perform quality inspection work through the company's internal software system (for example, an online translation software system).
[0111] Among them, external users can be client users, who can be client quality inspectors, acceptance personnel or client PMs. External users usually do not use the software system of the language service provider, but perform quality inspection work through offline annotations and other methods.
[0112] In a specific implementation, the terminal can identify the user type and grant different permissions to the user according to the user type. The user can operate the quality inspection report according to the permissions opened to him. Among them, the user type can include internal users and external users. For internal users, they can be given the permission to view, edit, and annotate the translated text, as well as the permission to confirm whether to accept the modification opinions in the quality inspection report; for external users, they can be given the permission to view, edit, and annotate the translated text.
[0113] In this embodiment, if the user type is an external user, the user's viewing, editing and annotation permissions are opened; if the user type is an internal user, the user's viewing, editing, annotating, confirming revisions and rejecting revisions permissions are opened. The user's usage permissions can be opened according to the user type to prevent external users from illegally editing the translated text and ensure the reliability of the translated text.
[0114] In one embodiment, Figure 3 As shown, a translation text revision method is provided, which is applied to Figure 1 The server in the example is used to illustrate the following steps:
[0115] Step S301, obtaining a quality inspection report;
[0116] Step S302, receiving a confirmation and revision instruction for the quality inspection report;
[0117] Step S303, obtaining the first quality inspection segment corresponding to the confirmation revision instruction;
[0118] Step S304, obtaining target revision content according to the revision content corresponding to the first quality inspection segment;
[0119] Step S305, obtaining the segment identifier of the first quality inspection segment;
[0120] Step S306, determining the first text segment from the translated text according to the segment identifier;
[0121] Step S307: revise the first text segment according to the target revision content.
[0122] Step S308, receiving a revision completion notification;
[0123] Step S309: updating the status of the quality inspection segment corresponding to the revision completion notification to a revised status.
[0124] Step S310, receiving a rejection revision instruction corresponding to at least one of the quality inspection segments;
[0125] Step S311, updating the status of the quality inspection segment corresponding to the rejection revision instruction to the rejection revision status.
[0126] It should be understood that although Figure 2-3 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 2-3 At least part of the steps may include multiple steps or multiple stages. These steps or stages are not necessarily performed at the same time, but can be performed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed in turn or alternately with other steps or at least part of the steps or stages in other steps.
[0127] In order to facilitate those skilled in the art to deeply understand the embodiments of the present application, the translation text revision method will be described below with reference to a specific example. The translation text revision method may include the following steps:
[0128] Step S10, when generating an HTML quality inspection report, marking the source information of the sentence segment in the quality inspection report, wherein the source information includes but is not limited to GUID, file ID, task ID and authorized personnel information, and the source information can be stored in the tag attribute, and can also be stored in a hidden or invisible element;
[0129] Step S20, verifying the user identity or authority, including but not limited to using user login, Cookies, and user identity maintenance mechanism. For example, the user can log in through the login button on the quality inspection report to complete the identity authentication, and can also confirm the user's login and authority by reading the information saved in Cookies. For security reasons, when the user clicks a button to submit data, or when the user clicks a jump link to trigger a jump, the user identity can be verified again;
[0130] Step S30: If the verification result is that the user is not an authorized user, only the content can be viewed, and editing and annotation of the translation are not provided;
[0131] Step S40, if the verification result is an authorized user, the internal user or external user can be further identified;
[0132] Step S50: If the identification result is an external user, the translation editing and annotation permissions can be opened. After the external user edits or annotates the translation, the quality inspection status can be changed to "pending quality inspection opinion confirmation";
[0133] Step S60: If the identification result is an internal user, the user can be given the right to edit, annotate and confirm the translation (including single sentence confirmation and batch sentence confirmation), and can also jump directly to the corresponding segment of the editor for manual processing. After the internal user edits or annotates the translation, the quality inspection status can be changed to "pending quality inspection opinion confirmation";
[0134] Step S70, when the internal user confirms and amends a single sentence, the following steps can be executed: Step S71, when the "Confirm Single Sentence Change" button is pressed, the single sentence submission function is triggered; Step S72, the source information of the sentence segment (for example, GUID) and the current latest translation or annotation are sent to the backend; Step S73, after the backend receives the data, the latest translation or annotation is used to update the corresponding translation or annotation in the database according to the GUID; Step S74, the backend returns a message of successful modification; Step S75, after the frontend receives the message of successful modification, the quality inspection status of the corresponding sentence segment is changed to "quality inspection opinions have been implemented";
[0135] Step S80, when internal users confirm and revise batch segments, the following steps can be executed: Step S81, the batch submission function is triggered when the "Confirm Batch Changes" button is pressed; Step S82, determine the segments with a status of "pending quality inspection opinions"; Step S83, send the source information (for example, GUID) of these segments, and the corresponding current latest translation or annotation to the background; Step S84, after receiving the data, the background uses the latest translation or annotation in the database according to the GUID to update each corresponding translation or annotation; Step S85, the background returns a message of successful modification; Step S86, the front desk receives the message of successful modification, and changes the quality inspection status of the corresponding segment to "quality inspection opinions implemented".
[0136] It should be noted that the quality inspection report can carry a jump link for directly jumping to the corresponding sentence segment in the translated text. When the quality inspection opinions in the quality inspection report are more complicated and it is necessary to view the context in the translated text or consult reference information (for example, translation memory (TM), term base (TB), screenshot (SS), other translation requirements, etc.), internal users can click the jump link in the quality inspection report to jump to the corresponding sentence segment in the editor, so as to view the context information and reference information in the editor, thereby avoiding manual positioning query and improving work efficiency.
[0137] In this embodiment, by recording the source information of the sentence segments in the quality inspection report, the modifications or comments in the quality inspection report can be quickly implemented into the translation, thereby improving the revision efficiency of the translated text. By allowing external users to modify the translated text or add comments directly on the quality inspection report, it is convenient for external users to directly provide feedback on the quality. By allowing internal users to confirm the translated text and submit modifications in batches, it is convenient for internal users to quickly fix quality defects and implement high-priority modification opinions from external customers in batches, thereby improving the efficiency and accuracy of the revised translated text.
[0138] In one embodiment, Figure 4 As shown, a translation text revision device 400 is provided, comprising: a quality inspection report acquisition module 402, a revision instruction receiving module 404 and a translation text revision module 406, wherein:
[0139] A quality inspection report acquisition module 402 is used to acquire a quality inspection report, wherein the quality inspection report includes quality inspection segments and revision content corresponding to at least one of the quality inspection segments; the quality inspection segments correspond to text segments in the translation text;
[0140] A revision instruction receiving module 404 is used to receive a confirmation revision instruction for the quality inspection report;
[0141] The translation text revision module 406 is used to revise the text segment in the translation text according to the confirmation revision instruction and the revision content.
[0142] In one embodiment, the translation text revision module 406 is further used to obtain a first quality inspection segment corresponding to the confirmation revision instruction; and revise the first text segment corresponding to the first quality inspection segment according to the revision content corresponding to the first quality inspection segment.
[0143] In one embodiment, the translation text revision module 406 is further used to obtain target revision content based on the revision content corresponding to the first quality inspection segment; obtain the segment identifier of the first quality inspection segment; determine the first text segment from the translation text based on the segment identifier; and revise the first text segment according to the target revision content.
[0144] In one embodiment, in the translation text revision module 406, the confirmation revision instruction is an instruction to click a target button, and the target button is displayed at a position corresponding to the first quality inspection segment.
[0145] In one embodiment, the above-mentioned translation text revision module 406 is also used to determine the quality inspection segment with revised content in the quality inspection report as the second quality inspection segment if the confirmation revision instruction is received; and revise the second text segment corresponding to the second quality inspection segment according to the revised content corresponding to the second quality inspection segment.
[0146] In one embodiment, the translation text revision module 406 is further used to determine whether the revision content matches a preset revision template; obtain a revision operation and revision operation content according to the preset revision template matched by the revision content; and perform an operation on the text segment according to the revision operation and revision operation content to complete the revision.
[0147] In one embodiment, the translation text revision device 400 is further used to receive a revision completion notification, which is sent after any text segment in the translation text is revised; and update the status of the quality inspection segment corresponding to the revision completion notification to a revised status.
[0148] In one embodiment, the translation text revision device 400 is further configured to receive a rejection revision instruction corresponding to at least one of the quality inspection segments; and update the status of the quality inspection segment corresponding to the rejection revision instruction to a rejection revision status.
[0149] The specific definition of the translation text revision device can be found in the definition of the translation text revision method in the above text, which will not be repeated here. Each module in the above translation text revision device can be implemented in whole or in part by software, hardware and a combination thereof. Each of the above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.
[0150] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 5 As shown. The computer device includes a processor, a memory and a network interface connected through a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store translation text revision data. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a translation text revision method is implemented.
[0151] Those skilled in the art will understand that Figure 5 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0152] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the following steps when executing the computer program: obtaining a quality inspection report, wherein the quality inspection report includes quality inspection segments and revision content corresponding to at least one of the quality inspection segments; the quality inspection segments correspond to text segments in the translation text; receiving a confirmation revision instruction for the quality inspection report; and revising the text segments in the translation text according to the confirmation revision instruction and the revision content.
[0153] In one embodiment, when the processor executes the computer program, the following steps are also implemented: obtaining a first quality inspection segment corresponding to the confirmation revision instruction; and revising a first text segment corresponding to the first quality inspection segment according to the revision content corresponding to the first quality inspection segment.
[0154] In one embodiment, when the processor executes the computer program, the following steps are also implemented: obtaining target revision content based on the revision content corresponding to the first quality inspection segment; obtaining the segment identifier of the first quality inspection segment; determining the first text segment from the translation text based on the segment identifier; and revising the first text segment based on the target revision content.
[0155] In one embodiment, when the processor executes the computer program, the following steps are further implemented: the confirmation revision instruction is an instruction to click a target button, and the target button is displayed at a position corresponding to the first quality inspection segment.
[0156] In one embodiment, when the processor executes the computer program, the following steps are also implemented: if the confirmation revision instruction is received, the quality inspection segment with revised content in the quality inspection report is determined as the second quality inspection segment; and according to the revised content corresponding to the second quality inspection segment, the second text segment corresponding to the second quality inspection segment is revised.
[0157] In one embodiment, when the processor executes the computer program, it also implements the following steps: determining whether the revision content matches a preset revision template; obtaining a revision operation and revision operation content based on the preset revision template matched by the revision content; and performing an operation on the text segment based on the revision operation and revision operation content to complete the revision.
[0158] In one embodiment, when the processor executes the computer program, the following steps are also implemented: receiving a revision completion notification, which is sent after the revision of any text segment in the translation text is completed; and updating the status of the quality inspection segment corresponding to the revision completion notification to a revised status.
[0159] In one embodiment, when the processor executes the computer program, the following steps are further implemented: receiving a reject revision instruction corresponding to at least one of the quality inspection segments; and updating the status of the quality inspection segment corresponding to the reject revision instruction to a reject revision status.
[0160] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented: obtaining a quality inspection report, wherein the quality inspection report includes quality inspection segments and revision content corresponding to at least one of the quality inspection segments; the quality inspection segments correspond to text segments in the translation text; receiving a confirmation revision instruction for the quality inspection report; and revising the text segments in the translation text according to the confirmation revision instruction and the revision content.
[0161] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: obtaining a first quality inspection segment corresponding to the confirmation revision instruction; and revising a first text segment corresponding to the first quality inspection segment according to the revision content corresponding to the first quality inspection segment.
[0162] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: obtaining target revision content based on the revision content corresponding to the first quality inspection segment; obtaining the segment identifier of the first quality inspection segment; determining the first text segment from the translation text based on the segment identifier; and revising the first text segment based on the target revision content.
[0163] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: the confirmation revision instruction is an instruction to click a target button, and the target button is displayed at a position corresponding to the first quality inspection segment.
[0164] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: if the confirmation revision instruction is received, the quality inspection segment with revised content in the quality inspection report is determined as the second quality inspection segment; and according to the revised content corresponding to the second quality inspection segment, the second text segment corresponding to the second quality inspection segment is revised.
[0165] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented: determining whether the revision content matches a preset revision template; obtaining a revision operation and revision operation content based on the preset revision template matched by the revision content; and performing an operation on the text segment based on the revision operation and revision operation content to complete the revision.
[0166] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: receiving a revision completion notification, which is sent after the revision of any text segment in the translation text is completed; and updating the status of the quality inspection segment corresponding to the revision completion notification to a revised status.
[0167] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: receiving a reject revision instruction corresponding to at least one of the quality inspection segments; and updating the status of the quality inspection segment corresponding to the reject revision instruction to a reject revision status.
[0168] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).
[0169] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0170] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A translation text revision method, characterized in that: The method comprises: Obtaining user information of the user, verifying whether the user is an authorized user based on the user information, and if so, identifying the user type of the user, and if the user type is an external user, granting the user the rights to view, edit and annotate the translated text; if the user type is an internal user, granting the user the rights to view, edit, annotate, confirm revisions and reject revisions; Obtaining a quality inspection report of the translation text, wherein the quality inspection report includes quality inspection segments and revision content corresponding to at least one of the quality inspection segments; the quality inspection segments correspond to text segments in the translation text; Receiving a confirmation revision instruction for the quality inspection report; the confirmation revision instruction is generated by clicking a target button at a corresponding position of the quality inspection segment or a confirmation batch change button in the quality inspection report; Revising the text segment in the translation text according to the confirmation revision instruction and the revision content; The step of revising the text segment in the translation text according to the confirmation revision instruction and the revision content includes: In the case where the annotation uses a predefined annotation template, revising the text segment according to the annotation template; In the case where the annotation does not use a predefined annotation template, obtaining an updated quality inspection report, and revising the text segment in the translation text according to the updated quality inspection report and a confirmation revision instruction for the updated quality inspection report; The annotation template includes replacing the specified content in the text segment with another specified content, or deleting the specified content in the text segment.
2. The method according to claim 1, characterized in that The revising the text segment in the translation text according to the confirmation revision instruction and the revision content also includes: Obtaining a first quality inspection sentence corresponding to the confirmation revision instruction; According to the revised content corresponding to the first quality inspection segment, the first text segment corresponding to the first quality inspection segment is revised.
3. The method according to claim 2, characterized in that The step of revising the first text segment corresponding to the first quality inspection segment according to the revision content corresponding to the first quality inspection segment includes: Obtain target revision content according to the revision content corresponding to the first quality inspection sentence segment; Obtaining a segment identifier of the first quality inspection segment; determining the first text segment from the translated text according to the segment identifier; The first text segment is revised according to the target revision content.
4. The method according to claim 2, characterized in that: The confirmation revision instruction is an instruction to click a target button, and the target button is displayed at a position corresponding to the first quality inspection segment.
5. The method according to claim 1, characterized in that The revising the text segment in the translation text according to the confirmation revision instruction and the revision content also includes: If the confirmation revision instruction is received, determining the quality inspection segment with the revised content in the quality inspection report as the second quality inspection segment; According to the revised content corresponding to the second quality inspection segment, the second text segment corresponding to the second quality inspection segment is revised.
6. The method according to claim 1, characterized in that The revising the text segment according to the annotation template includes: Acquire the revision operation and revision operation content according to the annotation template matched by the revision content; An operation is performed on the text segment according to the revision operation and the revision operation content to complete the revision.
7. The method according to claim 1, characterized in that In the quality inspection report, the initial state of the quality inspection segment with the revised content is a pending confirmation state; the method further includes: receiving a revision completion notification, wherein the revision completion notification is sent after any text segment in the translation text is revised; The status of the quality inspection segment corresponding to the revision completion notification is updated to a revised status.
8. The method according to claim 7, characterized in that The method further comprises: receiving a rejection revision instruction corresponding to at least one of the quality inspection segments; The status of the quality inspection segment corresponding to the reject revision instruction is updated to the reject revision status.
9. A translation text revision device, characterized in that: The device comprises: A quality inspection report acquisition module is used to obtain user information of a user, verify whether the user is an authorized user based on the user information, and if so, identify the user type of the user. If the user type is an external user, grant the user the rights to view, edit and annotate the translated text; if the user type is an internal user, grant the user the rights to view, edit, annotate, confirm revisions and reject revisions to the translated text, and obtain a quality inspection report of the translated text, wherein the quality inspection report includes quality inspection segments and revision content corresponding to at least one of the quality inspection segments; the quality inspection segments correspond to text segments in the translated text; A revision instruction receiving module, used for receiving a confirmation revision instruction for the quality inspection report; the confirmation revision instruction is generated by clicking a target button at a corresponding position of the quality inspection segment or a confirmation batch change button in the quality inspection report; A translation text revision module, used for revising the text segment in the translation text according to the confirmation revision instruction and the revision content; The translation text revision module is also used to revise the text segment according to the annotation template when the annotation uses a predefined annotation template; when the annotation does not use a predefined annotation template, obtain an updated quality inspection report, and revise the text segment in the translation text according to the updated quality inspection report and confirmation revision instructions for the updated quality inspection report; the annotation template includes replacing specified content in the text segment with another specified content, or deleting specified content in the text segment.
10. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 8 are implemented.
11. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.
