JP2012247929A - Electronic device, text display method, and text display program - Google Patents

Electronic device, text display method, and text display program Download PDF

Info

Publication number
JP2012247929A
JP2012247929A JP2011118151A JP2011118151A JP2012247929A JP 2012247929 A JP2012247929 A JP 2012247929A JP 2011118151 A JP2011118151 A JP 2011118151A JP 2011118151 A JP2011118151 A JP 2011118151A JP 2012247929 A JP2012247929 A JP 2012247929A
Authority
JP
Japan
Prior art keywords
text
sentence
display
cpu
original
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP2011118151A
Other languages
Japanese (ja)
Inventor
Shuji Kaya
周治 加悦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sharp Corp
Original Assignee
Sharp Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sharp Corp filed Critical Sharp Corp
Priority to JP2011118151A priority Critical patent/JP2012247929A/en
Publication of JP2012247929A publication Critical patent/JP2012247929A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Document Processing Apparatus (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an electronic device capable of displaying text in a second language corresponding to a specified part of a book in a first language even when each piece of text in the book written in the first language is not associated with text in the second language in advance.SOLUTION: An electronic book terminal 100 analyzes first text to obtain a first tree structure indicating the structure of the first text, and analyzes second text to obtain a second tree structure indicating the structure of the second text. When receiving a command to specify part of the first text, the terminal refers to the first and second tree structures to display part of the second text corresponding to the part of the first text on a display.

Description

本発明は、ディスプレイに電子書籍などのテキストを表示する電子機器、テキスト表示方法、およびテキスト表示プログラムに関する。   The present invention relates to an electronic device that displays text such as an electronic book on a display, a text display method, and a text display program.

ユーザが所望する小説や雑誌などの電子書籍をダウンロードして、ディスプレイに当該小説や雑誌を表示する電子機器が知られている。   There is known an electronic device that downloads an electronic book such as a novel or magazine desired by a user and displays the novel or magazine on a display.

たとえば、特開2003−067099号公報(特許文献1)には、情報処理装置および情報処理方法、記憶媒体、並びにプログラムが開示されている。特開2003−067099号公報(特許文献1)によると、コンテンツデータは、例えば、XMLなどのマークアップ言語で記載されている。タグは、マーク表示モードにおいて、それぞれのテキストの代わりに、pict IDで示される所定の絵文字(マーク)を読み出して表示させるためのものである。マーク表示モードにおいて、絵文字が選択された場合、対応するテキストが表示されたポップアップウィンドウが表示される。テキスト表示モードにおいては、タグが読み飛ばされて、テキストデータのみが抽出されたデータが生成されて表示される。   For example, Japanese Patent Application Laid-Open No. 2003-067099 (Patent Document 1) discloses an information processing apparatus, an information processing method, a storage medium, and a program. According to Japanese Patent Laying-Open No. 2003-067099 (Patent Document 1), content data is described in a markup language such as XML, for example. The tag is for reading and displaying a predetermined pictogram (mark) indicated by pict ID in place of each text in the mark display mode. When a pictogram is selected in the mark display mode, a pop-up window displaying the corresponding text is displayed. In the text display mode, tags are skipped and data from which only text data is extracted is generated and displayed.

また、特開2001−287483号公報(特許文献2)には、多重表現文章による書籍等の文書が開示されている。特開2001−287483号公報(特許文献2)によると、音声・感情・男女・自然現象・思想などの万象を、文字のスタイル(書体・太さ・大きさ・変形・色や模様・下地の色や模様など)や各文字の間隔で多重表現した文章によって書籍等の文書を構成する。また、上記の文字のスタイルや各文字の間隔を種々変化させて感情等の万象の時間的変化(移り変り)などを多重表現した文章によって書籍等の文書を構成する。また、複数の著者ごとに異なる文字のスタイルを定めて、その各自のスタイルの字で複数の著者が一つの書籍等の文書を構成する。   Japanese Patent Laid-Open No. 2001-287483 (Patent Document 2) discloses a document such as a book using multiple expression sentences. According to Japanese Patent Application Laid-Open No. 2001-287383 (Patent Document 2), all kinds of characters such as voice, emotion, sex, natural phenomenon, thought, etc. can be used in character style (typeface, thickness, size, deformation, color, pattern, groundwork). A document such as a book is composed of texts such as colors and patterns) and texts that are multiplexed and expressed at intervals between characters. Further, a document such as a book is composed of sentences in which the character styles and the intervals between the characters are variously changed to multiplexly express the temporal changes (transitions) of all things such as emotions. Also, different character styles are defined for each of a plurality of authors, and a plurality of authors compose a document such as a book with the characters of their respective styles.

また、特開2001−018556号公報(特許文献3)には、ページ集合体、ページ検索装置、記憶媒体が開示されている。特開2001−018556号公報(特許文献3)によると、天、底、小口の中から選ばれる少なくとも一つに設けられた第1のインデックスと、第1のインデックスの下位概念を表わす第2のインデックスとを有し、この第2のインデックスが、これと同位概念の別カテゴリーの概念を表わすインデックスを一通り含んだ文字セット又はアイコンセットとして各ページ内に共通に表示されると共に、該文字セット又はアイコンセットは、各ページ中でそのページの内容と関連付けられた文字又はアイコンのみ強調される。   Japanese Unexamined Patent Application Publication No. 2001-018556 (Patent Document 3) discloses a page aggregate, a page search device, and a storage medium. According to Japanese Patent Laid-Open No. 2001-018556 (Patent Document 3), a first index provided in at least one selected from the top, the bottom, and the fore edge, and a second subordinate concept of the first index. And the second index is displayed in common on each page as a character set or an icon set including an index representing a concept of another category of the same concept and the character set. Alternatively, in the icon set, only characters or icons associated with the contents of the page are highlighted in each page.

また、特開2008−051872号公報(特許文献4)には、言語学習用教材が開示されている。特開2008−051872号公報(特許文献4)によると、書籍体の表裏の表紙のうち一方を右綴じ表紙、他方を左綴じ表紙とし、この書籍体の各ページを構成する多数の紙片をこの右綴じ表紙側からめくって読み進める右綴じ漫画編と、左綴じ表紙側からめくって読み進める左綴じ漫画編とを備え、この相反する側から読み進める右綴じ漫画編と左綴じ漫画編とは、漫画を構成する人物像や背景などの絵図要素は互いに同一内容で同一コマ割りの同一漫画構成とし、且つ漫画を構成するセリフや図中解説文などの文字要素は互いに同一内容でありながら一方は所定の言語(例えば母国語)でこの文字要素を表記し、他方はこの所定の言語とは異なる他の言語(例えば母国語以外の言語)でこの文字要素を表記する。   Japanese Unexamined Patent Application Publication No. 2008-051872 (Patent Document 4) discloses language learning materials. According to Japanese Patent Laying-Open No. 2008-051872 (Patent Document 4), one of the front and back covers of a book body is a right binding cover, and the other is a left binding cover. The right-bound comic book that reads from the right-bound cover side and the left-bound comic book that reads from the left-bound cover side. The graphic elements such as figures and backgrounds that make up the comics have the same content and the same comic composition with the same frame division, and the character elements such as words and explanatory texts that make up the comics have the same content. Represents the character element in a predetermined language (for example, a native language), and the other represents the character element in another language (for example, a language other than the native language) different from the predetermined language.

特開2003−067099号公報JP 2003-067099 A 特開2001−287483号公報JP 2001-287383 A 特開2001−018556号公報JP 2001-018556 A 特開2008−051872号公報JP 2008-051872 A

しかしながら、第1の言語で記載された書籍のうちの指定されたテキストに対応する第2の言語のテキストを表示するためには、予め第1の言語で記載された書籍の各テキストと第2の言語のテキストとが対応付けられている必要がある。また、翻訳ソフトを利用することによって第1の言語の文章を翻訳する場合には、翻訳者によって書かれた翻訳書のような上手い文章を表示することができない。   However, in order to display the text of the second language corresponding to the designated text among the books written in the first language, each text of the book previously written in the first language and the second text are displayed. Must be associated with texts in other languages. Moreover, when translating a sentence in the first language by using translation software, it is not possible to display a good sentence such as a translation written by a translator.

本発明は、かかる問題を解決するためになされたものであり、その目的は、予め第1の言語で記載された書籍の各テキストと第2の言語のテキストとが対応付けられていない場合であっても、指定された第1の言語の一部に対応する第2の言語のテキストを表示することができる電子機器、テキスト表示方法、およびテキスト表示プログラムを提供することである。   The present invention has been made to solve such a problem, and an object of the present invention is in a case where each text of a book described in advance in the first language is not associated with text in the second language. Even if it exists, it is providing the electronic device which can display the text of the 2nd language corresponding to a part of designated 1st language, the text display method, and a text display program.

この発明のある局面に従うと、第1の言語で記載された第1のテキストと第2の言語で記載された第2のテキストとを記憶するメモリと、ディスプレイと、プロセッサとを備える電子機器が提供される。プロセッサは、第1のテキストを解析することによって、第1のテキストの構成を示す第1の木構造を取得し、第2のテキストを解析することによって、第2のテキストの構成を示す第2の木構造を取得し、第1のテキストのうちの一部を指定する命令を受け付けて、第1および第2の木構造を参照することによって、第1のテキストのうちの一部に対応する第2のテキストのうちの一部をディスプレイに表示させる。   According to an aspect of the present invention, there is provided an electronic device including a memory that stores a first text written in a first language and a second text written in a second language, a display, and a processor. Provided. The processor obtains a first tree structure indicating the composition of the first text by analyzing the first text, and analyzes a second text indicating the structure of the second text by analyzing the second text. A tree structure is obtained, an instruction for designating a part of the first text is received, and the first and second tree structures are referred to to correspond to the part of the first text. A part of the second text is displayed on the display.

