Web page processing device, web page processing method, and program
The web page processing device addresses the limitations of machine translation by allowing human corrections and content insertion, enhancing translation accuracy and user interaction.
Patent Information
- Application Number
- JP2024174076
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2024-10-03
- Publication Date
- 2025-01-07
- Estimated Expiration
- 2040-07-14
AI Technical Summary
Existing technologies fail to appropriately modify web pages translated by machine translation, lacking the ability to incorporate human corrections and insertions such as still images, videos, or APIs.
A web page processing device that includes units for acquiring machine translation, receiving human changes, storing translated parts, and inserting content like still images, videos, or APIs, while allowing for editing modes and using term dictionaries to enhance translation accuracy.
Enables appropriate modification of machine-translated web pages by incorporating human corrections and additional content, improving translation quality and user interaction.
Smart Images

Figure 2025000957000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a web page processing device that translates a web page. [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 conventional technology, it is not possible to appropriately modify a second web page that is a machine-translated version of a first web page. [Means for solving the problem]
[0005] The web page processing device of the first invention is a web page processing device including: a translation acquisition unit that acquires a second web page original obtained by machine-translating at least a portion of a first language of a first web page into a second language; a change receiving unit that accepts translation change information which is a manual change to the result of machine translation 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 source 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 that is a machine-translated version of the first web page can be appropriately modified.
[0007] The webpage processing device of the second invention is the webpage processing device of the first invention, further comprising: an instruction receiving unit that receives an access instruction associated with the second language from the terminal device; and a judgment unit that judges whether a translated webpage source associated with the second language corresponding to the access instruction exists in a page storage unit that stores a first webpage associated with the first language and a translated webpage source in one or more languages different from the first language in association with each other; and the translation acquisition unit, when the judgment unit determines that the translated webpage source associated with the second language does not exist in the page storage unit, acquires a second webpage source obtained by machine-translating at least a part of the first webpage into the second language, and when the judgment unit determines that the translated webpage source associated with the second language does not exist in the page storage unit, acquires a translated webpage in the second language using the translated webpage source acquired by the translation acquisition unit, and when the translated webpage source exists in the page storage unit, acquires the translated webpage in the second language using the translated webpage source associated with the second language in the page storage unit; and a page sending unit that sends the translated webpage acquired by the webpage 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 webpage processing device of the third invention is a webpage processing device in which, compared to the second invention, the change receiving unit receives insertion content which is a still image, video, or API to be inserted into the translated webpage, the storage unit stores the insertion content in association with the original translated webpage or the first webpage, and the page acquisition unit acquires the first webpage 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 the first language, and acquires the translated webpage into which the insertion 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 webpage processing device of the fourth invention is a webpage 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 webpage, the storage unit stores the insertion content in association with the first webpage or the original translated webpage, and the page acquisition unit acquires the first webpage with the insertion content inserted when the instruction receiving unit receives an access instruction associated with a first language, and acquires the translated webpage with the insertion content or insertion content based on the insertion content 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 according to the third or fourth invention, wherein 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 to acquire a string of characters in one language, and 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 one 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 videos can be used.
[0015] In addition, 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 the device further includes an audio acquisition unit that acquires audio information in one language from the video, the translation acquisition unit acquires the result of audio translation in another language different from the one language of the audio information, and the storage unit stores the video and the result of the audio translation, or a video in which the audio information contained in the video has been replaced with the result of the audio translation, in association with the first web page or the original translated web page.
[0016] With this configuration, the results of the audio translation of the video can 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 reflecting the insert content to be inserted into the first web page accepted by the change acceptance unit, or acquires the first web page reflecting 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, a mode can be set as to whether or not the inserted content is reflected in web pages in other languages.
[0019] In addition, the web page processing device of the eighth invention is a web page processing device further including, relative to any one of the first to seventh inventions, a change receiving unit receives original change information identifying an original change which is a manual change made to at least a portion of the first web page, a storage unit updates the first web page using the original change information, a 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 the terminal device, the change accepting unit receives translation change information for the machine translated information from the terminal device, the location information acquisition unit acquires translation location information identifying the locations changed by the translation change information, and the storage unit is a web page processing device that stores the original translation web page, which is information that is the source of a translated web page obtained by translating a first web page into a second language and includes the translation change information accepted by the change accepting unit, and the translation location information acquired by the location information acquisition unit, in association with the first web page.
[0022] This configuration enables the user to correct the results of the machine translation.
[0023] Furthermore, the web page processing device of the tenth invention is a web page processing device according to any one of the first to ninth inventions, in which 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] In addition, the web page processing device of the eleventh invention is a web page processing device further including 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 receiving 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, further comprising a dictionary utilization unit that stores a term dictionary having one or more correspondence information relating to a correspondence between a first term in a first language and a manually input second term which is a translation of the first term into a second language, or one or more correspondence information relating to a correspondence between a machine-translated second term which is a result of machine translation of the first term into a second language and a manually input second term, in correspondence with a first web page or an original translated web page, and that uses the term dictionary to convert a first term in the first web page into the manually input second term, or to convert a machine-translated second term in the original translated web page into the 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 correspondence with the first web page.
[0028] With this configuration, a glossary can be used to obtain an appropriate translated web page.
[0029] In addition, the web page processing device of the thirteenth invention is a web page processing device in which, compared to the twelfth invention, the change accepting unit accepts correspondence information and the storage unit stores the correspondence information accepted by the change accepting unit in a terminology dictionary.
[0030] With this configuration, a term dictionary can be registered to obtain an appropriate translated web page.
[0031] In addition, 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, which is information that specifies a translation route when translating a first language into a second language, is stored, and the translation acquisition unit is a web page processing device that acquires a second web page source in which at least a first language portion of a first web page in a first language has been machine-translated into an intermediate language identified by the intermediate language identifier in the translation route information, and the result of the machine translation has then been machine-translated into the second language.
[0032] With this configuration, a translation route for a web page can be set.
[0033] In addition, the web page processing device of the fifteenth invention is a web page processing device according to any one of the first to fourteenth inventions, further comprising a used engine information storage unit in which two or more used engine information pieces having attribute value conditions related to attribute values of translation units of the web page and translation engine identifiers that identify the translation engines to be used for machine translation are stored, 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 translating each translation unit into a second language.
[0034] With this configuration, a translation engine suitable for translation can be used.
[0035] In addition, the web page processing device of the sixteenth invention is a web page processing device according to any one of the first to fifteenth inventions, further comprising 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, the second URI being 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] With this configuration, a translated web page that is effective for SEO measures can be constructed.
[0037] Furthermore, the web page processing device of the seventeenth invention is a web page processing device in which, compared to the second invention, 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 when the instruction receiving unit receives an access instruction associated with the second language, the page acquisition unit combines the predetermined tags of the first web page with the translated web page source to construct a translated web page.
[0038] With this configuration, even when creating web pages in multiple languages, the amount of storage media can be reduced.
[0039] In addition, the web page processing device of the 18th invention is a web page processing device in which, compared to any one of the first to 17th inventions, the translation acquisition unit acquires a second original web page which also has translation meta tags obtained by machine-translating the meta tags of the first web page into a second language.
[0040] With this configuration, a translated web page that is effective for SEO measures can be constructed. Effect of the Invention
[0041] According to the web page processing device of the present invention, the second web page obtained by machine-translating the first web page can be appropriately modified. [Brief description of the drawings]
[0042] [Figure 1] Conceptual diagram of information system A in embodiment 1. [Diagram 2] Block diagram of Information System A [Diagram 3] A block diagram of a web page processing device 1 constituting the information system A. [Figure 4] A flowchart for explaining an example of the operation of the web page processing device 1. [Diagram 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 for explaining an example of the operation of the terminal device 2 [Figure 13] FIG. 2 is a diagram showing an example of the first web page. [Figure 14] FIG. 13 is a diagram showing an example of a script for the first web page. [Figure 15] A diagram showing the engine management table for the same use [Figure 16] A diagram showing the translation route management table [Figure 17] FIG. 13 is a diagram showing an example of information including the second web page source. [Figure 18] A diagram 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 translation web page source. [Figure 22] A diagram to explain the dictionary function [Figure 23] A diagram to explain the dictionary function [Figure 24] A diagram showing an example of the dictionary window. [Diagram 25] A diagram explaining the operation of inserting the video [Figure 26] A diagram explaining the operation of inserting 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 PREFERRED EMBODIMENTS
[0043] Hereinafter, an embodiment 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, an information system having a web page processing device is described, in which a part of a translation obtained by machine translating a web page in a first language into a second language can be manually corrected, and the translation, which is a combination of the machine translation and the manual translation, can be viewed 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 in which, when inserting content such as still images, videos, APIs, etc. into a machine-translated web page, the inserted content is reflected in the original web page.
[0046] In addition, in this embodiment, we will explain an information system equipped with a web page processing device in which, when inserting content such as still images, videos, APIs, etc. into a web page to be translated, the content is reflected in the web page after machine translation.
[0047] In addition, in this embodiment, when the inserted content is a still image or a video, an information system having a web page processing device that also translates the text part of the still image or video will be described. Also, when a still image or video is included in a web page to be translated, an information system having a web page processing device that also translates the text part of the still image or video will be described.
[0048] In addition, in this embodiment, when the insert content is a video, an information system including a web page processing device that also translates the audio part of the video will be described. Also, when the original web page contains a video, an information system including a web page processing device that also translates the audio part of the still image will be 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 an 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 addition, in this embodiment, an information system including a web page processing device that can obtain an appropriate translated web page in a second language by using a term dictionary will be described.
[0053] In addition, in this embodiment, an information system having a web page processing device capable of setting a route for machine translation of a web page will be described.
[0054] In addition, in this embodiment, an information system having a web page processing device that can automatically determine and use an optimal translation engine according to the attribute values of translation units of a web page will be described.
[0055] In this embodiment, an information system having 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 may be a URN (Uniform Resource Name), or any other information that can be used to access a web page.
[0056] In addition, 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 on recording media will be described.
[0057] Further, in this embodiment, an information system including 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 the present 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, the translation engine 3, and the web server 4 are so-called server devices here. The web page processing device 1 and the like are, for example, a cloud server or an ASP server, but the type and the location of installation 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, by 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 obtains 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 obtains 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] Fig. 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 constituting 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, an engine use 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 determination 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 .
[0072] Various types of information are stored in the storage unit 11 constituting the web page processing device 1. The various types of information are, for example, web pages, engine information used as described later, translation route information as described later, reflection mode as described later, terminology dictionary as described later, user interface, screen information, etc. The user interface (hereinafter, appropriately referred to as UI) is an operation object that allows selection of an edit mode in which a web page 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. In addition, the UI and screen information can be realized by, 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 with a language identifier that identifies the language, and by inspecting a character string in a web page and being able to obtain the language identifier. Note that the technology for obtaining a language identifier from a character string is a publicly known technology.
[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. It is preferable that the page storage unit 111 stores a first web page associated with the first language and two or more translated web page 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 translation webpage source is information that is the source of the translation webpage. The translation webpage is a webpage in which all or part of a first webpage is translated into a second language. The translation webpage source is a second webpage source or a third webpage source. The translation webpage source is a collection of information in which the portion of the first webpage to be translated is translated into a second language. The portion to be translated is, for example, the entire first webpage, the natural language portion of the first webpage, the portion of the first webpage excluding predetermined tags (which may be all tags), or the portion of the first webpage excluding predetermined tags and script portions. When the portion to be translated is the entirety, the translation webpage source is the translation webpage. The translation webpage is a webpage translated into a second language.
[0076] The second web page source is information that is the source 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 entirety of the first web page, or only a portion of it. 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 having translation change information that has been manually corrected for the second web page. The third web page source is a web page having translation change information that has been manually corrected for the second web page. The third web page source is information that has information that has been manually corrected for a portion of the translation target part 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 is either a second web page that is machine translated only and has no human translation, or a third web page that is machine translated and also has a human translation.
[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] The engine information used is information for specifying the translation engine 3 to be used for machine translation. It is preferable that the engine information used has 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 be present within the web page processing device.
[0081] It is preferable that the engine information to be used has 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, and a data type. The language identifier is information that identifies the language of the translation unit (for example, Japanese, English, Korean, Chinese, Arabic, Spanish, French, etc.). The class identifier is information that identifies the class of the translation unit. The class is a classification, such as the technical field of the text (for example, medical texts, informatics texts, chemical texts, etc.), the level of the text (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 among 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 a first language is translated into a second language. The translation route information is information that specifies a translation route when a first language and a 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 result of the machine translation is 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] When the engine-to-be-used information also serves as the 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. Corresponding to a first web page may be considered to be corresponding to a corresponding translated 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 a manual correction made to a first web page or a translated web page is to be reflected in another web page in a different language.
[0090] The reflection mode may correspond to the first web page, may correspond to a folder in which one or more first web pages are stored, or may correspond 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 allowing appropriate terms to appear on 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 on the correspondence between a first term in a first language and a manual second term. The correspondence information is, for example, information having a first term in a first language and a manual second term in a second language. The correspondence information is, for example, information on the correspondence between a machine-translated second term and a manual second term. The correspondence information is, for example, information having a machine-translated second term and a manual second term. The machine-translated second term is a term in a second language that is a result of machine translation of a first term. The manual second term is a term in a second language that is a translation of a first term and is manually input. A term is usually one 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 modification instruction (to be described later), and translation modification 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 (e.g., 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, for example, information A has information B, 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 is, for example, translation change information, original change information, and inserted content.
[0098] The change receiving unit 122 receives a change instruction having translation change information. The change instruction may have 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 changed to a portion of the original second web page, and is information (e.g., a character string) in a first language that has been manually changed to a second language (e.g., a character string). The translation change information is usually associated with translation portion information that identifies the portion that has been changed. The translation portion information may be information that identifies a portion of the original second web page, or may be information that identifies a portion of the first web page.
[0100] The change receiving unit 122 may, for example, receive translation portion information from the terminal device 2 in association with the translation change information. The change receiving unit 122 may, for example, use the translation change information and the second original web page to acquire translation portion information that identifies a portion in the second original web page to which the translation change information corresponds. 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 original web page to which the translation change information corresponds.
[0101] The translation location information is, for example, information identifying a location in the original first web page or the original 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 the original 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 point information that specifies the insertion point of the content.
[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 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 specifies the insertion point in the web page, such as a link in the web page, an offset in the web page, or a tag in 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 change location.
[0107] The change receiving unit 122 may receive a change instruction having original change information. The change instruction may have 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 in a first language. The original change information includes, for example, a tag. The original change information is associated with original location information, which identifies, for example, a location of the change in the first web page.
[0109] The original location information is, for example, the offset of the start of the change and the offset of the end of the change. The original location information is, for example, information that identifies the start tag and the end tag of the change. It is preferable that the structure of the original location information and the structure of the translated 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 having translation change information only when the edit mode is selected. It is preferable that the change receiving unit 122 receives a change instruction having translation change information only when the mode selected by the user is the 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 acceptance unit 122 may accept the corresponding information. It is preferable that the change acceptance unit 122 receives the corresponding information from the terminal device 2.
[0113] Incidentally, the reception of instructions or information in the change reception unit 122 is usually reception from the terminal device 2. However, the reception may be a concept including reception of information inputted from an input device such as a keyboard, a mouse, or a touch panel, reception of information read out from a recording medium such as an optical disk, a magnetic disk, or a semiconductor memory, and the like.
[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 by 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] The translation acquisition unit 131 transmits, for example, 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. The translation acquisition unit 131 transmits, for example, the translation target of the first web page, the first language identifier, and the 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 of a video described later, or source change information of the first language described later. Information handled by the translation acquisition unit 131 at one time is called a translation unit. The translation unit is, for example, the entire first web page, information between a specific start tag and an end tag, a paragraph, a sentence, or special information. The special information is, for example, a meta tag, a still image, a video, a set of consecutive characters (character strings) in a still image, or a set of consecutive characters (character strings) in each field of a video. For machine translation with high accuracy, the translation unit is better to be small. However, to improve the speed of machine translation, it is better to use larger translation units.
[0117] It is preferable that the translation acquisition unit 131 acquires a second web page source corresponding to a first web page corresponding to an access instruction when a translated web page source in a 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 web page in the first language 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 by the character string acquisition unit 136 from a still image or a video into a language different from the given language.
[0119] The translation acquisition unit 131 may use a still image in which a character string in one language is displayed to generate a still image in which the above-mentioned translation result of the character string in another language is displayed. Furthermore, the translation result of the character string in another language may be placed in the still image in addition to the character string in the one language, or the translation result of the character string in the other language 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 the speech translation is performed by, for example, the translation engine 3, but may also be performed by the translation acquisition unit 131. Since the speech translation is a well-known technique, a detailed description thereof will be omitted.
[0121] The translation acquisition unit 131 may create a moving image that includes the results of the speech translation. The translation acquisition unit 131 may create a moving image in which speech information in one language is replaced with the results of the speech translation in another language. The translation acquisition unit 131 may also create a moving image in which a character string in one language in each field is replaced with the results of the character string translation in another language, or may create a moving image in which, in addition to the character string in one language in each field, the results of the 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 in which at least a first language portion of a first web page in a 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 a second language.
[0124] The translation acquisition unit 131 is a translated web page source corresponding to the access instruction, and when the determination unit 138 determines that a translated 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 in which at least a portion of the first language of the first web page corresponding to the access instruction is machine-translated 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 transmits, for example, 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] It is preferable that the translation acquisition unit 131 acquires 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 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 a 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 described later to acquire a character string. Next, the translation acquisition unit 131 performs machine translation processing on the character string 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] 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, as will be described later.
[0130] The attribute value acquiring unit 1311 acquires an 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. 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. In addition, the attribute value acquisition means 1311 performs machine learning prediction processing using, for example, a classifier in the storage unit 11 to acquire a class identifier of the translation unit.
[0132] The classifier in the storage unit 11 is information created by performing a machine learning learning process on two or more pieces of teacher data each having a class identifier and a set of one or more sentences in the first language. The classifier in the 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 teacher 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 such a dictionary to acquire, for each class identifier, the number of terms that the translation unit has that are included in the keywords, 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] The translation engine identifier acquisition means 1312 acquires, for each translation unit, 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, refers to 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 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 the second language identifier, or may be the translation unit, the first language identifier, and the 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, for example, 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 a first URI of a first web page, and acquires a second URI for accessing a translated web page, which is a URI with a unique character string added to the lowest position of the first URI. The unique character string is, for example, information that can identify a second language. The first URI of the first web page is stored in the page storage unit 111 in association with the first web page. The first URI of the first web page is, for example, a file name of the first web page.
[0141] For example, when 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 a character string " / en" corresponding to English from the storage unit 11 and constructs the second URI "https: / / aaa.co.jp / wp / en". When the second language is Chinese, the URI acquisition unit 132 acquires a 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 part information acquired by the part 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 part information acquired by the part information acquisition unit 135 in association with the first web page in the storage unit 11. However, the accumulation destination of this information may be an external device.
[0143] The translation webpage source is information that is the source of the translation webpage. The translation webpage source may be, for example, a second webpage source that is a machine-translated version of a first webpage into a second language. The translation webpage source is, for example, the translation change information accepted by the change accepting unit 122 and information that is a machine-translated version of a first webpage into a second language. The translation webpage source is, for example, the translation change information accepted by the change accepting unit 122 and information that is a machine-translated version of a first webpage into a second language, excluding the part that corresponds to the translation change information.
[0144] The storage unit 133 may store the inserted content accepted by the change accepting 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. 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 result of the character string translation, or the insert content reflecting the result of the character string translation, 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 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 the second web page source is transmitted to the terminal device 2, for example.
[0149] The part information acquisition unit 135 acquires the translation part information. The translation part information is information that identifies a part of the second web page source that has been changed by the translation change information. The part information acquisition unit 135 acquires, for example, the 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 a part that has been changed by translation change information that 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 the original location information may be information that identifies an original location of the second web page, or may be information that identifies a location of the first web page. The location information acquisition unit 135 may acquire the translation location information or the original location information received in association with the translation change information, or may autonomously acquire the translation location information or the original location information. The translation location information and the original location information are a start offset, a start offset and an end offset, a link, a sentence ID, a tag, etc. that identify a start location. In addition, the original location information usually has the same data structure as the translation location information.
[0153] The character string acquiring unit 136 performs character recognition processing on a still image to acquire a character string in one language. The character string acquiring 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 acquiring unit 136 may hold a character string for each field, or may hold character strings from all fields together.
[0154] The character string acquiring unit 136 may recognize the voice information of the video and acquire the character string. The character string acquiring unit 136 may hold one or more character strings for each piece of voice information corresponding to each field (for each field), or may hold the character strings of the voice 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, for example, 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 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 in association with each other.
[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 a translation web page in a second language using the translation web page source acquired by the translation acquisition unit 131.
[0159] If the translated web page source exists in the page storage unit 111, the page acquisition unit 139 uses the translated web page source 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 composes a translated web page by combining the tag of the first web page with the original translated web page.
[0161] When the instruction receiving unit 121 receives an access instruction associated with the first language, the page acquiring unit 139 acquires 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 a second language, the instruction receiving unit 121 obtains 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 insert 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 reflecting the insert 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 translated web page source. For example, the dictionary utilization unit 130 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 a translation result of the translated web page source. For example, the dictionary utilization unit 130 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. 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, a UI, various screens, and web pages.
[0167] The machine translation output unit 141 outputs the machine translation information. For example, when the translation acquisition unit 131 acquires machine translation information obtained by machine-translating the original modification information in the first language into the second language, the machine translation output unit 141 outputs the machine translation information. Here, the output usually means transmission to the terminal device 2. However, the output may be a concept including display on a display, projection using a projector, printing on a printer, sound output, storage on a recording medium, delivery of the processing result to another processing device, another program, etc. The machine translation 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 unit 11 is usually used as the storage destination, but it may 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 a menu 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 are, 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 are, for example, an access instruction, a change instruction, translation change information, insert 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 and a reflection mode. The change instruction includes, for example, any of the translation change information, insert content, and original change information.
[0173] The means for inputting various instructions and information may be any means, such as a touch panel, a keyboard, a mouse, or a menu screen.
[0174] The device processing unit 23 performs various types of processing. For example, the various types of processing are processing for configuring information received by the device receiving unit 25 into data to be displayed. For example, the various types of processing are processing for configuring instructions, etc. accepted by the device accepting unit 22 into instructions, etc. to be transmitted.
[0175] The terminal transmitting unit 24 transmits various instructions, information, and the like to the web page processing device 1. The various instructions, information, and the like are, for example, instructions configured by the terminal processing unit 23, instructions and information accepted by the terminal accepting unit 22, and the like.
[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 are, 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 are, for example, web pages, machine translation results, UIs, and screens.
[0178] The storage unit 11, page storage unit 111, engine usage 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 with 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 inputted via an input device may be stored in the storage unit 11, etc.
[0180] Receiving unit 12, instruction receiving unit 121, change acceptance unit 122, and terminal receiving unit 25 are typically realized by wireless or wired communication means, but may also be realized by means for receiving broadcasts.
[0181] The processing unit 13, the translation acquisition unit 131, the URI acquisition unit 132, the storage unit 133, the UI acquisition unit 134, the location information acquisition unit 135, the character string acquisition unit 136, the voice acquisition unit 137, the determination unit 138, the page acquisition unit 139, the attribute value acquisition means 1311, the translation engine identifier acquisition means 1312, the translation acquisition means 1313, and the terminal processing unit 23 can usually be realized by a processor, a memory, or the like. The processing procedure of the processing unit 13 is usually realized by software, and the software is recorded in a recording medium such as a ROM. However, it may be realized by hardware (dedicated circuit). The processor may be a CPU, an MPU, a 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 be considered to include, 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 a combination of driver software for an output device and an 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 judges 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, and 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 or not 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 or not a first web page or a translation source web page that exists at a 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.
[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 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 a translated web page source corresponding to the second language identifier, for example, the language identifier acquired in step S402, 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] Furthermore, 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 that corresponds 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. Then, 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 acquire a translation web page source in a language identified by the language identifier acquired in step S402, using the first web page.
[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 translated web page source acquired in step S406.
[0197] (Step S409) The storage unit 133 stores the translation web page source acquired in step S406 in a storage location identified by the second URI acquired in step S408. The translation web page source 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 translation web page source have a predetermined relationship (e.g., they partially overlap), but the method of association is not important.
[0198] (Step S410) The processing unit 13 acquires the translated web page by 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 has sent the access instruction.
[0200] (Step S412) The processing unit 13 judges 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, and 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, in the case of access by a web page administrator), the processing unit 13 judges 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 transmitting 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 judges 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 original translated web page.
[0205] (Step S417) The receiving unit 12 judges 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 is, 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 according to the type of the setting information.
[0207] When the setting information is engine use information, the accumulation unit 133 accumulates the setting information in the engine use information storage unit 112. When the setting information is translation route information, the accumulation unit 133 accumulates the setting information in the translation route information storage unit 113. When the setting information is an edit mode, the accumulation unit 133 accumulates the setting information in the edit mode storage unit 114. When the setting information is a 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. When 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 is issued 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 out from page storage unit 111 a first web page in the first language which is a web page corresponding 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 specifying a portion in the first web page and is information specifying a portion of the i-th translation unit.
[0215] (Step S506) The translation acquisition unit 131 determines a translation engine to be used for machine-translating the i-th translation unit. An example of such a translation engine determination process will be described with reference to the flowchart of FIG.
[0216] (Step S507) The translation acquisition unit 131 judges whether the data type of the i-th translation unit is a character string or not. 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 of 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 of 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 unit 1311 acquires a first language identifier that identifies the language to be translated.
[0222] (Step S602) The attribute value acquiring unit 1311 acquires the second language identifier of the second language which 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 acquiring means 1311 judges whether or not 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 acquiring means 1312 assigns 1 to a counter i.
[0227] (Step S607) Translation engine identifier acquisition means 1312 judges whether or not the i-th attribute value condition exists in used engine information storage unit 112. If the i-th attribute value condition exists, the process proceeds to step S608, and if not, the process proceeds to step S611.
[0228] (Step S608) The translation engine identifier acquisition means 1312 judges whether or not one or more attribute values to be translated 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 acquiring unit 1312 acquires one or more translation engine identifiers that are paired with the i-th attribute value condition, and then returns to the upper level process.
[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 judges whether or not the data type acquired in step S603 is a “still image.” If it is a “still image,” the process proceeds to step S613, and 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 judges whether or not the data type acquired in step S603 is “moving image.” If it is “moving image,” the process proceeds to step S615, and if it is not “moving image,” the process proceeds to step S611.
[0235] (Step S615) The character string acquiring unit 136 performs character recognition processing on each field of the moving image to be translated, and acquires one or more character strings from each field. Note that here, the character string acquiring 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 voice acquiring unit 137 acquires voice information from the video to be translated.
[0237] (Step S617) The character string obtaining unit 136 performs a voice recognition process on the voice information obtained in step S616, and obtains 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, the attribute values of character strings obtained from still images and videos are obtained collectively, and the translation engine 3 is determined. However, attribute values may be obtained for each divided character string in a still image, and a translation engine 3 may be determined. Also, attribute values may be obtained for each frame of a video, and a translation engine 3 may be determined. In other words, the unit for obtaining attribute values and determining the 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 or not 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 by 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 process.
[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 judges whether the i-th corresponding information exists. If the i-th corresponding information exists, the process proceeds to step S803. If the i-th corresponding information does not exist, the process returns to the upper process. Note that the i-th corresponding information is the i-th corresponding information in the corresponding information in the dictionary storage unit 116 or the corresponding 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 or not the jth term that matches the machine-translated second term acquired in step S803 exists in the target translation source web page. 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 contained 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 judges whether the data type of the translation target is a still image or not. 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 acquiring unit 136 recognizes characters in the still image to be translated and acquires one or more character strings. Note that here, the character string acquiring 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, and creates 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) Translation acquisition unit 131 judges whether the data type of the translation target is a moving image or not. 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 voice acquiring unit 137 acquires voice information from the video to be translated.
[0264] (Step S907) The translation acquisition unit 131 performs a speech translation process on the speech information acquired in step S906 to acquire speech information in the second language. Note that the speech translation process is a well-known technique, and therefore a detailed description thereof will be omitted. In addition, VoiceTra (URL: https: / / play.google.com / store / apps / details?id=jp.go.nict.voicetra&hl=ja) or the like can be used as the 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 or not the i-th field exists in the video to be translated. If the i-th field exists, the process proceeds to step S910. 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 each of 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 construct 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 compose a video in the second language, and then returns to the upper level process.
[0274] Next, an example of the change process in step S416 will be described with reference to the flowchart in FIG.
[0275] (Step S1001) The processing unit 13 judges whether or not 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 storage unit 133 acquires translation portion information. Note that the translation portion information is included in the received modification instruction, for example.
[0277] (Step S1003) Accumulation unit 133 accumulates the translation change information and the translation portion information in association with the first web page in page storage unit 111. Then, the process returns to the upper level process.
[0278] (Step S1004) The processing unit 13 judges whether or not 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 judges whether the reflection mode acquired in step S1006 is information indicating "reflection." If it is to be reflected, the process proceeds to step S1008, and if it is not to be reflected, 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 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 judges 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 storage 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, and executes the dictionary use process. The process returns to the upper process. An example of the dictionary use process has been described with reference to the flowchart of FIG.
[0290] (Step S1016) The processing unit 13 judges whether or not the information included in the received modification instruction is the inserting content. If it is the inserting content, the process proceeds to step S1017, and if it is not the inserting content, the process returns to the upper process.
[0291] (Step S1017) The processing unit 13 performs an inserting content process. An example of the inserting content process will be described with reference to the flowchart in Fig. 11. The process returns to the upper level process.
[0292] In the flowchart of Fig. 10, when the original modification information is received, if there are two or more translation web page sources in a language other than the first language, a reflection mode may be set for each translation web page source. In this case, the translation result of the modified original modification 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) Accumulation unit 133 performs processing to insert the insert content into the inserted web page, and accumulates in page storage unit 111 the web page into which the insert content has been inserted.
[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 inserting content. The translation engine determination process has been described with reference to the flowchart of 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 of FIG.
[0300] (Step S1107) The storage unit 133 inserts the insert content translated into the i-th language into the original translation page of the i-th 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 judges 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 a language identifier from 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) The terminal receiving unit 25 judges whether or not a web page corresponding to the access instruction and in a language identified by the language identifier has been received. If the web page has been received, the process proceeds to step S1204, and if the 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) Terminal reception unit 25 judges whether or not a UI capable of switching 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 judges 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 judges 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 having 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 judges 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 judges 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 configure information to be output. The device output unit 26 outputs the information. Return to step S1201.
[0316] (Step S1214) Terminal reception unit 22 judges 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 configure 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 make the displayed web page editable.
[0318] The specific operation of the information system A in this embodiment will be described below. Three specific examples will be described below. Specific Example 1 describes a case where a second web page source is obtained from a first web page, a case where the second web page source is changed manually, a case where a part of the first web page is changed and the change is reflected in the second web page source, and a case where a machine translation result is changed manually when a part of the first web page is changed. Specific Example 2 describes a dictionary function. Specific Example 3 describes a 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 reflected in the translated web page.
[0319] (Example 1) Assume now 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 the script shown in 1401 in FIG. 14. The script in 1401 is a script that executes a program for operating the functions of web page processing device 1. In other words, simply by inserting the script in 1401 into the first web page, the web page can be made compatible with one or more other 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 having an "ID", an "attribute value condition", and a "translation engine identifier". The "attribute value condition" here has a "first language identifier", a "second language identifier", and a "class identifier". It is to be noted that the "ID" is information for identifying the record. It is assumed that the "attribute value conditions" here are arranged in order of priority. The "attribute value condition" here 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] It is also assumed that the translation route information storage unit 113 stores a 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". The "ID" is information for identifying a record. The record with "ID=1" indicates that when translating from Japanese to Arabic, a machine translation is performed from "Japanese to English" and then from "English to Arabic". In other words, the "translation route information" has a "first language identifier, an intermediate language identifier, and a second language identifier". It is also acceptable for there to be two or more intermediate language identifiers. In other words, for example, the "translation route information" with "ID=2" may be, for example, "Chinese → French → English → Swahili".
[0322] Furthermore, it is assumed that the reflection mode storage unit 115 stores "ON" (reflected) 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 an 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 a 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-mentioned 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] Here, it is assumed that the translation acquisition unit 131 has acquired the information group shown in FIG. 17. In FIG. 17, the record has records each having "ID", "first language", "data type", "translation portion information", "second language", and "manual flag" for the number of translation units. "ID" is information for identifying the translation unit. "First language" is the translation unit of the first web page. "Data type" is the data type of the translation unit. "Translation portion information" is information for identifying the location of the translation unit of the first web page. "Second language" is the translation result of machine translation or the translation result of machine translation that has been manually corrected. The attribute value of "second language" is information constituting the second web page source or the translated web page source. "Manual flag" is information indicating whether the attribute value of "second language" is the translation result of machine translation (value "0") or the translation result that has been manually corrected (value "1"). The acquired second web page source is a set of attribute values of "second language" in FIG. 17.
[0328] Additionally, the "translation location information" here is the offset of the first web page, but it may also be the offset of the original second web page, or a tag that identifies a location, and is sufficient as long as it is information that can determine the location where the "second language" attribute value is to be 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 a character string " / en" that corresponds to the language identifier "English" of the acquired translated web page source from the storage unit 11-1, adds the character string at the bottom of the first URI, and acquires a 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 can be stored in association with the first web page.
[0331] Next, the processing unit 13 combines a set of attribute values (translation portion information) and "second language" in Fig. 17 (translation web page source) 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 / 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 the UI and outputs it on top of the translated web page.
[0334] An example of such output is shown in Fig. 18. In Fig. 18, 1801 is an example in which a character string portion of a first web page has been machine-translated into a second language, English. Note that the video in the first web page is not the subject of translation here, and the character string displayed in the first field of the video in 1802 remains in Japanese. However, as described above, the character string 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 an 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 the edit mode.
[0336] Next, the device processing unit 23 performs processing for transitioning to edit mode. Note that, here, a different web page from the web page in FIG. 18 will be used for explanation. The device processing unit 23 performs processing for clearly indicating editable information (here, character strings). Here, the processing for clearly indicating editable information is processing for underlining 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 portion, “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 a button 2002 for changing the font size in an operation window 2001 for changing the font attribute value, 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 a "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, you can change the font type to Bold or Italic, as shown in Figure 20.
[0340] The terminal receiving unit 22 then receives the change instruction. Next, the device processing unit 23 uses the received change instruction to compose a change instruction to be transmitted. This change instruction includes translation change information, which is the changed character string, and translation portion information, which specifies 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 an attribute value of "second language" of the record of "ID=21" in FIG. 17, and changes the "manufacturing flag" of the record to "1".
[0342] In this manner, the translated original web page including the manually modified parts is stored in association with the first web page.
[0343] In addition, while the font attribute value of a portion of a character string 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 character string on the first web page that corresponds to the portion of the character string to the same attribute value.
[0344] 13 on the terminal device 2, the user changes the character string 1301 "Ask a question" to "Ask a question." The terminal device 2 then accepts a change instruction and transmits it to the webpage 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, the translation acquisition unit 131 acquires the English word "Query" from the original change information "Ask a question" through the above-mentioned process. Then, the translation acquisition unit 131 overwrites "Query" with "Question" that is paired with the part information of 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 correct the machine translation result. For example, assume 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 modification instruction including "Inquire", the location information, the URL of the first web page, and information indicating that the machine translation result is to be modified.
[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 a change to the machine translation result that is included in the received change instruction.
[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 original translated web page is shown in FIG. 21. That is, the above process has changed 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 of FIG.
[0355] 22 is displayed on the terminal device 2. Then, it is assumed that 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 information to be transmitted 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 a dictionary utilization process as follows. That is, the translation acquisition unit 131 changes "news" to "press" in the English translation web page in Fig. 22. That is, the processing unit 13 rewrites "news" in the character string in the second language of the original translation web page to "press" and changes the "manufacturing flag" paired with the rewritten "second language" to "1".
[0360] As a result, the translation web pages can be appropriately changed in a batch. Also, the registered dictionary information can be used to assist machine translation.
[0361] It is preferable that correspondence information of the term dictionary can be registered only for the translation web page 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 the translation web page or can be pressed only for the translation web page.
[0362] (Example 3) Assume that the first web page of Fig. 25(a) is currently being displayed on terminal device 2. In this situation, assume that the user places the mouse pointer on the location where the user wishes to insert a video and right-clicks, as shown in 2601 of Fig. 26. Then, a video insertion window 2602 shown in Fig. 26 is displayed on terminal device 2. Then, assume that the user enters a URL that specifies the video to be inserted in field 603. Next, assume that the user selects "+" 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 compose 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 change instruction is an instruction to insert a video, a URL which is information identifying the video, information on 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 acceptance 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, accumulation unit 133 creates a first web page to which the video corresponding to the received URL is added, and overwrites page storage unit 111 .
[0367] Next, the storage unit 133 inserts the video inserted into the first web page into the original English translation web page, which is the original translation web page. That is, the storage unit 133 creates an original translation web page in which the video specified by the URL is inserted into the location corresponding to the received location information, and stores the original translation 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, and therefore a detailed description thereof will be omitted. Note that an example of a web page into which such a video has been inserted is shown in FIG. 25(b).
[0368] Through 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 therein, and the page sending unit 143 sends the translated English web page with the video inserted therein to the terminal device 2.
[0370] Next, the terminal device 2 receives and outputs the translated English web page into which the video has been inserted. An example of such output is 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 modification instruction. The modification 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 the specific example 3, the translation acquisition unit 131 did not translate the video inserted in the first web page. In other words, the translation acquisition unit 131 did not translate the video in order to avoid infringing the copyright of the video inserted in 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 in 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 translated original 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 be reflected in the first web page as well.
[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 parts of still images and videos can be used.
[0380] Furthermore, according to this embodiment, the results of speech translation of video can be used.
[0381] According to the present 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 terminology dictionary 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 applications other than web pages.
[0388] 27 shows a block diagram of such translation device 5. Translation device 5 includes used engine information storage unit 112, translation acquisition unit 51, and translation output unit 52. Translation acquisition unit 51 includes attribute value acquisition means 1311, translation engine identifier acquisition means 1312, and 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, a document file, a still image, a video, etc. The translation unit may be the entire translation target, a file, a paragraph, a sentence, an object, etc. The translation target may be present 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 result from the translation engine 3 .
[0391] The translation acquisition means 511 transmits the translation unit etc. to the translation engine 3 identified by the translation engine identifier acquired by the translation engine identifier acquisition means 1312, for example, and receives the machine translation result from the translation engine 3. Note that the translation unit etc. may be just the translation unit, or may be the translation unit and the second language identifier, or may be the translation unit, the first language identifier, and the 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 gives the translation unit to software identified by the translation engine identifier acquired by the translation engine identifier acquisition means 1312, for example, and acquires the machine translation result.
[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 passing the processing results to other processing devices, other programs, etc.
[0394] That is, the translation device 5 includes an engine information storage unit 112 for storing two or more pieces of engine information having attribute value conditions related to attribute values of translation units to be translated and translation engine identifiers for identifying translation engines to be used for machine translation, an attribute value acquisition means 1311 for acquiring attribute values for each translation unit to be translated, a translation engine identifier acquisition means 1312 for acquiring, for each translation unit, a translation engine identifier that pairs with the attribute value condition that matches the attribute value, and a translation acquisition means 511 for passing each translation unit to a translation engine identified by the translation engine identifier and acquiring from the translation engine a machine translation result of pre-machine translating each translation unit. and a translation output unit 52 that outputs the machine translation result for each translation unit acquired by the translation acquisition means 511.
[0395] The translation acquisition unit 51 and the translation acquisition means 511 can be usually realized by a processor, a memory, etc. The processing procedure of the translation acquisition unit 51, etc. is usually realized by software, and the software is recorded in a recording medium such as a ROM. However, it may be realized by hardware (dedicated circuit). The processor may be a CPU, MPU, GPU, etc., and the type is not important.
[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 an output device, etc. The process in the present embodiment may be realized by software. The software may be distributed by software download or the like. The software may be recorded on a recording medium such as a CD-ROM and distributed. This also applies to other embodiments in the present specification. The software for realizing the web page processing device 1 in the present embodiment is a program as follows. That is, the program causes a computer to function as 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 acceptance unit that accepts translation change information that is a change of a result of a manual machine translation of at least a part of the second web page source, a location information acquisition unit that acquires translation location information that identifies a location of the second web page source that has been changed by the translation change information, and a storage unit that associates the translation web page source, which is information that is the 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 by the location information acquisition unit, with the first web page and stores them.
[0397] Fig. 28 shows the appearance of a computer that executes the programs described in this specification to realize the web page processing device and the like of the various embodiments described above. The above-mentioned embodiments can be realized by computer hardware and a computer program executed thereon. Fig. 28 is an overview of this computer system 300, and Fig. 29 is a block diagram of the 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 for causing computer system 300 to execute functions such as the web page processing device of the above-mentioned 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 a third party program that causes the computer 301 to execute the functions of the web page processing device of the above-mentioned embodiment. The program only needs to include an instruction portion that calls appropriate functions (modules) in a controlled manner to obtain a desired result. How the computer system 300 operates is well known, and a detailed description 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 transmitting step (processing that is performed only by hardware).
[0403] The program may be executed by a single computer or a plurality of computers. That is, the program may be executed by a centralized processing or a 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] 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] INDUSTRIAL APPLICABILITY As described above, the web page processing device according to the present invention has an effect of being able to appropriately modify 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 section 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 Section 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 Unit 121 Instruction receiving unit 122 Change Reception Department 132 URI acquisition section 133 Storage Unit 134 UI acquisition department 135 Location Information Acquisition Department 136 String acquisition part 137 Voice Acquisition Unit 138 Judgment Department 139 Page Acquisition Section 139 Web Page Acquisition Unit 130 Dictionary Use 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, which is a change made manually to a result of the 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 source that has been changed by the translation change information; a storage unit that stores a translation web page source, which is information that is 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 portion information acquired by the portion information acquisition unit, in association with the first web page; The translation acquisition unit is A web page processing device obtains a second web page source also having 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 or not 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 is 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 a 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 a translated 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 acquiring unit to the terminal device.
3. The change acceptance unit is 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 corresponding to the first language, a first web page is obtained in which the insert content or insert content based on the insert content is inserted, and when the instruction receiving unit receives the access instruction corresponding to the second language, a translated web page is obtained in which the insert content is inserted.
4. The change acceptance unit is Accepting 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 corresponding to the first language, a first web page into which the insert content has been inserted is obtained, and when the instruction receiving unit receives the access instruction corresponding to the second language, a translated web page into which the insert content or insert content based on the insert content has been inserted is obtained.
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 is 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 4. 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; A voice acquisition unit for acquiring voice information in one language from the video, The translation acquisition unit is 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, further comprising: storing the video and the result of the voice translation, or the 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.
7. The method further includes the steps of: (a) providing a first web page or a second web page; and (b) providing a second web page or a third 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 for reflecting modifications, the translated web page is obtained by reflecting the insert content to be inserted into the first web page accepted by the change acceptance unit, or the first web page is obtained by reflecting the insert content to be inserted into the translated web page accepted by the change acceptance unit.
8. The change acceptance unit is accepting 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 is obtaining machine-translated information obtained by machine-translating the original modification 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 for outputting the machine translated information.
9. The machine translation output unit: Transmitting the machine-translated information to a terminal device; The change acceptance unit is receiving translation modification information for the machine-translated information from the terminal device; The location information acquisition unit obtaining translation portion information that identifies a portion that has been changed based on the translation change information; The storage unit is 9. The web page processing device according to claim 8, further comprising: a translation web page source, which is information that is the source of 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, which 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 is The web page processing apparatus according to claim 1 , wherein the translation change information is accepted only when the web page processing apparatus is 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 is 11. The web page processing apparatus 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 which 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 which 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; A dictionary utilization unit converts the first term in the first web page into a second term by using the term dictionary, or converts the machine-translated second term in the original web page into the second term by using the term dictionary, and obtains the original web page; The storage unit is 2. The web page processing apparatus according to claim 1, wherein the original translated web page and the translation portion information acquired by the dictionary utilization unit are stored in association with the first web page.
13. The change acceptance unit is receiving the corresponding information; The storage unit is The web page processing device according to claim 12 , wherein the change acceptance unit accumulates the accepted correspondence information in the term dictionary.
14. The translation route information storage unit stores translation route information, which is information for 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 is 2. A web page processing device as described in claim 1, wherein at least a first language portion of a first web page in a 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 method further includes a usage engine information storage unit in which 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 for identifying a translation engine to be used for machine translation are stored, The translation acquisition unit is An attribute value acquisition means for acquiring an attribute value 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; 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 translating 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 2. The web page processing apparatus according to claim 1, further comprising: storing the translated web page source so as to be accessible using the second URI.
17. The second webpage source is: 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 apparatus 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 of acquiring 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 by the translation acquisition unit; a change receiving step of receiving translation change information, the translation change being a change made manually to a result of machine translation of at least a part of the second original web page; a part information acquiring step of acquiring translation part information that identifies a part of the second web page source that has been changed by the translation change information; a storing step in which the storing unit stores a translation web page source, which is information that is 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 part information acquired in the part information acquiring step, in association with the first web page; The translation acquisition unit is The web page processing method further comprises obtaining a second web page source which also has a translation meta tag obtained by machine-translating a 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, which is a change made manually to a result of the 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 source 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 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 part information acquired by the part information acquisition unit, in association with the first web page, The translation acquisition unit is A program for causing the computer to function as obtaining 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
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
Photosensitive body
JP1988082477A