Text translation method, computing device and storage medium based on keyword prompts
By using the keyword prompt function in the e-book translation system, querying and marking keywords in the original text, and editing the translated text according to the target translation content, the problem of inconsistent words in e-book translation is solved, and the translation efficiency and quality are improved.
Patent Information
- Application Number
- CN202011330963.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-11-24
- Publication Date
- 2024-11-22
- Estimated Expiration
- 2040-11-24
AI Technical Summary
During the e-book translation process, the inconsistency of word caused by careless translation reduces the quality of translation and affects the reading experience.
Provide a text translation method based on keyword prompts. By responding to user's keyword prompt operations in the translation interface, querying pre-established keyword databases, positioning and marking keywords in the original text area, and translating text content according to the target Edit the initial translated text content in the translation area to achieve consistency in text translation.
It improves translation efficiency and quality, allowing users to intuitively identify keywords in the original text without determining one by one, ensuring the consistency of translation results, thereby improving the accuracy and user experience of translation.
Smart Images

Figure CN112417898B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a text translation method based on keyword prompts, a computing device and a storage medium. Background Art
[0002] In recent years, with the development of Internet technology and terminal technology, daily life patterns have also changed greatly. A large number of daily behaviors have shifted from offline to online, such as shopping, ordering food, etc. One typical transformation is the transition from paper book reading to e-book reading. E-book reading can be achieved through reading websites, reading applications or dedicated reading devices (such as readers).
[0003] Some e-book service operators have the need to translate books into different language versions. For example, they need to make an English version of a Chinese book and publish it online for English users to read. However, during the translation process, the translator may be careless in translation, resulting in inconsistent translation results for some words, which reduces the translation quality and affects the reading experience of the readers. Summary of the invention
[0004] In view of the above problems, the present invention is proposed to provide a keyword prompt-based text translation method, computing device and storage medium that overcome the above problems or at least partially solve the above problems.
[0005] According to one aspect of the present invention, a text translation method based on keyword prompts is provided, wherein a translation interface applicable to the method includes an original text area and a translation area, and the method includes:
[0006] In response to a keyword prompt operation triggered by a user, a pre-established keyword library is searched based on the original text content presented in the original text area, and text words in the original text area that match the keywords in the keyword library are positioned and marked;
[0007] In response to the user's editing operation on the initial translation text content in the translation area, the target translation text content corresponding to the keyword is presented, and the initial translation text content displayed in the translation area is edited according to the target translation text content to obtain the translation text content.
[0008] According to another aspect of the present invention, there is provided a computing device, comprising: a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus;
[0009] The memory is used to store at least one executable instruction, and the executable instruction enables the processor to perform the following operations:
[0010] In response to a keyword prompt operation triggered by a user, a pre-established keyword library is searched based on the original text content presented in the original text area of the translation interface, and text words in the original text area that match the keywords in the keyword library are positioned and marked;
[0011] In response to the user's editing operation on the initial translation text content in the translation area of the translation interface, the target translation text content corresponding to the keyword is presented, and the initial translation text content displayed in the translation area is edited according to the target translation text content to obtain the translation text content.
[0012] According to another aspect of the present invention, a computer storage medium is provided, in which at least one executable instruction is stored, and the executable instruction enables a processor to perform operations corresponding to the above-mentioned text translation method based on keyword prompts.
[0013] According to the solution provided by the present invention, in response to a keyword prompt operation triggered by a user, text words in the original text area that match the keywords in the keyword library are positioned and marked, so that the user can intuitively know which text words in the original text area are keywords, without the need for the user to determine which text words are keywords one by one, thereby improving translation efficiency. The keyword library stores keywords and their corresponding target translation text contents in an associated manner. Therefore, the initial translation text content displayed in the translation area can be edited according to the presented target translation text content, thereby achieving consistency in text translation and further improving translation quality.
[0014] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:
[0016] Figure 1A A flowchart of a text translation method based on keyword prompts according to an embodiment of the present invention is shown;
[0017] Figure 1B A schematic diagram for locating text words in the original text area;
[0018] Figure 2AA flowchart of a text translation method based on keyword prompts according to another embodiment of the present invention is shown;
[0019] Figure 2B This is a schematic diagram of a keyword pop-up window;
[0020] Figure 2C This is a schematic diagram of the feedback pop-up window;
[0021] Figure 2D A schematic diagram for adding keywords;
[0022] Figure 2E Diagram of adding pop-up window for keywords;
[0023] Figure 2F It is a schematic diagram of the original text area;
[0024] Figure 2G This is a schematic diagram of the keyword library page;
[0025] Figure 2H This is a schematic diagram of the translation interface;
[0026] Figure 3 A schematic diagram of the structure of a computing device according to an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0027] The exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present invention and to enable the scope of the present invention to be fully communicated to those skilled in the art.
[0028] Figure 1A FIG. 2 shows a flow chart of a text translation method based on keyword prompts according to an embodiment of the present invention. Figure 1A As shown, the method comprises the following steps:
[0029] Step S101 , in response to a keyword prompt operation triggered by a user, a pre-established keyword library is searched based on the original text content presented in the original text area, and text words in the original text area that match the keywords in the keyword library are positioned and marked.
[0030] Specifically, the user can translate text through the presented translation interface, which includes an original text area and a translation area. The original text area is used to present the original text content, and the translation area is used to present the initial translated text content. There is no limitation on the size and position of the original text area and the translation area.
[0031] In order to ensure the consistency of users' translation of the same proprietary text word, a keyword prompt function is provided to users, and users trigger the keyword prompt operation through the keyword prompt function. For example, the translation interface has a keyword prompt control, and users triggering the keyword prompt control is deemed to have triggered the keyword prompt operation. Alternatively, the mouse can be used to enter the menu item area, and the menu item area contains a keyword prompt menu item. Users triggering the keyword prompt menu item is deemed to have triggered the keyword prompt operation. Of course, this is not limited to the above methods, and other methods can also be used, which are not listed here one by one.
[0032] The user triggering the keyword prompt operation indicates that the user wants to know which text words in the original text content presented in the original text area are keywords. Therefore, in response to the keyword prompt operation triggered by the user, a pre-established keyword library can be queried based on the original text content presented in the original text area, for example, the original text content is matched with the keywords in the keyword library. In order to enable the user to intuitively know which text words in the original text content are keywords, the text words in the original text area that match the keywords in the keyword library can be positioned and marked, for example, the matching text words are highlighted or underlined. There are many ways to position and mark, as long as they can achieve the purpose of highlighting, which are not listed here one by one. Among them, the pre-established keyword library stores keywords and their corresponding target translation text content in association, and keywords can be proper nouns such as some names and place names.
[0033] For example, Figure 1B A schematic diagram for locating and marking text words in the original text area, such as Figure 1B As shown, the translation interface has a keyword prompt control. After the user triggers the keyword prompt control in the page turning interface, the text words in the original text area that match the keywords in the keyword library will be marked with positioning marks. In this embodiment, "X" represents Chinese characters and "*" represents English characters for schematic illustration. In order to distinguish the words with positioning marks from the words without positioning marks, the text words with positioning marks are displayed in bold here.
[0034] Step S102, in response to the user's editing operation on the initial translation text content in the translation area, presenting the target translation text content corresponding to the keyword, and editing the initial translation text content displayed in the translation area according to the target translation text content to obtain the translation text content.
[0035] Among them, the initial translation text content displayed in the translation area is editable, that is, the translation area is an editing area, and the user can perform editing operations on the initial translation text content in the translation area, for example, modify the initial translation text content, delete the initial translation text content, etc. According to the editing operation performed by the user, the target translation text content corresponding to the keyword is presented, and then, the initial translation text content displayed in the translation area is edited according to the presented target translation text content, so that the edited translation text content is displayed in the translation area. Among them, the initial translation text content can be the machine translation result of the translation tool or the result of translation by other personnel. The translation text content obtained by this editing achieves the consistency of text translation.
[0036] The method provided by the above-mentioned embodiment of the present invention, in response to the keyword prompt operation triggered by the user, locates and marks the text words in the original text area that match the keywords in the keyword library, so that the user can intuitively know which text words in the original text area are keywords, without the need for the user to determine which text words are keywords one by one, thereby improving the translation efficiency. The keyword library stores the keywords and their corresponding target translation text contents in an associated manner. Therefore, the initial translation text content displayed in the translation area can be edited according to the presented target translation text content, thereby achieving consistency in text translation and further improving the translation quality.
[0037] Figure 2A FIG. 2 shows a flow chart of a text translation method based on keyword prompts according to another embodiment of the present invention. Figure 2A As shown, the method comprises the following steps:
[0038] Step S201 , in response to a keyword prompt operation triggered by a user, a pre-established keyword library is searched based on the original text content presented in the original text area, and text words in the original text area that match the keywords in the keyword library are positioned and marked.
[0039] This step and Figure 1A Step S101 in the illustrated embodiment is similar and will not be described in detail here.
[0040] Step S202 , in response to the user performing a positioning operation on a keyword in the original text area, a keyword pop-up window including the keyword and target translation text content is generated and displayed in the original text area.
[0041] In this embodiment, the pre-established keyword library stores keywords and their corresponding target translation text content in association. In order to accurately translate text words and keep the translation results of the text words consistent, the user can perform a keyword positioning operation in the original text area, for example, hovering the mouse over the keyword in the original text area to view the target translation text content corresponding to the keyword. Specifically, in response to the user's positioning operation on the keyword in the original text area, a keyword pop-up window can be generated and displayed in the original text area, and the keyword pop-up window contains the keyword and the target translation text content, such as Figure 2B As shown, by displaying keywords in the keyword pop-up window, the user can confirm whether the displayed words are correct. Optionally, the keyword pop-up window can also display the machine translation results of the translation tool. By displaying the machine translation results of the translation tool, the user can determine whether to edit the initial translation text content displayed in the translation area based on the initial translation text content and the target translation text content.
[0042] Step S203, in response to the user's editing operation on the initial translation text content in the translation area, the initial translation text content displayed in the translation area is edited according to the target translation text content presented in the keyword pop-up window to obtain the translation text content.
[0043] When the user determines that the target translation text content corresponding to the keyword is inconsistent with the initial translation text content displayed in the translation area, the user can perform an editing operation on the initial translation text content in the translation area. In response to the editing operation performed by the user, the initial translation text content displayed in the translation area is edited according to the target translation text content presented in the keyword pop-up window, so that the edited translation text content is displayed in the translation area. Among them, the initial translation text content can be the result of machine translation by a translation tool or the result of translation by other personnel. The translation text content obtained by such editing achieves the consistency of text translation.
[0044] It should be noted that the editing process of the initial translation text content displayed in the translation area is not limited to the method defined in step S202-step S203. In an optional implementation of the present invention, the editing process of the initial translation text content displayed in the translation area can also be implemented by the following method:
[0045] In response to a keyword selection operation performed by the user in the original text area, a target translation text content corresponding to the selected keyword is displayed at a preset position in the translation area, and a positioning mark is made on the target translation text content;
[0046] In response to a position adjustment operation performed by the user on the target translation text content within the translation area, the target translation text content is used to replace the initial translation text content displayed within the translation area to obtain the translation text content.
[0047] Specifically, in this optional implementation, the target translation text content corresponding to the keyword is no longer presented to the user through a keyword pop-up window. Since the keywords and their corresponding target translation text content are associated and stored in a pre-established keyword library, when the user performs a keyword selection operation in the original text area, for example, selecting the keyword in the original text area with a mouse, a keyword pop-up window is no longer generated and displayed in the original text area. Instead, based on the keywords stored in the keyword library and their corresponding target translation text content, the target translation text content corresponding to the selected keyword is displayed at a preset position in the translation area. For example, the target translation text content is displayed at the end of the text block where the corresponding initial translation text content is located. In order to facilitate the user to distinguish the target translation text content from the initial translation text content, it is necessary to position the target translation text content displayed in the translation area, and to highlight or underline the target translation text content.
[0048] In order to accurately translate text words and keep the translation results of text words consistent, the user can edit the initial translation text content by adjusting the position of the target translation text content. Specifically, the target translation text content can be used to replace the initial translation text content displayed in the translation area. For example, the position of the target translation text content is adjusted to the position where the corresponding initial translation text content is obtained, and the initial translation text content is deleted, thereby completing the editing of the translation.
[0049] Step S204, in response to the user triggering the feedback entry in the keyword pop-up window, a feedback pop-up window including a feedback input box is generated and displayed, so that the user can provide feedback translation text content of the keyword through the feedback input box.
[0050] The keyword pop-up window is used to display the target translation text content corresponding to the keyword. However, the user may disagree with the target translation text content corresponding to the keyword and think that the translation is inaccurate. Therefore, the keyword pop-up window can also provide a feedback entrance to the user. When the user feels that the translation is inaccurate, the user can provide feedback by triggering the feedback entrance, for example, clicking the feedback entrance.
[0051] In response to the user's triggering operation on the feedback entry, a feedback pop-up window including a feedback input box is generated and displayed, and the user can feedback the feedback translation text content of the keyword through the feedback input box. For example, Figure 2CThis is a schematic diagram of a feedback pop-up window. The user provides feedback on the keywords displayed in the keyword pop-up window. Therefore, the feedback pop-up window can directly present the keywords for which the feedback is directed. The user can enter the feedback translation text content in the feedback input box. In addition, the feedback pop-up window can also include a feedback note input box for the user to enter note information.
[0052] Of course, feedback is not limited to the above methods. Users can also use the mouse to enter the menu item area. The menu item area contains a feedback menu item. When the user triggers the feedback menu item, it is deemed to have triggered the feedback operation, and a feedback pop-up window containing a feedback input box is generated and displayed, so that the user can provide feedback on the feedback translation text content of the keyword through the feedback input box. Of course, it is not limited to the above methods, and other methods can also be used, which are not specifically limited here.
[0053] Step S205 , in response to a keyword adding operation triggered by the user, a keyword adding pop-up window is generated and displayed, so that the user can add target translation text content corresponding to the keyword through the keyword adding pop-up window.
[0054] Although the keyword library stores a large number of keywords, it is possible that a text word presented in the original text area is not in the keyword library. In order to facilitate the consistency of text word translation in the subsequent translation process, a keyword adding function can be provided to users, allowing users to add keywords to the keyword library through the keyword adding function.
[0055] The user triggers the keyword adding operation through the keyword adding function. The translation interface has a keyword adding control. When the user triggers the keyword adding control, it is deemed that the keyword adding operation has been triggered. Alternatively, the user can enter the menu item area with the mouse. The menu item area contains a keyword adding menu item. When the user triggers the keyword adding menu item, it is deemed that the keyword adding operation has been triggered. For example, select the keyword to be added and right-click the mouse to display the keyword adding menu item. Figure 2D As shown, Figure 2D The “…” in the menu item indicates that there are other menu items not listed. Of course, it is not limited to the above-mentioned adding method, and other methods are also possible, which are not listed here one by one.
[0056] In response to the keyword adding operation triggered by the user, a keyword adding pop-up window is generated and displayed, and the user adds the target translation text content corresponding to the keyword through the displayed keyword adding pop-up window. Figure 2EAs shown, the keyword adding pop-up window may include a target translation text content input box, and the user may enter the target translation text content of the keyword to be added in the target translation text content input box. In addition, the keyword adding pop-up window also includes a keyword input box. According to different ways for users to add keywords, the keyword input box may be automatically added with keywords, and the user may enter the target translation text content of the keyword, or the keyword input box may be blank, and the user may need to manually enter the keyword to be added in the keyword input box, and enter the target translation text content of the keyword in the target translation text content input box. Of course, the keyword adding pop-up window may also include other input boxes, such as a note input box, a type input box, etc., which are not specifically limited here.
[0057] It should be noted that this embodiment does not limit the execution order of the steps, and the execution order of the corresponding steps can be adjusted according to actual needs. In addition to the above controls, the translation interface can also include other controls, which are not listed here one by one.
[0058] In an optional embodiment of the present invention, the original text area can be specifically presented as follows: in response to the user's selection operation on any chapter label element, the original text content corresponding to the chapter label element is divided into text blocks according to a preset dimension to obtain at least one text block, and a serial number label of at least one text block is determined; each text block and its serial number label are displayed in a separate row in the original text area.
[0059] The chapter label element reflects the chapter information, for example, it may include the chapter serial number and the chapter title. If the user wants to translate a certain chapter, he can select the chapter label element. In response to the user's selection operation on any chapter label element, the original text content corresponding to the chapter label element selected by the user is obtained, for example, the original text content is obtained through the resource file of the book (such as a TXT file). Then, the obtained original text content is divided into multiple text blocks, and the serial number label of each text block is determined. In this way, by dividing the original text content into smaller text blocks and taking the text block as the smallest translation unit, the accuracy and efficiency of the translation can be improved.
[0060] After the text blocks are divided, each text block and its serial number label are output to the original text area for display. Each text block and its serial number label are displayed in a separate line in the original text area. This method makes it easier for users to view the specific content of the text block. Figure 2F As shown, the display content in the first row of the table in the original text area includes: serial number label 1 and the text block corresponding to serial number label 1, and the display content in the second row of the table includes: serial number label 2 and the text block corresponding to serial number label 2...
[0061] In an optional method, the text blocks are divided according to the sentence dimension. Specifically, the original text content is divided into multiple text blocks using the periods contained in the original text content as the dividing boundary. The periods contained in the original text content are located, and the original text content is divided into multiple text blocks using the periods as the dividing boundary. In this method, a text block is a sentence, and each sentence is displayed in a separate line in the original text area. By dividing the original text content into text blocks, the accuracy and efficiency of the translation can be improved.
[0062] In another optional method, the text blocks are divided according to the segment dimension, specifically: the segment node information is determined according to the typesetting information of the original text content; the original text content is divided according to the segment node information to obtain multiple text blocks. Usually, the format of a paragraph includes a first line indent of a number of characters. Therefore, the segment node information is determined according to the typesetting format of the original text content, such as the relative position information of each paragraph in the original text content or the position information of the segment node. The original text content is divided into multiple text blocks according to the segment node information. In this method, a text block is a paragraph, and each paragraph is displayed in a separate line in the original text area. Usually, the semantics of a paragraph is complete, so dividing the original text content into paragraphs can make the translation result more consistent with the semantics of the original text content, and the translation result is more accurate.
[0063] In an optional manner, the specific implementation method of the step of determining the serial number label of at least one text block is: for any text block, the serial number label of the text block is determined according to the relative position of the text block in the original text content. In the method of dividing the text blocks by sentence dimension, it is determined that the text block is the sentence number of the original text content, and the value is the serial number label of the text block. Correspondingly, in the method of dividing the text blocks by paragraph dimension, it is determined that the text block is the paragraph number of the original text content, and the value is the serial number label of the text block. The serial number label of the text block is used to determine the first appearance position of the text word in the subsequent process, and to number the translation results, so as to manage and use the translation results, and distinguish the translation results submitted by different users.
[0064] In an optional embodiment of the present invention, the translation interface also has a keyword library control; the user can use the keyword library control to summarize and view which keywords are included in the original text content corresponding to the chapter, and the position where the keywords first appear in the chapter.
[0065] Specifically, it can be achieved by the following method: in response to the user's triggering operation on the keyword library control, a pre-established keyword library is queried based on the original text content corresponding to the chapter label element, and by performing word matching, each text word in the original text content corresponding to the chapter label element that matches the keyword in the keyword library and the serial number label corresponding to each text block containing the text word are determined. The text words determined here are all words in the original text content corresponding to the chapter label element that match the keyword in the keyword library, and the serial number labels corresponding to all text blocks containing the text word; the purpose of this optional implementation method is to summarize and present to the user the words contained in the original text content corresponding to the chapter Which keywords and where they first appear in a chapter? The original text content corresponding to the chapter label element may contain the same keyword multiple times. Therefore, for each text word, the serial number label needs to be screened to determine the first appearance position of the text word, where the first appearance position of the text is the serial number label where the text word first appears in the chapter. Each text word and its corresponding first appearance position of the text word are displayed on the keyword library page. Through the above display, users can intuitively know which text words in the original text content corresponding to the chapter label element are keywords, as well as the first appearance position in the chapter, so that users can view the corresponding translation results when the text word first appears.
[0066] In an optional implementation of the present invention, the translation interface also has a keyword library control; the user can use the keyword library control to summarize and view which keywords are included in the original text content corresponding to the chapter, as well as the location where the keywords first appear in the book.
[0067] Specifically, it can be implemented by the following method: in response to the user's triggering operation on the keyword library control, based on the original text content corresponding to the chapter label element, a pre-established keyword library is queried, and each text word in the original text content corresponding to the chapter label element that matches the keyword in the keyword library is determined by word matching. The text words determined here are all words in the original text content corresponding to the chapter label element that match the keyword in the keyword library; in order to be able to determine the first appearance position of the text word in the specified book, usually referring to the first chapter where it appears, each text word can be used to search in the specified book using the text word, and the words matching the text word in the specified book are determined by searching, and then the chapter label elements of the text word in the specified book are obtained. The chapter label elements of the text word obtained here contain information corresponding to all chapters of the text word; in order to achieve consistency in text word translation, the first appearance position of the text word can be screened here. Specifically, for each text word, each chapter label element is screened to determine the first appearance position of the text word, wherein the text first appearance position is the chapter label element where the text word first appears in the specified book; each text word and its corresponding first appearance position of the text word are displayed on the keyword library page, such as Figure 2G As shown, through the above display, the user can intuitively know which text words in the original text content corresponding to the chapter label element are keywords, as well as the chapter that first appears in the specified book, so that the user can view the corresponding translation results when the text word first appears. Optionally, the keyword library page is a pop-up page.
[0068] In an optional embodiment of the present invention, when a user specifically wants to view the original text content where a text word first appears in a keyword library page, the user can select the first appearance position of the corresponding text word in the keyword library page. For example, the user can select the first appearance position of the text word in the keyword library page. In response to the user's selection operation on the first appearance position of any text word displayed in the keyword library page, a corresponding jump can be made according to the first appearance position of the text word, and the original text content corresponding to the first appearance position of the text word can be displayed.
[0069] In an optional embodiment of the present invention, the keyword library page may also include: a search portal; a user can search through the search portal to quickly find the text word and the first appearance position of the text word that they want to view from the keyword library page. For example, the search portal includes a search box and a search control. The user enters the search word in the search box and clicks the search control to initiate a search request carrying the search word. In response to the search request carrying the search word triggered by the search portal, the search word is used to search in the keyword library page. After the search is completed, the first appearance position of the text word corresponding to the search word is obtained, and the first appearance position of the text word corresponding to the search word is displayed on the keyword library page. When the user wants to view the original text content where the text word first appears, he can select the first appearance position of the text word in the keyword library page to jump to display the original text content corresponding to the first appearance position of the text word.
[0070] In an optional implementation of the present invention, the translation interface has a keyword library control; the user can search for keywords that he wants to view through the keyword library control.
[0071] Specifically, the method also includes: in response to a user triggering operation on a keyword library control, generating and displaying a keyword library page including a search entry, wherein the search entry includes a search box and a search control, the user enters a search term in the search box, and clicks the search control to initiate a search request carrying the search term, in response to the search request carrying the search term triggered by the search entry, searching in the original text content using the search term, and determining the first occurrence position of the text term corresponding to the search term through the search, for example, it may be a chapter label element where the text term first appears in a specified book, or a serial number label where the text term first appears in a chapter, and after the search is completed, displaying a search results page according to the first occurrence position of the text term corresponding to the search term.
[0072] In an optional embodiment of the present invention, the original text area may include: a first area and a second area; the translation area may include: a third area and a fourth area; wherein, for any specified book, the specified book has at least one chapter, and at least one chapter label element corresponding to at least one chapter of the specified book can be displayed through the first area; any chapter has corresponding text content, and the original text content corresponding to the chapter label element selected by the user is displayed through the second area; the third area is used to display the initial translation text content of the original text content, and the fourth area is used to display the initial translation text content of the original text content or the translation text of the initial translation text content after editing. Figure 2H A schematic diagram of the translation interface is shown in Figure 1. Figure 2HAs shown, the translation interface includes a first area, a second area, a third area, and a fourth area. Since the text content of a Chinese book is translated into English, "X" represents Chinese characters and "*" represents English characters for schematic illustration. The above method steps can all be implemented in the translation interface including the first area to the fourth area.
[0073] The second area displays the original text content corresponding to the chapter label element selected by the user, and the third and fourth areas display the initial translated text content, which is convenient for users to check and review; the third area is set to be non-editable and the fourth area is editable, which is convenient for users to check and review the original translation results when editing the translation results.
[0074] In an optional embodiment of the present invention, since the initial translation text content is presented in the third area, a pre-established keyword library can be queried based on the initial translation text content presented in the third area, and text words in the third area that match the target translation text content in the keyword library are located and marked. The specific implementation is similar to step S201 and will not be repeated here.
[0075] In an optional embodiment of the present invention, a user selects the first occurrence position of a text word. In response to the user's selection operation on the first occurrence position of any text word displayed in the keyword library page, the initial translation text content corresponding to the first occurrence position of the word in the third area will also be displayed.
[0076] The method provided by the above-mentioned embodiment of the present invention, in response to the keyword prompt operation triggered by the user, locates and marks the text words in the original text area that match the keywords in the keyword library, so that the user can intuitively know which text words in the original text area are keywords, without the need for the user to determine which text words are keywords one by one, thereby improving the translation efficiency. The keyword library stores the keywords and their corresponding target translation text contents in an associated manner. Therefore, the initial translation text content displayed in the translation area can be edited according to the presented target translation text content, thereby achieving the consistency of text translation and further improving the translation quality; if the user believes that the keyword translation is inaccurate, feedback can also be provided through the feedback entrance, thereby further improving the consistency of text translation; if there are corresponding keywords in the keyword library, the user can add the keywords and the target translation text contents to the keyword library by triggering the keyword adding operation, thereby enriching the keyword library and providing convenience for subsequent translation.
[0077] The embodiment of the present invention further provides a non-volatile computer storage medium, which stores at least one executable instruction. The computer executable instruction can execute the text translation method based on keyword prompts in any of the above method embodiments.
[0078] The executable instructions may be specifically used to cause the processor to perform the following operations:
[0079] In response to a keyword prompt operation triggered by a user, a pre-established keyword library is searched based on the original text content presented in the original text area of the translation interface, and text words in the original text area that match the keywords in the keyword library are positioned and marked;
[0080] In response to the user's editing operation on the initial translation text content in the translation area of the translation interface, the target translation text content corresponding to the keyword is presented, and the initial translation text content displayed in the translation area is edited according to the target translation text content to obtain the translation text content.
[0081] In an optional manner, the executable instructions further cause the processor to perform the following operations: in response to a positioning operation performed by the user on a keyword in the original text area, generating and displaying a keyword pop-up window containing the keyword and target translation text content in the original text area;
[0082] In response to the user's editing operation on the initial translation text content performed in the translation area, the initial translation text content displayed in the translation area is edited according to the target translation text content presented in the keyword pop-up window to obtain the translation text content.
[0083] In an optional manner, the keyword pop-up window also includes a feedback entry;
[0084] The executable instructions further cause the processor to perform the following operations: in response to a user triggering operation on a feedback entry, generate and display a feedback pop-up window including a feedback input box, so that the user can provide feedback translation text content of a keyword through the feedback input box.
[0085] In an optional manner, the executable instructions further cause the processor to perform the following operations:
[0086] In response to a keyword selection operation performed by the user in the original text area, a target translation text content corresponding to the selected keyword is displayed at a preset position in the translation area, and a positioning mark is made on the target translation text content;
[0087] In response to a position adjustment operation performed by the user on the target translation text content within the translation area, the target translation text content is used to replace the initial translation text content displayed within the translation area to obtain the translation text content.
[0088] In an optional manner, the executable instructions also cause the processor to perform the following operations: in response to a user's selection operation on any chapter label element, divide the original text content corresponding to the chapter label element into text blocks according to a preset dimension to obtain at least one text block, and determine a serial number label for at least one text block; and display each text block and its serial number label in a separate line in the original text area.
[0089] In an optional manner, the translation interface has a keyword library control;
[0090] The executable instructions further cause the processor to perform the following operations: in response to a user triggering operation on the keyword library control, query a pre-established keyword library based on the original text content corresponding to the chapter label element, and determine each text word in the original text content corresponding to the chapter label element that matches the keyword in the keyword library and a serial number label corresponding to each text block containing the text word;
[0091] For each text word, the serial number tags are screened to determine the first appearance position of the text word, where the first appearance position of the text word is the serial number tag where the text word first appears in the chapter; each text word and its corresponding first appearance position of the text word are displayed on the keyword library page.
[0092] In an optional manner, the translation interface has a keyword library control;
[0093] The executable instructions further cause the processor to perform the following operations: in response to a user triggering operation on the keyword library control, query a pre-established keyword library based on the original text content corresponding to the chapter label element, and determine each text word in the original text content corresponding to the chapter label element that matches a keyword in the keyword library;
[0094] For each text word, use the text word to search in the specified book to obtain the chapter label element of the text word in the specified book;
[0095] For each text word, the chapter label element is screened to determine the first appearance position of the text word, wherein the first appearance position of the text word is the chapter label element where the text word first appears in the specified book;
[0096] The keyword library page displays each text word and its corresponding text word's first appearance position.
[0097] In an optional manner, the executable instructions further cause the processor to perform the following operations:
[0098] In response to the user selecting the first appearance position of any text word displayed in the keyword library page, the original text content corresponding to the first appearance position of the text word is displayed.
[0099] In an optional manner, the keyword library page further includes: a search entry;
[0100] The executable instructions also cause the processor to perform the following operations: in response to a search request carrying a search term triggered by a search entry, search the keyword library page using the search term to obtain the first occurrence position of a text term corresponding to the search term.
[0101] In an optional manner, the translation interface has a keyword library control;
[0102] The executable instructions further cause the processor to perform the following operations: in response to a user triggering operation on the keyword library control, generate and display a keyword library page including a search entry; in response to a search request carrying a search term triggered by the search entry, use the search term to search in the original text content to obtain the first occurrence position of the text term corresponding to the search term;
[0103] The search results page is displayed based on the first occurrence of the text word corresponding to the search term.
[0104] In an optional manner, the executable instructions further cause the processor to perform the following operations: in response to a keyword adding operation triggered by a user, generate and display a keyword adding pop-up window, so that the user can add target translation text content corresponding to the keyword through the keyword adding pop-up window.
[0105] In an optional manner, the original text area includes: a first area and a second area; the translation area includes: a third area and a fourth area;
[0106] Among them, the first area is used to display at least one chapter label element corresponding to at least one chapter of the specified book; the second area is used to display the original text content corresponding to the chapter label element selected by the user; the third area is used to display the initial translated text content of the original text content, and the fourth area is used to display the initial translated text content of the original text content or the translated text after editing the initial translated text content.
[0107] In an optional manner, the executable instructions further cause the processor to perform the following operations: query a pre-established keyword library based on the initial translation text content presented in the third area, and locate and mark text words in the third area that match the target translation text content in the keyword library.
[0108] Figure 3 A schematic diagram of the structure of a computing device according to an embodiment of the present invention is shown. The specific embodiment of the present invention does not limit the specific implementation of the computing device.
[0109] like Figure 3As shown, the computing device may include: a processor (processor) 302 , a communications interface (Communications Interface) 304 , a memory (memory) 306 , and a communication bus 308 .
[0110] The processor 302 , the communication interface 304 , and the memory 306 communicate with each other via the communication bus 308 .
[0111] The communication interface 304 is used to communicate with other devices such as clients or other servers.
[0112] The processor 302 is used to execute the program 310, and specifically can execute the relevant steps in the above-mentioned text translation method embodiment based on keyword prompts.
[0113] Specifically, the program 310 may include program codes, which include computer operation instructions.
[0114] The processor 302 may be a central processing unit (CPU), or an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present invention. The one or more processors included in the computing device may be processors of the same type, such as one or more CPUs; or processors of different types, such as one or more CPUs and one or more ASICs.
[0115] The memory 306 is used to store the program 310. The memory 306 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
[0116] The program 310 may be specifically configured to enable the processor 302 to perform the following operations:
[0117] In response to a keyword prompt operation triggered by a user, a pre-established keyword library is searched based on the original text content presented in the original text area of the translation interface, and text words in the original text area that match the keywords in the keyword library are positioned and marked;
[0118] In response to the user's editing operation on the initial translation text content in the translation area of the translation interface, the target translation text content corresponding to the keyword is presented, and the initial translation text content displayed in the translation area is edited according to the target translation text content to obtain the translation text content.
[0119] In an optional manner, the program 310 further causes the processor 302 to perform the following operations: in response to a user performing a positioning operation on a keyword in the original text area, generating and displaying a keyword pop-up window containing the keyword and the target translation text content in the original text area;
[0120] In response to the user's editing operation on the initial translation text content performed in the translation area, the initial translation text content displayed in the translation area is edited according to the target translation text content presented in the keyword pop-up window to obtain the translation text content.
[0121] In an optional manner, the keyword pop-up window also includes a feedback entry;
[0122] The program 310 further enables the processor 302 to perform the following operations: in response to the user triggering the feedback entry, generate and display a feedback pop-up window including a feedback input box, so that the user can provide feedback translation text content of the keyword through the feedback input box.
[0123] In an optional manner, the program 310 further causes the processor 302 to perform the following operations: in response to a keyword selection operation performed by the user in the original text area, display the target translation text content corresponding to the selected keyword at a preset position in the translation area, and mark the target translation text content;
[0124] In response to a position adjustment operation performed by the user on the target translation text content within the translation area, the target translation text content is used to replace the initial translation text content displayed within the translation area to obtain the translation text content.
[0125] In an optional manner, program 310 also enables processor 302 to perform the following operations: in response to a user's selection operation on any chapter label element, divide the original text content corresponding to the chapter label element into text blocks according to a preset dimension to obtain at least one text block, and determine a serial number label for at least one text block; and display each text block and its serial number label in a separate line in the original text area.
[0126] In an optional manner, the translation interface has a keyword library control;
[0127] The program 310 further causes the processor 302 to perform the following operations: in response to a user triggering operation on the keyword library control, query a pre-established keyword library based on the original text content corresponding to the chapter label element, and determine each text word in the original text content corresponding to the chapter label element that matches the keyword in the keyword library and the serial number label corresponding to each text block containing the text word;
[0128] For each text word, the serial number tags are screened to determine the first appearance position of the text word, where the first appearance position of the text word is the serial number tag where the text word first appears in the chapter; each text word and its corresponding first appearance position of the text word are displayed on the keyword library page.
[0129] In an optional manner, the translation interface has a keyword library control;
[0130] The program 310 further causes the processor 302 to perform the following operations: in response to a user triggering operation on the keyword library control, query a pre-established keyword library based on the original text content corresponding to the chapter label element, and determine each text word in the original text content corresponding to the chapter label element that matches a keyword in the keyword library;
[0131] For each text word, use the text word to search in the specified book to obtain the chapter label element of the text word in the specified book;
[0132] For each text word, the chapter label element is screened to determine the first appearance position of the text word, wherein the first appearance position of the text word is the chapter label element where the text word first appears in the specified book;
[0133] The keyword library page displays each text word and its corresponding text word's first appearance position.
[0134] In an optional manner, the program 310 further enables the processor 302 to perform the following operations:
[0135] In response to the user selecting the first appearance position of any text word displayed in the keyword library page, the original text content corresponding to the first appearance position of the text word is displayed.
[0136] In an optional manner, the keyword library page further includes: a search entry;
[0137] Program 310 also causes processor 302 to perform the following operations: in response to a search request carrying a search term triggered by a search entry, search the keyword library page using the search term to obtain the first occurrence position of a text term corresponding to the search term.
[0138] In an optional manner, the translation interface has a keyword library control;
[0139] The program 310 also causes the processor 302 to perform the following operations: in response to a user triggering operation on a keyword library control, generate and display a keyword library page including a search entry;
[0140] In response to a search request carrying a search term triggered by a search entry, the original text content is searched using the search term to obtain the first occurrence position of a text term corresponding to the search term;
[0141] The search results page is displayed based on the first occurrence of the text word corresponding to the search term.
[0142] In an optional manner, the program 310 further enables the processor 302 to perform the following operations:
[0143] In response to a keyword adding operation triggered by a user, a keyword adding pop-up window is generated and displayed, so that the user can add target translation text content corresponding to the keyword through the keyword adding pop-up window.
[0144] In an optional manner, the original text area includes: a first area and a second area; the translation area includes: a third area and a fourth area;
[0145] Among them, the first area is used to display at least one chapter label element corresponding to at least one chapter of the specified book; the second area is used to display the original text content corresponding to the chapter label element selected by the user; the third area is used to display the initial translated text content of the original text content, and the fourth area is used to display the initial translated text content of the original text content or the translated text after editing the initial translated text content.
[0146] In an optional manner, the program 310 further enables the processor 302 to perform the following operations: query a pre-established keyword library based on the initial translation text content presented in the third region, and locate and mark text words in the third region that match the target translation text content in the keyword library.
[0147] The algorithm or display provided herein is not inherently related to any particular computer, virtual system or other equipment. Various general purpose systems can also be used together with the teachings based on this. According to the above description, it is obvious to construct the structure required for this type of system. In addition, the embodiment of the present invention is not directed to any specific programming language yet. It should be understood that various programming languages can be utilized to realize the content of the present invention described herein, and the description made to specific languages above is for disclosing the best mode of the present invention.
[0148] In the description provided herein, a large number of specific details are described. However, it is understood that embodiments of the present invention can be practiced without these specific details. In some instances, well-known methods, structures and techniques are not shown in detail so as not to obscure the understanding of this description.
[0149] Similarly, it should be understood that in order to streamline the present invention and aid in understanding one or more of the various inventive aspects, in the above description of exemplary embodiments of the present invention, the various features of the embodiments of the present invention are sometimes grouped together into a single embodiment, figure, or description thereof. However, this disclosed method should not be interpreted as reflecting the following intention: that the claimed invention requires more features than the features explicitly recited in each claim. More specifically, as reflected in the claims below, inventive aspects lie in less than all the features of the individual embodiments disclosed above. Therefore, the claims that follow the specific embodiment are hereby expressly incorporated into the specific embodiment, with each claim itself serving as a separate embodiment of the present invention.
[0150] Those skilled in the art will appreciate that the modules in the devices in the embodiments may be adaptively changed and arranged in one or more devices different from the embodiments. The modules or units or components in the embodiments may be combined into one module or unit or component, and in addition they may be divided into a plurality of submodules or subunits or subcomponents. Except that at least some of such features and / or processes or units are mutually exclusive, all features disclosed in this specification (including the accompanying claims, abstracts and drawings) and all processes or units of any method or device disclosed in this manner may be combined in any combination. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstracts and drawings) may be replaced by an alternative feature providing the same, equivalent or similar purpose.
[0151] In addition, those skilled in the art will appreciate that, although some embodiments herein include certain features included in other embodiments but not other features, the combination of features of different embodiments is meant to be within the scope of the present invention and form different embodiments. For example, in the claims below, any one of the claimed embodiments may be used in any combination.
[0152] The various component embodiments of the present invention can be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. It should be understood by those skilled in the art that a microprocessor or digital signal processor (DSP) can be used in practice to implement some or all functions of some or all components according to embodiments of the present invention. The present invention can also be implemented as a device or apparatus program (e.g., computer program and computer program product) for executing part or all of the methods described herein. Such a program implementing the present invention can be stored on a computer-readable medium, or can have the form of one or more signals. Such a signal can be downloaded from an Internet website, or provided on a carrier signal, or provided in any other form.
[0153] It should be noted that the above embodiments illustrate the present invention rather than limit it, and that those skilled in the art may devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference symbol between brackets shall not be construed as a limitation on the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "one" or "an" preceding an element does not exclude the presence of a plurality of such elements. The present invention may be implemented by means of hardware comprising a number of different elements and by means of a suitably programmed computer. In a unit claim enumerating a number of devices, several of these devices may be embodied by the same hardware item. The use of the words first, second, and third, etc. does not indicate any order. These words may be interpreted as names. The steps in the above embodiments, unless otherwise specified, should not be understood as limitations on the order of execution.
Claims
1. A text translation method based on keyword prompts, wherein: The translation interface applicable to the method includes an original text area and a translation area, and the method includes: In response to a keyword prompt operation triggered by a user, a pre-established keyword library is searched based on the original text content presented in the original text area, and a text word in the original text area that matches a keyword in the keyword library is positioned and marked; In response to an editing operation performed by a user on the initial translation text content in the translation area, a target translation text content corresponding to the keyword is presented, and the initial translation text content displayed in the translation area is edited according to the target translation text content to obtain the translation text content; Wherein, the translation interface has a keyword library control; The method further includes: in response to a user triggering operation on the keyword library control, querying a pre-established keyword library based on the original text content corresponding to the chapter label element, and determining each text word in the original text content corresponding to the chapter label element that matches a keyword in the keyword library; For each text word, use the text word to search in the specified book to obtain the chapter label element of the text word in the specified book; For each text word, the chapter label element is screened to determine the first appearance position of the text word, wherein the first appearance position of the text word is the chapter label element where the text word first appears in the specified book; Display each text word and its corresponding text word's first occurrence position in the keyword library page; In response to a user selecting the first appearance position of any text word displayed in the keyword library page, the original text content corresponding to the first appearance position of the text word is displayed, and the initial translation text content corresponding to the first appearance position of the text word in the third area is displayed, wherein the translation area includes: a third area, and the third area is used to display the initial translation text content of the original text content.
2. The method according to claim 1, wherein: The step of responding to an editing operation performed by a user on the initial translation text content within the translation area, presenting target translation text content corresponding to a keyword, and editing the initial translation text content displayed within the translation area according to the target translation text content to obtain the translation text content further comprises: In response to a user's positioning operation on a keyword in the original text area, generating and displaying a keyword pop-up window containing the keyword and target translation text content in the original text area; In response to the user's editing operation on the initial translation text content performed in the translation area, the initial translation text content displayed in the translation area is edited according to the target translation text content presented in the keyword pop-up window to obtain the translation text content.
3. The method according to claim 2, wherein: The keyword pop-up window also includes a feedback entry; The method further includes: in response to a user triggering operation on the feedback entry, generating and displaying a feedback pop-up window including a feedback input box, so that the user can provide feedback translation text content of a keyword through the feedback input box.
4. The method according to claim 1, wherein: The step of responding to an editing operation performed by a user on the initial translation text content within the translation area, presenting target translation text content corresponding to a keyword, and editing the initial translation text content displayed within the translation area according to the target translation text content to obtain the translation text content further comprises: In response to a keyword selection operation performed by a user in the original text area, a target translation text content corresponding to the selected keyword is displayed at a preset position in the translation area, and a positioning mark is placed on the target translation text content; In response to a position adjustment operation performed by a user on the target translation text content within the translation area, the target translation text content is used to replace the initial translation text content displayed within the translation area to obtain the translation text content.
5. The method according to any one of claims 1 to 4, wherein: The method further includes: in response to a user selecting any chapter label element, dividing the original text content corresponding to the chapter label element into text blocks according to a preset dimension to obtain at least one text block, and determining a sequence number label of the at least one text block; Display each text block and its serial number label in a separate line in the original text area.
6. The method according to claim 5, wherein: The translation interface has a keyword library control; The method further includes: in response to a user triggering operation on the keyword library control, querying a pre-established keyword library based on the original text content corresponding to the chapter label element, determining each text word in the original text content corresponding to the chapter label element that matches the keyword in the keyword library and a serial number label corresponding to each text block containing the text word; For each text word, the serial number tag is screened to determine the first appearance position of the text word, wherein the first appearance position of the text word is the serial number tag where the text word first appears in the chapter; The keyword library page displays each text word and its corresponding text word's first appearance position.
7. The method according to claim 1 or 6, wherein: The keyword library page also includes: a search entry; The method further includes: in response to a search request carrying a search term triggered by a search entry, searching in a keyword library page using the search term to obtain a first appearance position of a text term corresponding to the search term.
8. The method according to any one of claims 1 to 4, wherein: The translation interface has a keyword library control; the method further includes: In response to a user triggering operation on the keyword library control, generating and displaying a keyword library page including a search entry; In response to a search request carrying a search term triggered by a search entry, the original text content is searched using the search term to obtain the first occurrence position of a text term corresponding to the search term; The search results page is displayed based on the first occurrence of the text word corresponding to the search term.
9. The method according to any one of claims 1 to 4, wherein: The method further comprises: In response to a keyword adding operation triggered by a user, a keyword adding pop-up window is generated and displayed, so that the user can add target translation text content corresponding to the keyword through the keyword adding pop-up window.
10. The method according to any one of claims 1 to 4, wherein: The original text area includes: a first area and a second area; the translation area also includes: a fourth area; Wherein, the first area is used to display at least one chapter label element corresponding to at least one chapter of the specified book; The second area is used to display the original text content corresponding to the chapter tag element selected by the user; the fourth area is used to display the initial translation text content of the original text content or the translation text content after editing the initial translation text content.
11. The method according to claim 10, wherein: The method further includes: searching a pre-established keyword library based on the initial translation text content presented in the third area, and positioning and marking text words in the third area that match the target translation text content in the keyword library.
12. A computing device comprising: A processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus; The memory is used to store at least one executable instruction, and the executable instruction enables the processor to perform the following operations: In response to a keyword prompt operation triggered by a user, a pre-established keyword library is searched based on the original text content presented in the original text area of the translation interface, and a text word in the original text area that matches a keyword in the keyword library is positioned and marked; In response to an editing operation performed by a user on an initial translation text content in a translation area of a translation interface, a target translation text content corresponding to a keyword is presented, and the initial translation text content displayed in the translation area is edited according to the target translation text content to obtain a translation text content; Wherein, the translation interface has a keyword library control; The executable instructions further cause the processor to perform the following operations: in response to a user triggering operation on the keyword library control, query a pre-established keyword library based on the original text content corresponding to the chapter label element, and determine each text word in the original text content corresponding to the chapter label element that matches a keyword in the keyword library; For each text word, use the text word to search in the specified book to obtain the chapter label element of the text word in the specified book; For each text word, the chapter label element is screened to determine the first appearance position of the text word, wherein the first appearance position of the text word is the chapter label element where the text word first appears in the specified book; Display each text word and its corresponding text word's first occurrence position in the keyword library page; In response to a user selecting the first appearance position of any text word displayed in the keyword library page, the original text content corresponding to the first appearance position of the text word is displayed, and the initial translation text content corresponding to the first appearance position of the text word in the third area is displayed, wherein the translation area includes: a third area, and the third area is used to display the initial translation text content of the original text content.
13. The computing device of claim 12, wherein: The executable instructions further cause the processor to perform the following operations: In response to a user's positioning operation on a keyword in the original text area, generating and displaying a keyword pop-up window containing the keyword and target translation text content in the original text area; In response to the user's editing operation on the initial translation text content performed in the translation area, the initial translation text content displayed in the translation area is edited according to the target translation text content presented in the keyword pop-up window to obtain the translation text content.
14. The computing device of claim 13, wherein: The keyword pop-up window also includes a feedback entry; The executable instructions further cause the processor to perform the following operations: in response to a user triggering operation on the feedback entry, generate and display a feedback pop-up window including a feedback input box, so that the user can provide feedback translation text content of a keyword through the feedback input box.
15. The computing device of claim 12, wherein: The executable instructions further cause the processor to perform the following operations: In response to a keyword selection operation performed by a user in the original text area, a target translation text content corresponding to the selected keyword is displayed at a preset position in the translation area, and a positioning mark is placed on the target translation text content; In response to a position adjustment operation performed by a user on the target translation text content within the translation area, the target translation text content is used to replace the initial translation text content displayed within the translation area to obtain the translation text content.
16. The computing device according to any one of claims 12 to 14, wherein: The executable instructions further cause the processor to: In response to a user selecting any chapter label element, dividing the original text content corresponding to the chapter label element into text blocks according to a preset dimension to obtain at least one text block, and determining a sequence number label of the at least one text block; Display each text block and its serial number label in a separate line in the original text area.
17. The computing device of claim 16, wherein: The translation interface has a keyword library control; The executable instructions further cause the processor to perform the following operations: in response to a user triggering operation on the keyword library control, query a pre-established keyword library based on the original text content corresponding to the chapter label element, and determine each text word in the original text content corresponding to the chapter label element that matches the keyword in the keyword library and a serial number label corresponding to each text block containing the text word; For each text word, the serial number tag is screened to determine the first appearance position of the text word, wherein the first appearance position of the text word is the serial number tag where the text word first appears in the chapter; The keyword library page displays each text word and its corresponding text word's first appearance position.
18. The computing device of claim 12 or 17, wherein: The keyword library page also includes: a search entry; The executable instructions further cause the processor to perform the following operations: in response to a search request carrying a search term triggered by a search entry, search the keyword library page using the search term to obtain the first occurrence position of a text term corresponding to the search term.
19. The computing device according to any one of claims 12 to 15, wherein: The translation interface has a keyword library control; The executable instructions further cause the processor to perform the following operations: in response to a user triggering operation on the keyword library control, generate and display a keyword library page including a search entry; In response to a search request carrying a search term triggered by a search entry, the original text content is searched using the search term to obtain the first occurrence position of a text term corresponding to the search term; The search results page is displayed based on the first occurrence of the text word corresponding to the search term.
20. The computing device according to any one of claims 12 to 15, wherein: The executable instructions further cause the processor to: In response to a keyword adding operation triggered by a user, a keyword adding pop-up window is generated and displayed, so that the user can add target translation text content corresponding to the keyword through the keyword adding pop-up window.
21. The computing device according to any one of claims 12 to 15, wherein: The original text area includes: a first area and a second area; the translation area also includes: a fourth area; Wherein, the first area is used to display at least one chapter label element corresponding to at least one chapter of the specified book; The second area is used to display the original text content corresponding to the chapter label element selected by the user; The fourth area is used to display the initial translation text content of the original text content or the translation text content after editing the initial translation text content.
22. The computing device of claim 21, wherein: The executable instructions further cause the processor to: A pre-established keyword library is queried based on the initial translation text content presented in the third area, and a location mark is performed on text words in the third area that match the target translation text content in the keyword library.
23. A computer storage medium, wherein at least one executable instruction is stored in the storage medium, and wherein the executable instruction enables a processor to execute operations corresponding to the text translation method based on keyword prompts as described in any one of claims 1 to 11.
