Movatterモバイル変換


[0]ホーム

URL:


JP2005070939A - Character string processing device, character string processing method, program, and recording medium - Google Patents

Character string processing device, character string processing method, program, and recording medium
Download PDF

Info

Publication number
JP2005070939A
JP2005070939AJP2003297249AJP2003297249AJP2005070939AJP 2005070939 AJP2005070939 AJP 2005070939AJP 2003297249 AJP2003297249 AJP 2003297249AJP 2003297249 AJP2003297249 AJP 2003297249AJP 2005070939 AJP2005070939 AJP 2005070939A
Authority
JP
Japan
Prior art keywords
range
character string
display
mode
hidden
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.)
Pending
Application number
JP2003297249A
Other languages
Japanese (ja)
Inventor
Yasuaki Tachiiri
靖朗 立入
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 CorpfiledCriticalSharp Corp
Priority to JP2003297249ApriorityCriticalpatent/JP2005070939A/en
Publication of JP2005070939ApublicationCriticalpatent/JP2005070939A/en
Pendinglegal-statusCriticalCurrent

Links

Images

Landscapes

Abstract

Translated fromJapanese

【課題】 表示された文字列を暗記しようとするような場合に、実際に暗記できているか否かを容易に確認することができる文字列処理装置、文字列処理方法、プログラム及び記録媒体を提供する。
【解決手段】 (a)に示されるような処理対象文字列において、(b)に示されるように、ユーザにより、文字列「プログラム」が範囲指定された場合、(c)に示されるように、指定された文字列をマークなどで置き換え、非表示の状態として表示することで(問題モード)、当該文字列が実際に暗記できているか否かを容易に確認することができる。解答モードの表示の指示がされた場合には、非表示となっていた部分も表示する。
【選択図】 図6

PROBLEM TO BE SOLVED: To provide a character string processing device, a character string processing method, a program, and a recording medium capable of easily confirming whether or not a memorized character string is actually memorized when memorizing a displayed character string. To do.
In a character string to be processed as shown in (a), as shown in (b), when a range of a character string “program” is designated by a user, as shown in (c). By replacing the designated character string with a mark or the like and displaying it as a non-display state (problem mode), it is possible to easily confirm whether or not the character string is actually memorized. When the display of the answer mode is instructed, the hidden portion is also displayed.
[Selection] Figure 6

Description

Translated fromJapanese

本発明は、文字列処理装置、文字列処理方法、プログラム及び記録媒体に関し、特に、例えば表示された文字列をユーザが暗記しようとするような場合に、実際に暗記できたか否かを容易に確認することができる文字列処理装置、文字列処理方法、プログラム及び記録媒体に関する。  The present invention relates to a character string processing device, a character string processing method, a program, and a recording medium. In particular, for example, when a user tries to memorize a displayed character string, it is easy to determine whether or not the user can actually memorize the character string. The present invention relates to a character string processing apparatus, a character string processing method, a program, and a recording medium that can be confirmed.

通常の紙媒体を用いた学習参考書等の書物においては、読者がアンダーラインを付する等して内容を暗記しやすくすることが一般的に行われている。一方、書物、新聞、雑誌などの文字、線画、写真等の内容を、電子的、光学的、磁気的な記録装置に保存しておいて、これを読み出して表示する電子ブックにおいて、表示内容にアンダーラインを引くだけでなく、アンダーラインが引かれたページのみを順次読み出してアンダーラインとともに表示するようにした技術が特許文献1に開示されている。  In a book such as a learning reference book using a normal paper medium, it is generally performed that the reader can easily memorize the contents by adding an underline. On the other hand, the contents of text, line drawings, photographs, etc., such as books, newspapers, magazines, etc. are stored in electronic, optical, and magnetic recording devices, and the contents are displayed in electronic books that are read and displayed. Japanese Patent Application Laid-Open No. 2004-151867 discloses a technique in which not only underlines are drawn, but only pages with underlines are sequentially read and displayed together with the underlines.

また、特許文献2には、アンダーラインの他、欄外の線、丸で囲む領域、欄外の覚え書き等を含む各種注記(アノテーション)に属性を割り当て、割り当てられた属性に基づいて注記事項を編集、表示するような技術が開示されている。  In addition, in Patent Document 2, attributes are assigned to various annotations (annotations) including underline, marginal line, circled area, marginal notes, etc., and the annotations are edited based on the allocated attributes. A technique for displaying is disclosed.

特開平3−103985号公報Japanese Patent Laid-Open No. 3-103985特開平11−219245号公報Japanese Patent Laid-Open No. 11-219245

さて、上記従来技術ではアンダーライン等の注記事項を付加することはできるが、アンダーライン等が付加された文書を表示させ、ユーザが内容を暗記しようとしても、実際に暗記できたか否かは不明である場合が多いという問題点があった。アンダーラインが引かれた文書が表示された画面を漫然と眺めていても、いざ表示画面を消してみると、内容が全く暗記できていない、というのは通常よく経験されるところである。  In the above prior art, although it is possible to add notes such as underline, it is unclear whether or not the user can actually memorize even if the user tries to memorize the contents by displaying the document with the underline added. There was a problem that there were many cases. Even if you look at the screen on which the underlined document is displayed, it is often the case that if you turn off the display screen, the content is not memorized at all.

本発明は、係る問題点を解決するためになされたものであって、例えば表示された文字列をユーザが暗記しようとするような場合に、実際に暗記できたか否かを容易に確認することができる文字列処理装置、文字列処理方法、プログラム及び記録媒体を提供することを目的としている。  The present invention has been made to solve such a problem. For example, when a user tries to memorize a displayed character string, it can be easily confirmed whether or not the user can actually memorize the displayed character string. An object of the present invention is to provide a character string processing device, a character string processing method, a program, and a recording medium.

上記の問題点を解決するために、本発明に係る第1の文字列処理装置は、文字列中で非表示にすべき範囲を規定する非表示範囲規定手段と、規定された範囲を非表示とするように編集する編集手段と、規定された範囲を非表示として表示させるか否かの指定を受け付ける非表示指定受付手段とを備えることを特徴としている。  In order to solve the above problems, a first character string processing device according to the present invention includes a non-display range defining unit that defines a range to be hidden in a character string, and a non-display of the defined range. And editing means for editing, and non-display designation receiving means for receiving designation of whether or not to display the specified range as non-display.

この構成によれば、非表示指定受付手段が、規定された範囲を非表示として表示させる旨の指定を受け付けた場合に、規定された範囲が非表示となって表示される(後述の問題モード)。実際に暗記できたか否かは、非表示となった部分が暗記できているか否かにより容易に確認することができる。非表示指定受付手段が、規定された範囲も表示させる旨の指定を受け付けた場合、問題モードでは非表示となっていた部分も表示される(後述の解答モード)。この場合の表示内容をさらに暗記に役立てることができる。「非表示にすべき範囲の規定」の方法は後述するように種々考えられるが、新たに規定する場合だけでなく、例えば文字列、あるいは当該文字列を格納したファイル等に、既に「非表示にすべき範囲」についての情報が付加されているような場合に、当該情報に基づいて規定する場合も含む。  According to this configuration, when the non-display designation accepting unit accepts designation to display the specified range as non-display, the specified range is hidden and displayed (problem mode described later). ). Whether or not the user can actually memorize can be easily confirmed based on whether or not the hidden portion can be memorized. When the non-display designation accepting unit accepts the designation to display the specified range, the part that is not displayed in the question mode is also displayed (answer mode described later). The display contents in this case can be further used for memorization. There are various methods of “prescribing the range to be hidden” as will be described later. However, not only when newly defining, but also for example, a character string or a file storing the character string has already been “hidden”. In the case where information on “range to be included” is added, the case where the information is defined based on the information is also included.

なお、さらに、処理対象として入力された文字列の中で表示すべき範囲の指定を受け付ける表示範囲受付手段を備えることが好ましい。処理対象として入力される文字列としては、例えば比較的サイズの大きいテキストファイルが入力されることも考えられる。このような場合、テキストの全てを表示する必要はない場合も多いからである。もっとも、例えば解答モードの表示の際には、非表示とすべきとして指定された範囲を含む文(センテンス)、段落(パラグラフ)のみを表示するようにしてもよい。文や段落の切り分けは周知技術を適用することが可能であるから詳細な説明は省略する。  In addition, it is preferable to further include a display range accepting unit that accepts designation of a range to be displayed in the character string input as a processing target. As a character string to be input as a processing target, for example, a text file having a relatively large size may be input. In such a case, it is often unnecessary to display all of the text. However, for example, when the answer mode is displayed, only sentences (sentences) and paragraphs (paragraphs) including a range designated as non-display may be displayed. Since a well-known technique can be applied to the separation of sentences and paragraphs, detailed description is omitted.

具体的に非表示とすべき範囲を規定する方法は種々考えられる。例えば、前記非表示範囲規定手段は、文字列中で非表示にすべき範囲の指定を受け付ける第2の範囲受付手段を含み、当該第2の範囲受付手段が受け付けた範囲を非表示にすべき範囲として規定することができる。また、前記非表示範囲規定手段はさらに、前記第2の範囲受付手段が受け付けた範囲に存在する文字列を、受け付けた範囲以外の部分で検索する検索手段を含み、当該検索手段により検索された文字列も非表示にすべき範囲として規定することができる。この構成では、非表示にすべきとして指定された文字列と同じ文字列は、特に指定がなくても非表示となり、範囲指定した周辺の文字列から、非表示となっている文字列が推測されることを防止できる。  There are various methods for specifically defining the range to be hidden. For example, the non-display range defining unit includes a second range receiving unit that receives designation of a range to be hidden in a character string, and the range received by the second range receiving unit should be hidden. Can be defined as a range. The non-display range defining means further includes a search means for searching for a character string existing in the range accepted by the second range accepting means in a portion other than the accepted range, and retrieved by the search means. A character string can also be defined as a range to be hidden. In this configuration, the same character string that is specified to be hidden is hidden even if it is not specified, and the hidden character string is inferred from the surrounding character string that has been specified for the range. Can be prevented.

さらに、文字列の範囲の指定を受け付ける第2の範囲受付手段を備え、前記非表示範囲規定手段は、前記表示範囲受付手段により指定された範囲内に、前記第2の範囲受付手段が受け付けた範囲が存在した場合に、当該第2の範囲受付手段が受け付けた範囲を非表示にすべき範囲として規定することができる。実装上は、「表示すべき範囲の指定」か「非表示とすべき範囲の指定」かを明確に区別する必要がなく、例えば指定範囲が重複した場合に、広い文字列範囲の指定を「表示すべき範囲の指定」と判定し、狭い文字列範囲の指定を「非表示とすべき範囲の指定」と判定することもできる。  Furthermore, a second range receiving means for receiving designation of a character string range is provided, and the non-display range defining means is received by the second range receiving means within a range designated by the display range receiving means. When there is a range, the range received by the second range receiving unit can be defined as a range to be hidden. In terms of implementation, there is no need to clearly distinguish between “designation of a range to be displayed” or “designation of a range to be hidden”. For example, if the designated ranges overlap, specify a wide character string range. It can also be determined as “designation of a range to be displayed” and designation of a narrow character string range as “designation of a range to be hidden”.

その他、非表示範囲規定手段は、非表示にすべき文字列を判別するための辞書を備え、当該辞書を参照して非表示にすべきと判別された文字列を、非表示にすべき範囲として規定することができるし、文字列中に存在する数字を検索し、当該数字を非表示にすべき範囲として規定することもできる。後述の第2の実施の形態で説明する「汎用語以外の文字列」を非表示とする場合に対応する。辞書の内容は任意であるし、辞書と数字とを併用することもできる。  In addition, the non-display range defining means includes a dictionary for determining a character string to be hidden, and a range in which the character string determined to be hidden with reference to the dictionary is to be hidden. It is also possible to search for a number existing in a character string and specify the number as a range to be hidden. This corresponds to the case where “a character string other than general-purpose words” described in a second embodiment to be described later is not displayed. The contents of the dictionary are arbitrary, and the dictionary and numbers can be used together.

