Text content providing system, text content providing method, computer program, and web file

The system addresses the challenge of accurately reading ruby on web pages by generating additional display codes to separate kanji and furigana, enhancing readability and searchability for non-native Japanese speakers.

JP2024128578AActive Publication Date: 2024-09-24ALFACADE CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023037609
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-10
Publication Date
2024-09-24
Estimated Expiration
2043-03-10

AI Technical Summary

Technical Problem

Conventional methods fail to accurately read aloud web pages with ruby readings, often reading both kanji and readings together or stopping mid-way due to ruby issues, making it difficult for non-native Japanese speakers to understand Japanese texts.

Method used

A text content providing system that includes a server and client, generating additional display codes to display ruby information alongside text content, using a ruby map and conversion scripts to control ruby display and reading, allowing selective display and reading of kanji and furigana.

Benefits of technology

Enables reliable reading of web pages with ruby using screen readers, reducing server load, and enhancing search engine accuracy by separating kanji and furigana readings, thus improving accessibility for non-native speakers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024128578000001
    Figure 2024128578000001
Patent Text Reader

Abstract

To perform reading of a web page in which the reading of Chinese characters are indicated by writing kana above them, more reliably than before by using a text reading function of a screen reader.SOLUTION: A web server 2 transmits, to a client, text context and correspondence relationship information associating with each other a specific portion in the text content and relevant information relevant to the specific portion. The client 3A generates an additional display code for arranging the relevant information near the specific portion and displaying the text content on the basis of the text content and the correspondence relationship information, and displaying the text content on a display with the relevant information arranged or not arranged near the specific portion selectively on the basis of the additional display code.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a technique for adding supplemental information such as ruby ​​notation to text content provided in the form of a web page or the like. [Background technology]

[0002] Japanese has a very different grammar from languages ​​such as English and French, and has many types of characters, including kanji, hiragana, and katakana. Therefore, it is difficult for people who do not have Japanese as their first language (non-native speakers) to read Japanese texts. Kanji characters in particular can have multiple ways of being read, and there are a huge number of characters, making them difficult to memorize. However, when living in Japan, there are times when you have no choice but to read Japanese texts.

[0003] Therefore, a technology has been proposed to add readings as ruby ​​to kanji characters included in electronic documents. For example, the text display device described in Cited Document 1 includes an application unit that performs data processing including text display processing, and a reading-kana adding unit that analyzes text input from the application unit and adds readings (ruby) to kanji parts included in the text. When the application unit is set to output readings (ruby), it transmits the text to be displayed to the reading-kana adding unit, requests it to add readings (ruby), and performs processing to display text with readings (ruby).

[0004] Also, a text-to-speech technology has been proposed that uses an artificial voice to read out electronic text. A screen reader is software that reads out a screen displayed on a display, and in recent years has become standard equipment in the operating systems of personal computers, tablet computers, smartphones, and the like. Microsoft's Windows 8 and later operating systems and Apple's Mac OS X v10.4 and later operating systems are equipped with screen readers that support Japanese. Note that "Windows" is a registered trademark.

[0005] In addition, screen readers are provided as software that expands the functionality of web browsers. For example, the software described in Non-Patent Document 1 is software that expands the functionality of web browsers, and can read out the text of a web page accessed by a web browser using an artificial voice, even if the text contains Chinese characters. [Prior art documents] [Patent documents]

[0006] [Patent Document 1] JP 2009-163479 A [Non-patent literature]

[0007] [Non-Patent Document 1] LSD Software “Read Aloud”, https: / / readaloud.app / Summary of the Invention [Problem to be solved by the invention]

[0008] When adding reading kana to kanji characters on a web page, the ruby ​​tag and rt tag are used.

[0009] However, when a web page with reading kana is read aloud by a conventional reading technology, both the kanji and the reading kana are read aloud. For example, the web page 51 shown in Figure 14 is read aloud as "Saikyo Saikyo Kanpa Kanpa From now on, from morning to morning, Yuki Yuki no Yosou Yosou wa..." Or the reading may stop midway, for example, due to the trouble of adding the ruby.

[0010] In view of the above problems, the present invention has an object to make it possible to read out web pages in which furigana is added to kanji characters as ruby ​​using a text reading function such as a screen reader more reliably than in the past. [Means for solving the problem]

