JP2000148755A - Method and device for semantic analysis and record medium where semantic analysis program is recorded - Google Patents

Method and device for semantic analysis and record medium where semantic analysis program is recorded

Info

Publication number
JP2000148755A
JP2000148755A JP11238893A JP23889399A JP2000148755A JP 2000148755 A JP2000148755 A JP 2000148755A JP 11238893 A JP11238893 A JP 11238893A JP 23889399 A JP23889399 A JP 23889399A JP 2000148755 A JP2000148755 A JP 2000148755A
Authority
JP
Japan
Prior art keywords
frame
analysis
verb
phrase
deep case
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.)
Granted
Application number
JP11238893A
Other languages
Japanese (ja)
Other versions
JP3506058B2 (en
Inventor
Katsuto Bessho
克人 別所
Shigeto Iwase
成人 岩瀬
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP23889399A priority Critical patent/JP3506058B2/en
Publication of JP2000148755A publication Critical patent/JP2000148755A/en
Application granted granted Critical
Publication of JP3506058B2 publication Critical patent/JP3506058B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a method and device for semantic analysis which shorten the execution time of analysis by specifying a deep-structure case needed for later key word extraction and generating a semantic structure having a minimum necessary size without analyzing the semantics in other unnecessary deep- structure cases and lighten the load of processing system maintenance by showing the flow of analysis explicitly and to provide recording medium storing the semantic analysis program. SOLUTION: It is decided (S1) whether the object of analysis is a verbal phrase having a verb as a subject, a non-verbal phrase having mainly a noun as a subject or a part of speech by referring to analysis object section classification knowledge included in information which is appended to the analyzed object and is a sub-classification of a phrase. When the analyzed object is a verbal phrase, the relation between the verb and the deep-structure case is analyzed (S2) and when the analyzed object is a non-verbal phrase, the modification relation including a nominal phrase and an adjectival phrase is analyzed (S3). When the analyzed object is a part of speech, the semantic analysis is stopped.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、意味解析方法及び
装置及び意味解析プログラムを記録した記録媒体に係
り、特に、情報案内サービスにおいて、利用者からの問
い合わせが自然言語文であるときに、形態素解析、構文
解析、意味解析を行い、その結果、得られた意味構造か
ら、検索キーとして使用するキーワードを抽出し、抽出
したキーワードを用いて、問い合わせの自然言語文に対
応する検索対象のカテゴリー名を推論し、該カテゴリー
名に属する検索対象の集合を出力することを可能とする
情報検索システムにおける意味解析方法及び装置及び意
味解析プログラムを記録した記録媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method and apparatus for semantic analysis, and a recording medium on which a semantic analysis program is recorded. Performs analysis, syntax analysis, and semantic analysis, and as a result, extracts a keyword to be used as a search key from the obtained semantic structure, and uses the extracted keyword to search for the category name of the search target corresponding to the natural language sentence of the query And a storage medium storing a semantic analysis program in an information search system capable of outputting a set of search targets belonging to the category name.

【0002】[0002]

【従来の技術】従来の意味解析の手法としては、入力と
なる構文木の品詞ノードから、トップノードである文
(S)のノードまでボトムアップに構文木を遡って、意
味構造を生成する拡張LINGOLのような手法があ
る。拡張LINGOLでは、構文解析に用いる各文法規
則中に意味処理関数を記述し、構文解析終了後、これら
の意味処理関数が起動され、意味解析を行う。この方法
は、石崎俊による「自然言語処理」(昭晃堂)にて参照
できる。
2. Description of the Related Art As a conventional semantic analysis method, an extension for generating a semantic structure by going backward from the part-of-speech node of a syntax tree as an input to the node of a sentence (S) as a top node from the bottom up. There is a method such as LINGOL. In the extended LINGOL, a semantic processing function is described in each grammar rule used for syntactic analysis, and after the syntactic analysis is completed, these semantic processing functions are activated to perform semantic analysis. This method can be referred to in "Natural Language Processing" by Shun Ishizaki (Shokodo).

【0003】[0003]

【発明が解決しようとする課題】しかしながら、情報案
内サービスにおいて、利用者からの問い合わせが自然言
語文であるとき、形態素解析、構文解析、意味解析を行
い、その結果得られた意味構造から、検索キーとして使
用するキーワードを抽出することを可能とする情報検索
システムにおいては、抽出すべきキーワードは動詞の特
定の深層格になっている場合が多い。例えば、“I want
to buy flowers in Tokyo. ”という問い合わせ文に対
しては、抽出すべきキーワードは、動詞「buy 」、商品
「flowers」、住所「Tokyo 」であるが、これらは、そ
れぞれ、文の主辞となる動詞「want」の対象格にくる不
定詞句「to buy flowers in Tokyo 」の主辞と、その対
象格、場所格となっている。
However, in the information guidance service, when an inquiry from a user is a natural language sentence, morphological analysis, syntax analysis, and semantic analysis are performed, and a search is performed from the semantic structure obtained as a result. In an information retrieval system capable of extracting a keyword used as a key, a keyword to be extracted often has a specific deep case of a verb. For example, "I want
To buy flowers in Tokyo. ”, the keywords to be extracted are the verb“ buy ”, the product“ flowers ”, and the address“ Tokyo ”. It is the head of the infinitive phrase "to buy flowers in Tokyo" that comes in the target case of "want", and its target case and place.

【0004】このように、情報案内サービス毎に、キー
ワード抽出に必要な深層格が定まってくるため、それ以
外の深層格内部の意味構造は、キーワード抽出には不要
となる。従来のボトムアップ探索では、意味解析後のキ
ーワード抽出が必要としない深層格内部の意味解析まで
行うため、効率が悪くなるという問題がある。
[0004] As described above, the deep case necessary for keyword extraction is determined for each information guide service, and other meaning structures inside the deep case are unnecessary for keyword extraction. In the conventional bottom-up search, since the semantic analysis inside the deep case that does not require keyword extraction after the semantic analysis is performed, there is a problem that efficiency is deteriorated.

【0005】また、構文解析に用いる各文法規則中に意
味処理関数を記述する方法では、各文法規則毎に個別に
意味処理関数を作成するため、意味解析全体の流れを把
握しながら作成するのが困難という問題がある。本発明
は、上記の点に鑑みなされたもので、後のキーワード抽
出に必要な深層格を指定し、それ以外の不必要な深層格
内部の意味解析を実行することなく、必要最小の範囲の
意味構造を生成することによって解析の実行時間の短縮
を実現し、また解析全体の流れを明示的にすることによ
って、処理方式の保守の負担の軽減を実現する意味解析
方法及び装置及び意味解析プログラムを記録した記録媒
体を提供することを目的とする。
In the method of describing a semantic processing function in each grammar rule used for syntactic analysis, since a semantic processing function is created individually for each grammar rule, it is created while grasping the flow of the entire semantic analysis. There is a problem that is difficult. The present invention has been made in view of the above points, and designates a deep case necessary for keyword extraction later, without performing semantic analysis inside other unnecessary deep cases, and in a necessary minimum range. A semantic analysis method and apparatus and a semantic analysis program that reduce the execution time of an analysis by generating a semantic structure and reduce the burden of maintenance of a processing method by making the entire analysis flow explicit An object of the present invention is to provide a recording medium on which is recorded.

【0006】[0006]

【課題を解決するための手段】上記の目的を達成するた
め、本発明は次のように構成される。本発明は、自然言
語文の意味構造を解析するための意味解析方法におい
て、自然言語文の構文木を入力する過程と、該構文木の
解析対象となるノードに付随する、句の細分類である種
別の情報から、解析対象区分分類知識を参照して、該解
析対象が、動詞を主辞とする動詞句類であるか、主に名
詞を主辞とする非動詞句類であるかを判定する解析対象
区分判定過程と、前記解析対象が前記動詞句類であれ
ば、動詞と、該動詞の深層格との関係を解析する動詞句
類解析過程と、前記解析対象が前記非動詞句類であれ
ば、名詞句と形容詞句間を含む修飾関係を解析する非動
詞句類解析過程と、前記構文木のあるノードに対応する
意味フレームと、該意味フレーム間を結合する主辞関
係、深層格関係、修飾関係のリンクの集合からなる、前
記自然言語文の意味構造を出力する過程とからなる。
To achieve the above object, the present invention is configured as follows. The present invention provides a semantic analysis method for analyzing a semantic structure of a natural language sentence, wherein a step of inputting a syntax tree of the natural language sentence and a subclassification of a phrase attached to a node to be analyzed of the syntax tree are performed. From the information of a certain type, referring to the analysis target classification knowledge, it is determined whether the analysis target is a verb phrase having a verb as a head or a non-verb phrase mainly having a noun as a head. If the analysis target classification determination process, the analysis target is the verb phrase, a verb and a verb phrase analysis process for analyzing the relationship between the deep case of the verb, and the analysis target is the non-verb phrase If so, a non-verb phrase analysis process of analyzing a modification relation including a noun phrase and an adjective phrase, a semantic frame corresponding to a certain node of the syntax tree, a head relation connecting the semantic frames, and a deep case relation The natural language, consisting of a set of links in a qualifying relationship Comprising a step of outputting the semantic structure of the sentence.

【0007】上記の構成において、前記動詞句類解析過
程は、構文木上位置知識を参照して、前記解析対象の主
辞となる動詞ノードを求め、該主辞動詞ノードに対応す
る主辞動詞フレームを設定し、該解析対象に対応する解
析対象フレームから該主辞動詞フレームへ主辞関係のリ
ンクを張る主辞動詞フレーム抽出過程と、前記解析対象
を含むノードに付随する態の情報を参照することによ
り、該解析対象の態を決定する態決定過程と、前記主辞
動詞ノードに付随する動詞意味情報に記載されている深
層格から、抽出対象とする深層格を決定する抽出対象深
層格決定過程と、前記抽出対象深層格決定過程において
決定された深層格に該当する構文木ノードを求め、該構
文木ノードに対応する深層格フレームを設定し、該主辞
動詞フレームから該深層格フレームへ深層格関係のリン
クを張る深層格フレーム抽出過程と、前記深層格フレー
ム抽出過程の結果、前記深層格フレームが設定されてい
れば、該深層格フレームを入力として前記意味解析を再
帰呼出しする深層格フレーム解析過程とからなり、前記
深層格フレーム解析過程が終了すれば、再び前記抽出対
象深層格決定過程を行い、該抽出対象深層格決定過程に
おける処理の結果、抽出対象とする深層格がなければ、
前記動詞句類解析過程を含む意味解析を終了する。
In the above arrangement, the verb / phrase analysis step obtains a verb node to be the subject to be analyzed with reference to the positional knowledge on the parse tree, and sets a head / verb frame corresponding to the head / verb node. The subject verb frame extraction process of linking a subject relation link from the analysis target frame corresponding to the analysis target to the head verb frame, and referring to information on a state attached to the node including the analysis target to perform the analysis. A state determining step of determining an object state, an extraction target deep case determining step of determining a deep case to be extracted from the deep case described in the verb semantic information attached to the head verb node, A parse tree node corresponding to the deep case determined in the deep case determination process is obtained, a deep case frame corresponding to the parse tree node is set, and the deep case frame is determined from the main verb frame. As a result of the deep case frame extracting step of linking the deep case frame to the stratified case frame and the deep case frame extracting step, if the deep case frame is set, the semantic analysis is recursively performed using the deep case frame as an input. A deep case frame analysis process to be called, and when the deep case frame analysis process is completed, the extraction target deep case determination process is performed again. As a result of the processing in the extraction target deep case determination process, the deep case to be extracted If there is no case,
The semantic analysis including the verb phrase analysis process is completed.

【0008】また、前記深層格フレーム抽出過程は、前
記態決定過程において決定された態と、前記主辞動詞ノ
ードに付随する動詞意味情報とを参照することにより、
前記抽出対象深層格決定過程において決定された深層格
に対応する表層格を取得する表層格情報取得過程と、前
記表層格と前記構文木上位置知識により該表層格に該当
する構文木ノードを求める構文木ノード取得過程と、前
記構文木ノードに付随する句、種別、意味情報を含む情
報と、前記動詞意味情報に記載されている前記深層格の
制約条件知識とを照合する制約条件照合過程と、前記制
約条件照合過程の結果が真であれば、前記構文木ノード
に対応する深層格フレームを設定し、前記主辞動詞フレ
ームから該深層格フレームへ深層格関係のリンクを張る
深層格フレーム生成過程とからなる。
In the deep case frame extracting step, the state determined in the state determining step and the verb meaning information attached to the head verb node are referred to.
A surface case information obtaining step of obtaining a surface case corresponding to the deep case determined in the extraction target deep case determination step, and obtaining a parse tree node corresponding to the surface case based on the surface case and the parse tree position knowledge. A syntax tree node obtaining step, a constraint condition matching step of matching information including phrase, type, and semantic information associated with the syntax tree node with the deep case constraint condition knowledge described in the verb semantic information. If the result of the constraint matching process is true, a deep case frame generating step of setting a deep case frame corresponding to the parse tree node and linking a deep case relation from the head verb frame to the deep case frame Consists of

【0009】また、前記非動詞句類解析過程は、構文木
上位置知識を参照して、前記解析対象の主辞となる句や
品詞ノードを求め、該主辞ノードに対応する主辞フレー
ムを設定し、該解析対象に対応する解析対象フレームか
ら該主辞フレームへ主辞関係のリンクを張る主辞フレー
ム抽出過程と、前記主辞フレームを入力として、前記意
味解析を再帰呼出しする主辞フレーム解析過程と、前記
構文木上位置知識を参照して、該主辞ノードを修飾する
修飾句ノードを求め、該修飾句ノードに対応する修飾句
フレームを設定し、該主辞フレームから該修飾句フレー
ムへ修飾関係のリンクを張る修飾句フレーム抽出過程
と、前記修飾句フレーム抽出過程の結果、修飾句フレー
ムが設定されているか判定する修飾句フレーム抽出判定
過程と、前記修飾句フレーム抽出判定過程の処理の結
果、前記修飾句フレームが設定されていれば、該修飾句
フレームを入力として前記意味解析を再帰呼出しする修
飾句フレーム解析過程とからなり、前記修飾句フレーム
解析過程が終了すれば、再び前記修飾句フレーム抽出過
程の処理を行い、前記修飾句フレーム抽出判定過程の結
果、修飾句フレームが設定されていなければ、前記非動
詞句類解析過程を含む意味解析を終了する。
In the non-verb phrase analysis process, a phrase or a part of speech node which is a subject to be analyzed is obtained with reference to the positional knowledge on the parse tree, and a subject frame corresponding to the subject node is set. A subject frame extraction process of linking a subject relationship from the analysis target frame corresponding to the analysis subject to the subject frame, a subject frame analysis process of recursively calling the semantic analysis by using the subject frame as an input, With reference to the position knowledge, a modifier node for modifying the head node is obtained, a modifier frame corresponding to the modifier node is set, and a modifier link that links a modifier relationship from the head frame to the modifier frame is provided. A frame extracting step, a qualifying frame extraction determining step of determining whether a qualifying phrase frame is set as a result of the qualifying frame extracting step, As a result of the processing of the frame extraction determination step, if the modifier frame is set, the modifier frame analysis step of recursively calling the semantic analysis with the modifier frame as an input, wherein the modifier frame analysis step is performed. When the processing is completed, the processing of the qualifying phrase frame extraction process is performed again. If the qualifying phrase frame is not determined as a result of the qualifying phrase frame extraction determining step, the semantic analysis including the non-verb phrase class analysis step is ended. .

【0010】また、本発明は、上記の意味解析方法を用
いる情報検索方法であり、該情報検索方法は記憶装置及
びインタフェース部を有するコンピュータ上で実行さ
れ、前記インタフェース部を介して自然言語文を入力す
る過程と、該自然言語文に対して形態素解析及び構文解
析を行い、該自然言語文の構文木を生成する過程と、該
構文木を入力として前記意味解析を行い、前記自然言語
文の意味構造を生成する過程と、該意味構造からユーザ
の意図を表すキーワードを抽出する過程と、該キーワー
ドを用い、前記記憶装置に格納された少なくとも1つの
知識データベースを参照して、前記自然言語文に対応す
るカテゴリー名と住所情報を取得する過程と、該カテゴ
リー名と該住所情報を用い、該カテゴリー名と該住所情
報により分類された検索対象情報を含む情報データベー
スを参照して検索対象情報を取得する過程と、取得され
た情報を前記インタフェース部を介して他のコンピュー
タに送信するか、又は、前記コンピュータに接続可能な
ディスプレイに表示する過程とからなる。
[0010] The present invention is also an information retrieval method using the above-described semantic analysis method. The information retrieval method is executed on a computer having a storage device and an interface unit, and converts a natural language sentence through the interface unit. Inputting, performing a morphological analysis and syntax analysis on the natural language sentence, generating a syntax tree of the natural language sentence, performing the semantic analysis using the syntax tree as input, Generating a semantic structure; extracting a keyword representing a user's intention from the semantic structure; and using the keyword to refer to at least one knowledge database stored in the storage device, Acquiring the category name and the address information corresponding to, and using the category name and the address information, classifying by the category name and the address information Obtaining the search target information by referring to the information database including the search target information, and transmitting the obtained information to another computer via the interface unit, or displaying the obtained information on a display connectable to the computer Process.

【0011】上記の目的を達成するために、本発明は次
のように構成することもできる。本発明は、自然言語文
の意味構造を解析するための意味解析装置であり、自然
言語文の構文木を入力する手段と、動詞句類か非動詞句
類かを判定するための解析対象区分分類知識が格納され
ている解析対象区分分類知識記憶装置と、前記構文木の
解析対象となるノードに付随する、句の細分類である種
別の情報から、解析対象区分分類知識を参照して、該解
析対象が、動詞を主辞とする動詞句類であるか、主に名
詞を主辞とする非動詞句類であるかを判定する解析対象
区分判定手段と、構文木のノードを求めるための構文木
上位置知識が格納されている構文木上位置知識記憶装置
と、前記解析対象が前記動詞句類であれば、動詞と、該
動詞の深層格との関係を解析する動詞句類解析手段と、
前記解析対象が前記非動詞句類であれば、名詞句と形容
詞句間を含む修飾関係を解析する非動詞句類解析手段
と、前記構文木のあるノードに対応する意味フレーム
と、該意味フレーム間を結合する主辞関係、深層格関
係、修飾関係のリンクの集合からなる、前記自然言語文
の意味構造を出力する手段とからなる。
In order to achieve the above object, the present invention can be configured as follows. The present invention is a semantic analysis device for analyzing a semantic structure of a natural language sentence, and a means for inputting a syntax tree of a natural language sentence, and an analysis target classification for determining whether the verb phrase or the non-verb phrase is With reference to the analysis target category classification knowledge, from the information of the type that is the sub-classification of the phrase attached to the analysis target category classification knowledge storage device in which the classification knowledge is stored and the node to be analyzed of the syntax tree, Analysis target classification determining means for determining whether the analysis target is a verb phrase class having a verb as a head or a non-verb phrase mainly having a noun as a head, and a syntax for obtaining a node of a syntax tree A syntactic tree position knowledge storage device in which tree position knowledge is stored, and a verb phrase class analyzing means for analyzing a relationship between the verb and the deep case of the verb if the analysis target is the verb phrase class. ,
If the object to be analyzed is the non-verb phrase, a non-verb phrase analysis means for analyzing a modification relation including a noun phrase and an adjective phrase; a semantic frame corresponding to a certain node of the syntax tree; Means for outputting a semantic structure of the natural language sentence, comprising a set of links of a head relation, a deep case relation, and a modification relation that connect between them.

【0012】また、前記動詞句類解析手段は、前記構文
木上位置知識を参照して、前記解析対象の主辞となる動
詞ノードを求め、該主辞動詞ノードに対応する主辞動詞
フレームを設定し、該解析対象に対応する解析対象フレ
ームから該主辞動詞フレームへ主辞関係のリンクを張る
主辞動詞フレーム抽出手段と、前記解析対象を含むノー
ドに付随する態の情報を参照することにより、該解析対
象の態を決定する態決定手段と、前記主辞動詞ノードに
付随する動詞意味情報に記載されている深層格から、抽
出対象とする深層格を決定する抽出対象深層格決定手段
と、前記抽出対象深層格決定手段において決定された深
層格に該当する構文木ノードを求め、該構文木ノードに
対応する深層格フレームを設定し、該主辞動詞フレーム
から該深層格フレームへ深層格関係のリンクを張る深層
格フレーム抽出手段と、前記深層格フレーム抽出手段の
処理の結果、前記深層格フレームが設定されていれば、
該深層格フレームを入力として前記意味解析を再帰呼出
しする深層格フレーム解析手段とを有し、前記深層格フ
レーム解析手段の処理が終了すれば、再び前記抽出対象
深層格決定手段の処理を行い、該抽出対象深層格決定手
段における処理の結果、抽出対象とする深層格がなけれ
ば、前記動詞句類解析手段の処理を含む意味解析を終了
する。
Further, the verb phrase class analyzing means obtains a verb node to be the subject to be analyzed with reference to the position knowledge on the parse tree, and sets a main verb frame corresponding to the main verb node, A subject verb frame extracting means for linking a subject relation from the analysis target frame corresponding to the analysis target to the head verb frame, and information on a state attached to the node including the analysis target by referring to information of the analysis target; State determination means for determining a state, extraction target deep case determination means for determining a deep case to be extracted from the deep case described in the verb semantic information associated with the head verb node, and the extraction target deep case A parse tree node corresponding to the deep case determined by the determining means is obtained, a deep case frame corresponding to the parse tree node is set, and the deep case frame is determined from the head verb frame. A deep case frame extraction means to link the deep case relations to arm, the result of the processing of the deep case frame extracting means, if set the deep case frame,
Deep case frame analysis means for recursively calling the semantic analysis with the deep case frame as an input, and when the processing of the deep case frame analysis means ends, performs the processing of the extraction target deep case determination means again, If there is no deep case to be extracted as a result of the processing in the extraction target deep case determination means, the semantic analysis including the processing of the verb phrase class analysis means is terminated.

【0013】また、前記深層格フレーム抽出手段は、前
記態決定手段の処理において決定された態と、前記主辞
動詞ノードに付随する動詞意味情報とを参照することに
より、前記抽出対象深層格決定手段の処理において決定
された深層格に対応する表層格を取得する表層格情報取
得手段と、前記表層格と前記構文木上位置知識により該
表層格に該当する構文木ノードを求める構文木ノード取
得手段と、前記構文木ノードに付随する句、種別、意味
情報を含む情報と、前記動詞意味情報に記載されている
前記深層格の制約条件知識とを照合する制約条件照合手
段と、前記制約条件照合手段の処理の結果が真であれ
ば、前記構文木ノードに対応する深層格フレームを設定
し、前記主辞動詞フレームから該深層格フレームへ深層
格関係のリンクを張る深層格フレーム生成手段とからな
る。
Further, the deep case frame extracting means refers to the state determined in the processing of the state determining means and the verb meaning information attached to the head verb node, thereby obtaining the deep case determining object to be extracted. Surface case information obtaining means for obtaining a surface case corresponding to the deep case determined in the processing of the above, and a syntax tree node obtaining means for obtaining a syntax tree node corresponding to the surface case based on the surface case and the position knowledge on the syntax tree Constraint condition matching means for matching information including a phrase, a type, and semantic information attached to the syntax tree node with constraint knowledge of the deep case described in the verb semantic information; If the result of the processing by the means is true, a deep case frame corresponding to the parse tree node is set, and a deep case relation link is established from the head verb frame to the deep case frame. Consisting of a deep case frame generating means.

【0014】また、前記非動詞句類解析手段は、前記構
文木上位置知識を参照して、前記解析対象の主辞となる
句や品詞ノードを求め、該主辞ノードに対応する主辞フ
レームを設定し、該解析対象に対応する解析対象フレー
ムから該主辞フレームへ主辞関係のリンクを張る主辞フ
レーム抽出手段と、前記主辞フレームを入力として、前
記意味解析を再帰呼出しする主辞フレーム解析手段と、
前記構文木上位置知識を参照して、該主辞ノードを修飾
する修飾句ノードを求め、該修飾句ノードに対応する修
飾句フレームを設定し、該主辞フレームから該修飾句フ
レームへ修飾関係のリンクを張る修飾句フレーム抽出手
段と、前記修飾句フレーム抽出手段の処理の結果、修飾
句フレームが設定されているか判定する修飾句フレーム
抽出判定手段と、前記修飾句フレーム抽出判定手段の処
理の結果、前記修飾句フレームが設定されていれば、該
修飾句フレームを入力として前記意味解析を再帰呼出し
する修飾句フレーム解析手段とを有し、前記修飾句フレ
ーム解析手段の処理が終了すれば、再び前記修飾句フレ
ーム抽出手段の処理を行い、前記修飾句フレーム抽出判
定手段の処理の結果、修飾句フレームが設定されていな
ければ、前記非動詞句類解析手段の処理を含む意味解析
を終了する。
The non-verb phrase analysis means refers to the position knowledge on the parse tree to find a phrase or a part of speech node to be the subject of the analysis, and sets a subject frame corresponding to the subject node. A subject frame extracting means for linking a subject relation from the analysis target frame corresponding to the analysis subject to the subject frame, and a subject frame analyzing means for recursively calling the semantic analysis with the subject frame as an input;
By referring to the position knowledge on the parse tree, a modifier node for modifying the head node is obtained, a modifier frame corresponding to the modifier node is set, and a modification relation link from the head frame to the modifier frame is provided. Qualifier frame extraction means, and a result of the processing of the qualifier frame extraction means, a qualifier frame extraction determination means for determining whether a qualification phrase frame is set, and a result of the processing of the qualification phrase frame extraction determination means, If the modifier frame is set, the modifier frame analyzing means for recursively calling the semantic analysis by inputting the modifier frame is provided. The processing of the qualifying phrase frame extracting means is performed, and as a result of the processing of the qualifying phrase frame extracting / determining means, if the qualifying phrase frame is not set, the To end the semantic analysis, including the processing of phrase such analysis means.

【0015】また、本発明は上記の意味解析装置を用い
る情報検索装置であり、記憶装置及びインタフェース部
と、前記インタフェース部を介して自然言語文を入力す
る手段と、該自然言語文に対して形態素解析及び構文解
析を行い、該自然言語文の構文木を生成する手段と、該
構文木を入力として前記意味解析を行い、前記自然言語
文の意味構造を生成する手段と、該意味構造からユーザ
の意図を表すキーワードを抽出する手段と、該キーワー
ドを用い、前記記憶装置に格納された少なくとも1つの
知識データベースを参照して、前記自然言語文に対応す
るカテゴリー名と住所情報を取得する手段と、該カテゴ
リー名と該住所情報を用い、該カテゴリー名と該住所情
報により分類された検索対象情報を含む情報データベー
スを参照して検索対象情報を取得する手段と、取得され
た情報を前記インタフェース部を介して他のコンピュー
タに送信するか、又は、前記コンピュータに接続可能な
ディスプレイに表示する手段とからなる。
Further, the present invention is an information retrieval apparatus using the above-mentioned semantic analysis apparatus, comprising: a storage device and an interface unit; means for inputting a natural language sentence via the interface unit; Means for performing morphological analysis and syntax analysis to generate a syntax tree of the natural language sentence, means for performing the semantic analysis using the syntax tree as input, and generating a semantic structure of the natural language sentence, Means for extracting a keyword representing the intention of the user, and means for using the keyword and referring to at least one knowledge database stored in the storage device to obtain category name and address information corresponding to the natural language sentence Using the category name and the address information, and referring to an information database including search target information classified by the category name and the address information. Means for obtaining an elephant information, or transmitted to another computer acquired information via the interface unit, or, and means for displaying a connectable display to the computer.

【0016】上記の目的を達成するために、本発明は更
に次のように構成することもできる。本発明は、自然言
語文の意味構造を解析するための意味解析プログラムを
記録した記録媒体において、自然言語文の構文木を入力
する手順と、該構文木の解析対象となるノードに付随す
る、句の細分類である種別の情報から、解析対象区分分
類知識を参照して、該解析対象が、動詞を主辞とする動
詞句類であるか、主に名詞を主辞とする非動詞句類であ
るかを判定する解析対象区分判定手順と、前記解析対象
が前記動詞句類であれば、動詞と、該動詞の深層格との
関係を解析する動詞句類解析手順と、前記解析対象が前
記非動詞句類であれば、名詞句と形容詞句間を含む修飾
関係を解析する非動詞句類解析手順と、前記構文木のあ
るノードに対応する意味フレームと、該意味フレーム間
を結合する主辞関係、深層格関係、修飾関係のリンクの
集合からなる、前記自然言語文の意味構造を出力する手
順とからなる。
In order to achieve the above object, the present invention can be further configured as follows. The present invention provides a method for inputting a syntax tree of a natural language sentence in a recording medium storing a semantic analysis program for analyzing a semantic structure of a natural language sentence, and a procedure attached to a node to be analyzed in the syntax tree. From the information of the type that is the sub-classification of the phrase, referring to the analysis target classification classification knowledge, the analysis target is a verb phrase having a verb as a head or a non-verb phrase having a noun as a head. An analysis target category determination procedure for determining whether there is a verb phrase class if the analysis target is the verb phrase class, and a verb phrase class analysis procedure for analyzing the relationship between the verb and the deep case of the verb; If it is a non-verb phrase, a non-verb phrase analysis procedure for analyzing a modification relation including a noun phrase and an adjective phrase; a semantic frame corresponding to a certain node of the syntax tree; Links for relationships, deep case relationships, and qualification relationships Consisting case, and a procedure for outputting the semantic structure of the natural language text.

【0017】また、前記動詞句類解析手順は、構文木上
位置知識を参照して、前記解析対象の主辞となる動詞ノ
ードを求め、該主辞動詞ノードに対応する主辞動詞フレ
ームを設定し、該解析対象に対応する解析対象フレーム
から該主辞動詞フレームへ主辞関係のリンクを張る主辞
動詞フレーム抽出手順と、前記解析対象を含むノードに
付随する態の情報を参照することにより、該解析対象の
態を決定する態決定手順と、前記主辞動詞ノードに付随
する動詞意味情報に記載されている深層格から、抽出対
象とする深層格を決定する抽出対象深層格決定手順と、
前記抽出対象深層格決定手順において決定された深層格
に該当する構文木ノードを求め、該構文木ノードに対応
する深層格フレームを設定し、該主辞動詞フレームから
該深層格フレームへ深層格関係のリンクを張る深層格フ
レーム抽出手順と、前記深層格フレーム抽出手順の結
果、前記深層格フレームが設定されていれば、該深層格
フレームを入力として前記意味解析を再帰呼出しする深
層格フレーム解析手順とを有し、前記深層格フレーム解
析手順が終了すれば、再び前記抽出対象深層格決定手順
の処理を行い、該抽出対象深層格決定手順における処理
の結果、抽出対象とする深層格がなければ、前記動詞句
類解析手順を含む意味解析を終了する。
Further, the verb phrase class analysis procedure obtains a verb node to be the subject to be analyzed with reference to the position knowledge on the parse tree, sets a head verb frame corresponding to the head verb node, and sets By referring to a subject verb frame extraction procedure for linking a subject relation verb from the analysis target frame corresponding to the analysis subject to the subject verb frame, and information on a state attached to the node including the analysis subject, the state of the analysis target is determined. A state determination procedure for determining, from the deep case described in the verb semantic information associated with the head verb node, an extraction target deep case determination procedure for determining a deep case to be extracted,
A parse tree node corresponding to the deep case determined in the extraction target deep case determination procedure is obtained, a deep case frame corresponding to the parse tree node is set, and a deep case relationship from the main verb frame to the deep case frame is set. A deep case frame extracting step of establishing a link, and a deep case frame analyzing step of recursively calling the semantic analysis with the deep case frame as an input if the deep case frame is set as a result of the deep case frame extracting procedure. When the deep case frame analysis procedure is completed, the processing of the extraction target deep case determination procedure is performed again.As a result of the processing in the extraction target deep case determination procedure, if there is no deep case to be extracted, The semantic analysis including the verb phrase analysis procedure is ended.

【0018】また、前記深層格フレーム抽出手順は、前
記態決定手順において決定された態と、前記主辞動詞ノ
ードに付随する動詞意味情報とを参照することにより、
前記抽出対象深層格決定手順において決定された深層格
に対応する表層格を取得する表層格情報取得手順と、前
記表層格と前記構文木上位置知識により該表層格に該当
する構文木ノードを求める構文木ノード取得手順と、前
記構文木ノードに付随する句、種別、意味情報を含む情
報と、前記動詞意味情報に記載されている前記深層格の
制約条件知識とを照合する制約条件照合手順と、前記制
約条件照合手順の結果が真であれば、前記構文木ノード
に対応する深層格フレームを設定し、前記主辞動詞フレ
ームから該深層格フレームへ深層格関係のリンクを張る
深層格フレーム生成手順とからなる。
Further, the deep case frame extraction procedure refers to the state determined in the state determination step and verb semantic information attached to the head verb node.
A surface case information obtaining step of obtaining a surface case corresponding to the deep case determined in the extraction target deep case determination step, and a syntax tree node corresponding to the surface case based on the surface case and the parse tree position knowledge. A syntax tree node acquisition procedure, a constraint condition matching procedure for matching information including phrase, type, and semantic information associated with the syntax tree node, and the deep case constraint knowledge described in the verb semantic information; If the result of the constraint matching procedure is true, a deep case frame generating step of setting a deep case frame corresponding to the parse tree node and linking a deep case relation from the head verb frame to the deep case frame Consists of

【0019】また、前記非動詞句類解析手順は、構文木
上位置知識を参照して、前記解析対象の主辞となる句や
品詞ノードを求め、該主辞ノードに対応する主辞フレー
ムを設定し、該解析対象に対応する解析対象フレームか
ら該主辞フレームへ主辞関係のリンクを張る主辞フレー
ム抽出手順と、前記主辞フレームを入力として、前記意
味解析を再帰呼出しする主辞フレーム解析手順と、前記
構文木上位置知識を参照して、該主辞ノードを修飾する
修飾句ノードを求め、該修飾句ノードに対応する修飾句
フレームを設定し、該主辞フレームから該修飾句フレー
ムへ修飾関係のリンクを張る修飾句フレーム抽出手順
と、前記修飾句フレーム抽出手順の処理の結果、修飾句
フレームが設定されているか判定する修飾句フレーム抽
出判定手順と、前記修飾句フレーム抽出判定手順の処理
の結果、前記修飾句フレームが設定されていれば、該修
飾句フレームを入力として前記意味解析を再帰呼出しす
る修飾句フレーム解析手順とからなり、前記修飾句フレ
ーム解析手順の処理が終了すれば、再び前記修飾句フレ
ーム抽出手順の処理を行い、前記修飾句フレーム抽出判
定手順の処理の結果、修飾句フレームが設定されていな
ければ、前記非動詞句類解析手順を含む意味解析を終了
する。
Further, the non-verb phrase class analysis procedure refers to the positional knowledge on the parse tree to find a phrase or a part of speech node to be the subject to be analyzed, and sets a subject frame corresponding to the subject node, A subject frame extraction procedure for linking a subject relationship from the analysis target frame corresponding to the analysis subject to the subject frame, a subject frame analysis procedure for recursively calling the semantic analysis with the subject frame as an input, With reference to the position knowledge, a modifier node for modifying the head node is obtained, a modifier frame corresponding to the modifier node is set, and a modifier link that links a modifier relationship from the head frame to the modifier frame is provided. A frame extraction procedure, a qualifier frame extraction determination procedure for determining whether a qualifier frame is set as a result of the processing of the qualifier frame extraction procedure, As a result of the processing of the decoration phrase frame extraction determination procedure, if the decoration phrase frame is set, the decoration phrase frame analysis step of recursively calling the semantic analysis with the decoration phrase frame as an input, When the processing of the procedure is completed, the processing of the qualifying phrase frame extraction procedure is performed again. As a result of the processing of the qualifying phrase frame extraction determining procedure, if the qualifying phrase frame is not set, the non-verb phrase class analysis procedure is performed. Terminates the semantic analysis including.

【0020】また、本発明は、上記の意味解析プログラ
ムを有する情報検索プログラムを記録した記録媒体であ
り、該情報検索プログラムは記憶装置及びインタフェー
ス部を有するコンピュータ上で実行され、前記インタフ
ェース部を介して自然言語文を入力する手順と、該自然
言語文に対して形態素解析及び構文解析を行い、該自然
言語文の構文木を生成する手順と、該構文木を入力とし
て前記意味解析を行い、前記自然言語文の意味構造を生
成する手順と、該意味構造からユーザの意図を表すキー
ワードを抽出する手順と、該キーワードを用い、前記記
憶装置に格納された少なくとも1つの知識データベース
を参照して、前記自然言語文に対応するカテゴリー名と
住所情報を取得する手順と、該カテゴリー名と該住所情
報を用い、該カテゴリー名と該住所情報により分類され
た検索対象情報を含む情報データベースを参照して検索
対象情報を取得する手順と、取得された情報を前記イン
タフェース部を介して他のコンピュータに送信するか、
又は、前記コンピュータに接続可能なディスプレイに表
示する手順とからなる。
Further, the present invention is a recording medium recording an information search program having the above-mentioned semantic analysis program, and the information search program is executed on a computer having a storage device and an interface unit, and is executed via the interface unit. Inputting a natural language sentence, performing a morphological analysis and syntax analysis on the natural language sentence, generating a syntax tree of the natural language sentence, performing the semantic analysis using the syntax tree as input, Generating a semantic structure of the natural language sentence, extracting a keyword representing a user's intention from the semantic structure, and using the keyword to refer to at least one knowledge database stored in the storage device. Acquiring a category name and address information corresponding to the natural language sentence, and using the category name and the address information to acquire the category. A step of acquiring the search target information by referring to the information database containing the search target information classified by Lee name and 該住 office information, or transmits the acquired information to another computer via the interface unit,
Or, a procedure for displaying on a display connectable to the computer.

【0021】上記のように、本発明における意味解析で
は、入力となる構文木のトップノードである文(S)の
ノードから、品詞ノードまでトップダウンに構文木を遡
って、意味構造を生成する。構文木をトップダウンに遡
っていくにあたっては、句の種類毎に、その主辞や、主
辞に対する表層格、主辞を修飾する修飾句の構文木上の
位置を規定した知識を保持し、これを参照する方式をと
っているため、従来のように、各文法規則毎に意味処理
関数を記述することをしない。
As described above, in the semantic analysis according to the present invention, a semantic structure is generated by going back up the syntax tree from the node of the sentence (S), which is the top node of the input syntax tree, to the part-of-speech node. . When going down the parse tree from the top down, for each phrase type, the knowledge that defines the head of the phrase, the surface case for the head, and the position of the qualifier that qualifies the head in the parse tree is retained and referenced. Therefore, a semantic processing function is not described for each grammar rule as in the related art.

【0022】このように、トップダウンに解析を進める
ため、文の主辞から始まって、後のキーワード抽出に必
要な特定の指定された深層格の句のみを解析対象にし、
不必要な深層格内部の解析を実行することがなくなる。
また、予め句の種類毎に、その主辞や、主辞に対する表
層格、主辞を修飾する修飾句の構文木上の位置を規定し
た知識を保持しているため、意味解析全体の流れが視覚
的に理解し易く、処理方式の修正等の保守が容易にな
る。
As described above, in order to proceed the analysis from the top down, only the phrase of the specified deep case that is necessary for keyword extraction, starting from the head of the sentence, is analyzed.
Unnecessary analysis inside the deep case is eliminated.
In addition, since the knowledge that prescribes the position of the head, the surface case for the head, and the position of the qualifier that modifies the head in the parse tree is held for each phrase type, the flow of the entire semantic analysis is visually It is easy to understand, and maintenance such as correction of the processing method becomes easy.

【0023】また、本発明の情報検索方法によれば、上
記の意味解析方法を用いるため、意味解析全体の流れが
視覚的に理解し易く、処理方式の修正等の保守が容易な
情報検索を実現することが可能となる。本発明の他の特
徴及び利点は、図面を用いて発明の実施の形態において
説明する。
Further, according to the information retrieval method of the present invention, since the above-described semantic analysis method is used, the flow of the entire semantic analysis can be easily understood visually, and the information retrieval that is easy to maintain such as correction of the processing method can be performed. It can be realized. Other features and advantages of the present invention will be described in the embodiments of the present invention with reference to the drawings.

【0024】[0024]

【発明の実施の形態】図1は、本発明の意味解析方法の
原理を説明するための図である。同図に示すように、ま
ず、構文木の解析対象となるノードを入力とし、該解析
対象に付随する、句や品詞の種類及び句の細分類である
種別の情報から、解析対象区分分類知識を参照して、該
解析対象が、動詞を主辞とする動詞句類であるか、主に
名詞を主辞とする非動詞句類であるか、品詞であるかを
判定し、当該判定結果を出力する解析対象区分判定過程
(ステップ1)を実行する。
FIG. 1 is a diagram for explaining the principle of a semantic analysis method according to the present invention. As shown in the figure, first, a node to be analyzed is input as a syntax tree, and information on a type of a phrase or part of speech and a sub-classification of a phrase attached to the analysis target is obtained. To determine whether the analysis target is a verb phrase class having a verb as a head, a non-verb phrase mainly having a noun as a head, or a part of speech, and outputting the determination result. An analysis target classification determination process (step 1) is executed.

【0025】続いて、解析対象が動詞句類であれば、該
解析対象に対応する解析対象フレームを入力とし、該解
析対象フレーム内の、動詞と、該動詞の深層格との関係
を解析し、該解析対象フレーム内の意味構造を出力する
動詞句類解析過程(ステップ2)を実行する。解析対象
が非動詞句類であれば、該解析対象に対応する解析対象
フレームを入力とし、該解析対象フレーム内の、名詞句
と形容詞句間を含む修飾関係を解析し、該解析対象フレ
ーム内の意味構造を出力する非動詞句類解析過程(ステ
ップ3)を実行する。解析対象が品詞であれば、意味解
析を終了する。
Subsequently, if the object to be analyzed is a verb phrase, the frame to be analyzed corresponding to the object to be analyzed is input, and the relationship between the verb and the deep case of the verb in the frame to be analyzed is analyzed. Then, a verb / phrase analysis process (step 2) for outputting the semantic structure in the analysis target frame is executed. If the analysis target is a non-verb phrase, the analysis target frame corresponding to the analysis target is input, and the modification relationship including the noun phrase and the adjective phrase in the analysis target frame is analyzed. The non-verb phrase analysis process (step 3) which outputs the semantic structure of is executed. If the analysis target is a part of speech, the semantic analysis ends.

【0026】図2は、上記の意味解析方法を利用した情
報検索方法の例を示すフローチャートである。同図に示
すように、自然言語入力型の情報検索方法において、ま
ず、自然言語文を入力とし、該自然言語文の構成単語と
該構成単語の品詞等の属性情報の組の集合を出力する形
態素解析過程(ステップ11)を実行する。次に、形態
素解析過程(ステップ11)の出力結果を入力とし、各
ノードに句や品詞の種類、句の細分類である種別、意味
情報等の情報が付随した、該自然言語文の構文木を出力
する構文解析過程(ステップ12)を実行する。
FIG. 2 is a flowchart showing an example of an information retrieval method using the above-mentioned semantic analysis method. As shown in the figure, in the natural language input type information search method, first, a natural language sentence is input, and a set of a set of attribute information such as a constituent word of the natural language sentence and a part of speech of the constituent word is output. The morphological analysis process (step 11) is executed. Next, the output result of the morphological analysis process (step 11) is used as an input, and the syntax tree of the natural language sentence, in which each node is accompanied by information such as the type of a phrase or part of speech, the type of sub-classification of the phrase, and semantic information. Is executed (step 12).

【0027】そして、自然言語文の構文木を入力とし、
該構文木のあるノードに対応する意味フレームと、該意
味フレーム間を結合する主辞関係(句と、該句内の構文
的性質の多くを決定する句・品詞との関係)、深層格関
係(動詞と、該動詞の対象格、場所格等に該当する名詞
句等との関係)、修飾関係(名詞句と、該名詞句を修飾
する形容詞句間等の関係)のリンクの集合からなる、該
自然言語文の意味構造を出力する意味解析過程(ステッ
プ13)を実行し、自然言語文の意味構造を入力とし、
該自然言語文中の検索者の意図を表すキーワードを抽出
し、当該キーワードを出力するキーワード抽出過程(ス
テップ14)を実行する。
Then, the syntax tree of the natural language sentence is input and
A semantic frame corresponding to a certain node of the syntactic tree, a head relation (a relation between a phrase and a phrase / part of speech that determines many syntactic properties in the phrase), a deep case relation ( It is composed of a set of links of a verb and a noun phrase corresponding to the target case, place case, etc. of the verb, and a modification relationship (a relation between the noun phrase and an adjective phrase modifying the noun phrase). Executing a semantic analysis process (step 13) for outputting the semantic structure of the natural language sentence, inputting the semantic structure of the natural language sentence,
A keyword representing the intention of the searcher in the natural language sentence is extracted, and a keyword extracting step (step 14) of outputting the keyword is executed.

【0028】続いて、キーワード抽出過程(ステップ1
4)が出力したキーワードを入力とし、自然言語文に対
応する検索対象のカテゴリー名を出力するカテゴリー名
推論過程(ステップ15)を実行し、形態素解析過程
(ステップ11)の出力結果を入力とし、指定した品詞
等の属性情報をもつ単語を抽出し、当該単語を出力する
単語抽出過程(ステップ16)を実行し、キーワード抽
出過程(ステップ14)が出力した住所相当のキーワー
ドを入力とし、当該キーワードに対応する住所情報を出
力する住所解析過程(ステップ17)を実行する。
Subsequently, a keyword extraction process (step 1)
4) With the keyword output as an input, execute a category name inference process (Step 15) of outputting a category name of a search target corresponding to a natural language sentence, and input an output result of a morphological analysis process (Step 11), A word having attribute information such as a designated part of speech is extracted, a word extraction step (step 16) for outputting the word is executed, and a keyword corresponding to an address output in the keyword extraction step (step 14) is input, and the keyword An address analysis step (step 17) of outputting address information corresponding to the address is executed.

【0029】最後に、カテゴリー名推論過程(ステップ
15)が出力したカテゴリー名と、住所解析過程(ステ
ップ17)が出力した住所情報を入力とし、当該カテゴ
リー名に属する検索対象で、当該住所情報をもつものの
集合を検索し、さらに単語抽出過程(ステップ16)が
出力した単語をキーワードとしてもつものを上位として
優先順位付けし、当該検索対象の集合を出力する検索過
程(ステップ18)を実行する。
Finally, the category name output by the category name inference step (step 15) and the address information output by the address analysis step (step 17) are input, and the address information is searched for and belongs to the category name. A search is performed for a set of items to be searched, and a word having the word output as a keyword in the word extraction process (step 16) is assigned a higher priority, and a search process (step 18) for outputting the set of search targets is executed.

【0030】図3は、本発明の情報検索装置の構成を示
す図である。同図に示す情報検索装置2は、全体制御装
置3、自然言語処理装置4、検索装置26から構成され
る。全体制御装置3は、入力装置1から入力された自然
言語文を受理し、自然言語処理装置4に送る。次に、自
然言語処理装置4が出力する、その自然言語文に対応す
る検索対象のカテゴリー名と、住所情報と、抽出単語を
受理する。このカテゴリー名、住所情報、抽出単語を、
検索装置26に送る。次に、検索装置26が出力する、
カテゴリー名と住所情報に対応する優先順序づけられた
検索対象の集合を受理し、表示装置29に送る。なお、
各検索対象には、詳細な属性情報が付随しており、入力
装置1から特定の検索対象が指定されると、全体制御装
置3は、その検索対象の詳細な属性情報を、表示装置2
9に送ることも可能である。
FIG. 3 is a diagram showing the configuration of the information retrieval apparatus of the present invention. The information search device 2 shown in FIG. 1 includes an overall control device 3, a natural language processing device 4, and a search device 26. The general control device 3 receives the natural language sentence input from the input device 1 and sends it to the natural language processing device 4. Next, the natural language processing device 4 receives the search target category name, address information, and extracted words corresponding to the natural language sentence. This category name, address information, extracted words,
Send to search device 26. Next, the search device 26 outputs
A priority-ordered set of search targets corresponding to the category name and the address information is received and sent to the display device 29. In addition,
Each search target is accompanied by detailed attribute information. When a specific search target is specified from the input device 1, the general control device 3 displays the detailed attribute information of the search target on the display device 2.
It is also possible to send to 9.

【0031】自然言語処理装置4は、形態素解析装置
5、構文解析装置8、意味解析装置11、キーワード抽
出装置14、カテゴリー名推論装置17、単語抽出装置
20、住所解析装置23から構成され、全体制御装置3
から送られてきた自然言語文から、対応する検索対象の
カテゴリー名と、住所情報と、抽出単語を出力する。形
態素解析装置5においては、自然言語文を入力とし、形
態素解析部6が、単語辞書7を参照して、その自然言語
文の構成単語とその構成単語の品詞等の属性情報の組の
集合を出力する。
The natural language processing device 4 comprises a morphological analysis device 5, a syntax analysis device 8, a semantic analysis device 11, a keyword extraction device 14, a category name inference device 17, a word extraction device 20, and an address analysis device 23. Control device 3
It outputs the corresponding search target category name, address information, and extracted words from the natural language sentence sent from. In the morphological analysis device 5, a natural language sentence is input, and the morphological analysis unit 6 refers to the word dictionary 7 to generate a set of a set of attribute information such as a constituent word of the natural language sentence and a part of speech of the constituent word. Output.

【0032】構文解析装置8においては、形態素解析装
置5の出力結果を入力とし、構文解析部9が、句構造規
則テーブル10を参照して、各ノードに句や品詞の種
類、句の細分類である種別、意味情報等の情報が付随し
た、自然言語文の構文木を出力する。意味解析装置11
においては、自然言語文の構文木を入力とし、意味解析
部12が、各種知識記憶装置13を参照して、その構文
木のあるノードに対応する意味フレームと、その意味フ
レーム間を結合する主辞関係(句と、該句内の構文的性
質の多くを決定する句・品詞との関係)、深層格関係
(動詞と、動詞の対象格、場所格等に該当する名詞句等
との関係)、修飾関係(名詞句と、名詞句を修飾する形
容詞句間等の関係)のリンクの集合からなる、自然言語
文の意味構造を出力する。
In the syntax analysis device 8, the output result of the morphological analysis device 5 is input, and the syntax analysis unit 9 refers to the phrase structure rule table 10 and classifies each node with the type of phrase and part of speech, and the fine classification of the phrase. And outputs a syntax tree of a natural language sentence accompanied by information such as type and semantic information. Semantic analysis device 11
, A syntax tree of a natural language sentence is input, and the semantic analysis unit 12 refers to the various knowledge storage devices 13 and a semantic frame corresponding to a certain node of the syntax tree and a headword that connects the semantic frames. Relationships (relationships between phrases and phrases and parts of speech that determine many of the syntactic properties in the phrases), deep case relationships (relationships between verbs and noun phrases that correspond to verb target cases, place cases, etc.) And outputs a semantic structure of a natural language sentence composed of a set of links of a modification relation (a relation between a noun phrase and an adjective phrase modifying the noun phrase).

【0033】キーワード抽出装置14においては、自然
言語文の意味構造を入力とし、キーワード抽出部15
が、抽出規則テーブル16を参照して、自然言語文中の
検索者の意図を表すキーワードを抽出し、当該キーワー
ドを出力する。カテゴリー名推論装置17においては、
キーワード抽出装置14が出力したキーワードを入力と
し、カテゴリー名推論部18が、シソーラス等各種知識
データベース19を参照して、自然言語文に対応する検
索対象のカテゴリー名を出力する。
The keyword extracting device 14 receives the semantic structure of a natural language sentence as an input,
Refers to the extraction rule table 16 and extracts a keyword indicating the intention of the searcher in the natural language sentence, and outputs the keyword. In the category name inference device 17,
With the keyword output from the keyword extraction device 14 as an input, the category name inference unit 18 refers to various knowledge databases 19 such as a thesaurus and outputs a category name of a search target corresponding to a natural language sentence.

【0034】単語抽出装置20においては、形態素解析
装置5の出力結果を入力とし、単語抽出部21が、抽出
対象単語テーブル22を参照して、指定した品詞等の属
性情報をもつ単語を抽出し、当該単語を出力する。住所
解析装置23においては、キーワード抽出装置14が出
力した住所相当のキーワードを入力とし、住所解析部2
4が、住所テーブル25を参照して、当該キーワードに
対応する住所情報を出力する。
In the word extraction device 20, the output result of the morphological analysis device 5 is input, and the word extraction unit 21 refers to the extraction target word table 22 to extract a word having attribute information such as a designated part of speech. , And outputs the word. In the address analysis device 23, the keyword corresponding to the address output by the keyword extraction device 14 is input, and the address analysis unit 2
4 outputs the address information corresponding to the keyword with reference to the address table 25.

【0035】検索装置26は、検索部27と案内情報デ
ータベース28から構成される。案内情報データベース
28は、検索対象の集合を、カテゴリー名と住所情報に
より分類している。また、各検索対象には、詳細な属性
情報が付随しており、その中にはその検索対象のキーワ
ードも含まれている。検索装置26においては、全体制
御装置3から送られてきたカテゴリー名、住所情報、抽
出単語を入力とし、検索部27が、案内情報データベー
ス28を参照して、当該カテゴリー名に属する検索対象
で、当該住所情報をもつものの集合を検索し、さらに抽
出単語をキーワードとしてもつものを上位として優先順
序付けし、当該検索対象の集合を出力する。
The search device 26 includes a search unit 27 and a guidance information database 28. The guidance information database 28 classifies a set of search targets by category name and address information. Further, each search target is accompanied by detailed attribute information, which includes the keyword of the search target. In the search device 26, the category name, the address information, and the extracted words sent from the overall control device 3 are input, and the search unit 27 refers to the guidance information database 28 to search for the objects belonging to the category name. A set of those having the address information is searched, and a set having the extracted word as a keyword is prioritized as a higher order, and the set of search targets is output.

【0036】なお、検索対象情報を表示装置29に表示
する他、他の装置と通信するためのインタフェース部を
設けることにより検索対象情報を他の装置に送信する構
成とすることも可能である。図4は、本発明の意味解析
装置の構成を示す。この意味解析装置は上記の情報検索
装置2における意味解析装置11に相当する。
Note that, in addition to displaying the search target information on the display device 29, it is also possible to provide an interface unit for communicating with another device to transmit the search target information to another device. FIG. 4 shows the configuration of the semantic analysis device of the present invention. This semantic analysis device corresponds to the semantic analysis device 11 in the information retrieval device 2 described above.

【0037】同図に示す意味解析装置1000は、解析
対象区分判定部100、動詞句類解析部200、非動詞
句類解析部300、解析対象の種類(対応する句とその
細分類である種別の組合せ)毎に、解析対象を動詞句類
か非動詞句類か品詞かのいずれかに分類している知識を
格納する解析対象区分分類知識記憶装置400、及び、
解析対象の種類毎に、その解析対象の主辞や、主辞に対
する表層格、主辞を修飾する修飾句の構文木上の位置を
規定している知識と、主辞に対する表層格に該当するノ
ードが入力となる構文木上にない場合の、表層格の移動
先の位置を規定している知識を格納する構文木上位置知
識記憶装置500から構成される。
The semantic analysis apparatus 1000 shown in FIG. 3 includes an analysis target category determination unit 100, a verb phrase analysis unit 200, a non-verb phrase analysis unit 300, and the type of analysis target (corresponding phrase and its sub-classification type). For each of the combinations), an analysis target category classification knowledge storage device 400 storing knowledge that classifies the analysis target into one of a verb phrase, a non-verb phrase, and a part of speech, and
For each type of analysis target, the knowledge that defines the head of the analysis target, the surface case for the head, and the position on the parse tree of the qualifier that qualifies the head, and the node corresponding to the surface case for the head are input and It is configured from a syntax tree position knowledge storage device 500 that stores knowledge defining the position of the destination of the surface case when it is not on the syntax tree.