前記非表示範囲規定手段は、文字列中に存在する文章を解析する言語処理手段を含み、前記言語処理手段による解析結果に基づいて非表示にすべき範囲を規定することもできる。具体的には、主語のみを表示したり、主語のみ非表示としたりすることができるが、これに限定されず、文字列の内容等に応じて種々の文字列処理を行うことができる。
前記非表示範囲規定手段は、文字列中に存在する装飾文字を検索し、当該装飾文字の部分を非表示にすべき範囲として規定することもできる。装飾文字列とする方法は、太字、斜体とする他、下線、反転、特殊フォント、上付き、下付き、文字サイズ、文字色を周囲と変えるなど、周囲の他の文字列と識別可能な形態であれば、何でもよい。また、どのようなタイプの装飾文字を非表示とするかをユーザが指定するような画面を設けるようにしてもよい。
The non-display range defining means may include language processing means for analyzing a sentence existing in a character string, and may define a range to be hidden based on an analysis result by the language processing means. Specifically, only the subject can be displayed or only the subject can be hidden. However, the present invention is not limited to this, and various character string processing can be performed according to the content of the character string.
The non-display range defining means can search for a decoration character existing in a character string and define the portion of the decoration character as a range to be hidden. Decorative character strings can be distinguished from other surrounding character strings, such as bold, italic, underline, reverse, special font, superscript, subscript, character size, character color, etc. Anything is acceptable. In addition, a screen may be provided for the user to specify what type of decorative character is hidden.

前記非表示範囲規定手段は、数式を検索し、当該数式に含まれる文字列の少なくとも一部を非表示にすべき範囲として規定することもできる。この場合、左辺のみ、あるいは右辺のみを非表示としてもよいし、両辺を非表示としてもよい。いずれかを非表示とする場合、分数の側、数字の数の多い側を表示する等としてもよい。  The non-display range defining means may search for a mathematical expression and define at least a part of a character string included in the mathematical expression as a range to be hidden. In this case, only the left side or only the right side may be hidden, or both sides may be hidden. When either one is not displayed, the fractional side, the side with the larger number of numbers, or the like may be displayed.

前記編集手段は、前記規定された範囲に存在する文字を、当該文字の数と同一又は異なる数の記号文字に置き換えることで非表示とすることができる他、前記規定された範囲の文字列が存在する位置に関する情報を取得する位置情報取得手段と、当該位置に図形を配置する図形配置手段とを含むとしてもよい。図形の大きさは文字列の範囲と合わせてもよいが、文字列の長さと関係なく、同一サイズの図形を用いることもできる。  The editing means can hide the character string in the specified range by replacing the character existing in the specified range with the same or different number of symbol characters as the number of the character. Position information acquisition means for acquiring information related to the existing position and figure placement means for placing a figure at the position may be included. The size of the figure may be matched with the range of the character string, but a figure of the same size can be used regardless of the length of the character string.

本発明に係る第2の文字列処理装置は、文字列中で、第1のモードにおいて表示する範囲を規定する第1表示範囲規定手段と、規定された範囲の文字列を表示させる第1のモードか、規定された範囲以外の文字列も併せて表示させる第2のモードかの指定を受け付ける表示モード指定手段とを備えることを特徴としている。第1のモード(後述の問題モード)で表示された文字列を含む、より長い文字列が第2のモード(後述の解答モード)で表示されることになり、例えば問題モードで用語を表示し、解答モードで当該用語の説明を表示するような利用法が考えられる。  The second character string processing device according to the present invention includes a first display range defining means for defining a range to be displayed in the first mode in the character string, and a first character string for displaying the character string in the defined range. And a display mode designating unit that accepts designation of a mode or a second mode in which a character string outside the specified range is also displayed. Longer character strings including character strings displayed in the first mode (question mode described later) will be displayed in the second mode (answer mode described later). For example, the term is displayed in the question mode. A method of using the answer mode to display the explanation of the term can be considered.

前記文字列処理装置はさらに、処理対象として入力された文字列の中で、第2のモードにて表示すべき範囲の指定を受け付ける第2表示範囲受付手段を含むことが好ましい。サイズの大きいファイルが処理対象として入力されている場合、解答モードでも全部を表示することは非現実的な場合もあるからである。もっとも、第1のモードで表示する範囲を含む文、若しくは段落のみを第2のモードで表示させることも可能である。  It is preferable that the character string processing device further includes a second display range receiving unit that receives designation of a range to be displayed in the second mode among the character strings input as processing targets. This is because when a large file is input as a processing target, it may be unrealistic to display all of the files even in the answer mode. However, it is also possible to display only sentences or paragraphs including the range to be displayed in the first mode in the second mode.

前記第1表示範囲規定手段は、文字列中で、第1のモードにおいて表示すべき範囲の指定を受け付ける第1表示範囲受付手段を含み、当該第1表示範囲受付手段が受け付けた範囲を第1のモードにおいて表示する範囲として規定することができる。この第1表示範囲受付手段を設けると、ユーザにより任意の部分を問題モードで表示させることができる。もっとも、例えば、前記第1表示範囲規定手段は、文字列中に存在する装飾文字を検索し、当該装飾文字の部分を第1のモードにおいて表示する範囲として規定するというように、ユーザによる指定がない場合でも問題モードの表示範囲を規定することは可能である。  The first display range defining means includes first display range accepting means for accepting designation of a range to be displayed in the first mode in the character string, and the range received by the first display range accepting means is the first. It can be defined as a display range in the mode. When this first display range receiving means is provided, an arbitrary portion can be displayed in the problem mode by the user. However, for example, the first display range defining means searches for a decorative character existing in the character string and specifies the portion of the decorative character as a range to be displayed in the first mode. It is possible to define the display range of the problem mode even when there is not.

本発明に係る第1の文字列処理方法は、文字列中で非表示にすべき範囲を規定する非表示範囲規定ステップと、規定された範囲を非表示とするように編集する編集ステップと、規定された範囲を非表示として表示させるか否かの指定を受け付ける非表示指定受付ステップとを含むことを特徴としている。また、本発明に係る第2の文字列処理方法は、文字列中で、第1のモードにおいて表示する範囲を規定する第1表示範囲規定ステップと、規定された範囲の文字列を表示させる第1のモードか、規定された範囲以外の文字列も併せて表示させる第2のモードかの指定を受け付ける表示モード指定ステップとを含むことを特徴としている。  A first character string processing method according to the present invention includes a non-display range defining step for defining a range to be hidden in a character string, an editing step for editing the specified range so as to be hidden, A non-display designation receiving step for receiving designation of whether or not to display the specified range as non-display. The second character string processing method according to the present invention includes a first display range defining step for defining a range to be displayed in the first mode, and a character string in the defined range. And a display mode designation step for accepting designation of whether the mode is the first mode or the second mode in which a character string outside the specified range is also displayed.

本発明に係る第1のプログラムは、文字列中で非表示にすべき範囲を規定する非表示範囲規定処理と、規定された範囲を非表示とするように編集する編集処理と、規定された範囲を非表示として表示させるか否かの指定を受け付ける非表示指定受付処理とを含む処理をコンピュータに実行させることを特徴としている。本発明に係る第2のプログラムは、文字列中で、第1のモードにおいて表示する範囲を規定する第1表示範囲規定処理と、規定された範囲の文字列を表示させる第1のモードか、規定された範囲以外の文字列も併せて表示させる第2のモードかの指定を受け付ける表示モード指定処理とを含む処理をコンピュータに実行させることを特徴としている。本発明に係る記録媒体は、上記本発明に係るプログラムを記録したことを特徴としている。  A first program according to the present invention includes a non-display range defining process for defining a range to be hidden in a character string, an editing process for editing the specified range so as to be hidden, and a specified range The present invention is characterized by causing a computer to execute a process including a non-display designation receiving process for receiving designation of whether or not to display a range as non-display. The second program according to the present invention includes a first display range defining process for defining a range to be displayed in the first mode in the character string, and a first mode for displaying the character string in the defined range, It is characterized by causing a computer to execute a process including a display mode designation process for accepting designation of a second mode in which a character string outside the defined range is also displayed. The recording medium according to the present invention is characterized in that the program according to the present invention is recorded.

本発明の文字列処理装置によると、ユーザが実際に文字列を暗記できたか否かを容易に確認することができるという効果がある。  According to the character string processing device of the present invention, there is an effect that the user can easily confirm whether or not the character string can actually be memorized.

以下、本発明の実施の形態について図面を参照しながら説明する。
(実施の形態1)
(情報処理装置の構成)
図1は、本発明の一実施の形態における文字列処理装置が適用される情報処理装置のハードウェア構成の一例を示す図である。本実施の形態の情報処理装置は、コンピュータ100、表示部110、キーボード121、マウス122、通信モデム130、磁気ディスク装置140、CD−ROM装置150がそれぞれバス500に接続されて構成される。コンピュータ100は、CPU(Central Processing Unit)101、ROM(Read Only Memory)102、RAM(Random Access Memory)103、ハードディスクドライブ(HDD)104を備えており、例えばHDD104から読み出されたプログラムがCPU101上で動作することにより、本実施の形態の文字列処理装置の機能が実現される。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
(Embodiment 1)
(Configuration of information processing device)
FIG. 1 is a diagram illustrating an example of a hardware configuration of an information processing apparatus to which a character string processing apparatus according to an embodiment of the present invention is applied. The information processing apparatus according to the present embodiment is configured by connecting acomputer 100, adisplay unit 110, akeyboard 121, amouse 122, acommunication modem 130, amagnetic disk device 140, and a CD-ROM device 150 to abus 500. Thecomputer 100 includes a CPU (Central Processing Unit) 101, a ROM (Read Only Memory) 102, a RAM (Random Access Memory) 103, and a hard disk drive (HDD) 104. For example, a program read from theHDD 104 is stored on theCPU 101. The function of the character string processing device according to the present embodiment is realized by the operation.

表示部110としては、CRT(陰極線管装置)、液晶ディスプレイ等の各種表示装置を用いることができ、表示制御装置(図2参照)により画面への表示が制御される。コンピュータ100は、通信モデム130を介して外部のネットワーク等と接続することが可能となっている。磁気ディスク装置140の不図示の挿入口には、例えばフレキシブルディスク200のような磁気ディスク媒体を挿入して、データの読み書きを行うことができ、CD−ROM装置150では、CD−ROM300からデータの読み取りを行うことができる。本発明の文字列処理装置を実現するプログラムは、後述するようにフレキシブルディスクやCD−ROMに格納して譲渡等することも可能である。磁気ディスク装置140やCD−ROM装置150は、当該プログラムを最初にインストールする際に用いることができるが、後述するように本実施の形態の文字列処理装置における処理対象文字列を入力する際に用いることもできる。  Various display devices such as a CRT (cathode ray tube device) and a liquid crystal display can be used as thedisplay unit 110, and display on the screen is controlled by a display control device (see FIG. 2). Thecomputer 100 can be connected to an external network or the like via thecommunication modem 130. A magnetic disk medium such as aflexible disk 200 can be inserted into an insertion port (not shown) of themagnetic disk device 140 to read / write data. The CD-ROM device 150 stores data from the CD-ROM 300. Reading can be done. The program for realizing the character string processing device of the present invention can be stored and transferred on a flexible disk or CD-ROM as will be described later. Themagnetic disk device 140 and the CD-ROM device 150 can be used when the program is first installed, but when a character string to be processed in the character string processing device of the present embodiment is input as described later. It can also be used.