[0011] A text content providing system according to one embodiment of the present invention is a text content providing system that provides text content, which is text representing a content to be communicated, and has a server and a client. The server has a transmission means that transmits to the client the text content and correspondence information that associates a specific portion of the text content with related information related to the specific portion. The client has a generation means that generates an additional display code based on the text content and the correspondence information, for displaying the text content by placing the related information in the vicinity of the specific portion, and a display control means that selectively displays the text content on a display with or without the related information placed in the vicinity of the specific portion based on the additional display code.

[0012] A web file according to one embodiment of the present invention is a web file for displaying text content, which is text representing the content to be transmitted, together with supplementary information, and has: a content section for displaying the text content; a correspondence section indicating correspondence information that corresponds a specific portion of the text content with related information related to the specific portion; a call section indicating a designation code that designates as an external script a generation script that generates, based on the text content and the correspondence information, an additional display code for displaying the text content by placing the related information as the supplementary information near the specific portion; and an update section indicating an update script that causes a computer to execute a generation process that generates the additional display code using the generation script; and an update process that updates the content section so as to show the generated additional display code together with the text content and to display the text content on a display with or without the related information selectively placed near the specific portion. Effect of the Invention

[0013] According to the present invention, it is possible to read out a web page in which furigana is added to kanji characters as ruby ​​characters using a text reading function such as a screen reader more reliably than in the past. [Brief description of the drawings]

[0014] [Figure 1] FIG. 1 illustrates an example of an overall configuration of a web page providing system. [Diagram 2] FIG. 2 illustrates an example of a hardware configuration of a web server. [Diagram 3] FIG. 2 is a diagram illustrating an example of a hardware configuration of a client or a web page editing terminal. [Figure 4] FIG. 2 is a diagram illustrating an example of a functional configuration of a web server. [Diagram 5] FIG. 1 illustrates an example of a web page. [Figure 6] FIG. 13 is a diagram showing an example of an HTML file. [Figure 7] FIG. 13 is a diagram showing an example of a ruby ​​map. [Figure 8] FIG. 1 illustrates an example of a web page. [Figure 9] FIG. 13 is a diagram showing an example of an HTML file. [Figure 10] FIG. 13 is a diagram illustrating an example of a definition code. [Figure 11] 11 is a flowchart illustrating an example of a process flow for displaying a web page. [Figure 12] FIG. 13 is a diagram showing an example of a text pair code. [Figure 13] FIG. 11 is a diagram illustrating an example of a method for generating a content code. [Figure 14] FIG. 13 is a diagram showing an example of a web page with ruby ​​annotations. [Figure 15] 11 is a flowchart illustrating an example of an overall processing flow of a web server. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0015] 1. Overall Structure Fig. 1 is a diagram showing an example of the overall configuration of a web page providing system 1. Fig. 2 is a diagram showing an example of the hardware configuration of a web server 2. Fig. 3 is a diagram showing an example of the hardware configuration of a client 3A or a web page editing terminal 3B.

[0016] The web page providing system 1 is a system that provides web pages to users, and as shown in FIG. 1, is made up of a web server 2, one or more clients 3A, a web page editing terminal 3B, a communication line 4, and the like.

[0017] The web server 2 can communicate with a client 3A and a web page editing terminal 3B via a communication line 4. As the communication line 4, the Internet, a LAN (Local Area Network) line, a public line, a dedicated line, or the like is used.

[0018] As shown in FIG. 2, the web server 2 is composed of a main processor 21, a RAM (Random Access Memory) 22, a ROM (Read Only Memory) 23, an auxiliary storage device 24, and a network controller 25, and delivers web page files in response to requests from a client 3A.

[0019] An operating system and a web page management program 20 (see FIG. 4) are installed in the ROM 23 or the auxiliary storage device 24. A hard disk or a solid state drive (SSD) is used as the auxiliary storage device 24. The web page management program 20 will be described later.

[0020] The RAM 22 is the main memory of the web server 2. Programs are loaded into the RAM 22 from the ROM 23 or the auxiliary storage device 24 as appropriate. The main processor 21 executes the programs loaded into the RAM 22.