【0038】動詞句類解析部200は、主辞動詞フレー
ム抽出部210、処理対象主辞動詞フレーム決定部22
0、態決定部230、抽出対象深層格決定部240、深
層格フレーム抽出部250、処理対象深層格フレーム決
定部260、深層格フレーム解析部270から構成され
る。主辞動詞フレーム抽出部210は、解析対象を入力
とし、構文木上位置知識記憶装置500に格納された構
文木上位置知識を参照して、その解析対象の主辞となる
動詞ノードを求め、その主辞動詞ノードに対応する主辞
動詞フレームを設定し、解析対象に対応する解析対象フ
レームからその主辞動詞フレームへ主辞関係のリンクを
張ることによって、その解析対象フレーム内の意味構造
の一部を出力する。
The verb phrase class analysis unit 200 includes a head verb frame extraction unit 210 and a target head verb frame determination unit 22 to be processed.
0, a state determination unit 230, an extraction target deep case determination unit 240, a deep case frame extraction unit 250, a processing target deep case frame determination unit 260, and a deep case frame analysis unit 270. The head verb frame extraction unit 210 receives the analysis object as input, refers to the syntax tree position knowledge stored in the syntax tree position knowledge storage device 500, obtains a verb node to be the head of the analysis object, and By setting a head verb frame corresponding to the verb node and linking a head relation from the analysis target frame corresponding to the analysis target to the head verb frame, a part of the semantic structure in the analysis target frame is output.

【0039】処理対象主辞動詞フレーム決定部220
は、主辞動詞フレームを入力とし、そ主辞動詞フレーム
の内、どの主辞動詞フレームの深層格の解析を以降の処
理で行うか決定し、当該主辞動詞フレームを出力する。
態決定部230は、解析対象と、主辞動詞ノードを入力
とし、その解析対象を含むノードに付随する態の情報を
参照することにより、解析対象の態を決定し、当該態を
出力する。
Processing target head / verb frame determination unit 220
Inputs a head verb frame, determines which head verb frame of the head verb frame is to be analyzed in the subsequent processing, and outputs the head verb frame.
The state determination unit 230 receives the analysis target and the subject verb node as inputs, determines the state to be analyzed by referring to information on the state attached to the node including the analysis target, and outputs the state.

【0040】抽出対象深層格決定部240は、主辞動詞
ノードを入力とし、その主辞動詞ノードに付随する動詞
意味情報に記載されている深層格から、抽出対象とする
深層格を決定し、当該深層格を出力する。深層格フレー
ム抽出部250は、解析対象と、主辞動詞ノードと、深
層格と、態を入力とし、深層格に該当する構文木ノード
を求め、その構文木ノードに対応する深層格フレームが
未設定なら設定し、主辞動詞フレームからその深層格フ
レームへ深層格関係のリンクを張ることによって、解析
対象フレーム内の意味構造の一部を出力する。詳細は後
述する。
The extraction target deep case determination unit 240 receives the subject verb node as input, determines the deep case to be extracted from the deep case described in the verb meaning information associated with the subject verb node, and Output case. The deep case frame extraction unit 250 receives the analysis target, the head verb node, the deep case, and the state as inputs, obtains a syntax tree node corresponding to the deep case, and has not set a deep case frame corresponding to the syntax tree node. Then, a part of the semantic structure in the analysis target frame is output by linking a deep case relationship from the head verb frame to the deep case frame. Details will be described later.

【0041】処理対象深層格フレーム決定部260は、
深層格フレーム抽出部250で新規に設定された深層格
フレームを入力とし、その深層格フレームの内、どの深
層格フレームの解析を行うか決定し、当該深層格フレー
ムを出力する。深層格フレーム解析部270は、深層格
フレームを入力とし、意味解析を再帰呼び出しすること
によって、その深層格フレーム内の意味構造を出力す
る。
The processing target deep case frame determination unit 260
The deep case frame newly set by the deep case frame extraction unit 250 is input, and it is determined which of the deep case frames is to be analyzed, and the deep case frame is output. The deep case frame analysis unit 270 receives the deep case frame as an input, and recursively calls a semantic analysis to output the semantic structure in the deep case frame.

【0042】非動詞句類解析部300は、主辞フレーム
抽出部310、処理対象主辞フレーム決定部320、主
辞フレーム解析部330、修飾句フレーム抽出部34
0、処理対象修飾句フレーム決定部350、修飾句フレ
ーム解析部360から構成される。主辞フレーム抽出部
310は、解析対象を入力とし、構文木上位置知識を参
照して、解析対象の主辞となる句や品詞ノードを求め、
その主辞ノードに対応する主辞フレームを設定し、その
解析対象に対応する解析対象フレームからその主辞フレ
ームへ主辞関係のリンクを張ることによって、解析対象
フレーム内の意味構造の一部を出力する。
The non-verb phrase class analyzer 300 includes a subject frame extractor 310, a subject subject frame determiner 320, a subject frame analyzer 330, and a modifier phrase frame extractor 34.
0, a processing target modifier phrase frame determiner 350 and a modifier phrase frame analyzer 360. The head frame extraction unit 310 receives the analysis target as input, refers to the position knowledge on the parse tree, and obtains a phrase or part of speech node that is the head of the analysis target,
By setting a head frame corresponding to the head node and linking a head relation from the analysis target frame corresponding to the analysis target to the head frame, a part of the semantic structure in the analysis target frame is output.

【0043】処理対象主辞フレーム決定部320は、主
辞フレームを入力とし、その主辞フレームの内、どの主
辞フレームの解析を以降の処理で行うか決定し、当該主
辞フレームを出力する。主辞フレーム解析部330は、
主辞フレームを入力とし、意味解析を再帰呼び出しする
ことによって、当該主辞フレーム内の意味構造を出力す
る。
The processing subject head frame determination unit 320 receives the head frame, determines which head frame of the head frames is to be analyzed in the subsequent processing, and outputs the head frame. The head frame analysis unit 330
The semantic analysis in the subject frame is output by recursively calling the semantic analysis with the subject frame as an input.

【0044】修飾句フレーム抽出部340は、解析対象
と、主辞ノードを入力とし、構文木上位置知識を参照し
て、その主辞ノードを修飾する修飾句ノードを求め、修
飾句ノードに対応する修飾句フレームが未設定なら設定
し、主辞フレームからその修飾句フレームへ修飾関係の
リンクを張ることによって、解析対象フレーム内の意味
構造の一部を出力する。
The modifier phrase frame extractor 340 receives the analysis target and the head node as inputs, finds a modifier node that modifies the head node with reference to the position knowledge on the syntax tree, and obtains a modifier corresponding to the modifier node. If the phrase frame has not been set, it is set, and a part of the semantic structure in the analysis target frame is output by linking a modification relationship from the head frame to the modifier phrase frame.

【0045】処理対象修飾句フレーム決定部350は、
修飾句フレーム抽出部340で新規に設定された修飾句
フレームを入力とし、その修飾句フレームの内、どの修
飾句フレームの解析を行うか決定し、当該修飾句フレー
ムを出力する。なお、処理対象修飾句フレーム決定部3
50は、処理対象とする修飾句フレームがあるかどうか
の判定をすることもできるので、修飾句フレーム抽出判
定部と称してもよい。また、過程の場合にも、処理対象
修飾句フレーム決定過程を修飾句フレーム抽出判定過程
と称してもよい。
The processing target modifier frame determining unit 350
The qualifier phrase frame newly set by the qualifier phrase frame extraction unit 340 is input, and it is determined which of the qualifier phrase frames is to be analyzed, and the qualifier phrase frame is output. The processing target modifier frame determination unit 3
Since 50 can also determine whether or not there is a qualifying phrase frame to be processed, it may be referred to as a qualifying phrase frame extraction determination unit. Further, also in the case of the process, the process of determining the processing target modifier phrase frame may be referred to as a modifier phrase frame extraction determination process.

【0046】修飾句フレーム解析部360は、修飾句フ
レームを入力とし、意味解析を再帰呼び出しすることに
よって、当該修飾句フレーム内の意味構造を出力する。
図4に示す意味解析装置の構成において、入力部、表示
部を設けて構文木を入力部から入力し、表示部へ意味構
造を出力する構成とすることも可能である。また、その
表示部に意味解析の流れが視覚的にわかるように処理過
程を表示する構成とすることも可能である。また、記憶
装置に意味構造を格納する構成とすることもできる。
The modifier phrase frame analyzer 360 receives the modifier frame as an input, and recursively invokes semantic analysis to output the semantic structure in the modifier frame.
In the configuration of the semantic analysis device shown in FIG. 4, an input unit and a display unit may be provided to input a syntax tree from the input unit and output a semantic structure to the display unit. It is also possible to adopt a configuration in which the process is displayed on the display unit so that the flow of the semantic analysis can be visually understood. Further, a configuration in which a semantic structure is stored in the storage device may be adopted.

【0047】図5は、本発明の深層格フレーム抽出部の
構成を示す。深層格フレーム抽出部250は、表層格情
報取得部251、構文木ノード取得部1(252)、制
約条件照合部1(253)、深層格フレーム生成部1
(254)、表層格移動先情報取得部255、構文木ノ
ード取得部2(256)、制約条件照合部2(25
7)、深層格フレーム生成部2(258)から構成され
る。
FIG. 5 shows the configuration of the deep case frame extraction unit of the present invention. The deep case frame extraction unit 250 includes a surface case information acquisition unit 251, a syntax tree node acquisition unit 1 (252), a constraint condition matching unit 1 (253), and a deep case frame generation unit 1.
(254), surface case destination information acquisition unit 255, syntax tree node acquisition unit 2 (256), constraint condition matching unit 2 (25)
7), composed of a deep case frame generation unit 2 (258).