(文字列処理装置の構成)
次に、文字列処理装置の構成について説明する。図2は、文字列処理装置の構成を示す機能ブロック図である。文字列処理装置は、機能的には、入力部125、編集操作部126、範囲指定部127、制御部105、文書バッファ106、表示バッファ107、表示制御部108及び表示部110を備える。以下、各部の機能について、図3に示す表示部110への表示例も参照しながら説明する。同図3は、本実施の形態の文字列処理装置を起動した場合に表示部110に表示される画面の例である。ウィンドウ600には処理対象文字列の提示領域610が設けられており、提示された対象文字列に対する処理内容をプルダウンメニュー620にて指定することが可能となっている。
(Configuration of character string processing device)
Next, the configuration of the character string processing device will be described. FIG. 2 is a functional block diagram showing the configuration of the character string processing device. Functionally, the character string processing device includes aninput unit 125, anediting operation unit 126, arange specifying unit 127, acontrol unit 105, adocument buffer 106, adisplay buffer 107, adisplay control unit 108, and adisplay unit 110. Hereinafter, the function of each unit will be described with reference to a display example on thedisplay unit 110 shown in FIG. FIG. 3 shows an example of a screen displayed on thedisplay unit 110 when the character string processing apparatus according to the present embodiment is activated. In thewindow 600, a processing target characterstring presentation area 610 is provided, and the processing content for the presented target character string can be designated by a pull-down menu 620.

入力部125は、処理対象文字列の入力を受け付ける。入力部125は、例えばワープロソフト等のアプリケーションにて作成され、クリップボードにコピーされた文書を処理対象文字列として受け付けることができる他、文書ファイル、テキストファイル等を直接指定し、当該ファイルの内容を処理対象文字列として受け付けることができる。ファイルはHDD104に格納されたファイルでもよいし、フレキシブルディスク200、CD−ROM300等の記録媒体から読み取ることもできる。例えば、本実施の形態の文字列処理装置を起動した場合に、既にクリップボードに格納されている文書を処理対象文字列として取り扱うようにすることもできる。入力部125を介して入力された処理対象文字列は、文書バッファ106に格納され、ウィンドウ600の処理対象文字列表示領域610に表示される。文書バッファ106は、物理的には、例えばRAM103の所定領域を割り当てて構成することができる。  Theinput unit 125 receives input of a processing target character string. Theinput unit 125 can accept, for example, a document created by an application such as word processing software and copied to the clipboard as a processing target character string, or directly specify a document file, a text file, etc. It can be accepted as a processing target character string. The file may be a file stored in theHDD 104 or may be read from a recording medium such as theflexible disk 200 and the CD-ROM 300. For example, when the character string processing apparatus according to the present embodiment is activated, a document already stored in the clipboard can be handled as a processing target character string. The processing target character string input via theinput unit 125 is stored in thedocument buffer 106 and displayed in the processing target characterstring display area 610 of thewindow 600. Thedocument buffer 106 can be physically configured by allocating a predetermined area of theRAM 103, for example.

編集操作部126は、物理的にはキーボード121、マウス122等が対応しており、例えば前記したプルダウンメニュー610に対しての操作を受け付ける。編集操作部126での操作により、処理対象文字列の全部又は一部を後述する「問題モード」で表示するか、「解答モード」で表示するかの切り替えを行うことができる。編集操作部126の実施形態は、勿論プルダウンメニューに限定されるわけではなく、ラジオボタンその他の各種指示入力のための全ての手法を用いることができるし、各種操作をキーボートに対応付けてもよい。音声入力、手書き文字入力、その他の方法を適用することも可能である。  Theediting operation unit 126 physically corresponds to thekeyboard 121, themouse 122, and the like, and receives an operation on the pull-down menu 610, for example. By operating theediting operation unit 126, it is possible to switch between displaying all or a part of the processing target character string in a “question mode” or “answer mode” described later. Of course, the embodiment of theediting operation unit 126 is not limited to the pull-down menu, and all methods for inputting various instructions such as radio buttons can be used, and various operations may be associated with a keyboard. . It is also possible to apply voice input, handwritten character input, and other methods.

範囲指定部127も、物理的にはキーボード121、マウス122等が対応しており、処理対象文字列表示領域(以下、単に「表示領域」ともいう。)610にて「問題モード」において表示すべき文字列の範囲、「解答モード」では表示するが、「問題モード」では非表示とすべき文字列の範囲等を指定する。このように、指定された文字列を適宜表示したり非表示にしたり、といった処理を実現することにより、ユーザが実際に文字列を暗記できたか否か容易に確認することができるようにした点が本発明の骨子の一つである。図3の例では、表示領域610の中の一部文字列を範囲指定し、プルダウンメニュー620で「範囲の指定」を指定することにより、文字列範囲の指定がなされる。指定された範囲の文字列に対する具体的な処理内容については、後に詳細に説明する。  Therange designation unit 127 is also physically compatible with thekeyboard 121,mouse 122, and the like, and is displayed in the “problem mode” in the processing target character string display area (hereinafter also simply referred to as “display area”) 610. The range of the character string to be displayed, which is displayed in the “answer mode”, but the range of the character string to be hidden in the “question mode” is designated. In this way, it is possible to easily check whether the user has actually memorized the character string by realizing processing such as displaying or hiding the specified character string as appropriate. Is one of the gist of the present invention. In the example of FIG. 3, the character string range is designated by designating a range of a partial character string in thedisplay area 610 and designating “designate range” in the pull-down menu 620. Specific processing contents for the character string in the specified range will be described in detail later.

表示制御部108は、表示部110への表示制御を行う部分であり、表示バッファ107に格納された表示用データを表示部110に表示させる。表示バッファ107及び表示制御部108からなる表示制御部分は、一般的な情報処理装置に備えられている周知のものであるからここでの詳細な説明は省略する。  Thedisplay control unit 108 is a part that performs display control on thedisplay unit 110, and causes thedisplay unit 110 to display the display data stored in thedisplay buffer 107. Since the display control portion including thedisplay buffer 107 and thedisplay control unit 108 is a well-known one provided in a general information processing apparatus, detailed description thereof is omitted here.

(文字列処理装置の処理内容)
次に本実施の形態における制御部105の処理内容について説明する。図4及び図5は、本実施の形態の制御部105の処理内容を示すフローチャートである。以下、図6に示す表示領域610への表示例をも参照しながら、本実施の形態の処理について説明する。
制御部105は、処理対象文字列が存在する場合に(S101:YES)、処理対象文字列を前記した表示領域610に表示する(S102)。例えばクリップボードに文字列がコピーされており、入力部125が当該文字列を処理対象文字列として取得したような場合にステップS101の判定結果はYESとなる。もっとも処理対象文字列の入力手法はこれに限らず、種々の方法が適用可能である。
(Processing contents of character string processing device)
Next, processing contents of thecontrol unit 105 in the present embodiment will be described. 4 and 5 are flowcharts showing the processing contents of thecontrol unit 105 of the present embodiment. Hereinafter, the processing of the present embodiment will be described with reference to the display example in thedisplay area 610 shown in FIG.
When the processing target character string exists (S101: YES), thecontrol unit 105 displays the processing target character string in the display area 610 (S102). For example, when a character string is copied to the clipboard and theinput unit 125 acquires the character string as a processing target character string, the determination result in step S101 is YES. However, the input method of the processing target character string is not limited to this, and various methods can be applied.

その後、制御部105は、表示領域610に表示された文字列に対し、範囲指定部127により範囲が指定されるのを待って(S103:YES)、指定された範囲に関する情報を受け付け(S104)、処理対象文字列自体に指定された範囲の情報を付加する(S105)。例えばマウス122等により対象文字列表示領域610の中の、ある文字列の範囲が指定された状態で、前記したプルダウンメニュー620において「範囲の指定」が選択されたような場合にステップS103の判定結果はYESとなり、表示領域610中の文字列のどの範囲が指定範囲かの情報が受け付けられる。範囲情報を付加する具体的な方法として、範囲指定された文字が文字列の先頭から何バイト目から何バイト目に位置するか、という情報を付加することが考えられる。処理対象文字列の文書ファイルがHTML(ハイパーテキストマークアップ言語)、XML(拡張可能マークアップ言語)などにより記述されているような場合には、範囲指定された部分を、例えば<mark>及び</mark>というようなタグで囲むようにしてもよい。範囲指定された部分に関する情報をRAM103等のメモリ上だけではなく、文書ファイル自体に付加しておくと、一旦コンピュータ100の電源を落とし、後日(例えば試験の直前など)改めて指定された範囲についての暗記の度合いを確認する場合などに便宜である。なお、この場合には、図4のフローチャートのステップS101からS105までの処理の前に「範囲指定が既に存在するか否か」の判定を行い、範囲指定が既に存在する場合にはステップS106へと進むようにすることが考えられる。  Thereafter, thecontrol unit 105 waits for therange designation unit 127 to designate a range for the character string displayed in the display area 610 (S103: YES), and accepts information regarding the designated range (S104). Then, the specified range information is added to the processing target character string itself (S105). For example, when “Specify range” is selected in the pull-down menu 620 in a state where a range of a certain character string in the target characterstring display area 610 is specified by themouse 122 or the like, the determination in step S103 is made. The result is YES, and information indicating which range of the character string in thedisplay area 610 is the specified range is accepted. As a specific method of adding the range information, it is conceivable to add information indicating from what byte to what byte the specified character is positioned from the beginning of the character string. When the document file of the character string to be processed is described in HTML (Hypertext Markup Language), XML (Extensible Markup Language), or the like, the range-designated portion is, for example, <mark> and <mark / Mark> may be enclosed in a tag. If information regarding the specified part of the range is added not only to the memory such as theRAM 103 but also to the document file itself, the power of thecomputer 100 is once turned off, and the specified range is specified again later (for example, immediately before the test). This is convenient when checking the degree of memorization. In this case, it is determined whether or not “range specification already exists” before the processing of steps S101 to S105 in the flowchart of FIG. 4, and if the range specification already exists, the process proceeds to step S106. It can be considered to proceed.

次に、制御部105は、「解答モード」の指定がされているか「問題モード」の指定がされているかを判定する(S106)。上記に簡単に触れたが、本実施の形態では、「問題モード」では指定範囲の文字列を非表示とした状態で表示し、「解答モード」では当該非表示とされた部分も表示するようにする。実際に非表示としてみると、当該部分を実際に暗記できているか否かを簡単に確認することができる。もっとも、図3に示されるように、本実施の形態では初期設定は解答モードとなっており(初期設定を問題モードとすることも勿論可能ではあるが)、何ら指定をしなければ解答モード、即ち指定された範囲の文字列に対しても非表示とするような処理を行わずに表示するモードとなる(S107)。  Next, thecontrol unit 105 determines whether “answer mode” is designated or “question mode” is designated (S106). As described above, in the present embodiment, in the “question mode”, the character string in the specified range is displayed in a hidden state, and in the “answer mode”, the hidden portion is also displayed. To. When actually not displayed, it can be easily confirmed whether or not the portion can actually be memorized. However, as shown in FIG. 3, in the present embodiment, the initial setting is the answer mode (although it is possible to set the initial setting to the question mode), the answer mode, In other words, a mode is set in which a character string in the specified range is displayed without performing a process of hiding (S107).