好ましくは、プロセッサは、第1のテキストのうちの一部を指定する命令を受け付けた際に、第1および第2の木構造を参照することによって、ディスプレイに、第1のテキストのうちの現在最も前に表示されている文に対応する第2のテキストのうちの文を最も前に表示させる。   Preferably, when the processor receives an instruction specifying a part of the first text, the processor refers to the first and second tree structures to display on the display the current of the first text. The sentence of the second text corresponding to the sentence displayed most recently is displayed most recently.

好ましくは、プロセッサは、第1のテキストのうちの一部を指定する命令を受け付けた際に、第1および第2の木構造を参照することによって、ディスプレイに、第1のテキストのうちの現在最も後に表示されている文に対応する第2のテキストのうちの文を最も後に表示させる。   Preferably, when the processor receives an instruction specifying a part of the first text, the processor refers to the first and second tree structures to display on the display the current of the first text. The sentence of the second text corresponding to the sentence displayed most recently is displayed most recently.

好ましくは、第1のテキストのうちの一部に対応する第2のテキストのうちの一部を他の箇所とは異なる表示態様でディスプレイに表示させる。   Preferably, a part of the second text corresponding to a part of the first text is displayed on the display in a display mode different from other parts.

好ましくは、第1および第2の木構造は、文の要素を含む。
好ましくは、第1および第2の木構造は、段落の要素を含む。
Preferably, the first and second tree structures include sentence elements.
Preferably, the first and second tree structures include paragraph elements.

好ましくは、第1および第2の木構造は、章の要素を含む。
この発明の別の局面に従うと、第1の言語で記載された第1のテキストと第2の言語で記載された第2のテキストとを記憶するメモリと、ディスプレイと、プロセッサとを含む電子機器におけるテキスト表示方法が提供される。テキスト表示方法は、プロセッサが、第1のテキストを解析することによって、第1のテキストの構成を示す第1の木構造を取得するステップと、プロセッサが、第2のテキストを解析することによって、第2のテキストの構成を示す第2の木構造を取得するステップと、プロセッサが、第1のテキストのうちの一部を指定する命令を受け付けて、第1および第2の木構造を参照することによって、第1のテキストのうちの一部に対応する第2のテキストのうちの一部をディスプレイに表示させるステップとを備える。
Preferably, the first and second tree structures include chapter elements.
According to another aspect of the present invention, an electronic device including a memory for storing a first text written in a first language and a second text written in a second language, a display, and a processor A text display method is provided. In the text display method, the processor obtains a first tree structure indicating the composition of the first text by analyzing the first text, and the processor analyzes the second text, Obtaining a second tree structure indicative of the composition of the second text; and a processor accepting an instruction designating a part of the first text and referring to the first and second tree structures. And displaying a part of the second text corresponding to the part of the first text on the display.

この発明の別の局面に従うと、第1の言語で記載された第1のテキストと第2の言語で記載された第2のテキストとを記憶するメモリと、ディスプレイと、プロセッサとを含む電子機器にテキストを表示させるためのテキスト表示プログラムが提供される。テキスト表示プログラムは、プロセッサに、第1のテキストを解析することによって、第1のテキストの構成を示す第1の木構造を取得するステップと、第2のテキストを解析することによって、第2のテキストの構成を示す第2の木構造を取得するステップと、第1のテキストのうちの一部を指定する命令を受け付けて、第1および第2の木構造を参照することによって、第1のテキストのうちの一部に対応する第2のテキストのうちの一部をディスプレイに表示させるステップとを実行させる。   According to another aspect of the present invention, an electronic device including a memory for storing a first text written in a first language and a second text written in a second language, a display, and a processor A text display program is provided for displaying text on the screen. The text display program causes the processor to obtain a first tree structure indicating the configuration of the first text by analyzing the first text, and to analyze the second text to analyze the second text. By obtaining a second tree structure indicating the structure of the text, and receiving an instruction for designating a part of the first text, and referring to the first and second tree structures, Causing a portion of the second text corresponding to a portion of the text to be displayed on the display.

以上のように、この発明によれば、予め第1の言語で記載された書籍の各テキストと第2の言語のテキストとが対応付けられていない場合であっても、指定された第1の言語の一部に対応する第2の言語のテキストを表示することができる電子機器、テキスト表示方法、およびテキスト表示プログラムが提供される。   As described above, according to the present invention, even if each text of a book described in advance in the first language is not associated with the text in the second language, the designated first An electronic device, a text display method, and a text display program capable of displaying text in a second language corresponding to a part of the language are provided.

本実施の形態に係る電子書籍端末100の動作概要を示すイメージ図である。It is an image figure which shows the operation | movement outline | summary of the electronic book terminal 100 which concerns on this Embodiment. 本実施の形態に係る電子書籍端末100のハードウェア構成を表わすブロック図である。It is a block diagram showing the hardware constitutions of the electronic book terminal 100 which concerns on this Embodiment. 本実施の形態に係る原著木構造データ1311を示すイメージ図である。It is an image figure which shows the original tree structure data 1311 which concerns on this Embodiment. 本実施の形態に係る翻訳書木構造データ1321を示すイメージ図である。It is an image figure which shows the translation tree structure data 1321 which concerns on this Embodiment. 本実施の形態に係る原著のうちの指定されたテキストの文と段落と章とを特定するための方法を示すイメージ図である。It is an image figure which shows the method for pinpointing the sentence and paragraph of the designated text among the original works concerning this Embodiment. 本実施の形態に係る指定されたテキストに対応する翻訳書のテキストの章と段落と文とを特定するための方法を示すイメージ図である。It is an image figure which shows the method for pinpointing the chapter, paragraph, and sentence of the text of the translation corresponding to the designated text based on this Embodiment. 本実施の形態に係る原著データ分析処理を示すフローチャートである。It is a flowchart which shows the original data analysis process which concerns on this Embodiment. 本実施の形態に係る指定命令受付処理を示すフローチャートである。It is a flowchart which shows the designation | designated command reception process which concerns on this Embodiment. 本実施の形態に係る翻訳書表示処理を示すフローチャートである。It is a flowchart which shows the translation display process which concerns on this Embodiment. 本実施の形態に係る文書指定処理を示すフローチャートである。It is a flowchart which shows the document designation | designated process which concerns on this Embodiment. 本実施の形態に係るリンク先変更処理を示すフローチャートである。It is a flowchart which shows the link destination change process which concerns on this Embodiment. 本実施の形態に係る翻訳書表示処理の変形例を示すフローチャートである。It is a flowchart which shows the modification of the translation display process which concerns on this Embodiment.

以下、図面を参照しつつ、本発明の実施の形態について説明する。以下の説明では、同一の部品には同一の符号を付してある。それらの名称および機能も同じである。したがって、それらについての詳細な説明は繰り返さない。以下では、電子書籍端末を「電子機器」の代表例として説明を行う。ただし、「電子機器」は、パーソナルコンピュータ、携帯電話、PDA(Personal Digital Assistant)などのような、ディスプレイを有する他の情報端末によっても実現可能である。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. In the following description, the same parts are denoted by the same reference numerals. Their names and functions are also the same. Therefore, detailed description thereof will not be repeated. Hereinafter, an electronic book terminal will be described as a representative example of “electronic device”. However, the “electronic device” can also be realized by another information terminal having a display such as a personal computer, a mobile phone, and a PDA (Personal Digital Assistant).

<電子書籍端末100の動作概要>
まず、本実施の形態に係る電子書籍端末100の動作概要について説明する。図1は、本実施の形態に係る電子書籍端末100の動作概要を示すイメージ図である。より詳細には、図1(a)は、電子書籍端末100が原著データ131と翻訳書データ132とを取得する状態を示すイメージ図である。図1(b)は、ユーザが電子書籍端末100に表示されている原著の一部を指定するための命令を入力する状態を示すイメージ図である。図1(c)は、電子書籍端末100が、指定された原著の一部に対応する翻訳書の一部を表示する状態を示すイメージ図である。
<Outline of operation of electronic book terminal 100>
First, an operation outline of the electronic book terminal 100 according to the present embodiment will be described. FIG. 1 is an image diagram showing an outline of operation of electronic book terminal 100 according to the present embodiment. More specifically, FIG. 1A is an image diagram showing a state in which the electronic book terminal 100 acquires the original document data 131 and the translated document data 132. FIG. 1B is an image diagram illustrating a state in which the user inputs an instruction for designating a part of the original displayed on the electronic book terminal 100. FIG. 1C is an image diagram showing a state in which the electronic book terminal 100 displays a part of a translation corresponding to a part of a designated original work.

図1(a)を参照して、電子書籍端末100のユーザは、自分が読みたい電子書籍を電子書籍端末100にダウンロードする。たとえば、電子書籍端末100は、外部のサーバや記憶媒体などから、小説の原著データ131をダウンロードする。ユーザは、原著の翻訳書を閲覧したい場合には、外部のサーバなどから、小説の翻訳書データ132もダウンロードする。本実施の形態においては、第1の言語(たとえば、英語)で記載された原著内の各テキストに第2の言語(たとえば、日本語)の(翻訳後の)テキストが予め対応付けられている必要はない。   Referring to FIG. 1A, the user of the electronic book terminal 100 downloads the electronic book that he / she wants to read to the electronic book terminal 100. For example, the electronic book terminal 100 downloads the original data 131 of the novel from an external server or storage medium. When the user wants to view the original translation, the user also downloads the novel translation data 132 from an external server or the like. In the present embodiment, the text in the second language (for example, Japanese) (after translation) is associated in advance with each text in the original written in the first language (for example, English). There is no need.

図1(b)を参照して、ユーザは、原著を閲覧中に、表示されている原著のうちの一部を選択する。電子書籍端末100は、ユーザから、文を指定する命令または文字列を指定する命令を受け付ける。   Referring to FIG. 1B, the user selects a part of the displayed original work while browsing the original work. The electronic book terminal 100 receives a command for designating a sentence or a command for designating a character string from the user.