[0021] The network controller 25 communicates with devices such as the client 3A and the web page editing terminal 3B using a protocol such as TCP / IP.

[0022] The client 3A presents web pages to the user by downloading them from the web server 2 and displaying them. A device having a web browser, such as a personal computer, a tablet computer, or a smartphone, is used as the client 3A. The following description will be given taking as an example a case where a notebook personal computer is used as the client 3A.

[0023] As shown in FIG. 3, the client 3A is made up of a main processor 31, a RAM 32, a ROM 33, an auxiliary storage device 34, a display 35, a network controller 36, a keyboard 37, a pointing device 38, and an audio unit 39.

[0024] An operating system, a web browser 30 (see FIG. 4), and the like are installed in the ROM 33 or the auxiliary storage device 34. At least one of the operating system and the web browser 30 includes a screen reader.

[0025] The RAM 32 is the main memory of the client 3 A. Programs are loaded into the RAM 32 from the ROM 33 or the auxiliary storage device 34 as appropriate. The main processor 31 executes the programs loaded into the RAM 32.

[0026] The display 35 displays the screen of the web browser 30, etc. The network controller 36 communicates with devices such as the web server 2 using protocols such as TCP / IP, etc. The keyboard 37 and pointing device 38 are used by the user to input commands or information.

[0027] The voice unit 39 is composed of a voice board, a speaker, a microphone, etc. The microphone collects the voice of the operator, and the voice board converts the voice into voice data. Alternatively, the voice board generates an artificial voice based on the voice data generated by the screen reader, and the speaker outputs the voice.

[0028] The webpage editing terminal 3B is a device for an operator to create or edit a webpage. A file of the created or edited webpage is uploaded from the webpage editing terminal 3B to the web server 2. A personal computer, a tablet computer, a smartphone, or the like is used as the webpage editing terminal 3B. When a notebook type personal computer is used as the webpage editing terminal 3B, the hardware is configured as shown in FIG. 3, similarly to the client 3A.

[0029] Meanwhile, with the web page providing system 1, it is possible to provide reading kana to kanji characters in a web page. As described above, with the conventional technology, web pages with ruby ​​may not be read out by a screen reader or searched by a search engine accurately. However, with the web page providing system 1, it is possible to operate screen readers and search engines more accurately than before. The mechanism behind this is explained below.

[0030] Fig. 4 is a diagram showing an example of the functional configuration of the web server 2. Fig. 5 is a diagram showing an example of a web page 50.

[0031] According to the web page management program 20, functions such as text node detection unit 201, word detection unit 202, pronunciation determination unit 203, ruby ​​map generation unit 204, HTML file generation unit 205, web page file storage unit 206, web page transmission unit 207, and conversion script transmission unit 208 shown in Fig. 4 are realized in the web server 2. Below, the processing of each unit of the web server 2, client 3A, and web page editing terminal 3B will be broadly divided into processing for preparation and processing when accessing the web page, using as an example a case where a web page 50 that provides weather information as shown in Fig. 5 is provided to a user.

[0032] [2. Processing of each part] [2.1 Preparation] Fig. 6 is a diagram showing an example of an HTML file 60. Fig. 7 is a diagram showing an example of a ruby ​​map 633. Fig. 8 is a diagram showing an example of a web page 51. Fig. 9 is a diagram showing an example of an HTML file 61. Fig. 10 is a diagram showing an example of a definition code 621.

[0033] As shown in Fig. 6, HTML file 60 of web page 50 (see Fig. 5) is written in HTML (Hypertext Markup Language) and has a header section 601 and a body section 602. Header section 601 indicates codes such as character code designation and title. Body section 602 indicates codes for displaying text content 501 of web page 50.

[0034] The operator prepares HTML file 60 in web page editing terminal 3B, for example, as follows: The operator creates HTML file 60 using a commercially available web page creation tool installed in web page editing terminal 3B. Alternatively, the operator may obtain an HTML file of an existing web page on web server 2 or another website as HTML file 60. Then, the operator inputs HTML file 60 to web server 2.

[0035] Then, in the web server 2, the text node detection unit 201 detects text nodes from the HTML file 60. A text node is generally a part excluding tags in the body and code between specific tags. Therefore, the following five text nodes (1) to (5) are detected from the body part 602 by the text node detection unit 201.