本実施の形態においては、図6(a)が、入力部125から入力された処理対象文字列の全部(以下、「入力文字列」という。)であるとする。本実施の形態の解答モード表示では、図6(a)に示された入力文字列がそのまま表示されることになる。
一方、プルダウンメニュー620で「問題モード」の指定がされた場合(S106:NO)には、範囲指定された部分の文字列を非表示状態とする文字列処理を行うべく、まず、文字列抽出処理を行う(S108)。
In the present embodiment, it is assumed that FIG. 6A is the entire processing target character string input from the input unit 125 (hereinafter referred to as “input character string”). In the answer mode display of the present embodiment, the input character string shown in FIG. 6A is displayed as it is.
On the other hand, when “problem mode” is specified in the pull-down menu 620 (S106: NO), first, character string extraction is performed in order to perform character string processing to hide the character string of the range specified portion. Processing is performed (S108).

図5は、本実施の形態における文字列抽出処理の具体的な内容を示すフローチャートである。本実施の形態の文字列抽出処理では、まず、範囲指定部127を用いて指定された範囲に存在する文字列を抽出する(S201)。抽出された文字列を、以下「指定文字列」という。図6(b)の例では「プログラム」という文字列が指定文字列として抽出される。本実施の形態では、次に、入力文字列内に、他に指定文字列が存在するか否かの検索を開始する(S202)。このような検索を行うのは、図6(c)に示されるように、指定文字列である文字列「プログラム」と同一の文字列を、全て非表示の状態とするためである。このようにすることで、指定文字列の周辺の文字列から、非表示とされた指定文字列の内容を推定することができなくなる。  FIG. 5 is a flowchart showing the specific contents of the character string extraction processing in the present embodiment. In the character string extraction process according to the present embodiment, first, a character string existing in a range designated by using therange designation unit 127 is extracted (S201). The extracted character string is hereinafter referred to as “specified character string”. In the example of FIG. 6B, the character string “program” is extracted as the designated character string. In this embodiment, next, a search for whether or not there is another designated character string in the input character string is started (S202). Such a search is performed in order to hide all the character strings identical to the character string “program”, which is the designated character string, as shown in FIG. 6C. By doing so, it becomes impossible to estimate the contents of the designated character string that has been hidden from the character strings around the designated character string.

入力文字列全ての検索を終了すると(S203:YES)、図4のフローチャートに戻る。それ以外の場合には(S203:NO)、検索を継続し、指定文字列が見つかれば(S204)、当該指定文字列の入力文字列中における位置に関する情報を記憶し(S205)、さらに検索を継続する。このような処理により、図6(b)にて指定された指定文字列(プログラム)が、入力文字列中のどの位置に存在するのかについての情報が順次蓄積される。この情報は、上記したように入力文字列の先頭から何バイト目かを示す情報を順次付加してもよいし、タグで囲むようにしてもよい。  When the search for all input character strings is completed (S203: YES), the process returns to the flowchart of FIG. In other cases (S203: NO), the search is continued, and if the designated character string is found (S204), information on the position of the designated character string in the input character string is stored (S205), and the search is further performed. continue. By such processing, information about where the designated character string (program) designated in FIG. 6B exists in the input character string is sequentially accumulated. As described above, information indicating the number of bytes from the beginning of the input character string may be sequentially added as described above, or the information may be surrounded by a tag.

文字列抽出処理を終了すると、図4のフローチャートへと戻って、抽出された文字列の部分を、対応付けられたマークで置き換える加工(編集処理)を行い(S109)、表示領域610に表示する。表示された文字列は、抽出された文字列がマークで置き換えられる等の編集処理を受けることによって非表示の状態となっている。どのような編集処理により、文字列を非表示の状態とするかについては、種々の方法が考えられるが、例えば非表示とすべき文字を「★」、「●」のような記号文字で置き換えるようにしてもよいし、非表示とすべき文字が存在する領域の位置を示す座標を取得し、図6(c)に示すように、図形を配置するようにすることもできる。なお、この際、非表示とされた文字列の文字数がわかるようにしてもよいし(例えば文字列「プログラム」を「●●●●●」のように五つの記号文字で置き換える等)、非表示とされた文字数がわからないようにしてもよい。図形を配置する場合の当該図形のサイズも、文字列の長さに合わせてもよいし、文字列の長さと関係なく処理することもできる。  When the character string extraction processing is completed, the process returns to the flowchart of FIG. 4 to perform processing (editing processing) for replacing the extracted character string portion with the associated mark (S109) and display it in thedisplay area 610. . The displayed character string is in a non-displayed state by receiving an editing process such as replacing the extracted character string with a mark. Various kinds of editing processes can be used to hide the character string. For example, characters that should not be displayed are replaced with symbol characters such as “★” and “●”. Alternatively, the coordinates indicating the position of the area where the character to be hidden is present may be acquired, and the figure may be arranged as shown in FIG. At this time, the number of characters in the hidden character string may be known (for example, the character string “program” is replaced with five symbol characters, such as “●●●●●”). The number of characters displayed may not be known. The size of the graphic in the case of arranging the graphic may be matched with the length of the character string, or can be processed regardless of the length of the character string.

(実施の形態2)
次に本発明の第2の実施の形態について説明する。第1の実施の形態では、範囲指定された文字列を非表示とし、入力文字列の全部を表示した。本実施の形態では、範囲指定された文字列を表示するとともに、当該文字列の中で非表示とするべき文字列を抽出する処理が第1の実施の形態と異なっている。図7は、本実施の形態の文字列抽出処理の内容を示すフローチャートである。以下、図8の表示例も参照しながら説明する。
(Embodiment 2)
Next, a second embodiment of the present invention will be described. In the first embodiment, the range-designated character string is hidden, and the entire input character string is displayed. In the present embodiment, a process for displaying a character string with a range specified and extracting a character string to be hidden in the character string is different from that in the first embodiment. FIG. 7 is a flowchart showing the contents of the character string extraction process of the present embodiment. Hereinafter, description will be made with reference to the display example of FIG.

図8(a)は本実施の形態の入力文字列の一例を示す図である。同図のような入力文字列の中で、図8(b)に矩形で示されるような範囲が範囲指定部127により指定されたとする。
本実施の形態の問題モードの表示では、指定された範囲のみを表示するとともに、数値、固有名詞等を非表示とする。以下、当該数値や固有名詞等、本実施の形態で非表示とされる文字列を「汎用語以外の文字列」という。「汎用語以外の文字列」とは、一般的な辞書に収録されていないような文字列で、上記数値や固有名詞等を指すものである。もっとも、実際に「汎用語以外の文字列」を抽出するためには、数字を検索したり、固有名詞の辞書を検索する等の処理を行うことができる。もっとも人名、地域名、住所などと推定される文字列を非表示とするような処理を行うこともできる。図8(c)は本実施の形態での問題モードの表示例を示す図である。
FIG. 8A shows an example of an input character string according to the present embodiment. It is assumed that a range as indicated by a rectangle in FIG. 8B is designated by therange designation unit 127 in the input character string as shown in FIG.
In the problem mode display of the present embodiment, only the specified range is displayed, and numerical values, proper nouns, etc. are not displayed. Hereinafter, character strings that are not displayed in the present embodiment, such as numerical values and proper nouns, are referred to as “character strings other than general-purpose words”. The “character string other than general-purpose words” is a character string that is not recorded in a general dictionary, and refers to the above numerical values, proper nouns, and the like. However, in order to actually extract “a character string other than general-purpose words”, it is possible to perform processing such as searching for numbers or searching a dictionary of proper nouns. However, it is also possible to perform a process of hiding a character string estimated as a person name, area name, address, or the like. FIG. 8C is a diagram showing a display example of the problem mode in the present embodiment.

本実施の形態の文字列抽出処理(図7)では、範囲指定された文字列内のみが検索の対象となる(S301)。当該範囲指定された文字列全部の検索が終了すると(S302:YES)、図4のフローチャートへと戻る。範囲指定された文字列の中に「汎用語以外の文字列」が存在すると(S303:YES)、当該文字列の位置情報を記憶する(S304)。位置情報の記憶については上記第1の実施の形態と同様である。図8(c)の例では、範囲指定された文字列の中で「3年以内」の「3」が汎用語以外の文字列として抽出される(数値)。従って、数字「3」が非表示の状態となって表示されている。解答モードでは、当該「3」の数字が表示されることになる。  In the character string extraction process (FIG. 7) according to the present embodiment, only the character string for which the range has been specified is to be searched (S301). When the search of all the character strings designated in the range is completed (S302: YES), the process returns to the flowchart of FIG. If “character string other than general-purpose words” exists in the character string designated in the range (S303: YES), the position information of the character string is stored (S304). The storage of the position information is the same as that in the first embodiment. In the example of FIG. 8C, “3” of “within 3 years” is extracted as a character string other than general-purpose words (numerical value) in the character string with a range specified. Therefore, the numeral “3” is displayed in a non-display state. In the answer mode, the number “3” is displayed.

本実施の形態では、問題モード、解答モードのいずれにおいても範囲指定された部分だけが表示されるので、再度図8(a)に示されるように入力文字列の全部を表示させるためには、何か別のキーを押下する(あるいはプルダウンメニューで「全部表示」の指定)などの操作方法を設けておくことが好ましい。また、「汎用語以外の文字列」として、数字の他、どのような固有名詞を抽出するか(人名、地名、会社名等)、使用する辞書(ユーザ辞書等)の指定等を行う手段を設けておくことが好ましい。  In the present embodiment, only the range-designated part is displayed in both the question mode and the answer mode. Therefore, in order to display the entire input character string again as shown in FIG. It is preferable to provide an operation method such as pressing some other key (or specifying “display all” from the pull-down menu). In addition, as a “character string other than general-purpose words”, there are means for designating what kind of proper nouns to extract (person names, place names, company names, etc.), dictionaries to be used (user dictionaries, etc.), etc. It is preferable to provide it.

(実施の形態3)
次に本発明の第3の実施の形態について説明する。本実施の形態では、範囲指定部127で文字列を指定する際に、問題モードの際に表示したい範囲の指定を行うとともに、当該範囲の中で非表示としたい範囲を指定することを可能としている。第2の実施の形態と共通するが、入力部125から入力された入力文字列の全部を常に問題モードで表示する必要はない場合もあるからである。このような指定を可能とするために、例えば本実施の形態では、図9に示されるように、プルダウンメニュー621を修正し、「表示範囲の指定」と「文字列指定」との二種類の指定ができるようにしておくことが考えられる。初期設定を例えば「文字列指定」の側としておけば、何ら変更しない場合に第1の実施の形態と同様の処理を行うようにすることができる。以下、図12に示す表示例も参照しながら本実施の形態の処理内容について説明する。同図12において、(a)が入力文字列であり、(b)に示される下線部が表示範囲として指定された部分、矩形で囲まれた部分が非表示とすべき範囲として文字列指定された部分であるとする。図12(c)は問題モードの表示、同図(d)は解答モードの表示例である。
(Embodiment 3)
Next, a third embodiment of the present invention will be described. In this embodiment, when a character string is specified by therange specifying unit 127, it is possible to specify a range to be displayed in the problem mode and to specify a range to be hidden in the range. Yes. This is because, in common with the second embodiment, it is not always necessary to display all of the input character strings input from theinput unit 125 in the problem mode. In order to enable such designation, for example, in the present embodiment, as shown in FIG. 9, the pull-down menu 621 is modified to provide two types of “designation of display range” and “designation of character string”. It is possible to make it possible to specify. If the initial setting is, for example, on the “character string designation” side, the same processing as in the first embodiment can be performed when no change is made. Hereinafter, the processing content of the present embodiment will be described with reference to the display example shown in FIG. In FIG. 12, (a) is an input character string, the underlined portion shown in (b) is designated as a display range, and the portion surrounded by a rectangle is designated as a range to be hidden. It is assumed that FIG. 12C shows a display in question mode, and FIG. 12D shows a display example in answer mode.