【0048】表層格情報取得部251は、抽出対象深層
格決定部240において決定された深層格と、態決定部
230において決定された態と、構文木ノードの有無等
についてのその他前提条件を入力の検索キーとして、主
辞動詞ノードに付随する動詞意味情報内に記載されてい
る、その検索キーに対応する表層格及び制約条件の組か
らなる表層格情報を出力する。
The surface case information acquisition unit 251 inputs the deep case determined by the extraction target deep case determination unit 240, the state determined by the state determination unit 230, and other prerequisites such as the presence or absence of a parse tree node. As the search key of, the surface case information including the set of the surface case and the constraint corresponding to the search key, which is described in the verb meaning information attached to the head verb node, is output.

【0049】構文木ノード取得部1(252)は、表層
格情報中の表層格を入力とし、構文木上位置知識を参照
してその表層格に該当する構文木ノードを出力する。制
約条件照合部1(253)は、構文木ノードと、表層格
情報中の制約条件を入力とし、構文木ノードに付随する
句や品詞の種類、種別、意味情報を含む情報と、制約条
件とを照合し、当該照合結果を出力する。
The syntax tree node acquisition unit 1 (252) receives the surface case in the surface case information as input and outputs a syntax tree node corresponding to the surface case with reference to the position knowledge on the syntax tree. The constraint condition matching unit 1 (253) receives the syntax tree node and the constraint condition in the surface case information as input, and includes information including types, types, and semantic information of phrases and parts of speech attached to the syntax tree node. And outputs the matching result.

【0050】深層格フレーム生成部1(254)は、制
約条件照合部1(253)の処理の結果が真である構文
木ノードを入力とし、その構文木ノードに対応する深層
格フレームが未設定なら設定し、主辞動詞フレームから
その深層格フレームへ深層格関係のリンクを張ることに
よって、解析対象フレーム内の意味構造の一部を出力す
る。
The deep case frame generation unit 1 (254) receives a syntax tree node whose processing result of the constraint condition matching unit 1 (253) is true, and the deep case frame corresponding to the syntax tree node has not been set. Then, a part of the semantic structure in the analysis target frame is output by linking a deep case relationship from the head verb frame to the deep case frame.

【0051】表層格移動先情報取得部255は、表層格
情報取得部251の処理の結果、表層格情報が取得でき
なかった場合や、構文木ノード取得部1(252)の処
理の結果、構文木ノードが取得できなかった場合や、制
約条件照合部1(253)の処理の結果が真である構文
木ノードが得られなかった場合に、深層格と態と構文木
ノードの有無等についてのその他前提条件を入力の検索
キーとして、主辞動詞ノードに付随する動詞意味情報内
に記載されている、検索キーに対応する表層格の移動先
及び制約条件の組からなる表層格移動先情報を出力す
る。
The surface case movement destination information acquisition unit 255 is configured to execute the processing when the surface case information cannot be acquired as a result of the processing of the surface case information acquisition unit 251 or the syntax tree node acquisition unit 1 (252). If a tree node cannot be obtained, or if a syntax tree node for which the result of the processing of the constraint condition matching unit 1 (253) is true cannot be obtained, the deep case, state, and the presence / absence of a syntax tree node are determined. Using the other prerequisites as the input search key, output the surface case move destination information, which is described in the verb semantic information associated with the main verb node, and is composed of the set of the surface case move destination and the constraint condition corresponding to the search key. I do.

【0052】構文木ノード取得部2(256)は、表層
格移動先情報中の表層格移動先を入力とし、構文木上位
置知識を参照してその表層格移動先に該当する構文木ノ
ードを出力する。制約条件照合部2(257)は、構文
木ノードと、表層格移動先情報中の制約条件を入力と
し、その構文木ノードに付随する句や品詞の種類、種
別、意味情報を含む情報と、その制約条件とを照合し、
当該照合結果を出力する。
The syntax tree node acquisition unit 2 (256) receives the surface case movement destination in the surface case movement destination information and refers to the syntax tree position knowledge to find a syntax tree node corresponding to the surface case movement destination. Output. The constraint condition matching unit 2 (257) receives the syntax tree node and the constraint condition in the surface case destination information, and inputs information including the type, type, and semantic information of the phrase and part of speech attached to the syntax tree node, Match the constraint,
The matching result is output.

【0053】深層格フレーム生成部2(258)は、制
約条件照合部2(257)の処理の結果が真である構文
木ノードを入力とし、その構文木ノードに対応する深層
格フレームが未設定なら設定し、主辞動詞フレームから
その深層格フレームへ深層格関係のリンクを張ることに
よって、解析対象フレーム内の意味構造の一部を出力す
る。
The deep case frame generation unit 2 (258) receives a syntax tree node whose processing result of the constraint condition matching unit 2 (257) is true, and the deep case frame corresponding to the syntax tree node has not been set. Then, a part of the semantic structure in the analysis target frame is output by linking a deep case relationship from the head verb frame to the deep case frame.

【0054】以下に上記の構成における動作を説明す
る。図6は、本発明の意味解析方法の動作を示すフロー
チャートである。以下に示す意味解析フローにおいて、
入力された構文木のトップノードである文(S)のノー
ドに対応する意味フレームを設定して、当該意味フレー
ムを意味解析の入力とするものとする。
The operation of the above configuration will be described below. FIG. 6 is a flowchart showing the operation of the semantic analysis method of the present invention. In the semantic analysis flow shown below,
A semantic frame corresponding to the node of the sentence (S) that is the top node of the input syntax tree is set, and the semantic frame is used as an input for semantic analysis.

【0055】ステップ100)解析対象区分判定部10
0において、入力フレームに対応するノードを解析対象
とし、当該解析対象に付随する、句や品詞の種類及び句
の細分類である種別の情報から、解析対象区分分類知識
記憶装置400に格納された解析対象区分分類知識を参
照して、その解析対象が、動詞を主辞とする動詞句類で
あるか、主に名詞を主辞とする非動詞句類であるか、品
詞であるかを判定する。解析対象区分判定の結果、解析
対象が動詞句類であれば、動詞句類解析を行うステップ
200に移行し、非動詞句類であれば、非動詞句類解析
を行うステップ300に移行し、品詞であれば、意味解
析を終了する。
Step 100) Analysis target section judging section 10
At 0, the node corresponding to the input frame is analyzed and stored in the analysis target category classification knowledge storage device 400 from the information on the type of the phrase or part of speech and the subclassification of the phrase attached to the analysis target. With reference to the analysis target classification knowledge, it is determined whether the analysis target is a verb phrase having a verb as a head, a non-verb phrase mainly having a noun as a head, or a part of speech. As a result of the analysis target classification determination, if the analysis target is a verb phrase, the process proceeds to step 200 for performing a verb phrase analysis, and if the analysis target is a non-verb phrase, the process proceeds to a step 300 for performing a non-verb phrase analysis. If it is a part of speech, the semantic analysis ends.

【0056】ステップ200)動詞句類解析を行う。ス
テップ210)主辞動詞フレーム抽出部210におい
て、解析対象を入力とし、構文木上位置知識記憶装置5
00に格納された構文木上位置知識を参照して、解析対
象の主辞となる動詞ノードを求め、その主辞動詞ノード
に対応する主辞動詞フレームを設定し、解析対象に対応
する解析対象フレームから主辞動詞フレームへ主辞関係
のリンクを張ることによって、解析対象フレーム内の意
味構造の一部を出力する。
Step 200) A verb phrase analysis is performed. Step 210) The subject verb frame extraction unit 210 receives the analysis target as an input, and stores
The reference verb node to be analyzed is obtained by referring to the position knowledge on the parse tree stored in 00, a head verb frame corresponding to the head verb node is set, and a head verb frame is set from the analysis target frame corresponding to the analysis target. By linking the head relation to the verb frame, a part of the semantic structure in the analysis target frame is output.

【0057】ステップ220)処理対象主辞動詞フレー
ム決定部220において、主辞動詞フレームを入力と
し、その主辞動詞フレームの内、どの主辞動詞フレーム
の深層格の解析を以降の処理で行うか決定し、当該主辞
動詞フレームを出力する。ステップ230)態決定部2
30において、解析対象と、主辞動詞ノードを入力と
し、解析対象を含むノードに付随する態の情報を参照す
ることにより、解析対象の態を決定し、当該態を出力す
る。
Step 220) The subject head verb frame determining unit 220 receives the head verb frame as an input, and determines which head verb frame of the head verb frame to be analyzed in the subsequent processing. Output the head verb frame. Step 230) State determination unit 2
At 30, an analysis target and a subject verb node are input, and the state of the analysis target is determined by referring to information of a state attached to the node including the analysis target, and the state is output.

【0058】ステップ240)抽出対象深層格決定部2
40において、主辞動詞ノードを入力とし、主辞動詞ノ
ードに付随する動詞意味情報に記載されている深層格か
ら、抽出対象とする深層格を決定し、当該深層格を出力
する。ステップ250)深層格フレーム抽出部250に
おいて、解析対象と、主辞動詞ノードと、深層格と、態
を入力とし、該深層格に該当する構文木ノードを求め、
該構文木ノードに対応する深層格フレームが未設定なら
設定し、主辞動詞フレームから深層格フレームへ深層格
関係のリンクを張ることによって、解析対象フレーム内
の意味構造の一部を出力する。詳細は、後述する。
Step 240) Extraction target deep case determination unit 2
At 40, a head case to be extracted is determined from the head cases described in the verb meaning information attached to the head verb node, and the head case is output. Step 250) In the deep case frame extraction unit 250, the analysis target, the head verb node, the deep case, and the state are input, and a syntax tree node corresponding to the deep case is obtained.
If the deep case frame corresponding to the syntax tree node has not been set, it is set, and a part of the semantic structure in the analysis target frame is output by linking the deep case relation from the head verb frame to the deep case frame. Details will be described later.

【0059】ステップ260)処理対象深層格フレーム
決定部260において、深層格フレーム抽出過程(ステ
ップ250)で新規に設定された深層格フレームを入力
とし、深層格フレームの内、どの深層格フレームの解析
を行うか決定し、当該深層格フレームを出力する。ステ
ップ270)深層格フレーム解析部270において、深
層格フレームを入力とし、意味解析を再帰呼び出しする
ことによって、深層格フレーム内の意味構造を出力す
る。
Step 260) The deep case frame determining unit 260 receives the deep case frame newly set in the deep case frame extraction process (step 250) and analyzes which deep case frame among the deep case frames. Is performed, and the deep case frame is output. Step 270) The deep case frame analysis unit 270 receives the deep case frame as an input and recursively calls a semantic analysis to output the semantic structure in the deep case frame.

【0060】深層格フレーム解析過程(ステップ27
0)が終了すれば、再び処理対象深層格フレーム決定過
程(ステップ260)の処理を行い、処理対象深層格フ
レーム決定過程(ステップ260)の処理の結果、処理
対象とする深層格フレームがなければ、再び抽出対象深
層格決定過程(ステップ240)の処理を行い、抽出対
象深層格決定過程(ステップ240)の処理の結果、抽
出対象とする深層格がなければ、再び処理対象主辞動詞
フレーム決定過程(ステップ220)の処理を行い、処
理対象主辞動詞フレーム決定過程(ステップ220)の
処理の結果、処理対象とする主辞動詞フレームがなけれ
ば、動詞句類解析過程(ステップ200)を含む意味解
析を終了する。
Deep Case Frame Analysis Process (Step 27)
When 0) is completed, the process of the deep case frame to be processed (step 260) is performed again, and as a result of the process of determining the deep case frame to be processed (step 260), if there is no deep case frame to be processed, The extraction target deep case determination process (step 240) is performed again. As a result of the extraction target deep case determination process (step 240), if there is no deep case to be extracted, the processing target main verb frame determination process is performed again. (Step 220), and if there is no subject verb frame to be processed as a result of the subject head verb frame determining process (Step 220), the semantic analysis including the verb phrase analysis process (Step 200) is performed. finish.

【0061】次に、非動詞句類解析過程(ステップ30
0)について説明する。ステップ310)主辞フレーム
抽出部310において、解析対象を入力とし、構文木上
位置知識を参照して、解析対象の主辞となる句や品詞ノ
ードを求め、主辞ノードに対応する主辞フレームを設定
し、解析対象に対応する解析対象フレームから主辞フレ
ームへ主辞関係のリンクを張ることによって、解析対象
フレーム内の意味構造の一部を出力する。
Next, the non-verb phrase class analysis process (step 30)
0) will be described. Step 310) The subject frame extraction unit 310 receives the analysis object as input, refers to the positional knowledge on the parse tree, finds the phrase or part of speech node to be the subject of analysis, sets a subject frame corresponding to the subject node, By linking a head relation from the analysis target frame corresponding to the analysis target to the head frame, a part of the semantic structure in the analysis target frame is output.

【0062】ステップ320)処理対象主辞フレーム決
定部320において、主辞フレームを入力とし、その主
辞フレームの内、どの主辞フレームの解析を以降の処理
で行うか決定し、当該主辞フレームを出力する。ステッ
プ330)主辞フレーム解析部330において、主辞フ
レームを入力とし、意味解析を再帰呼び出しすることに
よって、当該主辞フレーム内の意味構造を出力する。
Step 320) The subject frame determining section 320 receives the subject frame as input, determines which of the subject frames is to be analyzed in the subsequent processing, and outputs the subject frame. Step 330) The subject frame analysis unit 330 receives the subject frame as input, and recursively invokes semantic analysis to output the semantic structure in the subject frame.

【0063】ステップ340)修飾句フレーム抽出部3
40において、解析対象と、主辞ノードを入力とし、構
文木上位置知識を参照して、主辞ノードを修飾する修飾
句ノードを求め、その修飾句ノードに対応する修飾句フ
レームが未設定なら設定し、主辞フレームからその修飾
句フレームへ修飾関係のリンクを張ることによって、解
析対象フレーム内の意味構造の一部を出力する。
Step 340) Modifier phrase frame extractor 3
At 40, a qualification node that qualifies the head node is obtained by referring to the analysis target and the head node as input and referring to the position knowledge on the syntax tree, and if a qualification frame corresponding to the qualification node is not set, it is set. A part of the semantic structure in the analysis target frame is output by linking a modification relation from the head frame to the decoration phrase frame.

【0064】ステップ350)処理対象修飾句フレーム
決定部350において、修飾句フレーム抽出過程(ステ
ップ340)で新規に設定された修飾句フレームを入力
とし、その修飾句フレームの内、どの修飾句フレームの
解析を行うか決定し、当該修飾句フレームを出力する。
ステップ360)修飾句フレーム解析部360におい
て、修飾句フレームを入力とし、意味解析を再帰呼び出
しすることによって、当該修飾句フレーム内の意味構造
を出力する。
Step 350) The processing target modifier phrase frame determining unit 350 receives the modifier phrase frame newly set in the modifier phrase frame extracting step (step 340), and selects any of the modifier phrase frames among the modifier phrase frames. Determine whether to perform the analysis and output the modifier frame.
Step 360) The modifier frame analyzing unit 360 receives the modifier frame as input, and recursively invokes semantic analysis to output the semantic structure in the modifier frame.

【0065】修飾句フレーム解析過程(ステップ36
0)が終了すれば、再び処理対象修飾句フレーム決定過
程(ステップ350)の処理を行い、処理対象修飾句フ
レーム決定過程(ステップ350)の処理の結果、処理
対象とする修飾句フレームがなければ、再び処理対象主
辞フレーム決定過程(ステップ320)の処理を行い、
処理対象主辞フレーム決定過程(ステップ320)の処
理の結果、処理対象とする主辞フレームがなければ、非
動詞句類解析過程(ステップ300)を含む意味解析を
終了する。
The modifier frame analysis process (step 36)
When 0) is completed, the processing of the processing target modifier phrase frame determining step (step 350) is performed again, and as a result of the processing of the processing target modifier phrase frame determining step (step 350), if there is no modifier phrase frame to be processed, The processing of the subject head frame determination process (step 320) is performed again,
If there is no subject frame to be processed as a result of the processing of the subject frame determining process (step 320), the semantic analysis including the non-verb phrase analysis process (step 300) is ended.

【0066】次に、深層格フレーム抽出部250におけ
る深層格フレーム抽出過程(ステップ250)の動作を
説明する。図7は、本発明の深層格フレーム抽出過程の
フローチャートである。ステップ251)表層格情報取
得部251において、抽出対象深層格決定過程(ステッ
プ240)において決定された深層格と、態決定過程
(ステップ230)において決定された態と、構文木ノ
ードの有無等についてのその他前提条件を入力の検索キ
ーとして、主辞動詞ノードに付随する動詞意味情報内に
記載されている、検索キーに対応する表層格及び制約条
件の組からなる表層格情報を出力する。取得に成功すれ
ば、構文木ノード取得過程1(ステップ252)に移行
し、失敗すれば、表層格移動先情報取得過程(ステップ
255)に移行する。
Next, the operation of the deep case frame extraction process (step 250) in the deep case frame extraction unit 250 will be described. FIG. 7 is a flowchart of a deep case frame extraction process according to the present invention. Step 251) In the surface case information acquisition unit 251, the deep case determined in the extraction target deep case determination step (step 240), the state determined in the state determination step (step 230), the presence / absence of a syntax tree node, and the like. Using the other prerequisites as an input search key, surface case information composed of a set of a surface case and a constraint corresponding to the search key, which is described in the verb meaning information attached to the head verb node, is output. If the acquisition is successful, the process proceeds to the syntax tree node acquiring process 1 (step 252), and if the acquisition is unsuccessful, the process proceeds to the surface case destination information acquiring process (step 255).

【0067】ステップ252)構文木ノード取得部1
(252)において、表層格情報中の表層格を入力と
し、構文木上位置知識を参照して表層格に該当する構文
木ノードを出力する。取得に成功すれば、制約条件照合
過程1(ステップ253)に移行し、失敗すれば、表層
格移動先情報取得過程(ステップ255)に移行する。
ステップ253)制約条件照合部1(253)におい
て、構文木ノードと、表層格情報中の制約条件を入力と
し、構文木ノードに付随する句や品詞の種類、種別、意
味情報を含む情報と、制約条件とを照合し、当該照合結
果を出力する。処理結果が真である構文木ノードがあれ
ば、深層格フレーム生成過程1(ステップ254)に移
行し、なければ、表層格移動先情報取得過程(ステップ
255)に移行する。
Step 252) Syntax tree node acquisition section 1
At (252), the surface case in the surface case information is input, and the syntax tree node corresponding to the surface case is output with reference to the positional knowledge on the syntax tree. If the acquisition is successful, the process proceeds to the constraint condition matching process 1 (step 253). If the acquisition is unsuccessful, the process proceeds to the surface case destination information acquisition process (step 255).
Step 253) In the constraint condition matching unit 1 (253), the syntax tree node and the constraint condition in the surface case information are input, and the information including the type, type, and semantic information of the phrase and part of speech attached to the syntax tree node, It collates with the constraint condition and outputs the collation result. If there is a syntax tree node for which the processing result is true, the process proceeds to the deep case frame generation process 1 (step 254); otherwise, the process proceeds to the surface case movement destination information acquisition process (step 255).

【0068】ステップ254)深層格フレーム生成部1
(254)において、制約条件照合過程1(ステップ2
53)の処理の結果が真である構文木ノードを入力と
し、その構文木ノードに対応する深層格フレームが未設
定なら設定し、主辞動詞フレームから深層格フレームへ
深層格関係のリンクを張ることによって、解析対象フレ
ーム内の意味構造の一部を出力する。ステップ254が
終了すれば、当該深層格フレーム抽出過程(ステップ2
50)を終了する。
Step 254) Deep case frame generator 1
In (254), constraint condition matching process 1 (step 2)
53) Input a parse tree node for which the result of the processing of true) is true, set if a deep case frame corresponding to the parse tree node is not set, and link a deep case relation from the head verb frame to the deep case frame. Outputs a part of the semantic structure in the analysis target frame. When step 254 is completed, the deep case frame extraction process (step 2)
50) is ended.

【0069】ステップ255)表層格移動先情報取得部
255において、深層格と態と構文木ノードの有無等に
ついてのその他前提条件を入力の検索キーとして、主辞
動詞ノードに付随する動詞意味情報内に記載されてい
る、検索キーに対応する表層格の移動先及び制約条件の
組からなる表層格移動先情報を出力する。取得に成功す
れば、構文木ノード取得過程2(ステップ256)に移
行し、失敗すれば、当該深層格フレーム抽出過程(ステ
ップ250)を終了する。
Step 255) The surface case movement destination information acquisition unit 255 uses the deep case, the state, and other prerequisites such as the presence or absence of a parse tree node as search keys for input, and enters the verb semantic information attached to the main verb node. It outputs surface case movement destination information that is described and includes a set of a case movement destination and a constraint condition corresponding to the search key. If the acquisition is successful, the process proceeds to the syntax tree node acquisition process 2 (step 256). If the acquisition is unsuccessful, the deep case frame extraction process (step 250) is terminated.

【0070】ステップ256)構文木ノード取得部2
(256)において、表層格移動先情報中の表層格移動
先を入力とし、構文木上位置知識を参照してその表層格
移動先に該当する構文木ノードを出力する。取得に成功
すれば、制約条件照合過程2(ステップ257)に移行
し、失敗すれば、当該深層格フレーム抽出過程(ステッ
プ250)を終了する。
Step 256) Syntax tree node acquisition unit 2
In (256), the surface case destination in the surface case destination information is input, and the syntax tree node corresponding to the surface case destination is output with reference to the syntax tree position knowledge. If the acquisition is successful, the process proceeds to the constraint condition matching process 2 (step 257), and if the acquisition is unsuccessful, the deep case frame extraction process (step 250) is terminated.

【0071】ステップ257)制約条件照合部2(25
7)において、構文木ノードと、表層格移動先情報中の
制約条件を入力とし、構文木ノードに付随する句や品詞
の種類、種別、意味情報を含む情報と、制約条件とを照
合し、当該照合結果を出力する。処理結果が真である構
文木ノードがあれば、深層格フレーム生成過程2(ステ
ップ258)に移行し、なければ、当該深層格フレーム
抽出過程(ステップ250)を終了する。
Step 257) Constraint condition collating unit 2 (25)
In 7), the syntax tree node and the constraints in the surface case destination information are input, and information including the type, type, and semantic information of the phrase and part of speech attached to the syntax tree node is checked against the constraints. The matching result is output. If there is a syntax tree node for which the processing result is true, the process proceeds to the deep case frame generation process 2 (step 258), and if not, the deep case frame extraction process (step 250) is terminated.

【0072】ステップ258)深層格フレーム生成部2
(258)において、制約条件照合過程2(ステップ2
57)の処理の結果が真である構文木ノードを入力と
し、該構文木ノードに対応する深層格フレームが未設定
なら設定し、主辞動詞フレームから深層格フレームへ深
層格関係のリンクを張ることによって、解析対象フレー
ム内の意味構造の一部を出力する。ステップ258が終
了すれば、当該深層格フレーム抽出過程(ステップ25
0)を終了する。
Step 258) Deep case frame generator 2
In (258), the constraint matching process 2 (step 2)
57) Input a syntax tree node for which the result of the process of true is true, set if the deep case frame corresponding to the syntax tree node is not set, and link a deep case relationship from the head verb frame to the deep case frame. Outputs a part of the semantic structure in the analysis target frame. When step 258 is completed, the deep case frame extraction process (step 25)
0) is ended.

【0073】(実施例)以下、図面と共に本発明の第1
の実施例を説明する。以下に、自然言語文の例を用い
て、意味解析の方法の動作を説明する。図8は、本発明
の第1の実施例の句や品詞の種類及び記号を説明するた
めの図である。
(Embodiment) Hereinafter, the first embodiment of the present invention will be described with reference to the drawings.
An example will be described. The operation of the semantic analysis method will be described below using an example of a natural language sentence. FIG. 8 is a diagram for explaining the types and symbols of phrases and parts of speech according to the first embodiment of the present invention.

【0074】ここで、自然言語文の例として、“I want
to stay at a hotel with steeples in Tokyo. ”を考
える。図9は、本発明の第1の実施例の自然言語文の構
文木を示す。構文木上、同じ句や品詞の記号になる異な
るノードを区別するため、添数を記号に付与してある。
Here, as an example of a natural language sentence, "I want
FIG. 9 shows a syntax tree of a natural language sentence according to the first embodiment of the present invention. Different nodes that become symbols of the same phrase or part of speech in the syntax tree. Are distinguished from each other by subscripts.

【0075】各構文木ノードには、句や品詞、句の細分
類である種別、意味情報、態等の属性とその値との組み
合わせの集合の情報が付随している。図10は、本発明
の第1の実施例の意味解析処理により出力される意味構
造を示す。意味構造は、当該構文木のあるノードに対応
する意味フレームと、意味フレーム間を結合する主辞関
係、深層格関係、修飾関係のリンクの集合からなる。図
10中の四角で囲んだ各枠線が意味フレームを表し、意
味フレーム間を結合する矢印がリンクである。図9の構
文木のあるノードXに対応する意味フレームは、
『X* 』で表している。
Each syntax tree node is accompanied by information on a set of combinations of attributes such as phrases, parts of speech, types, which are subclassifications of phrases, semantic information, states, and their values. FIG. 10 shows a semantic structure output by the semantic analysis processing of the first embodiment of the present invention. The semantic structure is composed of a semantic frame corresponding to a certain node of the syntax tree, and a set of links of a head relation, a deep case relation, and a modification relation connecting the semantic frames. Each frame line enclosed by a square in FIG. 10 represents a meaning frame, and arrows connecting the meaning frames are links. The meaning frame corresponding to the node X having the syntax tree in FIG.
It is represented by "X * ".

【0076】添字が主辞となっているリンクは、主辞関
係のリンクであり、主格、対象格、場所格等の深層格名
となっているリンクは、深層格関係のリンクであり、修
飾となっているリンクは、修飾関係のリンクである。図
11は、本発明の第1の実施例の構文木を入力したとき
の意味解析処理により出力される意味構造を視覚的に示
した図である。ある意味フレームX* の主辞となる意味
フレームを、濃い枠線で表し、X* の内側におき、主辞
関係のリンクを省略している。
A link whose subscript is a head is a link of a head relation, and a link having a deep case name such as a nominative case, a target case, a place case is a link of a deep case relation and is a modifier. The link in question is a link having a qualifying relationship. FIG. 11 is a diagram visually illustrating a semantic structure output by the semantic analysis processing when the syntax tree according to the first embodiment of the present invention is input. The meaning frame which is the head of a certain meaning frame X * is represented by a dark frame line, is placed inside X * , and the head relation link is omitted.

【0077】図12は、本発明の第1の実施例の解析対
象区分分類知識記憶装置に格納されている解析対象区分
分類知識の例である。解析対象の種類(対応する句とそ
の細分類である種別の組み合わせ)毎に、解析対象が動
詞句類か非動詞句類のいずれに分類されるかを示してい
る。図13は、本発明の第1の実施例の構文木上位置知
識記憶装置に格納されている構文木上位置知識の例を示
す。解析対象の種類毎に、その解析対象の主辞や、主辞
に対する表層格、主辞を修飾する修飾句の構文木上の位
置を規定している。
FIG. 12 is an example of the analysis target category classification knowledge stored in the analysis target category classification knowledge storage device according to the first embodiment of the present invention. For each type of analysis target (combination of a corresponding phrase and a type that is a fine classification thereof), it indicates whether the analysis target is classified into a verb phrase or a non-verb phrase. FIG. 13 shows an example of syntax tree position knowledge stored in the syntax tree position knowledge storage device according to the first embodiment of this invention. For each type of analysis target, the head of the analysis target, the surface case for the head, and the position of the qualifier that modifies the head on the syntax tree are defined.

【0078】同図(A)は、解析対象がS で、種別が直
下にVPありの場合の各位置を示す。同図(B)は、解析
対象がNPで、種別が不定詞句の場合の各位置を示す。同
図(C)は、解析対象がNPで、種別が一般または、代名
詞の場合の各位置を示す。図14は、本発明の第1の実
施例の構文木の動詞ノードの意味情報の値の例を示す。
一つの動詞意味情報は、深層格と、当該深層格に該当す
る句の属性を規定した制約条件と、当該深層格に対応す
る各態毎の表層格の組み合わせの集合である。解析対象
としたい深層格の種類が、この動詞意味情報に記載され
ている。
FIG. 9A shows each position when the analysis target is S and the type is VP immediately below. FIG. 6B shows each position when the analysis target is NP and the type is an infinitive phrase. FIG. 3C shows each position when the analysis target is NP and the type is general or pronoun. FIG. 14 shows an example of the value of the semantic information of the verb node of the syntax tree according to the first embodiment of this invention.
One verb semantic information is a set of a combination of a deep case, a constraint condition defining an attribute of a phrase corresponding to the deep case, and a surface case for each state corresponding to the deep case. The type of deep case to be analyzed is described in the verb semantic information.

【0079】同図(A)は、図9の構文木の動詞ノード
V5(want)の意味情報である。深層格が主格の句は、名
詞句でかつ意味情報が人であり、表層格は、その動詞を
主辞とする解析対象の態が能動態のときは、主格であ
り、受動態のときは、前置詞「by」の目的語であるこ
とを示している。同図(B)は、図9の構文木の動詞ノ
ードV10 (stay)の意味情報である。
FIG. 9A shows a verb node of the syntax tree shown in FIG.
This is semantic information of V5 (want). Phrases whose deep case is the nominative case are noun phrases and semantic information is human, and the surface case is the nominative case when the subject to be analyzed whose subject is the verb is active is the nominative case. by ". FIG. 9B shows the semantic information of the verb node V10 (stay) in the syntax tree shown in FIG.

【0080】以下、図9の構文木を入力としたときの意
味解析の動作を説明する。なお、図6に示すフローチャ
ートに従って説明するが、説明を分かりやすくするた
め、第1の実施例においてはフローチャートにおける主
要部のみの動作を説明する。従って、場合分けを要する
過程を一部省略しており、図7においてはS251〜S
254のみがあるものとする。次の第2の実施例ではよ
り詳細な説明を行う。
The operation of semantic analysis when the syntax tree shown in FIG. 9 is input will be described below. The operation will be described with reference to the flowchart shown in FIG. 6, but in order to make the description easier to understand, only the operation of the main part in the flowchart will be described in the first embodiment. Therefore, some of the processes that require case division are omitted, and in FIG.
Assume that there are only 254. A second embodiment will be described in more detail.

【0081】構文木のトップノードであるS1のノードに
対応する意味フレームS1* を設定し、S1* を意味解析の
入力とする。まず、解析対象S1に付随する情報より、解
析対象S1の種別が直下にVPありなので、図12の解析対
象区分分類知識より、S1は動詞句類であると判定する
(ステップ100−解析対象区分判定過程)。
A semantic frame S1 * corresponding to the top node S1 of the syntax tree is set, and S1 * is used as an input for semantic analysis. First, from the information attached to the analysis target S1, the type of the analysis target S1 has a VP immediately below. Therefore, it is determined that S1 is a verb phrase based on the analysis target classification knowledge in FIG. 12 (step 100—analysis target classification). Judgment process).

【0082】図13(A)により、解析対象S1 の主辞
動詞ノードは、図9のV5(want)となる。V5に対応する
意味フレームV5* を設定し、「S1* 」から「V5* 」へ主
辞関係のリンクを張る(ステップ200−動詞句類解析
過程、ステップ210−主辞動詞フレーム抽出過程)。
解析対象S1に付随する情報より、S1の態は能動態である
と決定する(ステップ230−態決定過程)。
According to FIG. 13A, the head verb node of the analysis target S1 is V5 (want) in FIG. A semantic frame V5 * corresponding to V5 is set, and a head relation link is established from "S1 *" to "V5 *" (step 200-verb phrase analysis process, step 210-head verb frame extraction process).
From the information attached to the analysis target S1, the state of S1 is determined to be active (step 230-state determination process).

【0083】主辞動詞ノードV5に付随する情報より、V5
の意味情報は、図14(A)に示した内容である。図1
4(A)に記載された深層格から、抽出対象の深層格を
主格と決定する(ステップ240−抽出対象深層格決定
過程)。解析対象S1の態が能動態なので、図14(A)
より、表層格は主格となる(ステップ250−深層格フ
レーム抽出過程、ステップ251−表層格情報取得過
程)。
From the information attached to the head verb node V5, V5
Is the content shown in FIG. FIG.
From the deep case described in 4 (A), the deep case to be extracted is determined as the main case (step 240-extraction target deep case determination process). Since the state of the analysis target S1 is active, FIG. 14 (A)
Accordingly, the surface case becomes the main case (step 250-deep case frame extraction process, step 251-surface case information acquisition process).