図1(c)を参照して、電子書籍端末100は、指定された原著の文または文の一部に対応する翻訳書の文または文の一部を抽出して、当該翻訳書の文または文の一部を表示する。   Referring to FIG. 1C, the electronic book terminal 100 extracts a sentence or a part of a translation corresponding to a specified original sentence or a part of the sentence, and extracts a sentence or a sentence of the translation. Display part of a sentence.

このように、本実施の形態に係る電子書籍端末100は、第1の言語の書籍に含まれる各テキストと第2の言語の(翻訳後の)テキストとが対応付けられていなくても、指定された第1の言語の書籍のテキストに対応する第2の言語のテキストを表示することができる。   As described above, the electronic book terminal 100 according to the present embodiment specifies the text even if each text included in the book in the first language is not associated with the text (after translation) in the second language. The text of the second language corresponding to the text of the book of the first language that has been made can be displayed.

なお、本実施の形態においては、電子書籍端末100が、原著の一部が指定されて、翻訳書の一部を表示する場合について説明する。しかしながら、電子書籍端末100が、翻訳書の一部が指定されて、原著の一部またはさらに他の(中国語などの第3の言語の)翻訳書の一部を表示することも可能である。   In the present embodiment, a case will be described in which electronic book terminal 100 displays a part of a translated document by specifying a part of the original work. However, it is also possible for the electronic book terminal 100 to display a part of the original or a part of another translation (in a third language such as Chinese) by designating a part of the translation. .

以下、このような機能を実現するための電子書籍端末100の具体的な構成について詳述する。   Hereinafter, a specific configuration of the electronic book terminal 100 for realizing such a function will be described in detail.

<電子書籍端末100のハードウェア構成>
次に、電子書籍端末100の具体的構成の一態様について説明する。図2は、本実施の形態に係る電子書籍端末100のハードウェア構成を表わすブロック図である。
<Hardware Configuration of Electronic Book Terminal 100>
Next, an aspect of a specific configuration of the electronic book terminal 100 will be described. FIG. 2 is a block diagram showing a hardware configuration of electronic book terminal 100 according to the present embodiment.

図2を参照して、電子書籍端末100は、主たる構成要素として、CPU110と、タッチパネル120と、メモリ130と、メモリインターフェイス140と、通信インターフェイス150と、ボタン170とを含む。   Referring to FIG. 2, electronic book terminal 100 includes a CPU 110, touch panel 120, memory 130, memory interface 140, communication interface 150, and button 170 as main components.

タッチパネル120は、ディスプレイ121とタブレット122とを含む。タッチパネル120は、抵抗膜方式、表面弾性波方式、赤外線方式、電磁誘導方式、静電容量方式などのいずれのタイプであってもよい。タッチパネル120は、光センサ液晶を含んでもよい。   The touch panel 120 includes a display 121 and a tablet 122. The touch panel 120 may be any type such as a resistive film method, a surface acoustic wave method, an infrared method, an electromagnetic induction method, and a capacitance method. The touch panel 120 may include an optical sensor liquid crystal.

タッチパネル120は、CPU110からの命令(信号)に基づいて、文字や画像を表示する。CPU110は、原著データ131や翻訳書データ132に基づいて、タッチパネル120に原著や翻訳書を表示させる。また、CPU110は、プログラムに基づいて、タッチパネル120に各種のソフトウェアボタンを表示させたりする。   The touch panel 120 displays characters and images based on commands (signals) from the CPU 110. The CPU 110 causes the touch panel 120 to display the original work and the translation based on the original work data 131 and the translation data 132. Further, the CPU 110 displays various software buttons on the touch panel 120 based on the program.

タッチパネル120は、所定時間毎に外部の物体によるタッチパネル120へのタッチ操作を検知して、タッチ座標(接触座標)をCPU110に入力する。換言すれば、CPU110は、タッチパネル120から順次タッチ座標を取得する。CPU110は、タッチ座標に基づいて、ユーザからの命令の入力を受け付ける。   The touch panel 120 detects a touch operation on the touch panel 120 by an external object every predetermined time, and inputs touch coordinates (contact coordinates) to the CPU 110. In other words, the CPU 110 sequentially acquires touch coordinates from the touch panel 120. CPU110 receives the input of the command from a user based on a touch coordinate.

メモリ130は、各種のRAM(Random Access Memory)や、ROM(Read-Only Memory)や、ハードディスクなどによって実現される。メモリ130は、CPU110によって実行されるプログラム、原著データ131、翻訳書データ132、原著木構造データ1311、翻訳書木構造データ1321、原著と翻訳書との対応関係133などを記憶する。   The memory 130 is realized by various types of RAM (Random Access Memory), ROM (Read-Only Memory), a hard disk, and the like. The memory 130 stores a program executed by the CPU 110, original data 131, translation data 132, original tree structure data 1311, translation tree structure data 1321, a correspondence 133 between the original and translation, and the like.

メモリインターフェイス140は、外部の記憶媒体141からデータを読み出す。換言すれば、CPU110は、メモリインターフェイス140を介して外部の記憶媒体141に格納されているデータを読み出して、当該データをメモリ130に格納する。逆に、CPU110は、メモリ130からデータを読み出して、メモリインターフェイス140を介して当該データを外部の記憶媒体141に格納する。   The memory interface 140 reads data from the external storage medium 141. In other words, the CPU 110 reads data stored in the external storage medium 141 via the memory interface 140 and stores the data in the memory 130. Conversely, the CPU 110 reads data from the memory 130 and stores the data in the external storage medium 141 via the memory interface 140.

なお、記憶媒体141としては、CD−ROM(Compact Disc - Read Only Memory)、DVD−ROM(Digital Versatile Disk - Read Only Memory)、USB(Universal Serial Bus)メモリ、メモリカード、FD(Flexible Disk)、ハードディスク、磁気テープ、カセットテープ、MO(Magnetic Optical Disc)、MD(Mini Disc)、IC(Integrated Circuit)カード(メモリカードを除く)、光カード、マスクROM、EPROM、EEPROM(Electronically Erasable Programmable Read-Only Memory)などの、不揮発的にプログラムを格納する媒体が挙げられる。   The storage medium 141 includes a CD-ROM (Compact Disc-Read Only Memory), a DVD-ROM (Digital Versatile Disk-Read Only Memory), a USB (Universal Serial Bus) memory, a memory card, an FD (Flexible Disk), Hard disk, magnetic tape, cassette tape, MO (Magnetic Optical Disc), MD (Mini Disc), IC (Integrated Circuit) card (excluding memory card), optical card, mask ROM, EPROM, EEPROM (Electronically Erasable Programmable Read-Only) A medium for storing the program in a nonvolatile manner such as Memory).

通信インターフェイス150は、アンテナやコネクタによって実現される。通信インターフェイス150は、有線通信あるいは無線通信によって他の装置との間でデータをやり取りする。換言すれば、CPU110は、通信インターフェイス150を介して、他の装置からプログラムや画像データやテキストデータなどを受信したり、他の装置に画像データやテキストデータを送信したりする。   The communication interface 150 is realized by an antenna or a connector. The communication interface 150 exchanges data with other devices by wired communication or wireless communication. In other words, the CPU 110 receives a program, image data, text data, or the like from another device via the communication interface 150, or transmits image data or text data to another device.

ボタン170は、電子書籍端末100の表面に配置される。電子書籍端末100には、文字キー、テンキー、十字キー、決定キーなどの複数のボタンが配置されても良い。ボタン170は、ユーザからの命令や解答などを受け付ける。ボタン170は、ユーザからの命令をCPU110に入力する。たとえば、ユーザは、十字キーを利用することによって、電子書籍端末100に、文や文の一部を指定するための命令を入力する。   The button 170 is disposed on the surface of the electronic book terminal 100. The electronic book terminal 100 may be provided with a plurality of buttons such as a character key, a numeric keypad, a cross key, and an enter key. The button 170 receives a command or answer from the user. The button 170 inputs a command from the user to the CPU 110. For example, the user inputs a command for designating a sentence or a part of the sentence to the electronic book terminal 100 by using the cross key.

CPU110は、メモリ130あるいは記憶媒体141に記憶されているプログラムを実行することによって、電子書籍端末100の各部を制御する。すなわち、CPU110は、メモリ130あるいは記憶媒体141に記憶されているプログラムを実行することによって、図7〜12に記載の処理を実行したりする。   The CPU 110 controls each unit of the electronic book terminal 100 by executing a program stored in the memory 130 or the storage medium 141. That is, the CPU 110 executes the processes shown in FIGS. 7 to 12 by executing a program stored in the memory 130 or the storage medium 141.

具体的には、本実施の形態に係るCPU110は、メモリ130に記憶されているプログラムに基づいて、以下の処理を実行する。   Specifically, CPU 110 according to the present embodiment executes the following processing based on a program stored in memory 130.

CPU110は、通信インターフェイス150を介して、外部のサーバなどから電子書籍データ(原著データ131や翻訳書データ132など)を取得する。あるいは、CPU110は、メモリインターフェイス140を介して、記憶媒体141などから電子書籍データを取得する。CPU110は、電子書籍データをメモリ130に格納する。   The CPU 110 acquires electronic book data (original data 131, translation data 132, etc.) from an external server or the like via the communication interface 150. Alternatively, the CPU 110 acquires electronic book data from the storage medium 141 or the like via the memory interface 140. CPU 110 stores electronic book data in memory 130.

CPU110は、原著データ131に基づいて、原著のテキスト構造を把握する。図3は、本実施の形態に係る原著木構造データ1311を示すイメージ図である。   The CPU 110 grasps the text structure of the original work based on the original work data 131. FIG. 3 is an image diagram showing original tree structure data 1311 according to the present embodiment.