図10は、本実施の形態における制御部105の処理内容を示すフローチャートである。図4で説明した処理と異なる点のみ説明すると、本実施の形態では、範囲指定があった場合に(S403:YES)、それが表示範囲指定か文字列指定かを判定する(S404)。そして表示範囲指定であった場合に(S404:NO、S405)、指定された表示範囲に関する情報を入力された文字列に付加してステップS403に戻る。表示範囲に関する情報の付加方法は、第1の実施の形態で説明したような方法と同様に考え、例えば先頭から何バイト目から何バイト目までを表示する旨の情報の付加、非表示とすべき範囲とは異なるタグの付加などが考えられる。表示範囲情報が付加されている場合には、解答モードの表示において、図12(d)に示すように、指定された表示範囲のみが表示される(S409)。  FIG. 10 is a flowchart showing the processing contents of thecontrol unit 105 in the present embodiment. Explaining only the differences from the processing described with reference to FIG. 4, in this embodiment, when a range is specified (S403: YES), it is determined whether it is a display range specification or a character string specification (S404). If the display range is specified (S404: NO, S405), information on the specified display range is added to the input character string, and the process returns to step S403. The method for adding information related to the display range is considered in the same way as the method described in the first embodiment. For example, information indicating that what number of bytes from the beginning to what number of bytes are displayed is added or not displayed. It is possible to add a tag that is different from the power range. When the display range information is added, in the answer mode display, as shown in FIG. 12D, only the designated display range is displayed (S409).

問題モードを表示する場合(S408:NO)の文字列抽出処理では(S410)、図11に示されるように、ステップS502で表示範囲内のみを検索し、表示範囲内の検索が終了すると(S503:YES)、図10のフローチャートへと戻る。問題モードでは図12(c)に示されるように指定された文字列が非表示とされた状態で表示範囲が表示される。  When the problem mode is displayed (S408: NO), in the character string extraction process (S410), as shown in FIG. 11, only the display range is searched in step S502, and the search within the display range ends (S503). : YES), the process returns to the flowchart of FIG. In the problem mode, the display range is displayed in a state where the designated character string is not displayed as shown in FIG.

なお、非表示とすべき文字列が表示範囲外に指定されたような場合は、非表示文字列の範囲指定の際にエラーとしてメッセージを出力してもよいが、そのまま処理を続行してもよい。指定された文字列と同一の文字列が表示範囲内にも存在すれば、問題モードでは当該部分が非表示となって表示されることになる。
また、上記の説明では、表示範囲指定か文字列指定かを明示的に指示するようにしたが、操作上は明確に区別せず、例えば、広い文字列範囲と、狭い文字列範囲がそれぞれ指定された場合、狭い文字列範囲が広い文字列範囲の内部に含まれていれば、当該狭い文字列範囲を非表示とすべき文字列であると判定するようにしてもよい。
If the character string that should be hidden is specified outside the display range, a message may be output as an error when specifying the range of the hidden character string, but the process can be continued as is Good. If the same character string as the designated character string exists in the display range, the corresponding part is displayed in a non-displayed state in the problem mode.
In the above description, the display range specification or the character string specification is explicitly instructed. However, the operation is not clearly distinguished, for example, a wide character string range and a narrow character string range are specified. In this case, if the narrow character string range is included in the wide character string range, the narrow character string range may be determined to be a character string to be hidden.

(実施の形態4)
次に本発明の第4の実施の形態について説明する。本実施の形態では、ユーザにより指定された範囲を表示範囲として取り扱う点で第2の実施の形態と共通しているが、非表示とする文字列の決定、即ち文字列抽出処理の内容が第2の実施の形態と異なっている。図13は、本実施の形態の文字列抽出処理の内容を示すフローチャートである。以下、図14の表示例も参照しながら第2の実施の形態と異なる点について説明する。
(Embodiment 4)
Next, a fourth embodiment of the present invention will be described. This embodiment is common to the second embodiment in that the range specified by the user is handled as the display range. However, the determination of the character string to be hidden, that is, the content of the character string extraction process is the first. This is different from the second embodiment. FIG. 13 is a flowchart showing the contents of the character string extraction process of the present embodiment. Hereinafter, differences from the second embodiment will be described with reference to the display example of FIG.

図14(a)が入力文字列、同図(b)の下線部が表示範囲として指定されるものとする。本実施の形態の文字列抽出処理においては、指定された表示範囲内の検索を開始し(S601)、全表示範囲の検索が終了すると(S602:YES)、メインのフローチャートへと戻る。表示範囲内では、特殊文字列が存在するか否かの検索を行う(S603)。本実施の形態では、特殊文字列とは、文章の主語、目的語等、文章の中で特定の役割を担っている部分をいう。図14の例であれば、「発明とは」が主語である。もっとも非表示にすべき部分として抽出するのは、主語のみ、目的語のみ、というような方法でもよいし、主語以外、というような抽出の方法も可能である。抽出の手法により、問題モードでは、主語、目的語の穴埋め問題としたり、主語等の説明を問うような問題とすることができる。どのような部分を非表示とするかユーザが指定するような画面を表示するようにしてもよい。  14A is designated as the input character string, and the underlined portion in FIG. 14B is designated as the display range. In the character string extraction process of the present embodiment, the search within the specified display range is started (S601), and when the search of the entire display range is completed (S602: YES), the process returns to the main flowchart. Within the display range, a search is performed as to whether or not a special character string exists (S603). In the present embodiment, the special character string refers to a part that plays a specific role in the sentence, such as a subject or an object of the sentence. In the example of FIG. 14, “What is the invention” is the subject. The method of extracting only the subject and only the object may be extracted as the portion to be hidden most, or a method of extracting other than the subject is possible. According to the extraction method, in the problem mode, it is possible to make a subject or a subject filling problem, or to ask a question about the subject. You may make it display the screen which a user designates what kind of part is hidden.

例えば、文章の主語を検出して、非表示とした場合、問題モードでは図14(c)に示されるような表示内容となる。主語以外を非表示とする場合の表示例が図14(d)に示される。なお、主語、目的語等の特殊文字列の具体的な検出方法としては、例えば長尾真著、言語工学[人工知能シリーズ2]((株)昭晃堂発行)などに解説があるような公知の手法を適用することが可能であるので、詳細な説明は省略する。もっともいずれの抽出手法を用いる場合も解答モードでは、図14(e)に示されるように、表示範囲の文字列が全て表示される。  For example, when the subject of a sentence is detected and hidden, the display contents shown in FIG. 14C are displayed in the problem mode. FIG. 14D shows a display example in which items other than the subject are not displayed. Specific methods for detecting special character strings such as subject and object are well-known as described in, for example, Makoto Nagao, Language Engineering [Artificial Intelligence Series 2] (published by Shogodo Co., Ltd.), etc. Since the above method can be applied, detailed description is omitted. However, regardless of which extraction method is used, all character strings in the display range are displayed in the answer mode, as shown in FIG.

(実施の形態5)
次に本発明の第5の実施の形態について説明する。本実施の形態では、文字列抽出処理の内容が上記第4の実施の形態と異なっている。図15は、本実施の形態の文字列抽出処理の内容を示すフローチャートである。以下、図16の表示例も参照しながら第4の実施の形態と異なる点について説明する。
(Embodiment 5)
Next, a fifth embodiment of the present invention will be described. In the present embodiment, the contents of the character string extraction process are different from those in the fourth embodiment. FIG. 15 is a flowchart showing the contents of the character string extraction process of the present embodiment. Hereinafter, differences from the fourth embodiment will be described with reference to the display example of FIG.

第4の実施の形態では、表示範囲として指定された範囲から、主語、目的語等を特殊文字列として検出したが、本実施の形態では、太字、斜体、など、装飾のある文字列を非表示とすべき部分として検索する。図16(a)が入力文字列、図16(b)の下線部が表示範囲として指定された部分であるとする。本実施の形態の文字列抽出処理では、表示範囲内において、太字、斜体などの装飾文字列(図16の例では文字列「自然法則」及び「技術的思想」が斜体となっている)が存在するか否かを検索する(S703)。問題モードでは、検索された装飾文字列の部分を非表示状態として表示する(図16(c)参照)。図16(d)は解答モードの表示例である。  In the fourth embodiment, the subject, object, etc. are detected as special character strings from the range specified as the display range. However, in this embodiment, character strings with decorations such as bold and italics are not displayed. Search as a part to be displayed. 16A is an input character string, and an underlined portion in FIG. 16B is a portion designated as a display range. In the character string extraction process of the present embodiment, decorative character strings such as bold and italic characters (in the example of FIG. 16, the character strings “natural law” and “technical idea” are italicized) within the display range. Whether there exists or not is searched (S703). In the problem mode, the retrieved decoration character string portion is displayed in a non-display state (see FIG. 16C). FIG. 16D shows a display example in the answer mode.

上記の説明では、入力された文字列に最初から装飾された文字列が存在した場合について説明したが、例えば第3の実施の形態のように、表示範囲を指定するとともに、非表示とすべき文字列を指定する際に、通常の状態から装飾文字列への変更を行うようにしてもよい。例えば非表示とするべき文字列の指定を矩形のブロックで行う場合よりは指定の操作が簡略化されるという効果がある。また、装飾は、太字、斜体に限定されず、下線、反転、特殊フォント、上付き、下付き、文字サイズ、文字色を周囲と変えるなど、周囲の他の文字列と識別可能な形態であれば、何でもよい。また、どのようなタイプの装飾文字を非表示とするかをユーザが指定するような画面を設けるようにしてもよいし、解答モードでは装飾を除去し、全文同じフォントの表示形態としてもよい。また、図16(b)の下線部を表示範囲ではなく、「装飾文字を非表示とすべき範囲」の指定として取り扱い、問題モードや解答モードで、図16(a)に示された入力文字列の全部を表示するようにしてもよい(問題モードでは下線部中の装飾文字列を非表示とする)。  In the above description, the case where a character string decorated from the beginning exists in the input character string has been described. However, as in the third embodiment, for example, a display range should be specified and not displayed. When specifying a character string, the normal state may be changed to a decorative character string. For example, there is an effect that the designation operation is simplified compared to the case where the designation of the character string to be hidden is performed with a rectangular block. The decoration is not limited to bold and italics, but can be distinguished from other surrounding character strings, such as underline, inversion, special font, superscript, subscript, character size, and character color. Anything is fine. In addition, a screen may be provided for the user to specify what type of decorative character to hide, or in the answer mode, the decoration may be removed, and the display format may be the same font for the whole sentence. Also, the underlined portion of FIG. 16B is not designated as a display range but as a designation of “range where decorative characters should be hidden”, and the input characters shown in FIG. 16A in question mode and answer mode. The entire column may be displayed (in the problem mode, the decorative character string in the underlined portion is not displayed).

(実施の形態6)
次に本発明の第6の実施の形態について説明する。本実施の形態では、指定された範囲内に数式が存在するか否かを検索する。図17は、本実施の形態の文字列抽出処理の内容を示すフローチャートである。以下、図18の表示例も参照しながら上記各実施の形態と異なる点について説明する。
(Embodiment 6)
Next, a sixth embodiment of the present invention will be described. In the present embodiment, it is searched whether or not a mathematical formula exists within a specified range. FIG. 17 is a flowchart showing the contents of the character string extraction process of the present embodiment. Hereinafter, differences from the above-described embodiments will be described with reference to the display example of FIG.