【0084】図13(A)より、解析対象S1中の表層格
としての主格は、図9の『NP2 』となる(ステップ25
2−構文木ノード取得過程)。図14(A)より、深層
格としての主格の制約条件は、「名詞句」で、意味情報
が「人」であることを得る。『NP2 』に付随する情報よ
り、『NP2 』も名詞句で意味情報が『人』であるので、
照合結果は「真」となる(ステップ253−制約条件照
合過程)。
From FIG. 13A, the nominative case as the surface case in the analysis target S1 is “NP2” in FIG. 9 (step 25).
2-Syntax tree node acquisition process). From FIG. 14A, the constraint of the nominative case as the deep case is “noun phrase” and the semantic information is obtained as “person”. From the information attached to "NP2", "NP2" is a noun phrase and the semantic information is "person".
The collation result is “true” (step 253-constraint condition collation process).

【0085】『NP2 』に対応する意味フレーム『NP2*』
を設定し、「V5* 」から「NP2*」へ主格関係のリンクを
張る(ステップ254−深層格フレーム生成過程)。
『NP2*』を入力として意味解析を再帰呼出しする(ステ
ップ270−深層格フレーム解析過程)。解析対象『NP
2 』に付随する情報より、解析対象『NP2 』の種別が代
名詞なので、図12の解析対象区分分類知識より、『NP
2 』は非動詞句類であると判定する(ステップ100−
解析対象区分判定過程)。
The meaning frame “NP2 *” corresponding to “NP2”
Is set, and a link of the nominative relation is established from "V5 *" to "NP2 *" (step 254-deep case frame generation process).
The semantic analysis is recursively called using "NP2 *" as an input (step 270-deep case frame analysis process). Analysis target "NP
Since the type of the analysis target "NP2" is a pronoun from the information attached to "2", "NP2" is obtained from the analysis target classification classification knowledge in FIG.
2] are determined to be non-verb phrases (step 100-
Analysis target classification determination process).

【0086】図13(C)より、解析対象『NP2 』の主
辞ノードは、図9の『PN3 (I)』となる。『PN3 』に
対応する意味フレーム『PN3*』を設定し、『NP2*』から
『PN3*』へ主辞関係のリンクを張る(ステップ300−
非動詞句類解析過程、ステップ310−主辞フレーム抽
出過程)。『PN3 』は品詞なので、何も行わない(ステ
ップ330−主辞フレーム解析過程)。
From FIG. 13C, the head node of the analysis target "NP2" is "PN3 (I)" in FIG. A meaning frame "PN3 *" corresponding to "PN3" is set, and a head relation link is provided from "NP2 *" to "PN3 *" (step 300-).
Non-verb phrase analysis process, step 310-subject frame extraction process). Since "PN3" is a part of speech, nothing is performed (step 330-head frame analysis process).

【0087】図13(C)より、解析対象「NP2 」の主
辞ノード「PN3 」を修飾する修飾句は、図9にはないこ
とがわかる(ステップ340−修飾句フレーム抽出過
程)。修飾句フレーム抽出過程(ステップ340)の結
果、修飾句フレームは設定されなかったと判定し、解析
対象フレーム「NP2*」に対する意味解析を終了する(ス
テップ350−処理対象修飾句フレーム決定過程)。
From FIG. 13C, it can be seen that there is no modifier in FIG. 9 that modifies the head node "PN3" of the analysis target "NP2" (step 340-modifier phrase extraction process). As a result of the decoration phrase frame extraction process (step 340), it is determined that the decoration phrase frame has not been set, and the semantic analysis for the analysis target frame “NP2 *” is terminated (step 350—processing target decoration phrase frame determination process).

【0088】主辞動詞ノード「V5」の意味情報である図
14(A)に記載された深層格で抽出対象となったこと
がないものから抽出対象を選択し、抽出対象の深層格を
対象格と決定する(ステップ240−抽出対象深層格決
定過程)。解析対象「S1」の態が能動態なので、図14
(A)より、表層格は目的格となる(ステップ250−
深層格フレーム抽出過程、ステップ251−表層格情報
取得過程)。
An extraction target is selected from the deep cases that have never been extracted in FIG. 14A, which are the semantic information of the head verb node “V5”, and the deep case to be extracted is selected as the target case. (Step 240-extraction target deep case determination process). Since the state of the analysis target “S1” is active, FIG.
From (A), the superficial case becomes the objective case (step 250-
Deep case frame extraction process, step 251-surface case information acquisition process).

【0089】図13(A)より、解析対象「S1」中の目
的格は、図9の『NP6 』となる(ステップ252−構文
木ノード取得過程)。図14(A)より、対象格の制約
条件は、名詞句で意味情報が“事”であることを得る。
『NP6 』に付随する情報より、『NP6 』も名詞句で意味
情報が“事”であるので、照合結果は「真」となる(ス
テップ253−制約条件照合過程)。
As shown in FIG. 13A, the target in the analysis target "S1" is "NP6" in FIG. 9 (step 252-syntax tree node acquisition process). From FIG. 14A, the target case constraint condition is that the noun phrase has semantic information “thing”.
From the information attached to "NP6", "NP6" is a noun phrase and the meaning information is "thing", so that the matching result is "true" (step 253-constraint condition matching process).

【0090】『NP6 』に対応する意味フレーム『NP6*』
を設定し、『V5* 』から『NP6*』へ対象格関係のリンク
を張る(ステップ254−深層格フレーム生成過程)。
『NP6*』を入力として意味解析を再帰呼出しする(ステ
ップ270−深層格フレーム解析過程)。解析対象『NP
6 』に付随する情報より、解析対象『NP6 』の種別が不
定詞句なので、図12の解析対象区分分類知識より、
『NP6 』は動詞句類であると判定する(ステップ100
−解析対象区分判定過程)。
The meaning frame "NP6 *" corresponding to "NP6"
Is set, and a link of the target case relation is created from "V5 *" to "NP6 *" (step 254-deep case frame generation process).
The semantic analysis is recursively called using "NP6 *" as an input (step 270-deep case frame analysis process). Analysis target "NP
Since the type of the analysis target "NP6" is an infinitive phrase based on the information attached to "6", from the analysis target classification classification knowledge in FIG.
It is determined that "NP6" is a verb phrase (step 100).
-Analysis target classification determination process).

【0091】図13(B)より、解析対象『NP6 』の主
辞動詞ノードは、図9の『V10 (stay) 』となる。『V1
0 』に対応する意味フレーム『V10*』を設定し、『NP6
*』から『V10*』への主辞関係のリンクを張る(ステッ
プ200−動詞句類解析過程、ステップ210−主辞動
詞フレーム抽出過程)。解析対象『NP6 』に付随する情
報より、『NP6 』の態は能動態であると決定する(ステ
ップ230−態決定過程)。
From FIG. 13B, the head verb node of the analysis target "NP6" is "V10 (stay)" in FIG. 『V1
Set the meaning frame “V10 *” corresponding to “
A link of subject relations is provided from "*" to "V10 *" (step 200-verb phrase analysis process, step 210-head verb frame extraction process). The state of “NP6” is determined to be active based on the information accompanying the analysis target “NP6” (step 230—state determination process).

【0092】主辞動詞ノードV10 に付随する情報より、
V10 の意味情報は、図14(B)に示した内容である。
図14(B)に記載された深層格から、抽出対象の深層
格を主格と決定する(ステップ240−抽出対象深層格
決定過程)。解析対象『NP6 』の態が能動態なので、図
14(B)より、表層格は主格となる(ステップ250
−深層格フレーム抽出過程、ステップ251−表層格情
報取得過程)。
From the information attached to the head verb node V10,
The semantic information of V10 is the content shown in FIG.
The deep case to be extracted is determined to be the main case from the deep case described in FIG. 14B (step 240-extraction target deep case determination process). Since the state of the analysis target "NP6" is active, the superficial case becomes the nominative case from FIG. 14B (step 250).
-Deep case frame extraction process, step 251-surface case information acquisition process).

【0093】図13(B)より、解析対象『NP6 』中の
表層格としての主格がないことが分かる(ステップ25
2−構文木ノード取得過程)。構文木ノード取得過程
(ステップ252)の結果、主辞動詞ノードV10 の深層
格としての主格はないことが分かったので、何もしない
(ステップ253−制約条件照合過程)。
FIG. 13B shows that there is no nominative case as a surface case in the analysis target "NP6" (step 25).
2-Syntax tree node acquisition process). As a result of the syntax tree node acquisition process (step 252), it is found that the head verb node V10 does not have a nominative case as a deep case, so nothing is performed (step 253-constraint condition matching process).

【0094】構文木ノード取得過程(ステップ252)
の結果、主辞動詞ノードV10 の深層格として主格はない
ことが分かったので何もしない(ステップ254−深層
格フレーム生成過程)。深層格フレーム抽出過程(ステ
ップ250)の結果、主辞動詞ノードV10 の深層格とし
ての主格はないので、何も行わない(ステップ270−
深層格フレーム解析過程)。
Syntax Tree Node Acquisition Process (Step 252)
As a result, it is found that there is no nominative case as the deep case of the head verb node V10, so that nothing is done (step 254-deep case frame generation process). As a result of the deep case frame extraction process (step 250), there is no nominative case of the head verb node V10 as a deep case, so nothing is performed (step 270-).
Deep case frame analysis process).

【0095】主辞動詞ノードV10 の意味情報である図1
4(B)に記載された深層格で抽出対象となったことが
ないものから抽出対象を選択し、抽出対象の深層格を場
所格と決定する(ステップ240−抽出対象深層格決定
過程)。解析対象『NP6 』の態が能動態なので、図14
(B)より、表層格は前置詞“at”の目的語となる
(ステップ250−深層格フレーム抽出過程、ステップ
251−表層格情報取得過程)。
FIG. 1 showing the semantic information of the head verb node V10
An extraction target is selected from the deep cases described in 4 (B) which have never been an extraction target, and the deep case to be extracted is determined as a location case (step 240-extraction target deep case determination process). Since the state of the analysis target “NP6” is active,
From (B), the surface case is the object of the preposition "at" (step 250-deep case frame extraction process, step 251-surface case information acquisition process).

【0096】図13(B)で指定された前置詞の目的語
の位置で、かつ前置詞が“at”であるものを、図9の
『NP6 』中で探索し、『NP13』を得る(ステップ252
−構文木ノード取得過程)。図14(B)より、場所格
の制約条件は、名詞句で意味情報が職業であることを得
る。『NP13』に付随する情報より、『NP13』も名詞句で
意味情報が職業であるので、照合結果は「真」となる
(ステップ253−制約条件照合過程)。 『NP13』
に対応する意味フレーム『NP13* 』を設定し、『V10*』
から『NP13* 』へ場所格関係のリンクを張る(ステップ
254−深層格フレーム生成過程)。
The position of the object of the preposition designated in FIG. 13B and whose preposition is "at" is searched in "NP6" in FIG. 9 to obtain "NP13" (step 252).
-Syntax tree node acquisition process). From FIG. 14 (B), the place condition constraint condition is that the semantic information is occupation in a noun phrase. From the information attached to "NP13", since "NP13" is a noun phrase and the semantic information is occupation, the collation result is "true" (step 253-constraint condition collation process). "NP13"
Set the meaning frame "NP13 *" corresponding to "V10 *"
(Step 254-deep case frame generation process).

【0097】『NP13* 』を入力として意味解析を再帰呼
出しする(ステップ270−深層格フレーム解析過
程)。解析対象『NP13』に付随する情報より、解析対象
『NP13』の種別が一般なので、図12の解析対象区分分
類知識より、『NP13』は非動詞句類であると判定する
(ステップ100−解析対象区分判定過程)。
The semantic analysis is recursively called using "NP13 *" as an input (step 270-deep case frame analysis process). Since the type of the analysis target "NP13" is generally based on the information attached to the analysis target "NP13", it is determined that "NP13" is a non-verb phrase based on the analysis target classification knowledge in FIG. Object classification determination process).

【0098】図13(C)より、解析対象『NP13』の主
辞ノードは、図9の『NP14』となる。『NP14』に対応す
る意味フレーム『NP14* 』を設定し、『NP13* 』から
『NP14* 』へ主辞関係のリンクを張る(ステップ300
−非動詞句類解析過程、ステップ310−主辞フレーム
抽出過程)。『NP14* 』を入力として意味解析を再帰呼
出しする(ステップ330−主辞フレーム解析過程)。
From FIG. 13C, the head node of the analysis target “NP13” is “NP14” in FIG. A semantic frame "NP14 *" corresponding to "NP14" is set, and a head relation link is provided from "NP13 *" to "NP14 *" (step 300).
-Non-verb phrase analysis process, step 310-subject frame extraction process). The semantic analysis is recursively called using "NP14 *" as an input (step 330--head frame analysis process).

【0099】解析対象『NP14』に付随する情報より、解
析対象『NP14』の種別が一般なので、図12の解析対象
区分分類知識より、『NP14』は、非動詞句類であると判
定する(ステップ100−解析対象区分判定過程)。図
13(C)より、解析対象『NP14』の主辞ノードは、図
9の『NP16』となる。『NP16』に対応する意味フレーム
『NP16* 』を設定し、『NP14* 』から『NP16* 』へ主辞
関係のリンクを張る(ステップ300−非動詞句類解析
過程、ステップ310−主辞フレーム抽出過程)。
Since the type of the analysis target "NP14" is generally based on the information attached to the analysis target "NP14", it is determined that "NP14" is a non-verb phrase based on the analysis target classification classification knowledge of FIG. Step 100-analysis target classification determination process). 13C, the head node of the analysis target “NP14” is “NP16” in FIG. A semantic frame "NP16 *" corresponding to "NP16" is set, and a head relation link is established from "NP14 *" to "NP16 *" (Step 300-Non-verb phrase analysis process, Step 310-Head frame extraction process) ).

【0100】『NP16* 』を入力として意味解析を再帰呼
出しする(ステップ330−主辞フレーム解析過程)。
解析対象『NP16』に付随する情報より、解析対象『NP1
6』の種別が「一般」なので、図12の解析対象区分分
類知識より、『NP16』は、非動詞句類であると判定する
(ステップ100−解析対象区分判定過程)。
The semantic analysis is recursively called using "NP16 *" as an input (step 330--head frame analysis process).
From the information attached to the analysis target "NP16", the analysis target "NP1
Since the type of “6” is “general”, it is determined that “NP16” is a non-verb phrase class from the analysis target classification knowledge of FIG. 12 (step 100—analysis target classification determination process).

【0101】図13(C)より、解析対象『NP16』の主
辞ノードは、図9の『N17』(hotel )となる。『N1
7』に対応する意味フレーム『N17*』を設定し、『NP1
6* 』から『N17*』へ主辞関係のリンクを張る(ステ
ップ300−非動詞句類解析過程、ステップ310−主
辞フレーム抽出過程)。『N17』は、品詞なので、何も
行わない(ステップ330−主辞フレーム解析過程)。
From FIG. 13C, the head node of the analysis target "NP16" is "N17" (hotel) in FIG. 『N1
7) and set the meaning frame "N17 *" to "NP1
6 * ”to“ N17 * ”is linked with a head relation (step 300-non-verb phrase analysis process, step 310-head frame extraction process). Since "N17" is a part of speech, nothing is performed (step 330-head frame analysis process).

【0102】図13(C)より、解析対象『NP16』の主
辞ノード『N17 』を修飾する修飾句は、図9にないこと
がわかる(ステップ340−修飾句フレーム抽出過
程)。修飾句フレーム抽出過程(ステップ340)の結
果、修飾句フレームは設定されなかったと判定し、解析
対象フレーム『NP16* 』に対する意味解析を終了する
(ステップ350−処理対象修飾句フレーム決定過
程)。
From FIG. 13C, it can be seen that there is no modifier phrase for modifying the head node "N17" of the analysis object "NP16" in FIG. 9 (step 340--modifier phrase frame extraction process). As a result of the modification phrase frame extraction process (step 340), it is determined that the modification phrase frame has not been set, and the semantic analysis for the analysis target frame "NP16 *" is terminated (step 350-processing target modification phrase frame determination process).

【0103】図13(C)より、解析対象『NP14』の主
辞ノード『NP16』を修飾する修飾句は、図9にないこと
がわかる(ステップ340−修飾句フレーム抽出過
程)。修飾句フレーム抽出過程(ステップ340)の結
果、修飾句フレームは設定されなかったと判定し、解析
対象フレーム『NP14* 』に対する意味解析を終了する
(ステップ350−処理対象修飾句フレーム決定過
程)。
From FIG. 13C, it can be seen that there is no modifier phrase for modifying the head node "NP16" of the analysis target "NP14" in FIG. 9 (step 340--modifier phrase frame extraction process). As a result of the decoration phrase frame extraction process (step 340), it is determined that no decoration phrase frame has been set, and the semantic analysis for the analysis target frame "NP14 *" is terminated (step 350-processing target decoration phrase frame determination process).

【0104】図13(C)より、解析対象『NP13』の主
辞ノード『NP14』を修飾する修飾句は、図9の『NP20』
となる。『NP20』に対応する意味フレーム『NP20* 』を
設定し、『NP14* 』から『NP20* 』へ修飾関係のリンク
(with)を張る(ステップ340−修飾句フレーム抽出
過程)。修飾句フレーム抽出過程(ステップ340)の
結果、修飾句フレーム『NP20 *』が設定されたと判定
する(ステップ350−処理対象修飾句フレーム決定過
程)。
FIG. 13 (C) shows that the main data of the analysis target “NP13”
The modifier to modify the word node “NP14” is “NP20” in FIG.
Becomes The meaning frame "NP20 *" corresponding to "NP20"
Set and modify link from "NP14 *" to "NP20 *"
(With) (Step 340-Modifier phrase frame extraction)
process). Modifier phrase frame extraction process (step 340)
As a result, the modifier phrase frame “NP20 *Is set
(Step 350—Determining the processing target modifier frame)
About).

【0105】『NP20* 』を入力として意味解析を再帰呼
出しする(ステップ360−修飾句フレーム解析過
程)。解析対象『NP20』に付随する情報より、解析対象
『NP20』の種別が「一般」なので、図12の解析対象区
分分類知識より、『NP20』は非動詞句類であると判定す
る(ステップ100−解析対象区分判定過程)。
The semantic analysis is recursively called with "NP20 *" as an input (step 360--modifier phrase frame analysis process). Since the type of the analysis target “NP20” is “general” from the information attached to the analysis target “NP20”, it is determined that “NP20” is a non-verb phrase from the analysis target classification knowledge in FIG. 12 (step 100). -Analysis target classification determination process).

【0106】図13(C)より、解析対象『NP20』の主
辞ノードは図9の『N21 』(steeple )となる。『N21
』に対応する意味フレーム『N21*』を設定し、『NP20*
』から『N21*』へ主辞関係のリンクを張る(ステップ
300−非動詞句類解析過程、ステップ310−主辞フ
レーム抽出過程)。『N21 』は、品詞なので、何も行わ
ない(ステップ330−主辞フレーム解析過程)。
From FIG. 13C, the head node of the analysis target "NP20" is "N21" (steeple) in FIG. 『N21
], Set the meaning frame “N21 *” corresponding to “NP20 *
Is linked to "N21 *" (step 300-non-verb phrase analysis process, step 310-subject frame extraction process). Since "N21" is a part of speech, nothing is performed (step 330--head frame analysis process).

【0107】図13(C)より、解析対象『NP20』の主
辞ノード『N21 』を修飾する修飾句は、図9にないこと
が分かる(ステップ340−修飾句フレーム抽出過
程)。修飾句フレーム抽出過程(ステップ340)の結
果、修飾句フレームは、設定されなかったと判定し、解
析対象フレーム『NP20* 』に対する意味解析を終了する
(ステップ350−処理対象修飾句フレーム決定過
程)。
From FIG. 13C, it can be seen that there is no modifier phrase for modifying the head node "N21" of the analysis object "NP20" in FIG. 9 (step 340--modifier phrase frame extraction process). As a result of the decoration phrase frame extraction process (step 340), it is determined that the decoration phrase frame has not been set, and the semantic analysis for the analysis target frame "NP20 *" is terminated (step 350-processing target decoration phrase frame determination process).

【0108】図13(C)より、解析対象『NP13』の主
辞ノード『NP14』を修飾する修飾句は、図9の『NP24』
となる。『NP24』に対応する意味フレーム『NP24* 』を
設定し、『NP14* 』から『NP24* 』へ修飾関係のリンク
(in)を張る(ステップ340−修飾句フレーム抽出過
程)。修飾句フレーム抽出過程(ステップ340)の結
果、修飾句フレーム『NP24 *』が設定されたと判定す
る(ステップ350−処理対象修飾句フレーム決定過
程)。
FIG. 13 (C) shows that the main data of the analysis target “NP13”
The modifier to modify the word node “NP14” is “NP24” in FIG.
Becomes NP24 * meaning frame corresponding to NP24
Set and modify links from "NP14 *" to "NP24 *"
(In) (step 340—modifier phrase frame extraction
About). Result of Modifier Phrase Frame Extraction Process (Step 340)
As a result, the modifier frame “NP24 *Is set.
(Step 350-Processing target modifier frame determination
About).

【0109】『NP24* 』を入力として意味解析処理を再
帰呼出しする(ステップ360−修飾句フレーム解析過
程)。解析対象『NP24』に付随する情報より、解析対象
『NP24』の種別が「一般」なので、図12の解析対象区
分分類知識より『NP24』は非動詞句類であると判定する
(ステップ100−解析対象区分判定過程)。
The semantic analysis processing is recursively called using "NP24 *" as an input (step 360--modifier phrase frame analysis process). Since the type of the analysis target “NP24” is “general” from the information attached to the analysis target “NP24”, it is determined that “NP24” is a non-verb phrase from the analysis target classification knowledge of FIG. 12 (step 100-). Analysis target classification determination process).

【0110】図13(C)より、解析対象『NP24』の主
辞ノードは、図9の『N25 』(Tokyo )となる。『N25
』に対応する意味フレーム『N25*』を設定し、『NP24*
』から『N25*』へ主辞関係のリンクを張る(ステップ
300−非動詞句類解析過程、ステップ310−主辞フ
レーム抽出過程)。『N25 』は品詞なので、何も行わな
い(ステップ330−主辞フレーム解析過程)。図13
(C)より、解析対象『NP24』の主辞ノード『N25 』を
修飾する修飾句は図9にないことが分かる(ステップ3
40−修飾句フレーム抽出過程)。
As shown in FIG. 13C, the head node of the analysis target "NP24" is "N25" (Tokyo) in FIG. 『N25
Set the meaning frame "N25 *" corresponding to "
) To "N25 *" (step 300-non-verb phrase analysis process, step 310-subject frame extraction process). Since "N25" is a part of speech, nothing is performed (step 330--head frame analysis process). FIG.
From FIG. 9 (C), it can be seen that there is no modifier in FIG.
40-Modifier phrase frame extraction process).

【0111】修飾句フレーム抽出過程(ステップ34
0)の結果、修飾句フレームは設定されなかったと判定
し、解析対象フレーム『NP24* 』に対する意味解析を終
了する(ステップ350−処理対象修飾句フレーム決定
過程)。図13(C)より、解析対象『NP13』の主辞
ノード『NP14』を修飾する修飾句は、図9にこれ以上
ないことが分かる(ステップ340−修飾句フレーム抽
出過程)。
Modifier phrase frame extraction process (step 34)
As a result of 0), it is determined that the qualifying phrase frame has not been set, and the semantic analysis for the analysis target frame "NP24 *" is terminated (step 350-processing target qualifying phrase frame determination process). From FIG. 13C, it can be seen that there are no more modifier phrases in FIG. 9 to modify the head node "NP14" of the analysis target "NP13" (step 340-modifier phrase frame extraction process).

【0112】修飾句フレーム抽出過程(ステップ34
0)の結果、修飾句フレームは設定されなかったと判定
し、解析対象フレーム『NP13* 』に対する意味解析を終
了する(ステップ350−処理対象修飾句フレーム決定
過程)。主辞動詞ノード『V10 』の意味情報である図1
4(B)に記載された全ての深層格が抽出対象となった
ので、抽出対象の深層格はないと判定し、解析対象フレ
ーム『NP6*』に対する意味解析を終了する(ステップ2
40−抽出対象深層格決定過程)。
Modifier phrase frame extraction process (step 34)
As a result of 0), it is determined that the modifier frame has not been set, and the semantic analysis for the analysis target frame "NP13 *" is terminated (step 350-processing target modifier phrase frame determination process). Figure 1 which is the semantic information of the head verb node "V10"
Since all the deep cases described in FIG. 4 (B) are to be extracted, it is determined that there is no deep case to be extracted, and the semantic analysis for the analysis target frame “NP6 *” is completed (step 2).
40—Determination of deep case to be extracted).

【0113】主辞動詞ノード『V5 』の意味情報である
図14(A)に記載された全ての深層格が抽出対象とな
ったので、抽出対象の深層格はないと判定し、解析対象
フレーム『S1* 』に対する意味解析を終了する(ステッ
プ240−抽出対象深層格決定過程)。以上により、図
9の構文木を入力としたときの出力結果として、図10
または、図11の意味構造を得る。
Since all the deep cases described in FIG. 14A, which are the semantic information of the head verb node "V5", are to be extracted, it is determined that there is no deep case to be extracted, and the analysis target frame " The semantic analysis for "S1 *" is terminated (step 240--the process of determining the deep case to be extracted). As described above, as an output result when the syntax tree of FIG. 9 is input, FIG.
Alternatively, the semantic structure of FIG. 11 is obtained.

【0114】次に、本発明の第2の実施例について説明
する。図15は、本発明の第2の実施例の句や品詞の種
類及び記号を説明するための図である。ここで、自然言
語文の例として、"what fish and what shellfish do t
hey buy and sell at the market with roofs in Tokyo
?" を考える。以下、各図における表記上の意味は第1
の実施例における対応する図におけるものと同様であ
る。
Next, a second embodiment of the present invention will be described. FIG. 15 is a diagram for explaining types and symbols of phrases and parts of speech according to the second embodiment of the present invention. Here, as an example of a natural language sentence, "what fish and what shellfish do t
hey buy and sell at the market with roofs in Tokyo
? ". The notational meaning in each figure is
This is the same as the corresponding figure in the embodiment.

【0115】図16は、本発明の第2の実施例の自然言
語文の構文木を示す。図17は、本発明の第2の実施例
の意味解析処理により出力される意味構造を示す。図1
8は、本発明の第2の実施例の構文木を入力したときの
意味解析処理により出力される意味構造を視覚的に示し
た図である。
FIG. 16 shows a syntax tree of a natural language sentence according to the second embodiment of the present invention. FIG. 17 shows a semantic structure output by the semantic analysis processing of the second embodiment of the present invention. FIG.
FIG. 8 is a diagram visually illustrating the semantic structure output by the semantic analysis processing when the syntax tree according to the second embodiment of the present invention is input.

【0116】図19は、本発明の第2の実施例の解析対
象区分分類知識記憶装置に格納されている解析対象区分
分類知識の例である。図20は、本発明の第2の実施例
の構文木上位置知識記憶装置に格納されている構文木上
位置知識の内、表層格の通常の位置に関する知識の例を
示す。同図(A)(B)(C)(D)は、解析対象がS
で、種別が疑問詞疑問文の場合の、それぞれ主辞ノー
ド、目的格、主格、前置詞の目的語の位置を示す。主辞
である動詞が複数、並列に接続詞で連結されている。
FIG. 19 shows an example of analysis target category classification knowledge stored in the analysis target category classification knowledge storage device according to the second embodiment of the present invention. FIG. 20 shows an example of knowledge regarding the normal position of the surface case, of the position knowledge on the syntax tree stored in the position knowledge storage on the syntax tree according to the second embodiment of the present invention. In the figures (A), (B), (C) and (D), the analysis target is S
Indicates the position of the subject node, the subject case, the subject case, and the object of the preposition when the type is a question sentence question sentence. A plurality of verbs, which are heads, are connected in parallel by a conjunction.

【0117】同図(E)は、解析対象がNPで、種別が疑
問詞句の場合の主辞ノードの位置の一例を示す。同図
(F)(G)は、解析対象がNPで、種別が疑問詞句の場
合の、それぞれ主辞ノードの位置の別の一例と、修飾句
の位置を示す。同図(H)(I)は、解析対象がNPで、
種別が一般の場合の、それぞれ主辞ノード、修飾句の位
置を示す。
FIG. 17E shows an example of the position of a head node when the analysis target is NP and the type is a question phrase. (F) and (G) show another example of the position of the head node and the position of the modifier when the analysis target is NP and the type is a question phrase. In the figures (H) and (I), the analysis target is NP,
When the type is general, the position of the head node and the position of the modifier are shown.

【0118】図21は、本発明の第2の実施例の構文木
上位置知識記憶装置に格納されている構文木上位置知識
の内、主辞に対する表層格に該当するノードが入力とな
る構文木上にない場合の、表層格の移動先の位置を規定
している知識の例を示す。同図(A)は、移動後の目的
格の位置の一例を示す。同図(B)は、移動後の目的格
の位置の別の一例を示す。この例に該当するNPの実例と
して、「beer to drink 」がある。NP「beer」は、ADJP
「to drink」内の動詞「drink 」の目的格が移動したも
のである。
FIG. 21 shows a syntax tree in which a node corresponding to a surface case corresponding to a subject is an input from syntax tree location knowledge stored in the syntax tree location knowledge storage device according to the second embodiment of the present invention. The following is an example of knowledge defining the position of the destination of the surface case when it is not above. FIG. 7A shows an example of the position of the target case after the movement. FIG. 7B shows another example of the position of the target case after the movement. "Beer to drink" is an example of an NP that corresponds to this example. NP "beer" is ADJP
The purpose of the verb "drink" in "to drink" has been moved.

【0119】図22は、本発明の第2の実施例の構文木
の動詞ノードの意味情報の値の例を示す。一つの動詞意
味情報は、検索キー(深層格、態、構文木ノードの有無
等についてのその他前提条件の組)と当該検索キーに対
応する表層格情報(表層格、句の属性を規定した制約条
件の組)の組、及び、検索キー(深層格、態、構文木ノ
ードの有無等についてのその他前提条件の組)と当該検
索キーに対応する表層格移動先情報(表層格移動先、句
の属性を規定した制約条件の組)の組の集合からなる。
図22では、図16の構文木ノードの動詞ノードV18
(buy )とV20 (sell)の意味情報が示されている。深
層格が主格の句は、名詞句でかつ意味情報が人であり、
表層格は、その動詞を主辞とする解析対象の態が能動態
のときは、主格であり、受動態のときは、前置詞「by」
の目的語であることを示している。また、能動態のとき
で、表層格の主格に該当するノードが入力となる構文木
上になかった場合は、表層格は、移動後の主格の位置と
なり、受動態のときで、深層格の主格が得られなかった
場合は、表層格は、前置詞「by」の目的語の移動後の位
置となることを示している。
FIG. 22 shows an example of the value of the meaning information of the verb node of the syntax tree according to the second embodiment of the present invention. One verb semantic information includes a search key (a set of other preconditions for a deep case, a state, the presence or absence of a parse tree node, and the like) and surface case information corresponding to the search key (a surface case, a constraint that defines attributes of phrases). A set of conditions), a search key (a set of other prerequisites for a deep case, a state, the presence or absence of a parse tree node, etc.) and surface case destination information (surface case move destination, phrase) corresponding to the search key (A set of constraints) defining the attributes of
In FIG. 22, the verb node V18 of the syntax tree node of FIG.
(Buy) and V20 (sell) are shown. Phrases whose deep case is the nominative case are noun phrases and semantic information is human,
The superficial case is the nominative case when the state of the analysis subject whose verb is the head is active, and the preposition "by"
It indicates that the object is Also, if the node corresponding to the nominative case of the superficial case is not on the input parse tree at the time of active voice, the superficial case will be the position of the nominative case after movement, and the nominative case of the deep case will be If not obtained, it indicates that the surface case is the position after the movement of the object of the preposition "by".

【0120】以下、図16の構文木を入力としたときの
意味解析の動作を図6のフローチャートに従って、詳細
に説明する。構文木のトップノードであるS1のノードに
対応する意味フレームS1* を設定し、S1* を意味解析の
入力とする。まず、解析対象S1に付随する情報より、解
析対象S1の種別が疑問詞疑問文なので、図19の解析対
象区分分類知識より、S1は動詞句類であると判定する
(ステップ100−解析対象区分判定過程)。
Hereinafter, the semantic analysis operation when the syntax tree of FIG. 16 is input will be described in detail with reference to the flowchart of FIG. A semantic frame S1 * corresponding to the top node S1 of the syntax tree is set, and S1 * is used as an input for semantic analysis. First, from the information attached to the analysis target S1, the type of the analysis target S1 is a question verb question sentence. Therefore, it is determined that S1 is a verb phrase based on the analysis target classification classification knowledge of FIG. Judgment process).

