Web page processing device, web page processing method, and program
The web page processing device allows for manual modification and customization of machine-translated web pages, enhancing user interaction and flexibility in managing translated content.
Patent Information
- Application Number
- JP2024174076
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2024-10-03
- Publication Date
- 2025-12-26
- Estimated Expiration
- 2040-07-14
AI Technical Summary
Existing technologies do not allow for appropriate modification of machine-translated web pages, limiting user convenience and flexibility in managing translated content.
A web page processing device that includes units for acquiring, modifying, and storing machine-translated web pages, allowing manual changes, inserting content, and managing translation engines and modes to enhance user interaction and customization.
Enables flexible modification and customization of machine-translated web pages, improving user convenience and effectiveness in managing translated content across different languages and formats.
Smart Images

Figure 0007792602000001 
Figure 0007792602000002 
Figure 0007792602000003
Abstract
Description
[Technical Field]
[0001] The present invention relates to a web page processing device that translates web pages. [Background technology]
[0002] Conventionally, there has been a technology that can improve user convenience in a service that translates and provides web pages (see Patent Document 1). [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Patent No. 6382477 Summary of the Invention [Problem to be solved by the invention]
[0004] However, in the prior art, it is not possible to appropriately change the second web page that is a machine-translated version of the first web page. [Means for solving the problem]
[0005] The web page processing device of the first invention is a web page processing device that includes a translation acquisition unit that acquires a second web page original that is a machine translation of at least a portion of a first language of a first web page into a second language; a change acceptance unit that accepts translation change information that is a manual change to the machine translation result of at least a portion of the second web page original; a location information acquisition unit that acquires translation location information that identifies the locations of the second web page original that have been changed by the translation change information; and a storage unit that stores the translation web page original, which is information that is the basis of a translated web page obtained by translating a previous first web page into a second language and includes the translation change information, and the translation location information acquired by the location information acquisition unit, in association with the first web page.
[0006] With this configuration, the second web page obtained by machine-translating the first web page can be appropriately modified.
[0007] In addition, the web page processing device of the second invention, compared to the first invention, further comprises an instruction receiving unit that receives an access instruction associated with a second language from the terminal device, and a judgment unit that determines whether a translated web page source associated with the second language corresponding to the access instruction exists in a page storage unit that stores a first web page associated with the first language and a translated web page source in one or more languages different from the first language, in association with each other; the translation acquisition unit, when the judgment unit determines that the translated web page source associated with the second language does not exist in the page storage unit, acquires a second web page source obtained by machine-translating at least a portion of the first web page into the second language, when the judgment unit determines that the translated web page source associated with the second language does not exist in the page storage unit, acquires a translated web page in the second language using the translated web page source acquired by the translation acquisition unit, and when the translated web page source exists in the page storage unit, acquires the translated web page in the second language using the translated web page source associated with the second language in the page storage unit; and a page sending unit that sends the translated web page acquired by the web page acquisition unit to the terminal device.
[0008] With this configuration, the second web page, which is a machine-translated version of the first web page, can be viewed after being appropriately modified.
[0009] Furthermore, the web page processing device of the third invention is a web page processing device in which, compared to the second invention, the change receiving unit receives insert content, which is a still image, video, or API to be inserted into the translated web page, the storage unit stores the insert content in association with the original translated web page or the first web page, and the page acquisition unit acquires the first web page into which the insert content or insert content based on the insert content has been inserted when the instruction receiving unit receives an access instruction associated with the first language, and acquires the translated web page into which the insert content has been inserted when the instruction receiving unit receives an access instruction associated with the second language.
[0010] With this configuration, when still images, videos, APIs, etc. are inserted into the translated web page, they can also be reflected in the first web page.
[0011] Furthermore, the web page processing device of the fourth invention is a web page processing device in which, compared to the second or third invention, the change receiving unit receives insertion content which is a still image, video, or API to be inserted into the first web page, the storage unit stores the insertion content in association with the first web page or the original translated web page, and the page acquisition unit acquires the first web page into which the insertion content has been inserted when the instruction receiving unit receives an access instruction associated with a first language, and acquires the translated web page into which the insertion content or insertion content based on the insertion content has been inserted when the instruction receiving unit receives an access instruction associated with a second language.
[0012] With this configuration, when a still image, video, API, etc. is inserted into the first web page, it can be reflected in the translated web page.
[0013] Furthermore, the web page processing device of the fifth invention is a web page processing device in which, compared to the third or fourth invention, the inserted content is a still image or a video, and further includes a string acquisition unit that performs character recognition on the still image or video and acquires a string of characters in one language, the translation acquisition unit acquires a string translation result obtained by machine translating the string acquired by the string acquisition unit into another language different from the first language, and the storage unit stores the inserted content and the string translation result, or the inserted content reflecting the string translation result, in association with the first web page or the original translated web page.
[0014] With this configuration, the translation results of the text parts of still images and moving images can be used.
[0015] Furthermore, the web page processing device of the sixth invention is a web page processing device according to any one of the third to fifth inventions, wherein the inserted content is a video, and further includes an audio acquisition unit that acquires audio information in one language from the video, the translation acquisition unit acquires the audio translation result in another language different from the one language of the audio information, and the storage unit stores the video and the audio translation result, or the video in which the audio information contained in the video has been replaced with the audio translation result, in association with the first web page or the original translated web page.
[0016] This configuration allows the results of audio translation of videos to be used.
[0017] In addition, the web page processing device of the seventh invention is a web page processing device that, compared to any one of the third to sixth inventions, further includes a reflection mode storage unit in which a reflection mode indicating whether or not to reflect modifications in the first web page or the translated web page is stored, and the page acquisition unit acquires a translated web page that reflects the insert content to be inserted into the first web page accepted by the change acceptance unit, or acquires the first web page that reflects the insert content to be inserted into the translated web page accepted by the change acceptance unit, only when the reflection mode is a mode in which modifications are reflected.
[0018] With this configuration, it is possible to set a mode as to whether or not the inserted content is reflected in a web page in another language.
[0019] Furthermore, the web page processing device of the eighth invention is a web page processing device in which, compared to any one of the first to seventh inventions, the change receiving unit receives original change information that identifies an original change, which is a manual change to at least a portion of the first web page, the storage unit updates the first web page using the original change information, and the translation acquisition unit acquires machine-translated information obtained by machine-translating the original change information in the first language into a second language, and a machine translation output unit outputs the machine-translated information.
[0020] With this configuration, when the first web page is modified, the machine translation result of the modified portion can be obtained.
[0021] Furthermore, the web page processing device of the ninth invention is a web page processing device in which, compared to the eighth invention, the machine translation output unit transmits machine translated information to a terminal device, the change receiving unit receives translation change information for the machine translated information from the terminal device, the location information acquisition unit acquires translation location information that identifies the locations changed by the translation change information, and the storage unit stores the translation web page source, which is information that forms the basis of a translated web page obtained by translating a first web page into a second language and includes the translation change information received by the change receiving unit, and the translation location information acquired by the location information acquisition unit, in association with the first web page.
[0022] This configuration allows the user to correct the results of machine translation.
[0023] Furthermore, the web page processing device of the tenth invention is a web page processing device in which, compared to any one of the first to ninth inventions, there is an edit mode in which the web page can be edited on the terminal device, and a display mode in which editing is not possible, and the change receiving unit receives translation change information only in the edit mode.
[0024] With this configuration, it is possible to set either a mode in which the web page can be edited or a mode in which the web page cannot be edited.
[0025] Furthermore, the web page processing device of the eleventh invention is a web page processing device that, compared to the tenth invention, further includes a UI acquisition unit that acquires a user interface for selecting an edit mode or a display mode, and a UI transmission unit that transmits the user interface to the terminal device, and the change acceptance unit accepts translation change information only when the mode selected by the user is the edit mode.
[0026] With this configuration, it is possible to set either a mode in which the web page can be edited or a mode in which the web page cannot be edited.
[0027] In addition, the web page processing device of the twelfth invention is a web page processing device according to any one of the first to eleventh inventions, wherein a term dictionary having one or more pieces of correspondence information relating to the correspondence between a first term in a first language and a manually inputted second term which is a translation of the first term into a second language, or one or more pieces of correspondence information relating to the correspondence between a machine-translated second term which is the result of machine translating the first term into a second language and a manually inputted second term, is stored in association with a first web page or an original translated web page, and further includes a dictionary utilization unit that uses the term dictionary to convert a first term in the first web page into a manually input second term, or converts a machine-translated second term in the original translated web page into a manually input second term, and acquires the original translated web page, and the storage unit stores the original translated web page and translation portion information acquired by the dictionary utilization unit in association with the first web page.
[0028] This configuration allows the use of a glossary to obtain an appropriate translated web page.
[0029] Furthermore, the web page processing device of the thirteenth invention is a web page processing device in which, compared to the twelfth invention, the change receiving unit receives correspondence information and the storage unit stores the correspondence information received by the change receiving unit in a terminology dictionary.
[0030] With this configuration, it is possible to register a glossary for obtaining an appropriate translated web page.
[0031] Furthermore, the web page processing device of the fourteenth invention is a web page processing device according to any one of the first to thirteenth inventions, further comprising a translation route information storage unit in which translation route information having an intermediate language identifier that identifies an intermediate language is stored, the translation route information being information that specifies a translation route when translating a first language into a second language, and the translation acquisition unit is a web page processing device that acquires a second web page source that has been machine-translated into the second language after at least the first language portion of a first web page in the first language has been machine-translated into the intermediate language identified by the intermediate language identifier in the translation route information.
[0032] This configuration allows the translation route of a web page to be set.
[0033] In addition, the web page processing device of the fifteenth invention, compared to any one of the first to fourteenth inventions, further comprises a used engine information storage unit in which two or more used engine information pieces are stored, each having attribute value conditions related to the attribute values of the translation units of the web page and a translation engine identifier that identifies the translation engine to be used for machine translation, and the translation acquisition unit comprises attribute value acquisition means for acquiring the attribute values of each translation unit of the first web page, translation engine identifier acquisition means for acquiring, for each translation unit, a translation engine identifier that pairs with the attribute value condition that matches the attribute value, and translation acquisition means for acquiring the original second web page by passing each translation unit to the translation engine identified by the translation engine identifier and acquiring from the translation engine the machine translation results of each translation unit translated into a second language.
[0034] This configuration allows the use of a translation engine that is suitable for translation.
[0035] Furthermore, the web page processing device of the sixteenth invention is a web page processing device that, compared to any one of the first to fifteenth inventions, further includes a URI acquisition unit that acquires a first URI of the first web page and acquires a second URI for accessing the translated web page, which is a URI with a unique string added to the end of the first URI, and the storage unit stores the original translated web page so that it can be accessed using the second URI.
[0036] This configuration allows for the creation of a translated web page that is effective for SEO measures.
[0037] Furthermore, the web page processing device of the seventeenth invention is different from the second invention in that the second web page source is information obtained by machine translating one or more sentences from the first web page excluding predetermined tags into a second language, and the page acquisition unit is a web page processing device that, when the instruction receiving unit receives an access instruction associated with the second language, combines the predetermined tags of the first web page with the translated web page source to construct a translated web page.
[0038] This configuration makes it possible to save on recording media even when creating web pages in multiple languages.
[0039] Furthermore, the web page processing device of the eighteenth invention is a web page processing device in which, compared to any one of the first to seventeenth inventions, the translation acquisition unit acquires a second web page source that also has translation meta tags that have been machine-translated from the meta tags of the first web page into a second language.
[0040] This configuration allows for the creation of a translated web page that is effective for SEO measures. [Effects of the Invention]
[0041] The web page processing device according to the present invention can appropriately modify the second web page that is a machine-translated version of the first web page. [Brief explanation of the drawings]
[0042] [Figure 1] Conceptual diagram of information system A in embodiment 1 [Figure 2] Block diagram of Information System A [Figure 3] A block diagram of a web page processing device 1 that constitutes the information system A. [Figure 4] A flowchart illustrating an example of the operation of the web page processing device 1. [Figure 5] A flowchart illustrating an example of the translation acquisition process [Figure 6] A flowchart illustrating an example of the translation engine determination process [Figure 7] A flowchart illustrating an example of the character string translation process [Figure 8] A flowchart illustrating an example of the dictionary use process. [Figure 9] A flowchart illustrating an example of the special content processing [Figure 10] A flowchart illustrating an example of the change process [Figure 11] A flowchart illustrating an example of the insertion content processing [Figure 12] A flowchart illustrating an example of the operation of the terminal device 2 [Figure 13] FIG. 10 is a diagram showing an example of the first web page. [Figure 14] FIG. 10 is a diagram showing an example of a script on the first web page. [Figure 15] A diagram showing the engine management table for the same engine [Figure 16] A diagram showing the translation route management table [Figure 17] FIG. 10 is a diagram showing an example of information including the second web page source. [Figure 18] Figure showing an example of the output [Figure 19] A diagram explaining the manual editing of the machine translation results [Figure 20] A diagram explaining the manual editing of the machine translation results [Figure 21] A diagram showing an example of information including the source of the translated web page [Figure 22] A diagram to explain the dictionary function [Figure 23] A diagram to explain the dictionary function [Figure 24] Figure showing an example of the dictionary window [Figure 25] A diagram explaining how to insert the video [Figure 26] A diagram explaining how to insert the video [Figure 27] Block diagram of the translation device 5 [Figure 28] Overview of the computer system [Figure 29] Block diagram of the computer system DETAILED DESCRIPTION OF THE INVENTION
[0043] Hereinafter, embodiments of a web page processing device and the like will be described with reference to the drawings. Note that components with the same reference numerals in the embodiments perform similar operations, and therefore repeated description may be omitted.
[0044] (Embodiment 1) In this embodiment, we will describe an information system equipped with a web page processing device that allows a user to manually correct a portion of a translation of a web page in a first language that has been machine-translated into a second language, and then view the translation, which is a combination of machine translation and manual translation, as a translation on a website. In this embodiment, the translated web page is stored.
[0045] In addition, in this embodiment, we will explain an information system equipped with a web page processing device that, when inserting content such as still images, videos, APIs, etc. into a machine-translated web page, reflects this in the original web page.
[0046] In addition, in this embodiment, we will explain an information system equipped with a web page processing device that reflects insertion content such as still images, videos, APIs, etc. into the original web page after translation in the web page after machine translation.
[0047] In this embodiment, an information system including a web page processing device that also translates the text of still images and videos when the inserted content is a still image or video will be described. Also, an information system including a web page processing device that also translates the text of still images and videos when the original web page contains still images and videos will be described.
[0048] In this embodiment, an information system including a web page processing device that also translates the audio portion of a video when the inserted content is a video is described. Also, an information system including a web page processing device that also translates the audio portion of a still image when a video is included in the original web page is described.
[0049] In addition, in this embodiment, an information system is described that includes a web page processing device that allows a user to set whether or not changes to the original web page should be reflected in the machine-translated web page, and whether or not changes to the machine-translated web page should be reflected in the original web page.
[0050] In addition, in this embodiment, an information system is described that includes a web page processing device in which, when the original web page is updated, the translated web page is automatically updated, and only the changed parts of the original web page are machine-translated and presented to the user, allowing the user to manually change the machine-translated parts of the changed parts.
[0051] In addition, in this embodiment, an information system will be described that includes a web page processing device that has an edit mode in which a web page after machine translation can be edited, and a display mode in which editing is not possible.
[0052] In this embodiment, an information system including a web page processing device that can obtain an appropriate translated web page in a second language using a term dictionary will be described.
[0053] In this embodiment, an information system equipped with a web page processing device that can set a route for machine translation of a web page will be described.
[0054] In addition, in this embodiment, an information system equipped with a web page processing device that can automatically determine and use the most suitable translation engine according to the attribute values of the translation units of a web page will be described.
[0055] In this embodiment, an information system equipped with a web page processing device that can set a URI with SEO measures for a translated web page will be described. Note that a URI (Uniform Resource Identifier) is usually a URL (Uniform Resource Locator), but it can also be a URN (Uniform Resource Name), or any other information that can be used to access a web page.
[0056] In this embodiment, an information system including a web page processing device that structures an original web page and one or more translated web pages in a manner that allows for saving recording media will be described.
[0057] Furthermore, in this embodiment, an information system equipped with a web page processing device that can translate metatags as well to create a translated web page that is easy to search will be described.
[0058] 1 is a conceptual diagram of an information system A according to this embodiment. The information system A includes a web page processing device 1, one or more terminal devices 2, one or more translation engines 3, and one or more web servers 4.
[0059] The web page processing device 1, translation engine 3, and web server 4 are all so-called server devices. The web page processing device 1 and the like may be, for example, a cloud server or an ASP server, but the type and location of the device are not important.
[0060] The web page processing device 1 is also a device that creates a second web page, which is a web page written in a second language, using a first web page, which is a web page written in a first language.
[0061] The translation engine 3 is a device that translates a character string in a source language (here, a first language) and acquires a character string in a target language (here, a second language). The translation engine 3 may be software that translates a given character string. The translation engine 3 may also be a device that translates speech information spoken in a first language and acquires speech information in a second language.
[0062] The web server 4 is a device that stores web pages and transmits the web pages in response to instructions.
[0063] The terminal device 2 is a terminal used by a user (for example, a web page administrator). The terminal device 2 may be a mobile terminal such as a smartphone, a tablet terminal, or a mobile phone, or a so-called personal computer, and the type of the terminal device 2 is not important.
[0064] 2 is a block diagram of an information system A according to the present embodiment, and FIG. 3 is a block diagram of a web page processing device 1 that constitutes the information system A.
[0065] The web page processing device 1 includes a storage unit 11, a receiving unit 12, a processing unit 13, and a transmitting unit .
[0066] The storage unit 11 includes a page storage unit 111, a used engine information storage unit 112, a translation route information storage unit 113, an edit mode storage unit 114, a reflection mode storage unit 115, and a dictionary storage unit .
[0067] The receiving unit 12 includes an instruction receiving unit 121 and a change accepting unit 122 .
[0068] The processing unit 13 includes a translation acquisition unit 131, a URI acquisition unit 132, a storage unit 133, a UI acquisition unit 134, a location information acquisition unit 135, a character string acquisition unit 136, a voice acquisition unit 137, a judgment unit 138, a page acquisition unit 139, and a dictionary utilization unit 130.
[0069] The translation acquisition unit 131 includes an attribute value acquisition unit 1311 , a translation engine identifier acquisition unit 1312 , and a translation acquisition unit 1313 .
[0070] The transmission unit 14 includes a machine translation output unit 141 , a UI transmission unit 142 , and a page transmission unit 143 .
[0071] The terminal device 2 includes a terminal storage unit 21, a terminal reception unit 22, a terminal processing unit 23, a terminal transmission unit 24, a terminal reception unit 25, and a terminal output unit 26.
[0072] Various types of information are stored in the storage unit 11 that constitutes the web page processing device 1. The various types of information include, for example, web pages, engine information to be used (described later), translation route information (described later), reflection modes (described later), term dictionaries (described later), a user interface, and screen information. The user interface (hereinafter referred to as UI as appropriate) is an operation object that allows selection of an edit mode in which web pages can be edited and a display mode in which editing is not possible. The UI is, for example, a menu, a set of buttons, and screen information having a set of buttons. Furthermore, the UI and screen information can be realized using, for example, HTML, XML, etc., but it goes without saying that the realization means and data structure are not important.
[0073] The page storage unit 111 stores one or more web pages. The page storage unit 111 stores one or more web pages associated with a language. The association with a language may be made by identifying the language. The association with a language may be made by, for example, associating a language with a language identifier that identifies the language, or by inspecting a character string in a web page and acquiring the language identifier. Note that the technology for acquiring a language identifier from a character string is well known.
[0074] The page storage unit 111 stores a first web page associated with a first language and a translated web page source associated with a second language. The first language and the second language are different languages. The page storage unit 111 preferably stores a first web page associated with the first language and two or more translated web page source sources associated with two or more other languages other than the first language. The two or more other languages may be referred to as a second language, a third language, ..., an Nth language, or may be collectively referred to as a second language.
[0075] The original web page to be translated is the original information of the translated web page. The translated web page is a web page in which all or part of a first web page is translated into a second language. The original web page to be translated can be a second or third original web page. The original web page to be translated is a collection of information in which the part of the first web page to be translated is translated into a second language. The part to be translated can be, for example, the entire first web page, the natural language part of the first web page, the part of the first web page excluding predetermined tags (or all tags), or the part of the first web page excluding predetermined tags and script parts. If the part to be translated is the entire part, the original web page to be translated is the translated web page. The translated web page is a web page translated into a second language.
[0076] The second web page source is the information that forms the basis of the second web page. The second web page source is a collection of information obtained by machine translating the portion of the first web page to be translated into the second language. As described above, the portion to be translated may be the entire first web page or a portion thereof. The portion may be, for example, a portion excluding predetermined tags and script portions.
[0077] The third web page source is information that is the source of the third web page. The third web page is a web page that has translation change information that has been manually corrected for the second web page. The third web page source is a web page that has translation change information that has been manually corrected for the second web page. The third web page source is information that has manually corrected information on a portion of the first web page that has been machine-translated into a second language and information on the result of the machine translation that has not been manually corrected.
[0078] A translated web page is a web page that is translated into a second language and viewed by a user. A translated web page can be either a second web page that is machine-translated only and not manually translated, or a third web page that is machine-translated and manually translated.
[0079] One or more pieces of usable engine information are stored in the usable engine information storage unit 112. When there are two or more pieces of usable engine information, the priorities of the usable engine information may be determined.
[0080] Furthermore, the engine information used is information for specifying the translation engine 3 to be used for machine translation. The engine information used preferably includes one or more translation engine identifiers. The translation engine identifier is information for identifying the translation engine 3. The translation engine identifier is, for example, the IP address of the translation engine 3 or the module name of the translation engine 3. Note that the translation engine 3 is usually an external device, but may also be present within the web page processing device.
[0081] The engine information to be used preferably includes an attribute value condition and a translation engine identifier. When the engine information to be used has such a structure, an appropriate translation engine 3 can be selected according to one or more attribute values of the translation unit in the first website. The attribute value condition is a condition related to the attribute value of the translation unit of a web page. The attribute value condition is a condition using one or more attribute values of the translation unit of a web page. The attribute value is, for example, a language identifier, a class identifier, or a data type. The language identifier is information identifying the language of the translation unit (e.g., Japanese, English, Korean, Chinese, Arabic, Spanish, French, etc.). The class identifier is information identifying the class of the translation unit. The class is a classification, such as the technical field of the text (e.g., medical text, informatics text, chemistry text, etc.), the level of the text (e.g., suitable for elementary school students, high level, etc.), whether the text is a proverb, etc. The data type is, for example, a character string, a still image, a video, audio information, etc.
[0082] The attribute value condition is, for example, a condition using one or more pieces of information from a first language identifier, a second language identifier, a class identifier, and a data type. The attribute value condition has, for example, a first language identifier and a second language identifier. An example of the attribute value condition is "<language> Japanese → English, <field> Medicine." An example of the attribute value condition is "proverb."
[0083] It is preferable that the engine information storage unit 112 stores a default translation engine identifier.
[0084] The translation route information storage unit 113 stores one or more pieces of translation route information. The translation route information is information that specifies a translation route when translating a first language into a second language. The translation route information is information that specifies a translation route when the first language and the second language are determined. It is preferable that the translation route information has an intermediate language identifier that identifies an intermediate language. The intermediate language is a language that is neither a source language nor a target language.
[0085] Examples of translation route information are "Japanese → English → Arabic," "Japanese → English → Spanish," and "Japanese → English → Swahili." When the translation route information is "first language identifier → intermediate language identifier → second language identifier," in order to translate from the first language to the second language, a "translation engine 3 capable of machine translation from the first language to the intermediate language" is used, and the results of this machine translation are then given to a "translation engine 3 capable of machine translation from the intermediate language to the second language," to obtain information on the second language.
[0086] If the engine information used also serves as translation route information, the translation route information storage unit 113 is not necessary.
[0087] The edit mode storage unit 114 stores one or more edit modes. The edit mode is a mode that specifies whether or not a web page can be edited. For example, a user can edit only when the edit mode is ON (a mode in which editing is possible). Also, for example, a user cannot edit when the edit mode is OFF (a display mode in which editing is not possible).
[0088] The edit mode may be associated with, for example, a first web page. Correspondence to a first web page may be considered to be correspondence to a corresponding translation web page. The edit mode may be associated with, for example, a user identifier that identifies a user or a terminal identifier that identifies a terminal.
[0089] One or more reflection modes are stored in the reflection mode storage unit 115. The reflection mode is information indicating whether or not manual corrections made to a first web page or a translated web page are to be reflected in another web page in a different language.
[0090] The reflection mode may correspond to the first web page, to a folder storing one or more first web pages, or to all first web pages. Corresponding to the first web page may also correspond to the original translated web page.
[0091] When there are two or more second web pages in different languages for one first web page, a reflection mode may be associated with each of the two or more second web pages.
[0092] The dictionary storage unit 116 stores one or more term dictionaries. The term dictionaries are dictionaries for ensuring that appropriate terms appear in the translated web page. The term dictionaries are associated with the first web page or the original translated web page.
[0093] The term dictionary stores one or more pieces of correspondence information. The correspondence information is, for example, information regarding the correspondence between a first term in a first language and a second manually-entered term. The correspondence information is, for example, information having a first term in a first language and a second manually-entered term in a second language. The correspondence information is, for example, information regarding the correspondence between a machine-translated second term and a second manually-entered term. The correspondence information is, for example, information having a machine-translated second term and a second manually-entered term. The machine-translated second term is a term in a second language that is the result of machine translation of a first term. The second manually-entered term is a translation of a first term and is a term in a second language that is manually input. A term is usually a single word, but may be a set of two or more words. A term may be, for example, a sentence.
[0094] The receiving unit 12 receives various instructions and information, such as an access instruction (to be described later), a change instruction (to be described later), and translation change information (to be described later).
[0095] The instruction receiving unit 121 receives an access instruction from the terminal device 2. The access instruction is an instruction to access a web page. The access instruction has information that identifies the web page (for example, a URI). The access instruction is associated with a language. Being associated with a language usually means being associated with a language identifier. Information A being associated with information B means that information B can be obtained from information A, and for example, information A has information B, or information A and information B are linked, etc.
[0096] The instruction receiving unit 121 receives, for example, an access instruction associated with the second language from the terminal device 2. The instruction receiving unit 121 receives, for example, an access instruction associated with the first language from the terminal device 2.
[0097] The change receiving unit 122 receives a change instruction. The change instruction usually includes change information, which is information to be changed. The change information may be, for example, translation change information, original change information, or inserted content.
[0098] The change receiving unit 122 receives a change instruction that includes translation change information. The change instruction may include the translation change information and translation portion information.
[0099] The translation change information is information that has been manually changed to at least a portion of the original second web page, which is the result of machine translation. The translation change information is information that has been manually changed from information in a first language (e.g., a character string) to information in a second language (e.g., a character string). The translation change information is usually associated with translation portion information that identifies the changed portion. The translation portion information may be information that identifies a portion of the original second web page, or information that identifies a portion of the first web page.
[0100] The change receiving unit 122 may, for example, receive translation portion information associated with the translation change information from the terminal device 2. The change receiving unit 122 may, for example, use the translation change information and the original second web page to acquire translation portion information that identifies a portion in the original second web page that corresponds to the translation change information. The change receiving unit 122 may, for example, use the translation change information and the first web page to acquire translation portion information that identifies a portion in the first web page that corresponds to the translation change information.
[0101] The translation location information is, for example, information identifying a location in the original first web page or second web page, such as a start offset of the translation change and a end offset of the translation change. The translation location information is, for example, information identifying a location in the original first web page or second web page, such as a start tag and an end tag of the translation change.
[0102] The modification receiving unit 122 may receive a modification instruction that includes the insert content. The modification instruction may include the insert content and insertion location information that specifies the location where the content is to be inserted.
[0103] The change receiving unit 122 may receive insertion content to be inserted into the translated web page. The change receiving unit 122 may receive insertion content that is a still image, a video, or an API to be inserted into the first web page.
[0104] The inserted content is content that is inserted into the translated web page. The inserted content may also be content that is inserted into the first web page. The inserted content may be, for example, a still image, a video, or an API. The API is a description for executing a program or script.
[0105] The insertion point information is information that identifies the insertion point within the web page, such as a link within the web page, an offset within the web page, or a tag within the web page.
[0106] The change receiving unit 122 may receive a change instruction indicating a change to an attribute value of a character string or the like of a translated web page. The attribute value of the character string or the like is, for example, a font, a font size, a color, etc. The change receiving unit 122 receives, for example, a change to the attribute value together with change location information that identifies the location of the change.
[0107] The change receiving unit 122 may receive a change instruction that includes original change information. The change instruction may include original change information and original location information.
[0108] The original change information is information identifying an original change, which is a manual change to at least a portion of the first web page. The original change information is, for example, a string of characters in the first language. The original change information includes, for example, tags. The original change information is associated with original location information, which identifies a location of the change within the first web page.
[0109] The original location information is, for example, the start offset and end offset of the change location. The original location information is, for example, information that identifies the start tag and end tag of the change location. It is preferable that the structure of the original location information and the structure of the translation location information are the same.
[0110] The change receiving unit 122 receives, for example, from the terminal device 2, a change instruction having translation change information for the machine-translated information.
[0111] It is preferable that the change receiving unit 122 receives a change instruction containing translation change information only when the edit mode is selected. It is preferable that the change receiving unit 122 receives a change instruction containing translation change information only when the mode selected by the user is edit mode. Note that the edit mode may be stored in the edit mode storage unit 114, for example, but may not be stored in the storage unit 11, and may be information that can be changed based on an operation on the terminal device 2.
[0112] The change receiving unit 122 may receive the correspondence information. It is preferable that the change receiving unit 122 receives the correspondence information from the terminal device 2.
[0113] Note that the acceptance of instructions and information by the change acceptance unit 122 is usually reception from the terminal device 2. However, the acceptance may be a concept that includes acceptance of information input from an input device such as a keyboard, mouse, or touch panel, or acceptance of information read from a recording medium such as an optical disk, magnetic disk, or semiconductor memory.
[0114] The processing unit 13 performs various types of processing, such as processing performed by a translation acquisition unit 131, a URI acquisition unit 132, a storage unit 133, a UI acquisition unit 134, a location information acquisition unit 135, a character string acquisition unit 136, a voice acquisition unit 137, a determination unit 138, a page acquisition unit 139, and a dictionary utilization unit 130.
[0115] The translation acquisition unit 131 acquires a second web page source using the first web page. The second web page source is information obtained by machine-translating at least a part of the first web page in the first language into the second language.
[0116] For example, the translation acquisition unit 131 transmits the translation target of the first web page to the translation engine 3 and receives the second web page source from the translation engine 3. For example, the translation acquisition unit 131 transmits the translation target of the first web page, a first language identifier, and a second language identifier to the translation engine 3 and receives the second web page source from the translation engine 3. The translation target may be the entire first web page, a character string acquired by the character string acquisition unit 136 (described later), audio information contained in a video (described later), or source change information in the first language (described later). Information handled by the translation acquisition unit 131 at one time is called a translation unit. Examples of translation units include the entire first web page, information between a specific start tag and end tag, a paragraph, a sentence, and special information. Examples of special information include meta tags, still images, video, a set of consecutive characters (character strings) within a still image, and a set of consecutive characters (character strings) in each field of a video. For more accurate machine translation, smaller translation units are preferable. However, to improve the speed of machine translation, it is better to use larger translation units.
[0117] The translation acquisition unit 131 preferably acquires a second web page source corresponding to the first web page corresponding to the access instruction when a translated web page source in the second language corresponding to the access instruction does not exist in the page storage unit 111. The second web page source is information obtained by machine-translating at least a part of the first language of the first web page into the second language.
[0118] It is preferable that the translation acquisition unit 131 acquires a character string translation result obtained by machine translating a character string acquired from a still image or a video by the character string acquisition unit 136 into a language different from the one language.
[0119] The translation acquisition unit 131 may use a still image in which a character string in one language is displayed to create a still image in which the result of translating the character string into another language is displayed. Furthermore, the result of translating the character string into another language may replace the character string in the one language, or may be placed in the still image in addition to the character string in the one language.
[0120] It is preferable that the translation acquisition unit 131 acquires a speech translation result in a language different from the one language of the speech information. Note that speech translation is performed by, for example, the translation engine 3, but may also be performed by the translation acquisition unit 131. Speech translation is a well-known technique, and therefore a detailed description thereof will be omitted.
[0121] The translation acquisition unit 131 may create a video that includes the results of speech translation. The translation acquisition unit 131 may create a video in which speech information in one language is replaced with the results of speech translation in another language. Furthermore, the translation acquisition unit 131 may create a video in which a character string in one language in each field is replaced with the results of character string translation in another language, or may create a video in which, in addition to the character string in one language in each field, the results of character string translation in another language are placed in each field.
[0122] The translation acquisition unit 131 acquires machine-translated information obtained by machine-translating the original modification information in the first language into the second language.
[0123] It is preferable that the translation acquisition unit 131 acquires a second web page source that has been machine-translated into a second language from the result of machine translation of at least a first language portion of a first web page in a first language into an intermediate language identified by an intermediate language identifier contained in the translation route information.
[0124] The translation acquisition unit 131 is a translation web page source corresponding to the access instruction, and when the determination unit 138 determines that a translation web page source associated with the second language does not exist in the page storage unit 111, the translation acquisition unit 131 may acquire a second web page source obtained by machine-translating at least a part of the first language of the first web page corresponding to the access instruction into the second language.
[0125] The translation acquisition unit 131, for example, refers to the translation route information in the translation route information storage unit 113, transmits the translation target in the first language, the first language identifier, and the intermediate language identifier to the first translation engine 3, and receives the translation target machine-translated into the intermediate language from the first translation engine 3. Next, the translation acquisition unit 131, for example, transmits the translation target in the intermediate language, the intermediate language identifier, and the first language identifier to the second translation engine 3, and receives the translation target machine-translated into the second language from the second translation engine 3. Note that the first translation engine 3 and the second translation engine 3 may be the same or different.
[0126] The translation acquisition unit 131 preferably acquires a second web page source that also has translation meta tags obtained by machine-translating the meta tags of the first web page into a second language. The translation acquisition unit 131 acquires a translation target, for example, a meta tag of the first web page, transmits information about the meta tag, a first language identifier, and a second language identifier to the translation engine 3, and receives information about the meta tag in the second language from the translation engine 3.
[0127] As described above, it is preferable that the translation acquisition unit 131 obtains the machine translation result of the translation target using the translation engine 3, but the translation acquisition unit 131 may also perform machine translation of the translation target. In this case, the translation acquisition unit 131 has a machine translation function.
[0128] As described above, the translation acquisition unit 131 uses the translation engine 3 to acquire speech information in the second language that is the translation result of the speech information to be translated. However, the translation acquisition unit 131 may also perform speech translation of the speech information to be translated to acquire speech information in the second language. In such a case, the translation acquisition unit 131 performs speech recognition processing on the speech information in the first language acquired by the speech acquisition unit 137, which will be described later, to acquire a character string. Next, the translation acquisition unit 131 performs machine translation processing on the character string in the second language to acquire a character string in the second language. Next, the translation acquisition unit 131 performs speech synthesis processing on the character string in the second language to acquire speech information in the second language.
[0129] As will be described later, the translation acquisition unit 131 preferably operates by an attribute value acquisition means 1311, a translation engine identifier acquisition means 1312, and a translation acquisition means 1313.
[0130] The attribute value acquiring unit 1311 acquires the attribute value of each translation unit of the first web page. The attribute value acquiring unit 1311 may acquire two or more attribute values of each translation unit of the first web page.
[0131] The attribute value acquisition means 1311 sequentially acquires translation units from, for example, the first web page. Next, the attribute value acquisition means 1311 acquires a language identifier and a class identifier of the translation unit. Note that the attribute value acquisition means 1311 acquires, for example, a first language identifier associated with the first web page. The attribute value acquisition means 1311 acquires, for example, a second language identifier received from the terminal device 2. Furthermore, the attribute value acquisition means 1311 performs machine learning prediction processing using, for example, a classifier in the storage unit 11, and acquires the class identifier of the translation unit.
[0132] The classifier in storage unit 11 is information created by performing a machine learning learning process on two or more pieces of training data each having a class identifier and a set of one or more sentences in the first language. Also, a classifier in storage unit 11 may exist for each class identifier, or the classifier may be information that classifies translation units into two or more classes.
[0133] The machine learning algorithm may be any of deep learning, random forest, decision tree, SVM, etc. The attribute value acquisition means 1311, for example, provides two or more pieces of training data to a module that performs machine learning learning processing, and executes the module to acquire a classifier. The attribute value acquisition means 1311 also provides, for example, a classifier and a translation unit to a module that performs machine learning prediction processing, and executes the module to perform prediction processing and acquire a class identifier. The machine learning module may be any of Tiny_SVM, TensorFlow functions, MicrosoftML functions, etc.
[0134] The attribute value acquiring means 1311 may acquire the class identifier of the translation unit without using machine learning. For example, a dictionary in which one or more keywords are stored for each class identifier is stored in the storage unit 11, and the attribute value acquiring means 1311 may use the dictionary to acquire, for each class identifier, the number of keywords containing terms in the translation unit, and acquire the class identifier with the largest number. In other words, any algorithm may be used by the attribute value acquiring means 1311 to acquire the class identifier of the translation unit.
[0135] For each translation unit, the translation engine identifier acquisition means 1312 acquires a translation engine identifier that pairs with an attribute value condition that matches one or more attribute values of the translation unit. The translation engine identifier acquisition means 1312, for example, references the used engine information storage unit 112, determines an attribute value condition that matches one or more attribute values acquired by the attribute value acquisition means 1311, and acquires a translation engine identifier that pairs with the attribute value condition.
[0136] If there is no attribute value condition that matches one or more attribute values of the translation unit, for example, the translation engine identifier acquisition means 1312 acquires a default translation engine identifier.
[0137] The translation acquisition means 1313 passes each translation unit to the translation engine 3 identified by the translation engine identifier acquired by the translation engine identifier acquisition means 1312 , and acquires the second web page source from the translation engine 3 .
[0138] The translation acquisition means 1313 transmits, for example, the translation unit etc. to the translation engine 3 identified by the translation engine identifier acquired by the translation engine identifier acquisition means 1312, and receives the second web page source from the translation engine 3. Note that the translation unit etc. may be just the translation unit, or may be the translation unit and a second language identifier, or may be the translation unit, a first language identifier, and a second language identifier. In other words, the information that the translation acquisition means 1313 transmits to the translation engine 3 depends on the specifications of the translation engine 3.
[0139] The translation acquisition unit 1313 provides the translation unit to software identified by the translation engine identifier acquired by the translation engine identifier acquisition unit 1312, and acquires the second web page source.
[0140] The URI acquisition unit 132 acquires the first URI of the first web page, and acquires a second URI for accessing the translated web page, which is a URI with a unique character string added to the end of the first URI. The unique character string is, for example, information that can identify the second language. The first URI of the first web page is stored in association with the first web page in the page storage unit 111. The first URI of the first web page is, for example, the file name of the first web page.
[0141] For example, if the first URI of the first web page is "https: / / aaa.co.jp / wp" and the second language is English, the URI acquisition unit 132 acquires the character string " / en" corresponding to English from the storage unit 11 and constructs the second URI "https: / / aaa.co.jp / wp / en". If the second language is Chinese, the URI acquisition unit 132 acquires the character string " / ch" corresponding to English from the storage unit 11 and constructs the second URI "https: / / aaa.co.jp / wp / ch". In this case, it is assumed that the character string (for example, " / en") is stored in the storage unit 11 in association with the language identifier.
[0142] The accumulation unit 133 accumulates the original translation web page acquired by the translation acquisition unit 131 and the translation location information acquired by the location information acquisition unit 135 in association with the first web page. For example, the accumulation unit 133 accumulates the original translation web page acquired by the translation acquisition unit 131 and the translation location information acquired by the location information acquisition unit 135 in association with the first web page in the storage unit 11. However, this information may be accumulated in an external device.
[0143] The source translation web page is information that forms the source of the translated web page. The source translation web page may be, for example, a second source web page obtained by machine-translating a first web page into a second language. The source translation web page is, for example, the translation change information received by the change receiving unit 122 and information obtained by machine-translating a first web page into a second language. The source translation web page is, for example, the translation change information received by the change receiving unit 122 and information obtained by machine-translating a first web page into a second language, excluding the portion corresponding to the translation change information.
[0144] The storage unit 133 may store the inserted content received by the change receiving unit 122 in association with the original translated web page or the first web page. The storage unit 133 normally associates the inserted content inserted into the translated web page with the original translated web page, but may also associate it with the first web page. Furthermore, the storage unit 133 normally associates the inserted content inserted into the first web page with the first web page, but may also associate it with the original translated web page.
[0145] The storage unit 133 stores, for example, the insert content and the character string translation result, or the insert content reflecting the character string translation result, in association with the first web page or the original translated web page.
[0146] The storage unit 133 stores, for example, a video and the result of the voice translation, or a video in which the voice information of the video has been replaced with the result of the voice translation, in association with the first web page or the original translated web page.
[0147] The storage unit 133 stores the translated original web page so that it can be accessed using, for example, the second URI.
[0148] The UI acquisition unit 134 acquires a user interface that allows the user to select an edit mode or a display mode from the storage unit 11. The UI acquisition unit 134 acquires the UI when, for example, the second web page source is transmitted to the terminal device 2.
[0149] The part information acquisition unit 135 acquires translation part information. The translation part information is information that identifies a part of the original second web page that has been changed by the translation change information. The part information acquisition unit 135 acquires, for example, translation part information associated with the translation change information.
[0150] The location information acquisition unit 135 acquires original location information. The original location information is information that identifies a location of the first web page that has been changed by the original change information. The location information acquisition unit 135 acquires, for example, original location information associated with the original change information.
[0151] The part information acquisition unit 135 may acquire translated part information that identifies parts that have been changed by translation change information, which is a change to the machine-translated information of the original change information. The part information acquisition unit 135 acquires, for example, translated part information associated with the translation change information.
[0152] The translation location information and original location information may be information specifying an original location on the second web page or information specifying a location on the first web page. The location information acquisition unit 135 may acquire the translation location information or original location information received in association with the translation change information, or may acquire the translation location information or original location information autonomously. The translation location information and original location information include a start offset, start offset and end offset, link, sentence ID, tag, etc. that specify the start location. The original location information usually has the same data structure as the translation location information.
[0153] The character string acquisition unit 136 performs character recognition processing on a still image to acquire a character string in one language. The character string acquisition unit 136 also performs character recognition processing on each field constituting a moving image to acquire a character string in one language. In the case of a moving image, the character string acquisition unit 136 may store a character string for each field, or may store character strings from all fields together.
[0154] The character string acquisition unit 136 may acquire character strings by performing voice recognition on the audio information of the video. The character string acquisition unit 136 may hold one or more character strings for each piece of audio information corresponding to each field (for each field), or may hold the character strings of the audio information of all fields together.
[0155] The audio acquisition unit 137 acquires audio information in one language from the video. The data structures of the video and audio information are not important.
[0156] The determining unit 138 determines whether or not the page storage unit 111 contains a translated web page source associated with the second language corresponding to the access instruction.
[0157] The judgment unit 138 judges whether or not a translated web page source associated with a second language corresponding to the access instruction exists in the page storage unit 111, which stores, in association with each other, a first web page associated with a first language and a translated web page source in one or more languages different from the first language.
[0158] If the determination unit 138 determines that the translation web page source does not exist in the page storage unit 111, the page acquisition unit 139 acquires the translation web page in the second language using the translation web page source acquired by the translation acquisition unit 131.
[0159] If the original translation web page exists in the page storage unit 111, the page acquisition unit 139 uses the original translation web page in the page storage unit 111 to acquire the translated web page in the second language.
[0160] For example, when the instruction receiving unit 121 receives an access instruction associated with the second language, the page acquiring unit 139 combines the tags of the first web page with the original translated web page to construct a translated web page.
[0161] When the instruction receiving unit 121 receives an access instruction associated with the first language, the page obtaining unit 139 obtains the first web page into which the insert content has been inserted, after the insert content has been inserted into the translated web page or the first web page.
[0162] When the instruction receiving unit 121 receives an access instruction associated with the second language, the instruction receiving unit 121 acquires a translated web page into which the insert content has been inserted, after the insert content has been inserted into the first web page or the translated web page.
[0163] It is preferable that the page acquisition unit 139 acquires a translated web page that reflects the insertion content to be inserted into the first web page accepted by the change acceptance unit 122 only when the reflection mode is a mode in which corrections are reflected.
[0164] It is preferable that the page acquisition unit 139 acquires the first web page that reflects the insertion content to be inserted into the translated web page accepted by the change acceptance unit 122 only when the reflection mode is a mode in which corrections are reflected.
[0165] The dictionary utilization unit 130 uses a term dictionary to obtain an appropriate translation web page source. The dictionary utilization unit 130, for example, refers to the dictionary storage unit 116 and performs a process of adopting a second term that pairs with a first term in the first web page as the translation result of the translation web page source. The dictionary utilization unit 130, for example, refers to the dictionary storage unit 116 and performs a process of replacing a machine-translated second term in the machine-translated second web page source with a manual second term that pairs with the machine-translated second term. Note that the timing at which the dictionary utilization unit 130 operates is not important.
[0166] The transmission unit 14 transmits various types of information, such as machine translation information, UI, various screens, and web pages.
[0167] The machine translation output unit 141 outputs machine-translated information. For example, when the translation acquisition unit 131 acquires machine-translated information obtained by machine-translating original modification information in a first language into a second language, the machine translation output unit 141 outputs the machine-translated information. Here, "output" typically means transmission to the terminal device 2. However, "output" may also be a concept that includes display on a display, projection using a projector, printing on a printer, sound output, storage on a recording medium, delivery of processing results to another processing device, another program, etc. The machine-translated information transmitted to the terminal device 2 and output by the terminal device 2 may be corrected by the user.
[0168] The machine translation output unit 141 may store the machine translation information in association with the first web page or the original translated web page. The storage location is usually the storage unit 11, but it may also be an external device.
[0169] The UI transmission unit 142 transmits the UI to the terminal device 2. The UI is, for example, a UI for selecting an edit mode or a display mode, and is, for example, a menu, a set of buttons, or a screen having menus and buttons.
[0170] The page sending unit 143 sends the translated web page acquired by the web page acquiring unit 139 to the terminal device 2.
[0171] Various types of information are stored in the terminal storage unit 21 constituting the terminal device 2. The various types of information include, for example, a user identifier, a terminal identifier, and a language identifier that identifies the language used by the user. The terminal identifier may be considered as a user identifier. The language identifier may be information set in a browser stored in the terminal device 2, information set in the OS, or information set in the terminal storage unit 21 by the user.
[0172] The terminal reception unit 22 receives various instructions and information. The various instructions and information include, for example, access instructions, change instructions, translation change information, inserted content, original change information, and setting information. The setting information is a parameter for operating the web page processing device 1 or the terminal device 2. The setting information is, for example, an edit mode or a reflection mode. The change instructions include, for example, any of the translation change information, inserted content, and original change information.
[0173] The means for inputting various instructions and information may be any means, such as a touch panel, keyboard, mouse, or menu screen.
[0174] The device processing unit 23 performs various types of processing. For example, the various types of processing include processing for configuring information received by the device receiving unit 25 into data to be displayed. For example, the various types of processing include processing for configuring instructions received by the device accepting unit 22 into instructions to be transmitted.
[0175] The terminal transmitting unit 24 transmits various instructions, information, etc. to the web page processing device 1. The various instructions, information, etc. are, for example, instructions configured by the terminal processing unit 23, instructions and information accepted by the terminal accepting unit 22, etc.
[0176] The terminal receiving unit 25 receives various types of information from the web page processing device 1. The various types of information include, for example, a web page, a machine translation result, a UI, and screen information.
[0177] The terminal output unit 26 outputs various types of information. The various types of information include, for example, information accepted by the terminal acceptance unit 22, information received by the terminal reception unit 25, and information configured by the device processing unit 23. The various types of information include, for example, web pages, machine translation results, UIs, and screens.
[0178] The storage unit 11, page storage unit 111, engine information storage unit 112, translation route information storage unit 113, reflection mode storage unit 115, and terminal storage unit 21 are preferably non-volatile recording media, but can also be realized as volatile recording media.
[0179] There is no restriction on the process by which information is stored in the storage unit 11 etc. For example, information may be stored in the storage unit 11 etc. via a recording medium, information transmitted via a communication line etc. may be stored in the storage unit 11 etc., or information input via an input device may be stored in the storage unit 11 etc.
[0180] Receiving unit 12, instruction receiving unit 121, change accepting unit 122, and terminal receiving unit 25 are usually realized by wireless or wired communication means, but may also be realized by means for receiving broadcasts.
[0181] The processing unit 13, translation acquisition unit 131, URI acquisition unit 132, storage unit 133, UI acquisition unit 134, location information acquisition unit 135, character string acquisition unit 136, voice acquisition unit 137, determination unit 138, page acquisition unit 139, attribute value acquisition means 1311, translation engine identifier acquisition means 1312, translation acquisition means 1313, and terminal processing unit 23 can typically be realized by a processor, memory, or the like. The processing procedure of the processing unit 13 is typically realized by software, and the software is recorded on a recording medium such as a ROM. However, it may also be realized by hardware (dedicated circuit). The processor may be a CPU, MPU, GPU, or the like, and the type does not matter.
[0182] The transmitting unit 14, the machine translation output unit 141, the UI transmitting unit 142, the page transmitting unit 143, and the terminal transmitting unit 24 are usually realized by wireless or wired communication means, but may also be realized by broadcasting means.
[0183] The terminal reception unit 22 can be realized by a device driver for an input means such as a touch panel or a keyboard, or control software for a menu screen.
[0184] The terminal output unit 26 may or may not include an output device such as a display, a speaker, etc. The terminal output unit 26 may be realized by driver software for an output device, or by a combination of driver software for an output device and the output device, etc.
[0185] Next, an example of the operation of the information system A will be described. First, an example of the operation of the web page processing device 1 will be described with reference to the flowchart of FIG.
[0186] (Step S401) The instruction receiving unit 121 determines whether or not an access instruction has been received from the terminal device 2. If an access instruction has been received, the process proceeds to step S402; if not, the process proceeds to step S415. Note that the access instruction received by the terminal device 2 is usually associated with a language identifier. Also, the access instruction is usually associated with a URI that identifies a web page.
[0187] (Step S402) The determination unit 138 acquires a language identifier corresponding to the access instruction received in step S401. Note that the language identifier may be, for example, information transmitted from the terminal device 2, or information acquired by determining the language from a character string included in the access instruction.
[0188] (Step S403) Determination unit 138 determines whether a web page corresponding to the access instruction received in step S401 and in a language corresponding to the language identifier acquired in step S402 exists in page storage unit 111. If the web page exists, the process proceeds to step S404; if not, the process proceeds to step S406.
[0189] The determination unit 138 determines whether the first web page or the original translated web page that exists at the location indicated by the URI included in the access instruction and that corresponds to the language identifier acquired in step S402 exists in the page storage unit 111, for example.
[0190] (Step S404) The processing unit 13 acquires from the page storage unit 111 a web page in a language corresponding to the access instruction received in step S401 and corresponding to the language identifier acquired in step S402.
[0191] In addition, here, if the web page is a web page in a second language, the processing unit 13 acquires, for example, the language identifier acquired in step S402, a translated web page source corresponding to the second language identifier, and combines the translated web page source with tags, etc. of the first web page in the first language to construct a translated web page.
[0192] If the web page is a web page in the first language, the processing unit 13 reads out from the page storage unit 111 the first web page corresponding to the language identifier acquired in step S402.
[0193] (Step S405) The page sending unit 143 sends the web page acquired in step S404 to the terminal device 2 that sent the access instruction. The process returns to step S401.
[0194] (Step S406) The translation acquisition unit 131 performs a translation acquisition process. An example of the translation acquisition process will be described with reference to the flowchart in Fig. 5. The translation acquisition process is to use the first web page to acquire a translation web page source in the language identified by the language identifier acquired in step S402.
[0195] (Step S407) The URI acquisition unit 132 acquires the first URI of the first web page. For example, the URI acquisition unit 132 acquires the first URI included in the received access instruction.
[0196] (Step S408) The URI acquisition unit 132 uses the first URI acquired in step S407 to acquire a second URI for accessing the translated web page acquired using the translation web page source acquired in step S406.
[0197] (Step S409) The storage unit 133 stores the source of the translated web page acquired in step S406 in a storage location identified by the second URI acquired in step S408. The source of the translated web page is associated with the first web page. The association means, for example, that the first URI of the first web page and the second URI of the source of the translated web page have a predetermined relationship (for example, they partially overlap), but the association method is not critical.
[0198] (Step S410) The processing unit 13 acquires the translation web page using the translation web page source acquired in step S406.
[0199] (Step S411) The page sending unit 143 sends the translated web page acquired in step S410 to the terminal device 2 that sent the access instruction.
[0200] (Step S412) The processing unit 13 determines whether or not to transmit a UI to the terminal device 2 that has transmitted the access instruction. If a UI is to be transmitted, the process proceeds to step S413; if not, the process returns to step S401. Note that if the user identifier or terminal identifier included in the access instruction is a user identifier or terminal identifier that has been stored in advance (for example, if the access is by an administrator of the web page), the processing unit 13 determines that the UI is to be transmitted.
[0201] (Step S413) The UI acquisition unit 134 acquires the UI from the storage unit 11.
[0202] (Step S414) The UI transmission unit 142 transmits the UI acquired in step S413 to the terminal device 2 that has transmitted the access instruction. The process returns to step S401.
[0203] (Step S415) The change receiving unit 122 determines whether or not a change instruction has been received from the terminal device 2. If a change instruction has been received, the process proceeds to step S407, and if a change instruction has not been received, the process proceeds to step S417.
[0204] (Step S416) The processing unit 13 performs a change process. An example of the change process will be described with reference to the flowchart in FIG. 10. Return to step S401. The change process is a process for changing the first web page and / or the source of the translated web page.
[0205] (Step S417) The receiving unit 12 determines whether or not setting information has been received from the terminal device 2. If setting information has been received, the process proceeds to step S418, and if setting information has not been received, the process returns to step S401. The setting information includes, for example, engine information to be used, translation route information, edit mode, and reflection mode.
[0206] (Step S418) The accumulation unit 133 accumulates the setting information received in step S417 in the storage unit 11. Return to step S401. Note that the accumulation unit 133 accumulates the setting information in the corresponding recording area depending on the type of setting information.
[0207] If the setting information is engine usage information, the accumulation unit 133 accumulates the setting information in the engine usage information storage unit 112. If the setting information is translation route information, the accumulation unit 133 accumulates the setting information in the translation route information storage unit 113. If the setting information is in edit mode, the accumulation unit 133 accumulates the setting information in the edit mode storage unit 114. If the setting information is in reflection mode, the accumulation unit 133 accumulates the setting information in the reflection mode storage unit 115 in association with the first web page or the original translated web page corresponding to the received setting information. If the setting information is correspondence information, the accumulation unit 133 accumulates the setting information in the dictionary storage unit 116 in association with the first web page or the original translated web page corresponding to the received setting information.
[0208] In the flowchart of FIG. 4, the process ends when the power is turned off or an interrupt occurs to end the process.
[0209] Next, an example of the translation acquisition process in step S406 will be described with reference to the flowchart in FIG.
[0210] (Step S501) Translation acquisition unit 131 reads from page storage unit 111 a first web page in the first language that corresponds to the access instruction received in step S401.
[0211] (Step S502) The translation acquisition unit 131 assigns 1 to a counter i.
[0212] (Step S503) The translation acquisition unit 131 determines whether the i-th translation unit exists in the first web page read in step S501. If the i-th translation unit exists, the process proceeds to step S504; if the i-th translation unit does not exist, the process returns to the upper process.
[0213] (Step S504) The translation acquisition unit 131 acquires the i-th translation unit from the first web page read in step S501.
[0214] (Step S505) The translation acquisition unit 131 acquires translation portion information, which is information that identifies a portion in the first web page and is information that identifies a portion of the i-th translation unit.
[0215] (Step S506) The translation acquisition unit 131 determines the translation engine to be used for machine translating the i-th translation unit. An example of the translation engine determination process will be described with reference to the flowchart in FIG.
[0216] (Step S507) The translation acquisition unit 131 determines whether the data type of the i-th translation unit is a character string. If it is a character string, the process proceeds to step S508, and if it is not a character string, the process proceeds to step S509.
[0217] (Step S508) The translation acquisition unit 131 performs translation processing on the i-th translation unit, which is a character string. The process proceeds to step S510. An example of such character string translation processing will be described with reference to the flowchart in FIG.
[0218] (Step S509) The translation acquisition unit 131 performs translation processing of the special content, which is data of the i-th translation unit. Go to step S509. An example of special content processing, which is translation processing of the special content, will be described with reference to the flowchart in FIG.
[0219] (Step S510) The translation acquisition unit 131 increments the counter i by 1. The process returns to step S503.
[0220] Next, an example of the translation engine determination process in step S506 will be described with reference to the flowchart in FIG.
[0221] (Step S601) The attribute value acquiring means 1311 acquires a first language identifier that identifies the language to be translated.
[0222] (Step S602) The attribute value acquiring means 1311 acquires the second language identifier of the second language that is the translation target language.
[0223] (Step S603) The attribute value acquiring means 1311 acquires the data type of the translation target.
[0224] (Step S604) The attribute value acquisition means 1311 determines whether the data type acquired in step S603 is a "character string." If it is a "character string," the process proceeds to step S605, and if it is not a "character string," the process proceeds to step S612.
[0225] (Step S605) The attribute value acquiring means 1311 acquires one or more class identifiers of the translation target, which is a character string.
[0226] (Step S606) The translation engine identifier acquisition means 1312 assigns 1 to a counter i.
[0227] (Step S607) The translation engine identifier acquisition means 1312 determines whether or not the i-th attribute value condition exists in the used engine information storage unit 112. If the i-th attribute value condition exists, the process proceeds to step S608; if not, the process proceeds to step S611.
[0228] (Step S608) The translation engine identifier acquisition means 1312 determines whether one or more attribute values of the translation target match the i-th attribute value condition. If the i-th attribute value condition is met, the process proceeds to step S609; if the i-th attribute value condition is not met, the process proceeds to step S610.
[0229] (Step S609) The translation engine identifier acquisition unit 1312 acquires one or more translation engine identifiers that are paired with the i-th attribute value condition, and returns to the upper level processing.
[0230] (Step S610) The translation engine identifier acquisition means 1312 increments the counter i by 1. The process returns to step S607.
[0231] (Step S611) The translation engine identifier acquisition unit 1312 acquires a default translation engine identifier. The process returns to the upper level process. The default translation engine identifier is stored in the used engine information storage unit 112.
[0232] (Step S612) The attribute value acquiring means 1311 determines whether the data type acquired in step S603 is a "still image." If it is a "still image," the process proceeds to step S613; if it is not a "still image," the process proceeds to step S614.
[0233] (Step S613) The character string obtaining unit 136 performs character recognition processing on the still image to be translated and obtains one or more character strings. Then, the process proceeds to step S605.
[0234] (Step S614) The attribute value acquiring means 1311 determines whether the data type acquired in step S603 is "moving image." If it is "moving image," the process proceeds to step S615; if it is not "moving image," the process proceeds to step S611.
[0235] (Step S615) The character string acquisition unit 136 performs character recognition processing on each field of the video to be translated and acquires one or more character strings from each field. Note that here, the character string acquisition unit 136 may hold one or more character strings for each field, or may hold character strings for all fields together.
[0236] (Step S616) The audio acquisition unit 137 acquires audio information from the video to be translated.
[0237] (Step S617) The character string acquisition unit 136 performs a voice recognition process on the voice information acquired in step S616 to acquire one or more character strings. Then, the process proceeds to step S605.
[0238] Here, the character string acquiring unit 136 may hold one or more character strings for each piece of audio information corresponding to each field (for each field), or may hold the character strings of the audio information of all fields together.
[0239] In the flowchart of FIG. 6, attribute values are acquired collectively for character strings acquired from still images and videos, and a translation engine 3 is determined. However, attribute values may be acquired for each separate character string in a still image, and a translation engine 3 may be determined. Attribute values may also be acquired for each frame of a video, and a translation engine 3 may be determined. In other words, the unit for acquiring attribute values and determining a translation engine 3 is not important.
[0240] Next, an example of the character string translation process in step S508 will be described with reference to the flowchart in FIG.
[0241] (Step S701) The translation acquisition unit 131 assigns 1 to a counter i.
[0242] (Step S702) The translation acquisition unit 131 determines whether the i-th translation engine exists among the translation engines determined in step S506. If the i-th translation engine exists, the process proceeds to step S703, and if the i-th translation engine does not exist, the process proceeds to step S705.
[0243] (Step S703) The translation acquisition unit 131 provides the character string to be translated to the i-th translation engine and acquires the machine translation result.
[0244] (Step S704) The translation acquisition unit 131 performs a dictionary use process. An example of the dictionary use process will be described with reference to the flowchart in Fig. 8. The dictionary use process is a process of replacing inappropriate terms among machine-translated terms with appropriate terms using a term dictionary.
[0245] (Step S705) The translation acquisition unit 131 increments the counter i by 1. The process returns to step S702.
[0246] (Step S706) The translation acquisition unit 131 at least temporarily stores the i-th machine translation result in association with the translation portion information acquired in step S505, and returns to the upper-level processing.
[0247] Next, an example of the dictionary use process in step S704 will be described with reference to the flowchart in FIG.
[0248] (Step S801) The translation acquisition unit 131 assigns 1 to a counter i.
[0249] (Step S802) The translation acquisition unit 131 determines whether the i-th correspondence information exists. If the i-th correspondence information exists, the process proceeds to step S803. If the i-th correspondence information does not exist, the process returns to the upper process. Note that the i-th correspondence information is the i-th correspondence information in the dictionary storage unit 116 or the correspondence information provided to the dictionary use process.
[0250] (Step S803) The translation acquisition unit 131 acquires the i-th machine-translated second term contained in the i-th correspondence information.
[0251] (Step S804) The translation acquisition unit 131 assigns 1 to a counter j.
[0252] (Step S805) The translation acquisition unit 131 determines whether the jth term that matches the machine-translated second term acquired in step S803 exists in the source web page to be translated. If the jth term exists, the process proceeds to step S806. If the jth term does not exist, the process proceeds to step S808.
[0253] (Step S806) The translation acquisition unit 131 replaces the j-th term with the i-th manual secondary term included in the i-th correspondence information.
[0254] (Step S807) The translation acquisition unit 131 increments the counter j by 1. The process returns to step S804.
[0255] (Step S808) The translation acquisition unit 131 increments the counter i by 1. The process returns to step S802.
[0256] Next, an example of the special content processing in step S510 will be described with reference to the flowchart in FIG.
[0257] (Step S901) The translation acquisition unit 131 determines whether the data type to be translated is a still image. If it is a still image, the process proceeds to step S902, and if it is not a still image, the process proceeds to step S905.
[0258] (Step S902) The character string acquisition unit 136 performs character recognition on the still image to be translated and acquires one or more character strings. Note that here, the character string acquisition unit 136 may separately acquire each of two or more character strings that are not consecutively arranged in the still image.
[0259] (Step S903) The translation acquisition unit 131 performs a character string translation process on the one or more character strings acquired in step S902.
[0260] Here, the translation acquisition unit 131 may perform the character string translation process for each of two or more non-consecutive character strings.
[0261] (Step S904) The translation acquisition unit 131 arranges the character string acquired in step S903 on the still image to be translated, thereby creating a still image in the second language. Note that the location where the translation acquisition unit 131 arranges the character string is preferably the arrangement location of the first language (overwriting), but may be another location corresponding to the arrangement location of the first language.
[0262] (Step S905) The translation acquisition unit 131 determines whether the data type to be translated is a moving image. If it is a moving image, the process proceeds to step S906, and if it is not a moving image, the process returns to the upper process.
[0263] (Step S906) The audio acquisition unit 137 acquires audio information from the video to be translated.
[0264] (Step S907) The translation acquisition unit 131 performs speech translation processing on the speech information acquired in step S906 to acquire speech information in the second language. Note that speech translation processing is a well-known technique, and therefore a detailed description thereof will be omitted. Also, VoiceTra (URL: https: / / play.google.com / store / apps / details?id=jp.go.nict.voicetra&hl=ja) or the like can be used for speech translation.
[0265] (Step S908) The translation acquisition unit 131 assigns 1 to a counter i.
[0266] (Step S909) The translation acquisition unit 131 determines whether the i-th field exists in the video to be translated. If the i-th field exists, the process proceeds to step S910, and if the i-th field does not exist, the process proceeds to step S915.
[0267] (Step S910) The translation acquisition unit 131 acquires the i-th field from the video.
[0268] (Step S911) The character string obtaining unit 136 performs character recognition processing on the i-th field to obtain one or more character strings. Note that here, the character string obtaining unit 136 may obtain two or more character strings that are not consecutively arranged in the still image separately.
[0269] (Step S912) The translation acquisition unit 131 performs a character string translation process on the one or more character strings acquired in step S911 to acquire a character string in the second language.
[0270] Here, the translation acquisition unit 131 may perform the character string translation process for each of two or more non-consecutive character strings.
[0271] (Step S913) The translation acquisition unit 131 uses the character string in the second language acquired in step S912 to form the i-th field in the second language.
[0272] (Step S914) The translation acquisition unit 131 increments the counter i by 1. The process returns to step S909.
[0273] (Step S915) The translation acquisition unit 131 adds the audio information in the second language to the video to create a video in the second language, and then returns to the upper level processing.
[0274] Next, an example of the change processing in step S416 will be described with reference to the flowchart in FIG.
[0275] (Step S1001) The processing unit 13 determines whether the information included in the received change instruction is translation change information. If it is translation change information, the process proceeds to step S1002, and if it is not translation change information, the process proceeds to step S1004.
[0276] (Step S1002) The accumulation unit 133 acquires translation portion information. The translation portion information is included in the received change instruction, for example.
[0277] (Step S1003) The accumulation unit 133 accumulates the translation change information and the translation portion information in association with the first web page in the page storage unit 111. The process returns to the upper level process.
[0278] (Step S1004) The processing unit 13 determines whether the information included in the received change instruction is original change information. If it is original change information, the process proceeds to step S1005, and if it is not original change information, the process proceeds to step S1013.
[0279] (Step S1005) The accumulation unit 133 updates the first web page using the original change information.
[0280] (Step S1006) The translation acquisition unit 131 acquires, from the reflection mode storage unit 115, a reflection mode corresponding to the first web page or the original translated web page.
[0281] (Step S1007) The translation acquisition unit 131 determines whether the reflection mode acquired in step S1006 is information indicating "reflection." If it is "reflection," the process proceeds to step S1008; if it is "no reflection," the process returns to the upper process.
[0282] (Step S1008) The translation acquisition unit 131 assigns 1 to a counter i.
[0283] (Step S1009) The translation acquisition unit 131 determines whether the i-th second web page in a language other than the first language exists in the page storage unit 111. If the i-th second web page exists, the process proceeds to step S1010; if not, the process returns to the upper process.
[0284] (Step S1010) The translation acquisition unit 131 performs a process of determining a translation engine for translating the source change information into the i-th other language. The translation engine determination process has been described with reference to the flowchart of FIG.
[0285] (Step S1011) The translation acquisition unit 131 performs a character string translation process to translate the source change information into the i-th other language. The character string translation process has been described with reference to the flowchart of FIG.
[0286] (Step S1012) The translation acquisition unit 131 increments the counter i by 1. The process returns to step S1009.
[0287] (Step S1013) The processing unit 13 determines whether or not the information included in the received change instruction is corresponding information. If it is corresponding information, the process proceeds to step S1014, and if it is not corresponding information, the process proceeds to step S1019.
[0288] (Step S1014) The accumulation unit 133 adds the correspondence information included in the received change instruction to the term dictionary associated with the web page.
[0289] (Step S1015) The translation acquisition unit 131 passes the correspondence information added in step S1014 to the dictionary use process, performs the dictionary use process, and returns to the upper process. An example of the dictionary use process has been described with reference to the flowchart in FIG.
[0290] (Step S1016) The processing unit 13 determines whether or not the information included in the received modification instruction is the insert content. If it is the insert content, the process proceeds to step S1017, and if it is not the insert content, the process returns to the upper process.
[0291] (Step S1017) The processing unit 13 performs insert content processing. An example of the insert content processing will be described with reference to the flowchart in Fig. 11. The processing returns to the upper level processing.
[0292] In the flowchart of Fig. 10, when source change information is received, if there are two or more translation web page sources in languages other than the first language, a reflection mode may be set for each translation web page source. In such a case, the translation result of the changed source change information is reflected only in the translation web page source corresponding to the reflection mode "reflect."
[0293] Next, an example of the insertion content processing in step S1017 will be described with reference to the flowchart in FIG.
[0294] (Step S1101) The translation acquisition unit 131 acquires insertion point information that specifies the point where the inserting content is to be inserted.
[0295] (Step S1102) The accumulation unit 133 performs processing to insert the insert content into the inserted web page, and accumulates the web page into which the insert content has been inserted in the page storage unit 111.
[0296] (Step S1103) The translation acquisition unit 131 assigns 1 to a counter i.
[0297] (Step S1104) The translation acquisition unit 131 determines whether or not a web page in the i-th other language exists. If a web page in the i-th other language exists, the process proceeds to step S1105; if a web page in the i-th other language does not exist, the process returns to the upper process.
[0298] (Step S1105) The translation acquisition unit 131 performs a translation engine determination process for the insertion content. The translation engine determination process has been described with reference to the flowchart in FIG.
[0299] (Step S1106) The translation acquisition unit 131 performs special content processing. The special content processing has been described with reference to the flowchart in FIG.
[0300] (Step S1107) The accumulation unit 133 inserts the insert content translated into the ith other language into the original translation page in the ith other language.
[0301] (Step S1108) The translation acquisition unit 131 increments the counter i by 1. The process returns to step S1104.
[0302] Next, an example of the operation of the terminal device 2 will be described with reference to the flowchart of FIG.
[0303] (Step S1201) The terminal reception unit 22 determines whether or not an access instruction has been received. If an access instruction has been received, the process proceeds to step S1202, and if an access instruction has not been received, the process proceeds to step S1208.
[0304] (Step S1202) The device processing unit 23 acquires the language identifier of the device storage unit 21. Then, the device processing unit 23 composes an access instruction to be transmitted, which is an access instruction associated with the language identifier. Next, the terminal transmitting unit 24 transmits the access instruction to the web page processing device 1.
[0305] (Step S1203) Terminal receiving unit 25 determines whether or not a web page corresponding to the access instruction and in the language identified by the language identifier has been received. If a web page has been received, the process proceeds to step S1204; if a web page has not been received, the process returns to step S1203.
[0306] (Step S1204) The device processing unit 23 composes a web page to be output from the web page received in step S1203. The terminal output unit 26 outputs the web page.
[0307] (Step S1205) The terminal receiving unit 25 determines whether or not a UI that can switch to the edit mode has been received. If a UI has been received, the process proceeds to step S1207, and if a UI has not been received, the process proceeds to step S1206.
[0308] (Step S1206) The terminal processing unit 23 determines whether or not a timeout has occurred. If a timeout has occurred, the process returns to step S1201, and if not, the process returns to step S1205.
[0309] (Step S1207) The device processing unit 23 composes a UI to be output from the UI received in step S1205. The terminal output unit 26 outputs the UI. The process returns to step S1201.
[0310] (Step S1208) The terminal reception unit 22 determines whether or not a change instruction has been received. If a change instruction has been received, the process proceeds to step S1209, and if a change instruction has not been received, the process proceeds to step S1214.
[0311] (Step S1209) The device processing unit 23 determines whether the mode stored in the device storage unit 21 or the mode stored in the edit mode storage unit 114 of the web page processing device 1 is the edit mode or the display mode. If it is the edit mode, the process proceeds to step S1210, and if it is the display mode, the process returns to step S1201.
[0312] (Step S1210) The device processing unit 23 uses the change instruction received in step S1208 to compose a change instruction to be transmitted. The device processing unit 23, for example, acquires location information that identifies the changed location, and composes a change instruction that includes the location information and translation change information that indicates the change content. The terminal transmission unit 24 transmits the change instruction to the web page processing device 1.
[0313] (Step S1211) The terminal receiving unit 25 determines whether or not information has been received in response to the transmission of the change instruction. If information has been received, the process proceeds to step S1213, and if information has not been received, the process proceeds to step S1212.
[0314] (Step S1212) The terminal processing unit 23 determines whether or not a timeout has occurred. If a timeout has occurred, the process returns to step S1201, and if not, the process returns to step S1211.
[0315] (Step S1213) The device processing unit 23 uses the received information to compose information to be output. The device output unit 26 outputs the information. The process returns to step S1201.
[0316] (Step S1214) The terminal reception unit 22 determines whether or not the setting information has been received. If the setting information has been received, the process proceeds to step S1215, and if the setting information has not been received, the process returns to step S1201.
[0317] (Step S1215) The terminal processing unit 23 uses the setting information accepted in step S1214 to compose setting information to be transmitted. The terminal transmitting unit 24 transmits the setting information to the web page processing device 1. Return to step S1201. Note that if the setting information is an edit mode, the edit mode may not be transmitted to the web page processing device 1, and the terminal device 2 may simply enable editing of the displayed web page.
[0318] The specific operation of information system A in this embodiment will be described below. Three specific examples will be described below. Specific Example 1 describes the case where a second web page source is obtained from a first web page, the case where the second web page source is manually changed, the case where a part of the first web page is changed and the change is reflected in the second web page source, and the case where a part of the first web page is changed and the machine translation result is manually changed. Specific Example 2 describes the dictionary function. Specific Example 3 describes the case where a video, which is one of the inserted contents, is inserted into the first web page and the insertion of the video is also reflected in the translated web page.
[0319] (Example 1) Assume that the first web page shown in FIG. 13 is stored in page storage unit 111 of web page processing device 1. The first language (original language) of the first web page is Japanese. The source of the first web page in FIG. 13 contains a script shown as 1401 in FIG. 14. Script 1401 is a script that executes a program for operating the functions of web page processing device 1. In other words, simply by inserting script 1401 into the first web page, the web page can be made to support one or more languages.
[0320] It is also assumed that the engine usage information storage unit 112 stores the engine usage management table shown in FIG. 15. The engine usage management table includes one or more records each having an "ID," an "attribute value condition," and a "translation engine identifier." The "attribute value condition" here includes a "first language identifier," a "second language identifier," and a "class identifier." The "ID" is information that identifies the record. The "attribute value conditions" here are arranged in order of priority. The "attribute value condition" indicates that the condition is that each attribute value matches. If the "class identifier" is "-," it indicates that the class identifier does not matter.
[0321] Also, it is assumed that the translation route information storage unit 113 stores the translation route management table shown in FIG. 16. The translation route management table has an "ID," a "first language identifier," a "second language identifier," and "translation route information." Note that "ID" is information that identifies a record. Furthermore, a record with "ID=1" indicates that when translating from Japanese to Arabic, machine translation is performed from "Japanese to English," and then machine translation is performed from "English to Arabic." In other words, the "translation route information" has a "first language identifier, intermediate language identifier, second language identifier." Note that there may be two or more intermediate language identifiers. That is, for example, the "translation route information" of "ID=2" may be, for example, "Chinese → French → English → Swahili."
[0322] Furthermore, it is assumed that the reflection mode storage unit 115 stores "ON" (reflect) in association with the first web page shown in FIG.
[0323] In this situation, it is assumed that the user inputs an access instruction having the second language identifier "English" and including the URL of the first web page in Fig. 13 to the terminal device 2. Next, the terminal device 2 accepts the access instruction and transmits the access instruction having the URL and the second language identifier "English" to the web page processing device 1.
[0324] Next, the instruction receiving unit 121 of the web page processing device 1 receives the access instruction from the terminal device 2.
[0325] Then, the determination unit 138 acquires the language identifier "English" corresponding to the received access instruction. Next, the determination unit 138 determines that a web page in the language corresponding to the language identifier "English" does not exist in the page storage unit 111 among the web pages corresponding to the received access instruction.
[0326] Next, the translation acquisition unit 131 performs the above-described translation acquisition process on the first web page to acquire the second web page source. That is, as described above, the translation acquisition unit 131 performs machine translation for each translation unit of the first web page using the engine usage management table in FIG. 15 and the translation route management table in FIG. 16. Note that if there is no matching record in the translation route management table, the translation route is a route for directly translating from the first language to the second language.
[0327] Assume that the translation acquisition unit 131 has acquired the information set shown in FIG. 17. In FIG. 17, the number of records, each of which has an "ID," "first language," "data type," "translation portion information," "second language," and "manual flag," is the same as the number of translation units. The "ID" is information that identifies the translation unit. The "first language" is the translation unit of the first web page. The "data type" is the data type of the translation unit. The "translation portion information" is information that identifies the location of the translation unit of the first web page. The "second language" is the translation result of machine translation or the translation result obtained by manually correcting the translation result of machine translation. The attribute value of the "second language" is information that constitutes the second web page source or the translated web page source. The "manual flag" is information that indicates whether the attribute value of the "second language" is the translation result of machine translation (value "0") or the translation result corrected by manual correction (value "1"). The acquired second web page source is a set of attribute values of the "second language" in FIG. 17.
[0328] In addition, the "translation location information" here is the offset of the first web page, but it can also be the offset of the original second web page, or a tag that specifies the location, etc., as long as it is information that can determine the location where the attribute value of the "second language" is placed.
[0329] Next, the URI acquisition unit 132 acquires a first URI (here, "https: / / a.jp / xxx") that identifies the location where the first web page is stored. Next, the URI acquisition unit 132 acquires the character string " / en" that corresponds to the language identifier "English" of the source of the acquired translated web page from the storage unit 11-1, adds the character string to the lowest level of the first URI, and acquires the second URI "https: / / a.jp / xxx / en".
[0330] Next, the storage unit 133 stores at least a set of attribute values of "translation portion information" and "second language" in Fig. 17 in the second URI "https: / / a.jp / xxx / en". By this storage process, the translation web page source (here, the second web page source) and the translation portion information are stored in association with the first web page.
[0331] Next, the processing unit 13 combines the set of attribute values (original translated web page) of "translation portion information" and "second language" in Figure 17 with the tags of the first web page to construct a translated web page that has been machine-translated into English. Next, the page sending unit 143 sends the translated web page to the terminal device 2 that sent the access instruction.
[0332] Next, the UI acquisition unit 134 acquires the UI from the storage unit 11. Next, the UI transmission unit 142 transmits the acquired UI to the terminal device 2. Note that the UI is a user interface for selecting an edit mode or a display mode.
[0333] Next, the terminal device 2 receives and outputs a translated web page obtained by machine-translating the first web page of Fig. 13 into English. The terminal device 2 also receives and outputs a UI on top of the translated web page.
[0334] An example of such output is shown in Figure 18. In Figure 18, 1801 is an example in which a portion of the text on the first web page has been machine-translated into the second language, English. Note that the video on the first web page is not the subject of translation here, and the text displayed in the first field of the video in 1802 remains in Japanese. However, as mentioned above, the text and audio information in the video may also be translated into English.
[0335] Also, 1803 in Fig. 18 is a UI. Then, it is assumed that the user instructs the edit button 1804 in the UI in Fig. 18. Then, the terminal receiving unit 22 receives "edit mode = ON". Note that 1805 is a button for switching the displayed web page to edit mode.
[0336] Next, the device processing unit 23 performs processing to transition to edit mode. Note that, here, a different web page will be used for explanation than the web page in FIG. 18. The device processing unit 23 performs processing to clearly indicate editable information (here, character strings). Here, the processing to clearly indicate editable information is processing to underline the editable information. An example of such display is 1901 in step 3 in FIG. 19.
[0337] Next, it is assumed that the user thinks that the underlined part, "your service" 1902 in the machine translation result, is inappropriate, and changes "your service" 1902 to "your" 1903.
[0338] Also, assume that the user presses the font size change button 2002 in the operation window 2001 for changing font attribute values, as shown in Fig. 20, and increases the font size of the target character string from "15" to "19." Next, assume that the user presses the "Save" button (not shown). Note that it is possible to change not only the font size but also various attribute values of the translation target (e.g., font, font color, background color, etc.). It is also possible to reduce the font size, as shown in Fig. 20.
[0339] Furthermore, as shown in Figure 20, you can change the font type to Bold or Italic.
[0340] The terminal receiving unit 22 then receives the change instruction. Next, the device processing unit 23 uses the received change instruction to construct a change instruction to be transmitted. This change instruction includes translation change information, which is the changed character string, and translation portion information, which identifies the changed portion. The terminal transmitting unit 24 transmits the change instruction to the web page processing device 1.
[0341] Next, the change receiving unit 122 receives the change instruction from the terminal device 2. Next, the storage unit 133 acquires the translation change information and the translation portion information included in the change instruction. Next, the storage unit 133 stores the translation change information and the translation portion information in the page storage unit 111 in association with the first web page. Here, the storage unit 133 stores the translation change information as the attribute value of "second language" in the record with "ID=21" in FIG. 17, and changes the "manufacturing flag" of the record to "1."
[0342] As a result, the translated original web page including the manually modified parts is stored in association with the first web page.
[0343] In addition, although the font attribute value of a part of a string of characters on a web page has been changed on the terminal device 2, the processing unit 13 may also change the font attribute value of a string of characters on the first web page corresponding to that part of the string of characters to the same attribute value.
[0344] 13 on the terminal device 2, the user changes the character string 1301 "inquire" to "ask a question." The terminal device 2 then accepts a change instruction and transmits it to the web page processing device 1. The change instruction includes "ask a question," information about the relevant part, the URL of the first web page, and information indicating that the original information has been changed.
[0345] Next, the change receiving unit 122 of the web page processing device 1 receives the change instruction from the terminal device 2.
[0346] Next, the processing unit 13 determines that the information included in the received change instruction is original change information. Next, the storage unit 133 updates the first web page using the original change information "Ask a question."
[0347] Next, the translation acquisition unit 131 acquires the reflection mode associated with the first web page from the storage unit 11, and determines that the reflection mode is information indicating "reflection."
[0348] Next, it is assumed that the translation acquisition unit 131 acquires the English word "Query" from the original change information "ask a question" through the above-described process. Then, it overwrites "Query" with "Question," which is paired with the part information included in the received change instruction.
[0349] Through the above process, the change from "inquire" to "ask a question" is reflected not only on the first web page but also on the translated web page.
[0350] Here, the transmission unit 14 may transmit the machine translation result "Query" to the terminal device 2. In this case, the terminal device 2 receives and outputs the machine translation result. Then, the user may modify the machine translation result. For example, suppose that the user changes "Query" to "Inquire" and presses the "Save" button.
[0351] Then, the terminal device 2 transmits to the web page processing device 1 a change instruction including "Inquire," the location information, the URL of the first web page, and information indicating that the machine translation result is to be changed.
[0352] Next, the change receiving unit 122 of the web page processing device 1 receives the change instruction from the terminal device 2. Next, the processing unit 13 determines that the received information includes translation change information, based on the information indicating that the change instruction is for changing the machine translation result.
[0353] Next, the storage unit 133 changes "Query" corresponding to the location information contained in the received change instruction to "Inquire." The storage unit 133 also changes the manual flag to "1." The information including the changed translation web page source is shown in FIG. 21. In other words, the above process changes FIG. 17 to FIG. 21.
[0354] (Example 2) In this specific example, it is assumed that the first language is "Japanese" and the second language is "English." It is also assumed that the page storage unit 111 of the web page processing device 1 stores the machine-translated English web page shown in FIG. 22.
[0355] 22 is displayed on the terminal device 2, the user presses the dictionary function button 2201. Then, the terminal device 2 displays a dictionary window 2301 (see FIG. 23).
[0356] Next, the user enters the word "News" to be corrected in the first field (2302 in FIG. 23) in the dictionary window, enters "Press" in the second field (2303 in FIG. 23), and presses the "Save" button 2401 (FIG. 24).
[0357] Then, the terminal receiving unit 22 receives the setting information (here, correspondence information). Next, the device processing unit 23 uses the correspondence information to configure the correspondence information to be transmitted. The transmitted information includes information for identifying the translated web page or the first web page. Next, the terminal transmitting unit 24 transmits the setting information to the web page processing device 1.
[0358] Next, the receiving unit 12 of the web page processing device 1 receives the correspondence information and the like from the terminal device 2. Next, the storage unit 133 stores the correspondence information in the dictionary storage unit 116 in association with the original translated web page.
[0359] Next, the processing unit 13 performs the dictionary utilization process as follows: That is, the translation acquisition unit 131 changes "news" to "press" in the English translated web page in Fig. 22. That is, the processing unit 13 rewrites "news" in the character string in the second language of the original translated web page to "press" and changes the "manufacturing flag" paired with the rewritten "second language" to "1."
[0360] As a result, the translation web page can be appropriately changed in one go. In addition, the registered dictionary information can be used to assist machine translation.
[0361] It is preferable that correspondence information in the terminology dictionary can be registered only for translation web pages in the terminal device 2. In other words, it is preferable that, for example, the dictionary function button 2201 in the terminal device 2 is displayed only for translation web pages or can be pressed only for translation web pages.
[0362] (Example 3) Assume that the first web page of Figure 25(a) is currently being displayed on terminal device 2. In this situation, the user places the mouse pointer on the location where the user wants to insert a video and right-clicks, as shown in 2601 of Figure 26. Then, a video insertion window 2602 shown in Figure 26 is displayed on terminal device 2. Then, the user enters a URL specifying the video to be inserted in field 603. Next, the user selects the "+" button 2604 to insert the video.
[0363] Then, the terminal receiving unit 22 receives a change instruction to insert the video. The terminal processing unit 23 uses the received change instruction to construct a change instruction to be transmitted. The terminal transmitting unit 24 transmits the change instruction to the web page processing device 1. The change instruction includes information indicating that the instruction is to insert a video, a URL that identifies the video, information about the location where the video is to be inserted, and the URL of the first web page where the video is to be inserted.
[0364] Next, the change receiving unit 122 receives the change instruction from the terminal device 2. Next, the processing unit 13 determines that the information included in the received change instruction is the insertion content.
[0365] Next, the translation acquisition unit 131 acquires, from the received modification instruction, insertion point information that specifies the point where the insert content is to be inserted.
[0366] Next, the accumulation unit 133 creates a first web page to which the video corresponding to the received URL is added, and overwrites the first web page in the page storage unit 111.
[0367] Next, the storage unit 133 inserts the video inserted into the first web page into the source English web page, which is the source of the translated web page. That is, the storage unit 133 creates a source translated web page by inserting the video identified by the URL into the location corresponding to the received location information, and stores the source translated web page in the page storage unit 111. Note that the process of adding information to HTML to insert a video into a web page is a well-known technique, so a detailed description will be omitted. Note that an example of a web page with such a video inserted is shown in Figure 25(b).
[0368] By the above process, when insert content is inserted into the first web page, the insert content is also inserted into the translation web page.
[0369] Next, the processing unit 13 constructs a translated English web page with the video inserted, and the page sending unit 143 sends the translated English web page with the video inserted to the terminal device 2.
[0370] Next, the terminal device 2 receives and outputs the translated English web page with the video inserted, as shown in FIG. 24(c).
[0371] 24(c), the user can delete the inserted video from the translated English web page. That is, the terminal device 2 transmits a change instruction to the web page processing device 1 to delete the video from the translated English web page.
[0372] Next, the instruction receiving unit 121 of the web page processing device 1 receives the change instruction. The change instruction includes a URL corresponding to the translated English web page, information specifying the video, and information to delete the video.
[0373] Next, the processing unit 13 deletes the video corresponding to the change instruction from the original English translated web page.
[0374] In Specific Example 3, the translation acquisition unit 131 did not translate the video inserted into the first web page. That is, the translation acquisition unit 131 did not translate the video so as not to infringe the copyright of the video inserted into the first web page. However, the translation acquisition unit 131 may acquire copyright information (whether or not modification is permitted, and whether or not translation into other languages is permitted) corresponding to the video inserted into the first web page, and if the translation acquisition unit 131 determines that the copyright information indicates that translation into other languages is permitted, the translation acquisition unit 131 may acquire the translated video, as in the process shown in the flowchart of FIG. 11. Then, the storage unit 133 may store the original translated web page including the translated video.
[0375] As described above, according to this embodiment, the second web page obtained by machine-translating the first web page can be appropriately modified.
[0376] Furthermore, according to this embodiment, the second web page, which is a machine-translated version of the first web page, can be viewed after being appropriately modified.
[0377] Furthermore, according to this embodiment, when a still image, video, API, or the like is inserted into a translated web page, it can also be reflected in the first web page.
[0378] Furthermore, according to this embodiment, when a still image, video, API, or the like is inserted into the first web page, it can be reflected in the translated web page.
[0379] Furthermore, according to this embodiment, the translation results of the text portion of still images and moving images can be used.
[0380] Furthermore, according to this embodiment, the results of speech translation of video can be used.
[0381] Furthermore, according to this embodiment, when the first web page is modified, the machine translation result of the modified portion can be obtained, and the user can modify the machine translation result.
[0382] Furthermore, according to this embodiment, it is possible to set either a mode in which the web page can be edited or a mode in which the web page cannot be edited.
[0383] Furthermore, according to this embodiment, a glossary can be used to obtain an appropriate translated web page.
[0384] Furthermore, according to this embodiment, a translation route for a web page can be set.
[0385] Furthermore, according to this embodiment, a translation engine suitable for translation can be used.
[0386] Furthermore, according to this embodiment, a translated web page that is effective for SEO measures can be constructed.
[0387] In this embodiment, the selection of a translation engine using the engine information to be used and the machine translation technology can be used for purposes other than web pages.
[0388] 27 shows a block diagram of such a translation device 5. That is, the translation device 5 includes a used engine information storage unit 112, a translation acquisition unit 51, and a translation output unit 52. The translation acquisition unit 51 includes an attribute value acquisition means 1311, a translation engine identifier acquisition means 1312, and a translation acquisition means 511.
[0389] The attribute value acquisition means 1311 acquires attribute values of the translation unit of the translation target. The translation target may be a web page, document file, still image, video, etc. The translation unit may also be the entire translation target, a file, a paragraph, a sentence, an object, etc. The translation target may be stored in a storage unit (not shown) of the translation device 5, or may be acquired from an external device.
[0390] The translation acquisition means 511 passes each translation unit to the translation engine 3 identified by the translation engine identifier acquired by the translation engine identifier acquisition means 1312 , and acquires the machine translation results from the translation engine 3 .
[0391] The translation acquisition means 511 transmits, for example, translation units and the like to a translation engine 3 identified by a translation engine identifier acquired by the translation engine identifier acquisition means 1312, and receives machine translation results from the translation engine 3. Note that the translation units and the like may be just the translation units, or may be a translation unit and a second language identifier, or a translation unit, a first language identifier, and a second language identifier. In other words, the information that the translation acquisition means 511 transmits to the translation engine 3 depends on the specifications of the translation engine 3.
[0392] The translation acquisition means 511 provides the translation units to software identified by the translation engine identifier acquired by the translation engine identifier acquisition means 1312, for example, and acquires the machine translation results.
[0393] The translation output unit 52 outputs the machine translation results for each translation unit acquired by the translation acquisition means 511. The term "output" here refers to a concept that includes displaying on a display, projecting using a projector, printing on a printer, outputting as sound, transmitting to an external device, storing on a recording medium, and transferring the processing results to another processing device or another program.
[0394] That is, the translation device 5 includes a used engine information storage unit 112 that stores two or more pieces of used engine information having attribute value conditions related to the attribute values of the translation units to be translated and translation engine identifiers that identify the translation engines to be used for machine translation, attribute value acquisition means 1311 that acquires the attribute values of each translation unit to be translated, translation engine identifier acquisition means 1312 that acquires, for each translation unit, a translation engine identifier that pairs with the attribute value condition that matches the attribute value, and translation acquisition means 511 that passes each translation unit to a translation engine identified by the translation engine identifier and acquires from the translation engine the machine translation results of pre-machine translating each translation unit. and a translation output unit 52 that outputs the machine translation results for each translation unit acquired by the translation acquisition means 511.
[0395] The translation acquisition unit 51 and the translation acquisition means 511 can usually be realized by a processor, memory, etc. The processing procedures of the translation acquisition unit 51, etc. are usually realized by software, and the software is recorded on a recording medium such as a ROM. However, they may also be realized by hardware (dedicated circuit). The processor may be a CPU, MPU, GPU, etc., and the type does not matter.
[0396] The translation output unit 52 may or may not include an output device such as a display, speaker, etc. The translation output unit 52 may be realized by driver software for an output device, or by a combination of driver software for an output device and the output device, etc. The processing in this embodiment may be implemented by software. This software may be distributed by software download or the like. This software may also be recorded on a recording medium such as a CD-ROM and distributed. This also applies to other embodiments in this specification. The software implementing the web page processing device 1 in this embodiment is the following program. Specifically, this program causes a computer to function as: a translation acquisition unit that acquires a second original web page obtained by machine-translating at least a portion of a first web page in a first language into a second language; a change acceptance unit that accepts translation change information, which is a change made to at least a portion of the original second web page by manual machine translation; a location information acquisition unit that acquires translation location information that identifies locations in the original second web page that have been changed by the translation change information; and a storage unit that associates the original translated web page, which is information that serves as the basis for a translated web page obtained by translating the first web page into the second language and includes the translation change information, and the translation location information acquired by the location information acquisition unit with the first web page.
[0397] 28 shows the appearance of a computer that executes the programs described herein to realize the web page processing devices and the like of the various embodiments described above. The above-described embodiments can be realized by computer hardware and computer programs executed thereon. FIG. 28 is an overview diagram of this computer system 300, and FIG. 29 is a block diagram of system 300.
[0398] In FIG. 28, a computer system 300 includes a computer 301 including a CD-ROM drive, a keyboard 302, a mouse 303, and a monitor 304.
[0399] 29, computer 301 includes, in addition to CD-ROM drive 3012, MPU 3013, bus 3014 connected to CD-ROM drive 3012 etc., ROM 3015 for storing programs such as a boot-up program, RAM 3016 connected to MPU 3013 for temporarily storing instructions of application programs and providing temporary storage space, and hard disk 3017 for storing application programs, system programs, and data. Although not shown here, computer 301 may further include a network card for providing connection to a LAN.
[0400] A program that causes computer system 300 to execute functions such as the web page processing device of the above-described embodiment may be stored on CD-ROM 3101, inserted into CD-ROM drive 3012, and then transferred to hard disk 3017. Alternatively, the program may be transmitted to computer 301 via a network (not shown) and stored on hard disk 3017. The program is loaded into RAM 3016 when executed. The program may also be loaded directly from CD-ROM 3101 or the network.
[0401] The program does not necessarily include an operating system (OS) or third-party programs that cause the computer 301 to execute functions such as the web page processing device of the above-described embodiment. The program need only include instructions that call appropriate functions (modules) in a controlled manner to achieve the desired results. How the computer system 300 operates is well known, and a detailed description thereof will be omitted.
[0402] In addition, in the above program, the steps of transmitting information and receiving information do not include processing performed by hardware, such as processing performed by a modem or interface card in the transmission step (processing that can only be performed by hardware).
[0403] The computer that executes the program may be a single computer or a plurality of computers, that is, it may perform centralized processing or distributed processing.
[0404] Furthermore, in each of the above embodiments, it goes without saying that two or more communication means present in one device may be physically realized by one medium.
[0405] Furthermore, in each of the above embodiments, each process may be realized by centralized processing in a single device, or may be realized by distributed processing in a plurality of devices.
[0406] The present invention is not limited to the above-described embodiment, and various modifications are possible, and it goes without saying that these modifications are also included within the scope of the present invention. [Industrial Applicability]
[0407] As described above, the web page processing device according to the present invention has the effect of being able to appropriately change a second web page that is a machine-translated version of a first web page, and is useful as a web page processing device or the like. [Explanation of symbols]
[0408] 1. Web page processing device 2. Terminal Device 3. Translation Engine 4 Web Server 5 Translation Device 11 Storage area 12 Receiving unit 13 Processing section 14 Transmitter 21 Terminal storage section 22 Terminal Reception 23 Terminal processing section 24 Terminal transmitter 25 Terminal receiving section 26 Terminal Output Unit 51, 131 Translation Acquisition Department 52 Translation output unit 111 Page Storage 112 Engine information storage unit 113 Translation route information storage unit 114 Edit mode storage section 115 Reflection mode storage section 116 Dictionary storage section 121 Instruction receiving unit 122 Change Reception Department 132 URI acquisition section 133 Storage Unit 134 UI acquisition department 135 Location Information Acquisition Unit 136 String acquisition part 137 Voice Acquisition Unit 138 Judgment Department 139 Page Acquisition Section 139 Web Page Acquisition Unit 130 Dictionary Usage Section 141 Machine Translation Output Unit 142 UI transmitter Page 143 Transmission Department 511, 1313 Translation acquisition means 1311 Attribute value acquisition means 1312 Translation engine identifier acquisition means
Claims
1. a translation acquisition unit that acquires a second web page source obtained by machine-translating at least a part of a first language of a first web page into a second language; a change receiving unit that receives translation change information that is a change made to a result of manual machine translation of at least a part of the second original web page; a part information acquiring unit that acquires translation part information that identifies a part of the second web page that has been changed by the translation change information; a storage unit that stores a translation web page source, which is information that serves as a source of a translation web page obtained by translating the first web page into the second language and includes the translation change information, and the translation location information acquired by the location information acquisition unit, in association with the first web page; The translation acquisition unit a web page processing device that acquires a second web page source that also has translation meta tags obtained by machine-translating meta tags of the first web page into the second language;
2. an instruction receiving unit that receives an access instruction associated with the second language from a terminal device; a determining unit that determines whether a translated web page source associated with the second language corresponding to the access instruction exists in a page storage unit that stores the first web page associated with the first language and a translated web page source in one or more languages different from the first language in association with each other; The translation acquisition unit When the determining unit determines that a translated web page source associated with the second language does not exist in the page storage unit, a second web page source obtained by machine-translating at least a part of the first language of the first web page into the second language is obtained; a page acquisition unit that acquires the translated web page in the second language using the translation web page source acquired by the translation acquisition unit when the determination unit determines that the translation web page source associated with the second language does not exist in the page storage unit, and acquires the translated web page in the second language using the translation web page source associated with the second language in the page storage unit when the translation web page source exists in the page storage unit; 2. The web page processing device according to claim 1, further comprising a page sending unit that sends the translated web page acquired by the page acquisition unit to the terminal device.
3. The change acceptance unit Accepting insertion content, which is a still image, a video, or an API, to be inserted into the translation webpage; The storage unit is storing the inserted content in association with the original translated web page or the first web page; The page acquisition unit A web page processing device as described in claim 2, wherein when the instruction receiving unit receives the access instruction associated with the first language, it acquires a first web page into which the insert content or insert content based on the insert content is inserted, and when the instruction receiving unit receives the access instruction associated with the second language, it acquires a translated web page into which the insert content is inserted.
4. The change acceptance unit receiving insertion content, which is a still image, a video, or an API, to be inserted into the first web page; The storage unit is storing the inserted content in association with the first web page or the original translated web page; The page acquisition unit A web page processing device as described in claim 2, wherein when the instruction receiving unit receives the access instruction associated with the first language, it acquires a first web page into which the insert content has been inserted, and when the instruction receiving unit receives the access instruction associated with the second language, it acquires a translated web page into which the insert content or insert content based on the insert content has been inserted.
5. the inserted content is a still image or a video; a character string acquisition unit that performs character recognition on the still image or the video to acquire a character string in one language; The translation acquisition unit obtaining a character string translation result obtained by machine translating the character string obtained by the character string obtaining unit into another language different from the one language; The storage unit is The web page processing device according to claim 3 , wherein the insert content and the character string translation result, or the insert content reflecting the character string translation result, are stored in association with the first web page or the original translated web page.
6. the inserted content is a video; further comprising a voice acquisition unit that acquires voice information in one language from the video; The translation acquisition unit obtaining a speech translation result of the speech information into a language different from the one language; The storage unit is 4. The web page processing device according to claim 3, wherein the video and the speech translation result, or the video in which the speech information contained in the video has been replaced with the speech translation result, are stored in association with the first web page or the original translated web page.
7. a reflection mode storage unit for storing a reflection mode indicating whether or not to reflect the modification in the first web page or the translated web page; The page acquisition unit A web page processing device as described in claim 3, wherein only when the reflection mode is a mode in which modifications are reflected, the translated web page is acquired in which the insert content to be inserted into the first web page accepted by the change acceptance unit is reflected, or the first web page is acquired in which the insert content to be inserted into the translated web page accepted by the change acceptance unit is reflected.
8. The change acceptance unit receiving original change information identifying original changes that are manual changes to at least a portion of the first web page; The storage unit is updating the first web page using the original change information; The translation acquisition unit obtaining machine-translated information obtained by machine-translating the original modified information in the first language into the second language; 2. The web page processing device according to claim 1, further comprising a machine translation output unit that outputs the machine translation information.
9. The machine translation output unit Sending the machine-translated information to a terminal device; The change acceptance unit receiving translation change information for the machine-translated information from the terminal device; The location information acquisition unit obtain translation portion information that identifies the portion changed by the translation change information; The storage unit is 9. The web page processing device according to claim 8, wherein the original translation web page, which is information that serves as the basis for a translated web page obtained by translating the first web page into the second language and includes translation change information accepted by the change acceptance unit, and the translation location information acquired by the location information acquisition unit are stored in association with the first web page.
10. The terminal device has an edit mode in which the web page can be edited and a display mode in which the web page cannot be edited, The change acceptance unit The web page processing device according to claim 1 , wherein the translation change information is accepted only in the edit mode.
11. a UI acquisition unit that acquires a user interface for selecting the edit mode or the display mode; a UI transmission unit that transmits the user interface to the terminal device, The change acceptance unit The web page processing device according to claim 10, wherein the translation change information is accepted only when the mode selected by the user is the edit mode.
12. a term dictionary having one or more pieces of correspondence information relating to a correspondence between a first term in the first language and a manually input second term that is a translation of the first term into the second language, or one or more pieces of correspondence information relating to a correspondence between a machine-translated second term that is a result of a machine translation of the first term into the second language and a manually input second term, is stored in association with the first web page or the original translated web page; The method further includes a dictionary utilization unit that converts the first term in the first web page into a second term manually using the term dictionary, or converts the machine-translated second term in the original web page into the second term manually using the term dictionary, and acquires the original web page; The storage unit is The web page processing device according to claim 1 , wherein the dictionary utilization unit stores the original translation web page and the translation portion information acquired by the dictionary utilization unit in association with the first web page.
13. The change acceptance unit receiving the correspondence information; The storage unit is The web page processing device according to claim 12 , wherein the correspondence information received by the change receiving unit is stored in the term dictionary.
14. The system further includes a translation route information storage unit for storing translation route information, which is information specifying a translation route when translating a first language into a second language and has an intermediate language identifier for identifying an intermediate language, The translation acquisition unit 2. The web page processing device according to claim 1, wherein at least a first language portion of the first web page in the first language is machine-translated into an intermediate language identified by an intermediate language identifier contained in the translation route information, and then the result of the machine translation is further machine-translated into the second language to obtain the second web page source.
15. The system further includes a usage engine information storage unit that stores two or more usage engine information pieces each having an attribute value condition related to an attribute value of a translation unit of a web page and a translation engine identifier that identifies a translation engine to be used for machine translation; The translation acquisition unit an attribute value acquisition means for acquiring attribute values of each translation unit of the first web page; a translation engine identifier acquisition means for acquiring, for each translation unit, a translation engine identifier that is paired with an attribute value condition that matches the attribute value; 2. The web page processing device according to claim 1, further comprising a translation acquisition means for acquiring the second web page source by passing each translation unit to a translation engine identified by the translation engine identifier and acquiring from the translation engine a machine translation result that translates each translation unit into the second language.
16. a URI acquisition unit that acquires a first URI of the first web page and acquires a second URI for accessing the translation web page, the second URI being a URI obtained by adding a unique character string to the lowest position of the first URI; The storage unit is The web page processing device according to claim 1 , further comprising storing the translated web page source so that it can be accessed using the second URI.
17. The second web page source: information obtained by machine-translating one or more sentences from the first web page, excluding predetermined tags, into a second language; The page acquisition unit When the instruction receiving unit receives the access instruction associated with the second language, 3. The web page processing device according to claim 2, wherein the translated web page is constructed by combining the predetermined tag of the first web page with the original translated web page.
18. A web page processing method implemented by a translation acquisition unit, a change acceptance unit, a part information acquisition unit, and a storage unit, comprising: a translation acquisition step in which the translation acquisition unit acquires a second web page source obtained by machine-translating at least a part of the first language of the first web page into a second language; a change receiving step in which the change receiving unit receives translation change information, which is a change made to at least a part of the second original web page by a human being as a result of machine translation; a part information acquiring step in which the part information acquiring unit acquires translation part information that identifies a part of the second web page source that has been changed by the translation change information; the storage unit stores a translation web page source, which is information that serves as a source of a translated web page obtained by translating the first web page into the second language and includes the translation change information, and the translation location information acquired in the location information acquisition step, in association with the first web page; The translation acquisition unit The web page processing method further comprises obtaining a second web page source that also has a translation meta tag obtained by machine-translating the meta tag of the first web page into the second language.
19. Computer, a translation acquisition unit that acquires a second web page source obtained by machine-translating at least a part of a first language of a first web page into a second language; a change receiving unit that receives translation change information that is a change made to a result of manual machine translation of at least a part of the second original web page; a part information acquiring unit that acquires translation part information that identifies a part of the second web page that has been changed by the translation change information; a program for causing the program to function as a storage unit that stores a translation web page source, which is information that is the source of a translation web page obtained by translating the first web page into the second language and includes the translation change information, and the translation location information acquired by the location information acquisition unit, in association with the first web page, The translation acquisition unit A program for causing the computer to function as a second web page source that also has translation meta tags obtained by machine-translating the meta tags of the first web page into the second language.
Citation Information
Patent Citations
Photosensitive body
JP1988082477A
Software simulator and simulation processing method
JP2001236247A
Server, relay device, information providing method and program
JP2003141018A
Device, method and program for supporting translation, and computer-readable recording medium recorded with the program
JP2003208467A
Web page translation system, web page translation device, web page provision device, and web page translation method
JP2019149141A