[0036] (1) "The strongest cold wave" (2) What is the forecast for snow from now until the morning? (3) Due to the influence of the strongest cold front this winter, snowfall has increased rapidly in western Japan and the Sea of ​​Japan side of eastern Japan, especially in northern Okayama Prefecture. (4) "Meteorological information regarding significant heavy snowfall" (5) Various storms and road accidents have been announced one after another, and people are being urged to be on high alert for the risk of serious traffic disruptions.

[0037] The word detection unit 202 detects words contained in each text node by performing a known morphological analysis on each text node detected by the text node detection unit 201 .

[0038] The pronunciation determination unit 203 determines the pronunciation of a word that includes kanji among the words detected by the word detection unit 202 by a known method (for example, searching a kanji dictionary database).

[0039] The ruby ​​map generating unit 204 generates a ruby ​​map 633 as shown in Fig. 7. The ruby ​​map 633 is written in JSON (JavaScript Object Notation) format, and has a correspondence code for each text node.

[0040] The correspondence code is written as follows: "1st-element":"2nd-element" "1st-element" and "2nd-element" are the first and second elements, respectively. For the first element, the text nodes are shown as they are, while for the second element, the text nodes are shown edited as follows:

[0041] A character string containing the pronunciation determined by the pronunciation determination unit 203, enclosed in "rt" tags, is placed immediately after one or a series of multiple kanji characters in the text node. Then, the kanji character and the character string are enclosed in . Therefore, for example, the following code is shown as the second element of the correspondence code of the text node in (2). from now <ruby>morning <rt> morning< / rt> < / ruby> By <ruby>snow <rt> snow< / rt> < / ruby> of <ruby>prediction <rt> Recommendation< / rt> < / ruby> teeth? In addition, multiple consecutive kanji characters may be divided and edited as described above. For example, "traffic obstruction" may be divided into "traffic obstruction" and "obstacle" and written as follows: <ruby>transportation <rt> Traffic< / rt> < / ruby> <ruby>hindrance <rt> all my life< / rt> < / ruby> These mapping codes are separated by commas and enclosed in window.textnode_ruby_map = {}.

[0042] HTML file generating unit 205 generates HTML file 61 for displaying web page 51. As shown in Fig. 8, web page 51 is composed of text content 511 and ruby ​​annotation button 512. As can be seen from a comparison with web page 50 (see Fig. 5), text content 511 is similar to text content 501. Therefore, it can be said that web page 51 is web page 50 with ruby ​​annotation button 512 provided.

[0043] As shown in FIG. 9, the HTML file 61 is made up of a header section 611, a body section 612, and the like.

[0044] The header section 611 indicates the character code designation, the title, etc., in the same manner as the header section 601 of the HTML file 60 (see FIG. 6). The header section 611 further indicates a definition code 621.

[0045] The definition code 621 defines the display style, and in this embodiment, in particular, the display format of two elements is defined to be set to inline (side by side) or hidden, as shown in Fig. 10. The definition code 621 is written in CSS (Cascading Style Sheets).

[0046] The body section 612 is made up of a content section 612A, an external script calling section 612B, a ruby ​​map section 612C, and a button control section 612D.

[0047] Content section 612A indicates content code 631. Content code 631 includes code for displaying text content 501 of web page 50, similar to the code in body section 602 of HTML file 60. In addition, content code 631 includes code for displaying ruby ​​annotation button 512.

[0048] The external script calling section 612B shows a code written in JavaScript (registered trademark) for calling the conversion script 67. For example, if the file name of the conversion script 67 is "tsutaeru_rp.js", the following code is shown. <script src="tsutaeru_rp.js">< / script> The ruby ​​map section 612C shows a ruby ​​map 633 (see FIG. 7) generated by the ruby ​​map generating section 204. The button control section 612D shows a control code 634 for controlling the display of text content and buttons as described below.

[0049] When the HTML file 61 is generated by the HTML file generating unit 205, it is associated with a file name and stored in the web page file storage unit 206. Note that the HTML file generating unit 205 stores a conversion script 67 in advance.

[0050] In addition to the HTML file 61, the HTML files stored in the web page file storage unit 206 are made publicly available on the Internet.