【0121】図20(A)により、解析対象S1の主辞動
詞ノードは、図16のV18 (buy )とV20 (sell)とな
る。V18 に対応する意味フレームV18*を設定し、S1* か
らV18*へ主辞関係のリンクを張る。また、V20 に対応す
る意味フレームV20*を設定し、S1* からV20*へ主辞関係
のリンクを張る(ステップ200−動詞句類解析過程、
ステップ210−主辞動詞フレーム抽出過程)。
According to FIG. 20A, the head verb nodes of the analysis target S1 are V18 (buy) and V20 (sell) in FIG. A semantic frame V18 * corresponding to V18 is set, and a head relation link is created from S1 * to V18 *. In addition, a semantic frame V20 * corresponding to V20 is set, and a head relation link is provided from S1 * to V20 * (step 200-verb phrase analysis process,
Step 210-head verb frame extraction process).

【0122】ステップ210で設定された主辞動詞フレ
ームの内、以降の処理対象の主辞動詞フレームをV18*と
決定する(ステップ220−処理対象主辞動詞フレーム
決定過程)。主辞動詞ノードV18 の上位ノードであるVP
17に付随する情報より、解析対象S1の態は能動態である
と決定する(ステップ230−態決定過程)。主辞動詞
ノードV18 に付随する情報より、V18 の意味情報は、図
22に示した内容である。図22に記載された深層格か
ら、抽出対象の深層格を対象格と決定する(ステップ2
40−抽出対象深層格決定過程)。
Among the head verb frames set in step 210, the head verb frame to be processed thereafter is determined to be V18 * (step 220-process for determining the head verb frame to be processed). VP that is an upper node of the head verb node V18
From the information attached to 17, it is determined that the state of the analysis target S1 is active (step 230-state determination process). From the information attached to the head verb node V18, the semantic information of V18 has the contents shown in FIG. From the deep cases described in FIG. 22, the deep case to be extracted is determined as the target case (step 2).
40—Determination of deep case to be extracted).

【0123】図22より、深層格:対象格、態:能動
態、前提条件:なし、を検索キーとして、表層格情報
(表層格:目的格、制約条件:名詞句かつ意味情報:
物)を取得する(ステップ250−深層格フレーム抽出
過程、ステップ251−表層格情報取得過程)。図20
(B)より、解析対象S1中の表層格としての目的格は、
図16の構文木上にないことが分かる(ステップ252
−構文木ノード取得過程1)。続いて、図22より、深
層格:対象格、態:能動態、前提条件:目的格ノードが
ない、を検索キーとして、表層格移動先情報(表層格:
移動後の目的格、制約条件:名詞句かつ意味情報:物)
を取得する(ステップ255−表層格移動先情報取得過
程)。
As shown in FIG. 22, surface case information (surface case: object case, constraint condition: noun phrase and semantic information: deep case: object case, state: active, precondition: none) is used as a search key.
(Step 250-deep case frame extraction process, step 251-surface case information obtaining process). FIG.
From (B), the target case as the surface case in the analysis target S1 is:
It can be seen that it is not on the syntax tree of FIG. 16 (step 252).
-Syntax tree node acquisition process 1). Next, referring to FIG. 22, the deep case: target case, state: active, prerequisite: no case node is used as a search key, and the surface case movement destination information (surface case:
Objective after movement, constraints: Noun phrase and semantic information: thing)
(Step 255-surface layer destination information acquisition process).

【0124】図21(A)より、移動後の目的格は、図
16のNP2 となる(ステップ256−構文木ノード取得
過程2)。表層格移動先情報中の制約条件は、名詞句か
つ意味情報:物であり、NP2 に付随する情報よりNP2 も
名詞句で意味情報が物であるので、照合結果は真となる
(ステップ257−制約条件照合過程2)。NP2 に対応
する意味フレームは未設定なので、意味フレームNP2*を
設定し、V18*からNP2*へ対象格関係のリンクを張る(ス
テップ258−深層格フレーム生成過程2)。
As shown in FIG. 21A, the target case after the movement is NP2 in FIG. 16 (step 256-syntax tree node acquisition process 2). The constraint condition in the surface case destination information is a noun phrase and semantic information: a thing, and since the NP2 is a noun phrase and a semantic information is a thing than the information attached to NP2, the collation result is true (step 257-). Constraint condition matching process 2). Since the semantic frame corresponding to NP2 has not been set, the semantic frame NP2 * is set, and a link of the target case relation is created from V18 * to NP2 * (step 258-deep case frame generation process 2).

【0125】ステップ250で新規に設定された対象格
フレームの内、処理対象の対象格フレームをNP2*と決定
する(ステップ260−処理対象深層格フレーム決定過
程)。そして、NP2*を入力として意味解析を再帰呼び出
しする(ステップ270−深層格フレーム解析過程)。
解析対象NP2 に付随する情報より、解析対象NP2 の種別
が疑問詞句なので、図19の解析対象区分分類知識よ
り、NP2 は非動詞句類であると判定する(ステップ10
0−解析対象区分判定過程)。
Of the target case frames newly set in step 250, the target case frame to be processed is determined to be NP2 * (step 260-process for determining deep case frame to be processed). Then, the semantic analysis is recursively called using NP2 * as an input (step 270-deep case frame analysis process).
Since the type of the analysis target NP2 is an interrogative phrase from the information attached to the analysis target NP2, it is determined that NP2 is a non-verb phrase from the analysis target classification classification knowledge of FIG. 19 (step 10).
0-analysis target classification determination process).

【0126】図20(E)により、解析対象NP2 の主辞
ノードは、図16のNP3 とNP8 となるので、NP3 に対応
する意味フレームNP3*を設定し、NP2*からNP3*へ主辞関
係のリンクを張る。また、NP8 に対応する意味フレーム
NP8*を設定し、NP2*からNP8*へ主辞関係のリンクを張る
(ステップ300−非動詞句類解析過程、ステップ31
0−主辞フレーム抽出過程)。
According to FIG. 20 (E), since the head nodes of the analysis target NP2 are NP3 and NP8 in FIG. 16, a semantic frame NP3 * corresponding to NP3 is set, and the head relation link from NP2 * to NP3 * is set. Put up. In addition, the meaning frame corresponding to NP8
NP8 * is set, and a head relation link is provided from NP2 * to NP8 * (step 300-non-verb phrase analysis process, step 31)
0-head frame extraction process).

【0127】ステップ310で設定された主辞フレーム
の内、以降の処理対象の主辞フレームをNP3*と決定する
(ステップ320−処理対象主辞フレーム決定過程)。
そして、NP3*を入力として意味解析を再帰呼び出しする
(ステップ330−主辞フレーム解析過程)。解析対象
NP3 に付随する情報より、解析対象NP3 の種別が疑問詞
句なので、図19の解析対象区分分類知識より、NP3 は
非動詞句類であると判定する(ステップ100−解析対
象区分判定過程)。
Of the head frames set in step 310, the head frame to be processed thereafter is determined to be NP3 * (step 320-process for determining head frame to be processed).
Then, the semantic analysis is recursively called using NP3 * as an input (step 330-head frame analysis process). Analysis object
Since the type of the analysis target NP3 is an interrogative phrase based on the information attached to the NP3, it is determined that the NP3 is a non-verb phrase based on the analysis target classification knowledge in FIG. 19 (step 100-analysis target classification determination process).

【0128】図20(F)により、解析対象NP3 の主辞
ノードは、図16のNP5 となるので、NP5 に対応する意
味フレームNP5*を設定し、NP3*からNP5*へ主辞関係のリ
ンクを張る(ステップ300−非動詞句類解析過程、ス
テップ310−主辞フレーム抽出過程)。ステップ31
0で設定された主辞フレームの内、以降の処理対象の主
辞フレームをNP5*と決定し(ステップ320−処理対象
主辞フレーム決定過程)、NP5*を入力として意味解析を
再帰呼び出しする(ステップ330−主辞フレーム解析
過程)。解析対象NP5 に付随する情報より、解析対象NP
5 の種別が一般なので、図19の解析対象区分分類知識
より、NP5 は非動詞句類であると判定する(ステップ1
00−解析対象区分判定過程)。
According to FIG. 20 (F), since the head node of the analysis target NP3 is NP5 in FIG. 16, a semantic frame NP5 * corresponding to NP5 is set, and a head relation link is provided from NP3 * to NP5 *. (Step 300-Non-verb phrase analysis process, Step 310-Subject frame extraction process). Step 31
Of the head frames set at 0, the head frame to be processed thereafter is determined as NP5 * (step 320—processing head frame determination process), and the semantic analysis is recursively called using NP5 * as input (step 330- Head frame analysis process). From the information attached to the analysis target NP5, the analysis target NP
Since NP5 is a general type, it is determined that NP5 is a non-verb phrase based on the analysis target classification knowledge in FIG. 19 (step 1).
00-analysis target classification determination process).

【0129】構文木上位置知識により、解析対象NP5 の
主辞ノードは、図16のN6となるので、N6に対応する意
味フレームN6* を設定し、NP5*からN6* へ主辞関係のリ
ンクを張る(ステップ300−非動詞句類解析過程、ス
テップ310−主辞フレーム抽出過程)。ステップ31
0で設定された主辞フレームの内、以降の処理対象の主
辞フレームをN6* と決定し(ステップ320−処理対象
主辞フレーム決定過程)、N6* を入力として意味解析を
再帰呼び出しする(ステップ330−主辞フレーム解析
過程)。解析対象N6に付随する情報より、解析対象N6は
品詞なので、解析対象フレームN6* に対する意味解析を
終了する(ステップ100−解析対象区分判定過程)。
Since the head node of the analysis target NP5 is N6 in FIG. 16 based on the knowledge on the syntax tree, a semantic frame N6 * corresponding to N6 is set, and a head relation link is provided from NP5 * to N6 *. (Step 300-Non-verb phrase analysis process, Step 310-Subject frame extraction process). Step 31
Of the head frames set at 0, the head frame to be processed thereafter is determined as N6 * (step 320-head frame determination process for processing), and the semantic analysis is recursively called using N6 * as an input (step 330- Head frame analysis process). Based on the information attached to the analysis target N6, since the analysis target N6 is a part of speech, the semantic analysis for the analysis target frame N6 * is terminated (step 100—analysis target classification determination process).

【0130】構文木上位置知識により、解析対象NP5 の
主辞ノードN6を修飾する修飾句は、図16の構文木上に
ないことが分かり(ステップ340−修飾句フレーム抽
出過程)、ステップ340で新規に設定された修飾句フ
レームはないので、処理対象の修飾句フレームはないと
判定する(ステップ350−処理対象修飾句フレーム決
定過程)。ステップ310で設定された主辞フレームの
全てが処理されたので、処理対象の主辞フレームはない
と判定し、解析対象フレームNP5*に対する意味解析を終
了する(ステップ320−処理対象主辞フレーム決定過
程)。
Based on the knowledge of the position on the parse tree, it is found that the modifier for modifying the head node N6 of the analysis target NP5 is not on the parse tree of FIG. 16 (step 340—modifier phrase frame extraction process). Since there is no modifier phrase frame set in, it is determined that there is no modifier phrase frame to be processed (step 350-processing target modifier phrase frame determination process). Since all of the head frames set in step 310 have been processed, it is determined that there is no head frame to be processed, and the semantic analysis for the analysis target frame NP5 * is terminated (step 320—processing head head frame determination process).

【0131】図20(G)により、解析対象NP3 の主辞
ノードNP5 を修飾する修飾句は、図16のPN4 となる。
PN4 に対応する意味フレームは未設定なので、意味フレ
ームPN4*を設定し、NP5*からPN4*へ修飾関係のリンクを
張る(ステップ340−修飾句フレーム抽出過程)。ス
テップ340で新規に設定された修飾句フレームの内、
処理対象の修飾句フレームをPN4*と決定し(ステップ3
50−処理対象修飾句フレーム決定過程)、PN4*を入力
として意味解析を再帰呼び出しする(ステップ360−
修飾句フレーム解析過程)。解析対象PN4 に付随する情
報より、解析対象PN4 は品詞なので、解析対象フレーム
PN4*に対する意味解析を終了する(ステップ100−解
析対象区分判定過程)。そして、ステップ340で新規
に設定された修飾句フレームの全てが処理されたので、
処理対象の修飾句フレームはないと判定する(ステップ
350−処理対象修飾句フレーム決定過程)。
According to FIG. 20 (G), the modifier phrase for modifying the head node NP5 of the analysis target NP3 is PN4 in FIG.
Since the semantic frame corresponding to PN4 has not been set, a semantic frame PN4 * is set, and a modification-related link is established from NP5 * to PN4 * (step 340—modifier phrase frame extraction process). Of the modifier frames newly set in step 340,
The qualifier frame to be processed is determined to be PN4 * (step 3
50-Process of Determining Target Modifier Phrase Frame), Semantic Analysis Recursively Called Using PN4 * as Input (Step 360-
Modifier frame analysis process). From the information attached to the analysis target PN4, since the analysis target PN4 is a part of speech, the analysis target frame
The semantic analysis for PN4 * is completed (step 100—analysis target category determination process). Then, since all of the modifier frames newly set in step 340 have been processed,
It is determined that there is no modifier frame to be processed (step 350-process of determining a modifier frame).

【0132】ステップ310で設定された主辞フレーム
の全てが処理されたので、処理対象の主辞フレームはな
いと判定し、解析対象フレームNP3*に対する意味解析を
終了する(ステップ320−処理対象主辞フレーム決定
過程)。図20により、解析対象NP2 の主辞ノードNP3
を修飾する修飾句は、図16の構文木上にないことが分
かり(ステップ340−修飾句フレーム抽出過程)、ス
テップ340で新規に設定された修飾句フレームはない
ので、処理対象の修飾句フレームはないと判定する(ス
テップ350−処理対象修飾句フレーム決定過程)。
Since all of the head frames set in step 310 have been processed, it is determined that there is no head frame to be processed, and the semantic analysis for the analysis target frame NP3 * is terminated (step 320—determination of head head frame to be processed). process). According to FIG. 20, the head node NP3 of the analysis target NP2
It is found that there is no qualifying phrase in the syntax tree of FIG. 16 (step 340-qualifying phrase frame extracting process), and since there is no qualifying phrase frame newly set in step 340, the qualifying phrase frame to be processed is It is determined that there is no (step 350-process of modifying target object phrase frame).

【0133】続いて、ステップ310で設定された主辞
フレームの内、処理対象となったことのないものから処
理対象を選択し、以降の処理対象の主辞フレームをNP8*
と決定し(ステップ320−処理対象主辞フレーム決定
過程)、NP8*を入力として意味解析を再帰呼び出しする
(ステップ330−主辞フレーム解析過程)。解析対象
NP8 に付随する情報より、解析対象NP8 の種別が疑問詞
句なので、図19の解析対象区分分類知識より、NP8 は
非動詞句類であると判定する(ステップ100−解析対
象区分判定過程)。図20(F)により、解析対象NP8
の主辞ノードは、図16のNP10となるので、NP10に対応
する意味フレームNP10* を設定し、NP8*からNP10* へ主
辞関係のリンクを張る(ステップ300−非動詞句類解
析過程、ステップ310−主辞フレーム抽出過程)。ス
テップ310で設定された主辞フレームの内、以降の処
理対象の主辞フレームをNP10* と決定し(ステップ32
0−処理対象主辞フレーム決定過程)、NP10* を入力と
して意味解析を再帰呼び出しする(ステップ330−主
辞フレーム解析過程)。解析対象NP10に付随する情報よ
り、解析対象NP10の種別が一般なので、図19の解析対
象区分分類知識より、NP10は非動詞句類であると判定す
る(ステップ100−解析対象区分判定過程)。
Subsequently, among the subject frames set in step 310, a subject to be processed is selected from those which have never been processed, and the subject frames to be processed thereafter are set to NP8 *.
(Step 320-subject frame determination process) and recursively invoke semantic analysis with NP8 * as input (step 330-subject frame analysis process). Analysis object
Since the type of the analysis target NP8 is an interrogative phrase based on the information attached to the NP8, it is determined that the NP8 is a non-verb phrase based on the analysis target classification knowledge in FIG. 19 (step 100-analysis target classification determination process). FIG. 20 (F) shows that the analysis target NP8
Is set to NP10 in FIG. 16, a semantic frame NP10 * corresponding to NP10 is set, and a head relation link is established from NP8 * to NP10 * (step 300-non-verb phrase analysis process, step 310 -Head frame extraction process). Of the head frames set in step 310, the head frame to be processed thereafter is determined as NP10 * (step 32).
0-process to determine subject head frame), recursively invoke semantic analysis with NP10 * as input (step 330-head frame analysis process). Since the type of the analysis target NP10 is more general than the information attached to the analysis target NP10, it is determined that the NP10 is a non-verb phrase based on the analysis target classification classification knowledge of FIG. 19 (step 100-analysis target classification determination process).

【0134】構文木上位置知識により、解析対象NP10の
主辞ノードは、図16 のN11 となる。N11 に対応する意
味フレームN11*を設定し、NP10* からN11*へ主辞関係の
リンクを張る(ステップ300−非動詞句類解析過程、
ステップ310−主辞フレーム抽出過程)。ステップ3
10で設定された主辞フレームの内、以降の処理対象の
主辞フレームをN11*と決定し(ステップ320−処理対
象主辞フレーム決定過程)、N11*を入力として意味解析
を再帰呼び出しする(ステップ330−主辞フレーム解
析過程)。解析対象N11 に付随する情報より、解析対象
N11 は品詞なので、解析対象フレームN11*に対する意味
解析を終了する(ステップ100−解析対象区分判定過
程)。
The head node of the analysis target NP10 is N11 in FIG. 16 based on the knowledge on the position on the syntax tree. A semantic frame N11 * corresponding to N11 is set, and a head relation link is provided from NP10 * to N11 * (step 300-non-verb phrase analysis process,
Step 310-head frame extraction process). Step 3
Of the head frames set in step 10, the head frame to be processed thereafter is determined to be N11 * (step 320—processing head frame determination process), and the semantic analysis is recursively called using N11 * as an input (step 330-). Head frame analysis process). From the information attached to the analysis target N11,
Since N11 is a part of speech, the semantic analysis for the analysis target frame N11 * is terminated (step 100—analysis target category determination process).

【0135】構文木上位置知識により、解析対象NP10の
主辞ノードN11 を修飾する修飾句は、図16 の構文木上
にないことが分かる(ステップ340−修飾句フレーム
抽出過程)。ステップ340で新規に設定された修飾句
フレームはないので、処理対象の修飾句フレームはない
と判定する(ステップ350−処理対象修飾句フレーム
決定過程)。そして、ステップ310で設定された主辞
フレームの全てが処理されたので、処理対象の主辞フレ
ームはないと判定し、解析対象フレームNP10*に対する
意味解析を終了する(ステップ320−処理対象主辞フ
レーム決定過程)。
From the knowledge of the position on the syntax tree, it can be seen that the modifier for modifying the head node N11 of the analysis target NP10 is not on the syntax tree of FIG. 16 (step 340—modifier phrase frame extraction process). Since there is no modifier phrase frame newly set in step 340, it is determined that there is no modifier phrase frame to be processed (step 350-processing target modifier phrase frame determination process). Then, since all of the head frames set in step 310 have been processed, it is determined that there is no head frame to be processed, and the semantic analysis for the analysis target frame NP10 * is terminated (step 320—processing head head frame determination process). ).

【0136】図20(G)により、解析対象NP8 の主辞
ノードNP10を修飾する修飾句は、図16のPN9 となる。
PN9 に対応する意味フレームは未設定なので、意味フレ
ームPN9*を設定し、NP10* からPN9*へ修飾関係のリンク
を張る(ステップ340−修飾句フレーム抽出過程)。
ステップ340で新規に設定された修飾句フレームの
内、処理対象の修飾句フレームをPN9*と決定し(ステッ
プ350−処理対象修飾句フレーム決定過程)、PN9*を
入力として意味解析を再帰呼び出しする(ステップ36
0−修飾句フレーム解析過程)。解析対象PN9 に付随す
る情報より、解析対象PN9 は品詞なので、解析対象フレ
ームPN9*に対する意味解析を終了する(ステップ100
−解析対象区分判定過程)。ステップ340で新規に設
定された修飾句フレームの全てが処理されたので、処理
対象の修飾句フレームはないと判定する(ステップ35
0−処理対象修飾句フレーム決定過程)。ステップ31
0で設定された主辞フレームの全てが処理されたので、
処理対象の主辞フレームはないと判定し、解析対象フレ
ームNP8*に対する意味解析を終了する(ステップ320
−処理対象主辞フレーム決定過程)。
According to FIG. 20 (G), the modifier for modifying the head node NP10 of the analysis target NP8 is PN9 in FIG.
Since the semantic frame corresponding to PN9 has not been set, a semantic frame PN9 * is set, and a modification-related link is established from NP10 * to PN9 * (step 340—modification phrase frame extraction process).
Of the modifier frames newly set in step 340, the modifier frame to be processed is determined to be PN9 * (step 350—processing target modifier frame determination process), and the semantic analysis is recursively called using PN9 * as an input. (Step 36
0-modifier frame analysis process). From the information attached to the analysis target PN9, since the analysis target PN9 is a part of speech, the semantic analysis for the analysis target frame PN9 * is completed (step 100).
-Analysis target classification determination process). Since all of the modifier frames newly set in step 340 have been processed, it is determined that there are no modifier frames to be processed (step 35).
0—Processing target modifier frame determination process). Step 31
Since all of the subject frames set at 0 have been processed,
It is determined that there is no subject frame to be processed, and the semantic analysis for the analysis target frame NP8 * is terminated (step 320).
-Determining subject head frame to be processed).

【0137】図20により、解析対象NP2 の主辞ノード
NP8 を修飾する修飾句は、図16の構文木上にないこと
が分かる(ステップ340−修飾句フレーム抽出過
程)。ステップ340で新規に設定された修飾句フレー
ムはないので、処理対象の修飾句フレームはないと判定
する(ステップ350−処理対象修飾句フレーム決定過
程)。ステップ310で設定された主辞フレームの全て
が処理されたので、処理対象の主辞フレームはないと判
定し、解析対象フレームNP2*に対する意味解析を終了す
る(ステップ320−処理対象主辞フレーム決定過
程)。
As shown in FIG. 20, the head node of the analysis target NP2
It can be seen that the modifier that modifies NP8 is not on the syntax tree of FIG. 16 (step 340—modifier phrase frame extraction process). Since there is no modifier phrase frame newly set in step 340, it is determined that there is no modifier phrase frame to be processed (step 350-processing target modifier phrase frame determination process). Since all of the head frames set in step 310 have been processed, it is determined that there is no head frame to be processed, and the semantic analysis for the analysis target frame NP2 * is terminated (step 320-process for determining the head frame to be processed).

【0138】ステップ250で新規に設定された対象格
フレームの全てが処理されたので、処理対象の深層格フ
レームはないと判定する(ステップ260−処理対象深
層格フレーム決定過程)。次に、主辞動詞ノードV18 の
意味情報である図22に記載された深層格で抽出対象と
なったことのないものから抽出対象を選択し、抽出対象
の深層格を場所格と決定する(ステップ240−抽出対
象深層格決定過程)。
Since all the target case frames newly set in step 250 have been processed, it is determined that there is no deep case frame to be processed (step 260-process for determining a deep case frame to be processed). Next, an extraction target is selected from the deep cases described in FIG. 22, which are the semantic information of the head verb node V18, which have not been extracted yet, and the deep case to be extracted is determined as a location case (step 240-Extraction target deep case determination process).

【0139】図22より、深層格:場所格、態:能動
態、前提条件:なし、を検索キーとして、表層格情報
(表層格:atの目的語、制約条件:名詞句かつ意味情
報:職業)を取得する(ステップ250−深層格フレー
ム抽出過程、ステップ251−表層格情報取得過程)。
図20(D)より、解析対象S1中のatの目的語は、図1
6のNP23となる(ステップ252−構文木ノード取得過
程1)。そして、表層格情報中の制約条件は、名詞句か
つ意味情報:職業であり、NP23に付随する情報よりNP23
も名詞句で意味情報が職業であるので、照合結果は真と
なる(ステップ253−制約条件照合過程1)。
As shown in FIG. 22, surface case information (surface case: at object, constraint condition: noun phrase and semantic information: occupation) is used as a search key with deep case: place case, form: active, precondition: none. (Step 250-deep case frame extraction process, step 251-surface case information obtaining process).
From FIG. 20 (D), the object of at in the analysis target S1 is as shown in FIG.
6 (step 252-syntax tree node acquisition process 1). The constraint in the surface case information is noun phrase and semantic information: occupation, and NP23 is obtained from the information attached to NP23.
Since the meaning information is occupation in the noun phrase, the collation result is true (step 253-constraint condition collation process 1).

【0140】NP23に対応する意味フレームは未設定なの
で、意味フレームNP23* を設定し、V18*からNP23* へ場
所格関係のリンクを張り(ステップ254−深層格フレ
ーム生成過程1)、ステップ250で新規に設定された
場所格フレームの内、処理対象の場所格フレームをNP23
* と決定し(ステップ260−処理対象深層格フレーム
決定過程)、NP23* を入力として意味解析を再帰呼び出
しする(ステップ270−深層格フレーム解析過程)。
Since the semantic frame corresponding to NP23 has not been set, the semantic frame NP23 * is set, and a link of the location relation is set from V18 * to NP23 * (step 254-deep case frame generation process 1). Of the newly set locative frames, the locative frame to be processed is NP23
* (Step 260-deep case frame determination process to be processed), and semantic analysis is recursively called using NP23 * as an input (step 270-deep case frame analysis process).

【0141】解析対象NP23に付随する情報より、解析対
象NP23の種別が一般なので、図19の解析対象区分分類
知識より、NP23は非動詞句類であると判定する(ステッ
プ100−解析対象区分判定過程)。図20(H)によ
り、解析対象NP23の主辞ノードは、図16のNP24とな
る。NP24に対応する意味フレームNP24* を設定し、NP23
* からNP24* へ主辞関係のリンクを張る(ステップ30
0−非動詞句類解析過程、ステップ310−主辞フレー
ム抽出過程)。
Since the type of the analysis target NP23 is generally based on the information attached to the analysis target NP23, it is determined that the NP23 is a non-verb phrase based on the analysis target classification knowledge shown in FIG. process). According to FIG. 20H, the head node of the analysis target NP23 is NP24 in FIG. Set the meaning frame NP24 * corresponding to NP24 and set NP23
Create a head link from * to NP24 * (Step 30)
0-non-verb phrase analysis process, step 310-subject frame extraction process).

【0142】ステップ310で設定された主辞フレーム
の内、以降の処理対象の主辞フレームをNP24* と決定し
(ステップ320−処理対象主辞フレーム決定過程)、
NP24* を入力として意味解析を再帰呼び出しする(ステ
ップ330−主辞フレーム解析過程)。続いて、解析対
象NP24に付随する情報より、解析対象NP24の種別が一般
なので、図19の解析対象区分分類知識より、NP24は非
動詞句類であると判定する(ステップ100−解析対象
区分判定過程)。図20(H)により、解析対象NP24の
主辞ノードは、図16のNP26となる。NP26に対応する意
味フレームNP26* を設定し、NP24* からNP26* へ主辞関
係のリンクを張る(ステップ300−非動詞句類解析過
程、ステップ310−主辞フレーム抽出過程)。
Of the head frames set in step 310, the head frame to be processed thereafter is determined to be NP24 * (step 320—processing head frame determination process).
The semantic analysis is recursively called using NP24 * as an input (step 330-head frame analysis process). Subsequently, since the type of the analysis target NP24 is general based on the information attached to the analysis target NP24, it is determined that the NP24 is a non-verb phrase based on the analysis target classification classification knowledge of FIG. process). According to FIG. 20H, the head node of the analysis target NP24 is NP26 in FIG. A semantic frame NP26 * corresponding to NP26 is set, and a head relation link is established from NP24 * to NP26 * (step 300-non-verb phrase analysis process, step 310-head frame extraction process).

【0143】ステップ310で設定された主辞フレーム
の内、以降の処理対象の主辞フレームをNP26* と決定し
(ステップ320−処理対象主辞フレーム決定過程)、
NP26* を入力として意味解析を再帰呼び出しする(ステ
ップ330−主辞フレーム解析過程)。解析対象NP26に
付随する情報より、解析対象NP26の種別が一般なので、
図19の解析対象区分分類知識より、NP26は非動詞句類
であると判定する(ステップ100−解析対象区分判定
過程)。
[0143] Of the head frames set in step 310, the head frame to be processed thereafter is determined as NP26 * (step 320-process for determining the head frame to be processed).
The semantic analysis is recursively called using NP26 * as an input (step 330-head frame analysis process). Since the type of the analysis target NP26 is more general than the information attached to the analysis target NP26,
Based on the analysis target category classification knowledge of FIG. 19, it is determined that NP26 is a non-verb phrase (step 100-analysis target category determination process).

【0144】構文木上位置知識により、解析対象NP26の
主辞ノードは、図16のN27 となる。N27 に対応する意
味フレームN27*を設定し、NP26* からN27*へ主辞関係の
リンクを張る(ステップ300−非動詞句類解析過程、
ステップ310−主辞フレーム抽出過程)。ステップ3
10で設定された主辞フレームの内、以降の処理対象の
主辞フレームをN27*と決定し(ステップ320−処理対
象主辞フレーム決定過程)、N27*を入力として意味解析
を再帰呼び出しする(ステップ330−主辞フレーム解
析過程)。そして、解析対象N27 に付随する情報より、
解析対象N27 は品詞なので、解析対象フレームN27*に対
する意味解析を終了する(ステップ100−解析対象区
分判定過程)。
The head node of the analysis target NP26 becomes N27 in FIG. 16 based on the position knowledge on the syntax tree. A semantic frame N27 * corresponding to N27 is set, and a head relation link is provided from NP26 * to N27 * (step 300-non-verb phrase analysis process,
Step 310-head frame extraction process). Step 3
Of the head frames set in step 10, the head frame to be processed thereafter is determined to be N27 * (step 320—process head frame determination process), and semantic analysis is recursively called using N27 * as an input (step 330-). Head frame analysis process). Then, from the information attached to the analysis target N27,
Since the analysis target N27 is a part of speech, the semantic analysis for the analysis target frame N27 * is terminated (step 100—analysis target classification determination process).

【0145】構文木上位置知識により、解析対象NP26の
主辞ノードN27 を修飾する修飾句は、図16の構文木上
にないことが分かる(ステップ340−修飾句フレーム
抽出過程)。ステップ340で新規に設定された修飾句
フレームはないので、処理対象の修飾句フレームはない
と判定する(ステップ350−処理対象修飾句フレーム
決定過程)。
It can be understood from the syntax tree position knowledge that the modifier for modifying the head node N27 of the analysis target NP26 is not on the syntax tree of FIG. 16 (step 340—modifier phrase frame extraction process). Since there is no modifier phrase frame newly set in step 340, it is determined that there is no modifier phrase frame to be processed (step 350-processing target modifier phrase frame determination process).

【0146】ステップ310で設定された主辞フレーム
の全てが処理されたので、処理対象の主辞フレームはな
いと判定し、解析対象フレームNP26* に対する意味解析
を終了する(ステップ320−処理対象主辞フレーム決
定過程)。次に、図20(I)により、解析対象NP24の
主辞ノードNP26を修飾する修飾句は、図16のDET25 と
なる。DET25 に対応する意味フレームは未設定なので、
意味フレームDET25*を設定し、NP26* からDET25*へ修飾
関係のリンクを張る(ステップ340−修飾句フレーム
抽出過程)。ステップ340で新規に設定された修飾句
フレームの内、処理対象の修飾句フレームをDET25*と決
定し(ステップ350−処理対象修飾句フレーム決定過
程)、DET25*を入力として意味解析を再帰呼び出しする
(ステップ360−修飾句フレーム解析過程)。解析対
象DET25 に付随する情報より、解析対象DET25 は品詞な
ので、解析対象フレームDET25*に対する意味解析を終了
する(ステップ100−解析対象区分判定過程)。
Since all of the head frames set in step 310 have been processed, it is determined that there is no head frame to be processed, and the semantic analysis for the analysis target frame NP26 * is completed (step 320—determination of head frame to be processed). process). Next, according to FIG. 20 (I), the modifier to modify the head node NP26 of the analysis target NP24 is DET25 in FIG. Since the meaning frame corresponding to DET25 has not been set,
A semantic frame DET25 * is set, and a link relating to the modification is provided from NP26 * to DET25 * (step 340—modifier phrase frame extraction process). Of the modifier frames newly set in step 340, the modifier frame to be processed is determined to be DET25 * (step 350—processing target modifier frame determination process), and the semantic analysis is recursively called using DET25 * as an input. (Step 360-Modifier phrase frame analysis process). Based on the information attached to the analysis target DET 25, the analysis target DET 25 is a part of speech, so the semantic analysis for the analysis target frame DET 25 * is terminated (step 100—analysis target classification determination process).

