JPH0340172A - Natural language analyzing device - Google Patents

Natural language analyzing device

Info

Publication number
JPH0340172A
JPH0340172A JP1175904A JP17590489A JPH0340172A JP H0340172 A JPH0340172 A JP H0340172A JP 1175904 A JP1175904 A JP 1175904A JP 17590489 A JP17590489 A JP 17590489A JP H0340172 A JPH0340172 A JP H0340172A
Authority
JP
Japan
Prior art keywords
pointer
analysis
degree
natural language
qualification
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP1175904A
Other languages
Japanese (ja)
Inventor
Masahiko Ishikawa
雅彦 石川
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP1175904A priority Critical patent/JPH0340172A/en
Publication of JPH0340172A publication Critical patent/JPH0340172A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To successively output plural results of analyses in the order of more certain ones by providing a qualification pointer adding device, a coupling degree adding device which adds the coupling degree between a qualifier and a qualifier to be qualified to the qualification pointer, and a sentence structure analysis controller which controls the analysis of the sentence structure by reference to the qualification pointer and the coupling degree. CONSTITUTION:The sentence structure is analyzed to make clear the modification relation of words/phrases. Then a qualification adding device 14 adds a pointer showing the qualifying-qualified relation to the corresponding word/ phrase. A coupling degree adding device 15 adds the coupling degree to each qualification pointer to show the degree of the qualifying-qualified relation. Finally a sentence structure analysis controller 16 outputs successively the results of analyses by reference to the qualification pointer and the coupling degree. As a result, these results of analyses can be successively outputted in the order of more certain ones.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は自然言語文を人力し その入力分を構文解析す
る自然言語解析装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION Field of Industrial Application The present invention relates to a natural language analysis device that manually generates natural language sentences and parses the input portion thereof.

従来の技術 返電 機械翻訳 自然言語インターフェースなどを始め
とする自然言語処理技術が注目されている。自然言語処
理技術をいかなる分野に応用する場合でも欠くことがで
きないのは自然言語の解析処理である。この解析処理を
行なうのか自然言語解析装置である。以下、図面を参照
しながら、従来の自然言語解析装置の一例について説明
する。
Conventional technologiesReturn machine translationNatural language processing technologies, including natural language interfaces, are attracting attention. Natural language analysis is essential when applying natural language processing technology to any field. This analysis process is performed by a natural language analysis device. An example of a conventional natural language analysis device will be described below with reference to the drawings.

第4図は従来の自然言語解析装置の構成を示すものであ
る。41は入力装置であり、一般にはキーボドなどが用
いられる。42は形態素解析装置である。43は構文解
析装置である。以」二のように構成された従来の自然言
語解析装置について、以下その動作について説明する。
FIG. 4 shows the configuration of a conventional natural language analysis device. 41 is an input device, and a keyboard or the like is generally used. 42 is a morphological analysis device. 43 is a syntax analysis device. The operation of the conventional natural language analysis device configured as described above will be explained below.