[0051] According to the HTML file 61 and the conversion script 67, the web page 51 is displayed on the client 3A with the ruby ​​characters added or removed, as will be described below.

[0052] [2.2 Processing when accessing a web page] Fig. 11 is a flowchart for explaining an example of the process flow for displaying the web page 51. Fig. 12 is a diagram showing an example of a text pair code 635. Fig. 13 is a diagram showing an example of a method for generating a content code 631. Fig. 14 is a diagram showing an example of a state in which ruby ​​characters are added to the web page 51.

[0053] In the client 3A, the web browser 30 (see FIG. 4) requests the web page 51 from the web server 2 when the URL (Uniform Resource Locator) of the web page 51 (see FIG. 8) is specified by the user.

[0054] Then, in the web server 2, the web page transmission unit 207 transmits the HTML file 61 (see FIG. 9) of the web page 51 to the client 3A.

[0055] When the web browser 30 receives the HTML file 61 from the web server 2, the web browser 30 saves a copy of the HTML file 61 in a specified temporary storage area as a backup file. The backup file is not updated. Then, based on the HTML file 61, the process is executed according to the procedure shown in FIG.

[0056] The web browser 30 renders the web page 51 according to the codes written in the header section 611 and the content section 612A of the HTML file 61, and displays the web page 51 on the display 35 (#701 in FIG. 11).

[0057] Furthermore, the web browser 30 reads the conversion script 67 as an external script in accordance with the code described in the external script calling section 612B (#702). Functions and the like defined in the conversion script 67 are used in the control code 634. The conversion script 67 is transmitted to the client 3A by the conversion script transmitting section 208 and cached in the client 3A.

[0058] If this is the first time that processing based on the HTML file 61 has been performed (Yes in #703), the web browser 30 performs conversion processing of the content portion 612A as follows (#704).

[0059] Web browser 30 detects text nodes from the text content of content part 612A. Since the text content of HTML file 61 is the same as the text content of HTML file 60 (see FIG. 6) as described above, the above text nodes (1) to (5) are detected.

[0060] The web browser 30 generates a text pair code 635 for each of the detected text nodes (#722). The text pair code 635 is written as follows: 1st-element 2nd-element "value1" and "value2" are binary values, either "true" or "false", where value1 ≠ value2.

[0061] The "1st-element" and "2nd-element" are the first element and the second element, respectively, of the ruby ​​map 633 (see FIG. 7) shown in the ruby ​​map section 612C. Therefore, codes such as those shown in FIG. 12 are generated as the text pair codes 635 of each of the text nodes (1) to (5) above. Hereinafter, the text pair codes 635 of each of the text nodes (1), (2), ..., (5) will be referred to as "text pair code 6351", "text pair code 6352", ..., "text pair code 6355".

[0062] Then, the web browser 30 replaces each of the text nodes (1) to (5) in the content code 631 with the corresponding text pair code 635, as shown in FIG.

[0063] When the conversion process is complete, the web browser 30 performs settings for adding furigana as ruby ​​(#705). Specifically, the text pair code 635 of each text node is updated so that "value1" becomes "true" and "value2" becomes "false." Furthermore, the code for displaying the ruby ​​add button 512 shown in the content part 612A is replaced with the code for displaying the ruby ​​remove button 514.

[0064] Then, web browser 30 re-renders and displays web page 51 according to the code of content part 612A for which the settings have been completed (#701). Then, the style "display:none" is applied to text content 511, making it invisible, and the style "display:inline" is applied to text content 513, in which ruby ​​characters are added to each kanji character, as shown in FIG. 14. This makes it appear as if text content 511 has been replaced with text content 513.

[0065] When the ruby ​​remove button 514 is clicked (No in #703, Yes in #706), the web browser 30 makes settings for removing the ruby ​​based on the control code 634 (#707). Specifically, the text pair code 635 of each text node is updated so that "value1" becomes "false" and "value2" becomes "true". Furthermore, the code for displaying the ruby ​​remove button 514 shown in the content part 612A is replaced with the code for displaying the ruby ​​add button 512.

[0066] Then, web browser 30 re-renders and displays web page 51 according to the code of content part 612A for which the settings have been completed (#701). Then, web page 51 is updated from the state shown in Fig. 14 to the state shown in Fig. 8. This is because the style "display:inline" is applied to text content 511 and the style "display:none" is applied to text content 513.

[0067] When the ruby ​​add button 512 is clicked (No in #703, Yes in #706), the web browser 30 makes settings for adding ruby ​​based on the control code 634 (#707). Specifically, it updates the text pair code 635 of each text node so that "value1" becomes "true" and "value2" becomes "false." In addition, it replaces the code for displaying the ruby ​​add button 512 shown in the content part 612A with the code for displaying the ruby ​​remove button 514. This also depends on the change in the display style, as described above.

[0068] Then, web browser 30 re-renders and displays web page 51 according to the code of content part 612A for which the setting has been completed (#701). Then, web page 51 is updated from the state shown in FIG. 8 to the state shown in FIG.

[0069] The processing of steps #701 to #707 is executed every time the ruby ​​add button 512 or the ruby ​​remove button 514 is clicked while the web page 51 is being displayed.

[0070] Whether or not ruby ​​is added to web page 51 may be monitored by a cookie in web browser 30.

[0071] 2.3 Reading Web Pages When the user inputs a read-aloud command while the web page 51 is being displayed, the screen reader of the client 3A reads out the contents of the web page 51. In other words, the contents of the web page 51 are output by an artificial voice.

[0072] Conventionally, with a screen reader, there are cases where the text of a rendered web page (i.e., the displayed web page) is read aloud (hereinafter referred to as "Case_1"), and cases where the source shown in a downloaded HTML file is read aloud, skipping tags and the like (hereinafter referred to as "Case_2"). Which case is adopted depends on the specifications of the screen reader included in the operating system or web browser.

[0073] However, in either case, when a web page with kanji characters with ruby ​​annotations was read aloud, both the kanji characters and the pronunciation kana were read aloud.

[0074] On the other hand, the web page provided by the web server 2, that is, the web page 51, can read out only the kanji characters among the kanji characters and the pronunciation kana in either case. The mechanism is as follows.

[0075] In case_1, when a read command is input without ruby ​​annotation as shown in Fig. 8, client 3A uses a screen reader to read out the text arranged on web page 51. Naturally, ruby ​​annotation is not read out.

[0076] In case_2, whether the read command is input without ruby ​​annotation or with ruby ​​annotation (see FIG. 14), the client 3A reads the text based on the downloaded HTML file 61 (backup file). This is due to the specifications of the web browser 30. The content section 612A of the backup file is in a state before the process of adding ruby ​​annotation is performed. Also, the ruby ​​map section 612C is written in JSON format and is therefore not subject to reading. Therefore, the ruby ​​annotation is not read.

[0077] 3. Overall Processing Flow and Effects of the Present Embodiment FIG. 15 is a flowchart illustrating an example of the overall processing flow of the web server 2.

[0078] Next, the overall process flow of the Web page providing system 1 will be described with reference to a flowchart.

[0079] The web server 2 executes processing based on the web page management program 20 in the procedure shown in FIG.

[0080] When the web server 2 receives the HTML file 60 of the web page 50 from the web page editing terminal 3B as the file of the web page to be distributed (Yes in #721 of FIG. 15), it executes the registration process for providing the web page 50 with ruby ​​characters as follows.

[0081] The web server 2 detects text nodes from the web page 50 (#722), detects words from each text node (#723), and determines the pronunciation of the detected words that contain kanji characters (#724).Then, based on the determined pronunciation, the web server 2 generates a ruby ​​map 633 (see FIG. 7) (#725).

[0082] The web server 2 generates an HTML file 61 by inserting into the HTML file 60 not only the ruby ​​map 633, but also code for style, code for displaying the ruby ​​add button 512, code for calling the conversion script 67, and the like (#726). Then, the web server 2 stores the HTML file 61 in the web page file storage unit 206 (#727). This completes the preparation of the web page 50 with the furigana added, that is, the web page 51.

[0083] Or, when web page 51 is requested by client 3A (Yes in #728), HTML file 61 is sent to client 3A (#729). After that, conversion script 67 is requested by client 3A, so conversion script 67 is sent to client 3A.

[0084] Then, in client 3A, the process of displaying web page 51 is executed according to the procedure shown in FIG.

[0085] In this example, the case where the web page 50 is handled has been described as an example, but when handling other web pages, the web server 2 similarly executes the processes of steps #722 to #727 and the process of step #729 as appropriate. Also, the client 3A executes the display process in the procedure shown in FIG.

[0086] According to this embodiment, a web page such as web page 51 in which furigana is added to kanji characters can be read out more reliably by a screen reader or the like than in the past. The mechanism for doing so is as described above.

[0087] Furthermore, such web pages can be searched by a search engine more reliably than ever before. The mechanism is as follows.

[0088] For example, the HTML file 61 of the web page 51 is provided by the web server 2 in a state where no conversion process (see FIG. 13) has been performed, i.e., where the "ruby" tag and the "rt" tag are not used. Therefore, the search engine can search for text that does not include noise, such as "'Strongest cold wave' What's the forecast for snow from now until the morning?...", rather than text that includes ruby ​​as noise, such as "'Strongest cold wave' What's the forecast for snow from now until the morning?...". This allows for more reliable searches than ever before.

[0089] Furthermore, according to this embodiment, the load on the web server when providing a web page to a user both with and without ruby ​​can be reduced more than ever before.

[0090] That is, if the web server dynamically adds ruby ​​to a web page and provides it every time a user requests it, a burden would be placed on the web server. However, in this embodiment, the web server 2 prepares data for adding ruby ​​(ruby map 633, conversion script 67, etc.) and does not perform the dynamic processing described above even if a user requests it. Therefore, the burden on the web server 2 is reduced compared to the conventional case.

[0091] Moreover, since the above dynamic processing is not involved, the web page providing system 1 can be constructed as a CDN (Content Delivery Network). That is, the web server 2 can be used as an origin server, and web pages can be delivered to one or more geographically distributed cache servers. This can speed up the delivery of web pages.

[0092] 4. Application Examples and Modifications The web page providing system 1 is suitable for use in distributing everyday information to not only native Japanese speakers but also non-native Japanese speakers. As described above, the load on the web server 2 can be reduced more than in the past, so that the system is particularly suitable for use in distributing emergency information.

[0093] In this embodiment, the ruby ​​map 633 (see FIG. 7) is written in JSON format, but it may be written in other formats as long as it is an array of comparisons between original data and converted data that can be read by JavaScript. For example, it may be written in XML (Extensible Markup Language).

[0094] 4 are all implemented in the web server 2, but they may be distributed among multiple computers. For example, a function for generating HTML file 61 from HTML file 60 may be implemented in the web page editing terminal 3B, and a function for distributing HTML file 61 and conversion script 67 may be implemented in the web server 2. Alternatively, a function for distributing HTML file 61 may be implemented in the web server 2, and a function for distributing conversion script 67 may be implemented in another web server.

[0095] Alternatively, one or more cache servers may be provided in the web page providing system 1, and the web server 2 may function as an origin server, with the cache server being equipped with a function for distributing the HTML file 61 and the conversion script 67. In this case, the client 3A may access the nearest cache server and obtain the HTML file 61, etc.

[0096] In this embodiment, the case where the reading of a kanji character is added as ruby ​​is described as an example, but the web page providing system 1 can also be applied to the case where the reading of a symbol other than a kanji character is added as ruby. For example, the system can be applied to the case where the meaning or reading of an English word written in the alphabet is added as ruby, such as adding the ruby ​​characters "token" or "patento" to the English word "patent."

[0097] Alternatively, the web server 2 may generate the ruby ​​map 633 so that instead of providing ruby ​​characters to the kanji characters, the reading kana or meaning is added in parentheses immediately after the kanji characters, such as "saikyou (strongest)," "patent," or "patent." In other words, the ruby ​​map 633 may be generated so that it has the following code as the text pair code 635 in (1) above, for example. "The strongest cold wave": "The strongest cold wave" In this embodiment, the web server 2 generates a text pair code 635 for each text node shown in the HTML file 60, but the web server 2 may generate a text pair code 635 for each word or short sentence containing kanji, such as "very," "throughout the morning," or "rewarding."

[0098] In addition, the configuration of the entire or each part of the web page providing system 1, web server 2, client 3A, and web page editing terminal 3B, the processing content, the processing order, the configuration of the HTML file 61, the configuration of the web page, etc. may be modified as appropriate in accordance with the spirit of the present invention. [Explanation of symbols]

[0099] 1. Web page provision system (text content provision system) 2 Web Server (Server) 30 Web browser (generation means, display control means) 3A Client 207 Web page transmission unit (transmission means, text content transmission means) 208 Conversion script transmission unit (program transmission means) 511 Text Content 61 HTML files (web files) 612A Contents section (display control means) 612B External script call unit (call unit) 612C Ruby map section (correspondence section) 612D Button control unit (generation means, update unit) 633 Ruby map (correspondence information) 635 Text Pair Code (Additional Display Code) 67 Conversion script (generation method, generation script)

Claims

1. A text content providing system for providing text content, which is text representing a content to be transmitted, comprising: A server and a client, The server, a transmitting means for transmitting the text content and correspondence information that associates a specific portion of the text content with related information related to the specific portion to the client; having The client: a generating means for generating an additional display code for displaying the text content by arranging the related information in the vicinity of the specific portion based on the text content and the correspondence relationship information; a display control means for selectively displaying the text content on a display with or without the related information located near the specific portion based on the additional display code; having A text content providing system comprising:

2. A text content providing system for providing text content, which is text representing a content to be transmitted, comprising: a text content transmitting means for transmitting the text content and correspondence information for associating a specific portion of the text content with related information related to the specific portion to a client; a program transmission means for transmitting to the client a generation program for generating an additional display code for displaying the text content by arranging the related information near the specific portion based on the text content and the correspondence information; A text content providing system comprising:

3. the text content transmitting means transmits, as the text content and the correspondence information, an HTML file in which the text content, the correspondence information, and a code for designating the generation program as an external script are described; The text content providing system according to claim 2 .

4. the generating program is a script that generates, as the additional display code, a code for arranging the related information as ruby ​​for the specific portion; The text content providing system according to claim 3 .

5. the specific portion is a Chinese character, The related information is the pronunciation of the kanji.

5. A text content providing system according to claim 2.

6. A method for providing text content, which is text representing a content to be transmitted, comprising the steps of: causing the server to execute a process of transmitting, to the client, the text content and correspondence information that associates a specific portion of the text content with related information related to the specific portion; causing a client to execute a process of generating an additional display code for displaying the text content by arranging the related information near the specific portion based on the text content and the correspondence relationship information; causing the client to execute a process of selectively displaying the text content on a display with or without the related information being arranged near the specific portion based on the additional display code; A method for providing text content comprising:

7. A computer program for use in a computer that provides text content, which is text that represents a content to be transmitted, comprising: The computer includes: executing a process of transmitting the text content and correspondence information that associates a specific portion of the text content with related information related to the specific portion to a client; a process of transmitting to the client a generation program for generating an additional display code for displaying the text content by arranging the related information in the vicinity of the specific portion, based on the text content and the correspondence relationship information; A computer program comprising:

8. A web file for displaying text content, which is text representing a content to be communicated, together with supplemental information, a content section for displaying said text content; a correspondence section indicating correspondence information that associates a specific portion of the text content with related information related to the specific portion; a calling unit that indicates a designation code that designates, as an external script, a generating script that generates an additional display code for displaying the text content by arranging the related information as the supplemental information near the specific portion, based on the text content and the correspondence information; an updating unit indicating an updating script that causes a computer to execute a generating process for generating the additional display code by the generating script, and an updating process for updating the content part so as to display the generated additional display code together with the text content and to display the text content on a display with or without the related information selectively arranged near the specific part; 1. A web file comprising:

9. the generation process is a process of generating, as the additional display code, a code for displaying the text content by arranging the related information as ruby ​​at the specific portion.

9. The web file of claim 8.

10. the updating process includes a process of updating the content portion such that a non-display style is alternately applied to only one of the additional display code and the text content each time a predetermined operation is performed, A web file according to claim 8 or claim 9.

11. the updating process includes a process of updating the content portion so as to display the text content together with a button for switching whether or not to place the related information; A web file according to claim 8 or claim 9.

12. the specific portion is a Chinese character, The related information is the pronunciation of the kanji. A web file according to claim 8 or claim 9.

Citation Information

Patent Citations

  • Text display device, application program, and text display control method

    JP2009163479A