【0147】ステップ340で新規に設定された修飾句
フレームの全てが処理されたので、処理対象の修飾句フ
レームはないと判定する(ステップ350−処理対象修
飾句フレーム決定過程)。ステップ310で設定された
主辞フレームの全てが処理されたので、処理対象の主辞
フレームはないと判定し、解析対象フレームNP24* に対
する意味解析を終了する(ステップ320−処理対象主
辞フレーム決定過程)。
Since all of the modifier frames newly set in step 340 have been processed, it is determined that there is no modifier frame to be processed (step 350-process of determining a modifier frame to be processed). Since all of the head frames set in step 310 have been processed, it is determined that there is no head frame to be processed, and the semantic analysis for the analysis target frame NP24 * is terminated (step 320—process for determining the head frame to be processed).

【0148】次に、図20(I)により、解析対象NP23
の主辞ノードNP24を修飾する修飾句は、図16のNP30と
NP34となる。NP30に対応する意味フレームは未設定なの
で、意味フレームNP30* を設定し、NP24* からNP30* へ
修飾関係のリンクを張る。また、NP34に対応する意味フ
レームは未設定なので、意味フレームNP34* を設定し、
NP24* からNP34* へ修飾関係のリンクを張る(ステップ
340−修飾句フレーム抽出過程)。ステップ340で
新規に設定された修飾句フレームの内、処理対象の修飾
句フレームをNP30* と決定し(ステップ350−処理対
象修飾句フレーム決定過程)、NP30* を入力として意味
解析を再帰呼び出しする(ステップ360−修飾句フレ
ーム解析過程)。解析対象NP30に付随する情報より、解
析対象NP30の種別が一般なので、図19の解析対象区分
分類知識より、NP30は非動詞句類であると判定する(ス
テップ100−解析対象区分判定過程)。構文木上位置
知識により、解析対象NP30の主辞ノードは、図16のN3
1 となる。N31 に対応する意味フレームN31*を設定し、
NP30* からN31*へ主辞関係のリンクを張る(ステップ3
00−非動詞句類解析過程、ステップ310−主辞フレ
ーム抽出過程)。
Next, according to FIG. 20 (I), the analysis target NP23
Modifiers that modify the head node NP24 of are NP30 and NP30 in FIG.
NP34. Since the semantic frame corresponding to NP30 has not been set, the semantic frame NP30 * is set, and a modification-related link is made from NP24 * to NP30 *. Also, since the meaning frame corresponding to NP34 has not been set, set the meaning frame NP34 *,
A link relating to the modification is provided from NP24 * to NP34 * (step 340—modifier phrase frame extraction process). Of the modifier frames newly set in step 340, the modifier frame to be processed is determined to be NP30 * (step 350—processing target modifier frame determination process), and the semantic analysis is recursively called using NP30 * as an input. (Step 360-Modifier phrase frame analysis process). Since the type of the analysis target NP30 is more general than the information attached to the analysis target NP30, it is determined that the NP30 is a non-verb phrase based on the analysis target classification classification knowledge of FIG. 19 (step 100-analysis target classification determination process). According to the position knowledge on the parse tree, the head node of the analysis target NP30 is N3 in FIG.
It becomes 1. Set a meaning frame N31 * corresponding to N31,
Create a head link from NP30 * to N31 * (Step 3)
00-non-verb phrase analysis process, step 310-subject frame extraction process).

【0149】ステップ310で設定された主辞フレーム
の内、以降の処理対象の主辞フレームをN31*と決定し
(ステップ320−処理対象主辞フレーム決定過程)、
N31*を入力として意味解析を再帰呼び出しする(ステッ
プ330−主辞フレーム解析過程)。解析対象N31 に付
随する情報より、解析対象N31 は品詞なので、解析対象
フレームN31*に対する意味解析を終了する(ステップ1
00−解析対象区分判定過程)。構文木上位置知識によ
り、解析対象NP30の主辞ノードN31 を修飾する修飾句
は、図16の構文木上にないことが分かる(ステップ3
40−修飾句フレーム抽出過程)。ステップ340で新
規に設定された修飾句フレームはないので、処理対象の
修飾句フレームはないと判定する(ステップ350−処
理対象修飾句フレーム決定過程)。
Of the head frames set in step 310, the head frame to be processed thereafter is determined as N31 * (step 320—process head frame determination process).
The semantic analysis is recursively called using N31 * as an input (step 330-head frame analysis process). According to the information attached to the analysis target N31, since the analysis target N31 is a part of speech, the semantic analysis for the analysis target frame N31 * is completed (step 1).
00-analysis target classification determination process). Based on the knowledge of the position on the syntax tree, it can be understood that the qualifying phrase for modifying the head node N31 of the analysis target NP30 is not on the syntax tree of FIG. 16 (step 3).
40-Modifier phrase frame extraction process). Since there is no modifier phrase frame newly set in step 340, it is determined that there is no modifier phrase frame to be processed (step 350-processing target modifier phrase frame determination process).

【0150】ステップ310で設定された主辞フレーム
の全てが処理されたので、処理対象の主辞フレームはな
いと判定し、解析対象フレームNP30* に対する意味解析
を終了する(ステップ320−処理対象主辞フレーム決
定過程)。続いて、ステップ340で新規に設定された
修飾句フレームの内、処理対象となったことのないもの
から処理対象を選択し、処理対象の修飾句フレームをNP
34* と決定し(ステップ350−処理対象修飾句フレー
ム決定過程)、NP34* を入力として意味解析を再帰呼び
出しする(ステップ360−修飾句フレーム解析過
程)。解析対象NP34に付随する情報より、解析対象NP34
の種別が一般なので、図19の解析対象区分分類知識よ
り、NP34は非動詞句類であると判定する(ステップ10
0−解析対象区分判定過程)。
Since all of the head frames set in step 310 have been processed, it is determined that there is no head frame to be processed, and the semantic analysis for the analysis target frame NP30 * is terminated (step 320—determination of head frame to be processed). process). Subsequently, among the modifier frames newly set in step 340, a processing target is selected from those which have never been processed, and the modifier phrase frame to be processed is set to NP.
34 * (Step 350-Modification phrase frame determination process to be processed), and semantic analysis is recursively called using NP34 * as an input (Step 360-Modification phrase frame analysis process). From the information attached to the analysis target NP34, the analysis target NP34
Since NP34 is a general type, it is determined that NP34 is a non-verb phrase class from the analysis target classification classification knowledge of FIG. 19 (step 10).
0-analysis target classification determination process).

【0151】構文木上位置知識により、解析対象NP34の
主辞ノードは、図16のN35 となる。N35 に対応する意
味フレームN35*を設定し、NP34* からN35*へ主辞関係の
リンクを張る(ステップ300−非動詞句類解析過程、
ステップ310−主辞フレーム抽出過程)。ステップ3
10で設定された主辞フレームの内、以降の処理対象の
主辞フレームをN35*と決定し(ステップ320−処理対
象主辞フレーム決定過程)、N35*を入力として意味解析
を再帰呼び出しする(ステップ330−主辞フレーム解
析過程)。解析対象N35 に付随する情報より、解析対象
N35 は品詞なので、解析対象フレームN35*に対する意味
解析を終了する(ステップ100−解析対象区分判定過
程)。
The head node of the analysis target NP34 is N35 in FIG. 16 based on the position knowledge on the syntax tree. A semantic frame N35 * corresponding to N35 is set, and a head relation link is established from NP34 * to N35 * (step 300-non-verb phrase analysis process,
Step 310-head frame extraction process). Step 3
Of the head frames set in step 10, the head frame to be processed thereafter is determined to be N35 * (step 320-processing head frame determination process), and the semantic analysis is recursively called using N35 * as an input (step 330-). Head frame analysis process). From the information attached to the analysis target N35,
Since N35 is a part-of-speech, the semantic analysis for the analysis target frame N35 * is terminated (step 100—analysis target classification determination process).

【0152】構文木上位置知識により、解析対象NP34の
主辞ノードN35 を修飾する修飾句は、図16の構文木上
にないことが分かる(ステップ340−修飾句フレーム
抽出過程)。ステップ340で新規に設定された修飾句
フレームはないので、処理対象の修飾句フレームはない
と判定する(ステップ350−処理対象修飾句フレーム
決定過程)。
It can be seen from the syntax tree position knowledge that the modifier for modifying the head node N35 of the analysis target NP34 is not on the syntax tree in FIG. 16 (step 340—modifier phrase frame extraction process). Since there is no modifier phrase frame newly set in step 340, it is determined that there is no modifier phrase frame to be processed (step 350-processing target modifier phrase frame determination process).

【0153】ステップ310で設定された主辞フレーム
の全てが処理されたので、処理対象の主辞フレームはな
いと判定し、解析対象フレームNP34* に対する意味解析
を終了する(ステップ320−処理対象主辞フレーム決
定過程)。そして、ステップ340で新規に設定された
修飾句フレームの全てが処理されたので、処理対象の修
飾句フレームはないと判定する(ステップ350−処理
対象修飾句フレーム決定過程)。
Since all of the head frames set in step 310 have been processed, it is determined that there is no head frame to be processed, and the semantic analysis for the analysis target frame NP34 * is terminated (step 320—determination of head frame to be processed). process). Then, since all of the modifier frames newly set in step 340 have been processed, it is determined that there are no modifier frames to be processed (step 350-processing target modifier frame determination process).

【0154】ステップ310で設定された主辞フレーム
の全てが処理されたので、処理対象の主辞フレームはな
いと判定し、解析対象フレームNP23* に対する意味解析
を終了する(ステップ320−処理対象主辞フレーム決
定過程)。そして、ステップ250で新規に設定された
場所格フレームの全てが処理されたので、処理対象の深
層格フレームはないと判定する(ステップ260−処理
対象深層格フレーム決定過程)。
Since all of the head frames set in step 310 have been processed, it is determined that there is no head frame to be processed, and the semantic analysis for the analysis target frame NP23 * is completed (step 320—determination of head frame to be processed). process). Then, since all the place case frames newly set in step 250 have been processed, it is determined that there is no deep case frame to be processed (step 260-target deep case frame determination process).

【0155】続いて、主辞動詞ノードV18 の意味情報で
ある図22に記載された深層格で抽出対象となったこと
のないものから抽出対象を選択し、抽出対象の深層格を
主格と決定する(ステップ240−抽出対象深層格決定
過程)。図22より、深層格:主格、態:能動態、前提
条件:なし、を検索キーとして、表層格情報(表層格:
主格、制約条件:名詞句かつ意味情報:人)を取得する
(ステップ250−深層格フレーム抽出過程、ステップ
251−表層格情報取得過程)。図20(C)より、解
析対象S1中の表層格としての主格は、図16のNP14とな
る(ステップ252−構文木ノード取得過程1)。表層
格情報中の制約条件は、名詞句かつ意味情報:人であ
り、NP14に付随する情報よりNP14も名詞句で意味情報が
人であるので、照合結果は真となる(ステップ253−
制約条件照合過程1)。そして、NP14に対応する意味フ
レームは未設定なので、意味フレームNP14* を設定し、
V18*からNP14* へ主格関係のリンクを張る(ステップ2
54−深層格フレーム生成過程1)。
Subsequently, an extraction target is selected from the deep cases described in FIG. 22, which are the semantic information of the head verb node V18, which have never been extracted, and the deep case to be extracted is determined as the nominative case. (Step 240-extraction target deep case determination process). From FIG. 22, it is found that the deep case: nominative case, the form: active, the precondition: none, and the search key is the surface case information (surface case:
Nominal case, constraint condition: noun phrase and semantic information: person) are acquired (step 250-deep case frame extraction process, step 251-surface case information acquisition process). From FIG. 20 (C), the nominative case as the surface case in the analysis target S1 is NP14 in FIG. 16 (step 252-syntax tree node acquisition process 1). The constraint condition in the surface case information is noun phrase and semantic information: person, and since the NP14 is a noun phrase and the semantic information is person than the information attached to NP14, the collation result is true (step 253-
Constraint condition matching process 1). And, since the meaning frame corresponding to NP14 has not been set, the meaning frame NP14 * is set,
Link the nominative relationship from V18 * to NP14 * (Step 2)
54—Deep case frame generation process 1).

【0156】ステップ250で新規に設定された主格フ
レームの内、処理対象の主格フレームをNP14* と決定し
(ステップ260−処理対象深層格フレーム決定過
程)、NP14* を入力として意味解析を再帰呼び出しする
(ステップ270−深層格フレーム解析過程)。解析対
象NP14に付随する情報より、解析対象NP14の種別が代名
詞なので、図19の解析対象区分分類知識より、NP14は
非動詞句類であると判定する(ステップ100−解析対
象区分判定過程)。構文木上位置知識により、解析対象
NP14の主辞ノードは、図16のPN15となる。PN15に対応
する意味フレームPN15* を設定し、NP14* からPN15* へ
主辞関係のリンクを張る(ステップ300−非動詞句類
解析過程、ステップ310−主辞フレーム抽出過程)。
ステップ310で設定された主辞フレームの内、以降の
処理対象の主辞フレームをPN15* と決定し(ステップ3
20−処理対象主辞フレーム決定過程)、PN15* を入力
として意味解析を再帰呼び出しする(ステップ330−
主辞フレーム解析過程)。解析対象PN15に付随する情報
より、解析対象PN15は品詞なので、解析対象フレームPN
15* に対する意味解析を終了する(ステップ100−解
析対象区分判定過程)。
Of the nominative frames newly set in step 250, the nominative case to be processed is determined to be NP14 * (step 260-process of determining deep frame to be processed), and semantic analysis is recursively called using NP14 * as an input. (Step 270-Deep Case Frame Analysis Process). Since the type of the analysis target NP14 is a pronoun from the information attached to the analysis target NP14, it is determined that the NP14 is a non-verb phrase based on the analysis target classification classification knowledge of FIG. 19 (step 100-analysis target classification determination process). Analysis target based on knowledge of position on parse tree
The head node of NP14 is PN15 in FIG. A semantic frame PN15 * corresponding to PN15 is set, and a head relation link is established from NP14 * to PN15 * (step 300-non-verb phrase analysis process, step 310-head frame extraction process).
Of the head frames set in step 310, the head frame to be processed thereafter is determined as PN15 * (step 3).
20—Process of Determining Subject Subject Frame), Recursively invoke semantic analysis with PN15 * as input (step 330-).
Head frame analysis process). From the information attached to the analysis target PN15, since the analysis target PN15 is a part of speech, the analysis target frame PN
The semantic analysis for 15 * is completed (step 100-analysis target category determination process).

【0157】構文木上位置知識により、解析対象NP14の
主辞ノードPN15を修飾する修飾句は、図16の構文木上
にないことが分かる(ステップ340−修飾句フレーム
抽出過程)。ステップ340で新規に設定された修飾句
フレームはないので、処理対象の修飾句フレームはない
と判定する(ステップ350−処理対象修飾句フレーム
決定過程)。
From the knowledge of the position on the syntax tree, it can be understood that the modifier for modifying the head node PN15 of the analysis target NP14 is not on the syntax tree of FIG. 16 (step 340—modifier phrase frame extraction process). Since there is no modifier phrase frame newly set in step 340, it is determined that there is no modifier phrase frame to be processed (step 350-processing target modifier phrase frame determination process).

【0158】ステップ310で設定された主辞フレーム
の全てが処理されたので、処理対象の主辞フレームはな
いと判定し、解析対象フレームNP14* に対する意味解析
を終了する(ステップ320−処理対象主辞フレーム決
定過程)。ステップ250で新規に設定された主格フレ
ームの全てが処理されたので、処理対象の深層格フレー
ムはないと判定する(ステップ260−処理対象深層格
フレーム決定過程)。
Since all of the head frames set in step 310 have been processed, it is determined that there is no head frame to be processed, and the semantic analysis for the analysis target frame NP14 * is terminated (step 320—determination of head frame to be processed). process). Since all of the nominative case frames newly set in step 250 have been processed, it is determined that there is no deep case frame to be processed (step 260-processing target deep case frame determination process).

【0159】そして、主辞動詞ノードV18 の意味情報で
ある図22に記載された深層格の全てが処理されたの
で、抽出対象の深層格はないと判定する(ステップ24
0−抽出対象深層格決定過程)。続いて、ステップ21
0で設定された主辞動詞フレームの内、処理対象となっ
たことのないものから処理対象を選択し、以降の処理対
象の主辞動詞フレームをV20*と決定する(ステップ22
0−処理対象主辞動詞フレーム決定過程)。そして、主
辞動詞ノードV20 の上位ノードであるVP17に付随する情
報より、解析対象S1の態は能動態であると決定し(ステ
ップ230−態決定過程)、主辞動詞ノードV20 に付随
する情報より、V20 の意味情報は、図22に示した内容
である。図22に記載された深層格から、抽出対象の深
層格を対象格と決定する(ステップ240−抽出対象深
層格決定過程)。図22より、深層格:対象格、態:能
動態、前提条件:なし、を検索キーとして、表層格情報
(表層格:目的格、制約条件:名詞句かつ意味情報:
物)を取得する(ステップ250−深層格フレーム抽出
過程、ステップ251−表層格情報取得過程)。
Then, since all the deep cases described in FIG. 22, which are the semantic information of the head verb node V18, have been processed, it is determined that there is no deep case to be extracted (step 24).
0—Determination of deep case to be extracted). Then, step 21
Of the head verb frames set at 0, a processing target is selected from those that have never been processed, and the head verb frame to be processed thereafter is determined to be V20 * (step 22).
0-Processing subject head verb frame determination process). Then, the state of the analysis target S1 is determined to be active based on the information attached to VP17, which is an upper node of the head verb node V20 (step 230—state determination process). From the information attached to the head verb node V20, V20 is determined. Is the content shown in FIG. The deep case to be extracted is determined as the target case from the deep case described in FIG. 22 (step 240-extraction target deep case determination process). From FIG. 22, it is found that the deep case: target case, state: active, precondition: none, and the search key are the surface case information (surface case: object case, constraint condition: noun phrase and semantic information:
(Step 250-deep case frame extraction process, step 251-surface case information obtaining process).

【0160】図20(B)より、解析対象S1中の表層格
としての目的格は、図16の構文木上にないことが分か
る(ステップ252−構文木ノード取得過程1)。図2
2より、深層格:対象格、態:能動態、前提条件:目的
格ノードがない、を検索キーとして、表層格移動先情報
(表層格:移動後の目的格、制約条件:名詞句かつ意味
情報:物)を取得する(ステップ255ー表層格移動先
情報取得過程)。図21(A)より、移動後の目的格
は、図16のNP2 となる(ステップ256ー構文木ノー
ド取得過程2)。表層格移動先情報中の制約条件は、名
詞句かつ意味情報:物であり、NP2 に付随する情報より
NP2 も名詞句で意味情報が物であるので、照合結果は真
となる(ステップ257−制約条件照合過程2)。NP2
に対応する意味フレームNP2*が設定済みなので、V20*か
らNP2*へ対象格関係のリンクを張る(ステップ258−
深層格フレーム生成過程2)。
From FIG. 20 (B), it can be seen that the object case as the surface case in the analysis target S1 is not on the syntax tree in FIG. 16 (step 252-syntax tree node acquisition process 1). FIG.
From 2, the deep case: target case, state: active, prerequisite: no case node is used as a search key, and the surface case destination information (surface case: moved case, constraint condition: noun phrase and semantic information) : Object) (step 255-surface layer destination information acquisition process). From FIG. 21A, the target case after the movement is NP2 in FIG. 16 (step 256—procedure tree node acquisition process 2). The constraint condition in the surface case destination information is a noun phrase and semantic information: thing, based on the information attached to NP2.
Since NP2 is also a noun phrase and has semantic information, the collation result is true (step 257-constraint condition collation process 2). NP2
Since the semantic frame NP2 * corresponding to is already set, a link of the target case is established from V20 * to NP2 * (step 258-).
Deep case frame generation process 2).

【0161】ステップ250で新規に設定された対象格
フレームはないので、処理対象の深層格フレームはない
と判定する(ステップ260−処理対象深層格フレーム
決定過程)。主辞動詞ノードV20 の意味情報である図2
2に記載された深層格で抽出対象となったことのないも
のから抽出対象を選択し、抽出対象の深層格を場所格と
決定し(ステップ240−抽出対象深層格決定過程)、
図22より、深層格:場所格、態:能動態、前提条件:
なし、を検索キーとして、表層格情報(表層格:atの目
的語、制約条件:名詞句かつ意味情報:職業)を取得す
る(ステップ250−深層格フレーム抽出過程、ステッ
プ251−表層格情報取得過程)。図20(D)より、
解析対象S1中のatの目的語は、図16のNP23となる(ス
テップ252−構文木ノード取得過程1)。表層格情報
中の制約条件は、名詞句かつ意味情報:職業であり、NP
23に付随する情報よりNP23も名詞句で意味情報が職業で
あるので、照合結果は真となる(ステップ253−制約
条件照合過程1)。NP23に対応する意味フレームNP23*
が設定済みなので、V20*からNP23* へ場所格関係のリン
クを張る(ステップ254−深層格フレーム生成過程
1)。
Since there is no target case frame newly set in step 250, it is determined that there is no deep case frame to be processed (step 260-process for determining deep case frame to be processed). Figure 2 which is the semantic information of the head verb node V20
An extraction target is selected from the deep cases described in No. 2 which have never been an extraction target, and the deep case to be extracted is determined as a location case (step 240-extraction target deep case determination process).
According to FIG. 22, deep case: place, form: active, precondition:
With the search key of “none”, surface case information (surface case: object of at, constraint condition: noun phrase and semantic information: occupation) is acquired (step 250-deep case frame extraction process, step 251-surface case information acquisition process). From FIG. 20 (D),
The object of at in the analysis target S1 is NP23 in FIG. 16 (step 252-syntax tree node acquisition process 1). The constraint condition in the surface case information is noun phrase and semantic information: occupation, and NP
Since the NP23 is a noun phrase and the semantic information is occupation from the information attached to 23, the collation result is true (step 253-constraint condition collation process 1). NP23 meaning frame NP23 *
Is already set, a link of the location relation is established from V20 * to NP23 * (step 254-deep case frame generation process 1).

【0162】ステップ250で新規に設定された場所格
フレームはないので、処理対象の深層格フレームはない
と判定する(ステップ260−処理対象深層格フレーム
決定過程)。主辞動詞ノードV18 の意味情報である図2
2に記載された深層格で抽出対象となったことのないも
のから抽出対象を選択し、抽出対象の深層格を主格と決
定する(ステップ240−抽出対象深層格決定過程)。
Since there is no place case frame newly set in step 250, it is determined that there is no deep case frame to be processed (step 260-process for determining deep case frame to be processed). Figure 2 which is the semantic information of the head verb node V18
An extraction target is selected from the deep cases described in No. 2 which have never been an extraction target, and the deep case to be extracted is determined as the main case (step 240-extraction target deep case determination process).

【0163】そして、図22より、深層格:主格、態:
能動態、前提条件:なし、を検索キーとして、表層格情
報(表層格:主格、制約条件:名詞句かつ意味情報:
人)を取得する(ステップ250−深層格フレーム抽出
過程、ステップ251−表層格情報取得過程)。図20
(C)より、解析対象S1中の表層格としての主格は、図
10のNP14となる(ステップ252−構文木ノード取得
過程1)。表層格情報中の制約条件は、名詞句かつ意味
情報:人であり、NP14に付随する情報よりNP14も名詞句
で意味情報が人であるので、照合結果は真となる(ステ
ップ253−制約条件照合過程1)。NP14に対応する意
味フレームNP14* が設定済みなので、V20*からNP14* へ
主格関係のリンクを張る(ステップ254−深層格フレ
ーム生成過程1)。
FIG. 22 shows that the deep case: the nominative case and the state:
Active case, prerequisite: none, and using the search key as surface key information (surface case: nominative, constraint: noun phrase and semantic information:
(Step 250-deep case frame extraction process, step 251-surface case information obtaining process). FIG.
From (C), the nominative case as the surface case in the analysis target S1 is NP14 in FIG. 10 (step 252-syntax tree node acquisition process 1). The constraint condition in the surface case information is noun phrase and semantic information: person, and since the NP14 is a noun phrase and the semantic information is person than the information attached to NP14, the collation result is true (step 253-constraint condition). Collation process 1). Since the semantic frame NP14 * corresponding to NP14 has been set, a link of the nominative relation is established from V20 * to NP14 * (step 254-deep case frame generation process 1).

【0164】ステップ250で新規に設定された主格フ
レームはないので、処理対象の深層格フレームはないと
判定する(ステップ260−処理対象深層格フレーム決
定過程)。主辞動詞ノードV20 の意味情報である図22
に記載された深層格の全てが処理されたので、抽出対象
の深層格はないと判定する(ステップ240−抽出対象
深層格決定過程)。
Since there is no main case frame newly set in step 250, it is determined that there is no deep case frame to be processed (step 260-process for determining deep case frame to be processed). FIG. 22 which is the semantic information of the head verb node V20
Are processed, it is determined that there is no deep case to be extracted (step 240-extraction case deep case determination process).

【0165】ステップ210で設定された主辞動詞フレ
ームの全てが処理されたので、解析対象フレームS1* に
対する意味解析を終了する(ステップ220−処理対象
主辞動詞フレーム決定過程)。以上により、図16の構
文木を入力としたときの出力結果として、図17また
は、図18の意味構造を得る。
Since all of the head verb frames set in step 210 have been processed, the semantic analysis for the analysis target frame S1 * is terminated (step 220—process for determining the processing target head verb frame). As described above, the semantic structure of FIG. 17 or FIG. 18 is obtained as an output result when the syntax tree of FIG. 16 is input.

【0166】また、本発明は、図4、図5に示す各構成
要素をプログラムとして構築し、意味解析装置として利
用されるコンピュータに接続されるディスク装置や、フ
ロッピーディスク、CD−ROM等の可搬記憶媒体に格
納しておき、本発明を実施する際にコンピュータにイン
ストールすることにより、容易に本発明を実現すること
が可能である。また、図3に示した情報検索装置につい
ても各構成要素をプログラムとして構築し、コンピュー
タ上で本発明の情報検索を行うことが可能である。
Further, the present invention constructs each component shown in FIG. 4 and FIG. 5 as a program, and can be connected to a computer used as a semantic analyzer, a floppy disk, a CD-ROM or the like. The present invention can be easily realized by storing it in a portable storage medium and installing it in a computer when implementing the present invention. In addition, the information search device shown in FIG. 3 can also construct each component as a program and perform the information search of the present invention on a computer.

【0167】図23は上記コンピュータのハードウェア
構成の例を示すブロック図である。本コンピュータシス
テムは、処理を実行するCPU401、プログラムやデ
ータを記憶するメモリ402、メモリ402またはCP
U401で使用するプログラムやデータを蓄積する外部
記憶装置403、データを表示するディスプレイ40
4、データまたは命令を入力するキーボード405、ネ
ットワークを介して他のコンピュータシステム等と通信
を行うためのインターフェース406から構成される。
上記プログラムはCPU401により実行される。
FIG. 23 is a block diagram showing an example of a hardware configuration of the computer. The computer system includes a CPU 401 for executing processing, a memory 402 for storing programs and data, a memory 402 or a CP.
External storage device 403 for storing programs and data used in U401, display 40 for displaying data
4, a keyboard 405 for inputting data or instructions, and an interface 406 for communicating with another computer system or the like via a network.
The above program is executed by the CPU 401.

【0168】例えば、このコンピュータを本発明の情報
検索装置として使用する場合には、インターフェース4
06を介して他のコンピュータ等から自然言語文が入力
され、インターフェース406を介して他のコンピュー
タ等へ検索対象情報を出力することが可能である。ま
た、キーボード405から自然言語文を入力し、ディス
プレイ404に検索対象情報を出力してもよい。検索の
過程で参照される各種データベースは外部記憶装置40
3に格納される。また、インターフェース406を介し
て他のコンピュータのデータベースを参照することもで
きる。
For example, when this computer is used as the information search device of the present invention, the interface 4
It is possible to input a natural language sentence from another computer or the like via 06, and output search target information to another computer or the like via the interface 406. Alternatively, a natural language sentence may be input from the keyboard 405 and the search target information may be output to the display 404. Various databases referred to in the search process are stored in the external storage device 40.
3 is stored. Further, a database of another computer can be referred to via the interface 406.

【0169】以上、本発明を実施形態例に基づき具体的
に説明したが、本発明は上記の実施形態例に限定される
ものではなく、その要旨を逸脱しない範囲で種々変更可
能である。
As described above, the present invention has been specifically described based on the embodiments. However, the present invention is not limited to the above embodiments, and can be variously modified without departing from the gist thereof.

【0170】[0170]

【発明の効果】上述のように、本発明によれば、トップ
ダウンに解析を進めるため、文の主辞からはじまって、
後のキーワード抽出に必要な特定の指定された深層格の
句のみを解析対象にし、不必要な深層格内部の解析を実
行することがなくなり、解析の実行時間の短縮が図れ
る。
As described above, according to the present invention, in order to perform the analysis from the top down, starting from the head of the sentence,
Only the phrase of the specific designated deep case necessary for later keyword extraction is to be analyzed, and unnecessary analysis inside the deep case is not performed, so that the execution time of the analysis can be reduced.

【0171】また、予め句の種類毎に、その主辞や、主
辞に対する表層格、主辞を修飾する修飾句の構文木上の
位置を規定した知識を保持しているため、意味解析全体
の流れが視覚的に理解し易く、処理方式の修正等の保守
が容易になる。
In addition, since knowledge that prescribes, for each type of phrase, its head, the surface case of the head, and the position of the qualifier that modifies the head on the parse tree is held, the flow of the entire semantic analysis is reduced. It is easy to understand visually, and maintenance such as correction of the processing method becomes easy.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の意味解析方法の原理を説明するための
図である。
FIG. 1 is a diagram for explaining the principle of a semantic analysis method according to the present invention.

【図2】本発明の情報検索方法の動作を示すフローチャ
ートである。
FIG. 2 is a flowchart showing the operation of the information search method of the present invention.

【図3】本発明の情報検索装置の構成図である。FIG. 3 is a configuration diagram of an information search device of the present invention.

【図4】本発明の意味解析装置の構成図である。FIG. 4 is a configuration diagram of a semantic analysis device of the present invention.

【図5】本発明の深層格フレーム抽出部の構成図であ
る。
FIG. 5 is a configuration diagram of a deep case frame extraction unit of the present invention.

【図6】本発明の意味解析方法の動作を示すフローチャ
ートである。
FIG. 6 is a flowchart showing the operation of the semantic analysis method of the present invention.

【図7】本発明の深層格フレーム抽出過程のフローチャ
ートである。
FIG. 7 is a flowchart of a deep case frame extraction process of the present invention.

【図8】本発明の第1の実施例の句や品詞の種類及び記
号を説明するための図である。
FIG. 8 is a diagram for explaining types and symbols of phrases and parts of speech according to the first embodiment of the present invention.

【図9】本発明の第1の実施例の自然言語文の構文木を
示す図である。
FIG. 9 is a diagram illustrating a syntax tree of a natural language sentence according to the first embodiment of this invention.

【図10】本発明の第1の実施例の意味解析処理により
出力される意味構造を示す図である。
FIG. 10 is a diagram illustrating a semantic structure output by the semantic analysis processing according to the first embodiment of this invention.

【図11】本発明の第1の実施例の構文木を入力したと
きの意味解析処理により出力される意味構造を視覚的に
示した図である。
FIG. 11 is a diagram visually illustrating a semantic structure output by a semantic analysis process when a syntax tree according to the first embodiment of the present invention is input.

【図12】本発明の第1の実施例の解析対象区分分類知
識記憶装置に格納されている解析対象の区分分類知識の
例を示す図である。
FIG. 12 is a diagram illustrating an example of analysis target category classification knowledge stored in the analysis target category classification knowledge storage device according to the first embodiment of this invention;

【図13】本発明の第1の実施例の構文木上位置知識記
憶装置に格納されている構文木上位置知識の例である。
FIG. 13 is an example of syntax tree position knowledge stored in the syntax tree position knowledge storage device according to the first embodiment of this invention.

【図14】本発明の第1の実施例の構文木の動詞ノード
の意味情報の値の例を示す図である。
FIG. 14 is a diagram illustrating an example of a value of semantic information of a verb node of a syntax tree according to the first embodiment of this invention.