図18(a)が入力された文字列であり、図18(b)の範囲が表示範囲としてユーザから指定されたものとする。本実施の形態では、指定範囲内に数式が存在するか否かを検索し(S803)、数式が存在する場合に(S803:YES)、数式の左辺、右辺を構成する文字列の位置に関する情報を記憶する(S804)。数式の検索は、例えば「=」、「≧」、「≦」、「≠」、「>」、「<」、「≒」等の各種記号を検索する方法が考えられるし、数式の範囲を画定するには、検索された記号の周辺における文字間のサイズ、行間のサイズなどを参照する方法が考えられる。また、検索された各種記号を含む行がインデントされていれば、その行全体を数式と判定したり、各種記号を含む行の中に、文字間のサイズが他の部分より大きい部分があれば、そこまでの範囲を数式と判定したりしてもよい。  18A is an input character string, and it is assumed that the range in FIG. 18B is designated by the user as the display range. In the present embodiment, whether or not a mathematical expression exists within the specified range is searched (S803), and if a mathematical expression exists (S803: YES), information on the positions of character strings constituting the left and right sides of the mathematical expression Is stored (S804). For example, the formula can be searched by searching for various symbols such as “=”, “≧”, “≦”, “≠”, “>”, “<”, “≈”, etc. For the definition, a method of referring to the size between characters around the searched symbol, the size between lines, and the like can be considered. Also, if the line containing various searched symbols is indented, the entire line is judged to be a mathematical expression, or if there is a part where the size between characters is larger than other parts in the line containing various symbols The range up to that point may be determined as a mathematical expression.

また、左辺、右辺のいずれを非表示とするかを指定する手段(例えばプルダウンメニュー、キーボードとの対応付け、指定のための画面を表示するなど、方法は限定されない。)を設けてもよいし、予めいずれかに決定してもよい。分数の側を非表示としたり、文字数の多い側を非表示とするようにしてもよい。右辺を非表示とすると、問題モードでは図18(c)のような表示となるし、左辺を非表示とすると図18(d)のような表示となる。  Further, means for specifying which of the left side and the right side to be hidden may be provided (for example, a method such as a pull-down menu, association with a keyboard, and display of a screen for specification is not limited). Any of these may be determined in advance. The fraction side may be hidden, or the side with more characters may be hidden. If the right side is not displayed, the display in the problem mode is as shown in FIG. 18C, and if the left side is not displayed, the display is as shown in FIG.

(実施の形態7)
次に本発明の第7の実施の形態について説明する。これまでに説明してきた実施の形態では、問題モードの表示の際に、抽出された文字列を非表示の状態として表示した。本実施の形態では、問題モードの際の表示の方法がこれまでの実施の形態とは異なっている。図19、図20は、本実施の形態における制御部105の処理内容を示すフローチャートである。以下、図21の表示例も参照しながら説明する。
(Embodiment 7)
Next, a seventh embodiment of the present invention will be described. In the embodiments described so far, the extracted character string is displayed in a non-display state when displaying the problem mode. In the present embodiment, the display method in the problem mode is different from the previous embodiments. 19 and 20 are flowcharts showing the processing contents of thecontrol unit 105 in the present embodiment. Hereinafter, description will be made with reference to the display example of FIG.

図21(a)が入力文字列であり、図21(b)のように「「発明」とは、」という部分が範囲指定されたとする(S903等)。本実施の形態では、文字列抽出(S908)においては、図20に示されるように、指定文字列が存在した場合に(S1002:YES)、単に当該指定文字列を抽出する(S1003)。即ち「「発明」とは、」という文字列が指定文字列として抽出されることとなる。  FIG. 21A shows an input character string, and it is assumed that a range of “What is“ Invention ”” is designated as shown in FIG. 21B (S903, etc.). In the present embodiment, in the character string extraction (S908), as shown in FIG. 20, when the designated character string exists (S1002: YES), the designated character string is simply extracted (S1003). That is, a character string “What is“ invention ”” is extracted as a designated character string.

そして問題モードの表示の際に(S909)、図21(c)に示されるように指定文字列のみを表示する。解答モードの表示の際には、図21(a)のような入力文字列の全部を表示してもよいし、指定文字列以降の文字列、あるいは指定文字列を含む文章を表示してもよい。  When the problem mode is displayed (S909), only the designated character string is displayed as shown in FIG. When the answer mode is displayed, the entire input character string as shown in FIG. 21A may be displayed, or a character string after the specified character string or a sentence including the specified character string may be displayed. Good.

(実施の形態8)
次に本発明の第8の実施の形態について説明する。本実施の形態の処理は、前記した第7の実施の形態の表示方法に、第3の実施の形態で説明した範囲指定の方法を適用したものである。図22に本実施の形態の表示例を示す。
本実施の形態の制御部105は、図23のフローチャートに従って動作する。同図のフローチャートは図10で説明した処理内容とほぼ同一であるが、問題モードの場合(S1108:NO)の処理内容が異なっている。即ち、図22(a)に示される入力文字列において、図22(b)に示される下線部が表示範囲として指定され(S1104:NO、S1105)、同図(b)の矩形部が文字列指定にて指定されたとすると(S1104:YES)、解答モードでは、表示範囲として指定された部分が表示される(S1109、図22(d)参照)。
(Embodiment 8)
Next, an eighth embodiment of the present invention will be described. In the processing of the present embodiment, the range designation method described in the third embodiment is applied to the display method of the seventh embodiment. FIG. 22 shows a display example of the present embodiment.
Thecontrol unit 105 of the present embodiment operates according to the flowchart of FIG. The flowchart of the figure is almost the same as the processing contents described in FIG. 10, but the processing contents in the case of the problem mode (S1108: NO) are different. That is, in the input character string shown in FIG. 22A, the underlined portion shown in FIG. 22B is designated as the display range (S1104: NO, S1105), and the rectangular portion in FIG. If it is designated by designation (S1104: YES), the part designated as the display range is displayed in the answer mode (S1109, see FIG. 22 (d)).

一方、問題モードでは図22(c)に示されるように指定された文字列のみが表示される。図24は、本実施の形態の文字列抽出処理(S1110)の内容を示すフローチャートである。同図に示されるように、文字列抽出においては、表示範囲内のみ検索し(S1201)、表示範囲内に指定文字列が存在した場合に(S1202:YES)、当該指定文字列を抽出して処理を終了する(S1203)。問題モードでは、図22(c)に示されるように、指定文字列のみが表示される。  On the other hand, in the problem mode, only the designated character string is displayed as shown in FIG. FIG. 24 is a flowchart showing the contents of the character string extraction process (S1110) of this embodiment. As shown in the figure, in the character string extraction, only the display range is searched (S1201), and when the designated character string exists in the display range (S1202: YES), the designated character string is extracted. The process ends (S1203). In the problem mode, only the designated character string is displayed as shown in FIG.

なお、操作上は明確に区別せず、例えば、広い文字列範囲と、狭い文字列範囲がそれぞれ指定された場合、狭い文字列範囲が広い文字列範囲の内部に含まれていれば、当該狭い文字列範囲を問題モードで表示すべき文字列であると判定するようにしてもよいのは、第3の実施の形態と同様である。  The operation is not clearly distinguished. For example, when a wide character string range and a narrow character string range are specified, if the narrow character string range is included in the wide character string range, the narrow character string range is narrow. Similar to the third embodiment, the character string range may be determined to be a character string to be displayed in the problem mode.

(実施の形態9)
次に本発明の第9の実施の形態について説明する。本実施の形態では、ユーザからの範囲指定を表示範囲指定として取り扱うとともに、当該表示範囲内にある装飾文字を検出する。装飾文字を検出する点で第5の実施の形態と共通するが、本実施の形態では、問題モードの表示の際の表示方法が異なっている。図25は、本実施の形態の表示例を示す図である。
(Embodiment 9)
Next, a ninth embodiment of the present invention will be described. In the present embodiment, a range designation from the user is handled as a display range designation, and a decoration character within the display range is detected. Although it is common to the fifth embodiment in that a decorative character is detected, the display method in displaying the problem mode is different in this embodiment. FIG. 25 is a diagram illustrating a display example of the present embodiment.

本実施の形態の制御部105の処理内容は、基本的に図19に従う。ステップS904等で範囲指定された部分、即ち、図25(b)の下線部として指定された部分を表示範囲とする。文字列抽出(S908)では、図26に示されるように、表示範囲内において(S1301)、装飾文字列があった場合に(S1302:YES)、当該装飾文字列を抽出する(S1303)。問題モードの表示(S909)では、図25(c)に示されるように、装飾文字列として抽出された部分を表示する。解答モードでは、図25(d)に示されるように表示範囲を表示する。  The processing content of thecontrol unit 105 of the present embodiment basically follows FIG. The portion designated in step S904 or the like, that is, the portion designated as the underlined portion in FIG. 25B is set as the display range. In the character string extraction (S908), as shown in FIG. 26, if there is a decorative character string within the display range (S1301) (S1302: YES), the decorative character string is extracted (S1303). In the problem mode display (S909), as shown in FIG. 25C, the part extracted as the decoration character string is displayed. In the answer mode, the display range is displayed as shown in FIG.

(変形例)
以上、本発明をいくつかの実施の形態に基づいて説明したが、本発明の範囲が上記に説明した具体例に限定されないことは勿論であり、例えば以下のような変形例を考えることもできる。
(1)上記各実施の形態では、問題モードの表示と解答モードの表示に重点をおいて説明したが、多くの問題を予め作成しておき、例えば試験の直前のタイミングなどで集中的に暗記作業を行うような場合、問題を順次表示できるように、「次の問題」を表示するか否かを指示するような手段を設けてもよい。当該手段は、画面に例えば図27に一例を示すようなメッセージボックスを表示してもよいし、その他、キーボードと対応付ける等、方法は全く限定されない。
なお、装置若しくはプログラムとして、第1の実施の形態等で説明したようなユーザによる問題の作成を想定せず、既に作成された問題についての解答モードの表示のみに対応するようにすることも可能である。そのような場合、問題モードの表示及び解答モードの表示の他、上記したような、次の対象文字列についての問題モードの表示に移行する旨を指示する移行指示手段(あるいは移行指示を受け、次の文字列に移行させる処理をコンピュータに実行させるプログラムコード)を設けることは特に有効である。
(Modification)
As mentioned above, although this invention was demonstrated based on some embodiment, of course, the scope of the present invention is not limited to the specific example demonstrated above, for example, the following modifications can also be considered, for example. .
(1) In each of the above embodiments, the explanation was given with emphasis on the display of the question mode and the display of the answer mode. However, many questions are created in advance and memorized intensively at the timing immediately before the test, for example. When performing work, a means for instructing whether or not to display the “next problem” may be provided so that the problems can be sequentially displayed. The means may display a message box as shown in FIG. 27, for example, on the screen, and the method of associating with a keyboard is not limited at all.
As an apparatus or program, it is possible not to assume the creation of a problem by the user as described in the first embodiment, but only to display an answer mode for a problem that has already been created. It is. In such a case, in addition to the question mode display and the answer mode display, the transition instruction means (or the transition instruction is received to instruct to shift to the question mode display for the next target character string as described above, It is particularly effective to provide program code that causes a computer to execute processing for shifting to the next character string.

(2)上記のような文字列処理装置は、マウスやキーボードを含む汎用的な入力デバイス、及び表示装置等を備えた汎用的情報処理装置において、問題モードにおいて非表示とすべき文字列(第1の実施の形態等)、表示すべき文字列(第7の実施の形態等)を抽出し、非表示範囲若しくは表示範囲として規定する処理や、規定された範囲が非表示となるように記号で置き換えたりといった編集処理などを含む処理をコンピュータに実行させるプログラムが、CPU等のプロセッサ上で動作することによっても実現され得る。そのような場合、文字列処理装置には、例えば上記のようなプログラムを格納するプログラム格納部、当該プログラム格納部からプログラムを読み出して一時的に記憶するメモリ、及びメモリに記憶されたプログラムを実行するプロセッサが設けられる。このようなプログラムを含むソフトウェアは、フレキシブルディスク、CD−ROM等のコンピュータ読み取り可能な記録媒体に記録された状態で販売等されることもあるし、インターネット等のネットワークを含め、有線、無線の伝送媒体を介してユーザの保持するコンピュータに供給される場合もある。  (2) A character string processing apparatus as described above is a general-purpose information processing apparatus including a general-purpose input device including a mouse and a keyboard and a display device. 1 embodiment, etc.), a character string to be displayed (seventh embodiment, etc.), a process for extracting the character string to be displayed as a non-display range or display range, or a symbol so that the specified range is not displayed A program for causing a computer to execute a process including an editing process such as replacement with the program may be realized by operating on a processor such as a CPU. In such a case, the character string processing device includes, for example, a program storage unit that stores the program as described above, a memory that reads and temporarily stores the program from the program storage unit, and executes the program stored in the memory. A processor is provided. Software including such a program may be sold in a state of being recorded on a computer-readable recording medium such as a flexible disk or a CD-ROM, or may be transmitted by wire or wireless including a network such as the Internet. In some cases, the data is supplied to a computer held by the user via a medium.