図3を参照して、たとえば、CPU110は、原著データ131から原著の言語の種類や題名を取得する。ただし、CPU110は、タッチパネル120やボタン170を介して、ユーザから原著の言語の種類や題名を受け付けも良い。   With reference to FIG. 3, for example, the CPU 110 acquires the language type and title of the original document from the original document data 131. However, the CPU 110 may accept the type and title of the original language from the user via the touch panel 120 or the button 170.

CPU110は、原著データ131を参照して、空白ページ、空白行、または章番号に基づいて、各章の位置や範囲(章要素)を取得する。なお、CPU110は、各章の位置として、当該各章が原著の何ページ目の何行目の何文字目から始まるかを示す情報と、当該各章が原著の何ページ目の何行目の何文字目で終わるかを示す情報とを取得する。CPU110は、章要素を原著木構造データ1311としてメモリ130に記憶する。   The CPU 110 refers to the original data 131 and acquires the position and range (chapter element) of each chapter based on a blank page, a blank line, or a chapter number. The CPU 110 determines, as the position of each chapter, information indicating what number and what line of what page the original book starts and what number of page of the original book each chapter is. Get information indicating the number of characters. The CPU 110 stores chapter elements as original tree structure data 1311 in the memory 130.

同様に、CPU110は、改行または空白行に基づいて、各段落の位置や範囲(段落要素)を取得する。CPU110は、段落要素を原著木構造データ1311としてメモリ130に記憶する。CPU110は、句点に基づいて、各文の位置や範囲(文要素)を取得する。CPU110は、鍵括弧や疑問符などに基づいて、各文の種類(説明文、会話文、会話疑問文)を取得する。CPU110は、文要素と文の種類とを原著木構造データ1311としてメモリ130に記憶する。   Similarly, the CPU 110 acquires the position and range (paragraph element) of each paragraph based on a line feed or a blank line. The CPU 110 stores the paragraph elements in the memory 130 as original tree structure data 1311. CPU110 acquires the position and range (sentence element) of each sentence based on a punctuation mark. The CPU 110 acquires the type of each sentence (descriptive sentence, conversation sentence, conversation question sentence) based on the brackets and question marks. The CPU 110 stores the sentence element and the sentence type in the memory 130 as original tree structure data 1311.

CPU110は、翻訳書データ132に基づいて、翻訳書のテキスト構造を把握する。図4は、本実施の形態に係る翻訳書木構造データ1321を示すイメージ図である。   The CPU 110 grasps the text structure of the translation based on the translation data 132. FIG. 4 is an image diagram showing translated tree structure data 1321 according to the present embodiment.

図4を参照して、たとえば、CPU110は、翻訳書データ132から翻訳書の言語の種類や題名を取得する。ただし、CPU110は、タッチパネル120やボタン170を介して、ユーザから翻訳書の言語の種類や題名を受け付けも良い。   Referring to FIG. 4, for example, CPU 110 obtains the language type and title of the translated text from translated text data 132. However, the CPU 110 may receive the language type and title of the translation from the user via the touch panel 120 or the button 170.

CPU110は、原著データ131を参照して、空白ページ、空白行、または章番号に基づいて、章要素を取得する。CPU110は、章要素を翻訳書木構造データ1321としてメモリ130に記憶する。CPU110は、改行または空白行に基づいて、段落要素を取得する。CPU110は、段落要素を翻訳書木構造データ1321としてメモリ130に記憶する。CPU110は、句点に基づいて、文要素を取得する。CPU110は、鍵括弧や疑問符などに基づいて、各文の種類を取得する。CPU110は、文要素と文の種類とを翻訳書木構造データ1321としてメモリ130に記憶する。   The CPU 110 refers to the original data 131 and acquires chapter elements based on blank pages, blank lines, or chapter numbers. The CPU 110 stores chapter elements in the memory 130 as translated book structure data 1321. CPU110 acquires a paragraph element based on a new line or a blank line. The CPU 110 stores the paragraph elements in the memory 130 as translated tree structure data 1321. CPU110 acquires a sentence element based on a punctuation mark. The CPU 110 acquires the type of each sentence based on a bracket or a question mark. The CPU 110 stores sentence elements and sentence types in the memory 130 as translated tree structure data 1321.

CPU110は、原著データ131に基づいて、ディスプレイ121に原著を表示させる。CPU110は、タッチパネル120またはボタン170を介して、表示中の原著の中の文または文の一部を指定するための命令を受け付ける。   The CPU 110 displays the original work on the display 121 based on the original work data 131. CPU 110 accepts an instruction for designating a sentence or a part of a sentence in the original displayed being displayed via touch panel 120 or button 170.

図5は、本実施の形態に係る原著のうちの指定されたテキストの文と段落と章とを特定するための方法を示すイメージ図である。図5を参照して、CPU110は、原著木構造データ1311を参照することによって、原著の文や文の一部を指定するための命令に基づいて、指定されたテキストの文と段落と章とを取得する。たとえば、CPU110は、何章の何段落目の何文目が指定されたかを認識する。   FIG. 5 is an image diagram showing a method for specifying a sentence, paragraph, and chapter of a specified text in the original according to the present embodiment. Referring to FIG. 5, the CPU 110 refers to the original tree structure data 1311, and based on a command for specifying a sentence or a part of the original article, a sentence, paragraph, and chapter of the specified text. To get. For example, the CPU 110 recognizes what chapter and what paragraph and what sentence is designated.

図6は、本実施の形態に係る指定されたテキストに対応する翻訳書のテキストの章と段落と文とを特定するための方法を示すイメージ図である。図6を参照して、CPU110は、翻訳書木構造データ1321を参照することによって、指定された原著のテキストの章番号と段落番号と文番号とに対応する翻訳書の章番号と段落番号と文番号の位置を取得する。CPU110は、翻訳書データ132に基づいて、翻訳書の章番号と段落番号と文番号とに対応する部分をディスプレイ121の中央に表示させる。   FIG. 6 is an image diagram showing a method for specifying the chapter, paragraph, and sentence of the text of the translation corresponding to the designated text according to the present embodiment. Referring to FIG. 6, CPU 110 refers to translation tree structure data 1321, so that the chapter number and paragraph number of the translation corresponding to the specified chapter number, paragraph number, and sentence number of the original text are specified. Get the position of the sentence number. The CPU 110 displays a portion corresponding to the chapter number, paragraph number, and sentence number of the translated document on the center of the display 121 based on the translated document data 132.

なお、CPU110は、原著の表示中に、初めて文や文の一部が指定されたときに、タッチパネル120やボタン170を介して、原著データ131に対応する翻訳書データ132を指定する命令を受け付けてもよい。あるいは、CPU110は、原著データ131や翻訳書データ132をダウンロードした際に、原著データ131に対応する翻訳書データ132を指定する命令を受け付けてもよい。CPU110は、原著データ131と翻訳書データ132との対応関係をメモリ130に記憶する。   The CPU 110 accepts an instruction for designating the translation data 132 corresponding to the original data 131 via the touch panel 120 or the button 170 when a sentence or a part of the sentence is designated for the first time while the original is displayed. May be. Alternatively, the CPU 110 may accept an instruction for designating the translation data 132 corresponding to the original data 131 when the original data 131 and the translation data 132 are downloaded. The CPU 110 stores a correspondence relationship between the original work data 131 and the translated book data 132 in the memory 130.

<原著データ分析処理>
以下では、CPU110によって実行される原著データ分析処理について説明する。図7は、本実施の形態に係る原著データ分析処理を示すフローチャートである。CPU110は、原著データ131を開いた場合、または原著データの一部を指定した場合、または原著データ131をダウンロードした場合に以下の処理を実行する。
<Original data analysis processing>
Hereinafter, original data analysis processing executed by the CPU 110 will be described. FIG. 7 is a flowchart showing original document data analysis processing according to the present embodiment. The CPU 110 executes the following process when the original data 131 is opened, when a part of the original data 131 is designated, or when the original data 131 is downloaded.

図7を参照して、CPU110は、原著データ131に対応する原著木構造データ(木構造ファイル)1311が既に作成されているか否かを判断する(ステップS102)。CPU110は、原著木構造データ1311が既に作成されている場合(ステップS102においてYESである場合)、原著データ分析処理を終了する。   Referring to FIG. 7, CPU 110 determines whether or not original document tree structure data (tree structure file) 1311 corresponding to original document data 131 has already been created (step S102). If the original author tree structure data 1311 has already been created (YES in step S102), the CPU 110 ends the original author data analysis process.

CPU110は、原著木構造データ1311が未だ作成されていない場合(ステップS102においてNOである場合)、原著の親要素(言語の種類や題名)を原著木構造データ1311としてメモリ130に記憶する(ステップS104)。   If the original tree structure data 1311 has not yet been created (NO in step S102), the CPU 110 stores the parent element (language type and title) of the original document in the memory 130 as the original tree structure data 1311 (step S102). S104).

CPU110は、原著に「目次」という語が存在するか否かを判断する(ステップS106)。CPU110は、原著に「目次」という語が存在しない場合(ステップS106においてNOである場合)、ステップS112からの処理を実行する。   CPU 110 determines whether or not the word “table of contents” exists in the original work (step S106). CPU110 performs the process from step S112, when the word "table of contents" does not exist in an original work (when it is NO in step S106).

CPU110は、原著に「目次」という語が存在した場合(ステップS106においてYESである場合)、当該文字列以降の章の番号と章の名称と開始ページとから各章の木構造要素(章要素)を作成する(ステップS108)。CPU110は、原著木構造データ1311として、原著の親要素の下位に各章要素をリンクさせる(ステップS110)。   If the word “table of contents” is present in the original work (YES in step S106), CPU 110 determines each chapter's tree structure element (chapter element) from the chapter number, chapter name, and start page. ) Is created (step S108). The CPU 110 links each chapter element to the lower order of the parent element of the original work as the original work tree structure data 1311 (step S110).