【図15】本発明の第2の実施例の句や品詞の種類及び
記号を説明するための図である。
FIG. 15 is a diagram illustrating types and symbols of phrases and parts of speech according to the second embodiment of the present invention.

【図16】本発明の第2の実施例の自然言語文の構文木
を示す図である。
FIG. 16 is a diagram illustrating a syntax tree of a natural language sentence according to the second embodiment of this invention.

【図17】本発明の第2の実施例の意味解析処理により
出力される意味構造を示す図である。
FIG. 17 is a diagram illustrating a semantic structure output by the semantic analysis processing according to the second embodiment of this invention.

【図18】本発明の第2の実施例の構文木を入力したと
きの意味解析処理により出力される意味構造を視覚的に
示した図である。
FIG. 18 is a diagram visually illustrating a semantic structure output by a semantic analysis process when a syntax tree according to the second embodiment of the present invention is input.

【図19】本発明の第2の実施例の解析対象区分分類知
識記憶装置に格納されている解析対象区分分類知識の例
を示す図である。
FIG. 19 is a diagram illustrating an example of analysis target category classification knowledge stored in the analysis target category classification knowledge storage device according to the second embodiment of this invention.

【図20】本発明の第2の実施例の構文木上位置知識記
憶装置に格納されている構文木上位置知識の内、表層格
の通常の位置に関する知識の例である。
FIG. 20 is an example of knowledge relating to a normal position of a surface case, of knowledge of positions on a syntax tree stored in a storage device for knowledge of positions on a syntax tree according to a second embodiment of the present invention.

【図21】本発明の第2の実施例の構文木上位置知識記
憶装置に格納されている構文木上位置知識の内、主辞に
対する表層格に該当するノードが入力となる構文木上に
ない場合の、表層格の移動先の位置を規定している知識
の例である。
FIG. 21 does not have a node corresponding to the surface case for the subject in the input syntax tree among the syntax tree location knowledge stored in the syntax tree location knowledge storage device according to the second embodiment of the present invention. In this case, it is an example of knowledge that defines the position of the destination of the surface case.

【図22】本発明の第2の実施例の構文木の動詞ノード
の意味情報の値の例を示す図である。
FIG. 22 is a diagram illustrating an example of a value of semantic information of a verb node of a syntax tree according to the second embodiment of this invention.

【図23】コンピュータの構成例を示す図である。FIG. 23 is a diagram illustrating a configuration example of a computer.

【符号の説明】[Explanation of symbols]

1 入力装置 2 情報検索装置 3 全体制御装置 4 自然言語処理装置 5 形態素解析装置 6 形態素解析部 7 単語辞書 8 構文解析装置 9 構文解析部 10 句構造規則テーブル 11 意味解析装置 12 意味解析部 13 各種知識記憶装置 14 キーワード抽出装置 15 キーワード抽出部 16 抽出規則テーブル 17 カテゴリー名推論装置 18 カテゴリー名推論部 19 シソーラス等各種知識データベース 20 単語抽出装置 21 単語抽出部 22 抽出対象単語テーブル 23 住所解析装置 24 住所解析部 25 住所テーブル 26 検索装置 27 検索部 28 案内情報データベース 29 表示装置 100 解析対象区分判定部 200 動詞句類解析部 210 主辞動詞フレーム抽出部 220 処理対象主辞動詞フレーム決定部 230 態決定部 240 抽出対象深層格決定部 250 深層格フレーム抽出部 251 表層格情報取得部 252 構文木ノード取得部1 253 制約条件照合部1 254 深層格フレーム生成部1 255 表層格移動先情報取得部 256 構文木ノード取得部2 257 制約条件照合部2 258 深層格フレーム生成部2 260 処理対象深層格フレーム決定部 270 深層格フレーム解析部 300 非動詞句類解析部 310 主辞フレーム抽出部 320 処理対象主辞フレーム決定部 330 主辞フレーム解析部 340 修飾句フレーム抽出部 350 処理対象修飾句フレーム決定部 360 修飾句フレーム解析部 400 解析対象区分分類知識記憶装置 401 CPU 402 メモリ 403 外部記憶装置 404 ディスプレイ 405 キーボード 406 インターフェース 500 構文木上位置知識記憶装置 1000 意味解析装置 Reference Signs List 1 input device 2 information retrieval device 3 overall control device 4 natural language processing device 5 morphological analysis device 6 morphological analysis unit 7 word dictionary 8 syntax analysis device 9 syntax analysis unit 10 phrase structure rule table 11 semantic analysis device 12 semantic analysis unit 13 various Knowledge storage device 14 Keyword extraction device 15 Keyword extraction unit 16 Extraction rule table 17 Category name inference device 18 Category name inference unit 19 Various knowledge databases such as thesaurus 20 Word extraction device 21 Word extraction unit 22 Word table to be extracted 23 Address analysis device 24 Address Analysis unit 25 Address table 26 Search device 27 Search unit 28 Guidance information database 29 Display device 100 Analysis target classification determination unit 200 Verb phrase class analysis unit 210 Head verb frame extraction unit 220 Processing head head verb frame determination unit 230 State determination unit 2 0 Extraction target deep case determination unit 250 Deep case frame extraction unit 251 Surface case information acquisition unit 252 Syntax tree node acquisition unit 1 253 Constraint condition matching unit 1 254 Deep case frame generation unit 1 255 Surface case movement destination information acquisition unit 256 Syntax tree Node acquisition unit 2 257 Constraint condition matching unit 2 258 Deep case frame generation unit 2 260 Processing target deep case frame determination unit 270 Deep case frame analysis unit 300 Non-verb phrase class analysis unit 310 Subject frame extraction unit 320 Processing subject head frame determination unit 330 Subject frame analysis unit 340 Modifier phrase frame extraction unit 350 Modification phrase frame determination unit to be processed 360 Modifier phrase frame analysis unit 400 Analysis target category classification knowledge storage device 401 CPU 402 Memory 403 External storage device 404 Display 405 Keyboard 406 Interface 00 on the syntax tree position knowledge storage device 1000 semantic analysis apparatus

Claims (27)