なお、プログラムを記録した記録媒体は、当該記録媒体からソフトウェアを読み取ることが可能な装置本体とは分離可能に構成される記録媒体であり、具体的には、磁気テープやカセットテープ等のテープ系、フレキシブルディスクやハードディスク等の磁気ディスクやCD−ROM/MO/MD/DVD等の光ディスクのディスク系、ICカード(メモリカードを含む)/光カード等のカード系、あるいはマスクROM、EPROM、EEPROM、フラッシュROM等による半導体メモリを含めた固定的にプログラムを担持する媒体など、いずれであってもよい。なお、上記のように記録媒体、伝送媒体を介して供給される本願発明のプログラムは、必ずしも本発明の文字列処理装置を実現するための全てのプログラムを含んでいる必要はなく、OS(オペレーティングシステム)や、その他の汎用的ソフトウェアに含まれるプログラムを適宜利用する場合も含まれるし、専用ハードウェアを利用して実現させるような場合も含まれる。  The recording medium on which the program is recorded is a recording medium configured to be separable from the main body of the apparatus that can read software from the recording medium, and specifically, a tape system such as a magnetic tape or a cassette tape. , Magnetic disks such as flexible disks and hard disks, optical disk systems such as CD-ROM / MO / MD / DVD, card systems such as IC cards (including memory cards) / optical cards, or mask ROM, EPROM, EEPROM, It may be any medium such as a medium carrying a fixed program including a semiconductor memory such as a flash ROM. Note that the program of the present invention supplied via the recording medium and the transmission medium as described above does not necessarily include all the programs for realizing the character string processing apparatus of the present invention. System) and programs included in other general-purpose software are included as appropriate, and cases where the program is realized using dedicated hardware are also included.

本発明は、例えばパーソナルコンピュータのような情報処理装置上で動作する文字列処理装置などに適用することができる。  The present invention can be applied to a character string processing device that operates on an information processing device such as a personal computer.

本発明の一実施の形態における文字列処理装置が適用される情報処理装置のハードウェア構成の一例を示す図である。It is a figure which shows an example of the hardware constitutions of the information processing apparatus with which the character string processing apparatus in one embodiment of this invention is applied.文字列処理装置の構成の一例を示す機能ブロック図である。It is a functional block diagram which shows an example of a structure of a character string processing apparatus.第1の実施の形態等において文字列処理装置を起動した場合に表示部110に表示される画面の一例を示す図である。It is a figure which shows an example of the screen displayed on thedisplay part 110, when starting a character string processing apparatus in 1st Embodiment etc. FIG.第1の実施の形態等の制御部105の処理内容を示すフローチャートである。It is a flowchart which shows the processing content of thecontrol part 105 of 1st Embodiment.第1の実施の形態における文字列抽出処理の具体的な内容を示すフローチャートである。It is a flowchart which shows the specific content of the character string extraction process in 1st Embodiment.第1の実施の形態における表示領域610への表示例を示す図である。It is a figure which shows the example of a display to thedisplay area 610 in 1st Embodiment.第2の実施の形態における文字列抽出処理の具体的な内容を示すフローチャートである。It is a flowchart which shows the specific content of the character string extraction process in 2nd Embodiment.第2の実施の形態における表示領域610への表示例を示す図である。It is a figure which shows the example of a display to thedisplay area 610 in 2nd Embodiment.第3の実施の形態等において表示部110に表示される画面の一例を示す図である。It is a figure which shows an example of the screen displayed on thedisplay part 110 in 3rd Embodiment etc. FIG.第3の実施の形態等の制御部105の処理内容を示すフローチャートである。It is a flowchart which shows the processing content of thecontrol part 105, such as 3rd Embodiment.第3の実施の形態における文字列抽出処理の具体的な内容を示すフローチャートである。It is a flowchart which shows the specific content of the character string extraction process in 3rd Embodiment.第3の実施の形態における表示領域610への表示例を示す図である。It is a figure which shows the example of a display to thedisplay area 610 in 3rd Embodiment.第4の実施の形態における文字列抽出処理の具体的な内容を示すフローチャートである。It is a flowchart which shows the specific content of the character string extraction process in 4th Embodiment.第4の実施の形態における表示領域610への表示例を示す図である。It is a figure which shows the example of a display to thedisplay area 610 in 4th Embodiment.第5の実施の形態における文字列抽出処理の具体的な内容を示すフローチャートである。It is a flowchart which shows the specific content of the character string extraction process in 5th Embodiment.第5の実施の形態における表示領域610への表示例を示す図である。It is a figure which shows the example of a display to thedisplay area 610 in 5th Embodiment.第6の実施の形態における文字列抽出処理の具体的な内容を示すフローチャートである。It is a flowchart which shows the specific content of the character string extraction process in 6th Embodiment.第6の実施の形態における表示領域610への表示例を示す図である。It is a figure which shows the example of a display to thedisplay area 610 in 6th Embodiment.第7の実施の形態等の制御部105の処理内容を示すフローチャートである。It is a flowchart which shows the processing content of thecontrol part 105, such as 7th Embodiment.第7の実施の形態における文字列抽出処理の具体的な内容を示すフローチャートである。It is a flowchart which shows the specific content of the character string extraction process in 7th Embodiment.第7の実施の形態における表示領域610への表示例を示す図である。It is a figure which shows the example of a display to thedisplay area 610 in 7th Embodiment.第8の実施の形態における表示領域610への表示例を示す図である。It is a figure which shows the example of a display to thedisplay area 610 in 8th Embodiment.第8の実施の形態の制御部105の処理内容を示すフローチャートである。It is a flowchart which shows the processing content of thecontrol part 105 of 8th Embodiment.第8の実施の形態における文字列抽出処理の具体的な内容を示すフローチャートである。It is a flowchart which shows the specific content of the character string extraction process in 8th Embodiment.第9の実施の形態における表示領域610への表示例を示す図である。It is a figure which shows the example of a display to thedisplay area 610 in 9th Embodiment.第9の実施の形態における文字列抽出処理の具体的な内容を示すフローチャートである。It is a flowchart which shows the specific content of the character string extraction process in 9th Embodiment.「次の問題」を表示するか否かを指示する手段の一例としてのメッセージボックスの図である。It is a figure of the message box as an example of the means which instruct | indicates whether to display "the next problem".

符号の説明Explanation of symbols

100 コンピュータ
101 CPU
102 ROM
103 RAM
104 HDD
105 制御部
106 文書バッファ
107 表示バッファ
108 表示制御部
110 表示部
121 キーボード
122 マウス
125 入力部
126 編集操作部
127 範囲指定部
130 通信モデム
140 磁気ディスク装置
150 CD−ROM装置
200 フレキシブルディスク
300 CD−ROM
500 バス
600 ウィンドウ
610 処理対象文字列表示領域
620、621 プルダウンメニュー


100computer 101 CPU
102 ROM
103 RAM
104 HDD
DESCRIPTION OFSYMBOLS 105Control part 106Document buffer 107Display buffer 108Display control part 110Display part 121Keyboard 122Mouse 125Input part 126Editing operation part 127Range designation part 130Communication modem 140Magnetic disk apparatus 150 CD-ROM apparatus 200Flexible disk 300 CD-ROM
500bus 600window 610 processing target characterstring display area 620, 621 pull-down menu


Claims (21)

Translated fromJapanese
文字列中で非表示にすべき範囲を規定する非表示範囲規定手段と、
規定された範囲を非表示とするように編集する編集手段と、
規定された範囲を非表示として表示させるか否かの指定を受け付ける非表示指定受付手段とを備える
ことを特徴とする文字列処理装置。
A non-display range specifying means for specifying a range to be hidden in the character string;
Editing means for editing to hide the specified range;
A character string processing apparatus comprising: a non-display designation receiving unit that receives designation as to whether or not to display a specified range as non-display.
前記文字列処理装置はさらに、処理対象として入力された文字列の中で表示すべき範囲の指定を受け付ける表示範囲受付手段を含む
ことを特徴とする請求項1に記載の文字列処理装置。
The character string processing device according to claim 1, further comprising a display range receiving unit that receives designation of a range to be displayed in a character string input as a processing target.
前記文字列処理装置はさらに、文字列の範囲の指定を受け付ける第2の範囲受付手段を備え、
前記非表示範囲規定手段は、
前記表示範囲受付手段により指定された範囲内に、前記第2の範囲受付手段が受け付けた範囲が存在した場合に、当該第2の範囲受付手段が受け付けた範囲を非表示にすべき範囲として規定する
ことを特徴とする請求項2に記載の文字列処理装置。
The character string processing device further includes second range receiving means for receiving designation of a character string range,
The non-display range defining means includes
When the range accepted by the second range acceptance means exists within the range specified by the display range acceptance means, the range accepted by the second range acceptance means is defined as a range to be hidden. The character string processing device according to claim 2, wherein:
前記非表示範囲規定手段は、
文字列中で非表示にすべき範囲の指定を受け付ける第2の範囲受付手段を含み、
当該第2の範囲受付手段が受け付けた範囲を非表示にすべき範囲として規定する
ことを特徴とする請求項1又は2に記載の文字列処理装置。
The non-display range defining means includes
A second range receiving means for receiving designation of a range to be hidden in the character string;
The character string processing device according to claim 1 or 2, wherein the range received by the second range receiving means is defined as a range to be hidden.
前記非表示範囲規定手段はさらに、
前記第2の範囲受付手段が受け付けた範囲に存在する文字列を、受け付けた範囲以外の部分で検索する検索手段を含み、
当該検索手段により検索された文字列も非表示にすべき範囲として規定する
ことを特徴とする請求項3又は4に記載の文字列処理装置。
The non-display range defining means further includes
Search means for searching for a character string existing in the range received by the second range receiving means in a portion other than the received range;
The character string processing apparatus according to claim 3 or 4, wherein the character string searched by the search means is also defined as a range to be hidden.
前記非表示範囲規定手段は、
非表示にすべき文字列を判別するための辞書を備え、当該辞書を参照して非表示にすべきと判別された文字列を、非表示にすべき範囲として規定する
ことを特徴とする請求項1又は2に記載の文字列処理装置。
The non-display range defining means includes
A dictionary for determining a character string to be hidden is provided, and a character string determined to be hidden with reference to the dictionary is defined as a range to be hidden. Item 3. The character string processing device according to Item 1 or 2.
前記非表示範囲規定手段は、
文字列中に存在する数字を検索し、当該数字を非表示にすべき範囲として規定する
ことを特徴とする請求項1又は2に記載の文字列処理装置。
The non-display range defining means includes
3. The character string processing device according to claim 1, wherein a number existing in the character string is searched and the number is defined as a range to be hidden.
前記非表示範囲規定手段は、
文字列中に存在する文章を解析する言語処理手段を含み、
前記言語処理手段による解析結果に基づいて非表示にすべき範囲を規定する
ことを特徴とする請求項1又は2に記載の文字列処理装置。
The non-display range defining means includes
Including language processing means for analyzing sentences existing in the character string,
The character string processing device according to claim 1 or 2, wherein a range to be hidden is defined based on an analysis result by the language processing means.
前記非表示範囲規定手段は、
文字列中に存在する装飾文字を検索し、当該装飾文字の部分を非表示にすべき範囲として規定する
ことを特徴とする請求項1又は2に記載の文字列処理装置。
The non-display range defining means includes
The character string processing device according to claim 1 or 2, wherein a decoration character existing in the character string is searched and a portion of the decoration character is defined as a range to be hidden.
前記非表示範囲規定手段は、
数式を検索し、当該数式に含まれる文字列の少なくとも一部を非表示にすべき範囲として規定する
ことを特徴とする請求項1又は2に記載の文字列処理装置。
The non-display range defining means includes
The character string processing apparatus according to claim 1, wherein a mathematical expression is searched and at least a part of the character string included in the mathematical expression is defined as a range to be hidden.
前記編集手段は、
前記規定された範囲に存在する文字を、当該文字の数と同一又は異なる数の記号文字に置き換える
ことを特徴とする請求項1に記載の文字列処理装置。
The editing means includes
The character string processing apparatus according to claim 1, wherein characters existing in the specified range are replaced with a number of symbol characters that are the same as or different from the number of the characters.
前記編集手段は、
前記規定された範囲の文字列が存在する位置に関する情報を取得する位置情報取得手段と、
当該位置に図形を配置する図形配置手段とを含む
ことを特徴とする請求項1に記載の文字列処理装置。
The editing means includes
Position information acquisition means for acquiring information regarding the position where the character string in the specified range exists;
The character string processing device according to claim 1, further comprising: graphic arrangement means for arranging a graphic at the position.
文字列中で、第1のモードにおいて表示する範囲を規定する第1表示範囲規定手段と、
規定された範囲の文字列を表示させる第1のモードか、規定された範囲以外の文字列も併せて表示させる第2のモードかの指定を受け付ける表示モード指定手段とを備える
ことを特徴とする文字列処理装置。
A first display range defining means for defining a range to be displayed in the first mode in the character string;
And a display mode designating unit for accepting designation of whether the first mode for displaying a character string in a prescribed range or the second mode for displaying a character string outside the prescribed range is also provided. String processing device.
前記文字列処理装置はさらに、処理対象として入力された文字列の中で、第2のモードにて表示すべき範囲の指定を受け付ける第2表示範囲受付手段を含む
ことを特徴とする請求項13に記載の文字列処理装置。
The character string processing device further includes second display range receiving means for receiving designation of a range to be displayed in the second mode among character strings input as processing targets. The character string processing device described in 1.
前記第1表示範囲規定手段は、
文字列中で、第1のモードにおいて表示すべき範囲の指定を受け付ける第1表示範囲受付手段を含み、
当該第1表示範囲受付手段が受け付けた範囲を第1のモードにおいて表示する範囲として規定する
ことを特徴とする請求項13又は14に記載の文字列処理装置。
The first display range defining means includes
A first display range receiving means for receiving designation of a range to be displayed in the first mode in the character string;
The character string processing device according to claim 13 or 14, wherein the range received by the first display range receiving means is defined as a range to be displayed in the first mode.
前記第1表示範囲規定手段は、
文字列中に存在する装飾文字を検索し、当該装飾文字の部分を第1のモードにおいて表示する範囲として規定する
ことを特徴とする請求項13又は14に記載の文字列処理装置。
The first display range defining means includes
The character string processing device according to claim 13 or 14, wherein a decoration character existing in the character string is searched and a portion of the decoration character is defined as a range to be displayed in the first mode.
文字列中で非表示にすべき範囲を規定する非表示範囲規定ステップと、
規定された範囲を非表示とするように編集する編集ステップと、
規定された範囲を非表示として表示させるか否かの指定を受け付ける非表示指定受付ステップとを含む
ことを特徴とする文字列処理方法。
A non-display range defining step for defining a range to be hidden in the character string;
An editing step for editing to hide the specified range;
A character string processing method, comprising: a non-display designation receiving step for accepting designation of whether or not to display the specified range as non-display.
文字列中で、第1のモードにおいて表示する範囲を規定する第1表示範囲規定ステップと、
規定された範囲の文字列を表示させる第1のモードか、規定された範囲以外の文字列も併せて表示させる第2のモードかの指定を受け付ける表示モード指定ステップとを含む
ことを特徴とする文字列処理方法。
A first display range defining step for defining a range to be displayed in the first mode in the character string;
A display mode designating step for accepting designation of a first mode for displaying a character string in a prescribed range or a second mode for displaying a character string outside the prescribed range. String processing method.
文字列中で非表示にすべき範囲を規定する非表示範囲規定処理と、
規定された範囲を非表示とするように編集する編集処理と、
規定された範囲を非表示として表示させるか否かの指定を受け付ける非表示指定受付処理とを含む処理をコンピュータに実行させる
ことを特徴とするプログラム。
A non-display range defining process for prescribing a range to be hidden in the character string;
An editing process for editing to hide the specified range,
A program for causing a computer to execute a process including a non-display designation receiving process for receiving a designation as to whether or not to display a specified range as non-display.
文字列中で、第1のモードにおいて表示する範囲を規定する第1表示範囲規定処理と、
規定された範囲の文字列を表示させる第1のモードか、規定された範囲以外の文字列も併せて表示させる第2のモードかの指定を受け付ける表示モード指定処理とを含む処理をコンピュータに実行させる
ことを特徴とするプログラム。
A first display range defining process for defining a range to be displayed in the first mode in the character string;
The computer executes a process including a display mode designation process for accepting designation of whether the first mode for displaying a character string in a prescribed range or the second mode for displaying a character string outside the prescribed range. A program characterized by having
請求項19又は20に記載のプログラムを記録したことを特徴とするコンピュータ読み取り可能な記録媒体。


A computer-readable recording medium on which the program according to claim 19 or 20 is recorded.


JP2003297249A2003-08-212003-08-21 Character string processing device, character string processing method, program, and recording mediumPendingJP2005070939A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
JP2003297249AJP2005070939A (en)2003-08-212003-08-21 Character string processing device, character string processing method, program, and recording medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
JP2003297249AJP2005070939A (en)2003-08-212003-08-21 Character string processing device, character string processing method, program, and recording medium

Publications (1)

Publication NumberPublication Date
JP2005070939Atrue JP2005070939A (en)2005-03-17

Family

ID=34403170

Family Applications (1)

Application NumberTitlePriority DateFiling Date
JP2003297249APendingJP2005070939A (en)2003-08-212003-08-21 Character string processing device, character string processing method, program, and recording medium

Country Status (1)

CountryLink
JP (1)JP2005070939A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
JP2010026239A (en)*2008-07-182010-02-04Casio Comput Co Ltd Display device, display method, and program
JP2011070403A (en)*2009-09-252011-04-07Sharp CorpContent display device, program, and recording medium
JP2012113606A (en)*2010-11-262012-06-14Nippon Telegr & Teleph Corp <Ntt>Protection object information masking device, protection object information masking method, and protection object information masking program
JP2012159682A (en)*2011-01-312012-08-23Toshiba CorpInformation processing apparatus and information processing method
JP2017157994A (en)*2016-03-012017-09-07京セラドキュメントソリューションズ株式会社Information processing apparatus and program
CN108628940A (en)*2017-03-232018-10-09卡西欧计算机株式会社Information display device and its control method, Message Display Terminal and its control method and recording medium
US10984671B2 (en)2017-03-222021-04-20Casio Computer Co., Ltd.Information display apparatus, information display method, and computer-readable recording medium
US11138896B2 (en)2017-03-222021-10-05Casio Computer Co., Ltd.Information display apparatus, information display method, and computer-readable recording medium

Cited By (11)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
JP2010026239A (en)*2008-07-182010-02-04Casio Comput Co Ltd Display device, display method, and program
JP2011070403A (en)*2009-09-252011-04-07Sharp CorpContent display device, program, and recording medium
JP2012113606A (en)*2010-11-262012-06-14Nippon Telegr & Teleph Corp <Ntt>Protection object information masking device, protection object information masking method, and protection object information masking program
JP2012159682A (en)*2011-01-312012-08-23Toshiba CorpInformation processing apparatus and information processing method
JP2017157994A (en)*2016-03-012017-09-07京セラドキュメントソリューションズ株式会社Information processing apparatus and program
US10984671B2 (en)2017-03-222021-04-20Casio Computer Co., Ltd.Information display apparatus, information display method, and computer-readable recording medium
US11138896B2 (en)2017-03-222021-10-05Casio Computer Co., Ltd.Information display apparatus, information display method, and computer-readable recording medium
CN108628940A (en)*2017-03-232018-10-09卡西欧计算机株式会社Information display device and its control method, Message Display Terminal and its control method and recording medium
JP2018159830A (en)*2017-03-232018-10-11カシオ計算機株式会社 Information display device, information display terminal, information display device control method, information display terminal control method, information display device control program, information display terminal control program
US10971025B2 (en)2017-03-232021-04-06Casio Computer Co., Ltd.Information display apparatus, information display terminal, method of controlling information display apparatus, method of controlling information display terminal, and computer readable recording medium
CN108628940B (en)*2017-03-232022-06-07卡西欧计算机株式会社 Information display device, control method thereof, and recording medium

Similar Documents

PublicationPublication DateTitle
US6957233B1 (en)Method and apparatus for capturing and rendering annotations for non-modifiable electronic content
JP2000352988A (en) Selective text-to-speech processing method with automatic header extraction function and recording medium storing program for the method
JP2005070939A (en) Character string processing device, character string processing method, program, and recording medium
US8874529B2 (en)User-determinable method and system for manipulating and displaying textual and graphical information
US20240295952A1 (en)Information generation apparatus, information generation method, and storage medium
CN110990419B (en) Electronic dictionary device, retrieval method of electronic dictionary
CN103678467A (en)Information display control apparatus, information display control method, information display control system
JP4642534B2 (en) Information processing apparatus, information processing method, information processing program, and computer-readable recording medium recording the same
JP6229645B2 (en) Information processing apparatus, information processing method, and program thereof
JP6056938B2 (en) Program, processing method, and information processing apparatus
JP2008252294A (en)Image forming system
JP2018155808A (en) Learning support device, learning support method, and program
JP2010015515A (en)Electronic apparatus provided with dictionary function
JP7721485B2 (en) Electronic device, electronic device control method and program
JP7480560B2 (en) Text extraction device and program
JPS63109578A (en)Processing system for logic diagram outline display
JP2006058632A (en)Character retrieval system and recording medium storing electronic memorization card
JP5655411B2 (en) Information display device and information display program
JPS59197924A (en)Documentation device
JP2025131250A (en) Design support device, program, and design support method
JP2018036684A (en) Content display device and control method
JP2025008036A (en) Information processing system, control method for information processing system, and program
JP4786444B2 (en) Document processing apparatus, program thereof, computer-readable recording medium storing the program, electronic display, and document processing method
JP2015166905A (en) Electronic device and program with dictionary display function
TalbotTalbot packages: An overview

[8]ページ先頭

©2009-2025 Movatter.jp