CPU110は、原著データ131に基づいて、原著データ131の本文の開始位置を特定する(ステップS112)。CPU110は、原著データ131から次の文を読み込む(ステップS114)。CPU110は、文に含まれる記号(鍵括弧や疑問符)に基づいて、文の種類を特定する(ステップS116)。CPU110は、原著木構造データ1311として、文の種類と文の位置とをメモリ130に格納する(ステップS118)。   The CPU 110 specifies the start position of the text of the original work data 131 based on the original work data 131 (step S112). The CPU 110 reads the next sentence from the original data 131 (step S114). CPU 110 identifies the type of sentence based on symbols (key brackets and question marks) included in the sentence (step S116). The CPU 110 stores the sentence type and the sentence position in the memory 130 as the original tree structure data 1311 (step S118).

CPU110は、目次に基づいて既に章要素が作成されているか否かを判断する(ステップS120)。CPU110は、目次に基づいて既に章要素が作成されている場合(ステップS120においてYESである場合)、現在対象となっている文の前に改行が有るか否かを判断する(ステップS122)。対象となっている文の前に改行が有る場合(ステップS122においてYESである場合)、CPU110は、ステップS130からの処理を実行する。対象となっている文の前に改行がない場合(ステップS122においてNOである場合)、CPU110は、ステップS134からの処理を実行する。   CPU 110 determines whether a chapter element has already been created based on the table of contents (step S120). If a chapter element has already been created based on the table of contents (YES in step S120), CPU 110 determines whether there is a line break before the currently targeted sentence (step S122). If there is a line break before the target sentence (YES in step S122), CPU 110 executes the processing from step S130. If there is no line break before the target sentence (NO in step S122), CPU 110 executes the processing from step S134.

CPU110は、目次に基づいて未だ章要素が作成されていない場合(ステップS120においてNOである場合)、対象となっている文の前に改ページが有るか否かを判断する(ステップS124)。対象となっている文の前に改ページがない場合(ステップS124においてNOである場合)、ステップS122からの処理を繰り返す。   If the chapter element has not yet been created based on the table of contents (NO in step S120), CPU 110 determines whether there is a page break before the target sentence (step S124). If there is no page break before the target sentence (NO in step S124), the processing from step S122 is repeated.

対象となっている文の前に改ページが有る場合(ステップS124においてYESである場合)、CPU110は、対象となっている文が含まれる章の木構造要素を作成する(ステップS126)。CPU110は、親要素の下位に対象となっている章の木構造をリンクさせる(ステップS128)。   If there is a page break before the target sentence (YES in step S124), CPU 110 creates a tree structure element of the chapter including the target sentence (step S126). The CPU 110 links the tree structure of the target chapter below the parent element (step S128).

CPU110は、対象となっている段落の木構造要素(段落要素)を作成する(ステップS130)。CPU110は、対象となっている章要素の下位に対象となっている段落要素をリンクさせる(ステップS132)。CPU110は、対象となっている段落要素の下位に対象となっている文の木構造(文要素)をリンクさせる(ステップS134)。   The CPU 110 creates a tree structure element (paragraph element) of the target paragraph (step S130). The CPU 110 links the target paragraph element to the lower level of the target chapter element (step S132). The CPU 110 links the target sentence tree structure (sentence element) below the target paragraph element (step S134).

CPU110は、対象となっている文に当該文の特定を容易にするための容易情報(数値、日付、固有名詞、記号、指定文字など)が含まれているか否かを判断する(ステップS136)。対象となっている文に容易情報が含まれていない場合(ステップS136においてNOである場合)、ステップS142からの処理を実行する。   The CPU 110 determines whether or not easy information (numerical value, date, proper noun, symbol, designated character, etc.) for facilitating specification of the sentence is included in the target sentence (step S136). . If easy information is not included in the target sentence (NO in step S136), the processing from step S142 is executed.

対象となっている文に容易情報が含まれている場合(ステップS136においてYESである場合)、CPU110は、当該情報の木構造要素を作成する(ステップS138)。CPU110は、対象となっている文要素の下位に当該情報をリンクさせる(ステップS140)。   If easy information is included in the target sentence (YES in step S136), CPU 110 creates a tree structure element of the information (step S138). CPU110 links the said information to the subordinate of the sentence element used as object (Step S140).

CPU110は、対象となっている文が原著データ131の最後の文であるか否かを判断する(ステップS142)。対象となっている文が原著データ131の最後の文でない場合(ステップS142においてNOである場合)、ステップS114からの処理を繰り返す。対象となっている文が原著データ131の最後の文である場合(ステップS142においてYESである場合)、CPU110は、原著分析処理を終了する。   The CPU 110 determines whether or not the target sentence is the last sentence of the original data 131 (step S142). If the target sentence is not the last sentence of the original data 131 (NO in step S142), the processing from step S114 is repeated. When the target sentence is the last sentence of original data 131 (YES in step S142), CPU 110 ends the original analysis process.

<指定命令受付処理>
以下では、CPU110によって実行される指定命令受付処理について説明する。図8は、本実施の形態に係る指定命令受付処理を示すフローチャートである。CPU110は、原著を表示中に以下の処理を実行する。
<Specified command acceptance processing>
Below, the designation | designated command reception process performed by CPU110 is demonstrated. FIG. 8 is a flowchart showing the designation command receiving process according to the present embodiment. The CPU 110 executes the following processing while displaying the original work.

図8を参照して、CPU110は、タッチパネル120を介してタッチ操作が入力されたか否かを判断する(ステップS202)。CPU110は、タッチ操作が入力されていない場合(ステップS202においてNOである場合)、ステップS202の処理を繰り返す。   Referring to FIG. 8, CPU 110 determines whether or not a touch operation is input via touch panel 120 (step S202). CPU110 repeats the process of step S202, when touch operation is not input (when it is NO in step S202).

CPU110は、タッチ操作が入力された場合(ステップS202においてYESである場合)、原著の一部を指定する命令を受け付けたか否かを判断する(ステップS204)。CPU110は、原著の一部を指定する命令を受け付けていない場合(ステップS204においてNOである場合)、その他の命令を実行する(ステップS206)。CPU110は、ステップS202からの処理を繰り返す。   When a touch operation is input (YES in step S202), CPU 110 determines whether an instruction for designating a part of the original work has been received (step S204). If CPU 110 has not received an instruction for designating a part of the original work (NO in step S204), CPU 110 executes another instruction (step S206). CPU110 repeats the process from step S202.

CPU110は、原著の一部を指定する命令を受け付けた場合(ステップS204においてYESである場合)、文を指定するための命令を受け付けたか否かを判断する(ステップS206)。より詳細には、CPU110は、原著のいずれかの文がタッチ(クリック)された場合に、当該文を選択するための命令を受け付けたと判断する。CPU110は、当該文を選択するための命令を受け付けた場合(ステップS206においてYESである場合)、文選択処理(ステップS400)を実行する。文選択処理(ステップS400)については後述する。   CPU110 judges whether the command for designating a sentence was received, when the command which designates a part of original work was received (when it is YES in step S204) (step S206). More specifically, when any sentence of the original book is touched (clicked), CPU 110 determines that an instruction for selecting the sentence has been received. CPU110 performs a sentence selection process (step S400), when the command for selecting the said sentence is received (when it is YES in step S206). The sentence selection process (step S400) will be described later.

CPU110は、文を選択するための命令を受け付けなかった場合(ステップS206においてNOである場合)、単語を選択するための命令を受け付けたか否かを判断する(ステップS208)。より詳細には、CPU110は、原著の一部がドラッグされた場合に、当該ドラッグされた領域の文字列が選択されたと判断する。   When CPU 110 has not received a command for selecting a sentence (NO in step S206), CPU 110 determines whether a command for selecting a word has been received (step S208). More specifically, when a part of the original work is dragged, the CPU 110 determines that the character string in the dragged area has been selected.

CPU110は、単語を選択するための命令を受け付けた場合(ステップS208においてYESである場合)、辞書モードへと移行する(ステップS300)。より詳細には、CPU110は、辞書を起動して、選択された単語を検索する。CPU110は、検索結果をディスプレイ121に表示させる。CPU110は、タッチパネル120またはボタン170を介して、戻るボタンが押下されると、ステップS202からの処理を繰り返す。   CPU110 transfers to dictionary mode, when the command for selecting a word is received (when it is YES in step S208) (step S300). More specifically, CPU 110 activates the dictionary and searches for the selected word. The CPU 110 displays the search result on the display 121. When the return button is pressed through the touch panel 120 or the button 170, the CPU 110 repeats the processing from step S202.

CPU110は、単語を選択するための命令を受け付けなかった場合(ステップS208)、文選択処理(ステップS400)を実行する。これによって、指定された原著の一部に対応する翻訳書の一部がディスプレイ121に表示される。   CPU110 performs a sentence selection process (step S400), when the command for selecting a word is not received (step S208). As a result, a part of the translation corresponding to a part of the designated original is displayed on the display 121.

CPU110は、タッチパネル120またはボタン170を介して、対応する翻訳書を変更するための命令を受け付けたか否かを判断する(ステップS212)。CPU110は、対応する翻訳書を変更するための命令を受け付けた場合(ステップS212においてYESである場合)、文書指定処理(ステップS500)を実行する。文書指定処理(ステップS500)については後述する。CPU110は、ステップS400からの処理を繰り返す。   CPU 110 determines whether or not an instruction for changing the corresponding translation is received via touch panel 120 or button 170 (step S212). CPU110 performs a document designation | designated process (step S500), when the command for changing a corresponding translation is received (when it is YES in step S212). The document designation process (step S500) will be described later. CPU110 repeats the process from step S400.