【特許請求の範囲】[Claims] 【請求項1】 自然言語文の意味構造を解析するための
意味解析方法において、 自然言語文の構文木を入力する過程と、 該構文木の解析対象となるノードに付随する、句の細分
類である種別の情報から、解析対象区分分類知識を参照
して、該解析対象が、動詞を主辞とする動詞句類である
か、主に名詞を主辞とする非動詞句類であるかを判定す
る解析対象区分判定過程と、 前記解析対象が前記動詞句類であれば、動詞と、該動詞
の深層格との関係を解析する動詞句類解析過程と、 前記解析対象が前記非動詞句類であれば、名詞句と形容
詞句間を含む修飾関係を解析する非動詞句類解析過程
と、 前記構文木のあるノードに対応する意味フレームと、該
意味フレーム間を結合する主辞関係、深層格関係、修飾
関係のリンクの集合からなる、前記自然言語文の意味構
造を出力する過程とからなることを特徴とする意味解析
方法。
1. A semantic analysis method for analyzing a semantic structure of a natural language sentence, wherein a step of inputting a syntax tree of the natural language sentence, and a subclassification of a phrase attached to a node to be analyzed in the syntax tree. From the type information, it is determined whether the analysis target is a verb phrase having a verb as a head or a non-verb phrase mainly having a noun as a head with reference to the analysis target classification knowledge. If the analysis target is the verb phrase, a verb phrase analysis process for analyzing the relationship between the verb and the deep case of the verb, and the analysis target is the non-verb phrase If so, a non-verb phrase analysis process of analyzing a modification relation including a noun phrase and an adjective phrase, a semantic frame corresponding to a certain node of the syntax tree, a head relation connecting the semantic frames, a deep case A set of links of relations and modification relations, Semantic analysis method characterized by comprising a process of natural outputting the semantic structure of the language sentence.
【請求項2】 前記解析対象区分判定過程は、 解析対象が品詞であるかどうかを判定する過程を更に有
し、該解析対象が品詞であれば、前記意味解析を終了す
る請求項1に記載の意味解析方法。
2. The method according to claim 1, wherein the analysis target category determination step further includes a step of determining whether or not the analysis target is a part of speech, and if the analysis target is a part of speech, the semantic analysis is terminated. Semantic analysis method.
【請求項3】 前記動詞句類解析過程は、 構文木上位置知識を参照して、前記解析対象の主辞とな
る動詞ノードを求め、該主辞動詞ノードに対応する主辞
動詞フレームを設定し、該解析対象に対応する解析対象
フレームから該主辞動詞フレームへ主辞関係のリンクを
張る主辞動詞フレーム抽出過程と、 前記解析対象を含むノードに付随する態の情報を参照す
ることにより、該解析対象の態を決定する態決定過程
と、 前記主辞動詞ノードに付随する動詞意味情報に記載され
ている深層格から、抽出対象とする深層格を決定する抽
出対象深層格決定過程と、 前記抽出対象深層格決定過程において決定された深層格
に該当する構文木ノードを求め、該構文木ノードに対応
する深層格フレームを設定し、該主辞動詞フレームから
該深層格フレームへ深層格関係のリンクを張る深層格フ
レーム抽出過程と、 前記深層格フレーム抽出過程の結果、前記深層格フレー
ムが設定されていれば、該深層格フレームを入力として
前記意味解析を再帰呼出しする深層格フレーム解析過程
とからなり、 前記深層格フレーム解析過程が終了すれば、再び前記抽
出対象深層格決定過程を行い、該抽出対象深層格決定過
程における処理の結果、抽出対象とする深層格がなけれ
ば、前記動詞句類解析過程を含む意味解析を終了する請
求項1に記載の意味解析方法。
3. The verb phrase class analyzing step obtains a verb node to be the subject to be analyzed with reference to the position knowledge on the parse tree, sets a head verb frame corresponding to the head verb node, and A subject verb frame extraction process of linking a subject relation verb from the analysis target frame corresponding to the analysis target to the head verb frame; and referring to information on a state attached to the node including the analysis target, to determine a state of the analysis target. An extraction target deep case determining step of determining a deep case to be extracted from the deep case described in the verb semantic information associated with the head verb node; and the extraction target deep case determination A parse tree node corresponding to the deep case determined in the process is obtained, a deep case frame corresponding to the parse tree node is set, and from the head verb frame to the deep case frame. A deep case frame extracting step of linking a stratigraphic relationship; and, as a result of the deep case frame extracting step, if the deep case frame is set, a deep case recursively calling the semantic analysis using the deep case frame as an input. When the deep case frame analysis process is completed, the extraction target deep case determination process is performed again, and as a result of the processing in the extraction target deep case determination process, if there is no deep case to be extracted, 2. The semantic analysis method according to claim 1, wherein the semantic analysis including the verb phrase class analyzing step is terminated.
【請求項4】 前記動詞句類解析過程は、 構文木上位置知識を参照して、前記解析対象の主辞とな
る動詞ノードを求め、該主辞動詞ノードに対応する主辞
動詞フレームを設定し、該解析対象に対応する解析対象
フレームから該主辞動詞フレームへ主辞関係のリンクを
張る主辞動詞フレーム抽出過程と、 前記主辞動詞フレームの内、どの主辞動詞フレームの深
層格の解析を以降の処理で行うか決定する処理対象主辞
動詞フレーム決定過程と、 前記解析対象を含むノードに付随する態の情報を参照す
ることにより、該解析対象の態を決定する態決定過程
と、 前記主辞動詞ノードに付随する動詞意味情報に記載され
ている深層格から、抽出対象とする深層格を決定する抽
出対象深層格決定過程と、 前記抽出対象深層格決定過程において決定された深層格
に該当する構文木ノードを求め、該構文木ノードに対応
する深層格フレームを設定し、該主辞動詞フレームから
該深層格フレームへ深層格関係のリンクを張る深層格フ
レーム抽出過程と、 前記深層格フレーム抽出過程で設定された前記深層格フ
レームの内、どの深層格フレームの解析を行うか決定す
る処理対象深層格フレーム決定過程と、 前記処理対象深層格フレーム決定過程において決定され
た該深層格フレームを入力として前記意味解析を再帰呼
出しする深層格フレーム解析過程とからなり、 前記深層格フレーム解析過程が終了すれば、再び前記処
理対象深層格フレーム決定過程を行い、前記処理対象深
層格フレーム決定過程の処理の結果、処理対象とする深
層格フレームがなければ、再び前記抽出対象深層格決定
過程の処理を行い、 前記抽出対象深層格決定過程の処理の結果、抽出対象と
する深層格がなければ、再び前記処理対象主辞動詞フレ
ーム決定過程の処理を行い、 前記処理対象主辞動詞フレーム決定過程の処理の結果、
処理対象とする主辞動詞フレームがなければ、前記動詞
句類解析過程を含む意味解析を終了する請求項1に記載
の意味解析方法。
4. The verb / phrase analysis step refers to the knowledge of the position on the parse tree, finds a verb node to be the subject to be analyzed, and sets a head / verb frame corresponding to the head / verb node. A subject verb frame extraction process of linking a subject relationship from the analysis target frame corresponding to the analysis subject to the subject verb frame, and which of the subject verb frames in the subject verb frame is to be analyzed in the subsequent processing. A subject verb frame determining process to be determined; a state determining process of determining a state of the analysis target by referring to information of a state accompanying the node including the analysis target; a verb accompanying the head verb node; From the deep case described in the semantic information, an extraction target deep case determination step of determining a deep case to be extracted, and the extraction target deep case determination step Determining a syntactic tree node corresponding to the stratum case, setting a deep case frame corresponding to the syntactic tree node, and linking a deep case relationship from the head verb frame to the deep case frame, a deep case frame extracting step; A deep case frame to be processed to determine which deep case frame to analyze among the deep case frames set in the deep case frame extracting process; and the deep case determined in the deep case frame to be processed determining process. A deep case frame analyzing step of recursively calling the semantic analysis with a case frame as an input.If the deep case frame analyzing step is completed, the processing target deep case frame determining step is performed again, and the processing target deep case frame is performed. As a result of the determination process, if there is no deep case frame to be processed, the extraction target deep case determination process is performed again. If there is no deep case to be extracted as a result of the processing of the extraction target deep case determination step, the processing of the processing target head verb frame determination step is performed again, and the processing result of the processing target head verb frame determination step ,
The semantic analysis method according to claim 1, wherein if there is no subject verb frame to be processed, the semantic analysis including the verb phrase class analysis process is terminated.
【請求項5】 前記深層格フレーム抽出過程は、 前記態決定過程において決定された態と、前記主辞動詞
ノードに付随する動詞意味情報とを参照することによ
り、前記抽出対象深層格決定過程において決定された深
層格に対応する表層格を取得する表層格情報取得過程
と、 前記表層格と前記構文木上位置知識により該表層格に該
当する構文木ノードを求める構文木ノード取得過程と、 前記構文木ノードに付随する句、種別、意味情報を含む
情報と、前記動詞意味情報に記載されている前記深層格
の制約条件知識とを照合する制約条件照合過程と、 前記制約条件照合過程の結果が真であれば、前記構文木
ノードに対応する深層格フレームを設定し、前記主辞動
詞フレームから該深層格フレームへ深層格関係のリンク
を張る深層格フレーム生成過程とからなる請求項3に記
載の意味解析方法。
5. The deep case frame extracting step is characterized in that the state determined in the state determining step and verb semantic information associated with the head verb node are referred to to determine the deep case frame in the extraction target deep case determining step. A surface case information obtaining step of obtaining a surface case corresponding to the obtained deep case; a syntax tree node obtaining step of obtaining a syntax tree node corresponding to the surface case based on the surface case and the position knowledge on the syntax tree; A constraint condition matching step of matching information including a phrase, a type, and semantic information attached to the tree node with constraint knowledge of the deep case described in the verb semantic information; and a result of the constraint condition matching step. If true, generate a deep case frame that sets a deep case frame corresponding to the parse tree node and links a deep case relationship from the head verb frame to the deep case frame Semantic analysis method according to claim 3 comprising a degree.
【請求項6】 前記表層格情報取得過程の処理の結果、
前記表層格が取得できなかった場合、又は、前記構文木
ノードが取得できなかった場合、又は、前記制約条件照
合過程の結果が真である構文木ノードが得られなかった
場合に、表層格移動先情報を取得して、深層格フレーム
生成を行う請求項5に記載の意味解析方法。
6. As a result of the process of obtaining the surface case information,
If the surface case could not be obtained, or if the syntax tree node could not be obtained, or if the syntax tree node for which the result of the constraint matching process was true was not obtained, the surface case movement was performed. The semantic analysis method according to claim 5, wherein deep case frames are generated by acquiring the preceding information.
【請求項7】 前記非動詞句類解析過程は、 構文木上位置知識を参照して、前記解析対象の主辞とな
る句や品詞ノードを求め、該主辞ノードに対応する主辞
フレームを設定し、該解析対象に対応する解析対象フレ
ームから該主辞フレームへ主辞関係のリンクを張る主辞
フレーム抽出過程と、 前記主辞フレームを入力として、前記意味解析を再帰呼
出しする主辞フレーム解析過程と、 前記構文木上位置知識を参照して、該主辞ノードを修飾
する修飾句ノードを求め、該修飾句ノードに対応する修
飾句フレームを設定し、該主辞フレームから該修飾句フ
レームへ修飾関係のリンクを張る修飾句フレーム抽出過
程と、 前記修飾句フレーム抽出過程の結果、修飾句フレームが
設定されているか判定する修飾句フレーム抽出判定過程
と、 前記修飾句フレーム抽出判定過程の処理の結果、前記修
飾句フレームが設定されていれば、該修飾句フレームを
入力として前記意味解析を再帰呼出しする修飾句フレー
ム解析過程とからなり、 前記修飾句フレーム解析過程が終了すれば、再び前記修
飾句フレーム抽出過程の処理を行い、前記修飾句フレー
ム抽出判定過程の結果、修飾句フレームが設定されてい
なければ、前記非動詞句類解析過程を含む意味解析を終
了する請求項1記載の意味解析方法。
7. The non-verb phrase class analyzing step obtains a phrase or a part of speech node as a head of the analysis target by referring to the position knowledge on the parse tree, sets a head frame corresponding to the head node, A subject frame extraction process of linking a subject relationship from the analysis target frame corresponding to the analysis subject to the subject frame; a subject frame analysis process of recursively calling the semantic analysis with the subject frame as an input; With reference to the position knowledge, a modifier node for modifying the head node is obtained, a modifier frame corresponding to the modifier node is set, and a modifier link that links a modifier relationship from the head frame to the modifier frame is provided. A frame extracting step; a qualifying phrase frame extraction determining step of determining whether a qualifying phrase frame is set as a result of the qualifying phrase frame extracting step; As a result of the processing of the frame extraction determination step, if the modifier frame is set, the modifier frame analysis step of recursively calling the semantic analysis with the modifier frame as an input, Is completed, the qualifying phrase frame extraction process is performed again. If the qualifying phrase frame is not determined as a result of the qualifying phrase frame extraction determination process, the semantic analysis including the non-verb phrase class analysis process is terminated. The semantic analysis method according to claim 1, wherein
【請求項8】 前記非動詞句類解析過程は、 構文木上位置知識を参照して、前記解析対象の主辞とな
る句や品詞ノードを求め、該主辞ノードに対応する主辞
フレームを設定し、該解析対象に対応する解析対象フレ
ームから該主辞フレームへ主辞関係のリンクを張る主辞
フレーム抽出過程と、 前記主辞フレームの内、どの主辞フレームの解析を以降
の処理で行うか決定する処理対象主辞フレーム決定過程
と、 前記主辞フレームを入力として、前記意味解析を再帰呼
出しする主辞フレーム解析過程と、 前記構文木上位置知識を参照して、該主辞ノードを修飾
する修飾句ノードを求め、該修飾句ノードに対応する修
飾句フレームを設定し、該主辞フレームから該修飾句フ
レームへ修飾関係のリンクを張る修飾句フレーム抽出過
程と、 前記修飾句フレーム抽出過程で設定された修飾句フレー
ムの内、どの修飾句フレームの解析を行うかを決定する
処理対象修飾句フレーム決定過程と、 前記処理対象修飾句フレーム決定過程において決定され
た該修飾句フレームを入力として前記意味解析を再帰呼
出しする修飾句フレーム解析過程とからなり、 前記修飾句フレーム解析過程が終了すれば、再び前記処
理対象修飾句フレーム決定過程の処理を行い、 前記処理対象修飾句フレーム決定過程の結果、処理対象
とする修飾句フレームがなければ、再び前記処理対象主
辞フレーム決定過程の処理を行い、前記処理対象主辞フ
レーム決定過程の処理の結果、処理対象とする主辞フレ
ームがなければ、前記非動詞句類解析過程を含む意味解
析を終了する請求項1に記載の意味解析方法。
8. The non-verb phrase class analysis step obtains a phrase or part-of-speech node serving as the subject to be analyzed with reference to the positional knowledge on the parse tree, sets a subject frame corresponding to the subject node, A subject frame extraction process of linking a subject relationship from the analysis subject frame corresponding to the analysis subject to the subject frame, and a subject subject frame for determining which subject frame of the subject frames is to be analyzed in the subsequent processing. A determining step; a head frame analyzing step of recursively calling the semantic analysis with the head frame as an input; and a modifier node for modifying the head node with reference to the position knowledge on the parse tree. Setting a modifier frame corresponding to the node and providing a modifier-related link from the subject frame to the modifier frame; A processing target modifier phrase frame determining step of determining which modifier phrase frame is to be analyzed among the modifier phrase frames set in the frame extraction process; and the modifying phrase determined in the processing target modifier phrase frame determining step. A modifier frame analysis step of recursively calling the semantic analysis with a frame as an input. When the modifier frame analysis step is completed, the processing of the processing target modifier frame determination step is performed again, and the processing target modifier phrase is obtained. As a result of the frame determination step, if there is no modifier frame to be processed, the processing of the processing target head frame determination step is performed again. As a result of the processing of the processing target head frame determination step, there is no head frame to be processed. 2. The semantic analysis method according to claim 1, wherein the semantic analysis including the non-verb phrase analysis step is terminated.
【請求項9】 請求項1に記載の意味解析方法を用いる
情報検索方法において、該情報検索方法は記憶装置及び
インタフェース部を有するコンピュータ上で実行され、 前記インタフェース部を介して自然言語文を入力する過
程と、 該自然言語文に対して形態素解析及び構文解析を行い、
該自然言語文の構文木を生成する過程と、 該構文木を入力として前記意味解析を行い、前記自然言
語文の意味構造を生成する過程と、 該意味構造からユーザの意図を表すキーワードを抽出す
る過程と、 該キーワードを用い、前記記憶装置に格納された少なく
とも1つの知識データベースを参照して、前記自然言語
文に対応するカテゴリー名と住所情報を取得する過程
と、 該カテゴリー名と該住所情報を用い、該カテゴリー名と
該住所情報により分類された検索対象情報を含む情報デ
ータベースを参照して検索対象情報を取得する過程と、 取得された情報を前記インタフェース部を介して他のコ
ンピュータに送信するか、又は、前記コンピュータに接
続可能なディスプレイに表示する過程とからなることを
特徴とする情報検索方法。
9. An information retrieval method using the semantic analysis method according to claim 1, wherein the information retrieval method is executed on a computer having a storage device and an interface unit, and inputs a natural language sentence via the interface unit. Performing a morphological analysis and a syntax analysis on the natural language sentence,
Generating the syntax tree of the natural language sentence; performing the semantic analysis using the syntax tree as an input to generate a semantic structure of the natural language sentence; extracting a keyword representing a user's intention from the semantic structure Acquiring the category name and the address information corresponding to the natural language sentence by using the keyword and referring to at least one knowledge database stored in the storage device; and Acquiring information to be searched by referring to an information database including information to be searched classified by the category name and the address information using the information; and transmitting the obtained information to another computer via the interface unit. Transmitting or displaying the information on a display connectable to the computer.
【請求項10】 自然言語文の意味構造を解析するため
の意味解析装置において、 自然言語文の構文木を入力する手段と、 動詞句類か非動詞句類かを判定するための解析対象区分
分類知識が格納されている解析対象区分分類知識記憶装
置と、 前記構文木の解析対象となるノードに付随する、句の細
分類である種別の情報から、解析対象区分分類知識を参
照して、該解析対象が、動詞を主辞とする動詞句類であ
るか、主に名詞を主辞とする非動詞句類であるかを判定
する解析対象区分判定手段と、 構文木のノードを求めるための構文木上位置知識が格納
されている構文木上位置知識記憶装置と、 前記解析対象が前記動詞句類であれば、動詞と、該動詞
の深層格との関係を解析する動詞句類解析手段と、 前記解析対象が前記非動詞句類であれば、名詞句と形容
詞句間を含む修飾関係を解析する非動詞句類解析手段
と、 前記構文木のあるノードに対応する意味フレームと、該
意味フレーム間を結合する主辞関係、深層格関係、修飾
関係のリンクの集合からなる、前記自然言語文の意味構
造を出力する手段とからなることを特徴とする意味解析
装置。
10. A semantic analysis device for analyzing a semantic structure of a natural language sentence, a means for inputting a parse tree of the natural language sentence, and an analysis target category for determining whether the verb phrase or the non-verb phrase. The analysis target classification classification knowledge storage device in which the classification knowledge is stored, and attached to the node to be analyzed in the syntax tree, from the information of the classification that is the sub-classification of the phrase, referring to the analysis target classification classification knowledge, Analysis target classification determining means for determining whether the analysis target is a verb phrase class having a verb as a head or a non-verb phrase mainly having a noun as a head, and a syntax for obtaining a node of a syntax tree A syntax tree position knowledge storage device in which tree position knowledge is stored, and if the analysis target is the verb phrase, a verb and a verb phrase class analyzing means for analyzing a relationship between the verb and the deep case of the verb. If the object of analysis is the non-verb phrases A non-verb phrase class analyzing means for analyzing a modification relation including a noun phrase and an adjective phrase; a semantic frame corresponding to a certain node of the syntax tree; a head relation, a deep case relation, and a modification connecting the semantic frames; Means for outputting a semantic structure of the natural language sentence, comprising a set of relational links.
【請求項11】 前記解析対象区分判定手段は、 解析対象が品詞であるかどうかを更に判定する手段から
なり、該解析対象が品詞であれば、前記意味解析を終了
する請求項10に記載の意味解析装置。
11. The semantic analysis according to claim 10, wherein said analysis target classification determining means further comprises means for determining whether or not the analysis target is a part of speech, and if the analysis target is a part of speech, terminates the semantic analysis. Semantic analyzer.
【請求項12】 前記動詞句類解析手段は、 前記構文木上位置知識を参照して、前記解析対象の主辞
となる動詞ノードを求め、該主辞動詞ノードに対応する
主辞動詞フレームを設定し、該解析対象に対応する解析
対象フレームから該主辞動詞フレームへ主辞関係のリン
クを張る主辞動詞フレーム抽出手段と、 前記解析対象を含むノードに付随する態の情報を参照す
ることにより、該解析対象の態を決定する態決定手段
と、 前記主辞動詞ノードに付随する動詞意味情報に記載され
ている深層格から、抽出対象とする深層格を決定する抽
出対象深層格決定手段と、 前記抽出対象深層格決定手段において決定された深層格
に該当する構文木ノードを求め、該構文木ノードに対応
する深層格フレームを設定し、該主辞動詞フレームから
該深層格フレームへ深層格関係のリンクを張る深層格フ
レーム抽出手段と、 前記深層格フレーム抽出手段の処理の結果、前記深層格
フレームが設定されていれば、該深層格フレームを入力
として前記意味解析を再帰呼出しする深層格フレーム解
析手段とを有し、 前記深層格フレーム解析手段の処理が終了すれば、再び
前記抽出対象深層格決定手段の処理を行い、該抽出対象
深層格決定手段における処理の結果、抽出対象とする深
層格がなければ、前記動詞句類解析手段の処理を含む意
味解析を終了する請求項10に記載の意味解析装置。
12. The verb phrase analysis means obtains a verb node to be the subject to be analyzed with reference to the position knowledge on the parse tree, and sets a head verb frame corresponding to the head verb node, A subject verb frame extracting means for linking a subject relation from the analysis target frame corresponding to the analysis target to the head verb frame; and by referring to information on a state attached to a node including the analysis target, the analysis target State determination means for determining a state; extraction target deep case determination means for determining a deep case to be extracted from the deep case described in the verb meaning information attached to the head verb node; and the extraction target deep case A parse tree node corresponding to the deep case determined by the determining means is obtained, a deep case frame corresponding to the parse tree node is set, and the deep case frame is determined from the head verb frame. A deep case frame extracting means for linking a deep case relationship to a system, and if the deep case frame is set as a result of the processing of the deep case frame extracting means, the semantic analysis is recursively performed using the deep case frame as an input. When the processing of the deep case frame analyzing means is finished, the processing of the extraction target deep case determining means is performed again, and as a result of the processing in the extraction target deep case determining means, The semantic analysis device according to claim 10, wherein if there is no deep case to be extracted, the semantic analysis including the processing of the verb phrase class analyzing means is ended.
【請求項13】 前記動詞句類解析手段は、 前記構文木上位置知識を参照して、前記解析対象の主辞
となる動詞ノードを求め、該主辞動詞ノードに対応する
主辞動詞フレームを設定し、該解析対象に対応する解析
対象フレームから該主辞動詞フレームへ主辞関係のリン
クを張る主辞動詞フレーム抽出手段と、 前記主辞動詞フレームの内、どの主辞動詞フレームの深
層格の解析を以降の処理で行うか決定する処理対象主辞
動詞フレーム決定手段と、 前記解析対象を含むノードに付随する態の情報を参照す
ることにより、該解析対象の態を決定する態決定手段
と、 前記主辞動詞ノードに付随する動詞意味情報に記載され
ている深層格から、抽出対象とする深層格を決定する抽
出対象深層格決定手段と、 前記抽出対象深層格決定手段の処理において決定された
深層格に該当する構文木ノードを求め、該構文木ノード
に対応する深層格フレームを設定し、該主辞動詞フレー
ムから該深層格フレームへ深層格関係のリンクを張る深
層格フレーム抽出手段と、 前記深層格フレーム抽出手段の処理で設定された前記深
層格フレームの内、どの深層格フレームの解析を行うか
決定する処理対象深層格フレーム決定手段と、 前記処理対象深層格フレーム決定手段の処理において決
定された該深層格フレームを入力として前記意味解析を
再帰呼出しする深層格フレーム解析手段とを有し、 前記深層格フレーム解析手段の処理が終了すれば、再び
前記処理対象深層格フレーム決定手段の処理を行い、前
記処理対象深層格フレーム決定手段の処理の結果、処理
対象とする深層格フレームがなければ、再び前記抽出対
象深層格決定手段の処理を行い、前記抽出対象深層格決
定手段の処理の結果、抽出対象とする深層格がなけれ
ば、再び前記処理対象主辞動詞フレーム決定手段の処理
を行い、前記処理対象主辞動詞フレーム決定手段の処理
の結果、処理対象とする主辞動詞フレームがなければ、
前記動詞句類解析手段の処理を含む意味解析を終了する
請求項10に記載の意味解析装置。
13. The verb phrase class analyzing means obtains a verb node to be the subject of the analysis with reference to the position knowledge on the parse tree, sets a main verb frame corresponding to the main verb node, A head verb frame extracting means for linking a head relation from the analysis target frame corresponding to the analysis target to the head verb frame; and analyzing the deep case of any head verb frame among the head verb frames in the subsequent processing. A processing target main verb frame determining means for determining whether the state is to be analyzed by referring to information of a state associated with the node including the analysis target; and a state determination means for determining the state of the analysis target, An extraction target deep case determining means for determining a deep case to be extracted from the deep case described in the verb semantic information; and A deep case frame extracting means for obtaining a parse tree node corresponding to the determined deep case, setting a deep case frame corresponding to the parse tree node, and linking a deep case relationship from the head verb frame to the deep case frame Processing target deep case frame determining means for determining which deep case frame to analyze among the deep case frames set in the processing of the deep case frame extracting means; and Deep case frame analysis means for recursively calling the semantic analysis with the deep case frame determined in the processing as input, and when the processing of the deep case frame analysis means ends, the processing target deep case frame determination is performed again. Means, and as a result of the processing of the deep case frame determining means for processing, if there is no deep case frame to be processed, The processing of the extraction target deep case determination means is performed, and as a result of the processing of the extraction target deep case determination means, if there is no deep case to be extracted, the processing of the processing target main verb frame determination means is performed again. As a result of the processing of the target head verb frame determining means, if there is no head verb frame to be processed,
The semantic analysis device according to claim 10, wherein the semantic analysis including the processing of the verb phrase class analyzing means is ended.
【請求項14】 前記深層格フレーム抽出手段は、 前記態決定手段の処理において決定された態と、前記主
辞動詞ノードに付随する動詞意味情報とを参照すること
により、前記抽出対象深層格決定手段の処理において決
定された深層格に対応する表層格を取得する表層格情報
取得手段と、 前記表層格と前記構文木上位置知識により該表層格に該
当する構文木ノードを求める構文木ノード取得手段と、 前記構文木ノードに付随する句、種別、意味情報を含む
情報と、前記動詞意味情報に記載されている前記深層格
の制約条件知識とを照合する制約条件照合手段と、 前記制約条件照合手段の処理の結果が真であれば、前記
構文木ノードに対応する深層格フレームを設定し、前記
主辞動詞フレームから該深層格フレームへ深層格関係の
リンクを張る深層格フレーム生成手段とからなる請求項
12に記載の意味解析装置。
14. The deep case determining unit according to claim 1, wherein the deep case frame extracting unit refers to the state determined in the processing of the state determining unit and verb meaning information attached to the head verb node. Surface case information obtaining means for obtaining a surface case corresponding to the deep case determined in the processing of the above, and a syntax tree node obtaining means for obtaining a syntax tree node corresponding to the surface case based on the surface case and the position knowledge on the syntax tree Constraint information matching means for matching information including a phrase, a type, and semantic information associated with the syntax tree node with constraint information of the deep case described in the verb semantic information; and If the result of the processing by the means is true, a deep case frame corresponding to the parse tree node is set, and a deep case relation link is established from the head verb frame to the deep case frame. Semantic analysis apparatus according to claim 12 consisting of a deep case frame generating means.
【請求項15】 前記表層格情報取得手段の処理の結
果、前記表層格が取得できなかった場合、又は、前記構
文木ノードが取得できなかった場合、又は、前記制約条
件照合手段の処理の結果が真である構文木ノードが得ら
れなかった場合に、表層格移動先情報を取得して、深層
格フレーム生成を行う手段を更に有する請求項14に記
載の意味解析装置。
15. As a result of the processing of the surface case information obtaining means, if the surface case cannot be obtained, or if the parse tree node cannot be obtained, or the result of the processing of the constraint condition matching means. The semantic analysis device according to claim 14, further comprising: means for acquiring surface case destination information and generating a deep case frame when a syntax tree node for which is true is not obtained.
【請求項16】 前記非動詞句類解析手段は、 前記構文木上位置知識を参照して、前記解析対象の主辞
となる句や品詞ノードを求め、該主辞ノードに対応する
主辞フレームを設定し、該解析対象に対応する解析対象
フレームから該主辞フレームへ主辞関係のリンクを張る
主辞フレーム抽出手段と、 前記主辞フレームを入力として、前記意味解析を再帰呼
出しする主辞フレーム解析手段と、 前記構文木上位置知識を参照して、該主辞ノードを修飾
する修飾句ノードを求め、該修飾句ノードに対応する修
飾句フレームを設定し、該主辞フレームから該修飾句フ
レームへ修飾関係のリンクを張る修飾句フレーム抽出手
段と、 前記修飾句フレーム抽出手段の処理の結果、修飾句フレ
ームが設定されているか判定する修飾句フレーム抽出判
定手段と、 前記修飾句フレーム抽出判定手段の処理の結果、前記修
飾句フレームが設定されていれば、該修飾句フレームを
入力として前記意味解析を再帰呼出しする修飾句フレー
ム解析手段とを有し、 前記修飾句フレーム解析手段の処理が終了すれば、再び
前記修飾句フレーム抽出手段の処理を行い、前記修飾句
フレーム抽出判定手段の処理の結果、修飾句フレームが
設定されていなければ、前記非動詞句類解析手段の処理
を含む意味解析を終了する請求項10記載の意味解析装
置。
16. The non-verb phrase class analyzing means obtains a phrase or a part of speech node to be the subject to be analyzed with reference to the position knowledge on the parse tree, and sets a subject frame corresponding to the subject node. A subject frame extracting means for linking a subject relationship from the analysis target frame corresponding to the analysis subject to the subject frame, a subject frame analyzing means for recursively calling the semantic analysis by using the subject frame as an input, and the syntax tree With reference to the upper position knowledge, a modifier node that modifies the head node is obtained, a modifier frame corresponding to the modifier node is set, and a modification relation link is provided from the head frame to the modifier frame. Phrase frame extraction means, as a result of the processing of the decoration phrase frame extraction means, decoration phrase frame extraction determination means for determining whether a decoration phrase frame is set, And a modifier frame analyzing means for recursively calling the semantic analysis by using the modifier frame as an input if the modifier frame is set as a result of the processing of the modifier frame extraction determining means. When the processing of the frame analyzing means is completed, the processing of the modifier phrase frame extracting means is performed again. As a result of the processing of the modifier frame extraction determining means, if the modifying phrase frame is not set, the non-verb phrase analysis is performed. The semantic analysis device according to claim 10, wherein the semantic analysis including the processing of the means is terminated.
【請求項17】 前記非動詞句類解析手段は、 前記構文木上位置知識を参照して、前記解析対象の主辞
となる句や品詞ノードを求め、該主辞ノードに対応する
主辞フレームを設定し、該解析対象に対応する解析対象
フレームから該主辞フレームへ主辞関係のリンクを張る
主辞フレーム抽出手段と、 前記主辞フレームの内、どの主辞フレームの解析を以降
の処理で行うか決定する処理対象主辞フレーム決定手段
と、 前記主辞フレームを入力として、前記意味解析を再帰呼
出しする主辞フレーム解析手段と、 前記構文木上位置知識を参照して、該主辞ノードを修飾
する修飾句ノードを求め、該修飾句ノードに対応する修
飾句フレームを設定し、該主辞フレームから該修飾句フ
レームへ修飾関係のリンクを張る修飾句フレーム抽出手
段と、 前記修飾句フレーム抽出手段の処理で設定された修飾句
フレームの内、どの修飾句フレームの解析を行うかを決
定する処理対象修飾句フレーム決定手段と、 前記処理対象修飾句フレーム決定手段の処理において決
定された該修飾句フレームを入力として前記意味解析を
再帰呼出しする修飾句フレーム解析手段とを有し、 前記修飾句フレーム解析手段の処理が終了すれば、再び
前記処理対象修飾句フレーム決定手段の処理を行い、前
記処理対象修飾句フレーム決定手段の処理の結果、処理
対象とする修飾句フレームがなければ、再び前記処理対
象主辞フレーム決定手段の処理を行い、前記処理対象主
辞フレーム決定手段の処理の結果、処理対象とする主辞
フレームがなければ、前記非動詞句類解析手段の処理を
含む意味解析を終了する請求項10に記載の意味解析装
置。
17. The non-verb phrase class analyzing means refers to the positional knowledge on the parse tree to find a phrase or a part of speech node to be the subject of the analysis, and sets a subject frame corresponding to the subject node. A subject frame extracting means for linking a subject relationship from the analysis target frame corresponding to the analysis subject to the subject frame, and a processing subject subject which determines which subject frame of the subject frames is to be analyzed in the subsequent processing. Frame determining means; head frame analyzing means for recursively calling the semantic analysis with the head frame as an input; referring to the parse tree position knowledge to obtain a modifier node for modifying the head node; A modifier frame extracting means for setting a modifier frame corresponding to the phrase node and linking a modifier relation link from the subject frame to the modifier frame; Processing target modifier phrase frame determining means for determining which modifier phrase frame is to be analyzed among the modifier phrase frames set in the processing of the phrase frame extracting means, and the processing is performed by the processing target modifier phrase frame determining means. Modifier frame analysis means for recursively calling the semantic analysis with the modifier frame input as input, and when the processing of the modifier frame analysis means ends, the processing of the processing target modifier phrase frame determining means is performed again. If there is no modifier frame to be processed as a result of the processing of the processing target modifier frame determining means, the processing of the processing target head frame determining means is performed again, and the result of the processing of the processing target head frame determining means is performed. 11. The method according to claim 10, wherein if there is no subject frame to be processed, the semantic analysis including the processing of the non-verb phrase class analyzing means is ended. Semantic analysis device.
【請求項18】 請求項10に記載の意味解析装置を用
いる情報検索装置において、 記憶装置及びインタフェース部と、 前記インタフェース部を介して自然言語文を入力する手
段と、 該自然言語文に対して形態素解析及び構文解析を行い、
該自然言語文の構文木を生成する手段と、 該構文木を入力として前記意味解析を行い、前記自然言
語文の意味構造を生成する手段と、 該意味構造からユーザの意図を表すキーワードを抽出す
る手段と、 該キーワードを用い、前記記憶装置に格納された少なく
とも1つの知識データベースを参照して、前記自然言語
文に対応するカテゴリー名と住所情報を取得する手段
と、 該カテゴリー名と該住所情報を用い、該カテゴリー名と
該住所情報により分類された検索対象情報を含む情報デ
ータベースを参照して検索対象情報を取得する手段と、 取得された情報を前記インタフェース部を介して他のコ
ンピュータに送信するか、又は、前記コンピュータに接
続可能なディスプレイに表示する手段とからなることを
特徴とする情報検索装置。
18. An information retrieval apparatus using the semantic analysis device according to claim 10, wherein: a storage device and an interface unit; means for inputting a natural language sentence via the interface unit; Perform morphological analysis and parsing,
Means for generating a syntax tree of the natural language sentence; means for performing the semantic analysis by using the syntax tree as an input to generate a semantic structure of the natural language sentence; extracting a keyword representing a user's intention from the semantic structure Means for referring to at least one knowledge database stored in the storage device using the keyword, and acquiring category name and address information corresponding to the natural language sentence; and Means for obtaining search target information by referring to an information database including search target information classified by the category name and the address information using information, and obtaining the obtained information to another computer via the interface unit. Means for transmitting or displaying on a display connectable to the computer.
【請求項19】 自然言語文の意味構造を解析するため
の意味解析プログラムを記録した記録媒体において、 自然言語文の構文木を入力する手順と、 該構文木の解析対象となるノードに付随する、句の細分
類である種別の情報から、解析対象区分分類知識を参照
して、該解析対象が、動詞を主辞とする動詞句類である
か、主に名詞を主辞とする非動詞句類であるかを判定す
る解析対象区分判定手順と、 前記解析対象が前記動詞句類であれば、動詞と、該動詞
の深層格との関係を解析する動詞句類解析手順と、 前記解析対象が前記非動詞句類であれば、名詞句と形容
詞句間を含む修飾関係を解析する非動詞句類解析手順
と、 前記構文木のあるノードに対応する意味フレームと、該
意味フレーム間を結合する主辞関係、深層格関係、修飾
関係のリンクの集合からなる、前記自然言語文の意味構
造を出力する手順とからなることを特徴とする意味解析
プログラムを記録した記録媒体。
19. A recording medium on which a semantic analysis program for analyzing a semantic structure of a natural language sentence is recorded, wherein a procedure for inputting a syntax tree of the natural language sentence is provided, and , From the information of the type that is the sub-classification of the phrase, referring to the analysis target classification classification knowledge, the analysis target is a verb phrase having a verb as a head, or a non-verb phrase having a noun as a head. An analysis target category determination procedure for determining whether or not the verb phrase is the verb phrase, a verb and a verb phrase analysis procedure for analyzing a relationship between the verb and the deep case of the verb; For the non-verb phrases, a non-verb phrase analysis procedure for analyzing a modification relation including a noun phrase and an adjective phrase; a semantic frame corresponding to a certain node of the syntax tree; and connecting the semantic frames. Head relations, deep case relations, and qualification relations Consisting of a set of links, a recording medium recording the semantic analysis program characterized by comprising the steps of outputting the semantic structure of the natural language text.
【請求項20】 前記解析対象区分判定手順は、 解析対象が品詞であるかどうかを更に判定する手順から
なり、該解析対象が品詞であれば、前記意味解析を終了
する請求項19に記載の意味解析プログラムを記録した
記録媒体。
20. The analysis method according to claim 19, wherein the analysis target category determination step further includes a step of determining whether or not the analysis target is a part of speech. If the analysis target is a part of speech, the semantic analysis is terminated. A recording medium on which a semantic analysis program is recorded.
【請求項21】 前記動詞句類解析手順は、 構文木上位置知識を参照して、前記解析対象の主辞とな
る動詞ノードを求め、該主辞動詞ノードに対応する主辞
動詞フレームを設定し、該解析対象に対応する解析対象
フレームから該主辞動詞フレームへ主辞関係のリンクを
張る主辞動詞フレーム抽出手順と、 前記解析対象を含むノードに付随する態の情報を参照す
ることにより、該解析対象の態を決定する態決定手順
と、 前記主辞動詞ノードに付随する動詞意味情報に記載され
ている深層格から、抽出対象とする深層格を決定する抽
出対象深層格決定手順と、 前記抽出対象深層格決定手順において決定された深層格
に該当する構文木ノードを求め、該構文木ノードに対応
する深層格フレームを設定し、該主辞動詞フレームから
該深層格フレームへ深層格関係のリンクを張る深層格フ
レーム抽出手順と、 前記深層格フレーム抽出手順の結果、前記深層格フレー
ムが設定されていれば、該深層格フレームを入力として
前記意味解析を再帰呼出しする深層格フレーム解析手順
とを有し、 前記深層格フレーム解析手順が終了すれば、再び前記抽
出対象深層格決定手順の処理を行い、該抽出対象深層格
決定手順における処理の結果、抽出対象とする深層格が
なければ、前記動詞句類解析手順を含む意味解析を終了
する請求項19に記載の意味解析プログラムを記録した
記録媒体。
21. The verb / phrase analysis procedure includes: obtaining a verb node to be the subject of the analysis with reference to the position knowledge on the parse tree; setting a head / verb frame corresponding to the head / verb node; A subject verb frame extraction procedure for linking a subject relation verb from the analysis target frame corresponding to the analysis target to the head verb frame; and An extraction target deep case determining step of determining a deep case to be extracted from the deep case described in the verb semantic information associated with the head verb node; and the extraction target deep case determination A syntax tree node corresponding to the deep case determined in the procedure is obtained, a deep case frame corresponding to the syntax tree node is set, and the deep case frame is determined from the head verb frame. A deep case frame extracting procedure for establishing a link of a deep case relationship; and, as a result of the deep case frame extracting procedure, if the deep case frame is set, a deep case for recursively calling the semantic analysis using the deep case frame as an input. When the deep case frame analysis procedure is completed, the processing of the extraction target deep case determination procedure is performed again. As a result of the processing in the extraction target deep case determination procedure, the deep case to be extracted is obtained. 20. A recording medium recording the semantic analysis program according to claim 19, wherein if there is no, the semantic analysis including the verb phrase analysis procedure is terminated.
【請求項22】 前記動詞句類解析手順は、 構文木上位置知識を参照して、前記解析対象の主辞とな
る動詞ノードを求め、該主辞動詞ノードに対応する主辞
動詞フレームを設定し、該解析対象に対応する解析対象
フレームから該主辞動詞フレームへ主辞関係のリンクを
張る主辞動詞フレーム抽出手順と、 前記主辞動詞フレームの内、どの主辞動詞フレームの深
層格の解析を以降の処理で行うか決定する処理対象主辞
動詞フレーム決定手順と、 前記解析対象を含むノードに付随する態の情報を参照す
ることにより、該解析対象の態を決定する態決定手順
と、 前記主辞動詞ノードに付随する動詞意味情報に記載され
ている深層格から、抽出対象とする深層格を決定する抽
出対象深層格決定手順と、 前記抽出対象深層格決定手順の処理において決定された
深層格に該当する構文木ノードを求め、該構文木ノード
に対応する深層格フレームを設定し、該主辞動詞フレー
ムから該深層格フレームへ深層格関係のリンクを張る深
層格フレーム抽出手順と、 前記深層格フレーム抽出手順で設定された前記深層格フ
レームの内、どの深層格フレームの解析を行うか決定す
る処理対象深層格フレーム決定手順と、 前記処理対象深層格フレーム決定手順において決定され
た該深層格フレームを入力として前記意味解析を再帰呼
出しする深層格フレーム解析手順とを有し、 前記深層格フレーム解析手順が終了すれば、再び前記処
理対象深層格フレーム決定手順の処理を行い、前記処理
対象深層格フレーム決定手順の処理の結果、処理対象と
する深層格フレームがなければ、再び前記抽出対象深層
格決定手順の処理を行い、前記抽出対象深層格決定手順
の処理の結果、抽出対象とする深層格がなければ、再び
前記処理対象主辞動詞フレーム決定手順の処理を行い、
前記処理対象主辞動詞フレーム決定手順の処理の結果、
処理対象とする主辞動詞フレームがなければ、前記動詞
句類解析手順を含む意味解析を終了する請求項19に記
載の意味解析プログラムを記録した記録媒体。
22. The verb-phrase analysis procedure includes: obtaining a verb node to be the subject to be analyzed with reference to the position knowledge on the parse tree; setting a head-verb frame corresponding to the head-verb node; A subject verb frame extraction procedure for linking a subject relation from the analysis target frame corresponding to the analysis subject to the subject verb frame, and which of the subject verb frames in the subject verb frame is to be analyzed in the subsequent processing. A processing subject main verb frame determining procedure to be determined; a state determining procedure for determining a state of the analysis target by referring to information of a state accompanying the node including the analysis target; and a verb accompanying the head verb node. An extraction target deep case determination procedure for determining a deep case to be extracted from the deep case described in the semantic information, and a determination in the extraction target deep case determination procedure. A deep case frame extracting step of finding a parse tree node corresponding to the obtained deep case, setting a deep case frame corresponding to the parse tree node, and linking a deep case relationship from the head verb frame to the deep case frame. A processing target deep case frame determining step of determining which deep case frame to analyze among the deep case frames set in the deep case frame extracting step; and a processing target deep case frame determining step. A deep case frame analysis procedure for recursively calling the semantic analysis with the deep case frame as an input.When the deep case frame analysis procedure is completed, the processing of the target deep case frame determination procedure is performed again. If there is no deep case frame to be processed as a result of the processing of the deep case frame to be processed determination procedure, Performs the processing order, the extraction target deep case determination procedure of processing results, if there is no deep cases to be extracted, again performs processing of the processing target head-verb frame determination procedure,
As a result of the processing of the processing subject head verb frame determination procedure,
20. A recording medium storing the semantic analysis program according to claim 19, wherein if there is no subject verb frame to be processed, the semantic analysis including the verb phrase analysis procedure is terminated.
【請求項23】 前記深層格フレーム抽出手順は、 前記態決定手順において決定された態と、前記主辞動詞
ノードに付随する動詞意味情報とを参照することによ
り、前記抽出対象深層格決定手順において決定された深
層格に対応する表層格を取得する表層格情報取得手順
と、 前記表層格と前記構文木上位置知識により該表層格に該
当する構文木ノードを求める構文木ノード取得手順と、 前記構文木ノードに付随する句、種別、意味情報を含む
情報と、前記動詞意味情報に記載されている前記深層格
の制約条件知識とを照合する制約条件照合手順と、 前記制約条件照合手順の結果が真であれば、前記構文木
ノードに対応する深層格フレームを設定し、前記主辞動
詞フレームから該深層格フレームへ深層格関係のリンク
を張る深層格フレーム生成手順とからなる請求項21に
記載の意味解析プログラムを記録した記録媒体。
23. The deep case frame extraction procedure, wherein the state determined in the state determination step and the verb meaning information attached to the head verb node are referred to to determine in the extraction target deep case determination procedure. A surface case information obtaining step of obtaining a surface case corresponding to the obtained deep case; a syntax tree node obtaining step of obtaining a syntax tree node corresponding to the surface case based on the surface case and the syntactic tree position knowledge; A constraint condition matching procedure for matching information including a phrase, a type, and semantic information associated with a tree node, and the constraint condition knowledge of the deep case described in the verb semantic information; and a result of the constraint condition matching procedure. If true, a deep case frame corresponding to the parse tree node is set, and a deep case frame linking a deep case relationship from the head verb frame to the deep case frame. Recording medium recording the semantic analysis program according to claim 21 comprising the steps.
【請求項24】 前記表層格情報取得手順の処理の結
果、前記表層格が取得できなかった場合、又は、前記構
文木ノードが取得できなかった場合、又は、前記制約条
件照合手順の結果が真である構文木ノードが得られなか
った場合に、表層格移動先情報を取得して、深層格フレ
ーム生成を行う手順を有する請求項23に記載の意味解
析プログラムを記録した記録媒体。
24. As a result of the processing of the surface case information obtaining procedure, if the surface case cannot be obtained, or if the parse tree node cannot be obtained, or if the result of the constraint matching procedure is true. 24. The recording medium storing the semantic analysis program according to claim 23, further comprising a step of acquiring surface case movement destination information and generating a deep case frame when a parse tree node is not obtained.
【請求項25】 前記非動詞句類解析手順は、 構文木上位置知識を参照して、前記解析対象の主辞とな
る句や品詞ノードを求め、該主辞ノードに対応する主辞
フレームを設定し、該解析対象に対応する解析対象フレ
ームから該主辞フレームへ主辞関係のリンクを張る主辞
フレーム抽出手順と、 前記主辞フレームを入力として、前記意味解析を再帰呼
出しする主辞フレーム解析手順と、 前記構文木上位置知識を参照して、該主辞ノードを修飾
する修飾句ノードを求め、該修飾句ノードに対応する修
飾句フレームを設定し、該主辞フレームから該修飾句フ
レームへ修飾関係のリンクを張る修飾句フレーム抽出手
順と、 前記修飾句フレーム抽出手順の処理の結果、修飾句フレ
ームが設定されているか判定する修飾句フレーム抽出判
定手順と、 前記修飾句フレーム抽出判定手順の処理の結果、前記修
飾句フレームが設定されていれば、該修飾句フレームを
入力として前記意味解析を再帰呼出しする修飾句フレー
ム解析手順とからなり、 前記修飾句フレーム解析手順の処理が終了すれば、再び
前記修飾句フレーム抽出手順の処理を行い、前記修飾句
フレーム抽出判定手順の処理の結果、修飾句フレームが
設定されていなければ、前記非動詞句類解析手順を含む
意味解析を終了する請求項19記載の意味解析プログラ
ムを記録した記録媒体。
25. The non-verb phrase class analysis procedure obtains a phrase or part-of-speech node serving as the subject to be analyzed with reference to the position knowledge on the parse tree, sets a subject frame corresponding to the subject node, A subject frame extraction procedure for linking a subject relationship from the analysis target frame corresponding to the analysis subject to the subject frame; a subject frame analysis procedure for recursively calling the semantic analysis with the subject frame as an input; With reference to the position knowledge, a modifier node for modifying the head node is obtained, a modifier frame corresponding to the modifier node is set, and a modifier link that links a modifier relationship from the head frame to the modifier frame is provided. A frame extraction procedure; a modifier frame extraction determination procedure for determining whether a modifier frame is set as a result of the processing of the modifier frame extraction procedure; As a result of the processing of the decoration phrase frame extraction determination procedure, if the decoration phrase frame is set, the decoration phrase frame analysis step of recursively calling the semantic analysis with the decoration phrase frame as an input, When the processing of the procedure is completed, the processing of the qualifying phrase frame extraction procedure is performed again. As a result of the processing of the qualifying phrase frame extraction determining procedure, if the qualifying phrase frame is not set, the non-verb phrase class analysis procedure is performed. 20. A recording medium on which the semantic analysis program according to claim 19 is terminated.
【請求項26】 前記非動詞句類解析手順は、 構文木上位置知識を参照して、前記解析対象の主辞とな
る句や品詞ノードを求め、該主辞ノードに対応する主辞
フレームを設定し、該解析対象に対応する解析対象フレ
ームから該主辞フレームへ主辞関係のリンクを張る主辞
フレーム抽出手順と、 前記主辞フレームの内、どの主辞フレームの解析を以降
の処理で行うか決定する処理対象主辞フレーム決定手順
と、 前記主辞フレームを入力として、前記意味解析を再帰呼
出しする主辞フレーム解析手順と、 前記構文木上位置知識を参照して、該主辞ノードを修飾
する修飾句ノードを求め、該修飾句ノードに対応する修
飾句フレームを設定し、該主辞フレームから該修飾句フ
レームへ修飾関係のリンクを張る修飾句フレーム抽出手
順と、 前記修飾句フレーム抽出手順の処理で設定された修飾句
フレームの内、どの修飾句フレームの解析を行うかを決
定する処理対象修飾句フレーム決定手順と、 前記処理対象修飾句フレーム決定手順の処理において決
定された該修飾句フレームを入力として前記意味解析を
再帰呼出しする修飾句フレーム解析手順とからなり、 前記修飾句フレーム解析手順の処理が終了すれば、再び
前記処理対象修飾句フレーム決定手順の処理を行い、前
記処理対象修飾句フレーム決定手順の結果、処理対象と
する修飾句フレームがなければ、再び前記処理対象主辞
フレーム決定手順の処理を行い、前記処理対象主辞フレ
ーム決定手順の処理の結果、処理対象とする主辞フレー
ムがなければ、前記非動詞句類解析手順を含む意味解析
を終了する請求項19に記載の意味解析プログラムを記
録した記録媒体。
26. The non-verb phrase class analysis procedure obtains a phrase or part-of-speech node serving as the subject to be analyzed with reference to the positional knowledge on the parse tree, sets a subject frame corresponding to the subject node, A subject frame extraction procedure for linking a subject relationship from the analysis subject frame corresponding to the analysis subject to the subject frame, and a subject subject frame for determining which subject frame of the subject frames is to be analyzed in the subsequent processing. A determination procedure; a head frame analysis procedure for recursively calling the semantic analysis using the head frame as an input; and a modifier node for modifying the head node with reference to the positional knowledge on the parse tree. A modifier frame extraction procedure for setting a modifier frame corresponding to a node and linking a modifier-related link from the head frame to the modifier frame; Among the modifier frames set in the processing of the frame extraction procedure, a processing target modifier frame determination procedure for determining which modifier frame is to be analyzed, and the processing is performed in the processing target modifier frame determination procedure. A modifier frame analysis procedure for recursively calling the semantic analysis with the modifier frame as an input.If the processing of the modifier frame analysis procedure is completed, the processing of the processing target modifier frame determination procedure is performed again. As a result of the processing target modifier frame determination procedure, if there is no modifier phrase frame to be processed, the processing of the processing target head frame determination procedure is performed again, and as a result of the processing of the processing target head frame determination procedure, 20. The semantic analysis program according to claim 19, wherein the semantic analysis including the non-verb phrase class analysis procedure is terminated if there is no subject frame to be executed. A recording medium on which a program is recorded.
【請求項27】 請求項19に記載の意味解析プログラ
ムを有する情報検索プログラムを記録した記録媒体にお
いて、該情報検索プログラムは記憶装置及びインタフェ
ース部を有するコンピュータ上で実行され、 前記インタフェース部を介して自然言語文を入力する手
順と、 該自然言語文に対して形態素解析及び構文解析を行い、
該自然言語文の構文木を生成する手順と、 該構文木を入力として前記意味解析を行い、前記自然言
語文の意味構造を生成する手順と、 該意味構造からユーザの意図を表すキーワードを抽出す
る手順と、 該キーワードを用い、前記記憶装置に格納された少なく
とも1つの知識データベースを参照して、前記自然言語
文に対応するカテゴリー名と住所情報を取得する手順
と、 該カテゴリー名と該住所情報を用い、該カテゴリー名と
該住所情報により分類された検索対象情報を含む情報デ
ータベースを参照して検索対象情報を取得する手順と、 取得された情報を前記インタフェース部を介して他のコ
ンピュータに送信するか、又は、前記コンピュータに接
続可能なディスプレイに表示する手順とからなることを
特徴とする情報検索プログラムを記録した記録媒体。
27. A recording medium storing an information search program having the semantic analysis program according to claim 19, wherein the information search program is executed on a computer having a storage device and an interface unit, and Inputting a natural language sentence, performing morphological analysis and syntax analysis on the natural language sentence,
A step of generating a syntax tree of the natural language sentence; a step of performing the semantic analysis using the syntax tree as an input to generate a semantic structure of the natural language sentence; extracting a keyword representing a user's intention from the semantic structure Using the keyword, referring to at least one knowledge database stored in the storage device, and acquiring the category name and address information corresponding to the natural language sentence; and A procedure for obtaining search target information by referring to an information database including search target information classified by the category name and the address information using the information; and transmitting the obtained information to another computer via the interface unit. Transmitting or displaying the information on a display connectable to the computer. Recording the recording medium.
JP23889399A 1998-09-02 1999-08-25 Semantic analysis method and apparatus, and recording medium storing semantic analysis program Expired - Fee Related JP3506058B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23889399A JP3506058B2 (en) 1998-09-02 1999-08-25 Semantic analysis method and apparatus, and recording medium storing semantic analysis program

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP24881498 1998-09-02
JP10-248814 1998-09-02
JP23889399A JP3506058B2 (en) 1998-09-02 1999-08-25 Semantic analysis method and apparatus, and recording medium storing semantic analysis program

Publications (2)

Publication Number Publication Date
JP2000148755A true JP2000148755A (en) 2000-05-30
JP3506058B2 JP3506058B2 (en) 2004-03-15

Family

ID=26533967

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23889399A Expired - Fee Related JP3506058B2 (en) 1998-09-02 1999-08-25 Semantic analysis method and apparatus, and recording medium storing semantic analysis program

Country Status (1)

Country Link
JP (1) JP3506058B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014110026A (en) * 2012-12-04 2014-06-12 Fujitsu Ltd Language processing device, language processing method and program
JP2019200488A (en) * 2018-05-14 2019-11-21 三菱重工業株式会社 Natural language processing apparatus, search device, natural language processing method, search method and program
CN115017913A (en) * 2022-04-21 2022-09-06 广州世纪华轲科技有限公司 Semantic component analysis method based on master-slave framework mode

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08249334A (en) * 1995-03-10 1996-09-27 Csk Corp Semantic analytic processor for natural language

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08249334A (en) * 1995-03-10 1996-09-27 Csk Corp Semantic analytic processor for natural language

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014110026A (en) * 2012-12-04 2014-06-12 Fujitsu Ltd Language processing device, language processing method and program
JP2019200488A (en) * 2018-05-14 2019-11-21 三菱重工業株式会社 Natural language processing apparatus, search device, natural language processing method, search method and program
JP7227705B2 (en) 2018-05-14 2023-02-22 三菱重工業株式会社 Natural language processing device, search device, natural language processing method, search method and program
CN115017913A (en) * 2022-04-21 2022-09-06 广州世纪华轲科技有限公司 Semantic component analysis method based on master-slave framework mode

Also Published As

Publication number Publication date
JP3506058B2 (en) 2004-03-15

Similar Documents

Publication Publication Date Title
US6243670B1 (en) Method, apparatus, and computer readable medium for performing semantic analysis and generating a semantic structure having linked frames
US6023697A (en) Systems and methods for providing user assistance in retrieving data from a relational database
US6785651B1 (en) Method and apparatus for performing plan-based dialog
US7302383B2 (en) Apparatus and methods for developing conversational applications
US7822699B2 (en) Adaptive semantic reasoning engine
US5630121A (en) Archiving and retrieving multimedia objects using structured indexes
EP2085963A1 (en) System and method for bilateral communication between a user and a system
US20050043940A1 (en) Preparing a data source for a natural language query
JP2001507482A (en) Vocabulary and / or language model training
JP3266586B2 (en) Data analysis system
US20040167875A1 (en) Information processing method and system
JP2005165958A (en) Information retrieval system, information retrieval support system and method therefor, and program
JP2012520528A (en) System and method for automatic semantic labeling of natural language text
KR20120001053A (en) System and method for anaylyzing document sentiment
JP2003196280A (en) Text generating method and text generating device
JPH06266779A (en) Controller
US8914289B2 (en) Analyzing and processing a verbal expression containing multiple goals
KR20170008357A (en) System for Translating Using Crowd Sourcing, Server and Method for Web toon Language Automatic Translating
JP2003533827A (en) System and method for collating text input against a lexical knowledge base and utilizing the results of the collation
JP2000148755A (en) Method and device for semantic analysis and record medium where semantic analysis program is recorded
JP3575242B2 (en) Keyword extraction device
JP3691773B2 (en) Sentence analysis method and sentence analysis apparatus capable of using the method
JP4074687B2 (en) Summary sentence creation support system and computer-readable recording medium recording a program for causing a computer to function as the system
JP2003108583A (en) Retrieving device using language sentence, retrieving system, retrieving method, program and recording medium
JP4088176B2 (en) Question answering apparatus and question answering program

Legal Events

Date Code Title Description
A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20031208

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

Free format text: PAYMENT UNTIL: 20071226

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20081226

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20091226

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20101226

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20101226

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20111226

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20111226

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20121226

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees