JP2007193641A - Information retrieval device, information retrieval method, information retrieval program and computer-readable recording medium recording information retrieval program - Google Patents

Information retrieval device, information retrieval method, information retrieval program and computer-readable recording medium recording information retrieval program Download PDF

Info

Publication number
JP2007193641A
JP2007193641A JP2006012198A JP2006012198A JP2007193641A JP 2007193641 A JP2007193641 A JP 2007193641A JP 2006012198 A JP2006012198 A JP 2006012198A JP 2006012198 A JP2006012198 A JP 2006012198A JP 2007193641 A JP2007193641 A JP 2007193641A
Authority
JP
Japan
Prior art keywords
search
character string
modification
data
search key
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
JP2006012198A
Other languages
Japanese (ja)
Inventor
Daisuke Yamashita
大輔 山下
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 JP2006012198A priority Critical patent/JP2007193641A/en
Publication of JP2007193641A publication Critical patent/JP2007193641A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To prevent display of contents unintended by a user. <P>SOLUTION: This information retrieval device 100 includes a storage part 118, a modification table generation part 104, a document part 130, a retrieval key input part 110, a condition generation part 112, a processing part 114, and a result part 132. The storage part 118 stores a text data table. The modification table generation part 104 generates a modification table in each kind of character modification. The document part 130 displays a document on the basis of the text data table. The retrieval key input part 110 detects a retrieval key on the basis of operation of the user. The condition generation part 112 sets restriction to retrieval. The processing part 114 retrieves a character string including the retrieval key from the text data table according to the restriction to the retrieval when an operation part 108 detects the retrieval key. The result part 132 displays the character string including the retrieval key. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は情報検索装置、情報検索方法、情報検索プログラム、および情報検索プログラムを記録したコンピュータ読取り可能な記録媒体に関し、特に、表示された電子文書の検索に適合した情報検索装置、情報検索方法、情報検索プログラム、および情報検索プログラムを記録したコンピュータ読取り可能な記録媒体に関する。   The present invention relates to an information search device, an information search method, an information search program, and a computer-readable recording medium on which the information search program is recorded, and in particular, an information search device, an information search method suitable for searching a displayed electronic document, The present invention relates to an information search program and a computer-readable recording medium on which the information search program is recorded.

文書を表示する機能と、その文書中に出現する単語や用語の意味を調べる機能とを兼ね備えた製品が増えてきている。   An increasing number of products have a function of displaying a document and a function of examining the meaning of words and terms appearing in the document.

たとえば、電子辞書には、ジャンプ機能と呼ばれる機能が搭載されてきている。ジャンプ機能とは、検索を行う文字列を入力するための画面に戻ることなく、直接画面に表示されている文章の中から、カーソルなどを利用して、意味を調べたい文字列を選択し、検索する機能である。PDA(Personal Digital Assistant、携帯情報端末)においても、同様の機能を備えた端末が存在する。特許文献1や特許文献2には、こうしたジャンプ機能の具体的な実現方法が開示されている。   For example, a function called a jump function has been installed in an electronic dictionary. The jump function is to select the character string you want to check the meaning from the text displayed on the screen directly using the cursor etc. without returning to the screen for entering the character string to search. This is a search function. In PDA (Personal Digital Assistant, portable information terminal), there are terminals having similar functions. Patent Documents 1 and 2 disclose specific methods for realizing such a jump function.

特許文献1は、単語を入力するための入力キーと、入力キーにより入力した単語の内容を記憶するRAM(Random Access Memory)と、入力された単語に対応する訳の内容を記憶するROM(Read Only Memory)と、内容を表示する表示装置を備えた電子辞書において、表示された内容の画面の中から任意の範囲を指定し、指定された日本語の文字列を見出し語として、さらに見出し語の内容が表示されることを特徴とする電子辞書を開示する。   Patent Document 1 discloses an input key for inputting a word, a RAM (Random Access Memory) for storing the content of the word input by the input key, and a ROM (Read for storing the content of the translation corresponding to the input word. Only memory) and an electronic dictionary equipped with a display device that displays the content. Specify an arbitrary range from the displayed content screen, and use the specified Japanese character string as a headword. An electronic dictionary is disclosed in which the contents of are displayed.

特許文献1に開示された発明によると、任意の範囲の日本語の文字列からジャンプしてその訳語を表示できる。   According to the invention disclosed in Patent Document 1, it is possible to jump from an arbitrary range of Japanese character strings and display the translated words.

特許文献2は、文章データの中から検索を行う文字列を選択する検索キーの選択装置において、文章データ中から選択された任意の文字が入力されるキー入力部と、キー入力部に入力された任意の文字を先頭文字とする文章データに含まれる文字列と、外部の記憶部に検索情報の見出し語として格納された文字列とが一致するか否かを判定する判定部と、判定部が一致すると判定した場合に、一致した文字列を検索キーとして選択する選択部とを備える選択装置を開示する。   Patent Document 2 is a search key selection device that selects a character string to be searched from text data, and is input to a key input unit for inputting an arbitrary character selected from text data and a key input unit. A determination unit that determines whether or not a character string included in sentence data having an arbitrary character as a first character matches a character string stored as an entry word of search information in an external storage unit; and a determination unit A selection device is disclosed that includes a selection unit that selects a matched character string as a search key when it is determined that they match.

特許文献2に開示された発明によると、カーソルを移動させて文字列の先頭文字を指定するだけで、検索する文字列の指定を可能とし、ユーザの操作性を大幅に向上させることができる。たとえば、図28のように「電」をカーソルで指定するだけで、図29のように、自動的に「電子メール」が検索文字として選択される。
特開平11−184854号公報 特開2005−18169号公報
According to the invention disclosed in Patent Document 2, it is possible to specify a character string to be searched by simply moving the cursor and specifying the first character of the character string, and the operability of the user can be greatly improved. For example, as shown in FIG. 28, simply by specifying “Den” with the cursor, “E-mail” is automatically selected as a search character as shown in FIG.
Japanese Patent Laid-Open No. 11-184854 JP 2005-18169 A

しかしながら、特許文献1および特許文献2に開示された発明では、隠された文字が検索結果やその説明文に表示されてしまい、ユーザにとって意図しない結果が生じる(見たくないのに表示されてしまう)という問題点がある。   However, in the inventions disclosed in Patent Document 1 and Patent Document 2, hidden characters are displayed in the search result and the description thereof, and an unintended result for the user is generated (the user does not want to see it). ).

たとえば、図30のように、文書中にマスクで隠された部分が存在し、そのマスクの中に「家康」という文字列が存在する場合を考える。以下の説明において、「マスク」とは、文字の一部を塗りつぶして背後の文字を隠す機能を意味する。「マスク」は、参考書などで勉強をするときの、特殊なペンで文字の周囲に色を塗った後、特殊な下敷きを載せて色を塗った箇所を隠す動作を、学習装置で実現するための機能である。「マスク」に類似する機能として、文章の一部に矩形を表示し、その矩形中にキーボードやマウスを用いて文字を入力させる機能がある。以下の説明において、この機能を「テキストボックス」と称する。「テキストボックス」は、文章の一部を四角や下線に置き換え、かつ置き換えられた四角の中や下線の上などに当てはまる文字を記入させるといった、参考書などによく採用される書式を、学習装置で実現するための機能である。特許文献1および特許文献2に開示された発明において「徳川」を選択し、ジャンプ機能を用いて検索を行うと、図31のように、マスクによって隠されている「家康」を含む検索結果が表示されてしまう。特許文献1および特許文献2に開示された発明において、図32のように「関ヶ原」を選択し、ジャンプ機能を用いて検索を行い、検索結果である「関ヶ原の戦い」についての説明文を表示させると、図33のように、マスクによって隠されている「家康」を含む説明文が表示されてしまう。   For example, as shown in FIG. 30, a case where a portion hidden by a mask exists in a document and a character string “Ieyasu” exists in the mask is considered. In the following description, “mask” means a function of painting a part of a character and hiding the character behind it. “Mask” is a learning device that uses a special pen to paint around a character and then hides the painted area with a special underlay when studying with reference books. It is a function for. As a function similar to “mask”, there is a function of displaying a rectangle in a part of a sentence and inputting characters in the rectangle using a keyboard or a mouse. In the following description, this function is referred to as a “text box”. “Text Box” is a learning device that uses a format often used for reference books, such as replacing a part of a sentence with a square or underline, and letting the user enter characters that fit in the replaced square or underline. It is a function to realize with. When “Tokukawa” is selected in the inventions disclosed in Patent Document 1 and Patent Document 2 and a search is performed using the jump function, a search result including “Ieyasu” hidden by a mask is obtained as shown in FIG. It will be displayed. In the invention disclosed in Patent Literature 1 and Patent Literature 2, select “Sekigahara” as shown in FIG. 32, perform a search using the jump function, and display an explanatory text about “Battle of Sekigahara” as a search result. Then, an explanatory note including “Ieyasu” hidden by the mask is displayed as shown in FIG.

本発明は、上述の問題点を解決するためになされたものであって、その目的は、ユーザの意図しない内容の表示を防ぐことができる情報検索装置、情報検索方法、情報検索プログラム、および情報検索プログラムを記録したコンピュータ読取り可能な記録媒体を提供することにある。   The present invention has been made to solve the above-described problems, and an object of the present invention is to provide an information search device, an information search method, an information search program, and information that can prevent display of contents not intended by the user. An object of the present invention is to provide a computer-readable recording medium in which a search program is recorded.

上記目的を達成するために、本発明のある局面に従うと、情報検索装置は、記憶手段と、第1の修飾テーブル生成手段と、文書用の表示手段と、第1の検出手段と、設定手段と、検索手段と、結果用の表示手段とを含む。記憶手段は、文書を構成する文字列のデータである文字列データと文字列に対する文字修飾のデータとを含む、テキストデータテーブルを記憶する。第1の修飾テーブル生成手段は、テキストデータテーブルが含むデータを組み合わせることにより、文字修飾の対象となる文字列のデータテーブルである修飾テーブルを、文字修飾の種類ごとに生成する。文書用の表示手段は、テキストデータテーブルに基づき、文書を表示する。第1の検出手段は、ユーザの操作に基づいて、ユーザが文書の中から検索しようとする文字列である検索キーを検出する。設定手段は、検索に対する制約を設定する。検索手段は、第1の検出手段が検索キーを検出すれば、検索に対する制約に従って、テキストデータテーブルの中から、検索キーを含む文字列を検索する。結果用の表示手段は、検索キーを含む文字列を表示する。   In order to achieve the above object, according to an aspect of the present invention, an information search apparatus includes a storage unit, a first modification table generation unit, a document display unit, a first detection unit, and a setting unit. And search means and display means for results. The storage means stores a text data table including character string data that is character string data constituting the document and character modification data for the character string. The first modification table generation means generates a modification table that is a data table of a character string to be subjected to character modification for each type of character modification by combining data included in the text data table. The document display means displays the document based on the text data table. The first detection means detects a search key, which is a character string that the user intends to search from the document, based on a user operation. The setting means sets a restriction on the search. When the first detection means detects the search key, the search means searches for a character string including the search key from the text data table according to the restriction on the search. The result display means displays a character string including the search key.

また、上述の設定手段は、文字修飾の対象となる文字列である修飾付き文字列に対する検索キーの文書における位置と検索キーから修飾付き文字列までの距離とに応じた、検索の条件を設定するための手段を含むことが望ましい。併せて、検索手段は、第1の検出手段が検索キーを検出すれば、検索の条件に従って、テキストデータテーブルの中から、検索キーを含む文字列を検索するための手段を含むことが望ましい。   In addition, the setting means described above sets a search condition according to the position of the search key in the document with respect to the modified character string that is the character string subject to character modification and the distance from the search key to the modified character string. It is desirable to include means for doing so. In addition, it is preferable that the search means includes means for searching for a character string including the search key from the text data table according to the search condition if the first detection means detects the search key.

もしくは、上述の検索の条件を設定するための手段は、検索キーから修飾付き文字列までの距離が閾値以下であって、検索キーが文書において修飾付き文字列の前にあるか否かを判断するための手段と、検索キーから修飾付き文字列までの距離が閾値以下であって、検索キーが修飾付き文字列の前にある場合、後方一致、完全一致、およびワイルドカード検索を検索の条件とするように、検索の条件を設定するための手段とを含むことが望ましい。   Alternatively, the means for setting the search condition described above determines whether the distance from the search key to the qualified character string is equal to or less than a threshold value and the search key is in front of the qualified character string in the document. If the distance from the search key to the qualified character string is less than the threshold and the search key is before the qualified character string, the search conditions are backward match, exact match, and wildcard search. It is desirable to include a means for setting search conditions.

もしくは、上述の検索キーから修飾付き文字列までの距離は、検索キーから修飾付き文字列までの間に存在する文字の個数に対応する距離であることが望ましい。   Alternatively, the distance from the search key to the qualified character string is preferably a distance corresponding to the number of characters existing between the search key and the qualified character string.

もしくは、上述の検索キーから修飾付き文字列までの距離は、検索キーから修飾付き文字列までの形態素の個数に対応する距離であることが望ましい。   Alternatively, the distance from the search key to the qualified character string is preferably a distance corresponding to the number of morphemes from the search key to the qualified character string.

もしくは、上述の閾値はゼロであることが望ましい。
もしくは、検索の条件を設定するための手段は、検索キーから修飾付き文字列までの距離が閾値以下であって、検索キーが文書において修飾付き文字列の後にあるか否かを判断するための手段と、検索キーから修飾付き文字列までの距離が閾値以下であって、検索キーが修飾付き文字列の後にある場合、前方一致、完全一致、およびワイルドカード検索を検索の条件とするように、検索の条件を設定するための手段とを含むことが望ましい。
Alternatively, the above threshold is preferably zero.
Alternatively, the means for setting the search condition is for determining whether the distance from the search key to the qualified character string is equal to or less than a threshold value and the search key is after the qualified character string in the document. If the distance between the means and the search key to the qualified character string is less than the threshold and the search key is after the qualified character string, the search condition is forward match, exact match, and wildcard search. And means for setting search conditions.

もしくは、検索の条件を設定するための手段は、検索キーが修飾付き文字列を含むか否かを判断するための手段と、検索キーが修飾付き文字列を含む場合、前方一致、後方一致、部分一致、および完全一致を検索の条件とするように、検索の条件を設定するための手段とをさらに含むことが望ましい。   Alternatively, the means for setting the search condition includes a means for determining whether or not the search key includes a qualified character string, and if the search key includes a qualified character string, a forward match, a backward match, It is desirable to further include means for setting search conditions so that partial matches and complete matches are used as search conditions.

また、上述の設定手段は、文字修飾の対象となる文字列である修飾付き文字列の少なくとも一部と、検索キーの少なくとも一部とが一致すると、検索を禁止するような制約を設定するための手段を含むことが望ましい。併せて、検索手段は、第1の検出手段が検索キーを検出すれば、検索を禁止するような制約がある場合を除き、テキストデータテーブルの中から、検索キーを含む文字列を検索するための手段を含むことが望ましい。   In addition, the setting means described above sets a restriction that prohibits a search when at least a part of a character string with a modification, which is a character string to be character-modified, matches at least a part of a search key. It is desirable to include these means. At the same time, the search means searches for the character string including the search key from the text data table, unless there is a restriction that prohibits the search if the first detection means detects the search key. It is desirable to include these means.

もしくは、上述の検索を禁止するような制約を設定するための手段は、修飾付き文字列が検索キーを含むか否かを判断するための手段と、検索キーが修飾付き文字列を含むか否かを判断するための手段と、修飾付き文字列が検索キーを含む場合、および検索キーが修飾付き文字列を含む場合のいずれかに該当すれば、検索を禁止するような制約を設定するための手段とを含むことが望ましい。   Alternatively, the means for setting the restriction that prohibits the search described above includes means for determining whether or not the qualified character string includes a search key, and whether or not the search key includes a qualified character string. In order to set a constraint that prohibits the search if the means for determining whether or not the qualified character string includes a search key and the search key includes a qualified character string It is desirable to include these means.

また、上述の情報検索装置は、修飾付き文字列の少なくとも一部と、検索キーの少なくとも一部とが一致すると、表示を禁止するような制約を設定するための手段をさらに含むことが望ましい。併せて、結果用の表示手段は、表示を禁止するような制約がある場合を除き、検索キーを含む文字列を表示するための手段を含むことが望ましい。   In addition, it is preferable that the above-described information search apparatus further includes means for setting a restriction that prohibits display when at least a part of the qualified character string matches at least a part of the search key. In addition, the result display means preferably includes means for displaying a character string including a search key, unless there is a restriction that prohibits display.

また、上述の記憶手段は、テキストデータテーブルと共に、単語についての説明文を表わす説明文データをさらに含むことが望ましい。併せて、情報検索装置は、第2の検出手段と、第2の修飾テーブル生成手段と、説明用の表示手段とをさらに含むことが望ましい。第2の検出手段は、ユーザの操作に基づいて、ユーザが説明文の表示を希望している単語を検出する。第2の修飾テーブル生成手段は、説明文データのうち、ユーザが説明文の表示を希望する単語についての説明文である特定説明文を表わすデータについて、修飾テーブルのデータが表わす文字列と同じ文字列が、修飾テーブルのデータが表わす文字列と同じ文字修飾の対象となるように、特定説明文を構成する文字列についての文字修飾を表わすデータからなるデータテーブルである、説明用修飾テーブルを生成する。説明用の表示手段は、説明用修飾テーブルが含むデータの内容に従って、特定説明文を表示する。   Moreover, it is preferable that the above-mentioned storage means further includes explanatory text data representing an explanatory text about the word, together with the text data table. In addition, it is preferable that the information search apparatus further includes a second detection unit, a second modification table generation unit, and a display unit for explanation. A 2nd detection means detects the word which the user desires to display an explanatory note based on a user's operation. The second modification table generating means uses the same character as the character string represented by the data in the modification table for the data representing the specific explanation that is the explanation for the word that the user wants to display the explanation in the explanation data. Generates a modification table for explanation, which is a data table composed of data representing character modification of the character string constituting the specific description so that the column is subject to the same character modification as the character string represented by the data in the modification table To do. The explanation display means displays the specific explanation according to the contents of the data included in the explanation modification table.

また、上述の記憶手段は、テキストデータテーブルと共に、単語についての説明文を表わす説明文データをさらに含むことが望ましい。併せて、情報検索装置は、第2の検出手段と、制約を設定するための手段と、説明用の表示手段とをさらに含むことが望ましい。第2の検出手段は、ユーザの操作に基づいて、ユーザが説明文の表示を希望している単語を検出する。制約を設定するための手段は、ユーザが説明文の表示を希望する単語についての説明文である特定説明文のうちいずれかの部分を表わす文字列が、修飾テーブルのデータが表わす文字列と同じ場合、特定説明文の表示を禁止するような制約を設定する。説明用の表示手段は、第2の検出手段が単語を検出すると、特定説明文の表示を禁止するような制約がある場合を除き、特定説明文を表示する。   Moreover, it is preferable that the above-mentioned storage means further includes explanatory text data representing an explanatory text about the word together with the text data table. In addition, it is desirable that the information search apparatus further includes a second detection unit, a unit for setting a constraint, and a display unit for explanation. A 2nd detection means detects the word which the user desires to display an explanatory note based on a user's operation. The means for setting the constraint is that the character string representing any part of the specific descriptive text that is the descriptive text for the word that the user wants to display the descriptive text is the same as the character string represented by the data in the modification table In such a case, a restriction that prohibits the display of the specific explanatory text is set. The explanation display means displays the specific explanation unless there is a restriction that prohibits the display of the specific explanation when the second detection means detects the word.