CPU110は、対応する翻訳書を変更するための命令を受け付けていない場合(ステップS212においてNOである場合)、翻訳書の別の一部を指定する命令を受け付けたか否かを判断する(ステップS214)。CPU110は、翻訳書の一部を指定する命令を受け付けた場合(ステップS214においてYESである場合)、リンク変更処理(ステップS600)を実行する。リンク変更処理(ステップS600)については後述する。CPU110は、ステップS212からの処理を繰り返す。   CPU110 judges whether the command which designates another part of a translation was received, when the command for changing a corresponding translation is not received (when it is NO in step S212) (step S214). ). CPU110 performs a link change process (step S600), when the command which designates a part of translation is received (when it is YES in step S214). The link change process (step S600) will be described later. CPU110 repeats the process from step S212.

CPU110は、翻訳書の別の一部を指定する命令を受け付けていない場合(ステップS214においてNOである場合)、タッチパネル120またはボタン170を介して、原著の表示に戻るための命令を受け付けたか否かを判断する(ステップS216)。原著の表示に戻るための命令を受け付けていない場合(ステップS216においてNOである場合)、CPU110は、ステップS212からの処理を繰り返す。原著の表示に戻るための命令を受け付けた場合(ステップS216においてYESである場合)、ステップS202からの処理を繰り返す。   If CPU 110 has not received a command for designating another part of the translation (NO in step S214), CPU 110 has received a command for returning to the original display via touch panel 120 or button 170. Is determined (step S216). If an instruction for returning to the original display is not received (NO in step S216), CPU 110 repeats the processing from step S212. When a command for returning to the display of the original work is received (YES in step S216), the processing from step S202 is repeated.

<翻訳書表示処理>
以下では、CPU110によって実行される翻訳書表示処理について説明する。図9は、本実施の形態に係る翻訳書表示処理を示すフローチャートである。CPU110は、原著のいずれかの文がクリックされたとき、または原書の文の一部が選択されたとき、以下の処理を実行する。
<Translation display process>
Below, the translation display process performed by CPU110 is demonstrated. FIG. 9 is a flowchart showing translation display processing according to the present embodiment. The CPU 110 executes the following processing when any sentence of the original book is clicked or when a part of the sentence of the original book is selected.

図9を参照して、CPU110は、原著に対応する翻訳書(検索文書)が既に指定されているか否かを判断する(ステップS401)。原著に対応する翻訳書が既に指定されている場合(ステップS401においてYESである場合)、CPU110は、ステップS402からの処理を実行する。   Referring to FIG. 9, CPU 110 determines whether or not a translation (search document) corresponding to the original work has already been designated (step S401). When the translation corresponding to the original work has already been designated (YES in step S401), CPU 110 executes the processing from step S402.

原著に対応する翻訳書(検索文書)が未だ指定されていない場合(ステップS401においてNOである場合)、文書指定処理(ステップS500)を実行する。文書指定処理(ステップS500)については後述する。   If the translated document (search document) corresponding to the original work has not yet been specified (NO in step S401), the document specifying process (step S500) is executed. The document designation process (step S500) will be described later.

CPU110は、原著木構造データ1311を参照して、表示されている原著の親要素を特定する(ステップS402)。CPU110は、指定された原著の位置に基づいて、指定された章要素を特定する(ステップS404)。CPU110は、指定された原著の位置に基づいて、段落要素を特定する(ステップS406)。CPU110は、指定された原著の位置に基づいて、文要素を特定する(ステップS408)。   The CPU 110 refers to the original tree structure data 1311 to identify the parent element of the displayed original article (step S402). The CPU 110 identifies the designated chapter element based on the designated original work position (step S404). CPU110 specifies a paragraph element based on the position of the designated original work (step S406). CPU110 specifies a sentence element based on the position of the designated original work (step S408).

ただし、CPU110は、指定された原著の位置に基づいて、指定された文要素を特定し、特定された文要素に基づいて段落要素を特定し、特定された段落要素に基づいて章要素を特定してもよい。   However, the CPU 110 specifies the specified sentence element based on the specified original position, specifies the paragraph element based on the specified sentence element, and specifies the chapter element based on the specified paragraph element. May be.

CPU110は、指定された文要素に翻訳書へのリンクが張られているか否かを判断する(ステップS410)。指定された文要素に翻訳書へのリンクが張られている場合(ステップS410においてYESである場合)、ステップS428からの処理を実行する。   CPU 110 determines whether or not a link to the translated document is provided for the specified sentence element (step S410). If a link to the translated document is provided for the specified sentence element (YES in step S410), the processing from step S428 is executed.

指定された文要素に翻訳書へのリンクが張られていない場合(ステップS410においてNOである場合)、CPU110は、翻訳書木構造データ1321を参照して、特定された原著の親要素に対応する翻訳書の親要素を特定する(ステップS412)。CPU110は、特定された原著の章要素に対応する翻訳書の章要素を特定する(ステップS414)。CPU110は、特定された原著の段落要素に対応する翻訳書の段落要素を特定する(ステップS416)。CPU110は、特定された原著の文要素に対応する翻訳書の文要素を特定する(ステップS418)。   If the link to the translation is not established for the specified sentence element (NO in step S410), CPU 110 refers to translation tree structure data 1321 and corresponds to the identified parent element of the original work. The parent element of the translated document to be specified is specified (step S412). The CPU 110 identifies the chapter element of the translation corresponding to the identified original chapter element (step S414). The CPU 110 identifies the paragraph element of the translation corresponding to the identified original paragraph element (step S416). The CPU 110 identifies the sentence element of the translation corresponding to the identified original sentence element (step S418).

CPU110は、原著木構造データ1311を参照して、原著の特定された文要素に容易情報が対応付けられているか否かを判断する(ステップS420)。CPU110は、原著の特定された文要素に容易情報が含まれていない場合(ステップS420においてNOである場合)、ステップS426からの処理を実行する。   The CPU 110 refers to the original tree structure data 1311 to determine whether easy information is associated with the sentence element specified in the original (step S420). CPU110 performs the process from step S426, when easy information is not contained in the sentence element specified by the original work (when it is NO in step S420).

CPU110は、原著の特定された文要素に容易情報が含まれている場合(ステップS420においてYESである場合)、翻訳書木構造データ1321を参照して、翻訳書の特定された文要素に容易情報が対応付けられているか否かを判断する(ステップS422)。翻訳書の特定された文要素に容易情報が対応付けられていない場合(ステップS422においてNOである場合)、CPU110は、ステップS426からの処理を実行する。   CPU110 refers to the translation tree structure data 1321 when easy information is included in the sentence element specified in the original work (YES in step S420), and the sentence element specified in the translation is easy to identify. It is determined whether or not the information is associated (step S422). If easy information is not associated with the specified sentence element of the translation (NO in step S422), CPU 110 executes the processing from step S426.

翻訳書の特定された文要素に容易情報が含まれている場合(ステップS422においてYESである場合)、翻訳書の特定された段落内のうち容易情報に対応付けられた文要素まで特定範囲を広げる(ステップS424)。CPU110は、原著木構造データ1311の原著の特定された文要素に翻訳書の特定された文要素を対応付け、翻訳書木構造データ1321の翻訳書の特定された文要素に原著の特定された文要素を対応付ける(ステップS426)。すなわち、CPU110は、原著の特定された文要素に翻訳書の特定された文要素のリンクを張り、翻訳書木構造データ1321の翻訳書の特定された文要素に原著の特定された文要素のリンクを張る。   If easy information is included in the sentence element specified in the translated document (YES in step S422), the specific range is set up to the sentence element associated with the easy information in the specified paragraph of the translated document. Widen (step S424). The CPU 110 associates the specified sentence element of the translated document with the specified sentence element of the original document in the original tree structure data 1311, and the original document is specified in the specified sentence element of the translated document in the translated document tree structure data 1321. The sentence element is associated (step S426). That is, the CPU 110 links the sentence element specified in the translation to the sentence element specified in the original work, and specifies the sentence element specified in the original work as the sentence element specified in the translation tree structure data 1321. Make a link.

CPU110は、原著から翻訳書の当該リンク先へとジャンプする(ステップS428)。すなわち、CPU110は、ディスプレイ121に、翻訳書のうちの、特定された章の、特定された段落の、特定された文を表示させる。CPU110は、指定された原著の文または文の一部に対応する翻訳書の文または文の一部を他の部分とは異なる表示態様でディスプレイ121に表示させる(ステップS430)。CPU110は、翻訳書表示処理を終了する。   The CPU 110 jumps from the original work to the link destination of the translated document (step S428). That is, the CPU 110 causes the display 121 to display the specified sentence of the specified paragraph of the specified chapter in the translated document. The CPU 110 causes the display 121 to display a sentence or a part of the translation corresponding to the designated original sentence or a part of the sentence in a display mode different from the other parts (step S430). CPU110 complete | finishes a translation display process.

<文書指定処理>
以下では、CPU110によって実行される文書指定処理について説明する。図10は、本実施の形態に係る文書指定処理を示すフローチャートである。
<Document specification processing>
Hereinafter, the document designation process executed by the CPU 110 will be described. FIG. 10 is a flowchart showing a document designation process according to the present embodiment.

図10を参照して、CPU110は、ディスプレイ121に翻訳書(検索対象)の候補を選択可能に表示させる(ステップS502)。CPU110は、タッチパネル120またはボタン170を介して、ユーザからの翻訳書の指定命令を受け付けたか否かを判断する(ステップS504)。CPU110は、翻訳書の指定命令を受け付けなかった場合(ステップS504においてNOである場合)、ステップS504の処理を繰り返す。   Referring to FIG. 10, CPU 110 causes display 121 to display translation (search target) candidates in a selectable manner (step S502). CPU 110 determines whether or not a translation designation instruction is received from the user via touch panel 120 or button 170 (step S504). CPU110 repeats the process of step S504, when the designation | designated command of a translation is not received (when it is NO in step S504).