まず人力装置41により、解析すべき文を入力する。そ
の人力された文を形態素解析装@42で形態素解析する
。形態素解析と(よ 入力された文を形態素と呼ばれる
基本単位に分割し品詞などの必要な情報を付加すること
である。その形態素解析された文を構文解析装置43に
よって構文解析する。構文解析とは 文の構文的な係り
受は関係および意味的な関係を明らかにすることである
。その構文解析の中で最も重要と考えられるのは係り受
は解析である。係り受は解析とクヨ  ある語句が他の
どの語句に係っているかを1i7i1析することである
。その解析結果は解析木で表される。 (例え(′L 
長尾真「言語工学」、昭和58抵 昭晃SLp、l〜p
、14参照)。しかし 自然言語文は曖昧さを含む場合
が多いので解析結果は一つとは限らない。このように複
数の解析結果が存在する場合には 一般にはすべての解
析結果を出力する。
First, using the human power device 41, a sentence to be analyzed is input. Morphologically analyze the human-generated sentence using a morphological analyzer @42. Morphological analysis is the process of dividing an input sentence into basic units called morphemes and adding necessary information such as part of speech.The morphologically analyzed sentence is parsed by the syntax analysis device 43.Syntax analysis The syntactic dependency of a sentence is to clarify the relationship and semantic relationship.The most important of the syntactic analysis is dependency analysis. It is an analysis of which other words and phrases a word relates to.The results of the analysis are expressed as a parse tree. (For example, ('L
Makoto Nagao "Language Engineering", 1980, Akiaki SLp, l~p
, 14). However, since natural language sentences often contain ambiguity, the analysis result is not limited to just one. When multiple analysis results exist like this, all analysis results are generally output.

発明が解決しようとする課題 しかしながら上記のような構成で(よ すべての可能な
解析結果を出力しようとするために 曖昧な文を解析し
た場合に(よ 解析結果の数が組み合わせ的に増大する
という問題点かあっブあ 本発明は」二記問題点に鑑ム
 ずぺての解析結果を出力するのではなく、より確から
しいものから順に出力する自然言語解析装置を提供する
ものである。
Problems to be Solved by the Invention However, when an ambiguous sentence is parsed in order to output all possible analysis results with the above configuration, the number of analysis results increases combinatorially. Problems?The present invention takes into consideration the problems mentioned in section 2 above.It is an object of the present invention to provide a natural language analysis device that outputs analysis results in order of probability, rather than outputting analysis results one by one.

課題を解決するための手段 上記問題点を解決するために本発明の自然言語解析装置
(よ 従来の自然言語解析装置の構成に加えて、修飾・
被修飾関係を表すポインターを語句にイ」加する修飾ポ
インターイ」別装置と、粘合の強さを表わす結合度を修
飾ポインターに付加する結合度イ」別装置と、修飾ポイ
ンターおよび結合度を参照して構文解析の制御を行なう
構文解析制御装置という構成を備えたものである。
Means for Solving the Problems In order to solve the above problems, the natural language analysis device of the present invention (in addition to the configuration of the conventional natural language analysis device, modification and
There is a separate device for modifying pointers that adds a pointer representing a modified relationship to a word, a separate device for adding a degree of cohesion representing the strength of cohesion to a modifier pointer, and a separate device for adding a degree of cohesion to a modifier pointer, It is equipped with a syntactic analysis control device that refers to and controls syntactic analysis.

作用 本発明は」二記した構成によって、複数の解析結果が存
在する場合に より確からしいものから順に出力するこ
とができる。まず従来の自然言語解析装置と同様に構文
解析を行なしX、語句の係り受は関係を明らかにする。
Effect of the Invention With the configuration described in section 2 above, when there are multiple analysis results, the present invention can output them in order of probability. First, syntactic analysis is performed in the same way as conventional natural language analysis devices, and relationships between words and phrases are clarified.

次に修飾ポインター付加装置によって修飾・被修飾関係
を表すポインタを対応する語句に付加する。そして各修
飾ポインターに修飾・被修飾関係の強さを表わす結合度
をイ」加する。最後に構文解析制御装置によって、この
修飾ポインターおよび結合度を参照しながら順に解析結
果を出力する。
Next, a pointer representing a modification/modified relationship is added to the corresponding word/phrase by a modification pointer addition device. Then, a degree of connectivity representing the strength of the modification/modified relationship is added to each modification pointer. Finally, the parsing control device sequentially outputs the parsing results while referring to the qualification pointer and the degree of connectivity.

実施例 以下本発明の一実施例の自然言語解析装置について、図
面を参照しながら説明する。第1図は本発明の実施例に
おける自然言語解析装置の構成を示すものである。
Embodiment Hereinafter, a natural language analysis device according to an embodiment of the present invention will be described with reference to the drawings. FIG. 1 shows the configuration of a natural language analysis device in an embodiment of the present invention.

第1図において、11は人力装置、12は形態素解析装
置、13は構文解析装置であり、従来と同じものである
。14は修飾ポインターイ」別装置、15は結合度測知
装置、]6は構文解析制御装置である。以上のように構
成された自然言語解析装置について、第2図および第3
図を用いてその動作を説明する。
In FIG. 1, 11 is a human-powered device, 12 is a morphological analysis device, and 13 is a syntactic analysis device, all of which are the same as the conventional ones. 14 is a modification pointer device, 15 is a coupling degree measuring device, and 6 is a syntax analysis control device. Figures 2 and 3 show the natural language analysis device configured as described above.
The operation will be explained using figures.

例えは 「科学技術の振興を国民生活の向上に密着した
形で行なうように配慮する」という例文を解析対象とし
て考える。第2図(a)はこの例文に対する最初の解析
結果を表わしている。ます 従来の自然言語解析装置と
同様に形態素解析を行なう。
For example, consider the example sentence ``We will take care to promote science and technology in a way that is closely related to improving the lives of the people.'' FIG. 2(a) shows the first analysis result for this example sentence. Performs morphological analysis in the same way as conventional natural language analysis equipment.

次に 各単語にID番号(認識番号)を付加する(第2
図(a))。次に構文解析装置■3により構文解析を行
なう。第2図中でカギ括弧内の数字ば 連用修飾句また
は動詞句に対する主要語のID番舅である。この例文の
場合には四つの連用修飾句(4,8,12,14番)か
ある。そして、それぞれの連用修飾句に刻して修飾・被
修飾を表わすポインタを、修飾ポインター付加装置14
によってイ」加する。
Next, add an ID number (recognition number) to each word (second
Figure (a)). Next, the syntax analysis device 3 performs syntax analysis. In Figure 2, the number in brackets is the ID number of the main word for the conjunctive modifier phrase or verb phrase. In this example sentence, there are four conjunctive modifiers (numbers 4, 8, 12, and 14). Then, a modification pointer adding device 14 inscribes a pointer indicating modification/modified in each conjunctive modification phrase.
Add 'I' by.

次に各修飾ポインターにその結合の強さを表わす結合度
を、結合度付加装N15によってイ」加する。
Next, a degree of connection representing the strength of the connection is added to each modification pointer by a degree of connection adding device N15.

結合度を決定するには次のような方法が考えられる。例
えば 格解析を行なL\ 必須格に適合した連用修飾句
は任意格に適合した連用修飾句よりも動詞句との結合度
が強いとする。また意味ネットワークを利用する方法も
考えられる。第2図(a)に開拓した修飾ポインターお
よび結合度の例を第3図(a)に示1′o  一つの連
用修飾句に複数の修飾ポインターが存在している時は結
合度が大ぎいものを優先して解析を行なう。次にこの解
析結果を出力し 利用者に示1%  利用者かこの結果
に満足しない場合に(よ 係り受けを誤っていると思わ
れる部分を利用者に指摘してもらう。例えば第2図(a
)の結果に対して利用者が4番の係り先が誤っていると
指摘したとする。すると、第3図(a)における4番と
9番とを結ぶポインターか誤っていると考えられるので
、結合度付加装置がこのポインターの結合度をOとする
。そして、構文解析をやりなおづ; その二度目の解析
結果を第2図(b)に示11  また 第2図(b)に
対応した修飾ポインターおよび結合度の例を第3図(b
)に示i−=  以下同様に 利用者が満足するまでこ
の処理を繰り返11 発明の効果 以上のように本発明は 従来の自然言語解析装置に加え
て、修飾・被修飾関係を表わすポインタを語句に付加す
る修飾ポインクー付加装置と、修飾語と被修飾語との結
合度を修飾ポインターに付加する結合度付加装置と、修
飾ポインターおよび結合度を参照して構文解析の制御を
行なう構文解析制御装置とを設けることにより、複数の
解析結果が存在する場合に より確からしいものから順
に出力することができる。
The following methods can be considered to determine the degree of bonding. For example, case analysis is performed and it is assumed that a conjunctive modifier phrase that is compatible with the obligatory case has a stronger bond with the verb phrase than a conjunctive modifier phrase that is compatible with the optional case. Another possibility is to use a semantic network. Figure 3 (a) shows an example of the modification pointer developed in Figure 2 (a) and the degree of cohesion. Analyze things with priority. Next, output this analysis result and show it to the user. If the user is not satisfied with the result (1%), ask the user to point out the part where the dependency seems to be incorrect. For example, as shown in Figure 2 ( a
), suppose that the user points out that number 4 is incorrect. Then, since it is considered that the pointer connecting No. 4 and No. 9 in FIG. 3(a) is incorrect, the degree of connection adding device sets the degree of connection of this pointer to O. Then, perform the syntax analysis again; the results of the second analysis are shown in Figure 2 (b).11 Also, Figure 3 (b) shows an example of the modified pointer and degree of association corresponding to Figure 2 (b).
) shows i-= and so on.This process is repeated until the user is satisfied. A device for adding a modifier pointer to a word, a device for adding a degree of binding to the modifier pointer, and a syntactic analysis control that controls parsing by referring to the modifier pointer and the degree of binding. By providing a device, when multiple analysis results exist, it is possible to output them in order of the most probable one.

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

第1図は本発明の実施例における自然言語解析装置の構
成阻 第2図は本発明の実施例における解析結果の例を
表わす阻 第3図は本発明の実施例における修飾ポイン
ターおよび結合度の例を表わす@ 第4図は従来の自然
言語解析装置の構成図である。
Figure 1 shows the configuration of a natural language analysis device in an embodiment of the present invention. Figure 2 shows an example of analysis results in an embodiment of the present invention. An example is shown in FIG. 4, which is a block diagram of a conventional natural language analysis device.

Claims (1)

【特許請求の範囲】[Claims] 解析すべき文を入力するための入力装置と、その文を形
態素解析するための形態素解析装置と、形態素解析され
た文を構文解析するための構文解析装置と、構文解析を
行なう際に修飾・被修飾関係を表わすポインターを語句
に付加する修飾ポインター付加装置と、修飾語と被修飾
語との結合の強さを表わす結合度を修飾ポインターに付
加する結合度付加装置と、解析結果の次候補を得るため
に修飾ポインターおよび結合度を参照して構文解析の制
御を行なう構文解析制御装置とを備えたことを特徴とす
る自然言語解析装置。
An input device for inputting a sentence to be analyzed, a morphological analyzer for morphologically analyzing the sentence, a parsing device for parsing the morphologically analyzed sentence, and an input device for inputting a sentence to be analyzed. A modification pointer addition device that adds a pointer representing a modified relationship to a word/phrase, a bond degree addition device that adds a degree of binding representing the strength of the bond between a modifier and a modified word to a modification pointer, and a next candidate based on the analysis result. 1. A natural language analysis device comprising: a syntactic analysis control device that controls syntactic analysis by referring to a modification pointer and a degree of association in order to obtain a natural language analysis device.
JP1175904A 1989-07-07 1989-07-07 Natural language analyzing device Pending JPH0340172A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1175904A JPH0340172A (en) 1989-07-07 1989-07-07 Natural language analyzing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1175904A JPH0340172A (en) 1989-07-07 1989-07-07 Natural language analyzing device

Publications (1)

Publication Number Publication Date
JPH0340172A true JPH0340172A (en) 1991-02-20

Family

ID=16004269

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1175904A Pending JPH0340172A (en) 1989-07-07 1989-07-07 Natural language analyzing device

Country Status (1)

Country Link
JP (1) JPH0340172A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05118075A (en) * 1992-04-16 1993-05-14 Matsushita Electric Ind Co Ltd Sanitary washing device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60193073A (en) * 1984-03-14 1985-10-01 Ricoh Co Ltd Japanese word analyzer

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60193073A (en) * 1984-03-14 1985-10-01 Ricoh Co Ltd Japanese word analyzer

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05118075A (en) * 1992-04-16 1993-05-14 Matsushita Electric Ind Co Ltd Sanitary washing device

Similar Documents

Publication Publication Date Title
Minnen et al. Applied morphological processing of English
JP2000112938A5 (en)
US7562009B1 (en) Linguistic processing platform, architecture and methods
JPH02165378A (en) Machine translation system
JPS638864A (en) Translating device
JPH0261763A (en) Mechanical translation equipment
JPH0340172A (en) Natural language analyzing device
JPS6180362A (en) Translation system
JP4039282B2 (en) Natural language processing system, natural language processing method, and computer program
JPS63298668A (en) Natural language analyzer
JP3810809B2 (en) Parser
JP2954592B2 (en) Language analyzer
JP3055690B2 (en) Japanese equivalent noun phrase translation system
JPH03138756A (en) Dividing and rearranging processing system for long sentence
JPS63221475A (en) Analyzing method for syntax
JP2794919B2 (en) Machine translation equipment
JPH0320866A (en) Text base retrieval system
JPH03222069A (en) Machine translation device
JPH09281993A (en) Phonetic symbol forming device
JP3132563B2 (en) Document creation support device
JPH0785071A (en) Information extracting device
JPH02140869A (en) Sentence structure analyzing method
JPH0550777B2 (en)
JPH1091628A (en) Syntax analysis system
JPS62131372A (en) Natural language analyzing system