また、上述の結果用の表示手段は、第3の修飾テーブル生成手段と、文字列を表示するための手段とを含むことが望ましい。第3の修飾テーブル生成手段は、検索キーを含む文字列のうち修飾テーブルのデータが表わす文字列と同じ文字列に、修飾テーブルのデータが表わす文字列と同じ文字修飾を表わすデータを対応付けることにより、検索キーを含む文字列についての文字修飾を表わすデータのデータテーブルである、表示用修飾テーブルを生成する。文字列を表示するための手段は、表示用修飾テーブルが含むデータの内容に従って、検索キーを含む文字列を表示する。併せて、情報検索装置は、表示用修飾テーブルを記憶するための手段をさらに含むことが望ましい。   Moreover, it is preferable that the display means for results described above includes third modification table generation means and means for displaying a character string. The third modification table generating means associates data representing the same character modification as the character string represented by the modification table data with the same character string represented by the modification table data among the character strings including the search key. Then, a display modification table, which is a data table of data representing the character modification of the character string including the search key, is generated. The means for displaying the character string displays the character string including the search key according to the contents of the data included in the display modification table. In addition, it is desirable that the information retrieval apparatus further includes means for storing the display modification table.

本発明の他の局面に従うと、情報検索方法は、記憶ステップと、第1の修飾テーブル生成ステップと、文書用の表示ステップと、第1の検出ステップと、設定ステップと、検索ステップと、結果用の表示ステップとを含む。記憶ステップは、文書を構成する文字列のデータである文字列データと文字列に対する文字修飾のデータとを含む、テキストデータテーブルを記憶する。第1の修飾テーブル生成ステップは、テキストデータテーブルが含むデータを組み合わせることにより、文字修飾の対象となる文字列のデータテーブルである修飾テーブルを、文字修飾の種類ごとに生成する。文書用の表示ステップは、テキストデータテーブルに基づき、文書を表示する。第1の検出ステップは、ユーザの操作に基づいて、ユーザが文書の中から検索しようとする文字列である検索キーを検出する。設定ステップは、検索に対する制約を設定する。検索ステップは、第1の検出ステップにおいて検索キーを検出すれば、検索に対する制約に従って、テキストデータテーブルの中から、検索キーを含む文字列を検索する。結果用の表示ステップは、検索キーを含む文字列を表示する。   According to another aspect of the present invention, an information search method includes a storage step, a first modification table generation step, a document display step, a first detection step, a setting step, a search step, a result Display step. The storing step stores a text data table including character string data, which is character string data constituting the document, and character modification data for the character string. The first modification table generation step generates a modification table, which is a data table of a character string to be subjected to character modification, for each type of character modification by combining data included in the text data table. The display step for the document displays the document based on the text data table. The first detection step detects a search key, which is a character string that the user intends to search from a document, based on a user operation. In the setting step, a restriction on search is set. In the search step, if the search key is detected in the first detection step, a character string including the search key is searched from the text data table according to the restriction on the search. The result display step displays a character string including the search key.

本発明の他の局面に従うと、情報検索プログラムは、記憶ステップと、第1の修飾テーブル生成ステップと、文書用の表示ステップと、第1の検出ステップと、設定ステップと、検索ステップと、結果用の表示ステップとを含む各ステップをコンピュータに実行させる。記憶ステップは、文書を構成する文字列のデータである文字列データと文字列に対する文字修飾のデータとを含む、テキストデータテーブルを記憶する。第1の修飾テーブル生成ステップは、テキストデータテーブルが含むデータを組み合わせることにより、文字修飾の対象となる文字列のデータテーブルである修飾テーブルを、文字修飾の種類ごとに生成する。文書用の表示ステップは、テキストデータテーブルに基づき、文書を表示する。第1の検出ステップは、ユーザの操作に基づいて、ユーザが文書の中から検索しようとする文字列である検索キーを検出する。設定ステップは、検索に対する制約を設定する。検索ステップは、第1の検出ステップにおいて検索キーを検出すれば、検索に対する制約に従って、テキストデータテーブルの中から、検索キーを含む文字列を検索する。結果用の表示ステップは、検索キーを含む文字列を表示する。   According to another aspect of the present invention, an information search program includes a storage step, a first modification table generation step, a document display step, a first detection step, a setting step, a search step, a result And causing the computer to execute each step including a display step. The storing step stores a text data table including character string data, which is character string data constituting the document, and character modification data for the character string. The first modification table generation step generates a modification table, which is a data table of a character string to be subjected to character modification, for each type of character modification by combining data included in the text data table. The display step for the document displays the document based on the text data table. The first detection step detects a search key, which is a character string that the user intends to search from a document, based on a user operation. In the setting step, a restriction on search is set. In the search step, if the search key is detected in the first detection step, a character string including the search key is searched from the text data table according to the restriction on the search. The result display step displays a character string including the search key.

本発明の他の局面に従えば、記録媒体は、情報検索プログラムを記録したコンピュータ読取可能な記録媒体である。情報検索プログラムは、記憶ステップと、第1の修飾テーブル生成ステップと、文書用の表示ステップと、第1の検出ステップと、設定ステップと、検索ステップと、結果用の表示ステップとを含む各ステップをコンピュータに実行させる。記憶ステップは、文書を構成する文字列のデータである文字列データと文字列に対する文字修飾のデータとを含む、テキストデータテーブルを記憶する。第1の修飾テーブル生成ステップは、テキストデータテーブルが含むデータを組み合わせることにより、文字修飾の対象となる文字列のデータテーブルである修飾テーブルを、文字修飾の種類ごとに生成する。文書用の表示ステップは、テキストデータテーブルに基づき、文書を表示する。第1の検出ステップは、ユーザの操作に基づいて、ユーザが文書の中から検索しようとする文字列である検索キーを検出する。設定ステップは、検索に対する制約を設定する。検索ステップは、第1の検出ステップにおいて検索キーを検出すれば、検索に対する制約に従って、テキストデータテーブルの中から、検索キーを含む文字列を検索する。結果用の表示ステップは、検索キーを含む文字列を表示する。   According to another aspect of the present invention, the recording medium is a computer-readable recording medium that records an information search program. The information search program includes a storage step, a first modification table generation step, a document display step, a first detection step, a setting step, a search step, and a result display step. Is executed on the computer. The storing step stores a text data table including character string data, which is character string data constituting the document, and character modification data for the character string. The first modification table generation step generates a modification table, which is a data table of a character string to be subjected to character modification, for each type of character modification by combining data included in the text data table. The display step for the document displays the document based on the text data table. The first detection step detects a search key, which is a character string that the user intends to search from a document, based on a user operation. In the setting step, a restriction on search is set. In the search step, if the search key is detected in the first detection step, a character string including the search key is searched from the text data table according to the restriction on the search. The result display step displays a character string including the search key.

本発明に係る情報検索装置、情報検索方法、情報検索プログラム、および情報検索プログラムを記録したコンピュータ読取り可能な記録媒体は、ユーザの意図しない内容の表示を防ぐことができる。   The information search device, the information search method, the information search program, and the computer-readable recording medium that records the information search program according to the present invention can prevent display of contents not intended by the user.

以下、図面を参照しつつ、本発明の実施の形態について説明する。以下の説明では、同一の部品には同一の符号を付してある。それらの名称および機能も同一である。したがって、それらについての詳細な説明は繰返さない。   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.

<第1の実施の形態>
以下、本発明の第1の実施の形態に係る情報検索装置について説明する。
<First Embodiment>
The information search apparatus according to the first embodiment of the present invention will be described below.

図1は、本実施の形態にかかる情報検索装置100の制御ブロック図である。
なお、以下の説明において、情報検索装置100の各部分について特に注釈なく「**部から得る」、「**部へ送る(渡す)」という表現をしている場合、データが、後述するバス158を介してやりとりされていることを表わす。バス158を介する場合、データが直接各部分同士でやりとりされる場合もあれば、後述する主記憶装置144、外部記憶装置146、あるいはネットワーク先などを間に挟んでデータがやりとりされる場合もある。ネットワーク先を間に挟む場合、データは後述する通信デバイス156を介してやりとりされる。
FIG. 1 is a control block diagram of the information search apparatus 100 according to the present embodiment.
In the following description, when each part of the information retrieval apparatus 100 is expressed as “obtained from the ** part” or “send (pass) to the ** part” without any particular comment, the data is a bus described later. 158 indicates that data is being exchanged via 158. When the data is transmitted via the bus 158, the data may be directly exchanged between the respective parts, or the data may be exchanged with a main storage device 144, an external storage device 146, or a network destination described later interposed therebetween. . When a network destination is sandwiched between, data is exchanged via a communication device 156 described later.

図1を参照して、本実施の形態にかかる情報検索装置100は、文書データ入力部102と、修飾テーブル生成部104と、対象入力部106と、操作部108と、検索キー入力部110と、条件生成部112と、処理部114と、表示用修飾テーブル生成部116と、記憶部118と、作成部120と、表示部122とを含む。   Referring to FIG. 1, an information search apparatus 100 according to the present embodiment includes a document data input unit 102, a modification table generation unit 104, a target input unit 106, an operation unit 108, a search key input unit 110, and the like. The condition generation unit 112, the processing unit 114, the display modification table generation unit 116, the storage unit 118, the creation unit 120, and the display unit 122 are included.

文書データ入力部102は、通信デバイス156を介したネットワーク先などから、文書データを得る。得られたデータは、修飾テーブル生成部104および記憶部118に渡される。   The document data input unit 102 obtains document data from a network destination via the communication device 156. The obtained data is passed to the modification table generation unit 104 and the storage unit 118.

修飾テーブル生成部104は、文書データ中の文字に修飾が存在すれば、その修飾情報を修飾テーブルにまとめ、記憶部118へ渡す。   If there is a modification in the text in the document data, the modification table generation unit 104 collects the modification information in a modification table and passes it to the storage unit 118.

対象入力部106は、通信デバイス156を介したネットワーク先などから、検索の対象となるデータを得る。得られたデータは、記憶部118に渡される。   The target input unit 106 obtains data to be searched from a network destination via the communication device 156 or the like. The obtained data is passed to the storage unit 118.

操作部108は、ユーザがタブレット152のペン(以下単に「ペン」とする)などによって表示画面に対して行った操作、あるいはユーザがメニューなどを参照して行った操作を検出する。操作部108は、検出された操作を表わす情報を、ユーザからの検索の要求を含む場合は検索キー入力部110に、それ以外の場合は作成部120に渡す。   The operation unit 108 detects an operation performed by the user on the display screen with a pen (hereinafter simply referred to as “pen”) of the tablet 152 or an operation performed by the user with reference to a menu or the like. The operation unit 108 passes information representing the detected operation to the search key input unit 110 when a search request from the user is included, and to the creation unit 120 otherwise.

検索キー入力部110は、ユーザが文書の中から検索しようとする文字列(以下単に「検索キー」と称する)の情報を操作部108から得て、条件生成部112に渡す。検索キーは、ユーザがペンやキーボード150を介して入力した文字列や、ユーザが確定した文字列である。ユーザが文字列を確定しようとする場合、ユーザは、ペン、キーボード150、あるいはマウス148を用いて、ディスプレイ142に表示されている文書データの選択範囲を決定することにより、文字列を確定する。   The search key input unit 110 obtains information on a character string (hereinafter simply referred to as “search key”) that the user wants to search from the document, and passes it to the condition generation unit 112. The search key is a character string input by the user via the pen or the keyboard 150 or a character string determined by the user. When the user intends to determine the character string, the user determines the character string by determining the selection range of the document data displayed on the display 142 using the pen, the keyboard 150, or the mouse 148.

条件生成部112は、検索の条件を表わすデータ(以下「検索条件」と称する)と検索キーの情報とを処理部114へ渡す。条件生成部112は、検索キーの情報、文書データ、および修飾テーブルを元に検索条件を生成する。条件生成部112は、検索キーの情報を検索キー入力部110から得る。条件生成部112は、文書データおよび修飾テーブルを記憶部118から得る。   The condition generation unit 112 passes data representing the search condition (hereinafter referred to as “search condition”) and search key information to the processing unit 114. The condition generation unit 112 generates a search condition based on search key information, document data, and a modification table. The condition generation unit 112 obtains search key information from the search key input unit 110. The condition generation unit 112 obtains document data and a modification table from the storage unit 118.

処理部114は、検索用テーブルを表示用修飾テーブル生成部116および記憶部118へ渡す。検索用テーブルとは、検索の結果の情報を含む、データテーブルである。処理部114は、検索条件と検索キーとを元に検索処理を行う。   The processing unit 114 passes the search table to the display modification table generation unit 116 and the storage unit 118. The search table is a data table including information on search results. The processing unit 114 performs a search process based on the search condition and the search key.

表示用修飾テーブル生成部116は、検索キーと同じ文字列が文書データ中に存在し、かつ、その文字が修飾されていれば、その修飾の内容を表わすデータを記憶部118へ渡す。修飾の内容を表わすデータは、検索キーと同じ文字列を含む文字列すべてについてのデータテーブル(以下「表示用修飾テーブル」と称する)として記憶部118へ渡される。本実施の形態の場合、表示用修飾テーブルのデータ構造は、修飾テーブルのデータ構造と同じである。表示用修飾テーブル生成部116は、検索キーと同じ文字列が、説明データが表わす文字列中に存在し(説明データについては後述する)、かつ、その文字が修飾されていれば、その修飾の内容を表わすデータを記憶部118へ渡す。修飾の内容を表わすデータは、検索キーと同じ文字列を含む文字列すべてについてのデータテーブル(以下「説明用修飾テーブル」と称する)として記憶部118へ渡される。本実施の形態の場合、説明用修飾テーブルのデータ構造も、修飾テーブルのデータ構造と同じである。   If the same character string as the search key exists in the document data and the character is modified, the display modification table generating unit 116 passes the data representing the modification content to the storage unit 118. Data representing the contents of the modification is passed to the storage unit 118 as a data table (hereinafter referred to as “display modification table”) for all character strings including the same character string as the search key. In the case of the present embodiment, the data structure of the display modification table is the same as the data structure of the modification table. If the same character string as the search key exists in the character string represented by the explanation data (the explanation data will be described later) and the character is modified, the display modification table generating unit 116 modifies the modification. Data representing the contents is transferred to the storage unit 118. Data representing the contents of the modification is passed to the storage unit 118 as a data table (hereinafter referred to as “description modification table”) for all character strings including the same character string as the search key. In the case of this embodiment, the data structure of the explanatory modification table is the same as the data structure of the modification table.

記憶部118は、文書データ、検索の対象となるデータ、修飾テーブル、説明用修飾テーブル、および検索の結果を表わすデータを記憶する。記憶されるデータなどは、文書データ入力部102、対象入力部106、条件生成部112、処理部114、修飾テーブル生成部104、表示用修飾テーブル生成部116から得たデータなどである。記憶部118は、必要に応じて、記憶されたデータなどを、条件生成部112、処理部114、作成部120に渡す。   The storage unit 118 stores document data, data to be searched, a modification table, a description modification table, and data representing a search result. The stored data is data obtained from the document data input unit 102, the target input unit 106, the condition generation unit 112, the processing unit 114, the modification table generation unit 104, and the display modification table generation unit 116. The storage unit 118 passes the stored data and the like to the condition generation unit 112, the processing unit 114, and the creation unit 120 as necessary.

作成部120は、記憶部118から文書データや検索の結果を表わすデータを得て、表示データを作成し、表示部122へ渡す。   The creation unit 120 obtains document data and data representing search results from the storage unit 118, creates display data, and passes the display data to the display unit 122.

表示部122は、作成部120から得た表示データを表示する。表示部122は、文書部130と、結果部132と、説明部134とを含む。文書部130は文書データを表示する。結果部132は検索の結果を表わすデータを表示する。説明部134は、説明文を表示する。   The display unit 122 displays the display data obtained from the creation unit 120. The display unit 122 includes a document unit 130, a result unit 132, and an explanation unit 134. The document unit 130 displays document data. The result part 132 displays data representing the search result. The explanation unit 134 displays an explanation.

図2は、本実施の形態にかかる情報検索装置100を具体的に実現するハードウェアの構成例を示す図である。本実施の形態の場合、図1に示す情報検索装置100の各部分は、図2に示したコンピュータハードウェアと後述するCPU(Central Processing Unit)140により実行されるソフトウェアとにより実現される仮想装置である。   FIG. 2 is a diagram illustrating a hardware configuration example that specifically implements the information search apparatus 100 according to the present embodiment. In the case of the present embodiment, each part of the information search device 100 shown in FIG. 1 is a virtual device realized by the computer hardware shown in FIG. 2 and software executed by a CPU (Central Processing Unit) 140 described later. It is.

図2を参照して、情報検索装置100を具体的に実現するコンピュータハードウェアは、CPU140と、ディスプレイ142と、主記憶装置144と、外部記憶装置146と、マウス148と、キーボード150と、タブレット152と、スピーカ154と、通信デバイス156と、バス158とを含む。CPU140と、ディスプレイ142と、主記憶装置144と、外部記憶装置146と、マウス148と、キーボード150と、タブレット152と、スピーカ154と、通信デバイス156とは、バス158により相互に接続されている。   Referring to FIG. 2, the computer hardware that specifically implements information retrieval apparatus 100 includes CPU 140, display 142, main storage device 144, external storage device 146, mouse 148, keyboard 150, and tablet. 152, a speaker 154, a communication device 156, and a bus 158. CPU 140, display 142, main storage device 144, external storage device 146, mouse 148, keyboard 150, tablet 152, speaker 154, and communication device 156 are connected to each other via a bus 158. .

CPU140は、本実施の形態にかかる情報検索装置100を具体的に実現するための処理手順が記述されたプログラムを実行する。CPU140は、自らが実行するプログラムを、主記憶装置144、外部記憶装置146または通信デバイス156を介したネットワーク先などから得る。CPU140は、バス158を通じて、ディスプレイ142、マウス148、タブレット152、主記憶装置144、外部記憶装置146、通信デバイス156、キーボード150、およびスピーカ154とデータのやりとりを行う。   The CPU 140 executes a program in which processing procedures for specifically realizing the information search apparatus 100 according to the present embodiment are described. The CPU 140 obtains a program executed by itself from a network destination via the main storage device 144, the external storage device 146, or the communication device 156. The CPU 140 exchanges data with the display 142, the mouse 148, the tablet 152, the main storage device 144, the external storage device 146, the communication device 156, the keyboard 150, and the speaker 154 through the bus 158.

ディスプレイ142は、グラフィックカードなどと組合わされた表示媒体(あるいは出力媒体)である。本実施の形態におけるディスプレイ142は、モニタである。グラフィックカード上にはVRAM(Video Random Access Memory)が備えられる。VRAM上のデータは、表示信号に変換された後、ディスプレイ142に供給される。ディスプレイ142は供給された表示信号を画像として表示する。   The display 142 is a display medium (or output medium) combined with a graphic card or the like. Display 142 in the present embodiment is a monitor. A VRAM (Video Random Access Memory) is provided on the graphic card. Data on the VRAM is supplied to the display 142 after being converted into a display signal. The display 142 displays the supplied display signal as an image.

主記憶装置144は、通常はDRAM(Dynamic Random Access Memory)、フラッシュメモリなどのメモリデバイスで構成される。主記憶装置144は、各種のデータを記憶する装置である。   The main storage device 144 is usually composed of a memory device such as a DRAM (Dynamic Random Access Memory) or a flash memory. The main storage device 144 is a device that stores various data.

外部記憶装置146も、各種のデータを記憶する装置である。本実施の形態の場合、外部記憶装置146は、ハードディスクドライブ160と、PC(Personal Computer)カードスロット162とを含む。   The external storage device 146 is also a device that stores various data. In the present embodiment, the external storage device 146 includes a hard disk drive 160 and a PC (Personal Computer) card slot 162.

マウス148、キーボード150、およびタブレット152は、いずれもユーザが指示を入力する装置である。マウス148は、自らの移動方向と移動距離とを検出する検出機器やボタンなどを含む。タブレット152は、ペンとペン位置を検出する検出機器とを含む。キーボード150は、複数のボタン(キー)を含み、押下られたキーに応じた信号を生成する。マウス148、タブレット152、およびキーボード150から入力されたユーザの指示は、バス158を介してCPU140に入力される。   The mouse 148, the keyboard 150, and the tablet 152 are all devices for the user to input instructions. The mouse 148 includes a detection device, a button, and the like that detect its own moving direction and moving distance. The tablet 152 includes a pen and a detection device that detects the pen position. The keyboard 150 includes a plurality of buttons (keys) and generates a signal corresponding to the pressed key. User instructions input from the mouse 148, the tablet 152, and the keyboard 150 are input to the CPU 140 via the bus 158.

スピーカ154は、バス158などを介して送られる音声データを音声信号として解釈し、音声として出力する装置である。出力される音声は、単波長の単純な音の場合もあるし、音楽や人間の音声などの複雑な音の場合もある。   The speaker 154 is a device that interprets audio data sent via the bus 158 or the like as an audio signal and outputs it as audio. The output sound may be a simple sound with a single wavelength or may be a complex sound such as music or human speech.

通信デバイス156は、ネットワークインタフェースカードなどにより実現される。通信デバイス156は、無線や有線などにより接続された他のネットワーク機器とデータをやりとりする装置である。   The communication device 156 is realized by a network interface card or the like. The communication device 156 is a device that exchanges data with other network devices connected by wireless or wired communication.

本実施の形態にかかる情報検索装置100は、上述したコンピュータハードウェアとCPU140により実行されるソフトウェアとにより実現される。本実施の形態の場合、操作部108は、CPU140と、マウス148、タブレット152、およびキーボード150のいずれかとにより実現される。本実施の形態の場合、表示部122は、ディスプレイ142とCPU140と主記憶装置144および外部記憶装置146のいずれかとにより実現される。本実施の形態の場合、操作部108および表示部122以外の各装置は、CPU140と主記憶装置144および外部記憶装置146のいずれかとにより実現される。一般的にこうしたソフトウェアは、PCカード170などの記録媒体に格納されて流通し、外部記憶装置146のPCカードスロット162などにより記録媒体から読取られてハードディスクドライブ160に一旦格納される。さらに主記憶装置144のDRAMに読出されて、上述したCPU140により実行される。上述したコンピュータハードウェア自体は一般的なものである。したがって、本発明の最も本質的な部分は、PCカードなどの記録媒体に記録されたソフトウェアである。   The information search apparatus 100 according to the present embodiment is realized by the computer hardware described above and software executed by the CPU 140. In the case of the present embodiment, the operation unit 108 is realized by the CPU 140 and any one of the mouse 148, the tablet 152, and the keyboard 150. In the case of the present embodiment, the display unit 122 is realized by the display 142, the CPU 140, the main storage device 144, and the external storage device 146. In the case of the present embodiment, each device other than the operation unit 108 and the display unit 122 is realized by the CPU 140 and any one of the main storage device 144 and the external storage device 146. Generally, such software is stored and distributed in a recording medium such as the PC card 170, read from the recording medium by the PC card slot 162 of the external storage device 146, and temporarily stored in the hard disk drive 160. Further, the data is read into the DRAM of the main storage device 144 and executed by the CPU 140 described above. The computer hardware itself described above is general. Therefore, the most essential part of the present invention is software recorded on a recording medium such as a PC card.

図3を参照して、情報検索装置100で実行されるプログラムは、検索に関し、以下のような制御を実行する。   Referring to FIG. 3, the program executed by information search apparatus 100 performs the following control regarding search.

ステップ200(以下ステップをSと略す。)にて、文書データ入力部102は、文書データを取得する。文書データ入力部102は、取得した文書データを、記憶部118に渡す。   In step 200 (hereinafter, step is abbreviated as S), the document data input unit 102 acquires document data. The document data input unit 102 passes the acquired document data to the storage unit 118.

S202にて、修飾テーブル生成部104は、文書データ入力部102が得た文書データに対応する、修飾テーブルを生成する。この処理は、後述するS250〜S264の各処理に相当する。   In S202, the modification table generation unit 104 generates a modification table corresponding to the document data obtained by the document data input unit 102. This process corresponds to each process of S250 to S264 described later.

S204にて、作成部120は、文書データ入力部102が取得した文書データをもとに、表示部122の文書部130が表示するための表示データを作成する。S206にて、文書部130は、作成部120が作成した表示データの内容を表示する。   In S <b> 204, creation unit 120 creates display data for display by document unit 130 of display unit 122 based on the document data acquired by document data input unit 102. In S206, document unit 130 displays the contents of the display data created by creation unit 120.

S208にて、操作部108は、ユーザの操作(検索の要求を除く)があったか否かを判断する。ユーザの操作があったと判断した場合(S208にてYES)、処理はS210へと移される。もしそうでないと(S208にてNO)、処理はS212へと移される。   In S208, operation unit 108 determines whether or not there has been a user operation (excluding a search request). If it is determined that a user operation has been performed (YES in S208), the process proceeds to S210. If not (NO in S208), the process proceeds to S212.

S210にて、情報検索装置100の各部は、操作部108が検出したユーザの操作に対応する処理を行なう。情報検索装置100の各部が実行する処理には、上述した文書データのスクロール操作や、マスクの表示の有無の切換(マスクの表示の有無の切換はマウス148やキーボード150などにより検出される)などの操作が含まれる。   In S210, each unit of information search device 100 performs processing corresponding to the user operation detected by operation unit 108. The processing executed by each unit of the information retrieval apparatus 100 includes the above-described scroll operation of document data, switching of whether or not a mask is displayed (switching of whether or not a mask is displayed is detected by the mouse 148, the keyboard 150, or the like). Operations are included.

S212にて、操作部108は、ユーザからの検索の要求があったか否かを判断する。検索の要求があったと判断した場合(S212にてYES)、処理はS214へと移される。もしそうでないと(S212にてNO)、処理はS224へと移される。   In S212, operation unit 108 determines whether or not there is a search request from the user. If it is determined that a search request has been made (YES in S212), the process proceeds to S214. If not (NO in S212), the process proceeds to S224.

S214にて、検索キー入力部110、条件生成部112、および処理部114は、ユーザから検索の要求があった検索キーについて検索を実行する。この処理は後述するS1400〜S1404の各処理に該当する。   In S214, search key input unit 110, condition generation unit 112, and processing unit 114 execute a search for the search key that is requested to be searched by the user. This process corresponds to each process of S1400 to S1404 described later.

S216にて、作成部120は、記憶部118が記憶したデータを参照することにより、検索結果がある(検索結果を表わす情報が記憶されている)か否かを判断する。検索結果があると判断した場合(S216にてYES)、処理はS218へと移される。もしそうでないと(S216にてNO)、処理はS226へと移される。S218にて、作成部120は、検索の結果の表示データを作成する。表示部122の結果部132は、作成部120が作成したデータに基づき、検索の結果を表示する。   In S216, creation unit 120 refers to the data stored in storage unit 118 to determine whether there is a search result (information indicating the search result is stored). If it is determined that there is a search result (YES in S216), the process proceeds to S218. If not (NO in S216), the process proceeds to S226. In S218, creation unit 120 creates display data as a search result. The result unit 132 of the display unit 122 displays search results based on the data created by the creation unit 120.

S220にて、操作部108は、説明文の表示の要求があったか否かを判断する。説明文の表示の要求があったと判断した場合(S220にてYES)、処理はS222へと移される。もしそうでないと(S220にてNO)、処理はS224へと移される。S222にて、情報検索装置100の各部は説明文を表示する。この処理は後述するS2204〜S2210の各処理に該当する。   In S220, operation unit 108 determines whether or not there is a request to display an explanatory note. If it is determined that there is a request to display an explanatory note (YES in S220), the process proceeds to S222. If not (NO in S220), the process proceeds to S224. In S222, each part of information search device 100 displays an explanatory note. This process corresponds to each process of S2204 to S2210 described later.

S224にて、操作部108は、検索を終了するか否かを判断する。操作部108は、ディスプレイ142の電源を切断することがディスプレイ142のスイッチやディスプレイ142に付属するリモコン(図示せず)などを介して指示されているか否かに基づき上述の判断をする。操作部108は、ディスプレイ142の電源の切断に代え、情報検索装置100全体の電源の切断の指示があるか否かに基づいて、上述の判断を行なってもよい。   In S224, operation unit 108 determines whether or not to end the search. The operation unit 108 makes the above determination based on whether or not to turn off the power of the display 142 is instructed via a switch of the display 142 or a remote control (not shown) attached to the display 142. The operation unit 108 may make the above determination based on whether or not there is an instruction to turn off the power of the entire information search apparatus 100 instead of turning off the power of the display 142.

S226にて、作成部120は検索結果が見つからない旨の表示データを作成する。結果部132は作成部120が作成した表示データに基づき、検索結果が見つからない旨を表示する。   In S226, creation unit 120 creates display data indicating that the search result is not found. The result part 132 displays that the search result is not found based on the display data created by the creation part 120.

図4を参照して、修飾テーブル生成部104および記憶部118で実行されるプログラムは、修飾テーブルの生成に関し、以下のような制御を実行する。   Referring to FIG. 4, the program executed by modification table generation unit 104 and storage unit 118 executes the following control with respect to generation of the modification table.

S250にて、修飾テーブル生成部104は、文書データ入力部102からテキストデータテーブルの一番目のデータを取得する。   In S250, the modification table generation unit 104 acquires the first data of the text data table from the document data input unit 102.

S252にて、修飾テーブル生成部104は、自らが取得したデータに対する修飾の種類が「ノン」以外か否かを判断する。修飾の種類が「ノン」以外と判断した場合には(S252にてYES)、処理はS254へと移される。もしそうでないと(S252にてNO)、処理はS262へと移される。   In S252, the modification table generation unit 104 determines whether the modification type for the data acquired by the modification table is other than “non”. If it is determined that the type of modification is other than “non” (YES in S252), the process proceeds to S254. If not (NO in S252), the process proceeds to S262.

S254にて、修飾テーブル生成部104は、記憶部118が記憶するデータを参照することにより、「種類」に対応する修飾テーブルがあるか否かを判断する。図4に示す処理における「種類」とは、S250にて修飾テーブル生成部104が取得したデータに対する修飾の種類のことである。「種類」に対応する修飾テーブルがあると判断した場合(S254にてYES)、処理はS256へと移される。もしそうでないと(S254にてNO)、処理はS260へと移される。   In S254, the modification table generating unit 104 refers to the data stored in the storage unit 118 to determine whether there is a modification table corresponding to “type”. The “type” in the process illustrated in FIG. 4 is a type of modification to the data acquired by the modification table generation unit 104 in S250. If it is determined that there is a modification table corresponding to “type” (YES in S254), the process proceeds to S256. If not (NO in S254), the process proceeds to S260.

S256にて、修飾テーブル生成部104は、記憶部118から「種類」に対応する修飾テーブルを取得する。S258にて、修飾テーブル生成部104は、S256にて取得した修飾テーブルにテキストデータテーブルから取得したデータのデータ位置などを登録する。修飾テーブルに登録される具体的な内容は後述する。S260にて、修飾テーブル生成部104は、「種類」に対応する修飾テーブルを新規に生成する。生成された修飾テーブルは、記憶部118により記憶される。   In S256, the modification table generating unit 104 acquires the modification table corresponding to the “type” from the storage unit 118. In S258, the modification table generating unit 104 registers the data position of the data acquired from the text data table in the modification table acquired in S256. Specific contents registered in the modification table will be described later. In S260, the modification table generating unit 104 newly generates a modification table corresponding to “type”. The generated modification table is stored in the storage unit 118.

S262にて、修飾テーブル生成部104は、テキストデータテーブルにまだ修飾の種類を識別していないデータが存在するか否かを判断する。修飾の種類を識別していないデータが存在すると判断した場合(S262にてYES)、処理はS264へと移される。もしそうでないと(S262にてNO)、処理は終了する。S264にて、修飾テーブル生成部104は、テキストデータテーブルの次のデータを取得する。   In S262, the modification table generating unit 104 determines whether there is data for which the modification type has not yet been identified in the text data table. If it is determined that there is data that does not identify the type of modification (YES in S262), the process proceeds to S264. If not (NO in S262), the process ends. In S264, the modification table generating unit 104 acquires the next data in the text data table.

図5を参照して、情報検索装置100で実行されるプログラムは、検索に関し、以下のような制御を実行する。   Referring to FIG. 5, the program executed by information search device 100 performs the following control regarding search.

S1400にて、検索キー入力部110は、操作部108が検出した操作に基づき、検索キーを検出する。本実施の形態の場合、検索キー入力部110は、文書部130に表示されている文書のうち、ユーザが操作部108を介して指定した範囲の文字列を検索キーとみなす。本実施の形態の場合、検索キー入力部110は、修飾された文字列が検索キーに含まれている場合、修飾された文字の代わりに、「*」という文字が指定されたとみなす(なお、本実施の形態とは異なる実施の形態では、「*」という文字が指定されたとみなす代わりに、別の文字が指定されたとみなしてもよい)。「*」という文字は、ワイルドカード検索に用いられる文字である。検索キー入力部110は、ユーザが操作部108を介して指定した範囲と修飾テーブルが含むデータとを比較することにより、修飾された文字列が検索キーに含まれていることを検知する。   In S1400, search key input unit 110 detects a search key based on the operation detected by operation unit 108. In the present embodiment, the search key input unit 110 regards a character string in a range specified by the user via the operation unit 108 among the documents displayed in the document unit 130 as a search key. In the case of the present embodiment, when a modified character string is included in the search key, the search key input unit 110 considers that the character “*” is designated instead of the modified character (note that In an embodiment different from the present embodiment, instead of assuming that the character “*” is specified, it may be considered that another character is specified). The character “*” is a character used for wild card search. The search key input unit 110 detects that the modified character string is included in the search key by comparing the range specified by the user via the operation unit 108 with the data included in the modification table.

S1402にて、条件生成部112は、検索キーに基づいて検索条件を生成する。この処理は後述するS14200〜S14228の各処理に該当する。   In S1402, condition generation unit 112 generates a search condition based on the search key. This process corresponds to each process of S14200 to S14228 described later.

S1404にて、処理部114は、検索キーおよび条件生成部112が生成した検索条件に基づいて、テキストデータテーブルのデータから検索キーに一致する文字列を検索する。本実施の形態の場合、処理部114は、検索キーとテキストデータテーブルのデータとを順次比較することにより、テキストデータテーブルのデータから検索キーに一致する文字列を検索する。   In S1404, based on the search condition generated by search key and condition generation unit 112, processing unit 114 searches the text data table for a character string that matches the search key. In the case of the present embodiment, the processing unit 114 searches the character string matching the search key from the data in the text data table by sequentially comparing the search key and the data in the text data table.

図6を参照して、条件生成部112で実行されるプログラムは、検索条件の生成に関し、以下のような制御を実行する。   Referring to FIG. 6, the program executed by condition generation unit 112 performs the following control with respect to generation of search conditions.

S14200にて、条件生成部112は、検索条件を初期化する。このステップにおいて、「検索条件を初期化する」とは、「前方一致」、「後方一致」、「部分一致」、「ワイルドカード検索」、および「完全一致」の5種類の検索を実施すべき旨の情報を生成することを意味する。なお、本実施の形態における「前方一致」とは、文字列のうち先頭を含む一部分が検索キーと一致する文字列を検索することをいう。本実施の形態における「後方一致」とは、文字列のうち末尾を含む一部分が検索キーと一致する文字列を検索することをいう。本実施の形態における「部分一致」とは、文字列のうちいずれかの一部分が検索キーと一致する文字列を検索することをいう。本実施の形態における「ワイルドカード検索」とは、文字列のうちいずれかの一部分が検索キーのうち「*」で表わされる文字以外の文字列と一致する文字列を検索することをいう。本実施の形態における「完全一致」とは、文字列のすべてが検索キーと一致する文字列を検索することをいう。   In S14200, condition generation unit 112 initializes a search condition. In this step, “initialize search conditions” means that five types of searches, “front match”, “backward match”, “partial match”, “wildcard search”, and “complete match” should be performed. This means generating information to that effect. Note that “forward matching” in the present embodiment refers to searching for a character string in which a part of the character string including the beginning matches the search key. “Backward match” in the present embodiment refers to searching for a character string in which a part of the character string including the end matches the search key. “Partial match” in the present embodiment refers to searching for a character string in which any part of the character string matches the search key. “Wild card search” in the present embodiment refers to searching for a character string in which any part of the character string matches a character string other than the character represented by “*” in the search key. “Completely match” in the present embodiment refers to searching for a character string in which all of the character strings match the search key.

S14202にて、条件生成部112は、記憶部118が記憶するデータを参照することにより、修飾テーブルが存在するか否かを判断する。修飾テーブルが存在すると判断した場合(S14202にてYES)、処理はS14204へと移される。もしそうでないと(S14202にてNO)、処理は終了する。S14204にて、条件生成部112は、記憶部118から1つ目の修飾テーブルを取得する。S14206にて、条件生成部112は、修飾テーブルから1つ目の修飾データを取得する。   In S14202, condition generation unit 112 refers to the data stored in storage unit 118 to determine whether a modification table exists. If it is determined that there is a modification table (YES in S14202), the process proceeds to S14204. If not (NO in S14202), the process ends. In S14204, condition generation unit 112 obtains the first modification table from storage unit 118. In S14206, condition generation unit 112 acquires the first modification data from the modification table.

S14208にて、条件生成部112は、検索キー入力部110から検索キーを取得する。検索キーが取得されると、条件生成部112は、修飾付き文字列(文字修飾の対象となる文字列。このステップの場合、修飾付き文字列は、条件生成部112によって取得された修飾データが表わす文字列である)と検索キーとが一致するか否かを判断する。修飾付き文字列と検索キーとが一致すると判断した場合(S14208にてYES)、処理はS14209へと移される。もしそうでないと(S14208にてNO)、処理はS14210へと移される。   In S14208, condition generation unit 112 acquires a search key from search key input unit 110. When the search key is acquired, the condition generation unit 112 displays a qualified character string (a character string to be subjected to character modification. In this step, the qualified character string includes the modified data acquired by the condition generation unit 112. It is determined whether or not the search key and the search key match. If it is determined that the qualified character string matches the search key (YES in S14208), the process proceeds to S14209. If not (NO in S14208), the process proceeds to S14210.

S14209にて、条件生成部112は、検索を禁止する旨の情報に、検索条件を変更する。   In S14209, the condition generation unit 112 changes the search condition to information indicating that the search is prohibited.

S14210にて、条件生成部112は、検索キーから修飾付き文字列までの距離が閾値以下であって検索キーと一致する範囲が修飾付き文字列の位置より前か否かを判断する。この「位置」は文書における修飾付き文字列の位置を意味する。「文書」は文書データが表わす文書を意味する。本実施の形態の場合、「検索キーから修飾付き文字列までの距離」とは、検索キーと一致する範囲から実際に文字列が修飾されている範囲までの間に存在する文字の個数に対応する距離を意味する。本実施の形態の場合、上述した閾値はゼロであることとする。これにより、条件生成部112は、検索キーと一致する範囲が修飾付き文字列の位置より前であって隣接しているか否かを判断することとなる。検索キーと一致する範囲が修飾付き文字列の位置より前であって隣接していると判断した場合には(S14210にてYES)、処理はS14212へと移される。もしそうでないと(S14210にてNO)、処理はS14214へと移される。S14212にて、条件生成部112は、S14202にて生成した検索条件より「前方一致」の検索を実施すべき旨の情報と「部分一致」の検索を実施すべき旨の情報とを削除する。   In S14210, condition generation unit 112 determines whether the distance from the search key to the qualified character string is equal to or less than the threshold and the range matching the search key is before the position of the qualified character string. This “position” means the position of the qualified character string in the document. “Document” means a document represented by document data. In this embodiment, “distance from search key to qualified character string” corresponds to the number of characters existing between the range that matches the search key and the range in which the character string is actually modified. It means the distance to be. In the case of this embodiment, it is assumed that the above-described threshold value is zero. Thereby, the condition generation unit 112 determines whether or not the range that matches the search key is adjacent to the position of the qualified character string. If it is determined that the range matching the search key is adjacent to the position of the qualified character string (YES in S14210), the process proceeds to S14212. If not (NO in S14210), the process proceeds to S14214. In S14212, the condition generation unit 112 deletes information indicating that a “forward match” search is to be performed and information indicating that a “partial match” search is to be performed from the search conditions generated in S14202.

S14214にて、条件生成部112は、検索キーから修飾付き文字列までの距離が閾値以下であって検索キーと一致する範囲が修飾付き文字列の位置より後ろか否かを判断する。この「位置」も文書における修飾付き文字列の位置を意味する。「文書」の意味も同様である。「検索キーから修飾付き文字列までの距離」の意味も同様である。これにより、条件生成部112は、検索キーと一致する範囲が修飾付き文字列の位置より後であって隣接しているか否かを判断することとなる。検索キーから修飾付き文字列までの距離が閾値以下であって検索キーと一致する範囲が修飾付き文字列の位置より後ろと判断した場合には(S14214にてYES)、処理はS14216へと移される。もしそうでないと(S14214にてNO)、処理はS14218へと移される。S14216にて、条件生成部112は、S14200にて生成した検索条件から「後方一致」の検索を実施すべき旨の情報と「部分一致」の検索を実施すべき旨の情報とを削除する。これにより、条件生成部112は、検索キーが修飾付き文字列の後にある場合、前方一致、完全一致、およびワイルドカード検索を検索の条件とするように、検索の条件を設定することとなる。   In S14214, condition generation unit 112 determines whether the distance from the search key to the qualified character string is equal to or smaller than the threshold and the range matching the search key is behind the position of the qualified character string. This “position” also means the position of the character string with modification in the document. The meaning of “document” is also the same. The meaning of “distance from search key to character string with modifier” is also the same. Thereby, the condition generation unit 112 determines whether or not the range that matches the search key is adjacent to the position of the character string with the modification. If it is determined that the distance from the search key to the qualified character string is equal to or smaller than the threshold and the range matching the search key is after the position of the qualified character string (YES in S14214), the process proceeds to S14216. It is. If not (NO in S14214), the process proceeds to S14218. In S14216, condition generation unit 112 deletes information indicating that a “backward match” search should be performed and information indicating that a “partial match” search should be performed from the search conditions generated in S14200. As a result, when the search key is after the qualified character string, the condition generation unit 112 sets the search condition so that the forward match, complete match, and wild card search are used as the search conditions.

S14218にて、条件生成部112は、検索キーが修飾付き文字列を含むか否かを判断する。修飾付き文字列を含むと判断した場合(S14218にてYES)、処理はS14220へと移される。もしそうでないと(S14218にてNO)、処理はS14222へと移される。S14220にて、条件生成部112は、S14200にて生成した検索条件より「ワイルドカード検索」を実施すべき旨の情報を削除する。   In S14218, condition generation unit 112 determines whether or not the search key includes a qualified character string. If it is determined that a character string with a modification is included (YES in S14218), the process proceeds to S14220. If not (NO in S14218), the process proceeds to S14222. In S14220, condition generation unit 112 deletes information indicating that “wild card search” should be performed from the search conditions generated in S14200.

S14222にて、条件生成部112は、まだ検索に利用されていない修飾データが存在するか否かを判断する。修飾データが存在すると判断した場合(S14222にてYES)、処理はS14224へと移される。もしそうでないと(S14222にてNO)、処理はS14226へと移される。S14224にて、条件生成部112は、修飾テーブルから次の修飾データを取得する。   In S14222, condition generation unit 112 determines whether there is modification data that has not yet been used for the search. If it is determined that there is decoration data (YES in S14222), the process proceeds to S14224. If not (NO in S14222), the process proceeds to S14226. In S14224, condition generation unit 112 acquires the next modification data from the modification table.

S14226にて、条件生成部112は、まだ検索に利用されていない修飾テーブルが存在するか否かを判断する。修飾テーブルが存在すると判断した場合には(S14226にてYES)、処理はS14228へと移される。もしそうでないと(S14226にてNO)、処理は終了する。S14228にて、条件生成部112は、次の修飾テーブルを取得する。   In S14226, condition generation unit 112 determines whether there is a modification table that is not yet used for the search. If it is determined that a modification table exists (YES in S14226), the process proceeds to S14228. If not (NO in S14226), the process ends. In S14228, condition generation unit 112 acquires the next modification table.

図7を参照して、情報検索装置100で実行されるプログラムは、説明文の表示に関し、以下のような制御を実行する。   Referring to FIG. 7, the program executed by information search apparatus 100 performs the following control regarding the display of the explanatory text.

S2204にて、表示用修飾テーブル生成部116は、説明用修飾テーブルを生成する。この処理は後述するS2400〜S2422の処理に該当する。S2206にて、作成部120は、説明用修飾テーブルに従って表示データを作成する。表示データが作成されると、説明部134は、表示データに従って説明を表示する。   In S2204, display modification table generating unit 116 generates an explanatory modification table. This process corresponds to the processes of S2400 to S2422 described later. In S2206, creation unit 120 creates display data according to the explanatory modification table. When the display data is created, the explanation unit 134 displays the explanation according to the display data.

S2208にて、表示用修飾テーブル生成部116は、説明データをすべて表示したか否かを判断する。説明データをすべて表示した場合(S2208にてYES)、処理は終了する。もしそうでないと(S2208にてNO)、処理はS2210へと移される。S2210にて、表示用修飾テーブル生成部116は次の説明データを取得する。   In S2208, display modification table generating unit 116 determines whether or not all the explanatory data has been displayed. If all the explanatory data is displayed (YES in S2208), the process ends. If not (NO in S2208), the process proceeds to S2210. In S2210, display modification table generating unit 116 acquires the following explanation data.

図8を参照して、表示用修飾テーブル生成部116で実行されるプログラムは、修飾テーブルの生成に関し、以下のような制御を実行する。   Referring to FIG. 8, the program executed by display modification table generating unit 116 performs the following control with respect to generation of the modification table.

S2400にて、表示用修飾テーブル生成部116は、データを取得する。取得されるデータは、作成しようとする修飾テーブルにより異なる。たとえば、説明用修飾テーブルを作成する場合、取得されるデータは、記憶部118に記憶された説明テーブルが含む、検索キーについての説明データである。   In S2400, display modification table generating unit 116 acquires data. The acquired data varies depending on the modification table to be created. For example, when creating the explanation modification table, the acquired data is explanation data about the search key included in the explanation table stored in the storage unit 118.

S2402にて、表示用修飾テーブル生成部116は、記憶部118を参照することにより、修飾テーブルが存在するか否かを判断する。修飾テーブルが存在すると判断した場合(S2402にてYES)、処理はS2404へと移される。もしそうでないと(S2402にてNO)、処理は終了する。S2404にて、表示用修飾テーブル生成部116は、1つ目の修飾テーブルを取得する。   In S2402, the display modification table generation unit 116 refers to the storage unit 118 to determine whether a modification table exists. If it is determined that the modification table exists (YES in S2402), the process proceeds to S2404. If not (NO in S2402), the process ends. In S2404, display modification table generating unit 116 acquires the first modification table.

S2406にて、表示用修飾テーブル生成部116は、修飾テーブルの中に取得された説明データが表わす文字列と同じ文字列が存在するか否かを判断する。同じ文字列が存在すると判断した場合(S2406にてYES)、処理はS2408へと移される。もしそうでないと(S2406にてNO)、処理はS2424へと移される。S2408にて、表示用修飾テーブル生成部116は、取得された説明データが表わす文字列に対応する修飾データを取得する。   In S2406, display modification table generating unit 116 determines whether or not the same character string as the character string represented by the acquired explanation data exists in the modification table. If it is determined that the same character string exists (YES in S2406), the process proceeds to S2408. If not (NO in S2406), the process proceeds to S2424. In S2408, display modification table generating unit 116 acquires modification data corresponding to the character string represented by the acquired description data.

S2410にて、表示用修飾テーブル生成部116は、修飾データが表わす修飾の種類がマスクか否かを判断する。修飾の種類がマスクと判断した場合(S2410にてYES)、処理はS2412へと移される。もしそうでないと(S2410にてNO)、処理はS2416へと移される。   In S2410, display modification table generating unit 116 determines whether or not the modification type represented by the modification data is a mask. If it is determined that the modification type is a mask (YES in S2410), the process proceeds to S2412. If not (NO in S2410), the process proceeds to S2416.

S2412にて、表示用修飾テーブル生成部116は、修飾データが表わす修飾の状態が「有」か否かを判断する。修飾の状態が「有」と判断した場合(S2412にてYES)、処理はS2414へと移される。もしそうでないと(S2412にてNO)、処理はS2416へと移される。S2414にて、表示用修飾テーブル生成部116は、作成中の修飾テーブルに新たな修飾データを登録する。   In S2412, display modification table generating unit 116 determines whether or not the modification state represented by the modification data is “present”. If it is determined that the decoration state is “present” (YES in S2412), the process proceeds to S2414. If not (NO in S2412), the process proceeds to S2416. In S2414, display modification table generating unit 116 registers new modification data in the modification table being created.

S2416にて、表示用修飾テーブル生成部116は、修飾データが表わす修飾の種類がテキストボックスか否かを判断する。修飾の種類がテキストボックスと判断した場合には(S2416にてYES)、処理はS2418へと移される。もしそうでないと(S2416にてNO)、処理はS2420へと移される。   In S2416, display modification table generating unit 116 determines whether or not the modification type represented by the modification data is a text box. If it is determined that the modification type is a text box (YES in S2416), the process proceeds to S2418. If not (NO in S2416), the process proceeds to S2420.

S2418にて、表示用修飾テーブル生成部116は、テキストボックスの中に文字が入力されていないか否かを判断する。文字が入力されていないと判断した場合には(S2418にてYES)、処理はS2420へと移される。もしそうでないと(S2418にてNO)、処理はS2414へと移される。   In S2418, display modification table generating unit 116 determines whether or not a character is input in the text box. If it is determined that no character has been input (YES in S2418), the process proceeds to S2420. If not (NO in S2418), the process proceeds to S2414.

S2420にて、表示用修飾テーブル生成部116は、まだ修飾データが存在するか否かを判断する。修飾データが存在すると判断した場合には(S2420にてYES)、処理はS2422へと移される。もしそうでないと(S2420にてNO)、処理はS2424へと移される。S2422にて、表示用修飾テーブル生成部116は、次の修飾データを取得する。   In S2420, display modification table generating unit 116 determines whether there is still modification data. If it is determined that there is decoration data (YES in S2420), the process proceeds to S2422. Otherwise (NO in S2420), the process proceeds to S2424. In S2422, the display modification table generating unit 116 acquires the next modification data.

S2424にて、表示用修飾テーブル生成部116は、記憶部118を参照することにより、まだ修飾テーブルが存在するか否かを判断する。修飾テーブルが存在すると判断した場合には(S2424にてYES)、処理はS2426へと移される。もしそうでないと(S2424にてNO)、処理は終了する。   In S2424, display modification table generating unit 116 refers to storage unit 118 to determine whether or not a modification table still exists. If it is determined that there is a modification table (YES in S2424), the process proceeds to S2426. If not (NO in S2424), the process ends.

S2426にて、表示用修飾テーブル生成部116は、次の修飾テーブルを取得する。
以上のような構造およびフローチャートに基づく、情報検索装置100の動作について説明する。
In S2426, display modification table generating unit 116 acquires the next modification table.
The operation of the information search apparatus 100 based on the structure and flowchart as described above will be described.

[マスクされた文字列の直前の文字列が検索キーと一致する場合]
マスクされた文字列の直前の文字列が検索キーと一致する場合の処理について説明する。
[When the character string immediately before the masked character string matches the search key]
A process when the character string immediately before the masked character string matches the search key will be described.

文書データ入力部102は、文書データを取得する。この場合、検索キーの内容は「徳川」とする。文書データ入力部102は、取得した文書データを、記憶部118に渡す(S200)。記憶部118は文書データを記憶する。本実施の形態の場合、文書データは、テキストデータテーブルと、説明テーブルとを含む。   The document data input unit 102 acquires document data. In this case, the content of the search key is “Tokugawa”. The document data input unit 102 passes the acquired document data to the storage unit 118 (S200). The storage unit 118 stores document data. In the case of the present embodiment, the document data includes a text data table and an explanation table.

図9は、テキストデータテーブルのデータ構造とデータの内容とを表わす図である。図9を参照して、テキストデータテーブルは、「データ位置」と、「データ種類」と、「XY位置」と、「データ」と、「修飾」と、「状態」とを含む。テキストデータテーブルは、「修飾」と「状態」とを含むことにより、「データ」が表わす文字列に対する文字修飾のデータを含むこととなる。   FIG. 9 shows the data structure of the text data table and the contents of the data. Referring to FIG. 9, the text data table includes “data position”, “data type”, “XY position”, “data”, “modification”, and “state”. By including “modification” and “state”, the text data table includes character modification data for the character string represented by “data”.

「データ位置」はテキストデータテーブルの中で「データ」を特定するための情報である。本実施の形態の場合、「データ位置」はテキストデータテーブルの先頭から何番目のデータに該当するかを表わすこととする。   “Data position” is information for specifying “data” in the text data table. In the case of the present embodiment, “data position” represents the number of data corresponding to the head of the text data table.

「データ種類」は「データ」が文字列データか画像データかを表わす情報である。本発明において、文字列データとは、文書を構成する文字列のデータである。本実施の形態の場合、「データ」が文字列データの場合、テキストデータテーブルは、「データ種類」として値「0」を含む。「データ」が画像データの場合、テキストデータテーブルは、「データ種類」として値「1」を含む。   “Data type” is information indicating whether “data” is character string data or image data. In the present invention, the character string data is data of a character string constituting a document. In the present embodiment, when “data” is character string data, the text data table includes a value “0” as “data type”. When “data” is image data, the text data table includes a value “1” as “data type”.

「XY位置」は、ディスプレイ142の画面におけるX座標とY座標との値の組を表わす情報である。本実施の形態の場合、ディスプレイ142の画面のX座標とY座標とは、画面の左上を原点とする。   The “XY position” is information representing a set of values of the X coordinate and the Y coordinate on the screen of the display 142. In the case of the present embodiment, the X coordinate and Y coordinate of the screen of the display 142 are set at the upper left corner of the screen.

「データ」は、文書を構成するデータである。「データの種類」の値が「0」の場合、テキストデータテーブルは、「データ」として文字列データを含む。「データの種類」の値が「1」の場合、テキストデータテーブルは、「データ」として画像データを含む。   “Data” is data constituting a document. When the value of “data type” is “0”, the text data table includes character string data as “data”. When the value of “data type” is “1”, the text data table includes image data as “data”.

「修飾」は、「データ」が表わす文字列に対する文字修飾の種類を表わすデータである。「データ」に対しマスクが行なわれる場合、テキストデータテーブルは、「修飾」として「マスク」という文字列のデータを含む。文書部130が「データ」に代えてユーザが指定した文字列を表示する場合、テキストデータテーブルは、「修飾」として「テキストボックス」という文字列のデータを含む。   “Modification” is data representing the type of character modification for the character string represented by “data”. When masking is performed on “data”, the text data table includes character string data “mask” as “modification”. When the document unit 130 displays a character string designated by the user instead of “data”, the text data table includes character string data “text box” as “modification”.

「状態」は、「データ」が表わす文字列に対する文字修飾の状態を表わすデータである。本実施の形態の場合、テキストデータテーブルが、「修飾」として「マスク」という文字列のデータを含み、かつ「状態」として「有」という文字列のデータを含むならば、「データ」が表わす文字列に対し、マスクが付される。本実施の形態の場合、テキストデータテーブルが、「修飾」として「マスク」という文字列のデータを含み、かつ「状態」として「なし」という文字列のデータを含むならば、「データ」が表わす文字列に対し、何ら修飾が付されない。   “State” is data representing the state of character modification for the character string represented by “data”. In the case of the present embodiment, if the text data table includes character string data “mask” as “modification” and character string data “present” as “state”, “data” represents. A mask is attached to the character string. In the case of the present embodiment, if the text data table includes character string data “mask” as “modification” and character string data “none” as “state”, “data” represents the data. No modification is added to the string.

本実施の形態の場合、テキストデータテーブルが、「修飾」として「テキストボックス」という文字列のデータを含み、かつ「状態」として何らかのデータが含まれていれば、「データ」に代え、「状態」として含まれるデータが表わす文字列などが表示される。本実施の形態の場合、「データ」が画像データの場合、テキストデータテーブルは、「修飾」として「ノン」という文字列(本実施の形態において「データ」に対する修飾が何らなされないことを表わす情報)を含む。ただし、このことは、「ノン」という文字列が必須の情報であることを意味するものではない。本実施の形態以外の実施の形態においては、「データ」が画像データの場合、テキストデータテーブルは、「修飾」として特段の情報を含まなくてもよい。   In the case of the present embodiment, if the text data table includes character string data “text box” as “modification” and some data is included as “state”, “state” is used instead of “data”. "Is displayed as a character string represented by the data included. In the case of this embodiment, when “data” is image data, the text data table has a character string “non” as “modification” (information indicating that no modification is made to “data” in this embodiment). )including. However, this does not mean that the character string “non” is essential information. In embodiments other than the present embodiment, when “data” is image data, the text data table may not include special information as “modification”.

文書データが取得されると、修飾テーブル生成部104は、テキストデータテーブルの一番目のデータを取得する(S250)。本実施の形態の場合、取得されるデータは、「データ位置」の値が「1」のデータである。データが取得されると、修飾テーブル生成部104は、修飾の種類すなわちテストデータテーブルにおける「修飾」の内容が「ノン」以外か否かを判断する(S252)。この場合、「修飾」の内容は「マスク」なので(S252にてYES)、修飾テーブル生成部104は、「修飾」に対応する修飾テーブルがあるか否かを判断する(S254)。この場合、修飾テーブルがないので(S254にてNO)、修飾テーブル生成部104は、修飾の種類「マスク」に対応する修飾テーブルを新規に生成する(S260)。   When the document data is acquired, the modification table generating unit 104 acquires the first data of the text data table (S250). In the case of the present embodiment, the acquired data is data having a “data position” value of “1”. When the data is acquired, the modification table generating unit 104 determines whether the modification type, that is, the content of “modification” in the test data table is other than “non” (S252). In this case, since the content of “modification” is “mask” (YES in S252), the modification table generating unit 104 determines whether there is a modification table corresponding to “modification” (S254). In this case, since there is no modification table (NO in S254), the modification table generating unit 104 newly generates a modification table corresponding to the modification type “mask” (S260).

修飾テーブルが生成されると、修飾テーブル生成部104は、その修飾テーブルにデータ位置などを登録する(S258)。S258およびS260の処理は、修飾テーブル生成部104が、テキストデータテーブルが含むデータを組み合わせることにより、修飾テーブルを、文字修飾の種類ごとに生成していることを表わす。データ位置などが登録されると、修飾テーブル生成部104はまだ修飾の種類を識別していないデータが存在するか否かを判断する(S262)。この場合、そのようなデータが存在するので(S262にてYES)、修飾テーブル生成部104は次のデータを取得する(S264)。データが取得されると、S252〜S264の処理が繰返される。   When the modification table is generated, the modification table generation unit 104 registers the data position and the like in the modification table (S258). The processes of S258 and S260 indicate that the modification table generation unit 104 generates a modification table for each type of character modification by combining data included in the text data table. When the data position and the like are registered, the modification table generating unit 104 determines whether there is data for which the modification type has not yet been identified (S262). In this case, since such data exists (YES in S262), the modification table generation unit 104 acquires the next data (S264). When data is acquired, the processing from S252 to S264 is repeated.

図10は、作成され、かつ記憶部118に記憶された修飾テーブルの内容を表わす図である。本実施の形態の場合、修飾テーブルは、「修飾」と「データ位置」と「データ種類」と「XY位置」と「データ」と「状態」とを含む。「修飾」〜「状態」は図9に示したテキストデータテーブルのものと同じである。「データ」が含まれているので、修飾テーブルは、文字列データを含むデータテーブルとなる。「データ」と「状態」とが含まれているので、修飾テーブルが含むデータが表わす文字列は、文字修飾の対象となる文字列となる。   FIG. 10 is a diagram showing the contents of the modification table created and stored in the storage unit 118. In the case of the present embodiment, the modification table includes “modification”, “data position”, “data type”, “XY position”, “data”, and “state”. “Modification” to “State” are the same as those in the text data table shown in FIG. Since “data” is included, the decoration table is a data table including character string data. Since “data” and “state” are included, the character string represented by the data included in the modification table is a character string to be subjected to character modification.

修飾テーブルが生成されると、作成部120は表示データを作成する(S204)。表示データが作成されると、文書部130は表示データの内容を表示する(S206)。これにより、文書部130は、テキストデータテーブルに基づき、文書を表示することとなる。   When the modification table is generated, the creation unit 120 creates display data (S204). When the display data is created, the document unit 130 displays the contents of the display data (S206). Thereby, the document unit 130 displays the document based on the text data table.

表示データが表示されると、操作部108は、ユーザの操作(検索の要求を除く)があったか否かを判断する(S208)。この場合、検索の要求があったとすると(S208にてNO)、操作部108は、検索の要求があったか否かを判断する(S212)。この場合、検索の要求があったと判断されるので(S212にてYES)、検索キー入力部110は、ユーザの操作に基づいて、ユーザが文書の中から検索しようとする文字列である検索キーを検出する(S1400)。検索キーが取得されると、条件生成部112は検索条件を初期化する(S14200)。検索条件が初期化されると、条件生成部112は修飾テーブルが存在するか否かを判断する(S14202)。この場合、修飾テーブルが存在するので(S14202にてYES)、条件生成部112は1つ目の修飾テーブルを取得する(S14204)。修飾テーブルが取得されると、条件生成部112は1つ目の修飾データを取得する(S14206)。この場合、1つ目の修飾テーブルは「修飾」の内容が「マスク」のものである。1つ目の修飾データは「データ位置」の値が「1」の修飾データである。修飾データが取得されると、条件生成部112は、修飾付き文字列(文字修飾の対象となる文字列)と検索キーとが一致するか否かを判断する(S14208)。この場合、検索キーの内容が「徳川」であって修飾付き文字列の内容が「ABC」である。その結果、修飾付き文字列と検索キーとが一致しないので(S14208にてNO)、条件生成部112は、検索キーと一致する範囲が修飾付き文字列の位置より前であって隣接しているか否かを判断する(S14210)。この場合、修飾付き文字列は、検索キー「徳川」と隣接していないので(S14210にてNO)、条件生成部112は、検索キーと一致する範囲が修飾付き文字列の位置より後であって隣接しているか否かを判断する(S14214)。この場合、修飾付き文字列は、検索キー「徳川」と隣接していないので(S14214にてNO)、条件生成部112は、検索キーが修飾付き文字列を含むか否かを判断する(S14218)。この場合、検索キーが修飾付き文字列を含まないので(S14218にてNO)、条件生成部112は、まだ検索に利用されていない修飾データが存在するか否かを判断する(S14222)。この場合、まだ修飾データが存在するので(S14222にてYES)、条件生成部112は、次の修飾データを取得する(S14224)。   When the display data is displayed, the operation unit 108 determines whether a user operation (excluding a search request) has been performed (S208). In this case, if there is a search request (NO in S208), operation unit 108 determines whether there is a search request (S212). In this case, since it is determined that a search request has been made (YES in S212), search key input unit 110 is a search key that is a character string that the user wants to search from a document based on the user's operation. Is detected (S1400). When the search key is acquired, the condition generation unit 112 initializes the search condition (S14200). When the search condition is initialized, the condition generation unit 112 determines whether a modification table exists (S14202). In this case, since the modification table exists (YES in S14202), the condition generation unit 112 acquires the first modification table (S14204). When the modification table is acquired, the condition generation unit 112 acquires the first modification data (S14206). In this case, in the first modification table, the content of “modification” is “mask”. The first modification data is modification data whose “data position” value is “1”. When the modification data is acquired, the condition generation unit 112 determines whether or not the character string with modification (character string subject to character modification) matches the search key (S14208). In this case, the content of the search key is “Tokugawa” and the content of the character string with the modifier is “ABC”. As a result, since the qualified character string does not match the search key (NO in S14208), condition generation unit 112 determines whether the range that matches the search key is adjacent to the position of the qualified character string. It is determined whether or not (S14210). In this case, since the qualified character string is not adjacent to the search key “Tokugawa” (NO in S14210), the condition generation unit 112 has a range that matches the search key after the position of the qualified character string. It is determined whether or not they are adjacent to each other (S14214). In this case, the qualified character string is not adjacent to the search key “Tokugawa” (NO in S14214), and therefore the condition generation unit 112 determines whether or not the search key includes a qualified character string (S14218). ). In this case, since the search key does not include a character string with modification (NO in S14218), condition generation unit 112 determines whether there is modification data that has not yet been used for search (S14222). In this case, since the modification data still exists (YES in S14222), the condition generation unit 112 acquires the next modification data (S14224).

修飾データが取得されると、S14208〜S14224の処理が繰返される。処理が繰返された後、「データ」の内容が「家康」である修飾データが取得されると、条件生成部112は、検索キーと一致する範囲が修飾付き文字列の位置より前であって隣接しているか否かを判断する(S14210)。これにより、条件生成部112は、検索キーから修飾付き文字列までの距離が閾値以下であって検索キーが文書において修飾付き文字列の前にあるか否かを判断することとなる。この「文書」は文書データが表わす文書を意味する。この場合、検索キーと一致する範囲が修飾付き文字列の位置より前であって隣接しているので(S14210にてYES)、条件生成部112は、検索条件より「前方一致」の検索を実施すべき旨の情報と「部分一致」の検索を実施すべき旨の情報とを実施すべき旨の情報を削除する(S14212)。これにより、条件生成部112は、検索キーが文字修飾の対象となる文字列の前にある場合、後方一致、完全一致、およびワイルドカード検索を検索の条件とするように、検索の条件を設定することとなる。S14208〜S14212の処理により、条件生成部112は、検索に対する制約を設定することとなる。本実施の形態の場合、条件生成部112は、修飾付き文字列に対する検索キーの文書における位置に応じて、検索に対する制約として、検索の条件を設定することとなる。なお、「文書」は、文書データが表わす文書を意味する。   When the decoration data is acquired, the processes of S14208 to S14224 are repeated. After the process is repeated, when the modification data whose content of “data” is “Ieyasu” is acquired, the condition generation unit 112 determines that the range matching the search key is before the position of the qualified character string. It is determined whether or not they are adjacent (S14210). Thereby, the condition generation unit 112 determines whether or not the distance from the search key to the qualified character string is equal to or smaller than the threshold value and the search key is in front of the qualified character string in the document. This “document” means a document represented by document data. In this case, since the range that matches the search key is adjacent to the position of the qualified character string (YES in S14210), condition generation unit 112 performs a search for “forward match” from the search condition. The information indicating that the information indicating that the search should be performed and the information indicating that the “partial match” search should be performed are deleted (S14212). Thereby, the condition generation unit 112 sets the search condition so that the search condition is a backward match, complete match, and wildcard search when the search key is in front of the character string to be character-modified. Will be. By the processing of S14208 to S14212, the condition generation unit 112 sets a restriction on the search. In the case of the present embodiment, the condition generation unit 112 sets a search condition as a restriction on the search according to the position of the search key in the document with respect to the qualified character string. “Document” means a document represented by document data.

情報が削除されると、S14222〜S14224の処理を経て、S14208〜S14224の処理が繰返される。その後、まだ検索に利用されていない修飾データが存在しなくなると(S14222にてNO)、条件生成部112はまだ検索に利用されていない修飾テーブルが存在するか否かを判断する(S14226)。この場合、「修飾」が「テキストボックス」である修飾テーブルが存在するので(S14226にてYES)、条件生成部112は次の修飾テーブルを取得する(S14228)。修飾テーブルが取得されると、S14208〜S14224の処理が繰返される。その後、再び検索に利用されていない修飾テーブルが存在するか否か判断される(S14226)。この場合、そのような修飾テーブルは存在しないので(S14226にてNO)、処理部114は検索を実行する(S1404)。これにより、処理部114は、検索キー入力部110が検索キーを検出すれば、条件生成部112が設定した検索に対する制約(本実施の形態の場合、「検索に対する制約」とは検索の条件のこと)に従って、テキストデータテーブルの中から、検索キーを含む文字列を検索することとなる。   When the information is deleted, the processing of S14208 to S14224 is repeated through the processing of S14222 to S14224. Thereafter, when there is no modification data that is not yet used for search (NO in S14222), condition generation unit 112 determines whether there is a modification table that is not yet used for search (S14226). In this case, since there is a modification table whose “modification” is “text box” (YES in S14226), condition generation unit 112 acquires the next modification table (S14228). When the modification table is acquired, the processes of S14208 to S14224 are repeated. Thereafter, it is determined again whether there is a modification table that is not used for the search (S14226). In this case, since there is no such modification table (NO in S14226), processing unit 114 executes a search (S1404). As a result, when the search key input unit 110 detects the search key, the processing unit 114 restricts the search set by the condition generation unit 112 (in this embodiment, “restriction for search” is the search condition). The character string including the search key is searched from the text data table.

検索が実行されると、作成部120は検索結果があるか否かを判断する(S216)。この場合、検索結果があるので(S216にてYES)、作成部120は検索の結果を表わす表示データを作成する。結果部132は、作成部120が作成した表示データに基づき、検索の結果(検索キーを含む文字列)を表示する(S218)。検索の結果が表示されると、操作部108は説明文の表示の要求があったか否かを判断する(S220)。この場合、そのような要求はなかったとすると(S220にてNO)、操作部108は検索を終了するか否かを判断する(S224)。この場合、検索を終了するとすると(S224にてYES)、処理は終了する。図11は、S228にて検索の結果が表示されたディスプレイ142の画面を表わす図である。テキストデータテーブルの図示されていない部分に「徳川」のみからなる文字列があるため、「徳川」が表示されている。   When the search is executed, the creation unit 120 determines whether there is a search result (S216). In this case, since there is a search result (YES in S216), creation unit 120 creates display data representing the search result. The result unit 132 displays the search result (character string including the search key) based on the display data created by the creation unit 120 (S218). When the search result is displayed, the operation unit 108 determines whether or not there is a request to display an explanatory text (S220). In this case, if there is no such request (NO in S220), operation unit 108 determines whether or not to end the search (S224). In this case, when the search ends (YES in S224), the process ends. FIG. 11 is a diagram showing a screen of display 142 on which the search result is displayed in S228. Since there is a character string consisting only of “Tokugawa” in a portion of the text data table not shown, “Tokugawa” is displayed.

[検索結果が見つからない場合]
検索結果が見つからない場合の処理について説明する。
[If no search results are found]
Processing when the search result is not found will be described.

処理部114が検索を実行した後(S1404)、作成部120は検索結果があるか否かを判断する(S216)。この場合、検索結果がないので(S216にてNO)、作成部120は検索結果が見つからない旨の表示データを作成する。結果部132は検索結果が見つからない旨を表示する(S226)。図12は、修飾が施されていない単語に検索キーと一致する文字列が含まれなかった場合のディスプレイ142の画面を表わす図である。   After the processing unit 114 executes the search (S1404), the creation unit 120 determines whether there is a search result (S216). In this case, since there is no search result (NO in S216), creation unit 120 creates display data indicating that the search result is not found. The result unit 132 displays that the search result is not found (S226). FIG. 12 is a diagram showing a screen of display 142 when a character string that matches the search key is not included in an unmodified word.

[マスクされた文字を含む文字列のみが検索キーと一致する場合]
マスクされた文字を含む文字列が検索キーと一致する場合の処理について説明する。
[When only the character string including the masked character matches the search key]
Processing when a character string including a masked character matches a search key will be described.

検索キーとして「日米和親条約」のうち「和親」の部分がマスクされた文字列が指定された場合、S200〜S14206の処理を経た後、S14208〜S14224の処理が繰返される。その後、S14208にて取得された修飾付き文字列が「日米和親条約」、「日米通商航海条約」、「日米修好通商条約」、あるいは「日米安全保障条約」などであれば、S14208〜S14214の処理を経て、条件生成部112は、検索キーが修飾付き文字列を含むか否かを判断する(S14218)。検索キーが修飾付き文字列を含むと判断されるので(S14218にてYES)、条件生成部112は検索条件より「ワイルドカード検索」を実施すべき旨の情報を削除する(S14220)。これにより、検索キーが修飾付き文字列を含む場合、条件生成部112は、前方一致、後方一致、部分一致、および完全一致を検索の条件とするように、検索の条件を設定することとなる。   When a character string in which the “Japanese parent” part of the “Japan-US US-Japan Treaty” is masked is designated as the search key, the processing of S14208 to S14224 is repeated after the processing of S200 to S14206. After that, if the qualified character string acquired in S14208 is “Japan-US Treaty of Peace”, “Japan-US Trade Treaty”, “Japan-US Good Trade Treaty”, or “Japan-US Security Treaty”, etc., Through the processing of S14208 to S14214, the condition generation unit 112 determines whether or not the search key includes a qualified character string (S14218). Since it is determined that the search key includes a qualified character string (YES in S14218), condition generation unit 112 deletes information indicating that “wild card search” should be performed from the search condition (S14220). Thereby, when the search key includes a character string with a modification, the condition generation unit 112 sets the search condition so that the search condition is a forward match, a backward match, a partial match, and a complete match. .

その後、S14222〜S14224、およびS14208〜S14228の処理が繰返された後、処理部114は検索を実行する(S1404)。検索が実行されると、作成部120は検索結果があるか否かを判断する(S216)。この場合、検索結果が見つからないこととなるので(S216にてNO)、作成部120は検索結果が見つからない旨の表示データを作成する。結果部132は検索結果が見付からない旨を表示する(S226)。図13は、検索キーとして、「日米和親条約」を選択した場合のディスプレイ142の画面を表わす図である。図14は、検索キーとして「日米和親条約」を選択した結果、修飾が施された文字以外検索キーに一致する単語が見付からなかった場合のディスプレイ142の画面を表わす図である。図15は、従来の情報検索装置の検索の結果を表示している場合のディスプレイの画面を表わす図である。   Thereafter, after the processes of S14222 to S14224 and S14208 to S14228 are repeated, the processing unit 114 executes a search (S1404). When the search is executed, the creation unit 120 determines whether there is a search result (S216). In this case, since the search result is not found (NO in S216), creation unit 120 creates display data indicating that the search result is not found. The result part 132 displays that the search result is not found (S226). FIG. 13 is a diagram showing a screen of display 142 when “Japan-US Treaty of Peace” is selected as a search key. FIG. 14 is a diagram showing the screen of the display 142 when a word matching the search key is not found other than the modified characters as a result of selecting “Japan-US Treaty of Peace” as the search key. FIG. 15 is a diagram showing a display screen when a search result of a conventional information search apparatus is displayed.

[説明文を表示させる場合]
説明文を表示させる場合であって、文書データ中においてマスクされた文字列と同じ文字列がその説明文に含まれる場合の処理について説明する。
[When displaying explanatory text]
A description will be given of processing in a case where an explanatory text is displayed, and the same text string as the masked text string is included in the text data.

図16は、本実施の形態に係る説明テーブルの内容を表わす図である。本実施の形態において、「説明テーブル」とは、単語についての説明文を表わす説明文データのデータテーブルである。記憶部118は、テキストデータテーブルと共に、説明テーブルを記憶する。図16の「データ」欄には、説明文データの一部が示されているが、実際の説明文データは図16に示した説明文のみを表わすデータではない。   FIG. 16 is a diagram showing the contents of the explanation table according to the present embodiment. In the present embodiment, the “explanation table” is a data table of explanatory text data representing an explanatory text about a word. The storage unit 118 stores an explanation table together with the text data table. Although a part of the explanatory text data is shown in the “data” column of FIG. 16, the actual explanatory text data is not data representing only the explanatory text shown in FIG.

検索キーとして「関が原」が指定された場合、S200〜S218の処理を経た後、操作部108は、説明文の表示の要求があったか否かを判断する(S220)。これにより、操作部108は、ユーザの操作に基づいて、ユーザが説明文の表示を希望している単語を検出することとなる。この場合、操作部108は、説明文の表示の要求があったと判断するので(S220にてYES)、表示用修飾テーブル生成部116は記憶部118に記憶された説明テーブルより、検索キーについての説明データを取得する(S2400)。説明データが取得されると、表示用修飾テーブル生成部116は修飾テーブルが存在するか否かを判断する(S2402)。この場合、修飾テーブルが存在するとすると(S2402にてYES)、表示用修飾テーブル生成部116は1つ目の修飾テーブルを取得する(S2404)。修飾テーブルが取得されると、表示用修飾テーブル生成部116は修飾テーブル中に取得された説明データが表わす文字列と同じ文字列が存在するか否かを判断する(S2406)。この場合、そのような文字列が存在するので(S2406にてYES)、表示用修飾テーブル生成部116は取得された文字列に対応する修飾データを取得する(S2408)。   When “Sekigahara” is designated as the search key, after the processing of S200 to S218, the operation unit 108 determines whether or not there is a request for display of the explanatory text (S220). Thereby, the operation unit 108 detects a word that the user desires to display the explanatory text based on the user's operation. In this case, since operation unit 108 determines that there is a request for display of an explanatory note (YES in S220), display modification table generation unit 116 uses the explanation table stored in storage unit 118 to search for the search key. Explanation data is acquired (S2400). When the explanation data is acquired, the display modification table generating unit 116 determines whether or not a modification table exists (S2402). In this case, if there is a modification table (YES in S2402), display modification table generating unit 116 acquires the first modification table (S2404). When the modification table is acquired, the display modification table generating unit 116 determines whether or not the same character string as the character string represented by the acquired explanation data exists in the modification table (S2406). In this case, since such a character string exists (YES in S2406), display modification table generating unit 116 acquires modification data corresponding to the acquired character string (S2408).

修飾データが取得されると、表示用修飾テーブル生成部116は「修飾」が「マスク」か否かを判断する(S2410)。この場合、「修飾」が「マスク」とすると(S2410にてYES)、表示用修飾テーブル生成部116は「状態」が「有」か否かを判断する(S2412)。この場合、「状態」が「有」とすると(S2412にてYES)、表示用修飾テーブル生成部116は作成中の修飾テーブル(この場合は説明用修飾テーブル)に修飾データを登録する(S2414)。これにより、表示用修飾テーブル生成部116は、説明用修飾テーブルを生成することとなる。本実施の形態の場合、説明用修飾テーブルは、説明文データのうち、特定説明文を表わすデータについて、修飾テーブルのデータが表わす文字列と同じ文字列が、修飾テーブルのデータが表わす文字列と同じ文字修飾の対象となるように、生成される。本実施の形態において、「説明用修飾テーブル」とは、特定説明文を構成する文字列についての文字修飾のデータからなる、データテーブルのことである。「特定説明文」とは、ユーザが説明文の表示を希望する単語についての説明文のことである。本実施の形態の場合、説明用修飾テーブルの構造は修飾テーブルの構造と同じである。このため説明用修飾テーブルについての説明はここでは繰返さない。   When the modification data is acquired, the display modification table generating unit 116 determines whether “modification” is “mask” (S2410). In this case, if “modification” is set to “mask” (YES in S2410), display modification table generating unit 116 determines whether “status” is “present” (S2412). In this case, if the “state” is “present” (YES in S2412), the display modification table generating unit 116 registers the modification data in the modification table being created (in this case, the modification table for explanation) (S2414). . As a result, the display modification table generating unit 116 generates an explanation modification table. In the case of the present embodiment, the explanatory modification table is the same as the character string represented by the data in the modification table, the character string represented by the data in the modification table, for the data representing the specific explanatory text in the explanatory text data. It is generated so as to be subject to the same character modification. In the present embodiment, the “description modification table” is a data table composed of character modification data for a character string constituting a specific description. The “specific explanation” is an explanation about a word that the user desires to display an explanation. In the case of this embodiment, the structure of the explanatory modification table is the same as the structure of the modification table. Therefore, the description of the explanation modification table will not be repeated here.

修飾データが登録されると、表示用修飾テーブル生成部116はまだ修飾データが存在するか否かを判断する(S2420)。この場合、まだ修飾データが存在するので(S2420にてYES)、表示用修飾テーブル生成部116は次の修飾データを取得する(S2422)。   When the modification data is registered, the display modification table generating unit 116 determines whether the modification data still exists (S2420). In this case, since the modification data still exists (YES in S2420), display modification table generation unit 116 acquires the next modification data (S2422).

修飾データが取得されると、S2410〜S2422の処理が繰返される。その後、修飾データが存在しなくなるので(S2420にてNO)、表示用修飾テーブル生成部116はまだ修飾テーブルが存在するか否かを判断する(S2424)。この場合、まだ修飾テーブルが存在するので(S2424にてYES)、表示用修飾テーブル生成部116は次の修飾テーブルを取得する(S2426)。修飾テーブルが取得されると、S2406とS2408との処理を経て、S2410〜S2422の処理が繰返される。その後、表示用修飾テーブル生成部116はまだ修飾テーブルが存在するか否かを判断する(S2424)。この場合、修飾テーブルが存在しないとすると(S2424にてNO)、作成部120は説明用修飾テーブルに従って表示データを作成する。表示データが作成されると、説明部134は作成部120が作成した表示データに従って説明文を表示する(S2206)。これにより、説明部134は、説明用修飾テーブルが含むデータの内容に従って、特定説明文を表示することとなる。   When the modification data is acquired, the processes of S2410 to S2422 are repeated. After that, since there is no modification data (NO in S2420), the display modification table generating unit 116 determines whether there is still a modification table (S2424). In this case, since the modification table still exists (YES in S2424), the display modification table generating unit 116 acquires the next modification table (S2426). When the modification table is acquired, the processes of S2410 to S2422 are repeated through the processes of S2406 and S2408. After that, the display modification table generating unit 116 determines whether there is still a modification table (S2424). In this case, if there is no modification table (NO in S2424), creation unit 120 creates display data according to the description modification table. When the display data is created, the explanation unit 134 displays an explanatory text according to the display data created by the creation unit 120 (S2206). Thus, the explanation unit 134 displays the specific explanation according to the content of the data included in the explanation modification table.

説明文が表示されると作成部120は説明データをすべて表示したか否かを判断する(S2208)。説明データをすべて表示したとすると(S2208にてYES)、操作部108は検索を終了するか否かを判断する(S224)。図17は、説明文の表示があった場合のディスプレイ142の画面を表わす図である。説明文にも文書と同様の修飾が施されている。   When the explanatory text is displayed, the creating unit 120 determines whether all the explanatory data is displayed (S2208). If all the explanation data is displayed (YES in S2208), operation unit 108 determines whether or not to end the search (S224). FIG. 17 is a diagram showing a screen of display 142 when an explanatory text is displayed. The description is also modified in the same way as the document.

以上のようにして、本実施の形態に係る情報検索装置は、表示されている文書の内容に応じて、検索を行なう際の条件や検索の結果の表示に制限を加えることにより、ユーザの意図しない内容の表示を防ぐことができる。ユーザの意図しない内容の表示を防ぐことができるので、学習の用途に適した情報検索装置を提供することができる。   As described above, the information search apparatus according to the present embodiment limits the display of the search conditions and search results according to the contents of the displayed document, thereby Display of content that is not performed can be prevented. Since it is possible to prevent display of contents not intended by the user, it is possible to provide an information search apparatus suitable for the purpose of learning.

なお、テキストデータテーブルには、「XY位置」に代えて、「バイト位置」を含んでもよい。「バイト位置」とはテキストデータテーブルが表わす文書のうち「データ」が表わすデータの位置をバイト数によって表わす情報を含む。図18は、「XY位置」に代えて「バイト位置」が含まれる場合のテキストデータテーブルの構造を表わす図である。   The text data table may include “byte position” instead of “XY position”. The “byte position” includes information indicating the position of data represented by “data” in the document represented by the text data table by the number of bytes. FIG. 18 is a diagram illustrating the structure of the text data table when “byte position” is included instead of “XY position”.

また、情報検索装置100の各装置同士におけるデータのやりとりは、バス158を介して行う以外にも、通信ケーブルや無線通信装置などデータを送受信できるものを介して行ってもよい。また、情報検索装置100の各装置としては、CPU140に限らず、DSP(Digital Signal Processor)や処理手順が回路としてみ込まれているロジック回路などにより実現されてもよい。   Further, data exchange between the devices of the information search device 100 may be performed not only via the bus 158 but also via a communication cable or a wireless communication device that can transmit and receive data. Each device of the information search device 100 is not limited to the CPU 140, and may be realized by a DSP (Digital Signal Processor) or a logic circuit in which a processing procedure is taken as a circuit.

また、情報検索装置100を具体的に実現するハードウェアは、マウス148、タブレット152、およびキーボード150に加え、マイクによる音声入力やボタンによる指示など、様々な入力装置を使用してもよい。   In addition to the mouse 148, the tablet 152, and the keyboard 150, hardware that specifically implements the information search apparatus 100 may use various input devices such as voice input using a microphone and instructions using buttons.

また、スピーカ154は、音声信号ではなく、単なるオン、オフの制御信号だけを受信し、予め決まっている音声を出力する装置であってもよい。   The speaker 154 may be a device that receives only a control signal of on / off, not a sound signal, and outputs a predetermined sound.

また、主記憶装置144は、CPU140内部に含まれるメモリやレジスタなどであってもよい。   Further, the main storage device 144 may be a memory or a register included in the CPU 140.

また、外部記憶装置146は、他のネットワーク機器に取付けられた装置であってもよい。この段落における「他のネットワーク機器」とは、CPU140とネットワークを介して有線または無線で接続された機器のことである。   The external storage device 146 may be a device attached to another network device. The “other network device” in this paragraph is a device connected to the CPU 140 via a network in a wired or wireless manner.

また、作成部120は、S220にて説明文の表示の要求があったと判断された場合、特定説明文のうちいずれかの部分を表わす文字列が、修飾テーブルのデータが表わす文字列と同じか否かを判断してもよい。「特定説明文」とは、ユーザが説明文の表示を希望する単語についての説明文である。このような判断をする場合、作成部120は、特定説明文のうちいずれかの部分を表わす文字列が、修飾テーブルのデータが表わす文字列と同じならば、特定説明文の表示が禁止されている旨の表示データを作成してもよい。説明文の表示データに代え、このような表示データが作成されることにより、作成部120は、特定説明文のうちいずれかの部分を表わす文字列が、修飾テーブルのデータが表わす文字列と同じ場合、特定説明文の表示を禁止するような制約を設定することになる。説明部134は、表示データが表わす情報を表示するので、操作部108が単語を検出すると、特定説明文の表示を禁止するような制約がある場合を除き、特定説明文を表示することとなる。   If it is determined in S220 that a description text display request has been made, the creation unit 120 determines whether the character string representing any part of the specific explanation text is the same as the character string represented by the data in the modification table. It may be determined whether or not. The “specific explanation” is an explanation about a word that the user desires to display the explanation. When making such a determination, the creation unit 120 prohibits the display of the specific explanatory text if the character string representing any part of the specific explanatory text is the same as the character string expressed by the data in the modification table. Display data to the effect may be created. By creating such display data in place of the display data of the explanatory text, the creating unit 120 causes the character string representing any part of the specific explanatory text to be the same as the character string represented by the data of the modification table In this case, a restriction that prohibits the display of the specific explanatory text is set. Since the description unit 134 displays information represented by the display data, when the operation unit 108 detects a word, the specific description is displayed unless there is a restriction that prohibits the display of the specific description. .

また、テキストデータテーブルは、「XY位置」に代え、「文書の先頭からの相対位置」を含んでもよい。「文書の先頭からの相対位置」とは、文書データが表わす文書を1枚の紙に印刷したときの、文書を構成する各文字の位置のことである。文書を1枚の紙に印刷したときの行数や1行あたりの文字数は特に限定されない。「文書の先頭からの相対位置」の原点の定め方も特に限定されない。ただし、原点の定め方の一例には、文書を構成する文字のうち最初の文字が占める位置を原点とする定め方が含まれる。   Further, the text data table may include “relative position from the beginning of the document” instead of “XY position”. The “relative position from the beginning of the document” is the position of each character constituting the document when the document represented by the document data is printed on one sheet of paper. The number of lines and the number of characters per line when the document is printed on one sheet of paper are not particularly limited. The method of determining the origin of “relative position from the beginning of the document” is not particularly limited. However, an example of how to determine the origin includes a method in which the origin occupies the position occupied by the first character among the characters constituting the document.

また、S14210およびS14214にて、「検索キーから修飾付き文字列までの距離」は、検索キーと一致する範囲から実際に文字列が修飾されている範囲までの間に存在する形態素の個数であってもよい。なお、「形態素」とは、言語において意味を持つ最小単位を意味する。条件生成部112は、形態素解析を実施することにより、形態素の個数を特定することができる。形態素解析の具体的な方法は周知であるので、ここではその詳細な説明は繰返さない。   In S14210 and S14214, the “distance from the search key to the qualified character string” is the number of morphemes that exist between the range that matches the search key and the range in which the character string is actually modified. May be. Note that “morpheme” means the smallest unit that has meaning in a language. The condition generation unit 112 can specify the number of morphemes by performing morpheme analysis. Since a specific method of morphological analysis is well known, detailed description thereof will not be repeated here.

<第2の実施の形態>
以下、本発明の第2の実施の形態に係る情報検索装置について説明する。
<Second Embodiment>
Hereinafter, an information search apparatus according to the second embodiment of the present invention will be described.

本実施の形態に係る情報検索装置のハードウェア構成については前述の第1の実施の形態と同じである。それらについての機能も同じである。したがって、それらについての詳細な説明はここでは繰返さない。   The hardware configuration of the information search apparatus according to the present embodiment is the same as that of the first embodiment described above. The function about them is the same. Therefore, detailed description thereof will not be repeated here.

図19を参照して、情報検索装置100で実行されるプログラムは、検索条件の生成に関し、以下のような制御を実行する。なお、図19に示すフローチャートの中で、前述の図6に示した処理は同じステップ番号を付してある。それらの処理も同じである。したがって、それらについての詳細な説明はここでは繰返さない。   Referring to FIG. 19, the program executed by information search device 100 performs the following control regarding generation of search conditions. In the flowchart shown in FIG. 19, the same step numbers are assigned to the processes shown in FIG. These processes are the same. Therefore, detailed description thereof will not be repeated here.

S14230にて、条件生成部112は、修飾付き文字列が検索キーを含むか否かを判断する。検索キーを含むと判断した場合(S14230にてYES)、処理はS14234へと移される。もしそうでないと(S14230にてNO)、処理はS14232へと移される。   In S14230, condition generation unit 112 determines whether or not the qualified character string includes a search key. If it is determined that the search key is included (YES in S14230), the process proceeds to S14234. If not (NO in S14230), the process proceeds to S14232.

S14232にて、条件生成部112は、検索キーが修飾付き文字列を含むか否かを判断する。修飾付き文字列を含むと判断した場合(S14232にてYES)、処理はS14234へと移される。もしそうでないと(S14232にてNO)、処理はS14222へと移される。S14234にて、条件生成部112は、検索を禁止する旨の情報に、検索条件を変更する。   In S14232, condition generation unit 112 determines whether or not the search key includes a qualified character string. If it is determined that a character string with a modification is included (YES in S14232), the process proceeds to S14234. If not (NO in S14232), the process proceeds to S14222. In S14234, condition generation unit 112 changes the search condition to information indicating that the search is prohibited.

以上のような構造およびフローチャートに基づく、情報検索装置100の動作について説明する。   The operation of the information search apparatus 100 based on the structure and flowchart as described above will be described.

検索キーとして「徳川」が選択されたこととする。S14204までの処理を経て、条件生成部112は1つ目の修飾データを取得する(S14206)。修飾データが取得されると、条件生成部112は、修飾付き文字列が検索キーを含むか否かを判断する(S14230)。この場合、修飾付き文字列が検索キーを含まないとすると(S14230にてNO)、条件生成部112は検索キーが修飾付き文字列を含むか否かを判断する(S14232)。検索キーが修飾付き文字列を含まないとすると(S14232にてNO)、S14222〜S14224の処理を経て、S14230〜S14224の処理が繰返される。その後、修飾付き文字列が「徳川家康」の場合、条件生成部112は修飾付き文字列が検索キーを含むと判断するので(S14230にてYES)、条件生成部112は、検索条件を検索条件の禁止を表わす旨に変更する(S14234)。これにより、条件生成部112は、修飾付き文字列の少なくとも一部と、検索キーの少なくとも一部とが一致すると、検索を禁止するような制約を設定することとなる。本実施の形態おいて、「修飾付き文字列の少なくとも一部と、検索キーの少なくとも一部とが一致する」とは、修飾付き文字列が検索キーを含む場合、および検索キーが文字修飾の対象となる文字列を含む場合のいずれかに該当することである。   It is assumed that “Tokugawa” is selected as a search key. Through the processing up to S14204, the condition generation unit 112 acquires the first modification data (S14206). When the modification data is acquired, the condition generation unit 112 determines whether the qualified character string includes a search key (S14230). In this case, if the qualified character string does not include the search key (NO in S14230), condition generation unit 112 determines whether or not the search key includes the qualified character string (S14232). If the search key does not include a qualified character string (NO in S14232), the processes of S14230 to S14224 are repeated through the processes of S14222 to S14224. Thereafter, when the qualified character string is “Ieyasu Tokugawa”, condition generating unit 112 determines that the qualified character string includes the search key (YES in S14230), and therefore condition generating unit 112 sets the search condition as the search condition. (S14234). Thus, the condition generation unit 112 sets a restriction that prohibits the search when at least a part of the qualified character string matches at least a part of the search key. In the present embodiment, “at least a part of the qualified character string and at least a part of the search key match” means that the qualified character string includes the search key, and the search key is character-modified. It corresponds to one of cases where the target character string is included.

検索条件が変更されると、処理部114は検索を実行する(S1404)。この場合、検索条件が検索を禁止する旨となった情報なので、処理部114は実際の検索を行なわない。このようにして、条件生成部112は、検索キー入力部110が検索キーを検出すれば、検索を禁止するような制約がある場合を除き、テキストデータテーブルの中から、検索キーを含む文字列を検索することとなる。実際の検索が行なわれないまま検索が終了すると、作成部120は検索結果があるか否かを判断する(S216)。この場合、検索結果がないので(S216にてNO)、作成部120は検索結果が見つからない旨の表示データを作成する。結果部132は作成部120が作成した表示データに基づき、検索結果が見つからない旨を表示する(S226)。   When the search condition is changed, the processing unit 114 executes a search (S1404). In this case, since the search condition is information indicating that the search is prohibited, the processing unit 114 does not perform the actual search. In this way, the condition generation unit 112, if the search key input unit 110 detects the search key, the character string including the search key from the text data table, unless there is a restriction that prohibits the search. Will be searched. When the search is completed without performing an actual search, the creation unit 120 determines whether there is a search result (S216). In this case, since there is no search result (NO in S216), creation unit 120 creates display data indicating that the search result is not found. The result unit 132 displays that the search result is not found based on the display data created by the creation unit 120 (S226).

以上のようにして、本実施の形態に係る情報検索装置は、検索の対象となる文字がマスクされている場合に検索が許されない旨を表示する。これにより、ユーザの意図しない内容の表示を防ぐことができる。   As described above, the information search apparatus according to the present embodiment displays that the search is not permitted when the search target character is masked. Thereby, the display of the content which a user does not intend can be prevented.

なお、S14234にて、検索条件を変更することに代え、条件生成部112は、修飾付き文字列の少なくとも一部と、検索キーの少なくとも一部とが一致すると、表示を禁止するような制約を設定してもよい。この場合、条件生成部112は、表示を禁止するような制約を設定するために、検索結果の表示を禁止する旨の信号を生成する。条件生成部112は、検索結果の表示を禁止する旨の信号を作成部120に送信する。作成部120は、検索結果の表示を禁止する旨の信号が送信されると、検索結果の表示が禁止された旨の表示データを作成する。結果部132は、検索結果の表示が禁止された旨のメッセージを表示する。これにより、結果部132は、表示を禁止するような制約がある場合を除き、検索キーを含む文字列を表示することとなる。図20は、検索が許されていない旨のメッセージが表示されたディスプレイ142の画面を表わす図である。   In S14234, instead of changing the search condition, the condition generating unit 112 restricts display to be prohibited when at least a part of the qualified character string matches at least a part of the search key. It may be set. In this case, the condition generation unit 112 generates a signal for prohibiting the display of the search result in order to set a constraint that prohibits the display. The condition generation unit 112 transmits a signal for prohibiting display of the search result to the creation unit 120. When the signal for prohibiting the display of the search result is transmitted, the creation unit 120 creates display data indicating that the display of the search result is prohibited. The result unit 132 displays a message that the display of the search result is prohibited. As a result, the result section 132 displays the character string including the search key unless there is a restriction that prohibits the display. FIG. 20 is a diagram showing a screen of display 142 on which a message indicating that the search is not permitted is displayed.

また、検索結果が見付からない旨のメッセージに代え、マスクが含まれているため検索結果を表示しない旨のメッセージを表示してもよい。図21は、そのような場合のディスプレイ142の画面を表わす図である。   Further, instead of a message that the search result is not found, a message that the search result is not displayed may be displayed because a mask is included. FIG. 21 is a diagram showing a screen of display 142 in such a case.

<第3の実施の形態>
以下、本発明の第3の実施の形態に係る情報検索装置について説明する。
<Third Embodiment>
Hereinafter, an information search apparatus according to the third embodiment of the present invention will be described.

本実施の形態に係る情報検索装置のハードウェア構成については前述の第1の実施の形態と同じである。それらについての機能も同じである。したがって、それらについての詳細な説明はここでは繰返さない。   The hardware configuration of the information search apparatus according to the present embodiment is the same as that of the first embodiment described above. The function about them is the same. Therefore, detailed description thereof will not be repeated here.

図22を参照して、情報検索装置100で実行されるプログラムは、検索に関し、以下のような制御を実行する。なお、図22に示すフローチャートの中で、前述の図3に示した処理は同じステップ番号を付してある。それらの処理も同じである。したがって、それらのついての詳細な説明はここでは繰返さない。   Referring to FIG. 22, the program executed by information search device 100 performs the following control regarding search. In the flowchart shown in FIG. 22, the same step numbers are assigned to the processes shown in FIG. These processes are the same. Therefore, detailed description thereof will not be repeated here.

S230にて、情報検索装置100の各部は検索の結果を表示する。この処理は、後述するS2302〜S2312の各処理に該当する。   In S230, each unit of information search device 100 displays the search result. This process corresponds to each process of S2302 to S2312, which will be described later.

図23を参照して、情報検索装置100の各部で実行されるプログラムは、検索結果の表示に関し、以下のような制御を実行する。   Referring to FIG. 23, the program executed by each unit of information search apparatus 100 performs the following control regarding display of the search result.

S2302にて、表示用修飾テーブル生成部116は、検索の結果を記憶部118から取得する。S2304にて、表示用修飾テーブル生成部116は、検索の結果のうち、1つ目のデータを読出す。   In S 2302, display modification table generation unit 116 acquires the search result from storage unit 118. In S2304, display modification table generating unit 116 reads the first data of the search results.

S2306にて、表示用修飾テーブル生成部116は、表示用修飾テーブルを生成する。この処理はS2400〜S2426の各処理に該当する。   In S2306, display modification table generation unit 116 generates a display modification table. This process corresponds to each process of S2400 to S2426.

S2308にて、作成部120は記憶部118に記憶された検索結果と表示用修飾テーブルとを参照することにより、テキストデータテーブルに含まれたデータと同じ文字修飾が施されるように表示データを作成する。結果部132は、作成部120が作成した表示データに基づき検索結果を表示する。   In S2308, the creation unit 120 refers to the search result stored in the storage unit 118 and the display modification table, and displays the display data so that the same character modification as the data included in the text data table is performed. create. The result unit 132 displays the search result based on the display data created by the creation unit 120.

S2310にて、表示用修飾テーブル生成部116はまだ検索結果があるか否かを判断する。検索結果があると判断した場合(S2310にてYES)、処理はS2312へと移される。もしそうでないと(S2312にてNO)、処理は終了する。   In S2310, display modification table generating unit 116 determines whether there is still a search result. If it is determined that there is a search result (YES in S2310), the process proceeds to S2312. If not (NO in S2312), the process ends.

以上の構造およびフローチャートに基づく、情報検索装置100の動作について説明する。   An operation of information search apparatus 100 based on the above structure and flowchart will be described.

検索キーとして「徳川」が選択されたこととする。S214までの処理を経て、表示用修飾テーブル生成部116は検索の結果を取得する(S2302)。図24は、本実施の形態において検索の対象となるデータのデータテーブルを表わす図である。検索の対象となるデータのデータテーブルは記憶部118に記憶される。検索の対象となるデータのデータテーブルは、「データ位置」と「読み」と「表記」と「先頭」と「最後」とを含む。「データ位置」は検索の対象となるデータにおいて各データを特定するための情報である。本実施の形態の場合、検索結果の中で何番目のデータであるかを表わす値が「データ位置」として含まれる。「読み」は処理部114により検索された文字列の読みを表わす情報である。本実施の形態の場合、テキストデータテーブルには、文書を構成する単語ごとに予め読みが定義されていることとする。「表記」は処理部114による検索の対象となった文字列を表わす情報である。「先頭」とは処理部114による検索の対象となった文字列の文書における位置のうち先頭を表わす値である。「最後」は処理部114の検索の対象となった文字列の文書における位置のうち最後を表わす値である。   It is assumed that “Tokugawa” is selected as a search key. Through the processing up to S214, the display modification table generating unit 116 acquires the search result (S2302). FIG. 24 is a diagram illustrating a data table of data to be searched in the present embodiment. A data table of data to be searched is stored in the storage unit 118. The data table of data to be searched includes “data position”, “reading”, “notation”, “first”, and “last”. The “data position” is information for specifying each data in the data to be searched. In the case of the present embodiment, a value indicating what number data is in the search result is included as “data position”. “Reading” is information representing the reading of the character string retrieved by the processing unit 114. In the case of the present embodiment, it is assumed that reading is defined in advance in the text data table for each word constituting the document. “Notation” is information representing a character string that is a search target by the processing unit 114. “Head” is a value representing the head of positions in the document of the character string to be searched by the processing unit 114. “Last” is a value representing the last of the positions in the document of the character string that is the search target of the processing unit 114.

検索結果が取得されると、表示用修飾テーブル生成部116は1つ目の検索結果のデータを読出す(S2304)。図25は、検索結果のデータテーブルの構造を表わす図である。検索結果のデータテーブルは、「番号」と「データ位置」と「読み」と「表記」とを含む。「番号」は検索の対象となるデータにおいて各データを特定するための情報である。その他は検索の対象となるデータのデータテーブルと同様である。   When the search result is acquired, the display modification table generating unit 116 reads the data of the first search result (S2304). FIG. 25 shows the structure of the search result data table. The search result data table includes “number”, “data position”, “reading”, and “notation”. “Number” is information for specifying each data in the data to be searched. Others are the same as the data table of the data to be searched.

検索結果が読出されると、表示用修飾テーブル生成部116は表示用修飾テーブルを生成する(S2306)。本実施の形態の場合、表示用修飾テーブル生成部116は、検索キーを含む文字列のうち修飾テーブルのデータが表わす文字列と同じ文字列に、修飾テーブルのデータが表わす文字列と同じ文字修飾を表わすデータを対応付けることにより、検索キーを含む文字列についての文字修飾を表わすデータのデータテーブルである、表示用修飾テーブルを生成する。   When the search result is read, the display modification table generating unit 116 generates a display modification table (S2306). In the case of the present embodiment, the display modification table generating unit 116 adds the same character modification as the character string represented by the modification table data to the same character string represented by the modification table data among the character strings including the search key. Is associated with the data representing the character string, the display modification table, which is a data table of data representing the character modification of the character string including the search key, is generated.

図26は、表示用修飾テーブルの内容を表わす図である。本実施の形態に係る表示用修飾テーブルの構造は第1の実施の形態に係る修飾テーブルと同様である。   FIG. 26 shows the contents of the display modification table. The structure of the display modification table according to the present embodiment is the same as that of the modification table according to the first embodiment.

表示用修飾テーブルが生成されると、結果部132は、表示用修飾テーブルが含むデータの内容に従って、検索結果(検索キーを含む文字列)を表示する(S2308)。図27は、検索結果が表示されたときのディスプレイ142の画面を表わす図である。検索結果にも、文書と同様の修飾が施されている。   When the display modification table is generated, the result unit 132 displays the search result (character string including the search key) according to the data content included in the display modification table (S2308). FIG. 27 is a diagram illustrating a screen of display 142 when a search result is displayed. Search results are also modified in the same way as documents.

以上のようにして、本実施の形態に係る情報検索装置は、検索の結果にも文書と同様の修飾を施すことができる。これにより、ユーザの意図しない内容の表示を防ぐことができる。   As described above, the information search apparatus according to the present embodiment can apply the same modification to the search result as the document. Thereby, the display of the content which a user does not intend can be prevented.

今回開示された実施の形態はすべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は上記した説明ではなくて特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。   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.

本発明の第1の実施の形態に係る情報検索装置の制御ブロック図である。It is a control block diagram of the information search device according to the first embodiment of the present invention. 本発明の実施の形態に係る情報検索装置を実現するためのコンピュータハードウェアの構成例を表わす図である。It is a figure showing the structural example of the computer hardware for implement | achieving the information search device which concerns on embodiment of this invention. 本発明の第1の実施の形態に係る検索処理の制御の手順を示すフローチャートである。It is a flowchart which shows the procedure of control of the search process which concerns on the 1st Embodiment of this invention. 本発明の第1の実施の形態に係る修飾テーブルの生成処理の制御の手順を示すフローチャートである。It is a flowchart which shows the procedure of control of the production | generation process of the modification table which concerns on the 1st Embodiment of this invention. 本発明の第1の実施の形態に係る検索処理の制御の手順を示すフローチャートである。It is a flowchart which shows the procedure of control of the search process which concerns on the 1st Embodiment of this invention. 本発明の第1の実施の形態に係る検索条件の生成処理の制御の手順を示すフローチャートである。It is a flowchart which shows the procedure of control of the production | generation process of the search condition which concerns on the 1st Embodiment of this invention. 本発明の第1の実施の形態に係る情報検索装置の説明文の表示処理の制御の手順を示すフローチャートである。It is a flowchart which shows the procedure of control of the display process of the explanatory note of the information search device which concerns on the 1st Embodiment of this invention. 本発明の第1の実施の形態に係る修飾テーブルの生成処理の制御の手順を示すフローチャートである。It is a flowchart which shows the procedure of control of the production | generation process of the modification table which concerns on the 1st Embodiment of this invention. 本発明の第1の実施の形態に係るテキストデータテーブルの構造と内容とを表わす図である。It is a figure showing the structure and content of a text data table concerning a 1st embodiment of the present invention. 本発明の第1の実施の形態に係る修飾テーブルの内容を表わす図である。It is a figure showing the content of the modification table which concerns on the 1st Embodiment of this invention. 本発明の第1の実施の形態に係る検索の結果が表示されたディスプレイの画面を表わす図である。It is a figure showing the screen of the display on which the result of the search which concerns on the 1st Embodiment of this invention was displayed. 本発明の第1の実施の形態に係る情報検索装置において修飾が施されていない単語に検索キーと一致する文字列が含まれなかった場合のディスプレイの画面を表わす図である。It is a figure showing the screen of a display when the character string which corresponds to a search key is not contained in the word which has not been modified in the information search device which concerns on the 1st Embodiment of this invention. 本発明の第1の実施の形態に係る検索キーの選択時のディスプレイの画面を表わす図である。It is a figure showing the screen of the display at the time of selection of the search key which concerns on the 1st Embodiment of this invention. 本発明の第1の実施の形態に係る情報検索装置において修飾が施された文字以外検索キーに一致する単語が見付からなかった場合のディスプレイの画面を表わす図である。It is a figure showing the screen of a display when the word which corresponds to a search key is not found except the character to which the modification was performed in the information search device which concerns on the 1st Embodiment of this invention. 従来例に係る情報検索装置の検索の結果を表示している場合のディスプレイの画面を表わす図である。It is a figure showing the screen of a display in case the result of the search of the information search device which concerns on a prior art example is displayed. 本発明の第1の実施の形態に係る説明テーブルの内容を表わす図である。It is a figure showing the content of the description table which concerns on the 1st Embodiment of this invention. 本発明の第1の実施の形態に係る説明文の表示があった場合のディスプレイの画面を表わす図である。It is a figure showing the screen of a display when there exists a display of the explanatory note which concerns on the 1st Embodiment of this invention. 本発明の第1の実施の形態の変形例におけるテキストデータテーブルの構造を表わす図である。It is a figure showing the structure of the text data table in the modification of the 1st Embodiment of this invention. 本発明の第2の実施の形態の変形例に係る検索条件の生成処理の制御の手順を示すフローチャートである。It is a flowchart which shows the procedure of control of the production | generation process of the search condition which concerns on the modification of the 2nd Embodiment of this invention. 本発明の第2の実施の形態の変形例に係る検索が許されていない旨のメッセージが表示されたディスプレイの画面を表わす図である。It is a figure showing the screen of the display on which the message that the search which concerns on the modification of the 2nd Embodiment of this invention was not permitted was displayed. 本発明の第2の実施の形態の変形例に係る検索結果を表示しない旨のメッセージが表示されたディスプレイの画面を表わす図である。It is a figure showing the screen of the display with which the message to the effect of not displaying the search result which concerns on the modification of the 2nd Embodiment of this invention was displayed. 本発明の第3の実施の形態に係る情報検索装置の検索処理の制御の手順を示すフローチャートである。It is a flowchart which shows the procedure of control of the search process of the information search device which concerns on the 3rd Embodiment of this invention. 本発明の第3の実施の形態に係る検索結果の表示処理の制御の手順を示すフローチャートである。It is a flowchart which shows the procedure of control of the display process of the search result which concerns on the 3rd Embodiment of this invention. 本発明の第3の実施の形態に係る検索の対象となるデータのデータテーブルを表わす図である。It is a figure showing the data table of the data used as the object of the search which concerns on the 3rd Embodiment of this invention. 本発明の第3の実施の形態に係る検索結果のデータテーブルの構造を表わす図である。It is a figure showing the structure of the data table of the search result which concerns on the 3rd Embodiment of this invention. 本発明の第3の実施の形態に係る検索結果に対する表示用修飾テーブルの内容を表わす図である。It is a figure showing the content of the display modification table with respect to the search result which concerns on the 3rd Embodiment of this invention. 本発明の第3の実施の形態に係る検索結果が表示された場合のディスプレイの画面を表わす図である。It is a figure showing the screen of a display when the search result which concerns on the 3rd Embodiment of this invention is displayed. 従来例において検索キーの選択を開始した時点のディスプレイの画面を表わす図である。It is a figure showing the screen of the display at the time of starting selection of a search key in a prior art example. 従来例において検索キーの選択が終了した時点のディスプレイの画面を表わす図である。It is a figure showing the screen of a display at the time of selection of a search key in a prior art example. 従来例において検索キーを指定した時点のディスプレイの画面を表わす図である。It is a figure showing the screen of the display at the time of designating a search key in a prior art example. 従来例において検索結果を表示した時点のディスプレイの画面を表わす図である。It is a figure showing the screen of the display at the time of displaying a search result in a prior art example. 従来例において説明文を表示させるため文字列を指定した時点のディスプレイの画面を表わす図である。It is a figure showing the screen of the display at the time of designating the character string in order to display an explanatory note in a prior art example. 従来例において説明文を表示した時点のディスプレイの画面を表わす図である。It is a figure showing the screen of the display at the time of displaying an explanatory note in a prior art example.

符号の説明Explanation of symbols

100 情報検索装置、102 文書データ入力部、104 修飾テーブル生成部、106 対象入力部、108 操作部、110 検索キー入力部、112 条件生成部、114 処理部、116 表示用修飾テーブル生成部、118 記憶部、120 作成部、122 表示部、130 文書部、132 結果部、134 説明部、140 CPU、142 ディスプレイ、144 主記憶装置、146 外部記憶装置、148 マウス、150 キーボード、152 タブレット、154 スピーカ、156 通信デバイス、158 バス、160 ハードディスクドライブ、162 PCカードスロット、170 PCカード。   100 Information Retrieval Device, 102 Document Data Input Unit, 104 Modification Table Generation Unit, 106 Target Input Unit, 108 Operation Unit, 110 Search Key Input Unit, 112 Condition Generation Unit, 114 Processing Unit, 116 Display Modification Table Generation Unit, 118 Storage unit, 120 creation unit, 122 display unit, 130 document unit, 132 result unit, 134 description unit, 140 CPU, 142 display, 144 main storage device, 146 external storage device, 148 mouse, 150 keyboard, 152 tablet, 154 speaker 156 Communication device, 158 bus, 160 hard disk drive, 162 PC card slot, 170 PC card.

Claims (17)

文書を構成する文字列のデータである文字列データと前記文字列に対する文字修飾のデータとを含む、テキストデータテーブルを記憶するための記憶手段と、
前記テキストデータテーブルが含むデータを組み合わせることにより、文字修飾の対象となる前記文字列のデータテーブルである修飾テーブルを、文字修飾の種類ごとに生成するための第1の修飾テーブル生成手段と、
前記テキストデータテーブルに基づき、文書を表示するための文書用の表示手段と、
ユーザの操作に基づいて、前記ユーザが前記文書の中から検索しようとする文字列である検索キーを検出するための第1の検出手段と、
検索に対する制約を設定するための設定手段と、
前記第1の検出手段が検索キーを検出すれば、前記検索に対する制約に従って、前記テキストデータテーブルの中から、前記検索キーを含む文字列を検索するための検索手段と、
前記検索キーを含む文字列を表示するための結果用の表示手段とを含む、情報検索装置。
Storage means for storing a text data table including character string data that is character string data constituting a document and character modification data for the character string;
First modification table generation means for generating a modification table, which is a data table of the character string to be subjected to character modification, for each type of character modification by combining data included in the text data table;
A document display means for displaying the document based on the text data table;
First detection means for detecting a search key, which is a character string that the user intends to search from the document, based on a user operation;
A setting means for setting constraints on the search;
If the first detection means detects a search key, search means for searching for a character string including the search key from the text data table according to restrictions on the search;
An information search apparatus comprising: a result display means for displaying a character string including the search key.
前記設定手段は、前記文字修飾の対象となる文字列である修飾付き文字列に対する前記検索キーの前記文書における位置と前記検索キーから前記修飾付き文字列までの距離とに応じた、検索の条件を設定するための手段を含み、
前記検索手段は、前記第1の検出手段が検索キーを検出すれば、前記検索の条件に従って、前記テキストデータテーブルの中から、前記検索キーを含む文字列を検索するための手段を含む、請求項1に記載の情報検索装置。
The setting means includes a search condition according to a position of the search key in the document with respect to a qualified character string that is a character string to be character-modified and a distance from the search key to the qualified character string. Including means for setting
The search means includes means for searching for a character string including the search key from the text data table according to the search condition if the first detection means detects a search key. Item 2. The information search device according to Item 1.
前記検索の条件を設定するための手段は、
前記検索キーから前記修飾付き文字列までの距離が閾値以下であって、前記検索キーが前記文書において前記修飾付き文字列の前にあるか否かを判断するための手段と、
前記検索キーから前記修飾付き文字列までの距離が閾値以下であって、前記検索キーが前記修飾付き文字列の前にある場合、後方一致、完全一致、およびワイルドカード検索を検索の条件とするように、検索の条件を設定するための手段とを含む、請求項2に記載の情報検索装置。
Means for setting the search conditions include:
Means for determining whether a distance from the search key to the qualified character string is less than or equal to a threshold, and the search key is in front of the qualified character string in the document;
When the distance from the search key to the qualified character string is less than or equal to a threshold and the search key is before the qualified character string, the search condition is a backward match, an exact match, and a wildcard search. The information search apparatus according to claim 2, further comprising: means for setting search conditions.
前記検索キーから前記修飾付き文字列までの距離は、前記検索キーから前記修飾付き文字列までの間に存在する文字の個数に対応する距離である、請求項3に記載の情報検索装置。   The information search device according to claim 3, wherein the distance from the search key to the qualified character string is a distance corresponding to the number of characters existing between the search key and the qualified character string. 前記検索キーから前記修飾付き文字列までの距離は、前記検索キーから前記修飾付き文字列までの形態素の個数に対応する距離である、請求項3に記載の情報検索装置。   The information search device according to claim 3, wherein the distance from the search key to the qualified character string is a distance corresponding to the number of morphemes from the search key to the qualified character string. 前記閾値はゼロである、請求項3に記載の情報検索装置。   The information search apparatus according to claim 3, wherein the threshold value is zero. 前記検索の条件を設定するための手段は、
前記検索キーから前記修飾付き文字列までの距離が閾値以下であって、前記検索キーが前記文書において前記修飾付き文字列の後にあるか否かを判断するための手段と、
前記検索キーから前記修飾付き文字列までの距離が閾値以下であって、前記検索キーが前記修飾付き文字列の後にある場合、前方一致、完全一致、およびワイルドカード検索を検索の条件とするように、検索の条件を設定するための手段とを含む、請求項2に記載の情報検索装置。
Means for setting the search conditions include:
Means for determining whether a distance from the search key to the qualified character string is less than or equal to a threshold, and the search key is after the qualified character string in the document;
When the distance from the search key to the qualified character string is less than or equal to a threshold value and the search key is after the qualified character string, the search condition is a forward match, an exact match, and a wildcard search. The information search apparatus according to claim 2, further comprising: means for setting search conditions.
前記検索の条件を設定するための手段は、
前記検索キーが前記修飾付き文字列を含むか否かを判断するための手段と、
前記検索キーが前記修飾付き文字列を含む場合、前方一致、後方一致、部分一致、および完全一致を検索の条件とするように、検索の条件を設定するための手段とをさらに含む、請求項7に記載の情報検索装置。
Means for setting the search conditions include:
Means for determining whether the search key includes the qualified character string;
And further comprising means for setting a search condition such that a forward match, a backward match, a partial match, and a complete match are used as a search condition when the search key includes the qualified character string. 8. The information search device according to 7.
前記設定手段は、前記文字修飾の対象となる文字列である修飾付き文字列の少なくとも一部と、前記検索キーの少なくとも一部とが一致すると、検索を禁止するような制約を設定するための手段を含み、
前記検索手段は、前記第1の検出手段が検索キーを検出すれば、前記検索を禁止するような制約がある場合を除き、前記テキストデータテーブルの中から、前記検索キーを含む文字列を検索するための手段を含む、請求項1に記載の情報検索装置。
The setting means is for setting a constraint that prohibits a search when at least a part of a qualified character string that is a character string to be subjected to character modification matches at least a part of the search key. Including means,
The search means searches for a character string including the search key in the text data table, unless there is a restriction that prohibits the search if the first detection means detects the search key. The information retrieval apparatus according to claim 1, comprising means for
前記検索を禁止するような制約を設定するための手段は、
前記修飾付き文字列が前記検索キーを含むか否かを判断するための手段と、
前記検索キーが前記修飾付き文字列を含むか否かを判断するための手段と、
前記修飾付き文字列が前記検索キーを含む場合、および前記検索キーが前記修飾付き文字列を含む場合のいずれかに該当すれば、検索を禁止するような制約を設定するための手段とを含む、請求項9に記載の情報検索装置。
Means for setting a constraint that prohibits the search includes:
Means for determining whether the qualified character string includes the search key;
Means for determining whether the search key includes the qualified character string;
Means for setting a restriction that prohibits a search if the qualified character string includes the search key and the search key includes the qualified character string. The information search device according to claim 9.
前記情報検索装置は、前記修飾付き文字列の少なくとも一部と、前記検索キーの少なくとも一部とが一致すると、表示を禁止するような制約を設定するための手段をさらに含み、
前記結果用の表示手段は、前記表示を禁止するような制約がある場合を除き、前記検索キーを含む文字列を表示するための手段を含む、請求項1に記載の情報検索装置。
The information search apparatus further includes means for setting a constraint to prohibit display when at least a part of the qualified character string matches at least a part of the search key,
The information search apparatus according to claim 1, wherein the result display means includes means for displaying a character string including the search key, unless there is a restriction that prohibits the display.
前記記憶手段は、前記テキストデータテーブルと共に、単語についての説明文を表わす説明文データをさらに含み、
前記情報検索装置は、
前記ユーザの操作に基づいて、前記ユーザが前記説明文の表示を希望している単語を検出するための第2の検出手段と、
前記説明文データのうち、前記ユーザが説明文の表示を希望する単語についての説明文である特定説明文を表わすデータについて、前記修飾テーブルのデータが表わす文字列と同じ文字列が、前記修飾テーブルのデータが表わす文字列と同じ文字修飾の対象となるように、前記特定説明文を構成する文字列についての文字修飾を表わすデータからなるデータテーブルである、説明用修飾テーブルを生成するための、第2の修飾テーブル生成手段と、
前記説明用修飾テーブルが含むデータの内容に従って、前記特定説明文を表示するための説明用の表示手段とをさらに含む、請求項1に記載の情報検索装置。
The storage means further includes explanatory text data representing an explanatory text about the word together with the text data table,
The information search device includes:
Second detection means for detecting a word that the user desires to display the explanatory text based on the operation of the user;
Among the explanatory text data, for the data representing the specific explanatory text that is the explanatory text for the word that the user desires to display the explanatory text, the same character string as the character string represented by the data of the modification table is the modification table. In order to generate a description modification table, which is a data table composed of data representing character modification of the character string constituting the specific description so that the same character modification target as the character string represented by the data of Second modification table generation means;
The information search apparatus according to claim 1, further comprising display means for explanation for displaying the specific explanatory text according to the content of data included in the explanation modification table.
前記記憶手段は、前記テキストデータテーブルと共に、単語についての説明文を表わす説明文データをさらに含み、
前記情報検索装置は、
前記ユーザの操作に基づいて、前記ユーザが前記説明文の表示を希望している単語を検出するための第2の検出手段と、
前記ユーザが説明文の表示を希望する単語についての説明文である特定説明文のうちいずれかの部分を表わす文字列が、前記修飾テーブルのデータが表わす文字列と同じ場合、前記特定説明文の表示を禁止するような制約を設定するための手段と、
前記第2の検出手段が前記単語を検出すると、前記特定説明文の表示を禁止するような制約がある場合を除き、前記特定説明文を表示するための説明用の表示手段とをさらに含む、請求項1に記載の情報検索装置。
The storage means further includes explanatory text data representing an explanatory text about the word together with the text data table,
The information search device includes:
Second detection means for detecting a word that the user desires to display the explanatory text based on the operation of the user;
When the character string representing any part of the specific explanatory text that is an explanatory text for the word that the user wants to display the explanatory text is the same as the character string represented by the data of the modification table, Means for setting restrictions that prohibit display,
When there is a restriction that prohibits display of the specific explanatory text when the second detecting means detects the word, it further includes explanatory display means for displaying the specific explanatory text, The information search device according to claim 1.
前記結果用の表示手段は、
前記検索キーを含む文字列のうち前記修飾テーブルのデータが表わす文字列と同じ文字列に、前記修飾テーブルのデータが表わす文字列と同じ文字修飾を表わすデータを対応付けることにより、前記検索キーを含む文字列についての文字修飾を表わすデータのデータテーブルである、表示用修飾テーブルを生成するための、第3の修飾テーブル生成手段と、
前記表示用修飾テーブルが含むデータの内容に従って、前記検索キーを含む文字列を表示するための手段とを含み、
前記情報検索装置は、前記表示用修飾テーブルを記憶するための手段をさらに含む、請求項1に記載の情報検索装置。
The result display means includes:
Including the search key by associating data representing the same character modification as the character string represented by the data of the modification table with the same character string represented by the data of the modification table among the character strings including the search key Third modification table generating means for generating a display modification table, which is a data table of data representing character modification of a character string;
Means for displaying a character string including the search key according to the content of the data included in the display modification table,
The information search device according to claim 1, further comprising means for storing the display modification table.
文書を構成する文字列のデータである文字列データと前記文字列に対する文字修飾のデータとを含む、テキストデータテーブルを記憶する記憶ステップと、
前記テキストデータテーブルが含むデータを組み合わせることにより、文字修飾の対象となる前記文字列のデータテーブルである修飾テーブルを、文字修飾の種類ごとに生成する第1の修飾テーブル生成ステップと、
前記テキストデータテーブルに基づき、文書を表示する文書用の表示ステップと、
ユーザの操作に基づいて、前記ユーザが前記文書の中から検索しようとする文字列である検索キーを検出する第1の検出ステップと、
検索に対する制約を設定する設定ステップと、
前記第1の検出ステップにおいて検出キーを検出すれば、前記検索に対する制約に従って、前記テキストデータテーブルの中から、前記検索キーを含む文字列を検索する検索ステップと、
前記検索キーを含む文字列を表示する結果用の表示ステップとを含む、情報検索方法。
A storage step of storing a text data table, including character string data that is data of a character string constituting the document and character modification data for the character string;
A first modification table generation step of generating a modification table, which is a data table of the character string to be subjected to character modification, for each type of character modification by combining data included in the text data table;
A document display step for displaying the document based on the text data table;
A first detection step of detecting a search key that is a character string that the user intends to search from the document based on a user operation;
A configuration step to set constraints on the search;
If a detection key is detected in the first detection step, a search step for searching a character string including the search key from the text data table in accordance with restrictions on the search;
A result display step for displaying a character string including the search key.
文書を構成する文字列のデータである文字列データと前記文字列に対する文字修飾のデータとを含む、テキストデータテーブルを記憶する記憶ステップと、
前記テキストデータテーブルが含むデータを組み合わせることにより、文字修飾の対象となる前記文字列のデータテーブルである修飾テーブルを、文字修飾の種類ごとに生成するための第1の修飾テーブル生成ステップと、
前記テキストデータテーブルに基づき、文書を表示する文書用の表示ステップと、
ユーザの操作に基づいて、前記ユーザが前記文書の中から検索しようとする文字列である検索キーを検出する第1の検出ステップと、
検索に対する制約を設定する設定ステップと、
前記第1の検出ステップにおいて検索キーを検出すれば、前記検索に対する制約に従って、前記テキストデータテーブルの中から、前記検索キーを含む文字列を検索する検索ステップと、
前記検索キーを含む文字列を表示する結果用の表示ステップとを含む各ステップをコンピュータに実行させるための情報検索プログラム。
A storage step of storing a text data table, including character string data that is data of a character string constituting the document and character modification data for the character string;
A first modification table generating step for generating a modification table, which is a data table of the character string to be subjected to character modification, for each type of character modification by combining data included in the text data table;
A document display step for displaying the document based on the text data table;
A first detection step of detecting a search key, which is a character string to be searched from the document, based on a user operation;
A configuration step to set constraints on the search;
If a search key is detected in the first detection step, a search step of searching for a character string including the search key from the text data table according to restrictions on the search;
An information search program for causing a computer to execute each step including a result display step for displaying a character string including the search key.
文書を構成する文字列のデータである文字列データと前記文字列に対する文字修飾のデータとを含む、テキストデータテーブルを記憶する記憶ステップと、
前記テキストデータテーブルが含むデータを組み合わせることにより、文字修飾の対象となる前記文字列のデータテーブルである修飾テーブルを、文字修飾の種類ごとに生成する第1の修飾テーブル生成ステップと、
前記テキストデータテーブルに基づき、文書を表示する文書用の表示ステップと、
ユーザの操作に基づいて、前記ユーザが前記文書の中から検索しようとする文字列である検索キーを検出する第1の検出ステップと、
検索に対する制約を設定する設定ステップと、
前記第1の検出ステップにおいて検出キーを検出すれば、前記検索に対する制約に従って、前記テキストデータテーブルの中から、前記検索キーを含む文字列を検索する検索ステップと、
前記検索キーを含む文字列を表示する結果用の表示ステップとを含む各ステップをコンピュータに実行させるための情報検索プログラムを記録したコンピュータ読取り可能な記録媒体。
A storage step of storing a text data table, including character string data that is data of a character string constituting the document and character modification data for the character string;
A first modification table generation step of generating a modification table, which is a data table of the character string to be subjected to character modification, for each type of character modification by combining data included in the text data table;
A document display step for displaying the document based on the text data table;
A first detection step of detecting a search key that is a character string that the user intends to search from the document based on a user operation;
A configuration step to set constraints on the search;
If a detection key is detected in the first detection step, a search step for searching a character string including the search key from the text data table in accordance with restrictions on the search;
A computer-readable recording medium storing an information search program for causing a computer to execute each step including a result display step for displaying a character string including the search key.
JP2006012198A 2006-01-20 2006-01-20 Information retrieval device, information retrieval method, information retrieval program and computer-readable recording medium recording information retrieval program Pending JP2007193641A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006012198A JP2007193641A (en) 2006-01-20 2006-01-20 Information retrieval device, information retrieval method, information retrieval program and computer-readable recording medium recording information retrieval program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006012198A JP2007193641A (en) 2006-01-20 2006-01-20 Information retrieval device, information retrieval method, information retrieval program and computer-readable recording medium recording information retrieval program

Publications (1)

Publication Number Publication Date
JP2007193641A true JP2007193641A (en) 2007-08-02

Family

ID=38449287

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006012198A Pending JP2007193641A (en) 2006-01-20 2006-01-20 Information retrieval device, information retrieval method, information retrieval program and computer-readable recording medium recording information retrieval program

Country Status (1)

Country Link
JP (1) JP2007193641A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011159090A (en) * 2010-01-29 2011-08-18 Sanyo Electric Co Ltd Search system, search device and search program

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0736926A (en) * 1993-06-28 1995-02-07 Nippon Telegr & Teleph Corp <Ntt> Method and device for matching incomplete character string with character string
JPH11238068A (en) * 1998-02-20 1999-08-31 Fuji Xerox Co Ltd Text retrieval device
JP2000099535A (en) * 1998-09-24 2000-04-07 Canon Inc Picture retrieval device and method, and computer readable memory
JP2002259368A (en) * 2001-03-01 2002-09-13 Nippon Telegr & Teleph Corp <Ntt> Method and device for working document cipher, document cipher working processing program and recording medium therefor
JP2004164502A (en) * 2002-11-15 2004-06-10 Casio Comput Co Ltd Terminal device, server, dictionary retrieval program and dictionary retrieval method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0736926A (en) * 1993-06-28 1995-02-07 Nippon Telegr & Teleph Corp <Ntt> Method and device for matching incomplete character string with character string
JPH11238068A (en) * 1998-02-20 1999-08-31 Fuji Xerox Co Ltd Text retrieval device
JP2000099535A (en) * 1998-09-24 2000-04-07 Canon Inc Picture retrieval device and method, and computer readable memory
JP2002259368A (en) * 2001-03-01 2002-09-13 Nippon Telegr & Teleph Corp <Ntt> Method and device for working document cipher, document cipher working processing program and recording medium therefor
JP2004164502A (en) * 2002-11-15 2004-06-10 Casio Comput Co Ltd Terminal device, server, dictionary retrieval program and dictionary retrieval method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011159090A (en) * 2010-01-29 2011-08-18 Sanyo Electric Co Ltd Search system, search device and search program

Similar Documents

Publication Publication Date Title
JP5724430B2 (en) Information retrieval apparatus and program
JP5688230B2 (en) INPUT PROGRAM, INPUT DEVICE, SYSTEM, AND INPUT METHOD
JP2004021791A (en) Method for describing existing data by natural language and program for the method
JP2002117027A (en) Feeling information extracting method and recording medium for feeling information extracting program
JP2006259919A (en) Device for supporting input of character string
JP2011076384A (en) Information output device and information output program
JP2007193641A (en) Information retrieval device, information retrieval method, information retrieval program and computer-readable recording medium recording information retrieval program
WO2019235131A1 (en) Search text generation system and search text generation method
JP2003167600A (en) Voice recognition unit and its method, page description language display device and its control method, and computer program
JP2006163651A (en) Display device, control method of display device, program and font data
JP7247593B2 (en) Generation device, software robot system, generation method and generation program
JP6036911B2 (en) Information display control device, information display control method, and program
US20130174029A1 (en) Method and apparatus for analyzing a document
JP2017102939A (en) Authoring device, authoring method, and program
JP5741542B2 (en) Information display control device, information display control method, and program
JP2002207754A (en) Electronic dictionary system and electronic dictionary system program therefor
JP2011197814A (en) Input program, input device, system, and input method
JP4416644B2 (en) Character processing apparatus with prediction function, method, recording medium, and program
JP5417774B2 (en) Electronic device and program with dictionary function
CN110390241B (en) Information processing apparatus, information processing method, and computer-readable recording medium
JP3022791B2 (en) Character input simplification device
JPH1091701A (en) Form document system
JP5569178B2 (en) Dictionary search apparatus and program
JP5782841B2 (en) Chinese sentence display device and program
AU2013200005B2 (en) Method and apparatus for analyzing abbreviations in a document

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080220

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100423

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100427

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100622

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100928

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20101122

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20110712