CPU110は、翻訳書の指定命令を受け付けた場合(ステップS504においてYESである場合)、原著データ131と指定された翻訳書データ132との対応関係をメモリ130に格納する。CPU110は、文指定処理を終了する。   When CPU 110 accepts a translation designation command (YES in step S504), CPU 110 stores the correspondence between original data 131 and designated translation data 132 in memory 130. CPU110 complete | finishes a sentence designation | designated process.

<リンク先変更処理>
以下では、CPU110によって実行されるリンク先変更処理について説明する。図11は、本実施の形態に係るリンク先変更処理を示すフローチャートである。CPU110は、タッチパネル120またはボタン170を介して、翻訳書の別の部分が指定されたときに、以下の処理を実行する。
<Link destination change processing>
Below, the link destination change process performed by CPU110 is demonstrated. FIG. 11 is a flowchart showing link destination change processing according to the present embodiment. CPU 110 executes the following processing when another part of the translated document is designated via touch panel 120 or button 170.

図11を参照して、CPU110は、タッチパネル120またはボタン170を介して、翻訳書の単語が選択されたか否かを判断する(ステップS602)。CPU110は、翻訳書の単語が選択された場合(ステップS602においてYESである場合)、辞書モードへと移行する(ステップS300)。より詳細には、CPU110は、辞書を起動して、選択された単語を検索する。CPU110は、検索結果をディスプレイ121に表示させる。CPU110は、リンク先変更処理を終了する。   Referring to FIG. 11, CPU 110 determines whether a translated word has been selected via touch panel 120 or button 170 (step S <b> 602). CPU110 transfers to dictionary mode, when the word of a translation is selected (when it is YES in step S602) (step S300). More specifically, CPU 110 activates the dictionary and searches for the selected word. The CPU 110 displays the search result on the display 121. CPU110 complete | finishes a link destination change process.

CPU110は、翻訳書の文または(単語よりも長い)文の一部が選択された場合(ステップS602においてNOである場合)、原著木構造データ1311の特定された文要素と翻訳書木構造データ1321の特定された文要素との対応関係をクリアする(ステップS604)。CPU110は、翻訳書のうちの新たに指定された位置に基づいて文要素を特定し、特定された文要素に基づいて段落要素を特定し、特定された段落要素に基づいて章要素を特定する(ステップS606)。   When the sentence of the translated document or a part of the sentence (longer than the word) is selected (NO in step S602), CPU 110 identifies the sentence element specified in original tree structure data 1311 and the translated document tree structure data. The correspondence relationship with the identified sentence element 1321 is cleared (step S604). CPU 110 identifies a sentence element based on a newly designated position in the translation, identifies a paragraph element based on the identified sentence element, and identifies a chapter element based on the identified paragraph element. (Step S606).

CPU110は、原著木構造データ1311の既に(ステップS404にて)特定されていた文要素に、翻訳書木構造データ1321の新たに特定された文要素を対応付け、翻訳書木構造データ1321の新たに特定された文要素に原著木構造データ1311の既に特定されていた文要素を対応付ける(ステップS608)。すなわち、CPU110は、原著の特定されていた文要素に翻訳書の新たに特定された文要素のリンクを張り、翻訳書の新たに特定された文要素に原著の特定されていた文要素のリンクを張る。   CPU 110 associates the newly specified sentence element of translated tree structure data 1321 with the already specified sentence element of original tree structure data 1311 (in step S404), and newly adds translated tree structure data 1321. The sentence element already specified in the original tree structure data 1311 is associated with the sentence element specified in step S608. In other words, the CPU 110 links the newly specified sentence element of the translation to the sentence element specified in the original work, and links the sentence element specified in the original work to the newly specified sentence element of the translation. Hang.

CPU110は、原著から翻訳書の新たなリンク先へとジャンプする(ステップS610)。すなわち、CPU110は、ディスプレイ121に、翻訳書のうちの、特定された章の、特定された段落の、特定された文を表示させる。CPU110は、指定された原著の文または文の一部に対応する翻訳書の文または文の一部を他の部分とは異なる表示態様でディスプレイ121に表示させる。CPU110は、翻訳書表示処理を終了する。   The CPU 110 jumps from the original work to a new link destination of the translated document (step S610). That is, the CPU 110 causes the display 121 to display the specified sentence of the specified paragraph of the specified chapter in the translated document. The CPU 110 causes the display 121 to display a sentence or a part of the sentence corresponding to the specified original sentence or a part of the sentence in a display mode different from the other parts. CPU110 complete | finishes a translation display process.

<文指定処理の変形例>
電子書籍端末100は、原著の一部が選択された場合に、現在表示されている原著の範囲に対応する翻訳書の範囲を全て表示してもよい。たとえば、電子書籍端末100は、原著の一部が選択された場合にディスプレイ121の一番前に表示されている文に対応する翻訳書の文をディスプレイ121の一番前に表示し、原著の一部が選択された場合にディスプレイ121の一番後に表示されている文に対応する翻訳書の文をディスプレイ121の一番後に表示してもよい。
<Variation of sentence specification processing>
When a part of the original book is selected, the electronic book terminal 100 may display the entire range of the translation corresponding to the currently displayed range of the original book. For example, when a part of the original book is selected, the electronic book terminal 100 displays a translated sentence corresponding to the sentence displayed on the forefront of the display 121 on the forefront of the display 121. When a part of the text is selected, the translated text corresponding to the text displayed at the end of the display 121 may be displayed at the end of the display 121.

以下では、CPU110によって実行される文指定処理の変形例について説明する。図12は、本実施の形態に係る翻訳書表示処理の変形例を示すフローチャートである。CPU110は、原著のいずれかの文がクリックされたとき、または原書の文の一部が選択されたとき、または翻訳書を表示する旨の命令を受け付けたとき、以下の処理を実行する。   Below, the modification of the sentence designation | designated process performed by CPU110 is demonstrated. FIG. 12 is a flowchart showing a modified example of the translated document display process according to the present embodiment. The CPU 110 executes the following processing when any sentence of the original book is clicked, when a part of the sentence of the original document is selected, or when an instruction to display a translated document is received.

図12を参照して、CPU110は、原著に対応する翻訳書(検索文書)が指定されているか否かを判断する(ステップS401)。原著に対応する翻訳書が指定されている場合(ステップS401においてYESである場合)、CPU110は、ステップS402からの処理を実行する。原著に対応する翻訳書(検索文書)が指定されていない場合(ステップS401においてNOである場合)、文書指定処理(ステップS500)を実行する。   Referring to FIG. 12, CPU 110 determines whether or not a translation (search document) corresponding to the original is designated (step S401). When the translation corresponding to the original work is specified (YES in step S401), CPU 110 executes the processing from step S402. If the translated document (search document) corresponding to the original is not specified (NO in step S401), the document specifying process (step S500) is executed.

図9のステップS402〜ステップS426と同様に、CPU110は、原著木構造データ1311と翻訳書木構造データ1321とを参照して、原著のうちの現在ディスプレイ121の一番前に表示されている文のリンク先(翻訳書木構造データ1321の第1の文要素)を特定する(ステップS452)。図9のステップS402〜ステップS426と同様に、CPU110は、原著木構造データ1311と翻訳書木構造データ1321とを参照して、原著のうちの現在ディスプレイ121の一番後に表示されている文のリンク先(翻訳書木構造データ1321の第2の文要素)を特定する(ステップS454)。   As in Steps S402 to S426 in FIG. 9, the CPU 110 refers to the original tree structure data 1311 and the translated tree structure data 1321, and the sentence displayed at the forefront of the current display 121 among the original articles. Link destination (first sentence element of translated tree structure data 1321) is specified (step S452). As in steps S402 to S426 in FIG. 9, the CPU 110 refers to the original tree structure data 1311 and the translated tree structure data 1321, and the sentence of the sentence currently displayed on the last display 121 of the original is displayed. The link destination (second sentence element of the translated document tree structure data 1321) is specified (step S454).

CPU110は、翻訳書データ132を参照して、第1の文要素の文をディスプレイ121の一番前に表示させ、第2の文要素の文をディスプレイ121の一番後に表示させる(ステップS456)。より詳細には、CPU110は、第1の文要素の文から第2の文要素の文までがディスプレイ121または電子書籍のウィンドウいっぱいに収まるように、文字サイズを調整することによって翻訳書の対応箇所をディスプレイ121に表示させる。   The CPU 110 refers to the translation data 132 and causes the first sentence element sentence to be displayed at the forefront of the display 121 and the second sentence element sentence to be displayed at the forefront of the display 121 (step S456). . More specifically, the CPU 110 adjusts the character size so that the sentence from the first sentence element to the sentence of the second sentence element fits in the display 121 or the window of the electronic book, so that the corresponding part of the translated document Is displayed on the display 121.

CPU110は、指定された原著の文または文の一部に対応する翻訳書の文または文の一部を他の部分と異なる表示態様でディスプレイ121に表示させる(ステップS458)。CPU110は、文指定処理を終了する。   The CPU 110 causes the display 121 to display a sentence or a part of the translation corresponding to the designated original sentence or part of the sentence in a display mode different from the other parts (step S458). CPU110 complete | finishes a sentence designation | designated process.

<その他の応用例>
本発明は、システム或いは装置にプログラムを供給することによって達成される場合にも適用できることはいうまでもない。そして、本発明を達成するためのソフトウェアによって表されるプログラムを格納した外部の記憶媒体141(メモリ130)を、システム或いは装置に供給し、そのシステム或いは装置のコンピュータ(又はCPUやMPU)が外部の記憶媒体141(メモリ130)に格納されたプログラムコードを読出し実行することによっても、本発明の効果を享受することが可能となる。
<Other application examples>
It goes without saying that the present invention can also be applied to a case where it is achieved by supplying a program to a system or apparatus. Then, an external storage medium 141 (memory 130) storing a program represented by software for achieving the present invention is supplied to the system or apparatus, and the computer (or CPU or MPU) of the system or apparatus is externally supplied. The effect of the present invention can also be enjoyed by reading and executing the program code stored in the storage medium 141 (memory 130).

