Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP5208193B2 - Related word graph creation device, related word graph creation method, related word providing device, related word providing method, and program - Google Patents
[go: Go Back, main page]

JP5208193B2 - Related word graph creation device, related word graph creation method, related word providing device, related word providing method, and program - Google Patents

Related word graph creation device, related word graph creation method, related word providing device, related word providing method, and program Download PDF

Info

Publication number
JP5208193B2
JP5208193B2 JP2010293596A JP2010293596A JP5208193B2 JP 5208193 B2 JP5208193 B2 JP 5208193B2 JP 2010293596 A JP2010293596 A JP 2010293596A JP 2010293596 A JP2010293596 A JP 2010293596A JP 5208193 B2 JP5208193 B2 JP 5208193B2
Authority
JP
Japan
Prior art keywords
graph
word
category
related word
thesaurus
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.)
Active
Application number
JP2010293596A
Other languages
Japanese (ja)
Other versions
JP2012141756A (en
Inventor
竜巳 小林
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.)
Yahoo Japan Corp
Original Assignee
Yahoo Japan 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 Yahoo Japan Corp filed Critical Yahoo Japan Corp
Priority to JP2010293596A priority Critical patent/JP5208193B2/en
Publication of JP2012141756A publication Critical patent/JP2012141756A/en
Application granted granted Critical
Publication of JP5208193B2 publication Critical patent/JP5208193B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Machine Translation (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Description

本発明は、関連語グラフ作成装置、関連語グラフ作成方法、関連語提供装置、関連語提供方法及びプログラムに関する。   The present invention relates to a related word graph creating device, a related word graph creating method, a related word providing device, a related word providing method, and a program.

検索に用いるキーワードに関連する関連語を提供するクエリサジェッションが行われている。例えば、特許文献1には、ユーザが使用した語句やその語句の使用回数、検索キーワードのカテゴリなどに応じて推薦キーワードを提示するサーバが記載されている。キーワードに関連する関連語を検索する辞書としてシソーラスが考えられる。非特許文献1には、シソーラスの探索処理が記載されている。   Query suggestion that provides related terms related to keywords used for search is performed. For example, Patent Literature 1 describes a server that presents recommended keywords in accordance with a word used by a user, the number of times the word is used, a category of a search keyword, and the like. A thesaurus can be considered as a dictionary for searching related words related to keywords. Non-Patent Document 1 describes a thesaurus search process.

特開2010−3134号公報JP 2010-3134 A

清田陽司、阿辺川武、吉田稔、田村悟之、坂井哲、増田英孝、2008年、「汎用シソーラス探索ライブラリの開発」、[online]、言語処理学会第14回年次大会、インターネット<URL:http://www.r.dl.itc.u-tokyo.ac.jp/%7Ekiyota/paper/2008/NLP_2008_PD1-3-kiyota.pdf>Yoji Kiyota, Takeshi Abekawa, Satoshi Yoshida, Goro Tamura, Satoshi Sakai, Hidetaka Masuda, 2008, "Development of a general-purpose thesaurus search library", [online], The 14th Annual Conference of the Language Processing Society, Internet <URL: http : //www.r.dl.itc.u-tokyo.ac.jp/%7Ekiyota/paper/2008/NLP_2008_PD1-3-kiyota.pdf>

シソーラスは、概念の階層が定義されるものの、固有名詞や専門用語などはほとんど含まれない。そこで、大量のテキストを含むコーパスを分析したトピックグラフを活用することが考えられるが、トピックグラフには、固有名詞や専門用語が多く含まれるものの、概念の階層は定義されない。したがって、シソーラスにトピックグラフを組み合わせたいというニーズがある。しかしながら、シソーラスに含まれる単語とトピックグラフに含まれる単語とはほとんど一致せず、シソーラスにトピックグラフを組み合わせることは難しかった。   The thesaurus defines a hierarchy of concepts, but contains few proper nouns and technical terms. Therefore, it is conceivable to use a topic graph obtained by analyzing a corpus containing a large amount of text, but the topic graph contains many proper nouns and technical terms, but the concept hierarchy is not defined. Therefore, there is a need to combine a topic graph with a thesaurus. However, the words included in the thesaurus and the words included in the topic graph hardly matched, and it was difficult to combine the topic graph with the thesaurus.

本発明は、このような背景を鑑みてなされたものであり、概念階層を定義するシソーラスにコーパスに含まれる単語間の関係を定義するトピックグラフを組み合わせることのできる、関連語グラフ作成装置、関連語グラフ作成方法、関連語提供装置、関連語提供方法及びプログラムを提供することを目的とする。   The present invention has been made in view of such a background, and a related word graph creation device capable of combining a thesaurus defining a concept hierarchy with a topic graph defining a relationship between words included in a corpus, An object is to provide a word graph creation method, a related word providing device, a related word providing method, and a program.

上記課題を解決するための本発明の主たる発明は、単語間の関連性を定義する関連語グラフを作成する装置であって、単語の概念階層を定義するシソーラスを記憶するシソーラス記憶部と、コーパスに含まれる単語間の関係を定義するトピックグラフを記憶するトピックグラフ記憶部と、ディレクトリ検索に用いられるカテゴリの階層を定義するカテゴリグラフを記憶するカテゴリグラフ記憶部と、前記カテゴリグラフにおける第1の前記カテゴリ及び前記シソーラスに含まれる単語がリンクされ、前記カテゴリグラフにおける第2の前記カテゴリ及び前記トピックグラフに含まれる単語がリンクされるように、前記シソーラス、前記カテゴリグラフ及び前記トピックグラフを組み合わせて、グラフ構造の前記関連語グラフを作成するグラフ作成部と、を備えることとする。   A main invention of the present invention for solving the above problems is an apparatus for creating a related word graph that defines a relationship between words, a thesaurus storage unit that stores a thesaurus that defines a concept hierarchy of words, and a corpus A topic graph storage unit that stores a topic graph that defines a relationship between words included in the category graph, a category graph storage unit that stores a category graph that defines a hierarchy of categories used for directory search, and a first graph in the category graph The thesaurus, the category graph, and the topic graph are combined so that words included in the category and the thesaurus are linked and words included in the second category and the topic graph in the category graph are linked. , Graph to create the related word graph of graph structure And further comprising a forming unit.

本発明の関連語グラフ作成装置によれば、シソーラスとカテゴリグラフとをリンクし、カテゴリグラフとトピックグラフとをリンクすることにより、シソーラス、カテゴリグラフ及びトピックグラフを全て組み合わせた1つの関連語グラフを作成することができる。したがって、関連語グラフには、一般語から構成されることの多いシソーラスと、固定名詞や具体語、専門用語などが多く含まれるトピックグラフとの両方が含まれることになるので、関連語グラフが幅広い単語から構成されるようにすることができる。   According to the related word graph creating apparatus of the present invention, a thesaurus and a category graph are linked, and a category graph and a topic graph are linked, whereby one related word graph in which all the thesaurus, the category graph, and the topic graph are combined. Can be created. Therefore, the related word graph includes both a thesaurus that is often composed of common words and a topic graph that contains many fixed nouns, specific words, technical terms, etc. Can consist of a wide range of words.

また、本発明の関連語グラフ作成装置では、前記グラフ作成部は、前記カテゴリグラフにおける第1の前記カテゴリの名称と一致する、前記シソーラスに含まれる単語と、前記第1のカテゴリの下位階層に所属する第2の前記カテゴリの名称と一致する、前記トピックグラフに含まれる単語とがリンクされるように、前記シソーラスに前記トピックグラフを組み合わせるようにしてもよい。   In the related word graph creation device of the present invention, the graph creation unit includes a word included in the thesaurus that matches the name of the first category in the category graph, and a lower hierarchy of the first category. The topic graph may be combined with the thesaurus so that a word included in the topic graph that matches the name of the second category to which the user belongs belongs is linked.

この場合、カテゴリグラフを利用することにより、シソーラスとトピックグラフとが直接リンクされるように組み合わせることができる。したがって、シソーラスに含まれる一般語と、トピックグラフに含まれる固定名詞や具体語、専門用語などとをリンクすることができるので、関連語グラフには様々な単語間にリンクを設けるようにすることができる。   In this case, the thesaurus and the topic graph can be combined so as to be directly linked by using the category graph. Therefore, general terms included in the thesaurus can be linked to fixed nouns, specific words, technical terms, etc. included in the topic graph, so links should be provided between various words in the related term graph. Can do.

また、本発明の関連語グラフ作成装置では、前記シソーラス、前記トピックグラフ、前記カテゴリグラフは有向グラフであり、前記グラフ作成部は、前記カテゴリグラフにおける2つのカテゴリ間のエッジごとに、前記エッジが接続する前記2つのカテゴリのうち第1の前記カテゴリの名称に一致する第1の単語が前記シソーラスに含まれており、前記2つのカテゴリのうち第2の前記カテゴリの名称に一致する第2の単語が前記トピックグラフに含まれている場合に、前記第1及び第2の単語を接続するエッジが作成されるように、前記シソーラスに前記トピックグラフを組み合わせるようにしてもよい。   In the related word graph creation device of the present invention, the thesaurus, the topic graph, and the category graph are directed graphs, and the graph creation unit connects the edges for each edge between two categories in the category graph. A first word that matches the name of the first category of the two categories is included in the thesaurus, and a second word that matches the name of the second category of the two categories When the topic graph is included in the topic graph, the topic graph may be combined with the thesaurus so that an edge connecting the first and second words is created.

また、本発明の関連語グラフ作成装置では、前記シソーラス記憶部は、前記シソーラスを構成するノードごとに前記ノードに対応する単語を含むノード情報を記憶し、前記シソーラスを構成する前記ノード間のエッジごとに、2つの前記ノードを示す2つの識別情報を含むエッジ情報を記憶し、前記トピックグラフ記憶部は、前記トピックグラフを構成する前記ノードごとに前記ノードに対応する単語を含む前記ノード情報を記憶し、前記トピックグラフを構成する前記ノード間の前記エッジごとに2つの前記識別情報を含む前記エッジ情報を記憶し、前記カテゴリグラフ記憶部は、前記カテゴリグラフを構成する前記ノードごとに前記ノードに対応する前記カテゴリを示す単語を含む前記ノード情報を記憶し、前記カテゴリグラフを構成する前記ノード間の前記エッジごとに2つの前記識別情報を含む前記エッジ情報を記憶し、前記グラフ作成部は、前記シソーラス記憶部に記憶されている前記ノード情報及び前記エッジ情報を前記関連語グラフ記憶部に登録し、前記トピックグラフ記憶部に記憶されている前記ノード情報及び前記エッジ情報を前記関連語グラフ記憶部に登録し、前記カテゴリグラフ記憶部に記憶されている前記エッジ情報のそれぞれについて、前記エッジ情報に含まれる第1の前記識別情報に対応する第1の前記ノード情報に設定される単語が、前記シソーラス記憶部に記憶されている第2の前記ノード情報に設定される単語に一致し、かつ、前記エッジ情報に含まれる第2の前記識別情報に対応する第3の前記ノード情報に設定される単語が、前記トピックグラフ記憶部に記憶されている第4の前記ノード情報に設定される単語に一致する場合に、前記第2のノード情報を示す前記識別情報と前記第4のノード情報を示す前記識別情報とを設定した前記エッジ情報を前記関連語グラフに登録するようにしてもよい。   In the related word graph creating device of the present invention, the thesaurus storage unit stores node information including a word corresponding to the node for each node constituting the thesaurus, and an edge between the nodes constituting the thesaurus For each, edge information including two pieces of identification information indicating the two nodes is stored, and the topic graph storage unit stores the node information including a word corresponding to the node for each of the nodes constituting the topic graph. Storing the edge information including two pieces of the identification information for each edge between the nodes constituting the topic graph, and the category graph storage unit configured to store the node information for each node constituting the category graph. Storing the node information including the word indicating the category corresponding to, and constructing the category graph The edge information including two pieces of the identification information is stored for each edge between the nodes, and the graph creation unit stores the node information and the edge information stored in the thesaurus storage unit in the related word graph storage Each of the edge information stored in the category graph storage unit, and the node information and the edge information stored in the topic graph storage unit are registered in the related word graph storage unit. The word set in the first node information corresponding to the first identification information included in the edge information is one of the words set in the second node information stored in the thesaurus storage unit. And the word set in the third node information corresponding to the second identification information included in the edge information is the topic The identification information indicating the second node information and the identification information indicating the fourth node information when the word matches the word set in the fourth node information stored in the rough storage unit. The set edge information may be registered in the related word graph.

また、本発明の他の態様は、入力された単語に関連する関連語を提供する関連語提供装置であって、ディレクトリ検索に用いられるカテゴリの階層を定義するカテゴリグラフにおける第1の前記カテゴリと単語の概念階層を定義するシソーラスに含まれる単語とがリンクされ、前記カテゴリグラフにおける第2の前記カテゴリとコーパスに含まれる単語間の関係を定義するトピックグラフに含まれる単語とがリンクされるように、前記シソーラス、前記カテゴリグラフ及び前記トピックグラフを組み合わせて作成された、グラフ構造の関連語グラフを記憶する関連語グラフ記憶部と、第1の単語の入力を受け付ける単語入力部と、前記関連語グラフ記憶部に記憶されている前記関連語グラフにおいて、前記第1の単語から1つ以上のエッジを介して接続される第2の単語を、前記関連語として取得する関連語取得部と、前記関連語を出力する関連語出力部とを備えることとする。   According to another aspect of the present invention, there is provided a related word providing apparatus for providing related words related to an input word, the first category in the category graph defining a hierarchy of categories used for directory search, Words included in a thesaurus that defines the concept hierarchy of words are linked, and words included in a topic graph that defines a relationship between the second category in the category graph and words included in the corpus are linked. A related word graph storage unit that stores a related word graph having a graph structure, created by combining the thesaurus, the category graph, and the topic graph, a word input unit that receives an input of a first word, and the related item In the related word graph stored in the word graph storage unit, one or more edges are extracted from the first word. The second word is connected to the associated word acquisition unit that acquires, as the related word, and further comprising a related word output unit which outputs the related word.

本発明の関連語提供装置によれば、シソーラスとカテゴリグラフとをリンクし、カテゴリグラフとトピックグラフとをリンクすることにより、シソーラス、カテゴリグラフ及びトピックグラフを全て組み合わせた1つの関連語グラフを作成し、この関連語グラフから、キーワード(第1の単語)にリンクされている関連語(第2の単語)を提示することができる。したがって、関連語グラフには、一般語から構成されることの多いシソーラスと、固定名詞や具体語、専門用語などが多く含まれるトピックグラフとの両方が含まれることになるので、幅広い選択肢の中から関連語を検索することができ、キーワードが関連語グラフに含まれる可能性を高めることも可能となり、確実に関連語を提示することができる。   According to the related word providing apparatus of the present invention, the thesaurus and the category graph are linked, and the category graph and the topic graph are linked to create one related word graph combining all the thesaurus, the category graph, and the topic graph. From the related word graph, the related word (second word) linked to the keyword (first word) can be presented. Therefore, the related term graph includes both a thesaurus that is often composed of common words and a topic graph that contains many fixed nouns, specific words, technical terms, etc. The related words can be searched from, and the possibility that the keywords are included in the related word graph can be increased, so that the related words can be surely presented.

また、本発明の他の態様は、入力された単語に関連する関連語を提供する関連語提供装置であって、単語の概念階層を定義するシソーラスを記憶するシソーラス記憶部と、コーパスに含まれる単語間の関係を定義するトピックグラフを記憶するトピックグラフ記憶部と、ディレクトリ検索に用いられるカテゴリの階層を定義するカテゴリグラフを記憶するカテゴリグラフ記憶部と、前記カテゴリグラフにおける第1の前記カテゴリ及び前記シソーラスに含まれる単語がリンクされ、前記カテゴリグラフにおける第2の前記カテゴリ及び前記トピックグラフに含まれる単語がリンクされるように、前記シソーラス、前記カテゴリグラフ及び前記トピックグラフを組み合わせて、グラフ構造の前記関連語グラフを作成するグラフ作成部と、前記関連語グラフを記憶する関連語グラフ記憶部と、第1の単語の入力を受け付ける単語入力部と、前記関連語グラフ記憶部に記憶されている前記関連語グラフにおいて、前記第1の単語から1つ以上のエッジを介して接続される第2の単語を、前記関連語として取得する関連語取得部と、前記関連語を出力する関連語出力部と、を備えることとする。   Another aspect of the present invention is a related word providing device that provides related words related to an input word, and is included in a corpus and a thesaurus storage unit that stores a thesaurus that defines a concept hierarchy of words. A topic graph storage unit that stores a topic graph that defines a relationship between words, a category graph storage unit that stores a category graph that defines a hierarchy of categories used for directory search, the first category in the category graph, and A graph structure combining the thesaurus, the category graph, and the topic graph such that words included in the thesaurus are linked and words included in the second category and the topic graph in the category graph are linked A graph creation unit for creating the related word graph of In the related word graph storage unit that stores the word graph, the word input unit that receives the input of the first word, and the related word graph stored in the related word graph storage unit, one from the first word Suppose that the related word acquisition part which acquires the 2nd word connected via the above edge as the said related word, and the related word output part which outputs the said related word are provided.

本発明の関連語提供装置によれば、シソーラスとカテゴリグラフとをリンクし、カテゴリグラフとトピックグラフとをリンクすることにより、シソーラス、カテゴリグラフ及びトピックグラフを全て組み合わせた1つの関連語グラフを作成し、この関連語グラフから、キーワード(第1の単語)にリンクされている関連語(第2の単語)を提示することができる。したがって、関連語グラフには、一般語から構成されることの多いシソーラスと、固定名詞や具体語、専門用語などが多く含まれるトピックグラフとの両方が含まれることになり、この関連語グラフから、キーワード(第1の単語)にリンクされている関連語(第2の単語)を容易に提示することができる。関連語グラフには、一般語から構成されることの多いシソーラスと、固定名詞や具体語、専門用語などが多く含まれるトピックグラフとの両方が含まれることになるので、幅広い選択肢の中から関連語を検索することができ、キーワードが関連語グラフに含まれる可能性を高めることも可能となり、確実に関連語を提示することができる。   According to the related word providing apparatus of the present invention, the thesaurus and the category graph are linked, and the category graph and the topic graph are linked to create one related word graph combining all the thesaurus, the category graph, and the topic graph. From the related word graph, the related word (second word) linked to the keyword (first word) can be presented. Therefore, the related word graph includes both a thesaurus that is often composed of common words and a topic graph that contains many fixed nouns, specific words, technical terms, etc. The related word (second word) linked to the keyword (first word) can be easily presented. The related word graph includes both a thesaurus that is often composed of common words and a topic graph that contains many fixed nouns, specific words, technical terms, etc. It is possible to search for words, increase the possibility that keywords are included in the related word graph, and reliably present related words.

また、本発明の他の態様は、単語間の関連性を定義する関連語グラフを作成する方法であって、コンピュータが、単語の概念階層を定義するシソーラスをメモリに記憶し、コーパスに含まれる単語間の関係を定義するトピックグラフを前記メモリに記憶し、ディレクトリ検索に用いられるカテゴリの階層を定義するカテゴリグラフを前記メモリに記憶し、前記カテゴリグラフにおける第1の前記カテゴリ及び前記シソーラスに含まれる単語がリンクされ、前記カテゴリグラフにおける第2の前記カテゴリ及び前記トピックグラフに含まれる単語がリンクされるように、前記シソーラス、前記カテゴリグラフ及び前記トピックグラフを組み合わせて、グラフ構造の前記関連語グラフを作成することとする。   Another aspect of the present invention is a method for creating a related word graph that defines relationships between words, wherein a computer stores a thesaurus that defines a concept hierarchy of words in a memory and is included in the corpus. A topic graph defining a relationship between words is stored in the memory, a category graph defining a hierarchy of categories used for directory search is stored in the memory, and included in the first category and the thesaurus in the category graph The related words in the graph structure by combining the thesaurus, the category graph, and the topic graph so that the words included in the category graph and the second category in the category graph and the words included in the topic graph are linked. A graph will be created.

また、本発明の他の態様は、入力された単語に関連する関連語を提供する方法であって、ディレクトリ検索に用いられるカテゴリの階層を定義するカテゴリグラフにおける第1の前記カテゴリと単語の概念階層を定義するシソーラスに含まれる単語とがリンクされ、前記カテゴリグラフにおける第2の前記カテゴリとコーパスに含まれる単語間の関係を定義するトピックグラフに含まれる単語とがリンクされるように、前記シソーラス、前記カテゴリグラフ及び前記トピックグラフを組み合わせて作成された、グラフ構造の関連語グラフを記憶するコンピュータが、第1の単語の入力を受け付け、前記関連語グラフ記憶部に記憶されている前記関連語グラフにおいて、前記第1の単語から1つ以上のエッジを介して接続される第2の単語を、前記関連語として取得し、前記関連語を出力することとする。   Another aspect of the present invention is a method for providing a related word related to an input word, the concept of the first category and word in a category graph defining a hierarchy of categories used for directory search. Words included in a thesaurus that defines a hierarchy are linked, and words included in a topic graph that defines a relationship between the second category in the category graph and words included in the corpus are linked. A computer that stores a related word graph having a graph structure, created by combining the thesaurus, the category graph, and the topic graph, receives an input of a first word and stores the related word stored in the related word graph storage unit. In a word graph, a second word connected from the first word via one or more edges, Obtained as serial related word, and outputting said related words.

また、本発明の他の態様は、入力された単語に関連する関連語を提供する方法であって、コンピュータが、単語の概念階層を定義するシソーラスをメモリに記憶し、コーパスに含まれる単語間の関係を定義するトピックグラフを前記メモリに記憶し、ディレクトリ検索に用いられるカテゴリの階層を定義するカテゴリグラフを前記メモリに記憶し、前記カテゴリグラフにおける第1の前記カテゴリ及び前記シソーラスに含まれる単語がリンクされ、前記カテゴリグラフにおける第2の前記カテゴリ及び前記トピックグラフに含まれる単語がリンクされるように、前記シソーラス、前記カテゴリグラフ及び前記トピックグラフを組み合わせて、グラフ構造の前記関連語グラフを作成し、前記関連語グラフを前記メモリに記憶し、第1の単語の入力を受け付け、前記メモリに記憶されている前記関連語グラフにおいて、前記第1の単語から1つ以上のエッジを介して接続される第2の単語を、前記関連語として取得し、前記取得した関連語を出力することとする。   Another aspect of the present invention is a method for providing related words related to an input word, in which a computer stores a thesaurus defining a concept hierarchy of words in a memory, and between words included in a corpus. A topic graph that defines the relationship of each of the categories, a category graph that defines a hierarchy of categories used for a directory search is stored in the memory, and the words included in the first category and the thesaurus in the category graph The related word graph of the graph structure is combined by combining the thesaurus, the category graph, and the topic graph so that the words included in the second category and the topic graph in the category graph are linked. The related word graph is created and stored in the memory, and the first word is entered. In the related word graph stored in the memory, the second word connected from the first word via one or more edges is acquired as the related word, and the acquired relation A word is output.

また、本発明の他の態様は、単語間の関連性を定義する関連語グラフを作成するためのプログラムであって、単語間の関連性を定義する関連語グラフを作成するためのプログラムであって、コンピュータに、単語の概念階層を定義するシソーラスをメモリに記憶するステップと、コーパスに含まれる単語間の関係を定義するトピックグラフを前記メモリに記憶するステップと、ディレクトリ検索に用いられるカテゴリの階層を定義するカテゴリグラフを前記メモリに記憶するステップと、前記カテゴリグラフにおける第1の前記カテゴリ及び前記シソーラスに含まれる単語がリンクされ、前記カテゴリグラフにおける第2の前記カテゴリ及び前記トピックグラフに含まれる単語がリンクされるように、前記シソーラス、前記カテゴリグラフ及び前記トピックグラフを組み合わせて、グラフ構造の前記関連語グラフを作成するステップと、を実行させるとする。   Another aspect of the present invention is a program for creating a related word graph that defines a relationship between words, and a program for creating a related word graph that defines a relationship between words. Storing a thesaurus defining a concept hierarchy of words in a computer, storing a topic graph defining a relationship between words included in the corpus in the memory, and a category used for directory search. A category graph defining a hierarchy is stored in the memory, and the first category in the category graph and words included in the thesaurus are linked and included in the second category and the topic graph in the category graph. The thesaurus, the category graph, and the Combining the topic graph, and the step of creating the related word graph graph structure, to execution.

また、本発明の他の態様は、入力された単語に関連する関連語を提供するためのプログラムであって、コンピュータに、ディレクトリ検索に用いられるカテゴリの階層を定義するカテゴリグラフにおける第1の前記カテゴリと単語の概念階層を定義するシソーラスに含まれる単語とがリンクされ、前記カテゴリグラフにおける第2の前記カテゴリとコーパスに含まれる単語間の関係を定義するトピックグラフに含まれる単語とがリンクされるように、前記シソーラス、前記カテゴリグラフ及び前記トピックグラフを組み合わせて作成された、グラフ構造の関連語グラフをメモリに記憶するステップと、第1の単語の入力を受け付けるステップと、前記メモリに記憶されている前記関連語グラフにおいて、前記第1の単語から1つ以上のエッジを介して接続される第2の単語を、前記関連語として取得するステップと、前記関連語を出力するステップと、を実行させることとする。   According to another aspect of the present invention, there is provided a program for providing a related word related to an input word, the first graph in a category graph defining a hierarchy of categories used for directory search on a computer. A category and a word included in a thesaurus that defines a concept hierarchy of words are linked, and a second category in the category graph and a word included in a topic graph that defines a relationship between words included in the corpus are linked. Storing a related word graph of a graph structure created by combining the thesaurus, the category graph, and the topic graph in a memory, receiving an input of a first word, and storing in the memory One or more edges from the first word in the related word graph being A second word which is connected via a step of acquiring, as the related word, and be executed, and a step of outputting the related word.

また、本発明の他の態様は、入力された単語に関連する関連語を提供するためのプログラムであって、コンピュータに、単語の概念階層を定義するシソーラスをメモリに記憶するステップと、コーパスに含まれる単語間の関係を定義するトピックグラフを前記メモリに記憶するステップと、ディレクトリ検索に用いられるカテゴリの階層を定義するカテゴリグラフを前記メモリに記憶するステップと、前記カテゴリグラフにおける第1の前記カテゴリ及び前記シソーラスに含まれる単語がリンクされ、前記カテゴリグラフにおける第2の前記カテゴリ及び前記トピックグラフに含まれる単語がリンクされるように、前記シソーラス、前記カテゴリグラフ及び前記トピックグラフを組み合わせて、グラフ構造の前記関連語グラフを作成するステップと、前記関連語グラフを前記メモリに記憶するステップと、第1の単語の入力を受け付けるステップと、前記メモリに記憶されている前記関連語グラフにおいて、前記第1の単語から1つ以上のエッジを介して接続される第2の単語を、前記関連語として取得するステップと、前記取得した関連語を出力するステップと、を実行させることとする。   According to another aspect of the present invention, there is provided a program for providing a related word related to an input word, the step of storing a thesaurus defining a concept hierarchy of the word in a computer, and a corpus. Storing in the memory a topic graph defining a relationship between words contained therein, storing in the memory a category graph defining a hierarchy of categories used for directory searches, and the first in the category graph Combining the thesaurus, the category graph, and the topic graph such that words included in the category and the thesaurus are linked, and words included in the second category and the topic graph in the category graph are linked, The step of creating the related word graph of the graph structure One or more of the first word in the related word graph stored in the memory, a step of storing the related word graph in the memory, a step of receiving an input of a first word, The second word connected via the edge is acquired as the related word, and the step of outputting the acquired related word is executed.

その他本願が開示する課題やその解決方法については、発明の実施形態の欄及び図面により明らかにされる。   Other problems and solutions to be disclosed by the present application will be made clear by the embodiments of the invention and the drawings.

本発明によれば、概念階層を定義するシソーラスにコーパスに含まれる単語間の関係を定義するトピックグラフを組み合わせることができる。   According to the present invention, it is possible to combine a topic graph that defines a relationship between words included in a corpus with a thesaurus that defines a concept hierarchy.

関連語グラフ10を説明するための図である。4 is a diagram for explaining a related word graph 10. FIG. コンピュータシステムの構成例を示す図である。It is a figure which shows the structural example of a computer system. 検索装置20のハードウェア構成を示す図である。2 is a diagram illustrating a hardware configuration of a search device 20. FIG. 検索装置20のソフトウェア構成を示す図である。3 is a diagram illustrating a software configuration of the search device 20. FIG. シソーラス11の構成例を示す図である。2 is a diagram illustrating a configuration example of a thesaurus 11. FIG. トピックグラフ12の構成例を示す図である。3 is a diagram illustrating a configuration example of a topic graph 12. FIG. カテゴリグラフ13の構成例を示す図である。6 is a diagram illustrating a configuration example of a category graph 13. FIG. 関連語グラフ10の構成例を示す図である。4 is a diagram illustrating a configuration example of a related word graph 10. FIG. マージ処理の流れを示す図である。It is a figure which shows the flow of a merge process. シソーラス11に基づくノード情報及びエッジ情報を登録する処理の流れを示す図である。It is a figure which shows the flow of the process which registers the node information and edge information based on the thesaurus. トピックグラフ12に基づくノード情報及びエッジ情報を登録する処理の流れを示す図である。It is a figure which shows the flow of the process which registers the node information and edge information based on the topic graph. カテゴリグラフ13に基づくノード情報及びエッジ情報を登録する処理の流れを示す図である。It is a figure which shows the flow of the process which registers the node information and edge information based on the category graph. カテゴリグラフ13に基づくエッジの追加処理の流れを示す図である。FIG. 10 is a diagram showing a flow of edge addition processing based on a category graph 13. シソーラス11とトピックグラフ12とがリンクされた状態を示す図である。It is a figure which shows the state with which the thesaurus 11 and the topic graph 12 were linked. キーワードを入力する画面40の一例を示す図である。It is a figure which shows an example of the screen 40 which inputs a keyword. キーワードが1つのトークンのみから構成されている場合の関連語の取得処理の流れを示す図である。It is a figure which shows the flow of an acquisition process of a related word when a keyword is comprised only from one token. 同義語を説明するための図である。It is a figure for demonstrating a synonym. 同義語の取得処理の流れを示す図である。It is a figure which shows the flow of an acquisition process of a synonym. 下位語を説明するための図である。It is a figure for demonstrating a low-order word. 下位語を取得する処理の流れを示す図である。It is a figure which shows the flow of the process which acquires a low-order word. 下位連想語を説明するための図である。It is a figure for demonstrating a lower association word. 下位連想語を取得する処理の流れを示す図である。It is a figure which shows the flow of the process which acquires a lower association word. 上位連想語を説明するための図である。It is a figure for demonstrating a high-order association word. 上位連想語を取得する処理の流れを示す図である。It is a figure which shows the flow of the process which acquires a high-order association word. 同位連想語を説明するための図である。It is a figure for demonstrating an isotopic association word. 同位連想語を取得する処理の流れを示す図である。It is a figure which shows the flow of the process which acquires a peer association word. キーワードが複数のトークンから構成されている場合の関連語の取得処理の流れを示す図である。It is a figure which shows the flow of the acquisition process of a related word when a keyword is comprised from the some token. 共通同義語を説明するための図である。It is a figure for demonstrating a common synonym. 共通同義語を取得する処理の流れを示す図である。It is a figure which shows the flow of the process which acquires a common synonym. 共通下位語を説明するための図である。It is a figure for demonstrating a common low-order word. 共通下位語を取得する処理の流れを示す図である。It is a figure which shows the flow of a process which acquires a common low-order word. 仲介語を説明するための図である。It is a figure for demonstrating a mediation word. 仲介語を取得する処理の流れを示す図である。It is a figure which shows the flow of the process which acquires a mediation word. 最適仲介語を説明するための図である。It is a figure for demonstrating the optimal mediation word. 最適仲介語を取得する処理の流れを示す図である。It is a figure which shows the flow of the process which acquires the optimal mediation word. 検索結果及び関連語を出力する画面41の一例を示す図である。It is a figure which shows an example of the screen 41 which outputs a search result and a related word. 検索処理に用いられる関連語グラフ10の一部を示す図である。It is a figure which shows a part of related word graph 10 used for a search process.

以下、本実施形態に係る検索装置20について説明する。本実施形態の検索装置20は、検索要求(「クエリ」と呼ばれる。)に応じて、クエリに設定されている検索キーワードに対応する情報を検索するとともに、検索キーワードに関連する単語(以下、「関連語」という。)を提供する、いわゆるクエリサジェッションを行う。また、本実施形態の検索装置20は、クエリサジェッションに用いられる、単語間の関連性を管理する辞書(以下、「関連語グラフ10」という。)を作成する。   Hereinafter, the search device 20 according to the present embodiment will be described. In response to a search request (referred to as “query”), the search device 20 according to the present embodiment searches for information corresponding to a search keyword set in the query, and a word related to the search keyword (hereinafter, “ So-called query suggestion is provided. In addition, the search device 20 of the present embodiment creates a dictionary (hereinafter referred to as “related word graph 10”) that manages the relationship between words, which is used for query suggestion.

==関連語グラフ10==
関連語グラフ10の作成は、単語の概念階層(単語間における上位概念及び下位概念の関係)を定義するシソーラス11に、Webページや新聞記事などのコーパスから作成された単語間の関係を定義するグラフ(以下、「トピックグラフ12」という。)を接続する(マージする)ことによって行われる。通常、シソーラス11は主に一般語から構成され、コーパスから作成されるトピックグラフ12は、一般語よりも具体語や固有名詞など(「トピック」と呼ばれる。)を多く含む。したがって、シソーラス11とトピックグラフ12とでは重複する単語が少ないため、単純にシソーラス11にトピックグラフ12をマージすることは難しい。そこで、本実施形態の検索装置20では、Webページのディレクトリ検索に用いられるカテゴリの階層を定義した有向グラフ(以下、「カテゴリグラフ13」という。)を利用して、シソーラス11にトピックグラフ12をマージし、関連語グラフ10を作成する。図1は関連語グラフ10を説明するための図である。また、
シソーラス11は、有向グラフにより概念の上下関係を管理するとともに、各概念を表現するための単語を管理する。シソーラス11では、概念(「クラス」とも呼ばれる。)は数値として管理される。概念は例えば「#3」などの値とすることができる。概念を表現する単語(「インスタンス」と呼ばれる。)は文字列として管理される。インスタンスは例えば「音楽」などの文字列とすることができる。図1では、シソーラス11により管理される概念を黒三角で表し、単語を白三角で表す。ノード間のエッジ(「リンク」とも呼ばれる。)のうち、上下関係は実線の矢印で表し、概念とインスタンスとの関係は一点鎖線の矢印で表す。シソーラス11を構成するグラフ構造において、インスタンスは、ノードのうち、末端の出て行くエッジのないノード(「リーフノード」または単に「リーフ」と呼ばれる。)である。概念はリーフノード以外のノードとなる。以下、リーフノード以外のノードを「概念ノード」ともいう。図1の例では、「#1」のノード111及び「#3」のノード112はともに概念であり、ノード112の上位概念がノード111である。「音」のリーフノード114は、ノード111のインスタンスである。
== Related Word Graph 10 ==
The related word graph 10 is created by defining a relationship between words created from a corpus such as a Web page or a newspaper article in a thesaurus 11 that defines a concept hierarchy of words (a relationship between upper and lower concepts between words). This is done by connecting (merging) graphs (hereinafter referred to as “topic graph 12”). Usually, the thesaurus 11 is mainly composed of general words, and the topic graph 12 created from the corpus includes more specific words and proper nouns (referred to as “topics”) than general words. Therefore, since there are few overlapping words in the thesaurus 11 and the topic graph 12, it is difficult to simply merge the topic graph 12 into the thesaurus 11. Therefore, in the search device 20 of the present embodiment, the topic graph 12 is merged with the thesaurus 11 by using a directed graph (hereinafter referred to as “category graph 13”) that defines a category hierarchy used for Web page directory search. Then, the related word graph 10 is created. FIG. 1 is a diagram for explaining a related word graph 10. Also,
The thesaurus 11 manages the vertical relationship of concepts using a directed graph and manages words for expressing each concept. In the thesaurus 11, the concept (also called “class”) is managed as a numerical value. The concept can be a value such as “# 3”. A word expressing a concept (referred to as an “instance”) is managed as a character string. The instance may be a character string such as “music”. In FIG. 1, concepts managed by the thesaurus 11 are represented by black triangles, and words are represented by white triangles. Of the edges (also referred to as “links”) between nodes, the vertical relationship is represented by solid arrows, and the relationship between concepts and instances is represented by dashed-dotted arrows. In the graph structure constituting the thesaurus 11, an instance is a node (referred to as a “leaf node” or simply “leaf”) having no outgoing edge at the end. The concept is a node other than a leaf node. Hereinafter, nodes other than leaf nodes are also referred to as “concept nodes”. In the example of FIG. 1, the node 111 of “# 1” and the node 112 of “# 3” are both concepts, and the superordinate concept of the node 112 is the node 111. The “sound” leaf node 114 is an instance of the node 111.

カテゴリグラフ13では、有向グラフによりカテゴリ名の階層が定義され、カテゴリ名が各ノードとなる。図1では、カテゴリグラフ13におけるカテゴリの名称(以下、「カテゴリ名」という。)を正方形で表す。図1の例では、「ロック」のカテゴリ名に対応するノード131から「ロックアーティスト」のカテゴリ名に対応するノード132にエッジが向けられていることから、「ロック」は「ロックアーティスト」の上位カテゴリになることが分かる。カテゴリグラフ13を構成するノードは、シソーラス11を構成するノードと区別するべく「リダイレクト」とも呼ばれる。   In the category graph 13, a hierarchy of category names is defined by the directed graph, and the category name becomes each node. In FIG. 1, a category name (hereinafter referred to as “category name”) in the category graph 13 is represented by a square. In the example of FIG. 1, since the edge is directed from the node 131 corresponding to the category name “Rock” to the node 132 corresponding to the category name “Rock Artist”, “Rock” is higher than “Rock Artist”. It turns out that it becomes a category. The nodes that make up the category graph 13 are also called “redirects” to distinguish them from the nodes that make up the thesaurus 11.

トピックグラフ12は、有向グラフによりトピック間の関係性を定義する。トピックグラフ12においては単語がノードになる。図1では、トピックグラフ12におけるトピックを菱形で表す。トピックグラフ12における単語間の関係性は、例えば主語と述語の関係、単語間の距離、同一の文書に共存する頻度など、コーパスを分析して得られる単語間の関係であればよい。このように上下関係のない関連性は、図1では破線の矢印で表す。図1の例では、トピック121からトピック122に破線の矢印のリンク123が描画されており、「ロックアーティスト」から「○山×夫」に向けて関係性があることが分かる。トピックグラフ12を構成するノードも、シソーラス11のノードと区別するために「リダイレクト」とも呼ばれる。   The topic graph 12 defines the relationship between topics by a directed graph. In the topic graph 12, words become nodes. In FIG. 1, topics in the topic graph 12 are represented by diamonds. The relationship between words in the topic graph 12 may be a relationship between words obtained by analyzing a corpus such as a relationship between a subject and a predicate, a distance between words, and a frequency of coexistence in the same document. Such relevance that does not have a vertical relationship is represented by a dashed arrow in FIG. In the example of FIG. 1, a dashed arrow link 123 is drawn from the topic 121 to the topic 122, and it can be seen that there is a relationship from “Rock Artist” to “○ Mountain × Huo”. The nodes constituting the topic graph 12 are also referred to as “redirects” in order to distinguish them from the thesaurus 11 nodes.

後述するように、シソーラス11に含まれるノードの単語と、カテゴリグラフ13に含まれるノードのカテゴリ名とが一致した場合、シソーラス11のノードから、カテゴリグラフのノードの下位のノードに対してエッジが作成される。例えば図1において、図1において、シソーラス11の「ロック」のリーフノード116とカテゴリグラフ13の「ロック」のリダイレクト131とが一致しており、この場合リーフノード116から、リダイレクト131の下位に接続されているリダイレクト132にエッジ141が作成され、同様に、リーフノード116から、リダイレクト131の下位に接続されている他のリダイレクトにもエッジが作成される。   As will be described later, when the word of the node included in the thesaurus 11 and the category name of the node included in the category graph 13 match, an edge is formed from the node of the thesaurus 11 to the node below the node of the category graph. Created. For example, in FIG. 1, the “lock” leaf node 116 of the thesaurus 11 and the “lock” redirect 131 of the category graph 13 in FIG. 1 match, and in this case, the leaf node 116 is connected to the subordinate of the redirect 131. An edge 141 is created in the redirect 132 that has been redirected, and similarly, an edge is created from the leaf node 116 to another redirect connected to the lower level of the redirect 131.

また、カテゴリグラフに含まれるノードのカテゴリ名と、トピックグラフに含まれるノードの単語とが一致した場合、当該トピックグラフ12のノードからエッジで接続されている先のノードに対し、カテゴリグラフ13のノードから新たなエッジが作成される。例えば図1において、カテゴリグラフ13の「ロックアーティスト」のリダイレクト132と、トピックグラフ12の「ロックアーティスト」のリダイレクト121とが一致し、リダイレクト121からエッジで接続されている先のリダイレクト122に対して、リダイレクト132から新たなエッジ142が作成される。   Further, when the category name of the node included in the category graph matches the word of the node included in the topic graph, the category graph 13 is connected to the node connected by the edge from the node of the topic graph 12. A new edge is created from the node. For example, in FIG. 1, the redirect 132 of “Rock Artist” in the category graph 13 matches the redirect 121 of “Rock Artist” in the topic graph 12, and the redirect 121 is connected to the redirect 122 connected at the edge from the redirect 121. , A new edge 142 is created from the redirect 132.

このようにして、シソーラス11に含まれていた「ロック」のノード116から、トピックグラフ12の「ロックアーティスト」のノード121や「○山×夫」のノード122までがエッジで接続されるので、シソーラス11とトピックグラフ12とがカテゴリグラフ13を介してマージされることになる。   In this way, the “rock” node 116 included in the thesaurus 11 to the “rock artist” node 121 and the “mountain × husband” node 122 in the topic graph 12 are connected by edges. The thesaurus 11 and the topic graph 12 are merged via the category graph 13.

さらに、本実施形態では、後述するようにシソーラス11に含まれている「ロック」のノード116と、リダイレクト121との間にエッジ143を作成することにより、シソーラス11にトピックグラフ12を直接マージさせるようにもしている。   Further, in the present embodiment, as will be described later, the topic graph 12 is directly merged into the thesaurus 11 by creating an edge 143 between the “lock” node 116 included in the thesaurus 11 and the redirect 121. I am also doing so.

作成された関連語グラフ10は、キーワードに関連する単語を関連語として提供するクエリサジェッションに用いられる。キーワードは複数の単語から構成される句であってもよい。キーワードを構成する各単語は「トークン」と呼ばれる。後述するように、検索装置20は、トークンと一致するノードを関連語グラフ10から検索し、検索したノードの親、子、兄弟、祖先、子孫などのノードを関連語として出力する。   The created related word graph 10 is used for query suggestion that provides a word related to a keyword as a related word. The keyword may be a phrase composed of a plurality of words. Each word that makes up a keyword is called a “token”. As will be described later, the search device 20 searches the related word graph 10 for a node that matches the token, and outputs nodes such as the parent, child, sibling, ancestor, and descendant of the searched node as related words.

==システム構成==
以下、上記のような関連語グラフ10を作成する検索装置20を含むコンピュータシステムについて説明する。図2は、本実施形態に係る検索装置20を含むコンピュータシステムの構成例を示す図である。本実施形態では、検索装置20は通信ネットワーク21に接続され、端末22からキーワードを含むクエリを受信し、受信したクエリに含まれるキーワードに対応する文書を検索する。端末22は、例えば、パーソナルコンピュータや携帯電話端末などのコンピュータであり、通信ネットワーク21は例えばインターネットやローカルエリアネットワークなどである。また、検索装置20は、検索結果を応答する際に、キーワードに関連する関連語を提示する、いわゆるキーワードのサジェスト機能を実現する。
== System configuration ==
Hereinafter, a computer system including the search device 20 that creates the related term graph 10 as described above will be described. FIG. 2 is a diagram illustrating a configuration example of a computer system including the search device 20 according to the present embodiment. In the present embodiment, the search device 20 is connected to the communication network 21, receives a query including a keyword from the terminal 22, and searches for a document corresponding to the keyword included in the received query. The terminal 22 is, for example, a computer such as a personal computer or a mobile phone terminal, and the communication network 21 is, for example, the Internet or a local area network. Further, the search device 20 realizes a so-called keyword suggestion function that presents related words related to a keyword when responding to a search result.

図3は、検索装置20のハードウェア構成を示す図である。検索装置20は、CPU201、メモリ202、記憶装置203、通信インタフェース204、入力装置205、出力装置206を備える。記憶装置203は、各種のデータやプログラムを記憶する、例えばハードディスクドライブやフラッシュメモリなどである。CPU201は、記憶装置203に記憶されるプログラムをメモリ202に読み出して実行することにより各種の機能を実現する。通信インタフェース204は、通信ネットワーク21に接続するための、例えば、イーサネット(登録商標)に接続するためのアダプタや、公衆電話回線網に接続するためのモデム、携帯電話回線網に接続するための無線通信機などのインタフェースである。入力装置205は、データの入力を受け付ける、例えばキーボードやマウス、マイクロフォンなどである。出力装置206は、データを出力する、例えばディスプレイやプリンタ、スピーカなどである。   FIG. 3 is a diagram illustrating a hardware configuration of the search device 20. The search device 20 includes a CPU 201, a memory 202, a storage device 203, a communication interface 204, an input device 205, and an output device 206. The storage device 203 is, for example, a hard disk drive or a flash memory that stores various data and programs. The CPU 201 implements various functions by reading a program stored in the storage device 203 into the memory 202 and executing it. The communication interface 204 is an adapter for connecting to the communication network 21, for example, an adapter for connecting to Ethernet (registered trademark), a modem for connecting to a public telephone line network, and a wireless for connecting to a mobile phone line network. It is an interface for communication equipment. The input device 205 is, for example, a keyboard, a mouse, a microphone, or the like that accepts data input. The output device 206 is, for example, a display, a printer, or a speaker that outputs data.

図4は、検索装置20のソフトウェア構成を示す図である。検索装置20は、データ取得部211、グラフマージ部212、検索クエリ受信部213、検索処理部214、関連語取得部215、関連語出力部216、シソーラスデータベース231、トピックグラフデータベース232、カテゴリグラフデータベース233、関連語グラフデータベース234を備えている。なお、データ取得部211、グラフマージ部212、検索クエリ受信部213、検索処理部214、関連語取得部215、関連語出力部216は、CPU201が記憶装置203に記憶されているプログラムをメモリに読み出すことにより実現され、シソーラスデータベース231、トピックグラフデータベース232、カテゴリグラフデータベース233、関連語グラフデータベース234は、メモリ202や記憶装置203が提供する記憶領域の一部として実現される。   FIG. 4 is a diagram illustrating a software configuration of the search device 20. The search device 20 includes a data acquisition unit 211, a graph merge unit 212, a search query reception unit 213, a search processing unit 214, a related word acquisition unit 215, a related word output unit 216, a thesaurus database 231, a topic graph database 232, and a category graph database. 233 and a related word graph database 234. The data acquisition unit 211, the graph merge unit 212, the search query reception unit 213, the search processing unit 214, the related word acquisition unit 215, and the related word output unit 216 store programs stored in the storage device 203 in the memory by the CPU 201. The thesaurus database 231, the topic graph database 232, the category graph database 233, and the related term graph database 234 are realized as a part of a storage area provided by the memory 202 or the storage device 203.

シソーラスデータベース231は、シソーラス11を記憶する。図5は、シソーラスデータベース231に記憶されるシソーラス11の構成例を示す図である。シソーラスデータベース231において、シソーラス11は、グラフを構成するノードに関する情報(以下、「ノード情報」という。)と、ノード間を接続するエッジに関する情報(以下、「エッジ情報」という。)とを含む。シソーラス11に含まれるノード情報には、ノードを識別する情報(以下、「ノードID」という。)と、ノードに対応する単語(名称)と、ノードの種類とが含まれる。ノードの種類は「ノード」又は「リーフ」であり、概念ノードに対応するノード情報には種類に「ノード」が設定され、リーフノードに対応するノード情報には種類に「リーフ」が設定される。概念ノードに対応するノード情報には、概念に割り当てられた一意な値が名称に設定される。本実施形態では、「#」にノードIDを追加した文字列が名称に設定されるものとする。シソーラス11に含まれるエッジ情報には、エッジが接続する2つのノードのうち、上位のノードを示すノードID(ID)及び下位のノードを示すノードID(子ID)、エッジに割り当てられた重み、ならびにエッジが接続する2つのノード間の関係が含まれる。エッジの方向は、エッジ情報のIDが示すノードから、エッジ情報の子IDが示すノードに向く。エッジ情報の関係は「インスタンス」又は「下位」である。例えば図1の例において「#1」の概念ノード111から「音」のリーフノード114へのインスタンス関係となるエッジ115については「インスタンス」が設定される。また、例えば図1の例において「#1」の概念ノード111から「#3」の概念ノード112のように、2つの概念ノード間の階層を示すエッジ113については「下位」が設定される。   The thesaurus database 231 stores the thesaurus 11. FIG. 5 is a diagram illustrating a configuration example of the thesaurus 11 stored in the thesaurus database 231. In the thesaurus database 231, the thesaurus 11 includes information relating to nodes constituting the graph (hereinafter referred to as “node information”) and information relating to edges connecting the nodes (hereinafter referred to as “edge information”). The node information included in the thesaurus 11 includes information for identifying the node (hereinafter referred to as “node ID”), a word (name) corresponding to the node, and the type of the node. The node type is “node” or “leaf”, the node information corresponding to the concept node is set to “node”, and the node information corresponding to the leaf node is set to “leaf”. . In the node information corresponding to the concept node, a unique value assigned to the concept is set as the name. In the present embodiment, it is assumed that a character string obtained by adding a node ID to “#” is set as the name. Among the two nodes connected to the edge, the edge information included in the thesaurus 11 includes a node ID (ID) indicating a higher node and a node ID (child ID) indicating a lower node, a weight assigned to the edge, As well as the relationship between the two nodes to which the edge connects. The direction of the edge is from the node indicated by the edge information ID to the node indicated by the child ID of the edge information. The relationship of edge information is “instance” or “lower”. For example, in the example of FIG. 1, “instance” is set for the edge 115 having an instance relationship from the concept node 111 of “# 1” to the leaf node 114 of “sound”. For example, in the example of FIG. 1, “lower” is set for the edge 113 indicating the hierarchy between two concept nodes, such as the concept node 111 of “# 1” to the concept node 112 of “# 3”.

トピックグラフデータベース232はトピックグラフ12を記憶する。図6は、トピックグラフデータベース232に記憶されるトピックグラフ12の構成例を示す図である。トピックグラフデータベース232において、トピックグラフ12は、シソーラス11と同様に、グラフを構成する各ノードについてのノード情報と、2つのノード間を接続する各エッジについてのエッジ情報とを含む。トピックグラフ12に含まれるノード情報には、ノードを示すノードIDと、ノードに対応する単語(名称)のみが含まれる。例えば図1の例において、「ロックアーティスト」のリダイレクト121について、リダイレクト121を示すノードIDがID欄に設定され、「ロックアーティスト」が名称欄に設定されたノード情報がトピックグラフデータベース232に登録される。トピックグラフ12に含まれるエッジ情報には、第1のノードから第2のノードに向けてのエッジについて、第1のノードを示すIDと、第2のノードを示す子IDと、エッジに割り当ててられている重みとが含まれる。例えば図1の例において、「ロックアーティスト」のリダイレクト121から「○山×夫」のリダイレクト122へのエッジ123について、リダイレクト121を示すノードIDがID欄に設定され、リダイレクト122を示すノードIDが子ID欄に設定され、コーパスを解析した際に割り当てられたエッジ123の重みが重み欄に設定されたエッジ情報が作成され、このエッジ情報がトピックグラフデータベース232に登録される。   The topic graph database 232 stores the topic graph 12. FIG. 6 is a diagram illustrating a configuration example of the topic graph 12 stored in the topic graph database 232. In the topic graph database 232, similarly to the thesaurus 11, the topic graph 12 includes node information for each node constituting the graph and edge information for each edge connecting the two nodes. The node information included in the topic graph 12 includes only a node ID indicating a node and a word (name) corresponding to the node. For example, in the example of FIG. 1, for the redirect 121 of “Rock Artist”, the node information indicating the redirect 121 is set in the ID column, and the node information in which “Rock Artist” is set in the name column is registered in the topic graph database 232. The The edge information included in the topic graph 12 includes an ID indicating the first node, a child ID indicating the second node, and an edge assigned to the edge from the first node toward the second node. Weights included. For example, in the example of FIG. 1, the node ID indicating the redirect 121 is set in the ID column for the edge 123 from the redirect 121 of “Rock Artist” to the redirect 122 of “Oyama × Huo”, and the node ID indicating the redirect 122 is Edge information is created in which the weight of the edge 123 set in the child ID column and assigned when the corpus is analyzed is set in the weight column, and this edge information is registered in the topic graph database 232.

カテゴリグラフデータベース233はカテゴリグラフ13を記憶する。図7は、カテゴリグラフデータベース233に記憶されるカテゴリグラフ13の構成例を示す図である。カテゴリグラフ13は、シソーラス11及びトピックグラフ12と同様に、グラフを構成する各ノードについてのノード情報と、2つのノード間を接続する各エッジについてのエッジ情報とを含む。カテゴリグラフ13に含まれるノード情報には、ノードを示すノードIDと、カテゴリ名(名称)とが含まれる。例えば図1の例において、「ロック」のノード131について、ノード131を示すノードIDがID欄に設定され、「ロック」が名称欄に設定されたノード情報がカテゴリデータベース233に登録される。カテゴリグラフ13に含まれるエッジ情報には、エッジが接続する2つのカテゴリのうち、上位のカテゴリを示すIDと、下位のカテゴリを示す子IDとが含まれる。例えば図1の例において、「ロック」のノード131から「ロックアーティスト」のノード132へのエッジ133について、ノード131を示すノードIDがID欄に設定され、ノード132を示すノードIDが子ID欄に設定されたエッジ情報がカテゴリグラフデータベース233に登録される。   The category graph database 233 stores the category graph 13. FIG. 7 is a diagram illustrating a configuration example of the category graph 13 stored in the category graph database 233. Like the thesaurus 11 and the topic graph 12, the category graph 13 includes node information for each node constituting the graph and edge information for each edge connecting the two nodes. The node information included in the category graph 13 includes a node ID indicating a node and a category name (name). For example, in the example of FIG. 1, the node ID indicating the node 131 is set in the ID column and the node information in which “lock” is set in the name column is registered in the category database 233. The edge information included in the category graph 13 includes an ID indicating a higher category and a child ID indicating a lower category among the two categories connected by the edge. For example, in the example of FIG. 1, for the edge 133 from the “rock” node 131 to the “rock artist” node 132, the node ID indicating the node 131 is set in the ID column, and the node ID indicating the node 132 is the child ID column. Is registered in the category graph database 233.

データ取得部211は、シソーラスデータベース231、トピックグラフデータベース232及びカテゴリグラフデータベース233から、ノード情報及びエッジ情報を取得する。なお、本実施形態では、シソーラスデータベース231、トピックグラフデータベース232及びカテゴリグラフデータベース233は全て検索装置20が備えているものとしたが、別体のデータベースサーバに管理させるようにしてもよい。また、例えば、データ取得部211が、シソーラス11の編集者のコンピュータ、コーパスの分析者のコンピュータ、ディレクトリ検索を行う検索サーバなどにアクセスして、グラフ構造のデータを取得し、取得したグラフ構造のデータに基づいてノード情報及びエッジ情報を作成するようにしてもよい。   The data acquisition unit 211 acquires node information and edge information from the thesaurus database 231, topic graph database 232, and category graph database 233. In the present embodiment, the thesaurus database 231, the topic graph database 232, and the category graph database 233 are all included in the search device 20, but may be managed by a separate database server. Further, for example, the data acquisition unit 211 accesses the editor computer of the thesaurus 11, the computer of the corpus analyst, the search server that performs directory search, etc., acquires the data of the graph structure, and acquires the data of the acquired graph structure Node information and edge information may be created based on the data.

関連語グラフデータベース234は、関連語グラフ10を記憶する。図8は、関連語グラフデータベース234に記憶される関連語グラフ10の構成例を示す図である。関連語グラフ10は、上述したシソーラス11、トピックグラフ12及びカテゴリグラフ13と同様に、グラフを構成する各ノードについてのノード情報と、2つのノード間を接続するエッジについてのエッジ情報とを含む。関連語グラフ10に含まれるノード情報には、ノードを示すノードIDと、名称、及びノードの種類が含まれる。ノード情報の種類欄には、シソーラス11に含まれるノードについては「ノード」又は「リーフ」が設定され、トピックグラフ12及びカテゴリグラフ13に含まれるノードについては「リダイレクト」が設定される。関連語グラフ10に含まれるエッジ情報には、有向のエッジの接続元となるノードを示すID、接続先のノードを示す子ID、エッジに割り当てられた重み、及びエッジが接続する2つのノードの関係が含まれる。エッジ情報の関係には、「インスタンス」「下位」又は「関連」のいずれかが設定される。   The related word graph database 234 stores the related word graph 10. FIG. 8 is a diagram illustrating a configuration example of the related word graph 10 stored in the related word graph database 234. Similar to the thesaurus 11, topic graph 12, and category graph 13 described above, the related term graph 10 includes node information about each node constituting the graph and edge information about an edge connecting two nodes. The node information included in the related word graph 10 includes a node ID indicating a node, a name, and a node type. In the node information type column, “node” or “leaf” is set for the nodes included in the thesaurus 11, and “redirect” is set for the nodes included in the topic graph 12 and the category graph 13. The edge information included in the related word graph 10 includes an ID indicating a connection source node of a directed edge, a child ID indicating a connection destination node, a weight assigned to the edge, and two nodes to which the edge is connected. The relationship is included. Either “instance”, “subordinate” or “related” is set in the relationship of the edge information.

グラフマージ部212は、カテゴリグラフ13を利用してシソーラス11にトピックグラフ12をマージする。本実施形態では、グラフマージ部212は、シソーラス11のリーフノードとカテゴリグラフ13のノードとを結ぶエッジを作成し、カテゴリグラフ13のノードとトピックグラフ12のノードとを結ぶエッジを作成し、さらにシソーラス11のリーフノードとトピックグラフ12のノードとを結ぶエッジを作成することにより、シソーラス11にトピックグラフ12をマージして関連語グラフ10を作成する。なお、グラフマージ部212によるマージ処理の詳細については後述する。グラフマージ部212は、作成した関連語グラフ10を関連語グラフデータベース234に登録する。   The graph merge unit 212 merges the topic graph 12 with the thesaurus 11 using the category graph 13. In the present embodiment, the graph merging unit 212 creates an edge that connects the leaf node of the thesaurus 11 and the node of the category graph 13, creates an edge that connects the node of the category graph 13 and the node of the topic graph 12, By creating an edge that connects the leaf node of the thesaurus 11 and the node of the topic graph 12, the topic graph 12 is merged with the thesaurus 11 to create the related word graph 10. Details of the merge processing by the graph merge unit 212 will be described later. The graph merge unit 212 registers the created related word graph 10 in the related word graph database 234.

検索クエリ受信部213は、端末22から送信されるクエリを受信する。上述したように、クエリにはキーワードが含まれる。   The search query receiving unit 213 receives a query transmitted from the terminal 22. As described above, the query includes a keyword.

検索処理部214は、クエリに含まれているキーワードに対応する文書の検索を行う。なお、検索処理部214による文書の検索処理は、一般的なサーチエンジンによる検索処理であるものとする。   The search processing unit 214 searches for a document corresponding to the keyword included in the query. The document search process by the search processing unit 214 is assumed to be a search process by a general search engine.

関連語取得部215は、クエリに含まれるキーワードに対応する関連語を関連語グラフデータベース234に記憶されている関連語グラフ10から取得する。なお、関連語取得部215による関連語の取得処理の詳細については後述する。   The related word acquisition unit 215 acquires a related word corresponding to the keyword included in the query from the related word graph 10 stored in the related word graph database 234. Details of related word acquisition processing by the related word acquisition unit 215 will be described later.

関連語出力部216は、関連語取得部215が取得した関連語を出力する。本実施形態では、関連語出力部216は、検索処理部214による検索の処理結果とともに、関連語を端末1に送信するものとする。   The related word output unit 216 outputs the related word acquired by the related word acquisition unit 215. In the present embodiment, it is assumed that the related word output unit 216 transmits the related word to the terminal 1 together with the search processing result by the search processing unit 214.

==マージ処理==
以下、カテゴリグラフ13を用いてシソーラス11にトピックグラフ12をマージする処理について説明する。
図9は、マージ処理の流れを示す図である。グラフマージ部212は、シソーラス11に基づいてノード情報及びエッジ情報を関連語グラフデータベース234に登録し(S301)、トピックグラフ12に基づいてノード情報及びエッジ情報を関連語グラフデータベース234に登録し(S302)、カテゴリグラフ13に基づいてノード情報及びエッジ情報を関連語グラフデータベース234に登録することにより(S303)、関連語グラフ10が関連語グラフデータベース234に登録される。
== Merge processing ==
Hereinafter, the process of merging the topic graph 12 with the thesaurus 11 using the category graph 13 will be described.
FIG. 9 is a diagram showing the flow of merge processing. The graph merge unit 212 registers node information and edge information in the related word graph database 234 based on the thesaurus 11 (S301), and registers node information and edge information in the related word graph database 234 based on the topic graph 12 ( In S302, by registering node information and edge information in the related word graph database 234 based on the category graph 13 (S303), the related word graph 10 is registered in the related word graph database 234.

図10は、シソーラス11に基づくノード情報及びエッジ情報を登録する処理の流れを示す図である。グラフマージ部212は、シソーラスデータベース231からノード情報を読み出し(S321)、シソーラスデータベース231からエッジ情報を読み出し(S322)、読み出したノード情報及びエッジ情報をそのまま関連語グラフデータベース234に登録する(S323)。すなわち、シソーラスデータベース231に登録されていたノード情報及びエッジ情報が関連語グラフデータベース234に登録される。   FIG. 10 is a diagram showing a flow of processing for registering node information and edge information based on the thesaurus 11. The graph merge unit 212 reads node information from the thesaurus database 231 (S321), reads edge information from the thesaurus database 231 (S322), and registers the read node information and edge information in the related word graph database 234 as they are (S323). . That is, the node information and edge information registered in the thesaurus database 231 are registered in the related word graph database 234.

図11は、トピックグラフ12に基づくノード情報及びエッジ情報を登録する処理の流れを示す図である。
グラフマージ部212は、関連語グラフデータベース234に登録されているノード情報のIDの最大値をxとする(S341)。グラフマージ部212は、トピックグラフデータベース232からエッジ情報を読み出してエッジリストとし(S342)、エッジリストに含まれる各エッジ情報について、エッジ情報のID及び子IDにそれぞれxを加算するとともに(S343)、エッジ情報に「関連」の関係を追加する(S344)。グラフマージ部212は、トピックグラフデータベース232からノード情報を読み出してノードリストとし(S345)、ノードリストに含まれる各ノード情報について、ノード情報のIDにxを加算するとともに(S346)、ノード情報に「リダイレクト」の種類を追加する(S347)。
FIG. 11 is a diagram showing a flow of processing for registering node information and edge information based on the topic graph 12.
The graph merge unit 212 sets x as the maximum value of the ID of the node information registered in the related word graph database 234 (S341). The graph merge unit 212 reads out edge information from the topic graph database 232 to obtain an edge list (S342), and adds x to the edge information ID and child ID for each edge information included in the edge list (S343). Then, the “related” relationship is added to the edge information (S344). The graph merge unit 212 reads the node information from the topic graph database 232 to obtain a node list (S345), adds x to the node information ID for each node information included in the node list (S346), and adds the node information to the node information. The type of “redirect” is added (S347).

グラフマージ部212は、ノードリストに含まれている各ノード情報について以下の処理を行う。グラフマージ部212は、ノード情報をNとし(S348)、Nの名称と一致するノード情報を一致情報として関連語グラフデータベース234から検索する(S349)。一致情報があれば(S350:YES)、グラフマージ部212は、IDがNのIDと一致するエッジ情報Eをエッジリストから検索し(S351)、検索したエッジ情報Eのそれぞれについて、一致情報に含まれるIDと、Eに含まれる子ID、Eに含まれる重み、及び「下位」の関係を含むエッジ情報を作成して関連語グラフデータベース234に書き込む(S352)。   The graph merge unit 212 performs the following processing on each node information included in the node list. The graph merge unit 212 sets the node information to N (S348), and searches the related word graph database 234 for node information that matches the name of N as matching information (S349). If there is matching information (S350: YES), the graph merging unit 212 searches the edge list for edge information E that matches the ID of ID N (S351), and sets each of the searched edge information E as matching information. Edge information including an ID included, a child ID included in E, a weight included in E, and a “lower” relationship is created and written into the related word graph database 234 (S352).

グラフマージ部212は、以上の処理を各ノード情報について行った後、ノードリストに含まれるノード情報を関連語グラフデータベース234に書き込み(S353)、エッジリストに含まれるエッジ情報を関連語グラフデータベース234に書き込む(S354)。   After performing the above processing for each node information, the graph merge unit 212 writes the node information included in the node list to the related word graph database 234 (S353), and the edge information included in the edge list is related word graph database 234. (S354).

以上のようにして、トピックグラフデータベース232に記憶されているノード情報及びエッジ情報が関連語グラフデータベース234に登録される。また、トピックがシソーラス11のリーフノードとしても存在している場合は、シソーラス11のリーフノードから、そのトピックに関連する他のトピックに向けて「下位」の関係を示すエッジ情報が関連語グラフデータベース234に登録される。   As described above, the node information and edge information stored in the topic graph database 232 are registered in the related word graph database 234. If the topic also exists as a leaf node of the thesaurus 11, edge information indicating a “lower” relationship from the leaf node of the thesaurus 11 toward another topic related to the topic is related word graph database. 234 is registered.

図12は、カテゴリグラフ13に基づくノード情報及びエッジ情報を登録する処理の流れを示す図である。
グラフマージ部212は、関連語グラフデータベース234に登録されているノード情報のIDの最大値をxとし(S361)、カテゴリグラフデータベース233からエッジ情報を読み出してエッジリストとし(S362)、エッジリストに含まれる各エッジ情報について、エッジ情報のID及び子IDのそれぞれにxを加算するとともに(S363)、エッジ情報に「下位」の関係を追加する(S364)。グラフマージ部212は、カテゴリグラフデータベース233からノード情報を読み出してノードリストとし(S365)、ノードリストに含まれる各ノード情報について、ノード情報のIDにxを加算するとともに(S366)、ノード情報に「リダイレクト」の種類を追加する(S367)。グラフマージ部212は、ノードリストに含まれるノード情報を関連語グラフデータベース234に書き込み(S368)、エッジリストに含まれるエッジ情報を関連語グラフデータベース234に書き込む(S369)。
FIG. 12 is a diagram showing a flow of processing for registering node information and edge information based on the category graph 13.
The graph merge unit 212 sets x as the maximum value of the ID of the node information registered in the related word graph database 234 (S361), reads the edge information from the category graph database 233, and sets it as an edge list (S362). For each piece of included edge information, x is added to each of the edge information ID and child ID (S363), and a "lower" relationship is added to the edge information (S364). The graph merge unit 212 reads the node information from the category graph database 233 to obtain a node list (S365), adds x to the node information ID for each node information included in the node list (S366), and adds the node information to the node information. The type of “redirect” is added (S367). The graph merge unit 212 writes the node information included in the node list into the related word graph database 234 (S368), and writes the edge information included in the edge list into the related word graph database 234 (S369).

グラフマージ部212は、ノードリストに含まれている各ノード情報についてノード情報をNとし(S370)、図13に示すエッジの追加処理を行う(S371)。   The graph merge unit 212 sets the node information to N for each node information included in the node list (S370), and performs an edge addition process shown in FIG. 13 (S371).

グラフマージ部212は、名称がNの名称と一致し、かつ、種類が「リーフ」であるノード情報(すなわち、Nの名称に対応するシソーラス11のリーフノードに対応するノード情報になる。)を一致情報として関連語グラフデータベース234から検索する(S381)。一致情報があれば(S382:YES)、グラフマージ部212は、IDがNのIDと一致するエッジ情報Eを関連語グラフデータベース234から検索し(S383)、検索したエッジ情報Eのそれぞれについて、一致情報に含まれるID、Eに含まれる子ID、Eに含まれる重み、及び「下位」の関係を含むエッジ情報を作成して関連語グラフデータベース234に書き込む(S384)。これにより、カテゴリグラフ13におけるカテゴリ名と一致するシソーラス11の単語がある場合には、当該単語から、当該カテゴリの下位のカテゴリへのエッジが作成される。例えば、図14に示すように、シソーラス11のリーフノード116に対応する単語「ロック」と、カテゴリグラフ13のリダイレクト131に対応するカテゴリ名「ロック」とが一致した場合には、エッジ141が追加されることになる。   The graph merge unit 212 receives node information whose name matches the name of N and whose type is “leaf” (that is, node information corresponding to the leaf node of the thesaurus 11 corresponding to the name of N). The related word graph database 234 is searched as matching information (S381). If there is matching information (S382: YES), the graph merging unit 212 searches the related word graph database 234 for edge information E that matches the ID of ID N (S383), and for each of the searched edge information E, Edge information including the ID included in the matching information, the child ID included in E, the weight included in E, and the “lower” relationship is created and written in the related word graph database 234 (S384). Thereby, when there is a word of the thesaurus 11 that matches the category name in the category graph 13, an edge is created from the word to a lower category of the category. For example, as shown in FIG. 14, when the word “lock” corresponding to the leaf node 116 of the thesaurus 11 and the category name “lock” corresponding to the redirect 131 of the category graph 13 match, an edge 141 is added. Will be.

グラフマージ部212は、名称がNの名称と一致し、かつ、種類が「リダイレクト」であるノード情報(すなわち、Nの名称に対応するトピックグラフ12のリダイレクトに対応するノード情報になる。)を一致情報として関連語グラフデータベース234から検索し(S385)、一致情報があれば(S386:YES)、子IDがNのIDと一致するエッジ情報Eを関連語グラフデータベース234から検索し(S387)、検索したエッジ情報Eのそれぞれについて、Eに含まれるID、一致情報に含まれるID、Eに含まれる重み、及び「下位」の関係を含むエッジ情報を作成して、関連語グラフデータベース334に書き込む(S388)。これにより、カテゴリグラフ13におけるカテゴリ名と一致するトピックグラフ12におけるトピックがある場合には、当該カテゴリ名の上位のカテゴリから当該トピックへのエッジが作成される。例えば、図14に示すように、カテゴリグラフ13のリダイレクト132に対応するカテゴリ名「ロックアーティスト」と、トピックグラフ12のリダイレクト121に対応する単語「ロックアーティスト」とが一致した場合には、エッジ144が追加されることになる。さらに、上記ステップS384でリダイレクト132の上位に追加されたリーフノード116からリダイレクト121へのエッジ143が追加されることになる。   The graph merge unit 212 receives node information whose name matches the name of N and whose type is “redirect” (that is, node information corresponding to redirection of the topic graph 12 corresponding to the name of N). If the matching information is searched from the related word graph database 234 (S385), and if there is matching information (S386: YES), the edge information E that matches the child ID N is searched from the related word graph database 234 (S387). For each of the searched edge information E, an edge information including an ID included in E, an ID included in matching information, a weight included in E, and a “lower” relationship is created, and the related word graph database 334 is created. Write (S388). Thereby, when there is a topic in the topic graph 12 that matches the category name in the category graph 13, an edge from the category higher in the category name to the topic is created. For example, as shown in FIG. 14, when the category name “rock artist” corresponding to the redirect 132 in the category graph 13 matches the word “rock artist” corresponding to the redirect 121 in the topic graph 12, the edge 144 Will be added. Further, the edge 143 from the leaf node 116 added to the upper level of the redirect 132 in the above step S384 to the redirect 121 is added.

また、グラフマージ部212は、IDが一致情報のIDと一致するエッジ情報Eを関連語グラフデータベース234から検索し(S389)、検索したエッジ情報Eのそれぞれについて、Nに含まれるID、Eに含まれるID、Eに含まれる重み、及び「下位」の関係を含むエッジ情報を作成して、関連語グラフデータベース334に書き込む(S390)。これにより、カテゴリグラフ13におけるカテゴリ名と一致するトピックグラフ12におけるトピックがある場合には、当該カテゴリ名から、当該トピックからエッジにより接続されている先のトピックに対してエッジが作成される。例えば図14に示すように、カテゴリグラフ13のリダイレクト132に対応するカテゴリ名「ロックアーティスト」と、トピックグラフ12のリダイレクト121に対応する単語「ロックアーティスト」とが一致した場合、エッジ142が追加されることになる。   In addition, the graph merge unit 212 searches the related word graph database 234 for edge information E whose ID matches the ID of the matching information (S389), and sets the ID and E included in N for each of the searched edge information E. Edge information including the included ID, the weight included in E, and the “lower” relationship is created and written into the related word graph database 334 (S390). As a result, when there is a topic in the topic graph 12 that matches the category name in the category graph 13, an edge is created from the category name to the previous topic connected by the edge from the topic. For example, as shown in FIG. 14, when the category name “Rock Artist” corresponding to the redirect 132 in the category graph 13 matches the word “Rock Artist” corresponding to the redirect 121 in the topic graph 12, an edge 142 is added. Will be.

以上のようにして、シソーラス11のリーフノード116からトピックグラフ12のリダイレクト122へのエッジ137により、シソーラス11にトピックグラフ12が接続される。   As described above, the topic graph 12 is connected to the thesaurus 11 by the edge 137 from the leaf node 116 of the thesaurus 11 to the redirect 122 of the topic graph 12.

グラフマージ部212は、以上の処理を各ノード情報について繰り返すことにより、カテゴリグラフデータベース233に記憶されているノード情報及びエッジ情報を関連語グラフデータベース234に登録するとともに、カテゴリ名に一致するシソーラス11の単語や、カテゴリ名に一致するトピックグラフ12のトピックをリンクしていくことができる。   The graph merging unit 212 repeats the above processing for each node information, thereby registering the node information and edge information stored in the category graph database 233 in the related word graph database 234 and also the thesaurus 11 that matches the category name. The topic of the topic graph 12 that matches the word or category name can be linked.

以上のようにして、カテゴリグラフ13に含まれているカテゴリ名のうち、シソーラス11のリーフノードの単語に一致するものがある場合には、その単語からカテゴリ名へのエッジが作成され、トピックグラフ12のトピックに一致するものがある場合には、カテゴリ名からそのトピックへのエッジが作成され、さらにシソーラス11のリーフノードからトピックへのエッジも作成される。   As described above, if there is a category name included in the category graph 13 that matches the word of the leaf node of the thesaurus 11, an edge from the word to the category name is created, and the topic graph If there is a match for 12 topics, an edge from the category name to that topic is created, and an edge from the leaf node of the thesaurus 11 to the topic is also created.

==クエリサジェッション処理==
次に、クエリに含まれるキーワードに関連する関連語を提示するクエリサジェッション処理について説明する。図15は、端末22において表示される、ユーザがキーワードを入力する画面40の一例を示す図である。端末22が検索装置20にアクセスすると、検索処理部214は、画面40を表示するための画面データを端末22に送信し、端末22では画面データに基づいて画面40が表示される。ユーザがキーワードの入力欄401にキーワードを入力して検索ボタン402を押下すると、入力欄401に入力されたキーワードを含むクエリが端末22から検索装置20に送信される。検索装置20の検索処理部214は、クエリに含まれているキーワードに対応する文書の検索を行う。なお、検索処理部214による文書の検索処理については、一般的な検索エンジンと同様の処理を行うものとして説明を省略する。
== Query suggestion process ==
Next, query suggestion processing for presenting related terms related to keywords included in a query will be described. FIG. 15 is a diagram illustrating an example of a screen 40 that is displayed on the terminal 22 and allows a user to enter a keyword. When the terminal 22 accesses the search device 20, the search processing unit 214 transmits screen data for displaying the screen 40 to the terminal 22, and the terminal 22 displays the screen 40 based on the screen data. When the user inputs a keyword in the keyword input field 401 and presses the search button 402, a query including the keyword input in the input field 401 is transmitted from the terminal 22 to the search device 20. The search processing unit 214 of the search device 20 searches for a document corresponding to the keyword included in the query. Note that the document search processing by the search processing unit 214 is the same as that performed by a general search engine, and a description thereof will be omitted.

また、関連語取得部215が、クエリの受信に応じて、クエリに含まれているキーワードに関連する関連語を関連語グラフ10から取得する。本実施形態では、キーワードを構成するトークンが1つである場合と、2つ以上である場合とで異なる処理を行う。図16は、キーワードが1つのトークンのみから構成されている場合の関連語の取得処理の流れを示す図である。図15の例では、キーワードとして「ロックアーティスト」が設定されており、キーワードを構成するトークンは「ロックアーティスト」の1つのみであるので、図16の処理が行われる。   Further, the related word acquisition unit 215 acquires a related word related to the keyword included in the query from the related word graph 10 in response to the reception of the query. In the present embodiment, different processing is performed depending on whether the number of tokens constituting the keyword is one or two or more. FIG. 16 is a diagram showing a flow of related word acquisition processing when a keyword is composed of only one token. In the example of FIG. 15, “Rock Artist” is set as the keyword, and the token constituting the keyword is only one “Rock Artist”, so the processing of FIG. 16 is performed.

関連語取得部215は、空の関連語リストを作成し(S401)、関連語グラフデータベース234から名称がクエリに含まれるトークンと一致するノード情報を検索する(S402)。関連語取得部215は、ノード情報が検索された場合(S403:YES)、各ノード情報について、同義語の取得処理を行い(S404)、下位語の取得処理を行い(S405)、下位連想語の取得処理を行い(S406)、上位連想語の取得処理を行い(S407)、同位連想語の取得処理を行う(S408)。   The related word acquisition unit 215 creates an empty related word list (S401), and searches the related word graph database 234 for node information whose name matches the token included in the query (S402). When the node information is searched (S403: YES), the related word acquisition unit 215 performs a synonym acquisition process for each node information (S404), performs a low-level word acquisition process (S405), and generates a low-level association word. Is acquired (S406), a higher association word acquisition process is performed (S407), and a peer association word acquisition process is performed (S408).

==同義語==
トークンの同義語とは、トークンがシソーラス11のリーフノードである場合に、トークンの上位の概念ノードからインスタンス関係にある、他のリーフノードである。図17に示すように、トークン601とエッジ602により接続されている上位のノード603から、トークン601以外に2つのリーフノード604がインスタンス関係となって接続されている場合、トークン601の同義語はリーフノード604である。
== Synonyms ==
A token synonym is another leaf node that is in an instance relationship from a conceptual node above the token when the token is a leaf node of the thesaurus 11. As shown in FIG. 17, when two leaf nodes 604 other than the token 601 are connected in an instance relationship from the upper node 603 connected by the token 601 and the edge 602, the synonym of the token 601 is Leaf node 604.

図18は、同義語の取得処理の流れを示す図である。関連語取得部215は、ノード情報の種類が「リーフ」である場合(S421:YES)、関連語グラフデータベース234から、子IDがノード情報のIDに一致するエッジ情報を親エッジ情報として検索する(S422)。関連語取得部215は、検索された親エッジ情報のそれぞれについて以下の処理を行う。すなわち、関連語取得部215は、関連語グラフデータベース234から、IDが親エッジ情報のIDに一致するノード情報を親ノード情報として取得し(S423)、取得した親ノード情報の種類が「ノード」であれば(S424:YES)、さらに関連語グラフデータベース234から、IDが親ノード情報のIDと一致するエッジ情報を検索する(S425)。ここで、エッジ情報の子IDがノード情報のIDと一致するものは除くようにする。関連語取得部215は、検索したエッジ情報のそれぞれについて、関連語グラフデータベース234から、IDがエッジ情報の子IDと一致するノード情報を子ノード情報として取得し(S426)、取得した子ノード情報の種類が「リーフ」であれば(S427:YES)、子ノード情報の名称を同義語として関連語リストに追加する(S428)。
以上のようにして、シソーラス11のリーフノードの上位ノードの下位となる、当該リーフノードと同位の他のリーフノードが同義語として取得される。
FIG. 18 is a diagram illustrating a flow of synonym acquisition processing. When the type of node information is “leaf” (S421: YES), the related word acquisition unit 215 searches the related word graph database 234 for edge information whose child ID matches the node information ID as parent edge information. (S422). The related word acquisition unit 215 performs the following processing for each of the searched parent edge information. That is, the related word acquisition unit 215 acquires, as parent node information, node information whose ID matches the ID of the parent edge information from the related word graph database 234 (S423), and the type of the acquired parent node information is “node”. If so (S424: YES), edge information whose ID matches the ID of the parent node information is further searched from the related word graph database 234 (S425). Here, the case where the child ID of the edge information matches the ID of the node information is excluded. The related word acquisition unit 215 acquires, as child node information, node information whose ID matches the child ID of the edge information from the related word graph database 234 for each searched edge information (S426), and acquires the acquired child node information. If the type is “leaf” (S427: YES), the child node information name is added as a synonym to the related word list (S428).
As described above, another leaf node that is subordinate to the upper node of the leaf node of the thesaurus 11 and is the same as that of the leaf node is acquired as a synonym.

==下位語==
トークンの下位語とは、トークンがシソーラス11のリーフノードである場合に、関連語グラフ10においてリーフノードに接続されるリダイレクトである。図19に示すように、トークンがシソーラス11のリーフノード611であった場合、エッジ612により他のリーフノード613がリーフノード611に接続されていても、リーフノード613は下位語にはならず、リーフノード611に接続されているリダイレクト614が下位語となる。
図20は、下位語を取得する処理の流れを示す図である。関連語取得部215は、ノード情報の種類が「リーフ」である場合(S441:YES)、関連語グラフデータベース234から、IDがノード情報のIDと一致するエッジ情報を子エッジ情報として検索する(S442)。関連語取得部215は、検索した子エッジ情報のそれぞれについて、関連語グラフデータベース234から、IDが子エッジ情報の子IDと一致するノード情報を子ノード情報として取得し(S443)、取得した子ノード情報の種類が「リダイレクト」であれば(S444:YES)、子ノード情報の名称を下位語として関連語リストに追加する(S445)。
以上のようにして、シソーラス11のリーフノードの下位に接続されたリダイレクトのノード、すなわち、シソーラス11のリーフノードの下位に接続された、トピックグラフ12のトピック又はカテゴリグラフ13のカテゴリ名が下位語として取得される。
なお、リーフノードの下位に接続されるリーフノードも下位語として取得するようにしてもよい。また、リーフノードの下位に接続されるリーフノードは、後述の下位連想語として取得するようにしてもよい。
== Narrow word ==
The token narrower word is a redirect connected to a leaf node in the related word graph 10 when the token is a leaf node of the thesaurus 11. As shown in FIG. 19, when the token is a leaf node 611 of the thesaurus 11, even if another leaf node 613 is connected to the leaf node 611 by the edge 612, the leaf node 613 is not a low-order word. The redirect 614 connected to the leaf node 611 is a narrower term.
FIG. 20 is a diagram showing a flow of processing for acquiring a narrower word. When the type of the node information is “leaf” (S441: YES), the related word acquisition unit 215 searches the related word graph database 234 for edge information whose ID matches the ID of the node information as child edge information ( S442). The related word acquisition unit 215 acquires, as child node information, node information whose ID matches the child ID of the child edge information from the related word graph database 234 for each searched child edge information (S443). If the type of node information is “redirect” (S444: YES), the name of the child node information is added to the related word list as a lower term (S445).
As described above, the redirect node connected to the lower level of the leaf node of the thesaurus 11, that is, the topic name of the topic graph 12 or the category name of the category graph 13 connected to the lower level of the leaf node of the thesaurus 11 is the lower term. Get as.
Note that a leaf node connected to a lower level of a leaf node may be acquired as a lower term. Further, a leaf node connected to a lower level of the leaf node may be acquired as a lower order association word described later.

==下位連想語==
トークンの下位連想語とは、トークンがリダイレクトである場合に、関連語グラフ10において、当該リダイレクトにエッジで接続される下位のリダイレクトである。図21に示すように、トークン621がリダイレクトである場合、エッジ622によりリーフノード623が下位に接続されていても、リーフノード623はトークン621の下位連想語にはならず、トークン621の上位に接続されているリダイレクト624が下位連想語となる。
図22は、下位連想語を取得する処理の流れを示す図である。関連語取得部215は、ノード情報の種類が「リダイレクト」である場合(S461:YES)、関連語グラフデータベース234から、IDがノード情報のIDと一致するエッジ情報を子エッジ情報として検索する(S462)。関連語取得部215は、検索した子エッジ情報のそれぞれについて、関連語グラフデータベース234から、IDが子エッジ情報の子IDと一致するノード情報を子ノード情報として取得し(S463)、子ノード情報の種類が「リダイレクト」であれば(S464:YES)、子ノード情報の名称を下位連想語として関連語リストに追加する(S465)。
以上のようにして、トピックグラフ12又はカテゴリグラフ13のリダイレクトの下位に接続されたリダイレクトが下位連想語として取得される。
== Lower association words ==
The token lower-level association word is a lower-level redirect connected to the redirect at the edge in the related word graph 10 when the token is a redirect. As shown in FIG. 21, when the token 621 is a redirect, even if the leaf node 623 is connected to the lower level by the edge 622, the leaf node 623 does not become the lower-level association word of the token 621 and The connected redirect 624 becomes a lower-order associative word.
FIG. 22 is a diagram illustrating a flow of processing for acquiring a lower association word. When the type of the node information is “redirect” (S461: YES), the related word acquisition unit 215 searches the related word graph database 234 for edge information whose ID matches the ID of the node information as child edge information ( S462). The related word acquisition unit 215 acquires, as child node information, node information whose ID matches the child ID of the child edge information from the related word graph database 234 for each searched child edge information (S463). If the type is “redirect” (S464: YES), the name of the child node information is added to the related word list as a lower association word (S465).
As described above, the redirect connected to the lower level of the redirect of the topic graph 12 or the category graph 13 is acquired as the lower association word.

==上位連想語==
トークンの上位連想語とは、トークンがリダイレクトである場合に、関連語グラフ10において、当該リダイレクトにエッジで接続される上位のリダイレクトである。図23に示すように、トークン631がリダイレクトである場合、エッジ632によりリーフノード623が上位に接続されていても、リーフノード633はトークン631の上位連想語にはならず、トークン631の上位に接続されているリダイレクト634が上位連想語となる。
図24は、上位連想語を取得する処理の流れを示す図である。関連語取得部215は、ノード情報の種類が「リダイレクト」である場合(S481:YES)、関連語グラフデータベース234から、子IDがノード情報のIDと一致するエッジ情報を親エッジ情報として検索する(S482)。関連語取得部215は、検索した親エッジ情報のそれぞれについて、関連語グラフデータベース234から、IDが親エッジ情報のIDと一致するノード情報を親ノード情報として取得し(S483)、親ノード情報の種類が「リダイレクト」であれば(S484:YES)、親ノード情報の名称を上位連想語として関連語リストに追加する(S485)。
以上のようにして、トピックグラフ12又はカテゴリグラフ13のリダイレクトの上位に接続されたリダイレクトが上位連想語として取得される。
== Higher association words ==
The high-level associated word of a token is a high-level redirect connected to the redirect at the edge in the related word graph 10 when the token is a redirect. As shown in FIG. 23, when the token 631 is a redirect, even if the leaf node 623 is connected to the higher level by the edge 632, the leaf node 633 is not a higher level association word of the token 631, and is higher in the token 631. The connected redirect 634 becomes a higher-level association word.
FIG. 24 is a diagram illustrating a flow of processing for acquiring a higher association word. When the type of node information is “redirect” (S481: YES), the related word acquisition unit 215 searches the related word graph database 234 for edge information whose child ID matches the node information ID as parent edge information. (S482). The related word acquisition unit 215 acquires, as parent node information, node information whose ID matches the ID of the parent edge information from the related word graph database 234 for each searched parent edge information (S483). If the type is “redirect” (S484: YES), the name of the parent node information is added to the related word list as a higher association word (S485).
As described above, the redirect connected to the top of the redirect of the topic graph 12 or the category graph 13 is acquired as a high-level association word.

==同位連想語==
トークンの同位連想語とは、トークンがリダイレクトである場合に、関連語グラフ10において、当該リダイレクトに接続される上位ノード(概念ノードでも、リーフノードでも、リダイレクトでもよい。)の下位に接続されるリダイレクトである。図25に示すように、トークン641の上位に接続されるノード643の下位に接続されるリダイレクト644が同位連想語となる。
図26は、同位連想語を取得する処理の流れを示す図である。関連語取得部215は、ノード情報の種類が「リダイレクト」である場合(S501:YES)、関連語グラフデータベース234から、子IDがノード情報のIDと一致するエッジ情報を親エッジ情報として検索し(S502)、検索した親エッジ情報のそれぞれについて以下の処理を行う。すなわち、関連語取得部215は、関連語グラフデータベース234から、IDが親エッジ情報のIDと一致するエッジ情報を子エッジ情報として検索する(S503)。ここで、子エッジ情報の子IDがノード情報のIDと一致するものは除くようにする。関連語取得部215は、検索した子エッジ情報のそれぞれについて、関連語グラフデータベース234から、IDが子エッジ情報の子IDと一致するノード情報を子ノード情報として取得し(S504)、子ノード情報の種類が「リダイレクト」であれば(S505:YES)、子ノード情報の名称を同位連想語として関連語リストに追加する(S506)。
以上のようにして、リダイレクトの上位ノードの下位となる他のリダイレクトが同位連想語として取得される。
== Similarity word ==
When the token is a redirect, the token associative word is connected to a lower level of the upper node (concept node, leaf node, or redirect) connected to the redirect in the related word graph 10. It is a redirect. As shown in FIG. 25, the redirect 644 connected to the lower level of the node 643 connected to the higher level of the token 641 is the peer association word.
FIG. 26 is a diagram showing a flow of processing for acquiring a peer association word. When the type of the node information is “redirect” (S501: YES), the related word acquisition unit 215 searches the related word graph database 234 for edge information whose child ID matches the node information ID as the parent edge information. (S502) The following processing is performed for each searched parent edge information. That is, the related word acquisition unit 215 searches the related word graph database 234 for edge information whose ID matches the ID of the parent edge information as child edge information (S503). Here, the child edge information whose child ID matches the node information ID is excluded. The related word acquisition unit 215 acquires, as child node information, node information whose ID matches the child ID of the child edge information from the related word graph database 234 for each searched child edge information (S504). If the type is “redirect” (S505: YES), the name of the child node information is added to the related word list as an associative word (S506).
As described above, another redirect that is a lower level of the upper node of the redirect is acquired as a peer association word.

==複数トークンの関連語取得処理==
キーワードが複数のトークンから構成されている場合、本実施形態では、上述した図16〜図26の処理とは異なる処理が行われる。図27は、キーワードが複数のトークンから構成されている場合の関連語の取得処理の流れを示す図である。関連語取得部215は、キーワードを構成している各トークンについて、関連語グラフデータベース234から名称がトークンと一致するノード情報を検索し(S701)、1つ以上のノード情報が検索されれば(S702:YES)、共通同義語の取得処理を行い(S703)、共通下位語の取得処理を行い(S704)、仲介語の取得処理を行い(S705)、最適仲介語の取得処理を行う(S706)。以下、共通同義語、共通下位語、仲介語及び最適仲介語について説明し、また各取得処理について説明する。
== Related word acquisition processing of multiple tokens ==
When the keyword is composed of a plurality of tokens, in the present embodiment, processing different from the processing in FIGS. 16 to 26 described above is performed. FIG. 27 is a diagram showing a flow of related word acquisition processing when a keyword is composed of a plurality of tokens. For each token constituting the keyword, the related word acquisition unit 215 searches the related word graph database 234 for node information whose name matches the token (S701), and if one or more node information is searched ( (S702: YES), common synonym acquisition processing is performed (S703), common subordinate word acquisition processing is performed (S704), mediation word acquisition processing is performed (S705), and optimal mediation word acquisition processing is performed (S706). ). Hereinafter, common synonyms, common subordinate terms, mediation words, and optimal mediation words will be described, and each acquisition process will be described.

==共通同義語==
複数トークンの共通同義語とは、関連語グラフ10において、全てのトークンに接続される上位ノードの下位に接続されるノード(リーフノード又はリダイレクト)である。図28に示すように、トークン801及び802の両方にエッジ803及び804で接続されている上位のノード805がある場合に、ノード805の下位に接続されているノード806が、トークン801及び802の共通同義語になる。
図29は、共通同義語を取得する処理の流れを示す図である。関連語取得部215は、ノード情報のそれぞれを第1ノード情報として、以下の処理を行う。
関連語取得部215は、関連語グラフデータベース234から、子IDが第1ノード情報のIDと一致するエッジ情報を親エッジ情報として検索し(S721)、検索した親エッジ情報のそれぞれについて以下の処理を行う。
関連語取得部215は、他のノード情報のそれぞれを第2ノード情報として、関連語グラフデータベース234から、子IDが第2ノード情報のIDと一致し、かつ、IDが親エッジ情報のIDと一致するエッジ情報を子エッジ情報として検索し(S722)、子エッジ情報が検索できなければ(S723:NO)、ステップS724〜S727の処理をスキップする。
関連語取得部215は、全ての第2ノード情報について子エッジ情報を検索できた場合(S723:YES)、関連語グラフデータベース234から、IDが親エッジ情報のIDと一致するエッジ情報を子エッジ情報として検索し(S724)、検索した各子エッジ情報について、関連語グラフデータベース234から、IDがエッジ情報の子IDと一致するノード情報を子ノード情報として取得し(S725)、子ノード情報の種類が「リーフ」又は「リダイレクト」であれば(S726:YES)、子ノード情報の名称を関連語リストに追加する(S727)。
以上の処理を、各親エッジ情報及び各第1ノード情報について繰り返すことにより、全てのトークンの上位に接続されるノードの下位に接続されるリーフノード及びリダイレクトが共通同義語として取得される。
== Common synonyms ==
A common synonym of a plurality of tokens is a node (a leaf node or a redirect) connected to a lower level of an upper node connected to all tokens in the related word graph 10. As shown in FIG. 28, when there is an upper node 805 connected to both tokens 801 and 802 by edges 803 and 804, the node 806 connected to the lower side of the node 805 is connected to the tokens 801 and 802. Become a common synonym.
FIG. 29 is a diagram illustrating a flow of processing for acquiring a common synonym. The related word acquisition unit 215 performs the following processing using each of the node information as the first node information.
The related word acquisition unit 215 searches the related word graph database 234 for edge information whose child ID matches the ID of the first node information as parent edge information (S721), and performs the following processing for each of the searched parent edge information I do.
The related word acquisition unit 215 uses each of the other node information as the second node information, and from the related word graph database 234, the child ID matches the ID of the second node information, and the ID is the ID of the parent edge information. The matching edge information is searched as child edge information (S722), and if the child edge information cannot be searched (S723: NO), the processing of steps S724 to S727 is skipped.
When the related word acquisition unit 215 can search the child edge information for all the second node information (S723: YES), the related word acquisition unit 215 obtains the edge information whose ID matches the ID of the parent edge information from the related word graph database 234 as the child edge. Information is retrieved (S724), and for each retrieved child edge information, node information whose ID matches the child ID of the edge information is obtained from the related word graph database 234 as child node information (S725). If the type is “leaf” or “redirect” (S726: YES), the name of the child node information is added to the related word list (S727).
By repeating the above processing for each parent edge information and each first node information, leaf nodes and redirects connected to the lower order of nodes connected to the higher order of all tokens are acquired as common synonyms.

==共通下位語==
複数トークンの共通下位語とは、関連語グラフ10において、全てのトークンの下位に接続されるノード(リーフノード又はリダイレクト)である。図30に示すように、トークン821は下位にノード823及び824が接続され、トークン822は下位にノード824のみが接続されている場合、トークン821及び822の全ての下位に接続されるノード824が共通下位語になる。
図31は、共通下位語を取得する処理の流れを示す図である。関連語取得部215は、ノード情報のそれぞれを第1ノード情報として、以下の処理を行う。
関連語取得部215は、関連語グラフデータベース234から、IDが第1ノード情報のIDと一致するエッジ情報を第1子エッジ情報として検索し(S741)、検索した第1子エッジ情報のそれぞれについて以下の処理を行う。
関連語取得部215は、他のノード情報のそれぞれを第2ノード情報として、関連語グラフデータベース234から、IDが第2ノード情報のIDと一致し、かつ、子IDが第1子エッジ情報の子IDと一致するエッジ情報を第2子エッジ情報として検索し(S742)、第2子エッジ情報が検索できなければ(S743:NO)、ステップS744〜S746の処理をスキップする。
関連語取得部215は、全ての第2ノード情報について第2子エッジ情報が検索できた場合(S743:YES)、関連語グラフデータベース234から、IDが第1子エッジ情報のIDと一致するノード情報を子ノード情報として取得し(S744)、子ノード情報の種類が「リーフ」又は「リダイレクト」であれば(S745:YES)、子ノード情報の名称を関連語リストに追加する(S746)。
以上の処理を、各子エッジ情報及び各第1ノード情報について繰り返すことにより、全てのトークンの下位に接続されるリーフノード及びリダイレクトが共通下位語として取得される。
== Common narrower terms ==
A common low-order word of a plurality of tokens is a node (leaf node or redirect) connected to the low-order of all tokens in the related word graph 10. As shown in FIG. 30, when the token 821 has nodes 823 and 824 connected to the lower level and the token 822 has only the node 824 connected to the lower level, the nodes 824 connected to all the lower levels of the tokens 821 and 822 have Becomes a common narrower term.
FIG. 31 is a diagram showing a flow of processing for acquiring a common narrower word. The related word acquisition unit 215 performs the following processing using each of the node information as the first node information.
The related word acquisition unit 215 searches the related word graph database 234 for edge information whose ID matches the ID of the first node information as first child edge information (S741), and for each of the searched first child edge information. The following processing is performed.
The related word acquisition unit 215 uses each of the other node information as the second node information, and from the related word graph database 234, the ID matches the ID of the second node information, and the child ID is the first child edge information. Edge information that matches the child ID is searched as second child edge information (S742), and if the second child edge information cannot be searched (S743: NO), the processing of steps S744 to S746 is skipped.
The related word acquisition unit 215, when the second child edge information can be searched for all the second node information (S743: YES), the node whose ID matches the ID of the first child edge information from the related word graph database 234 Information is acquired as child node information (S744), and if the type of child node information is “leaf” or “redirect” (S745: YES), the name of the child node information is added to the related term list (S746).
By repeating the above processing for each child edge information and each first node information, leaf nodes and redirects connected to the lower order of all tokens are acquired as common narrower terms.

==仲介語==
複数トークンの仲介語とは、関連語グラフ10において、2つのトークンを接続する経路上に存在するノード(リーフノード又はリダイレクト)である。図32に示すように、トークン831からトークン832までを接続する経路上に存在するノード833が仲介語となる。図32では、トークン831及び832について、ノード834は仲介語とならない。
図33は、仲介語を取得する処理の流れを示す図である。関連語取得部215は、2つのノード情報の各組合せについて以下の処理を行う。
関連語取得部215は、関連語グラフデータベース234から、2つのノード情報のうち、一方に対応する第1ノードから、他方に対応する第2ノードまでの経路を検索し(S761)、第2ノードから第1ノードへの経路も検索する(S762)。2つのノード間の経路は、一般的なグラフにおける経路の探索処理によって検索する。関連語取得部215は、検索した経路のそれぞれについて、経路において経由するノード(以下、「経由ノード」という。)を特定し(S763)、特定した経由ノードに対応するノード情報を関連語グラフデータベース234から取得する(S764)。関連語取得部215は、取得した経由ノード情報のそれぞれについて、経由ノード情報の種類が「リーフ」又は「リダイレクト」であれば(S765:YES)、経由ノード情報の名称を仲介語として関連語リストに追加する(S766)。
== Medium ==
An intermediary word of a plurality of tokens is a node (leaf node or redirect) existing on a path connecting two tokens in the related word graph 10. As shown in FIG. 32, a node 833 existing on the path connecting the token 831 to the token 832 serves as an intermediary word. In FIG. 32, for the tokens 831 and 832, the node 834 is not an intermediary word.
FIG. 33 is a diagram showing a flow of processing for acquiring a mediation word. The related word acquisition unit 215 performs the following processing for each combination of two pieces of node information.
The related word acquisition unit 215 searches the related word graph database 234 for a path from the first node corresponding to one of the two pieces of node information to the second node corresponding to the other (S761). The route from the first node to the first node is also searched (S762). A route between two nodes is searched by a route search process in a general graph. The related word acquisition unit 215 specifies a node (hereinafter, referred to as “routed node”) that passes through the route for each of the searched routes (S763), and the node information corresponding to the specified routed node is stored in the related word graph database. It acquires from 234 (S764). If the type of the route node information is “leaf” or “redirect” for each of the obtained route node information (S765: YES), the related word acquisition unit 215 uses the name of the route node information as an intermediary word to list related words. (S766).

以上の処理を2つのノード情報の各組合せについて行うことにより、キーワードに含まれている2つのトークンを結ぶ経路上に存在するリーフノード又はリダイレクトが仲介語として取得される。   By performing the above processing for each combination of two pieces of node information, a leaf node or a redirect existing on a path connecting two tokens included in the keyword is acquired as an intermediary word.

==最適仲介語==
複数トークンの最適仲介語とは、関連語グラフ10において、2つのトークンを接続する経路うちの最適経路上に存在するノード(リーフノード又はリダイレクト)である。本実施形態では、最適経路は、エッジの重みの平均値が最も大きい経路を最適経路として決定する。なお、最適経路は、例えば、エッジに割り当てられたコストに応じて決定するようにしてもよいし、経路上のノードの数が少ない経路を最適経路として決定するようにしてもよい。また、ノード及びエッジに割り当てられた重みやコストに応じて決定するようにしてもよい。図34に示すように、トークン841とトークン842とを接続する経路は、経路abcと経路defgとがあり、経路abcの重みの平均値は、(50+100+60)÷3=70であり、経路defgの重みの平均値は(50+50+50+50)÷4=50であるので、最適経路は経路abcとなり、経路abcに含まれるノード843及び844が最適仲介語になる。
図35は、最適仲介語を取得する処理の流れを説明する図である。関連語取得部215は、関連語取得部215は、2つのノード情報の各組合せについて以下の処理を行う。
関連語取得部215は、関連語グラフデータベース234から、2つのノード情報のうち、一方に対応する第1ノードから、他方に対応する第2ノードまでの経路を検索し(S781)、第2ノードから第1ノードへの経路も検索する(S782)。2つのノード間の経路は、一般的なグラフにおける経路の探索処理によって検索する。関連語取得部215は、検索した経路のそれぞれについて、経路に含まれるエッジ(以下、「経由エッジ」という。)を特定し(S783)、特定した経由エッジに対応するエッジ情報を関連語グラフデータベース234から検索し、検索したエッジ情報の重みの平均値を求める(S784)。関連語取得部215は、重みの平均値が最も大きい経路を最適経路として決定し(S785)、最適経路において経由する経由ノードを特定し(S786)、特定した経由ノードに対応するノード情報を関連語グラフデータベース234から取得する(S787)。関連語取得部215は、取得した経由ノード情報のそれぞれについて、経由ノード情報の種類が「リーフ」又は「リダイレクト」であれば(S788:YES)、経由ノード情報の名称を最適仲介語として関連語リストに追加する(S789)。
== Optimal mediator ==
An optimal mediation word of a plurality of tokens is a node (a leaf node or a redirect) that exists on an optimal path among paths connecting two tokens in the related word graph 10. In the present embodiment, the optimum route is determined as the optimum route with the largest edge weight average value. The optimum route may be determined according to the cost assigned to the edge, for example, or a route with a small number of nodes on the route may be determined as the optimum route. Further, it may be determined according to the weights and costs assigned to the nodes and edges. As shown in FIG. 34, the route connecting token 841 and token 842 includes route abc and route defg, and the average weight of route abc is (50 + 100 + 60) ÷ 3 = 70, and route defg Since the average value of the weights is (50 + 50 + 50 + 50) ÷ 4 = 50, the optimum route is the route abc, and the nodes 843 and 844 included in the route abc are optimum mediation words.
FIG. 35 is a diagram for explaining the flow of processing for acquiring the optimum mediation word. The related word acquisition unit 215 performs the following processing for each combination of two pieces of node information.
The related word acquisition unit 215 searches the related word graph database 234 for a route from the first node corresponding to one of the two pieces of node information to the second node corresponding to the other (S781). A route from the first node to the first node is also searched (S782). A route between two nodes is searched by a route search process in a general graph. The related word acquisition unit 215 identifies an edge included in the route (hereinafter referred to as “routed edge”) for each of the retrieved routes (S783), and associates edge information corresponding to the identified routed edge with the related word graph database. A search is made from 234, and an average value of the weights of the searched edge information is obtained (S784). The related word acquisition unit 215 determines the route having the largest average weight value as the optimum route (S785), identifies the transit node via the optimum route (S786), and associates the node information corresponding to the identified transit node. Obtained from the word graph database 234 (S787). If the type of the route node information is “leaf” or “redirect” for each of the obtained route node information (S788: YES), the related word acquisition unit 215 uses the name of the route node information as the optimum mediation word. It adds to the list (S789).

以上の処理を2つのノード情報の各組合せについて行うことにより、キーワードに含まれている2つのトークンを結ぶ経路のうち、重みの合計値が最も小さい最適経路上に存在するリーフノード又はリダイレクトが仲介語として取得される。   By performing the above processing for each combination of two pieces of node information, a leaf node or a redirect that exists on the optimum route with the smallest total weight among the routes connecting two tokens included in the keyword mediates. Obtained as a word.

検索装置20の関連語取得部215は、以上のようにしてキーワードに関連する関連語を関連グラフ10から取得する。関連語出力部216は、検索処理部214による検索結果に関連語を追加して端末22に送信する。図36は、検索結果を表示するための画面41の一例を示す図である。図37は、検索処理に用いられる関連語グラフ10の一部を示す図である。画面41には、検索結果411とともに、関連語412−415が表示されている。関連語412は、図37の例における関連語グラフ10において、上述した画面40の入力欄401に入力されたキーワード「ロックアーティスト」のノード132からエッジ421で接続されるノード122の「○山×夫」が下位連想語として取得されたものである。関連語413は、「ロックアーティスト」のノード132からエッジ422で接続される「○崎△△」が下位連想語として取得されたものである。関連語414は、「ロックアーティスト」のノード132に対してエッジ423により接続されているノード116の「ロック」が上位連想語として取得されたものである。関連語415は、「ロックアーティスト」のノード132に対してエッジ424により接続されているノード131からエッジ425によって接続されているノード134の「ヒットチャート」が同位連想語として取得されたものである。このように図37の例では、画面41には下位連想語、上位連想語及び同位連想語が表示されている。同様にして、同義語や下位語などが検索された場合には、それらを関連語として表示することもできる。また、キーワードに複数のトークンが設定されている場合には、関連語グラフ10から、共通同義語や共通下位語、仲介語を関連語として取得し、画面41に表示することができる。画面41において関連語412−415のいずれかがクリックされると、クリックされた関連語をキーワードとして含むクエリが端末22から検索装置20に送信されて、上述した検索処理と関連語の取得処理とが行われる。   The related word acquisition unit 215 of the search device 20 acquires related words related to the keyword from the related graph 10 as described above. The related word output unit 216 adds a related word to the search result obtained by the search processing unit 214 and transmits the result to the terminal 22. FIG. 36 is a diagram illustrating an example of a screen 41 for displaying the search result. FIG. 37 is a diagram showing a part of the related term graph 10 used for the search processing. On the screen 41, related words 412 to 415 are displayed together with the search result 411. 37, in the related word graph 10 in the example of FIG. 37, “○ mountain ××” of the node 122 connected by the edge 421 from the node 132 of the keyword “rock artist” input in the input field 401 of the screen 40 described above. "Husband" was acquired as a lower association word. The related word 413 is obtained by acquiring “○ Saki ΔΔ” connected from the node 132 of “Rock Artist” at the edge 422 as a lower association word. The related word 414 is obtained by acquiring “lock” of the node 116 connected to the node 132 of “rock artist” by the edge 423 as a high-level association word. The related word 415 is obtained by acquiring the “hit chart” of the node 134 connected by the edge 425 from the node 131 connected by the edge 424 to the node 132 of the “rock artist” as an associative word. . In this way, in the example of FIG. 37, the screen 41 displays the lower association words, the upper association words, and the peer association words. Similarly, when a synonym or a lower term is searched, it can be displayed as a related word. Further, when a plurality of tokens are set for the keyword, a common synonym, a common subordinate word, and an intermediary word can be acquired as related words from the related word graph 10 and displayed on the screen 41. When any of the related words 412 to 415 is clicked on the screen 41, a query including the clicked related word as a keyword is transmitted from the terminal 22 to the search device 20, and the above-described search processing and related word acquisition processing are performed. Is done.

以上説明したように、本実施形態の検索装置20では、カテゴリグラフ13を利用することにより、シソーラス11にトピックグラフ12をマージすることができる。シソーラス11とトピックグラフ12を組み合わせることにより、一般語や固有名詞、専門用語など、幅広い単語から構成される関連語グラフ10を作成することができる。したがって、トークンが関連語グラフ10に含まれる単語にマッチする可能性を高めることができる。これにより、トークンに関連する関連語を確実に提供することができる。   As described above, in the search device 20 of this embodiment, the topic graph 12 can be merged with the thesaurus 11 by using the category graph 13. By combining the thesaurus 11 and the topic graph 12, it is possible to create a related term graph 10 composed of a wide range of words such as general words, proper nouns, and technical terms. Therefore, the possibility that the token matches the word included in the related word graph 10 can be increased. Thereby, the related word relevant to a token can be provided reliably.

また、関連語グラフ10はグラフ構造をしているため、クエリに含まれるキーワードにマッチするノードを起点としてエッジを介してつながる関連語を容易に取得することができる。したがって、本実施形態の検索装置20は、クエリサジェッションを迅速に提供することができる。   Further, since the related word graph 10 has a graph structure, related words connected via an edge can be easily obtained starting from a node that matches the keyword included in the query. Therefore, the search device 20 of the present embodiment can provide query suggestions quickly.

また、本実施形態の検索装置20は、同義語、下位語、下位連想語、上位連想語、同位連想語、共通同義語、共通下位語、仲介語及び最適仲介語(以下、「同義語等」という。)など、トークンとの関連性を様々な視点から評価した関連語を提示している。したがって、ユーザは、関連語を参考にして、新たな絞り込みを行う検索のキーワードを選択することが容易にできる。   In addition, the search device 20 of the present embodiment includes a synonym, a subordinate word, a subordinate association word, a high association word, a peer association word, a common synonym, a common subword, a mediation word, and an optimal mediation word (hereinafter referred to as “synonym etc.”). Etc.)), and related words that evaluate the relevance of the token from various viewpoints. Therefore, the user can easily select a search keyword to be newly refined with reference to related words.

以上、本実施形態について説明したが、上記実施形態は本発明の理解を容易にするためのものであり、本発明を限定して解釈するためのものではない。本発明は、その趣旨を逸脱することなく、変更、改良され得ると共に、本発明にはその等価物も含まれる。   Although the present embodiment has been described above, the above embodiment is intended to facilitate understanding of the present invention and is not intended to limit the present invention. The present invention can be changed and improved without departing from the gist thereof, and the present invention includes equivalents thereof.

例えば、本実施形態では、通信ネットワーク21を介して端末22から検索装置20にクエリが送信されることを前提としたが、検索装置20が直接ユーザからキーワードの入力を受け付けるようにしてもよい。また、文書の検索時点に限らず、各種の契機にキーワードに関連する関連語を提示することができる。   For example, in the present embodiment, it is assumed that a query is transmitted from the terminal 22 to the search device 20 via the communication network 21, but the search device 20 may directly receive a keyword input from the user. Further, not only at the time of document search, but also various related words related to the keyword can be presented.

また、本実施形態では、シソーラス11、トピックグラフ12及びカテゴリグラフ13はいずれも有向グラフであるものとしたが、環状構造を有さないツリー構造であってもよいし、無向グラフであってもよい。無向グラフを採用する場合には、ID又は子IDをキーとしてエッジ情報を検索する処理において、IDをキーとしたエッジ情報の検索と、子IDをキーとしたエッジ情報の検索の両方を行うようにする。   In the present embodiment, the thesaurus 11, the topic graph 12, and the category graph 13 are all directed graphs. However, the thesaurus 11, the topic graph 12, and the category graph 13 may be a tree structure that does not have a circular structure, or may be an undirected graph. Good. When an undirected graph is employed, in the process of searching for edge information using an ID or child ID as a key, both edge information searching using the ID as a key and edge information searching using the child ID as a key are performed. Like that.

また、本実施形態では、クエリに含まれるキーワードを構成するトークンについて、同義語等を関連語として提示するものとしたが、これに限らず、関連語グラフ10において、トークンに対応するノードを起点としてエッジで接続されている各種のノードを関連語として提示することができる。例えば、トークンにエッジで接続される上位のノード(上位語)を関連語として提示するようにしてもよい。また、トークンを起点として2つ以上のエッジで接続される上位又は下位のノードを上位語又は下位語として提示するようにしてもよい。   In this embodiment, synonyms and the like are presented as related words for the tokens constituting the keywords included in the query. However, the present invention is not limited to this, and in the related word graph 10, the node corresponding to the token is the starting point. The various nodes connected at the edge can be presented as related words. For example, an upper node (higher word) connected to the token at the edge may be presented as a related word. Further, upper or lower nodes connected by two or more edges starting from the token may be presented as upper words or lower words.

また、本実施形態では、同義語等に該当するノードは全て関連語として取得するものとしたが、同義語等に該当するノードとトークンとの間を接続するエッジの重みに応じて、所定数のみを提示するようにしてもよい。   In the present embodiment, all nodes corresponding to synonyms and the like are acquired as related words. However, a predetermined number is determined according to the weight of the edge connecting the node corresponding to the synonym and the token and the token. You may make it present only.

10 関連語グラフ
11 シソーラス
12 トピックグラフ
13 カテゴリグラフ
20 検索装置
21 通信ネットワーク
22 端末
201 CPU
202 メモリ
203 記憶装置
204 通信インタフェース
205 入力装置
206 出力装置
211 データ取得部
212 グラフマージ部
213 検索クエリ受信部
214 検索処理部
215 関連語取得部
216 関連語出力部
231 シソーラスデータベース
232 トピックグラフデータベース
233 カテゴリグラフデータベース
234 関連語グラフデータベース
10 Related Word Graph 11 Thesaurus 12 Topic Graph 13 Category Graph 20 Search Device 21 Communication Network 22 Terminal 201 CPU
202 Memory 203 Storage Device 204 Communication Interface 205 Input Device 206 Output Device 211 Data Acquisition Unit 212 Graph Merging Unit 213 Search Query Reception Unit 214 Search Processing Unit 215 Related Word Acquisition Unit 216 Related Word Output Unit 231 Thesaurus Database 232 Topic Graph Database 233 Category Graph Database 234 Related Words Graph Database

Claims (12)

単語間の関連性を定義する関連語グラフを作成する装置であって、
単語の概念階層を定義するシソーラスを記憶するシソーラス記憶部と、
コーパスに含まれる単語間の関係を定義するトピックグラフを記憶するトピックグラフ記憶部と、
ディレクトリ検索に用いられるカテゴリの階層を定義するカテゴリグラフを記憶するカテゴリグラフ記憶部と、
前記カテゴリグラフにおける第1の前記カテゴリ及び前記シソーラスに含まれる単語がリンクされ、前記カテゴリグラフにおける第2の前記カテゴリ及び前記トピックグラフに含まれる単語がリンクされるように、前記シソーラス、前記カテゴリグラフ及び前記トピックグラフを組み合わせて、グラフ構造の前記関連語グラフを作成するグラフ作成部と、
を備えることを特徴とする関連語グラフ作成装置。
A device for creating a related term graph that defines the relationship between words,
A thesaurus storage unit that stores a thesaurus that defines a conceptual hierarchy of words;
A topic graph storage unit that stores a topic graph that defines a relationship between words included in the corpus;
A category graph storage unit that stores a category graph that defines a hierarchy of categories used for directory searches;
The thesaurus, the category graph, such that words included in the first category and the thesaurus in the category graph are linked, and words included in the second category and the topic graph in the category graph are linked. And a graph creation unit that creates the related word graph having a graph structure by combining the topic graphs,
A related word graph creating apparatus comprising:
請求項1に記載の関連語グラフ作成装置であって、
前記グラフ作成部は、前記カテゴリグラフにおける第1の前記カテゴリの名称と一致する、前記シソーラスに含まれる単語と、前記第1のカテゴリの下位階層に所属する第2の前記カテゴリの名称と一致する、前記トピックグラフに含まれる単語とがリンクされるように、前記シソーラスに前記トピックグラフを組み合わせること、
を特徴とする関連語グラフ作成装置。
The related word graph creation device according to claim 1,
The graph creation unit matches a word included in the thesaurus that matches the name of the first category in the category graph and a name of the second category belonging to a lower hierarchy of the first category. , Combining the topic graph with the thesaurus so that words included in the topic graph are linked;
Related word graph creation device characterized by
請求項1に記載の関連語グラフ作成装置であって、
前記シソーラス、前記トピックグラフ、前記カテゴリグラフは有向グラフであり、
前記グラフ作成部は、前記カテゴリグラフにおける2つのカテゴリ間のエッジごとに、前記エッジが接続する前記2つのカテゴリのうち第1の前記カテゴリの名称に一致する第1の単語が前記シソーラスに含まれており、前記2つのカテゴリのうち第2の前記カテゴリの名称に一致する第2の単語が前記トピックグラフに含まれている場合に、前記第1及び第2の単語を接続するエッジが作成されるように、前記シソーラスに前記トピックグラフを組み合わせること、
を特徴とする関連語グラフ作成装置。
The related word graph creation device according to claim 1,
The thesaurus, the topic graph, and the category graph are directed graphs,
The graph creation unit includes, for each edge between two categories in the category graph, a first word that matches the name of the first category among the two categories to which the edge is connected included in the thesaurus. And an edge connecting the first and second words is created when the topic graph includes a second word that matches the name of the second category of the two categories. Combining the topic graph with the thesaurus,
Related word graph creation device characterized by
請求項3に記載の関連語グラフ作成装置であって、
前記シソーラス記憶部は、前記シソーラスを構成するノードごとに前記ノードに対応する単語を含むノード情報を記憶し、前記シソーラスを構成する前記ノード間のエッジごとに、2つの前記ノードを示す2つの識別情報を含むエッジ情報を記憶し、
前記トピックグラフ記憶部は、前記トピックグラフを構成する前記ノードごとに前記ノードに対応する単語を含む前記ノード情報を記憶し、前記トピックグラフを構成する前記ノード間の前記エッジごとに2つの前記識別情報を含む前記エッジ情報を記憶し、
前記カテゴリグラフ記憶部は、前記カテゴリグラフを構成する前記ノードごとに前記ノードに対応する前記カテゴリを示す単語を含む前記ノード情報を記憶し、前記カテゴリグラフを構成する前記ノード間の前記エッジごとに2つの前記識別情報を含む前記エッジ情報を記憶し、
前記グラフ作成部は、
前記シソーラス記憶部に記憶されている前記ノード情報及び前記エッジ情報を前記関連語グラフ記憶部に登録し、
前記トピックグラフ記憶部に記憶されている前記ノード情報及び前記エッジ情報を前記関連語グラフ記憶部に登録し、
前記カテゴリグラフ記憶部に記憶されている前記エッジ情報のそれぞれについて、前記エッジ情報に含まれる第1の前記識別情報に対応する第1の前記ノード情報に設定される単語が、前記シソーラス記憶部に記憶されている第2の前記ノード情報に設定される単語に一致し、かつ、前記エッジ情報に含まれる第2の前記識別情報に対応する第2の前記ノード情報に設定される単語が、前記トピックグラフ記憶部に記憶されている第3の前記ノード情報に設定される単語に一致する場合に、前記第2のノード情報を示す前記識別情報と前記第3のノード情報を示す前記識別情報とを設定した前記エッジ情報を前記関連語グラフに登録すること、
を特徴とする関連語グラフ作成装置。
The related word graph creation device according to claim 3,
The thesaurus storage unit stores node information including a word corresponding to the node for each node constituting the thesaurus, and two identifications indicating two nodes for each edge between the nodes constituting the thesaurus Memorize edge information including information,
The topic graph storage unit stores the node information including a word corresponding to the node for each node constituting the topic graph, and the two identifications for each edge between the nodes constituting the topic graph. Storing the edge information including information;
The category graph storage unit stores the node information including a word indicating the category corresponding to the node for each node constituting the category graph, and for each edge between the nodes constituting the category graph. Storing the edge information including two pieces of the identification information;
The graph creation unit
Register the node information and the edge information stored in the thesaurus storage unit in the related word graph storage unit,
Register the node information and the edge information stored in the topic graph storage unit in the related word graph storage unit,
For each of the edge information stored in the category graph storage unit, a word set in the first node information corresponding to the first identification information included in the edge information is stored in the thesaurus storage unit. The word set in the second node information corresponding to the second identification information included in the edge information matches the word set in the second node information stored, and The identification information indicating the second node information and the identification information indicating the third node information when the word matches the word set in the third node information stored in the topic graph storage unit; Registering the edge information set to the related word graph;
Related word graph creation device characterized by
入力された単語に関連する関連語を提供する関連語提供装置であって、
ディレクトリ検索に用いられるカテゴリの階層を定義するカテゴリグラフにおける第1の前記カテゴリと単語の概念階層を定義するシソーラスに含まれる単語とがリンクされ、前記カテゴリグラフにおける第2の前記カテゴリとコーパスに含まれる単語間の関係を定義するトピックグラフに含まれる単語とがリンクされるように、前記シソーラス、前記カテゴリグラフ及び前記トピックグラフを組み合わせて作成された、グラフ構造の関連語グラフを記憶する関連語グラフ記憶部と、
第1の単語の入力を受け付ける単語入力部と、
前記関連語グラフ記憶部に記憶されている前記関連語グラフにおいて、前記第1の単語から1つ以上のエッジを介して接続される第2の単語を、前記関連語として取得する関連語取得部と、
前記関連語を出力する関連語出力部と、
を備えることを特徴とする関連語提供装置。
A related word providing device for providing related words related to an input word,
The first category in the category graph that defines the hierarchy of categories used for directory search is linked to the words included in the thesaurus that defines the conceptual hierarchy of words, and is included in the second category and corpus in the category graph A related word for storing a related word graph having a graph structure created by combining the thesaurus, the category graph, and the topic graph so that the words included in the topic graph that define the relationship between the words are linked. A graph storage unit;
A word input unit for receiving input of the first word;
In the related word graph stored in the related word graph storage unit, a related word acquisition unit that acquires, as the related word, a second word connected from the first word via one or more edges. When,
A related word output unit for outputting the related word;
A related word providing device comprising:
入力された単語に関連する関連語を提供する関連語提供装置であって、
単語の概念階層を定義するシソーラスを記憶するシソーラス記憶部と、
コーパスに含まれる単語間の関係を定義するトピックグラフを記憶するトピックグラフ記憶部と、
ディレクトリ検索に用いられるカテゴリの階層を定義するカテゴリグラフを記憶するカテゴリグラフ記憶部と、
前記カテゴリグラフにおける第1の前記カテゴリ及び前記シソーラスに含まれる単語がリンクされ、前記カテゴリグラフにおける第2の前記カテゴリ及び前記トピックグラフに含まれる単語がリンクされるように、前記シソーラス、前記カテゴリグラフ及び前記トピックグラフを組み合わせて、グラフ構造の前記関連語グラフを作成するグラフ作成部と、
前記関連語グラフを記憶する関連語グラフ記憶部と、
第1の単語の入力を受け付ける単語入力部と、
前記関連語グラフ記憶部に記憶されている前記関連語グラフにおいて、前記第1の単語から1つ以上のエッジを介して接続される第2の単語を、前記関連語として取得する関連語取得部と、
前記関連語を出力する関連語出力部と、
を備えることを特徴とする関連語提供装置。
A related word providing device for providing related words related to an input word,
A thesaurus storage unit that stores a thesaurus that defines a conceptual hierarchy of words;
A topic graph storage unit that stores a topic graph that defines a relationship between words included in the corpus;
A category graph storage unit that stores a category graph that defines a hierarchy of categories used for directory searches;
The thesaurus, the category graph, such that words included in the first category and the thesaurus in the category graph are linked, and words included in the second category and the topic graph in the category graph are linked. And a graph creation unit that creates the related word graph having a graph structure by combining the topic graphs,
A related word graph storage unit for storing the related word graph;
A word input unit for receiving input of the first word;
In the related word graph stored in the related word graph storage unit, a related word acquisition unit that acquires, as the related word, a second word connected from the first word via one or more edges. When,
A related word output unit for outputting the related word;
A related word providing device comprising:
単語間の関連性を定義する関連語グラフを作成する方法であって、
コンピュータが、
単語の概念階層を定義するシソーラスをメモリに記憶し、
コーパスに含まれる単語間の関係を定義するトピックグラフを前記メモリに記憶し、
ディレクトリ検索に用いられるカテゴリの階層を定義するカテゴリグラフを前記メモリに記憶し、
前記カテゴリグラフにおける第1の前記カテゴリ及び前記シソーラスに含まれる単語がリンクされ、前記カテゴリグラフにおける第2の前記カテゴリ及び前記トピックグラフに含まれる単語がリンクされるように、前記シソーラス、前記カテゴリグラフ及び前記トピックグラフを組み合わせて、グラフ構造の前記関連語グラフを作成すること、
を特徴とする関連語グラフ作成方法。
A method for creating a related term graph that defines relationships between words,
Computer
Store a thesaurus that defines the conceptual hierarchy of words in memory;
Storing in the memory a topic graph defining relationships between words contained in the corpus;
Storing in the memory a category graph defining a hierarchy of categories used for directory searches;
The thesaurus, the category graph, such that words included in the first category and the thesaurus in the category graph are linked, and words included in the second category and the topic graph in the category graph are linked. And combining the topic graphs to create the related word graph in a graph structure,
A related word graph creation method characterized by
入力された単語に関連する関連語を提供する方法であって、
ディレクトリ検索に用いられるカテゴリの階層を定義するカテゴリグラフにおける第1の前記カテゴリと単語の概念階層を定義するシソーラスに含まれる単語とがリンクされ、前記カテゴリグラフにおける第2の前記カテゴリとコーパスに含まれる単語間の関係を定義するトピックグラフに含まれる単語とがリンクされるように、前記シソーラス、前記カテゴリグラフ及び前記トピックグラフを組み合わせて作成された、グラフ構造の関連語グラフを記憶するコンピュータが、
第1の単語の入力を受け付け、
前記関連語グラフ記憶部に記憶されている前記関連語グラフにおいて、前記第1の単語から1つ以上のエッジを介して接続される第2の単語を、前記関連語として取得し、
前記関連語を出力すること、
を特徴とする関連語提供方法。
A method of providing related terms related to an input word,
The first category in the category graph that defines the hierarchy of categories used for directory search is linked to the words included in the thesaurus that defines the conceptual hierarchy of words, and is included in the second category and corpus in the category graph A computer that stores a related word graph having a graph structure created by combining the thesaurus, the category graph, and the topic graph so that words included in a topic graph that defines a relationship between words are linked to each other ,
Accepts the input of the first word,
In the related word graph stored in the related word graph storage unit, a second word connected from the first word via one or more edges is acquired as the related word,
Outputting the related word;
A related word providing method characterized by
入力された単語に関連する関連語を提供する方法であって、
コンピュータが、
単語の概念階層を定義するシソーラスをメモリに記憶し、
コーパスに含まれる単語間の関係を定義するトピックグラフを前記メモリに記憶し、
ディレクトリ検索に用いられるカテゴリの階層を定義するカテゴリグラフを前記メモリに記憶し、
前記カテゴリグラフにおける第1の前記カテゴリ及び前記シソーラスに含まれる単語がリンクされ、前記カテゴリグラフにおける第2の前記カテゴリ及び前記トピックグラフに含まれる単語がリンクされるように、前記シソーラス、前記カテゴリグラフ及び前記トピックグラフを組み合わせて、グラフ構造の前記関連語グラフを作成し、
前記関連語グラフを前記メモリに記憶し、
第1の単語の入力を受け付け、
前記メモリに記憶されている前記関連語グラフにおいて、前記第1の単語から1つ以上のエッジを介して接続される第2の単語を、前記関連語として取得し、
前記取得した関連語を出力すること、
を特徴とする関連語提供方法。
A method of providing related terms related to an input word,
Computer
Store a thesaurus that defines the conceptual hierarchy of words in memory;
Storing in the memory a topic graph defining relationships between words contained in the corpus;
Storing in the memory a category graph defining a hierarchy of categories used for directory searches;
The thesaurus, the category graph, such that words included in the first category and the thesaurus in the category graph are linked, and words included in the second category and the topic graph in the category graph are linked. And the topic graph are combined to create the related word graph having a graph structure,
Storing the related word graph in the memory;
Accepts the input of the first word,
In the related word graph stored in the memory, a second word connected from the first word via one or more edges is acquired as the related word,
Outputting the acquired related terms;
A related word providing method characterized by
単語間の関連性を定義する関連語グラフを作成するためのプログラムであって、
コンピュータに、
単語の概念階層を定義するシソーラスをメモリに記憶するステップと、
コーパスに含まれる単語間の関係を定義するトピックグラフを前記メモリに記憶するステップと、
ディレクトリ検索に用いられるカテゴリの階層を定義するカテゴリグラフを前記メモリに記憶するステップと、
前記カテゴリグラフにおける第1の前記カテゴリ及び前記シソーラスに含まれる単語がリンクされ、前記カテゴリグラフにおける第2の前記カテゴリ及び前記トピックグラフに含まれる単語がリンクされるように、前記シソーラス、前記カテゴリグラフ及び前記トピックグラフを組み合わせて、グラフ構造の前記関連語グラフを作成するステップと、
を実行させるためのプログラム。
A program for creating a related term graph that defines relationships between words,
On the computer,
Storing in a memory a thesaurus defining a conceptual hierarchy of words;
Storing in the memory a topic graph defining relationships between words included in the corpus;
Storing in the memory a category graph defining a hierarchy of categories used for directory searches;
The thesaurus, the category graph, such that words included in the first category and the thesaurus in the category graph are linked, and words included in the second category and the topic graph in the category graph are linked. And combining the topic graphs to create the related word graph in a graph structure;
A program for running
入力された単語に関連する関連語を提供するためのプログラムであって、
コンピュータに、
ディレクトリ検索に用いられるカテゴリの階層を定義するカテゴリグラフにおける第1の前記カテゴリと単語の概念階層を定義するシソーラスに含まれる単語とがリンクされ、前記カテゴリグラフにおける第2の前記カテゴリとコーパスに含まれる単語間の関係を定義するトピックグラフに含まれる単語とがリンクされるように、前記シソーラス、前記カテゴリグラフ及び前記トピックグラフを組み合わせて作成された、グラフ構造の関連語グラフをメモリに記憶するステップと、
第1の単語の入力を受け付けるステップと、
前記メモリに記憶されている前記関連語グラフにおいて、前記第1の単語から1つ以上のエッジを介して接続される第2の単語を、前記関連語として取得するステップと、
前記関連語を出力するステップと、
を実行させるためのプログラム。
A program for providing related words related to an input word,
On the computer,
The first category in the category graph that defines the hierarchy of categories used for directory search is linked to the words included in the thesaurus that defines the conceptual hierarchy of words, and is included in the second category and corpus in the category graph A related word graph having a graph structure created by combining the thesaurus, the category graph, and the topic graph is stored in a memory so that words included in a topic graph that defines a relationship between words are linked to each other. Steps,
Receiving an input of a first word;
Obtaining, as the related word, a second word connected from the first word via one or more edges in the related word graph stored in the memory;
Outputting the related terms;
A program for running
入力された単語に関連する関連語を提供するためのプログラムであって、
コンピュータに、
単語の概念階層を定義するシソーラスをメモリに記憶するステップと、
コーパスに含まれる単語間の関係を定義するトピックグラフを前記メモリに記憶するステップと、
ディレクトリ検索に用いられるカテゴリの階層を定義するカテゴリグラフを前記メモリに記憶するステップと、
前記カテゴリグラフにおける第1の前記カテゴリ及び前記シソーラスに含まれる単語がリンクされ、前記カテゴリグラフにおける第2の前記カテゴリ及び前記トピックグラフに含まれる単語がリンクされるように、前記シソーラス、前記カテゴリグラフ及び前記トピックグラフを組み合わせて、グラフ構造の前記関連語グラフを作成するステップと、
前記関連語グラフを前記メモリに記憶するステップと、
第1の単語の入力を受け付けるステップと、
前記メモリに記憶されている前記関連語グラフにおいて、前記第1の単語から1つ以上のエッジを介して接続される第2の単語を、前記関連語として取得するステップと、
前記取得した関連語を出力するステップと、
を実行させるためのプログラム。
A program for providing related words related to an input word,
On the computer,
Storing in a memory a thesaurus defining a conceptual hierarchy of words;
Storing in the memory a topic graph defining relationships between words included in the corpus;
Storing in the memory a category graph defining a hierarchy of categories used for directory searches;
The thesaurus, the category graph, such that words included in the first category and the thesaurus in the category graph are linked, and words included in the second category and the topic graph in the category graph are linked. And combining the topic graphs to create the related word graph in a graph structure;
Storing the related word graph in the memory;
Receiving an input of a first word;
Obtaining, as the related word, a second word connected from the first word via one or more edges in the related word graph stored in the memory;
Outputting the acquired related terms;
A program for running
JP2010293596A 2010-12-28 2010-12-28 Related word graph creation device, related word graph creation method, related word providing device, related word providing method, and program Active JP5208193B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010293596A JP5208193B2 (en) 2010-12-28 2010-12-28 Related word graph creation device, related word graph creation method, related word providing device, related word providing method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010293596A JP5208193B2 (en) 2010-12-28 2010-12-28 Related word graph creation device, related word graph creation method, related word providing device, related word providing method, and program

Publications (2)

Publication Number Publication Date
JP2012141756A JP2012141756A (en) 2012-07-26
JP5208193B2 true JP5208193B2 (en) 2013-06-12

Family

ID=46678003

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010293596A Active JP5208193B2 (en) 2010-12-28 2010-12-28 Related word graph creation device, related word graph creation method, related word providing device, related word providing method, and program

Country Status (1)

Country Link
JP (1) JP5208193B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101686068B1 (en) * 2015-02-24 2016-12-14 한국과학기술원 Method and system for answer extraction using conceptual graph matching
KR101769610B1 (en) * 2016-02-11 2017-08-21 한국과학기술원 System and method for query graph construction based on question-type
JP6475810B1 (en) * 2017-11-30 2019-02-27 ソフトバンク株式会社 Semantic drawing system, semantic drawing method, and semantic drawing program
CN111930916B (en) * 2020-09-18 2021-02-05 北京百度网讯科技有限公司 Dialog generation method and device, electronic equipment and storage medium
CN118093787B (en) * 2024-04-19 2024-12-27 中汽信息科技(天津)有限公司 Extraction method, equipment and storage medium of text keywords in automobile field

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0232470A (en) * 1988-07-22 1990-02-02 Nippon Telegr & Teleph Corp <Ntt> Thesaurus editing device
JPH1091645A (en) * 1996-09-10 1998-04-10 Oki Electric Ind Co Ltd Method for retrieving information
JP3553543B2 (en) * 2001-11-30 2004-08-11 三菱スペース・ソフトウエア株式会社 Related word automatic extraction device, multiple important word extraction program, and upper and lower hierarchy relation extraction program for important words
JP4032843B2 (en) * 2002-06-25 2008-01-16 富士重工業株式会社 Monitoring system and monitoring method, distance correction device and distance correction method in the monitoring system
JP2005250762A (en) * 2004-03-03 2005-09-15 Mitsubishi Electric Corp Dictionary generating apparatus, dictionary generating method, and dictionary generating program

Also Published As

Publication number Publication date
JP2012141756A (en) 2012-07-26

Similar Documents

Publication Publication Date Title
US20250322267A1 (en) Methods and apparatus for identifying concepts corresponding to input information
CN109684483B (en) Knowledge graph construction method and device, computer equipment and storage medium
EP3514694B1 (en) Query translation
Van Eck et al. Citation-based clustering of publications using CitNetExplorer and VOSviewer
Kuc et al. Elasticsearch server
CN110476151A (en) K selection using parallel processing
JP5229226B2 (en) Information sharing system, information sharing method, and information sharing program
JP6407968B2 (en) Variable search query vertical access
WO2018080942A1 (en) Change monitoring spanning graph queries
Zhang et al. STCS lexicon: Spectral-clustering-based topic-specific Chinese sentiment lexicon construction for social networks
CN111400584A (en) Recommended method, apparatus, computer equipment and storage medium for associative words
JP5208193B2 (en) Related word graph creation device, related word graph creation method, related word providing device, related word providing method, and program
US11568274B2 (en) Surfacing unique facts for entities
US11222165B1 (en) Sliding window to detect entities in corpus using natural language processing
CN112784595A (en) System and method for training and evaluating machine learning models with generalized vocabulary tokens
Cordobés et al. Graph-based techniques for topic classification of tweets in Spanish
US20200210467A1 (en) Template generation using directed acyclic word graphs
Chen et al. A framework for annotating OpenStreetMap objects using geo-tagged tweets
Spitz et al. Topexnet: entity-centric network topic exploration in news streams
CN115470489A (en) Detection model training method, detection method, device, and computer-readable medium
Barua et al. Tide: Template-independent discourse data extraction
KR20140135100A (en) Method for providing program using semantic mashup technology
CN116340617A (en) A search recommendation method and device
Li On the information transmission delay of the lexicographic product of digraphs
Ortiz de Zarate et al. Vocabulary-based method for quantifying controversy in social media

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130121

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20130129

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130219

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20160301

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 5208193

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250