この場合、外部の記憶媒体141(メモリ130)から読出されたプログラムコード自体が前述した実施の形態の機能を実現することになり、そのプログラムコードを記憶した外部の記憶媒体141(メモリ130)は本発明を構成することになる。   In this case, the program code itself read from the external storage medium 141 (memory 130) realizes the functions of the above-described embodiment, and the external storage medium 141 (memory 130) storing the program code is This constitutes the present invention.

また、コンピュータが読出したプログラムコードを実行することにより、前述した実施の形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼動しているOS(オペレーティングシステム)などが実際の処理の一部または全部を行い、その処理によって前述した実施の形態の機能が実現される場合も含まれることは言うまでもない。   Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also an OS (operating system) running on the computer based on the instruction of the program code However, it is needless to say that a case where the function of the above-described embodiment is realized by performing part or all of the actual processing and the processing is included.

さらに、外部の記憶媒体141(メモリ130)から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わる他の記憶媒体に書き込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によって前述した実施の形態の機能が実現される場合も含まれることは言うまでもない。   Further, after the program code read from the external storage medium 141 (memory 130) is written to another storage medium provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, This includes the case where the CPU of the function expansion board or function expansion unit performs part or all of the actual processing based on the instruction of the program code, and the functions of the above-described embodiments are realized by the processing. Needless to say.

今回開示された実施の形態はすべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は、上記した説明ではなく、特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。   The embodiment disclosed this time should be considered as illustrative in all points and not restrictive. The scope of the present invention is defined by the terms of the claims, rather than the description above, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.

100 電子書籍端末、110 CPU、120 タッチパネル、121 ディスプレイ、122 タブレット、130 メモリ、131 原著データ、132 翻訳書データ、133 対応関係、140 メモリインターフェイス、141 記憶媒体、150 通信インターフェイス、170 ボタン、1311 原著木構造データ、1321 翻訳書木構造データ。   100 electronic book terminal, 110 CPU, 120 touch panel, 121 display, 122 tablet, 130 memory, 131 original data, 132 translation data, 133 correspondence, 140 memory interface, 141 storage medium, 150 communication interface, 170 button, 1311 original Tree structure data, 1321 Translation tree structure data.

Claims (9)

第1の言語で記載された第1のテキストと第2の言語で記載された第2のテキストとを記憶するメモリと、
ディスプレイと、
プロセッサとを備え、前記プロセッサは、
前記第1のテキストを解析することによって、前記第1のテキストの構成を示す第1の木構造を取得し、
前記第2のテキストを解析することによって、前記第2のテキストの構成を示す第2の木構造を取得し、
前記第1のテキストのうちの一部を指定する命令を受け付けて、前記第1および第2の木構造を参照することによって、前記第1のテキストのうちの一部に対応する前記第2のテキストのうちの一部を前記ディスプレイに表示させる、電子機器。
A memory for storing a first text written in a first language and a second text written in a second language;
Display,
A processor, the processor comprising:
By analyzing the first text to obtain a first tree structure indicating the composition of the first text;
By analyzing the second text, a second tree structure indicating the composition of the second text is obtained,
The second text corresponding to a part of the first text is received by receiving an instruction designating a part of the first text and referring to the first and second tree structures. An electronic device that causes a part of text to be displayed on the display.
前記プロセッサは、前記第1のテキストのうちの一部を指定する命令を受け付けた際に、前記第1および第2の木構造を参照することによって、前記ディスプレイに、前記第1のテキストのうちの現在最も前に表示されている文に対応する前記第2のテキストのうちの文を最も前に表示させる、請求項1に記載の電子機器。   When the processor receives an instruction for designating a part of the first text, the processor refers to the first and second tree structures to display the first text on the display. The electronic device according to claim 1, wherein a sentence of the second text corresponding to a sentence currently displayed at the forefront is displayed at the forefront. 前記プロセッサは、前記第1のテキストのうちの一部を指定する命令を受け付けた際に、前記第1および第2の木構造を参照することによって、前記ディスプレイに、前記第1のテキストのうちの現在最も後に表示されている文に対応する前記第2のテキストのうちの文を最も後に表示させる、請求項1または2に記載の電子機器。   When the processor receives an instruction for designating a part of the first text, the processor refers to the first and second tree structures to display the first text on the display. 3. The electronic device according to claim 1, wherein a sentence of the second text corresponding to a sentence currently displayed most recently is displayed most recently. 前記第1のテキストのうちの一部に対応する前記第2のテキストのうちの一部を他の箇所とは異なる表示態様で前記ディスプレイに表示させる、請求項1〜3のいずれか1項に記載の電子機器。   4. The display device according to claim 1, wherein a part of the second text corresponding to a part of the first text is displayed on the display in a display mode different from other parts. The electronic device described. 前記第1および第2の木構造は、文の要素を含む、請求項1〜4のいずれか1項に記載の電子機器。   The electronic device according to claim 1, wherein the first and second tree structures include sentence elements. 前記第1および第2の木構造は、段落の要素を含む、請求項1〜5のいずれか1項に記載の電子機器。   The electronic device according to claim 1, wherein the first and second tree structures include paragraph elements. 前記第1および第2の木構造は、章の要素を含む、請求項1〜6のいずれか1項に記載の電子機器。   The electronic device according to claim 1, wherein the first and second tree structures include chapter elements. 第1の言語で記載された第1のテキストと第2の言語で記載された第2のテキストとを記憶するメモリと、ディスプレイと、プロセッサとを含む電子機器におけるテキスト表示方法であって、
前記プロセッサが、前記第1のテキストを解析することによって、前記第1のテキストの構成を示す第1の木構造を取得するステップと、
前記プロセッサが、前記第2のテキストを解析することによって、前記第2のテキストの構成を示す第2の木構造を取得するステップと、
前記プロセッサが、前記第1のテキストのうちの一部を指定する命令を受け付けて、前記第1および第2の木構造を参照することによって、前記第1のテキストのうちの一部に対応する前記第2のテキストのうちの一部を前記ディスプレイに表示させるステップとを備える、テキスト表示方法。
A text display method in an electronic device including a memory for storing a first text written in a first language and a second text written in a second language, a display, and a processor,
The processor obtains a first tree structure indicative of a composition of the first text by analyzing the first text;
The processor obtains a second tree structure representing the composition of the second text by analyzing the second text;
The processor accepts an instruction specifying a part of the first text and refers to the first and second tree structures to correspond to the part of the first text. And displaying a part of the second text on the display.
第1の言語で記載された第1のテキストと第2の言語で記載された第2のテキストとを記憶するメモリと、ディスプレイと、プロセッサとを含む電子機器にテキストを表示させるためのテキスト表示プログラムであって、前記プロセッサに、
前記第1のテキストを解析することによって、前記第1のテキストの構成を示す第1の木構造を取得するステップと、
前記第2のテキストを解析することによって、前記第2のテキストの構成を示す第2の木構造を取得するステップと、
前記第1のテキストのうちの一部を指定する命令を受け付けて、前記第1および第2の木構造を参照することによって、前記第1のテキストのうちの一部に対応する前記第2のテキストのうちの一部を前記ディスプレイに表示させるステップとを実行させる、テキスト表示プログラム。
Text display for displaying text on an electronic device including a memory storing a first text written in a first language and a second text written in a second language, a display, and a processor A program comprising:
Obtaining a first tree structure indicative of a composition of the first text by analyzing the first text;
Obtaining a second tree structure indicative of the composition of the second text by analyzing the second text;
The second text corresponding to a part of the first text is received by receiving an instruction designating a part of the first text and referring to the first and second tree structures. A text display program for executing a step of displaying a part of text on the display.
JP2011118151A 2011-05-26 2011-05-26 Electronic device, text display method, and text display program Withdrawn JP2012247929A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011118151A JP2012247929A (en) 2011-05-26 2011-05-26 Electronic device, text display method, and text display program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011118151A JP2012247929A (en) 2011-05-26 2011-05-26 Electronic device, text display method, and text display program

Publications (1)

Publication Number Publication Date
JP2012247929A true JP2012247929A (en) 2012-12-13

Family

ID=47468330

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011118151A Withdrawn JP2012247929A (en) 2011-05-26 2011-05-26 Electronic device, text display method, and text display program

Country Status (1)

Country Link
JP (1) JP2012247929A (en)

Similar Documents

Publication Publication Date Title
US8166418B2 (en) Device and method of conveying meaning
CN105830011B (en) For overlapping the user interface of handwritten text input
JP4935869B2 (en) Electronic device and program
CN104272322B (en) The control method of display control unit and display device
CN111859856A (en) Information display method and device, electronic equipment and storage medium
JP6477585B2 (en) Image processing apparatus and image processing system
JP5195881B2 (en) Document browsing device, display method in document browsing device, and display program
JP2017200119A5 (en)
JP5509976B2 (en) Information display control device and control program thereof
US20150356120A1 (en) Design management apparatus, design management method, and non-transitory computer readable medium
CN109445900B (en) Translation method and device for picture display
JP2012128069A (en) Electronic learning device and program
JP2010055488A (en) Information processor, window display method and program
JP5672357B2 (en) Electronic device and program
JP5652251B2 (en) Information display device and program
US8335680B2 (en) Electronic apparatus with dictionary function background
JP2017010365A (en) Dictionary terminal and information display control program
JP5609697B2 (en) Dictionary information display device and program
CN110990419B (en) Electronic dictionary device and method for searching electronic dictionary
US20120154436A1 (en) Information display apparatus and information display method
JP2012247929A (en) Electronic device, text display method, and text display program
JP5596068B2 (en) Electronic terminal and book browsing program
CN112988958A (en) Information processing apparatus, recording medium, and information processing method
JP5674140B2 (en) Text input device, text input receiving method and program
JP7098897B2 (en) Image processing equipment, programs and image data

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20140805