Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP5575449B2 - Information processing apparatus, information processing method, and program - Google Patents
[go: Go Back, main page]

JP5575449B2 - Information processing apparatus, information processing method, and program - Google Patents

Information processing apparatus, information processing method, and program Download PDF

Info

Publication number
JP5575449B2
JP5575449B2 JP2009232432A JP2009232432A JP5575449B2 JP 5575449 B2 JP5575449 B2 JP 5575449B2 JP 2009232432 A JP2009232432 A JP 2009232432A JP 2009232432 A JP2009232432 A JP 2009232432A JP 5575449 B2 JP5575449 B2 JP 5575449B2
Authority
JP
Japan
Prior art keywords
sentence
morpheme
morphemes
dictionary
case frame
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2009232432A
Other languages
Japanese (ja)
Other versions
JP2011081542A (en
Inventor
尚司 小林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NS Solutions Corp
Original Assignee
NS Solutions 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 NS Solutions Corp filed Critical NS Solutions Corp
Priority to JP2009232432A priority Critical patent/JP5575449B2/en
Publication of JP2011081542A publication Critical patent/JP2011081542A/en
Application granted granted Critical
Publication of JP5575449B2 publication Critical patent/JP5575449B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Machine Translation (AREA)
  • Document Processing Apparatus (AREA)

Description

本発明は、情報処理装置、情報処理方法及びプログラムに関する。   The present invention relates to an information processing apparatus, an information processing method, and a program.

システム開発におけるドキュメントの品質は、システムの品質に大きな影響を与える。より具体的に説明すると、システム開発におけるドキュメントの一例である、要求使用書や、設計仕様書における曖昧な表現は、要求使用書や、設計仕様書の品質を下げ、結果としてシステムの品質を下げる。   The quality of the document in system development has a great influence on the quality of the system. More specifically, an ambiguous expression in a requirement use document or design specification, which is an example of a document in system development, lowers the quality of the requirement use document or design specification, and consequently lowers the quality of the system. .

特許文献1には、日本語文書における助詞の用法の誤りを判断する技術が開示されている。   Patent Document 1 discloses a technique for determining an error in the usage of a particle in a Japanese document.

特開2008−176630号公報JP 2008-176630 A

しかしながら、主格(主語)がないことに起因する文の曖昧さや、指示語(例えば"これ、それ、あれ"や、"ここ、そこ、あそこ"等)に起因する文の曖昧さ、主語と述語とが対応していないこと(例えば、ソフトウェアパッケージは(主語)、複数のアプリケーションをまとめてインストールする(述語)等)に起因する文の曖昧さ等、文が曖昧になる原因はいろいろあり、上述した特許文献1では誤解を招くこれら曖昧な表現を見つけることができない問題があった。   However, sentence ambiguity due to lack of subject (subject), sentence ambiguity due to directives (eg "this, that, that", "here, there, there" etc.), subject and predicate There are various causes of sentence ambiguity, such as ambiguity of sentences due to the fact that they do not correspond (for example, software packages (subject), multiple applications installed together (predicate), etc.) In Patent Document 1, there is a problem that these ambiguous expressions that cause misunderstanding cannot be found.

本発明はこのような問題点に鑑みなされたもので、対象文書から誤解を招く曖昧な表現を見つけることを目的とする。   The present invention has been made in view of such problems, and an object thereof is to find an ambiguous expression that causes misunderstanding from a target document.

そこで、本発明の情報処理装置は、対象文書に含まれる文の形態素解析を行い、前記文を形態素に分割する形態素解析手段と、前記形態素解析手段で形態素に分割された文を構成する形態素間の係り受け解析を行う係り受け解析手段と、前記係り受け解析手段での係り受け解析の結果に基づいて、文に含まれる述語に該当する格フレームを格フレーム辞書から取得する格フレーム取得手段と、前記形態素解析手段で形態素に分割された文を構成する複数の形態素のなかに、前記格フレーム取得手段で取得された格フレームに含まれる格スロットの制約を満たす形態素が存在するか否か、意味で語が階層化され整理された辞書であるシソーラス辞書を用いて判断し、前記複数の形態素のなかに、前記格フレームに含まれる格スロットの制約を満たす形態素が存在しないと判断した場合、前記シソーラス辞書を用いて、前記制約を満たす意味を持つ名詞の形態素を、前記制約を満たす形態素が存在すべき位置より前方に対して設定された範囲内において検索し、検索の結果、該当する設定値以上の名詞の形態素が存在する場合、前記文に誤解を招く曖昧な表現が存在すると判定する判定手段と、前記判定手段で前記文に誤解を招く曖昧な表現が存在すると判定された場合、文に曖昧な表現が存在する旨のメッセージを出力する出力手段と、を有する。 Therefore, the information processing apparatus according to the present invention performs a morpheme analysis of a sentence included in a target document, and morpheme analysis unit that divides the sentence into morphemes, and a morpheme that forms a sentence divided by the morpheme analysis unit. Dependency analysis means for performing dependency analysis, and case frame acquisition means for acquiring a case frame corresponding to a predicate included in a sentence from a case frame dictionary based on a result of dependency analysis in the dependency analysis means Whether or not there is a morpheme satisfying the restriction of the case slot included in the case frame acquired by the case frame acquisition unit among the plurality of morphemes constituting the sentence divided into morphemes by the morpheme analysis unit, word in the sense determined by using a thesaurus is a hierarchical organized dictionary, some of the plurality of morphemes, satisfy the constraint of case slots included in the case frames If it is determined that no morpheme exists, the noun morpheme having the meaning satisfying the constraint is used within the range set forward from the position where the morpheme satisfying the constraint should exist, using the thesaurus. If there is a noun morpheme that is equal to or greater than the set value as a result of the search, a determination unit that determines that there is an ambiguous expression that causes misunderstanding in the sentence, and an ambiguous that causes the sentence to be misunderstood Output means for outputting a message to the effect that there is an ambiguous expression in the sentence.

また、本発明の情報処理装置は、対象文書に含まれる文の形態素解析を行い、前記文を形態素に分割する形態素解析手段と、前記形態素解析手段で形態素に分割された文を構成する形態素間の係り受け解析を行う係り受け解析手段と、前記係り受け解析手段での係り受け解析の結果に基づいて、文に含まれる述語に該当する格フレームを格フレーム辞書から取得する格フレーム取得手段と、前記形態素解析手段で形態素に分割された文を構成する複数の形態素のなかに、前記格フレーム取得手段で取得された格フレームに含まれる格スロットの制約を満たす形態素が存在するか否か、意味で語が階層化され整理された辞書であるシソーラス辞書を用いて判断し、前記複数の形態素のなかに、前記格フレームに含まれる格スロットの制約を満たす形態素が存在しないと判断し、かつ、前記制約を満たす形態素が存在すべき位置の形態素が事物を指示する指示語であると判断した場合、前記シソーラス辞書を用いて、前記制約を満たす意味を待つ名詞の形態素を、前記指示語が存在する位置より前方に対して設定された範囲内において検索し、検索の結果、該当する設定値以上の名詞の形態素が存在する場合、前記文に誤解を招く曖昧な表現が存在すると判定する判定手段と、前記判定手段で前記文に誤解を招く曖昧な表現が存在すると判定された場合、文に曖昧な表現が存在する旨のメッセージを出力する出力手段と、を有する。 Further, the information processing apparatus of the present invention performs a morpheme analysis of a sentence included in a target document, and morpheme analysis unit that divides the sentence into morphemes, and a morpheme that constitutes a sentence divided by the morpheme analysis unit Dependency analysis means for performing dependency analysis, and case frame acquisition means for acquiring a case frame corresponding to a predicate included in a sentence from a case frame dictionary based on a result of dependency analysis in the dependency analysis means Whether or not there is a morpheme satisfying the restriction of the case slot included in the case frame acquired by the case frame acquisition unit among the plurality of morphemes constituting the sentence divided into morphemes by the morpheme analysis unit, word in the sense determined by using a thesaurus is a hierarchical organized dictionary, some of the plurality of morphemes, satisfy the constraint of case slots included in the case frames When it is determined that there is no morpheme, and when it is determined that the morpheme at the position where the morpheme satisfying the constraint should be an instruction word indicating an object, the meaning of satisfying the constraint is waited using the thesaurus dictionary. The noun morpheme is searched within the range set forward from the position where the indicator word is present, and if the result of the search is that the noun morpheme exceeds the corresponding set value, the sentence is misunderstood. A determination unit that determines that an ambiguous expression exists; and an output unit that outputs a message to the effect that an ambiguous expression exists in a sentence when the determination unit determines that an ambiguous expression that causes misunderstanding exists in the sentence. Have.

本発明によれば、対象文書から誤解を招く曖昧な表現を見つけることができる。   According to the present invention, an ambiguous expression that causes misunderstanding can be found from a target document.

情報処理装置(コンピュータ)のハードウェア構成の一例を示す図である。It is a figure which shows an example of the hardware constitutions of information processing apparatus (computer). 実施形態1における情報処理装置の機能構成の一例を示す図である。2 is a diagram illustrating an example of a functional configuration of an information processing apparatus according to Embodiment 1. FIG. 形態素解析を説明するための図である。It is a figure for demonstrating a morphological analysis. 係り受けを説明するための図である。It is a figure for demonstrating a dependency. 格フレームを説明するための図である。It is a figure for demonstrating a case frame. ゼロ代名詞を説明するための図である。It is a figure for demonstrating a zero pronoun. 格省略判定処理の一例を示すフローチャートである。It is a flowchart which shows an example of a case omission determination process. 事物を表す指示語を含む文の一例を示す図である。It is a figure which shows an example of the sentence containing the instruction word showing a thing. 事物の指示語判定処理の一例を示すフローチャートである。It is a flowchart which shows an example of the instruction word determination process of a thing. 主語と述語とが一致していない文の一例を示す図である。It is a figure which shows an example of the sentence whose subject and predicate do not correspond. 不一致判定処理の一例を示すフローチャートである。It is a flowchart which shows an example of a mismatch determination process. 実施形態2における情報処理装置の機能構成の一例を示す図である。6 is a diagram illustrating an example of a functional configuration of an information processing apparatus according to Embodiment 2. FIG. 場所の指示語判定処理の一例を示すフローチャートである。It is a flowchart which shows an example of the place word determination processing. 人称の指示語判定処理の一例を示すフローチャートである。It is a flowchart which shows an example of the instruction word determination process of a person. 連体の指示語判定処理の一例を示すフローチャートである。It is a flowchart which shows an example of the instruction word determination process of a continuous body.

以下、本発明の実施形態について図面に基づいて説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

図1は、情報処理装置(コンピュータ)のハードウェア構成の一例を示す図である。図1に示されるように、情報処理装置1は、ハードウェア構成として、CPU11と、入力装置12と、記憶装置13と、表示装置14と、を有する。
CPU11は、RAM、ROM、HD等で構成される記憶装置13に記憶されているプログラムに基づき処理を実行することによって、情報処理装置1が提供する機能等が実現される。入力装置12は、例えばマウスやキーボード等であり、管理者等の操作に応じて、情報処理装置1に情報を入力する。表示装置14は、例えばディスプレイ等であり、情報処理装置1における処理の結果等を表示する。記憶装置13は、プログラムやCPU11の処理に必要なデータ等を記憶する。
なお、入力装置12は、情報処理装置1の必須のハードウェア構成ではない。
FIG. 1 is a diagram illustrating an example of a hardware configuration of an information processing apparatus (computer). As illustrated in FIG. 1, the information processing apparatus 1 includes a CPU 11, an input device 12, a storage device 13, and a display device 14 as a hardware configuration.
The CPU 11 implements functions provided by the information processing apparatus 1 by executing processing based on a program stored in the storage device 13 including RAM, ROM, HD, and the like. The input device 12 is a mouse, a keyboard, or the like, for example, and inputs information to the information processing device 1 according to an operation of an administrator or the like. The display device 14 is a display or the like, for example, and displays a result of processing in the information processing device 1. The storage device 13 stores programs, data necessary for the processing of the CPU 11, and the like.
The input device 12 is not an essential hardware configuration of the information processing device 1.

<実施形態1>
図2は、実施形態1における情報処理装置の機能構成の一例を示す図である。
図2に示されるように、実施形態1の情報処理装置1は、機能構成として、形態素解析部21と、係り受け部22と、格フレーム取得部23と、判定部24と、出力部25と、を含む。なお、形態素辞書31、文法規則辞書32、格フレーム辞書33、シソーラス辞書34、は記憶装置13に記憶されているものとする。但し、上述した辞書は必ずしも記憶装置13に記憶されている必要はなく、情報処理装置1がネットワークを介して参照可能な装置に記憶されていればよい。
形態素解析部21は、形態素辞書31を用いて、対象文書に含まれる文の形態素解析を行い、前記文を形態素に分割する。例えば、形態素解析部21は、図3に示されるように
「定時にサーバがテストを実行する」
という文を
「定時に」「サーバが」「テストを」「実行する」
と、各形態素に分割する。なお、形態素辞書31は、日本語語彙に対する形態素の情報を集めた辞書である。
<Embodiment 1>
FIG. 2 is a diagram illustrating an example of a functional configuration of the information processing apparatus according to the first embodiment.
As illustrated in FIG. 2, the information processing apparatus 1 according to the first embodiment includes, as functional configurations, a morphological analysis unit 21, a dependency unit 22, a case frame acquisition unit 23, a determination unit 24, and an output unit 25. ,including. It is assumed that the morpheme dictionary 31, grammar rule dictionary 32, case frame dictionary 33, and thesaurus dictionary 34 are stored in the storage device 13. However, the above-described dictionary is not necessarily stored in the storage device 13, and may be stored in a device that can be referred to via the network by the information processing device 1.
The morpheme analysis unit 21 uses the morpheme dictionary 31 to perform a morpheme analysis of a sentence included in the target document and divide the sentence into morphemes. For example, as shown in FIG. 3, the morphological analysis unit 21 “executes a test at a fixed time”
The sentence "on time""server""test""execute"
And divide into each morpheme. The morpheme dictionary 31 is a dictionary that collects morpheme information for Japanese vocabulary.

係り受け部22は、文法規則辞書32を用いて、形態素解析部21で形態素に分割された文を構成する形態素間の係り受けを解析する。例えば、係り受け部22は、図4に示されるように、形態素間の係り受けを解析し、解析結果(各形態素が何に係っているのか)を出力する。なお、文法規則辞書32は、日本語文法の情報が記載された辞書である。
格フレーム取得部23は、係り受け部22の解析の結果、述語(用言)に対応するフレームを格フレーム辞書33から取得する。例えば、格フレーム取得部23は、述語として「実行する」の格フレームを格フレーム辞書33から取得する。
ここで、図5に示されるように「実行する」の格フレームには、
「N1がN2を実行する」
と記述されており、N1、N2は、格スロット(又はスロット)と呼ばれる。
また、図5に示されるように、格フレームには、
「N1(機械/主体) N2(抽象)」
と記述されており、これは、格スロットの制約である。
例えば、N1(機械/主体)とは、N1は、主体であり、かつ、機械以下の意味素性(機械の下位に属する意味)を持つ名詞であることを示している。
The dependency unit 22 uses the grammar rule dictionary 32 to analyze the dependency between morphemes constituting the sentence divided by the morpheme analysis unit 21. For example, as shown in FIG. 4, the dependency receiving unit 22 analyzes the dependency between morphemes and outputs an analysis result (what each morpheme is related to). The grammar rule dictionary 32 is a dictionary in which information on Japanese grammar is described.
The case frame acquisition unit 23 acquires a frame corresponding to the predicate (predicate) from the case frame dictionary 33 as a result of the analysis by the dependency unit 22. For example, the case frame acquisition unit 23 acquires a case frame “execute” as a predicate from the case frame dictionary 33.
Here, as shown in FIG. 5, the case frame of “execute”
“N1 executes N2”
N1 and N2 are called case slots (or slots).
In addition, as shown in FIG.
"N1 (machine / subject) N2 (abstract)"
This is a case slot constraint.
For example, N1 (machine / subject) indicates that N1 is a subject and a noun having a semantic feature (meaning belonging to a lower level of the machine) below the machine.

判定部24は、形態素解析部21で形態素に分割された文を構成する複数の形態素のなかに、格フレーム取得部23で取得された格フレームに含まれる格スロットの制約を満たす形態素が存在するか否か、シソーラス辞書34を用いて判断し、前記判断の結果に基づいて、前記文に誤解を招く曖昧な表現が存在するか否かを判定する。ここで、シソーラス辞書34は、意味で語が階層化され整理された辞書である。
例えば、シソーラス辞書34は、
名詞>具体>具体物>無生物>人工物>機械>電気機器>コンピュータ
等の情報を有すると共に、コンピュータとサーバとは同意語であるという情報を有している。
したがって、例えば、判定部24は、図5に示されるような
「定時に」「サーバが」「テストを」「実行する」
のなかで、「サーバ」がN1に対応すると判断する。
また、シソーラス辞書34は、
名詞>抽象>事>人間活動>精神>思考>調査・研究>試験>テスト
等の情報を有している。
したがって、例えば、判定部24は、図5に示されるような
「定時に」「サーバが」「テストを」「実行する」
のなかで、「テスト」がN2に対応すると判断する。
The determination unit 24 has a morpheme satisfying the restriction of the case slot included in the case frame acquired by the case frame acquisition unit 23 among the plurality of morphemes constituting the sentence divided into morphemes by the morpheme analysis unit 21. Whether or not an ambiguous expression that causes misunderstanding exists in the sentence is determined based on the result of the determination. Here, the thesaurus dictionary 34 is a dictionary in which words are hierarchized and arranged in meaning.
For example, the thesaurus dictionary 34
It has information such as noun>concrete>concrete>inanimate>artifact>machine> electrical equipment> computer, etc. and computer and server have synonyms.
Therefore, for example, the determination unit 24 “executes” “executed” “on time” “server” as shown in FIG.
Among them, it is determined that “server” corresponds to N1.
The thesaurus dictionary 34
Noun>Abstract>Things> Human Activity>Mental>Thinking> Survey / Research>Examination> We have information such as tests.
Therefore, for example, the determination unit 24 “executes” “executed” “on time” “server” as shown in FIG.
It is determined that “test” corresponds to N2.

上述したように、文が図5に示されるような
「定時に」「サーバが」「テストを」「実行する」
の場合、判定部24は、「サーバ」がN1に対応すると判断することができる。
しかしながら、文が図6に示されるような
「定時に」「テストを」「実行する」
の場合、判定部24は、図5に示されるような「実行する」の格フレーム及びシソーラス辞書34を用いて、前記文にはN1に対応する形態素(又は名詞)が存在しないと判断し、「N1が」の部分にNULL(ゼロ代名詞)を挿入する。なお、本実施形態では、ゼロ代名詞を表すものとしてNULLを用いて説明するが、このことは本実施形態を制限するものではない。
同様に、例えば、文が
「定時に」「サーバが」「実行する」
の場合、判定部24は、図5に示されるような「実行する」の格フレーム及びシソーラス辞書34を用いて、前記文にはN2に対応する形態素(又は名詞)が存在しないと判断し、「N2を」の部分にNULL(ゼロ代名詞)を挿入する。
例えば、判定部24は、図6に示されるように格スロットの制約を満たさない文の場合、前記文に誤解を招く曖昧な表現が存在すると判定する。
出力部25は、判定部24において文に誤解を招く曖昧な表現が存在すると判定された場合、文に曖昧な表現が存在する旨を、例えば、表示装置14に表示する。なお、出力部25は、文に曖昧な表現が存在する旨を、表示装置14に出力する以外に、例えば、文に曖昧な表現が存在する旨を、例えば、音声で出力するようにしてもよい。
As described above, the sentence is “scheduled” “server” “test” “execute” as shown in FIG.
In this case, the determination unit 24 can determine that the “server” corresponds to N1.
However, the sentence is “on time” “test” “execute” as shown in FIG.
In this case, the determination unit 24 determines that there is no morpheme (or noun) corresponding to N1 in the sentence using the “execute” case frame and the thesaurus dictionary 34 as shown in FIG. A NULL (zero pronoun) is inserted in the “N1 is” part. In the present embodiment, NULL is used to represent zero pronouns, but this does not limit the present embodiment.
Similarly, for example, the sentence is “on time” “server” “execute”
In this case, the determination unit 24 determines that there is no morpheme (or noun) corresponding to N2 in the sentence using the “execute” case frame and the thesaurus dictionary 34 as shown in FIG. Insert NULL (zero pronoun) in the “N2” part.
For example, in the case of a sentence that does not satisfy the restriction of the case slot as shown in FIG. 6, the determination unit 24 determines that there is an ambiguous expression that causes misunderstanding in the sentence.
When the determination unit 24 determines that there is an ambiguous expression that causes misunderstanding in the sentence, the output unit 25 displays, for example, on the display device 14 that the sentence has an ambiguous expression. The output unit 25 may output, for example, a voice indicating that an ambiguous expression is present, for example, in addition to outputting to the display device 14 that an ambiguous expression is present in the sentence. Good.

(格省略判定)
主格(主語)や目的格(目的語)等の格が省略されると複数の解釈を生む可能性がある。したがって、以下では、情報処理装置1が、文において格が省略されているか否かを判定し、格が省略されることで曖昧さが生じる場合には、その旨を指摘するメッセージを表示する処理を説明する。
図7は、格省略判定処理の一例を示すフローチャートである。
ステップS10において、判定部24は、対象文書に含まれる文の全てに対して以下に示すような検査を実行したか否かを判定する。判定部24は、対象文書に含まれる文の全てに対して以下に示すような検査を実行した場合、図7に示す処理を終了し、対象文書に含まれる文の全てに対して以下に示すような検査を実行していない場合、ステップS11に処理を進める。
ステップS11において、判定部24は、処理対象の文にゼロ代名詞が存在するか否かを判定する。判定部24は、処理対象の文にゼロ代名詞が存在する場合、処理をステップS12に進め、処理対処の文にゼロ代名詞が存在しない場合、処理をステップS10に戻す。
ステップS12において、判定部24は、ゼロ代名詞に対応する格スロットの制約を取得する。例えば、判定部24は、図6に示すような文の場合、図5に示すような格フレームに基づき、N1(機械/主体)という格スロットの制約を取得する。
(Disqualification judgment)
If cases such as the main case (subject) and the target case (object) are omitted, there is a possibility that multiple interpretations are generated. Therefore, in the following, the information processing apparatus 1 determines whether or not a case is omitted in a sentence, and when ambiguity occurs due to the case being omitted, a process of displaying a message indicating that fact Will be explained.
FIG. 7 is a flowchart illustrating an example of the case omission determination process.
In step S <b> 10, the determination unit 24 determines whether the following inspection has been performed on all the sentences included in the target document. When the determination unit 24 performs the following inspection on all the sentences included in the target document, the determination unit 24 ends the process illustrated in FIG. 7 and performs the following on all the sentences included in the target document. If such inspection is not executed, the process proceeds to step S11.
In step S11, the determination unit 24 determines whether a zero pronoun exists in the sentence to be processed. The determination unit 24 advances the process to step S12 when the zero pronoun exists in the sentence to be processed, and returns the process to step S10 when the zero pronoun does not exist in the sentence to be processed.
In step S12, the determination unit 24 acquires a case slot constraint corresponding to the zero pronoun. For example, in the case of a sentence as shown in FIG. 6, the determination unit 24 acquires a case slot restriction of N1 (machine / subject) based on a case frame as shown in FIG.

ステップS13において、判定部24は、シソーラス辞書34を用いて、ステップS12で取得した格スロットの制約を満たす意味素性を持つ名詞を、例えば、前記処理対象の文の前の文(又は前記処理対象の文の前記ゼロ代名詞が存在する位置より前)より検索(前方検索)する。上述した例を用いて説明すると、判定部24は、シソーラス辞書34を用いて、機械以下の意味素性を持つ名詞を、例えば前記処理対象の文の前の文より検索(前方検索)する。なお、判定部24は、例えば記憶装置13等に記憶されている設定ファイルの設定に応じて、前記設定の範囲内(例えば、処理対処の文を含んで3文以内、処理対処の文のゼロ代名詞を含んで50語以内等)で検索を実行する。
ステップS14において、判定部24は、ステップS13の前方検索の結果、ステップS12で取得した格スロットの制約を満たす意味素性を持つ名詞が2以上存在するか否かを判定する。判定部24は、前記名詞が2以上存在する場合、ステップS15に処理を進め、前記名詞が2以上存在しない場合、ステップS10に処理を戻す。
なお、ここでは、説明の簡略のため、2以上として説明を行っているが、判定部24は、前記名詞がN以上存在するか否かを判定するようにしてもよい。Nは、前記設定ファイル等に設定された任意の1以上の自然数である。
但し、本実施形態では、説明の簡略化のためデフォルトの設定値としてN=2のときを例に説明を行う。これは、N=1のときは、例えば主語がない文であったとしても日本語として曖昧さなく自然に理解できる場合もあるためである。以下においても同様に、N=2のときを例として説明を行う。
ステップS15において、出力部25は、文に曖昧な表現が存在する旨を、例えば、表示装置14に表示する。なお、出力部25は、複数の文を含む対象文書にうち、どの文に曖昧さがあるか、前記文を明示して、文に曖昧な表現が存在する旨を表示するようにしてもよい。なお、出力部は、例えば、前記文のフォントの大きさを変えたり、前記文のフォントの色を変えたり、前記文に下線を引いたりして、前記文を明示する。以下においても同様である。
図7に示される処理により、省略された格に当てはまる名詞の候補が複数、対象文書に存在する場合、曖昧な表現(曖昧な省略表現)が存在する旨、ユーザに指摘することができる。
In step S13, the determination unit 24 uses the thesaurus dictionary 34 to select a noun having a semantic feature that satisfies the restriction of the case slot acquired in step S12, for example, the sentence before the sentence to be processed (or the process target). Search (forward search) before the position where the zero pronoun of the sentence exists. If it demonstrates using the example mentioned above, the judgment part 24 will search the noun which has the semantic feature below a machine using the thesaurus dictionary 34, for example from the sentence before the said process target sentence (forward search). Note that the determination unit 24, for example, within the range of the setting (for example, within 3 sentences including the processing action sentence, and zero of the processing action sentence according to the setting of the setting file stored in the storage device 13 or the like. Perform a search with up to 50 words including pronouns.
In step S14, the determination unit 24 determines whether there are two or more nouns having semantic features that satisfy the restriction of the case slot acquired in step S12 as a result of the forward search in step S13. When there are two or more nouns, the determination unit 24 proceeds to step S15. When there are two or more nouns, the determination unit 24 returns the process to step S10.
Here, for simplification of description, the description is made with two or more, but the determination unit 24 may determine whether there are N or more nouns. N is an arbitrary natural number of 1 or more set in the setting file or the like.
However, in this embodiment, for the sake of simplicity of explanation, the case where N = 2 is set as the default setting value will be described as an example. This is because, when N = 1, for example, even if the sentence has no subject, it may be understood naturally without ambiguity as Japanese. In the following, similarly, the case where N = 2 will be described as an example.
In step S15, the output unit 25 displays, for example, on the display device 14 that there is an ambiguous expression in the sentence. Note that the output unit 25 may clearly indicate which sentence is ambiguous in the target document including a plurality of sentences, and display that the sentence has an ambiguous expression. . Note that the output unit specifies the sentence by changing the font size of the sentence, changing the font color of the sentence, or underlining the sentence, for example. The same applies to the following.
By the process shown in FIG. 7, when there are a plurality of noun candidates that fit the omitted case in the target document, it can be pointed out to the user that there is an ambiguous expression (an ambiguous abbreviated expression).

(指示語判定−事物)
指示先が不明瞭な指示語は、複数の解釈を生む可能性がある。したがって、以下では、情報処理装置1が、文において事物を表す指示語(これ、それ、あれ)が存在し、前記文を含む文書に前記指示語の指示先が複数存在するか否かを判定し、前記指示語の指示先が複数存在する場合、その旨を指摘するメッセージを表示する処理を説明する。
図8は、事物を表す指示語を含む文の一例を示す図である。
図9は、事物の指示語判定処理の一例を示すフローチャートである。
ステップS20において、判定部24は、対象文書に含まれる文の全てに対して以下に示すような検査を実行したか否かを判定する。判定部24は、対象文書に含まれる文の全てに対して以下に示すような検査を実行した場合、図9に示す処理を終了し、対象文書に含まれる文の全てに対して以下に示すような検査を実行していない場合、ステップS21に処理を進める。
ステップS21において、判定部24は、処理対象の文に事物の指示語が存在するか否かを判定する。判定部24は、処理対象の文に事物の指示語が存在する場合、処理をステップS22に進め、処理対処の文に事物の指示語が存在しない場合、処理をステップS20に戻す。
ステップS22において、判定部24は、事物の指示語に対応する格スロットの制約を取得する。例えば、判定部24は、図8に示すような文の場合、図5に示すような格フレームに基づき、事物の指示語(これが)に対応する格スロットの制約としてN1(機械/主体)を取得する。
(Indicator determination-things)
An instruction word whose destination is unclear may cause multiple interpretations. Therefore, in the following, the information processing apparatus 1 determines whether or not there is an instruction word (this, that, that) representing an object in a sentence, and there are a plurality of instruction destinations of the instruction word in a document including the sentence. Then, when there are a plurality of instruction destinations of the instruction word, a process for displaying a message indicating that will be described.
FIG. 8 is a diagram illustrating an example of a sentence including an instruction word representing a thing.
FIG. 9 is a flowchart illustrating an example of the instruction word determination process for things.
In step S <b> 20, the determination unit 24 determines whether the following inspection has been performed on all the sentences included in the target document. When the determination unit 24 performs the following inspection on all of the sentences included in the target document, the determination unit 24 ends the process illustrated in FIG. 9 and performs the following on all of the sentences included in the target document. If such inspection is not executed, the process proceeds to step S21.
In step S <b> 21, the determination unit 24 determines whether or not an instruction word for an object exists in the sentence to be processed. The determination unit 24 advances the process to step S22 when the instruction word for the object exists in the sentence to be processed, and returns the process to step S20 when the instruction word for the object does not exist in the sentence to be processed.
In step S <b> 22, the determination unit 24 acquires a case slot constraint corresponding to the instruction word of the thing. For example, in the case of the sentence as shown in FIG. 8, the determination unit 24 uses N1 (machine / subject) as the restriction of the case slot corresponding to the instruction word (this) based on the case frame as shown in FIG. get.

ステップS23において、判定部24は、シソーラス辞書34を用いて、ステップS22で取得した格スロットの制約を満たす意味素性を持つ名詞を、例えば、前記処理対象の文の前の文より検索(前方検索)する。上述した例を用いて説明すると、判定部24は、シソーラス辞書34を用いて、機械以下の意味素性を持つ名詞を、例えば前記処理対象の文の前の文より検索(前方検索)する。なお、判定部24は、例えば記憶装置13等に記憶されている設定ファイルの設定に応じて、前記設定の範囲内(例えば、処理対処の文を含んで3文以内、処理対処の文のゼロ代名詞を含んで50語以内等)で検索を実行する。
ステップS24において、判定部24は、ステップS23の前方検索の結果、ステップS22で取得した格スロットの制約を満たす意味素性を持つ名詞が2以上存在するか否かを判定する。判定部24は、前記名詞が2以上存在する場合、ステップS25に処理を進め、前記名詞が2以上存在しない場合、ステップS20に処理を戻す。
ステップS25において、出力部25は、文に曖昧な表現が存在する旨を、例えば、表示装置14に表示する。なお、出力部25は、複数の文を含む対象文書にうち、どの文に曖昧さがあるか、前記文を明示して、文に曖昧な表現が存在する旨を表示するようにしてもよい。
図9に示される処理により、事物を表す指示語の指示先が複数、対象文書に存在する場合、曖昧な表現(曖昧な指示表現)が存在する旨、ユーザに指摘することができる。
In step S23, the determination unit 24 uses the thesaurus dictionary 34 to search for a noun having a semantic feature that satisfies the restriction of the case slot acquired in step S22 from, for example, a sentence before the sentence to be processed (forward search). ) If it demonstrates using the example mentioned above, the judgment part 24 will search the noun which has the semantic feature below a machine using the thesaurus dictionary 34, for example from the sentence before the said process target sentence (forward search). Note that the determination unit 24, for example, within the range of the setting (for example, within 3 sentences including the processing action sentence, and zero of the processing action sentence according to the setting of the setting file stored in the storage device 13 or the like. Perform a search with up to 50 words including pronouns.
In step S24, the determination unit 24 determines whether there are two or more nouns having semantic features that satisfy the restriction of the case slot acquired in step S22 as a result of the forward search in step S23. When there are two or more nouns, the determination unit 24 proceeds to step S25. When there are two or more nouns, the determination unit 24 returns the process to step S20.
In step S25, the output unit 25 displays, for example, on the display device 14 that there is an ambiguous expression in the sentence. Note that the output unit 25 may clearly indicate which sentence is ambiguous in the target document including a plurality of sentences, and display that the sentence has an ambiguous expression. .
The processing shown in FIG. 9 can indicate to the user that there is an ambiguous expression (an ambiguous instruction expression) when there are a plurality of instruction destinations of instruction words representing things in the target document.

(不一致判定)
主語と述語とが一致していない場合、複数の解釈を生む可能性がある。したがって、以下では、情報処理装置1が、文に含まれる主語と述語とが一致しているか否かを判定し、一致していない場合、その旨を指摘するメッセージを表示する処理を説明する。
図10は、主語と述語とが一致していない文の一例を示す図である。
文が図10に示されるような
「ソフトウェアパッケージは」「プレゼンテーション用アプリケーションを」「まとめて」「インストールする」
の場合、格フレーム取得部23は、述語として「インストールする」の格フレームを格フレーム辞書33から取得する。ここで、図10に示されるように「インストールする」の格フレームには、
「N1がN2をインストールする」
と記述されている。
また、図10に示されるように、格フレームには、
「N1(機械/主体) N2(抽象)」
と記述されており、これは、上述したように格スロットの制約である。
(Disagreement judgment)
If the subject and predicate do not match, multiple interpretations can occur. Therefore, in the following, a process will be described in which the information processing apparatus 1 determines whether or not the subject and predicate included in the sentence match, and if they do not match, displays a message indicating that fact.
FIG. 10 is a diagram illustrating an example of a sentence in which the subject and the predicate do not match.
As shown in FIG. 10, the “software package”, “presentation application”, “collectively”, and “install”
In this case, the case frame acquisition unit 23 acquires the case frame “install” from the case frame dictionary 33 as a predicate. Here, as shown in FIG. 10, the “install” case frame includes
“N1 installs N2”
It is described.
Also, as shown in FIG.
"N1 (machine / subject) N2 (abstract)"
This is a limitation of the case slot as described above.

図11は、不一致判定処理の一例を示すフローチャートである。
ステップS30において、判定部24は、対象文書に含まれる文の全てに対して以下に示すような検査を実行したか否かを判定する。判定部24は、対象文書に含まれる文の全てに対して以下に示すような検査を実行した場合、図11に示す処理を終了し、対象文書に含まれる文の全てに対して以下に示すような検査を実行していない場合、ステップS31に処理を進める。
ステップS31において、判定部24は、処理対象の文の述語を修飾する"ガ格"の名詞が格フレームの"ガ格"の格スロットの制約を満たすか否かを判定する。判定部24は、処理対象の文の述語を修飾する"ガ格"の名詞が格フレームの"ガ格"の格スロットの制約を満たす場合、ステップS30の処理に戻り、処理対象の文の述語を修飾する"ガ格"の名詞が格フレームの"ガ格"の格スロットの制約を満たさない場合、ステップS32に処理を進める。
図10の例の場合、処理対象の文に述語を修飾する"ガ格"の名詞がないため、判定部24は、ステップS32に処理を進める。
FIG. 11 is a flowchart illustrating an example of the mismatch determination process.
In step S <b> 30, the determination unit 24 determines whether the following inspection has been performed on all the sentences included in the target document. When the determination unit 24 performs the following inspection on all the sentences included in the target document, the determination unit 24 ends the process illustrated in FIG. 11 and performs the following on all the sentences included in the target document. When such an inspection is not executed, the process proceeds to step S31.
In step S <b> 31, the determination unit 24 determines whether or not the “ga rating” noun that modifies the predicate of the sentence to be processed satisfies the restriction of the “ga rating” case slot of the case frame. If the noun of “ga case” that modifies the predicate of the sentence to be processed satisfies the restriction of the case slot of “ga case” in the case frame, the determination unit 24 returns to the process of step S30 and returns the predicate of the sentence to be processed. If the noun of “ga case” that modifies the case does not satisfy the restriction of the case slot of “ga case” of the case frame, the process proceeds to step S32.
In the case of the example in FIG. 10, since there is no “ga” noun that modifies the predicate in the sentence to be processed, the determination unit 24 advances the process to step S <b> 32.

ステップS32において、判定部24は、処理対象の文の述語を修飾する"ハ格"の名詞が格フレームの"ガ格"の格スロットの制約を満たすか否かを判定する。判定部24は、処理対象の文の述語を修飾する"ハ格"の名詞が格フレームの"ガ格"の格スロットの制約を満たす場合、ステップS30の処理に戻り、処理対象の文の述語を修飾する"ハ格"の名詞が格フレームの"ガ格"の格スロットの制約を満たさない場合、ステップS33に処理を進める。
図10の例の場合は、処理対象の文に述語を修飾する"ハ格"の名詞は、「ソフトウェアパッケージ」であり、格フレームの"ガ格"の格スロットの制約は、N1(機械/主体)であるため、判定部24は、格スロットの制約を満たさないと判定し、ステップS33に処理を進める。
出力部25は、文に曖昧な表現が存在する旨を、例えば、表示装置14に表示する。なお、出力部25は、複数の文を含む対象文書にうち、どの文に曖昧さがあるか、前記文を明示して、文に曖昧な表現が存在する旨を表示するようにしてもよい。
図11に示される処理により、主語と述語とが一致していない文が対象文書に存在する場合、曖昧な表現が存在する旨、ユーザに指摘することができる。
In step S <b> 32, the determination unit 24 determines whether or not the “Category” noun that modifies the predicate of the processing target statement satisfies the restriction of the case frame “Ga” case slot. If the noun of “Category” that modifies the predicate of the sentence to be processed satisfies the restriction of the case slot of the “case” in the case frame, the determination unit 24 returns to the process of step S30 and returns the predicate of the sentence to be processed. If the noun of “Category” that modifies “Case” does not satisfy the restriction of the case slot of “Case” of the case frame, the process proceeds to step S33.
In the case of the example of FIG. 10, the noun of “Case” that modifies the predicate in the statement to be processed is “Software Package”, and the restriction of the case slot of “Ga Case” in the case frame is N1 (machine / Therefore, the determination unit 24 determines that the restriction of the case slot is not satisfied, and proceeds to step S33.
The output unit 25 displays, for example, on the display device 14 that an ambiguous expression exists in the sentence. Note that the output unit 25 may clearly indicate which sentence is ambiguous in the target document including a plurality of sentences, and display that the sentence has an ambiguous expression. .
With the processing shown in FIG. 11, when a sentence in which the subject and the predicate do not match exists in the target document, it can be pointed out to the user that an ambiguous expression exists.

<実施形態2>
図12は、実施形態2における情報処理装置の機能構成の一例を示す図である。
図12に示されるように、実施形態2の情報処理装置1は、機能構成として、形態素解析部41と、判定部42と、出力部43と、を含む。なお、形態素辞書51及びシソーラス辞書52は、記憶装置13に記憶されているものとする。また、形態素辞書51及びシソーラス辞書52は、形態素辞書31及びシソーラス辞書34と同様のものである。
<Embodiment 2>
FIG. 12 is a diagram illustrating an example of a functional configuration of the information processing apparatus according to the second embodiment.
As illustrated in FIG. 12, the information processing apparatus 1 according to the second embodiment includes a morphological analysis unit 41, a determination unit 42, and an output unit 43 as functional configurations. It is assumed that the morpheme dictionary 51 and the thesaurus dictionary 52 are stored in the storage device 13. The morpheme dictionary 51 and the thesaurus dictionary 52 are the same as the morpheme dictionary 31 and the thesaurus dictionary 34.

形態素解析部41は、形態素辞書51を用いて、対象文書に含まれる文の形態素解析を行い、前記文を形態素に分割する。
判定部42は、形態素解析部21で形態素に分割された文を構成する形態素のなかに、シソーラス辞書34を用いて判断し、所定の指示語が存在するか否かを判断し、前記判断の結果に基づいて、前記文に誤解を招く曖昧な表現が存在するか否かを判定する。
出力部43は、判定部42において文に誤解を招く曖昧な表現が存在すると判定された場合、文に曖昧な表現が存在する旨を、例えば、表示装置14に表示する。なお、出力部43は、文に曖昧な表現が存在する旨を、表示装置14に出力する以外に、例えば、文に曖昧な表現が存在する旨を、例えば、音声で出力するようにしてもよい。
The morpheme analysis unit 41 uses the morpheme dictionary 51 to perform morpheme analysis of a sentence included in the target document and divide the sentence into morphemes.
The determination unit 42 makes a determination using the thesaurus dictionary 34 among the morphemes constituting the sentence divided into morphemes by the morpheme analysis unit 21, determines whether or not a predetermined directive word exists, Based on the result, it is determined whether there is an ambiguous expression that causes misunderstanding in the sentence.
If the determination unit 42 determines that an ambiguous expression that causes misunderstanding exists in the sentence, the output unit 43 displays, for example, on the display device 14 that the sentence has an ambiguous expression. The output unit 43 may output, for example, a voice indicating that an ambiguous expression is present, for example, in addition to outputting to the display device 14 that an ambiguous expression is present in the sentence. Good.

(指示語判定−場所)
指示先が不明瞭な指示語は、複数の解釈を生む可能性がある。したがって、以下では、情報処理装置1が、文において場所を表す指示語(ここ、そこ、あそこ)が存在し、前記文を含む文書に前記指示語の指示先が複数存在するか否かを判定し、前記指示語の指示先が複数存在する場合、その旨を指摘するメッセージを表示する処理を説明する。
図13は、場所の指示語判定処理の一例を示すフローチャートである。
ステップS40において、判定部42は、対象文書に含まれる文の全てに対して以下に示すような検査を実行したか否かを判定する。判定部42は、対象文書に含まれる文の全てに対して以下に示すような検査を実行した場合、図13に示す処理を終了し、対象文書に含まれる文の全てに対して以下に示すような検査を実行していない場合、ステップS41に処理を進める。
ステップS41において、判定部42は、処理対象の文に場所の指示語が存在するか否かを判定する。判定部42は、処理対象の文に場所の指示語が存在する場合、処理をステップS42に進め、処理対処の文に場所の指示語が存在しない場合、処理をステップS40に戻る。
(Indicator judgment-location)
An instruction word whose destination is unclear may cause multiple interpretations. Therefore, in the following, the information processing apparatus 1 determines whether or not there is an instruction word (here, there, there) representing a place in a sentence, and there are a plurality of instruction destinations of the instruction word in a document including the sentence. Then, when there are a plurality of instruction destinations of the instruction word, a process for displaying a message indicating that will be described.
FIG. 13 is a flowchart illustrating an example of a place instruction word determination process.
In step S <b> 40, the determination unit 42 determines whether or not the following inspection has been performed on all the sentences included in the target document. When the determination unit 42 performs the following inspection on all the sentences included in the target document, the determination unit 42 ends the processing illustrated in FIG. 13 and performs the following on all the sentences included in the target document. If such inspection is not executed, the process proceeds to step S41.
In step S <b> 41, the determination unit 42 determines whether there is a place instruction word in the sentence to be processed. The determination unit 42 advances the process to step S42 when the place instruction word is present in the sentence to be processed, and returns the process to step S40 when the place instruction word does not exist in the sentence to be processed.

ステップS42において、判定部42は、シソーラス辞書34を用いて、場所以下の意味素性を持つ名詞を、例えば前記処理対象の文の前の文より検索(前方検索)する。なお、判定部42は、例えば記憶装置13等に記憶されている設定ファイルの設定に応じて、前記設定の範囲内(例えば、処理対処の文を含んで3文以内、処理対処の文の場所の指示語を含んで50語以内等)で検索を実行する。
ステップS43において、判定部42は、ステップS42の前方検索の結果、場所以下の意味素性を持つ名詞が2以上存在するか否かを判定する。判定部42は、前記名詞が2以上存在する場合、ステップS44に処理を進め、前記名詞が2以上存在しない場合、ステップS40に処理を戻す。
ステップS44において、出力部43は、文に曖昧な表現が存在する旨を、例えば、表示装置14に表示する。なお、出力部43は、複数の文を含む対象文書にうち、どの文に曖昧さがあるか、前記文を明示して、文に曖昧な表現が存在する旨を表示するようにしてもよい。
図13に示される処理により、場所を表す指示語の指示先が複数、対象文書に存在する場合、曖昧な表現(曖昧な指示表現)が存在する旨、ユーザに指摘することができる。
In step S42, the determination unit 42 uses the thesaurus dictionary 34 to search (forward search) for a noun having a semantic feature below the place, for example, from a sentence before the sentence to be processed. For example, the determination unit 42 determines the location of the processing coping sentence within the setting range (for example, within three sentences including the processing coping sentence, depending on the setting of the setting file stored in the storage device 13 or the like. The search is executed within 50 words including the instruction word.
In step S43, the determination unit 42 determines whether there are two or more nouns having semantic features below the place as a result of the forward search in step S42. When there are two or more nouns, the determination unit 42 proceeds to step S44. When there are two or more nouns, the determination unit 42 returns the process to step S40.
In step S44, the output unit 43 displays, for example, on the display device 14 that there is an ambiguous expression in the sentence. Note that the output unit 43 may indicate which sentence in the target document including a plurality of sentences is ambiguous, clearly indicate the sentence, and display that the sentence has an ambiguous expression. .
The processing shown in FIG. 13 can indicate to the user that there is an ambiguous expression (an ambiguous instruction expression) when there are a plurality of instruction destinations of the instruction word representing the place in the target document.

(指示語判定―人称)
指示先が不明瞭な指示語は、複数の解釈を生む可能性がある。したがって、以下では、情報処理装置1が、文において人称(人)を表す指示語(こいつ、そいつ、あいつ)が存在し、前記文を含む文書に前記指示語の指示先が複数存在するか否かを判定し、前記指示語の指示先が複数存在する場合、その旨を指摘するメッセージを表示する処理を説明する。
図14は、人称の指示語判定処理の一例を示すフローチャートである。
ステップS50において、判定部42は、対象文書に含まれる文の全てに対して以下に示すような検査を実行したか否かを判定する。判定部42は、対象文書に含まれる文の全てに対して以下に示すような検査を実行した場合、図14に示すような処理を終了し、対象文書に含まれる文の全てに対して以下に示すような検査を実行していない場合、ステップS51に処理を進める。
ステップS51において、判定部42は、処理対象の文に人称の指示語が存在するか否かを判定する。判定部42は、処理対象の文に人称の指示語が存在する場合、処理をステップS52に進め、処理対処の文に人称の指示語が存在しない場合、処理をステップS50に戻る。
(Indicator judgment-personal)
An instruction word whose destination is unclear may cause multiple interpretations. Accordingly, in the following, the information processing apparatus 1 indicates whether or not there is an instruction word (a person, person, or person) representing a person (person) in a sentence, and there are a plurality of instruction destinations of the instruction word in a document including the sentence. When there are a plurality of instruction destinations of the instruction word, a process for displaying a message indicating that will be described.
FIG. 14 is a flowchart illustrating an example of a personal instruction word determination process.
In step S <b> 50, the determination unit 42 determines whether the following inspection has been performed on all the sentences included in the target document. When the determination unit 42 performs the following inspection on all the sentences included in the target document, the determination unit 42 ends the process illustrated in FIG. 14 and performs the following on all the sentences included in the target document. If the inspection as shown in FIG. 6 is not executed, the process proceeds to step S51.
In step S51, the determination unit 42 determines whether or not a personal instruction word exists in the sentence to be processed. The determination unit 42 proceeds with the process to step S52 when the personal instruction word is present in the sentence to be processed, and returns the process to step S50 when the personal instruction word does not exist in the sentence to be processed.

ステップS52において、判定部42は、シソーラス辞書34を用いて、人以下の意味素性を持つ名詞を、例えば前記処理対象の文の前の文より検索(前方検索)する。なお、判定部42は、例えば記憶装置13等に記憶されている設定ファイルの設定に応じて、前記設定の範囲内(例えば、処理対処の文を含んで3文以内、処理対処の文の人称の指示語を含んで50語以内等)で検索を実行する。
ステップS53において、判定部42は、ステップS52の前方検索の結果、人以下の意味素性を持つ名詞が2以上存在するか否かを判定する。判定部42は、前記名詞が2以上存在する場合、ステップS54に処理を進め、前記名詞が2以上存在しない場合、ステップS50に処理を戻す。
ステップS54において、出力部43は、文に曖昧な表現が存在する旨を、例えば、表示装置14に表示する。なお、出力部43は、複数の文を含む対象文書にうち、どの文に曖昧さがあるか、前記文を明示して、文に曖昧な表現が存在する旨を表示するようにしてもよい。
図14に示される処理により、人称を表す指示語の指示先が複数、対象文書に存在する場合、曖昧な表現(曖昧な指示表現)が存在する旨、ユーザに指摘することができる。
In step S <b> 52, the determination unit 42 uses the thesaurus dictionary 34 to search (forward search) for a noun having a semantic feature equal to or less than that of a person, for example, from a sentence before the sentence to be processed. For example, the determination unit 42 is within the range of the setting (for example, within 3 sentences including the sentence to deal with processing, and the personality of the sentence to deal with processing according to the setting of the setting file stored in the storage device 13 or the like. The search is executed within 50 words including the instruction word.
In step S53, the determination unit 42 determines whether or not there are two or more nouns having a semantic feature equal to or less than a person as a result of the forward search in step S52. When there are two or more nouns, the determination unit 42 proceeds to step S54. When there are two or more nouns, the determination unit 42 returns the process to step S50.
In step S54, the output unit 43 displays, for example, on the display device 14 that there is an ambiguous expression in the sentence. Note that the output unit 43 may indicate which sentence in the target document including a plurality of sentences is ambiguous, clearly indicate the sentence, and display that the sentence has an ambiguous expression. .
The processing shown in FIG. 14 can indicate to the user that there is an ambiguous expression (an ambiguous instruction expression) when there are a plurality of instruction destinations of instruction words representing a person in the target document.

(指示語判定―連体)
指示先が不明瞭な指示語は、複数の解釈を生む可能性がある。したがって、以下では、情報処理装置1が、文において連体を表す指示語(この、その、あの)が存在し、前記文を含む文書に前記指示語の指示先が複数存在するか否かを判定し、前記指示語の指示先が複数存在する場合、その旨を指定するメッセージを表示する処理を説明する。
図15は、連体の指示語判定処理の一例を示すフローチャートである。
ステップS60において、判定部42は、対象文書に含まれる文の全てに対して以下に示すような検査を実行したか否かを判定する。判定部42は、対象文書に含まれる文の全てに対して以下に示すような検査を実行した場合、図15に示すような処理を終了し、対象文書に含まれる文の全てに対して以下に示すような検査を実行していない場合、ステップS61に処理を進める。
ステップS61において、判定部42は、処理対象の文に連体の指示語が存在するか否かを判定する。判定部42は、処理対象の文に連体の指示語が存在する場合、処理をステップS62に進め、処理対処の文に連体の指示語が存在しない場合、処理をステップS60に戻る。
(Indicator judgment-linkage)
An instruction word whose destination is unclear may cause multiple interpretations. Therefore, in the following, the information processing apparatus 1 determines whether or not there is an instruction word (that, that) that indicates a combination in a sentence, and there are a plurality of instruction destinations of the instruction word in a document including the sentence. Then, when there are a plurality of instruction destinations of the instruction word, a process for displaying a message for specifying that will be described.
FIG. 15 is a flowchart illustrating an example of a combined instruction word determination process.
In step S60, the determination unit 42 determines whether or not the following inspection has been performed on all the sentences included in the target document. When the determination unit 42 performs the following inspection on all the sentences included in the target document, the determination unit 42 ends the processing illustrated in FIG. If the inspection as shown in FIG. 6 is not executed, the process proceeds to step S61.
In step S <b> 61, the determination unit 42 determines whether or not a combined instruction word exists in the sentence to be processed. The determination unit 42 proceeds with the process to step S62 if the instruction to be processed has a linked instruction word, and returns the process to step S60 if the instruction to have a combination does not have the instruction word for processing.

ステップS62において、判定部42は、連体の指示語の修飾する体言を取得する。例えば、判定部42は、「あの人」のような場合、「人」を連体の指示語の修飾する体言として取得する。同様に、判定部42は、「この場所」のような場合、「場所」を連体の指示語の修飾する体言として取得する。また、判定部42は、「あのサーバ」のような場合、「サーバ」を連体の指示語の修飾する体言として取得する。
ステップS63において、判定部42は、シソーラス辞書34を用いて、ステップS62で取得した体言以下の意味素性を持つ名詞を、例えば前記処理対象の文の前の文より検索(前方検索)する。なお、判定部42は、例えば記憶装置13等に記憶されている設定ファイルの設定に応じて、前記設定の範囲内(例えば、処理対処の文を含んで3文以内、処理対処の文の人称の指示語を含んで50語以内等)で検索を実行する。
ステップS64において、判定部42は、ステップS63の前方検索の結果、前記体言以下の意味素性を持つ名詞が2以上存在するか否かを判定する。判定部42は、前記名詞が2以上存在する場合、ステップS64に処理を進め、前記名詞が2以上存在しない場合、ステップS60に処理を戻す。
ステップS65において、出力部43は、文に曖昧な表現が存在する旨を、例えば、表示装置14に表示する。なお、出力部43は、複数の文を含む対象文書にうち、どの文に曖昧さがあるか、前記文を明示して、文に曖昧な表現が存在する旨を表示するようにしてもよい。
図15に示される処理により、連体を表す指示語の指示先が複数、対象文書に存在する場合、曖昧な表現(曖昧な指示表現)が存在する旨、ユーザに指摘することができる。
In step S <b> 62, the determination unit 42 acquires a statement that modifies the combined instruction word. For example, in the case of “that person”, the determination unit 42 acquires “person” as a description that modifies the instruction word of the combination. Similarly, in the case of “this place”, the determination unit 42 acquires “place” as a description that modifies the instruction word of the continuous body. In addition, in the case of “that server”, the determination unit 42 acquires “server” as a statement that modifies the instruction word of the combination.
In step S63, using the thesaurus dictionary 34, the determination unit 42 searches for a noun having a semantic feature equal to or less than the body acquired in step S62, for example, from the sentence before the sentence to be processed (forward search). For example, the determination unit 42 is within the range of the setting (for example, within 3 sentences including the sentence to deal with processing, and the personality of the sentence to deal with processing according to the setting of the setting file stored in the storage device 13 or the like. The search is executed within 50 words including the instruction word.
In step S64, the determination unit 42 determines whether or not there are two or more nouns having a semantic feature equal to or less than the above-mentioned body as a result of the forward search in step S63. When there are two or more nouns, the determination unit 42 proceeds to step S64. When there are two or more nouns, the determination unit 42 returns the process to step S60.
In step S65, the output unit 43 displays, for example, on the display device 14 that there is an ambiguous expression in the sentence. Note that the output unit 43 may indicate which sentence in the target document including a plurality of sentences is ambiguous, clearly indicate the sentence, and display that the sentence has an ambiguous expression. .
The processing shown in FIG. 15 can indicate to the user that there is an ambiguous expression (an ambiguous instruction expression) when there are a plurality of instruction destinations of instruction words representing a combination in the target document.

以上、上述した各実施形態によれば、対象文書から誤解を招く曖昧な表現を見つけることができる。   As described above, according to each embodiment described above, an ambiguous expression that causes misunderstanding can be found from the target document.

以上、本発明の好ましい実施形態について詳述したが、本発明は係る特定の実施形態に限定されるものではなく、特許請求の範囲に記載された本発明の要旨の範囲内において、種々の変形・変更が可能である。
例えば、形態素解析部41の処理を形態素解析部21が行ってもよい。また、判定部42の処理を判定部24が行ってもよい。また、出力部43の処理を出力部25が行ってもよい。
情報処理装置1は、対象文書に含まれる全ての文に対して上述した各フローチャートの判定処理を実行してもよいし、設定ファイル等の設定に応じて、ユーザに設定されたフローチャートの判定処理だけを実行してもよい。
The preferred embodiments of the present invention have been described in detail above, but the present invention is not limited to such specific embodiments, and various modifications can be made within the scope of the gist of the present invention described in the claims.・ Change is possible.
For example, the process of the morpheme analysis unit 41 may be performed by the morpheme analysis unit 21. Further, the determination unit 24 may perform the processing of the determination unit 42. The output unit 25 may perform the process of the output unit 43.
The information processing apparatus 1 may execute the determination processing of each flowchart described above on all sentences included in the target document, or the determination processing of the flowchart set by the user according to the setting of the setting file or the like. You may only do it.

1 情報処理装置
11 CPU
12 入力装置
13 記憶装置
14 表示装置
1 Information processing apparatus 11 CPU
12 Input device 13 Storage device 14 Display device

Claims (12)

対象文書に含まれる文の形態素解析を行い、前記文を形態素に分割する形態素解析手段と、
前記形態素解析手段で形態素に分割された文を構成する形態素間の係り受け解析を行う係り受け解析手段と、
前記係り受け解析手段での係り受け解析の結果に基づいて、文に含まれる述語に該当する格フレームを格フレーム辞書から取得する格フレーム取得手段と、
前記形態素解析手段で形態素に分割された文を構成する複数の形態素のなかに、前記格フレーム取得手段で取得された格フレームに含まれる格スロットの制約を満たす形態素が存在するか否か、意味で語が階層化され整理された辞書であるシソーラス辞書を用いて判断し、前記複数の形態素のなかに、前記格フレームに含まれる格スロットの制約を満たす形態素が存在しないと判断した場合、前記シソーラス辞書を用いて、前記制約を満たす意味を持つ名詞の形態素を、前記制約を満たす形態素が存在すべき位置より前方に対して設定された範囲内において検索し、検索の結果、該当する設定値以上の名詞の形態素が存在する場合、前記文に誤解を招く曖昧な表現が存在すると判定する判定手段と、
前記判定手段で前記文に誤解を招く曖昧な表現が存在すると判定された場合、文に曖昧な表現が存在する旨のメッセージを出力する出力手段と、
を有する情報処理装置。
Morphological analysis means for performing morphological analysis of a sentence included in the target document and dividing the sentence into morphemes;
Dependency analysis means for performing dependency analysis between morphemes constituting a sentence divided into morphemes by the morpheme analysis means;
Case frame acquisition means for acquiring a case frame corresponding to a predicate included in a sentence from a case frame dictionary based on the result of dependency analysis by the dependency analysis means;
Meaning whether or not there is a morpheme satisfying the restriction of the case slot included in the case frame acquired by the case frame acquisition unit among the plurality of morphemes constituting the sentence divided into morphemes by the morpheme analysis unit In the case where it is determined using a thesaurus dictionary that is a dictionary in which words are hierarchized and organized, and it is determined that there is no morpheme satisfying the restriction of the case slot included in the case frame among the plurality of morphemes, Using a thesaurus dictionary, search for a morpheme of a noun having a meaning satisfying the constraint within a range set forward from a position where the morpheme satisfying the constraint should exist, and as a result of the search, the corresponding set value When the morpheme of the above noun exists, a determination unit that determines that there is an ambiguous expression that causes misunderstanding in the sentence ,
An output means for outputting a message to the effect that an ambiguous expression exists in a sentence when the determination means determines that an ambiguous expression that causes misunderstanding exists in the sentence;
An information processing apparatus.
対象文書に含まれる文の形態素解析を行い、前記文を形態素に分割する形態素解析手段と、Morphological analysis means for performing morphological analysis of a sentence included in the target document and dividing the sentence into morphemes;
前記形態素解析手段で形態素に分割された文を構成する形態素間の係り受け解析を行う係り受け解析手段と、Dependency analysis means for performing dependency analysis between morphemes constituting a sentence divided into morphemes by the morpheme analysis means;
前記係り受け解析手段での係り受け解析の結果に基づいて、文に含まれる述語に該当する格フレームを格フレーム辞書から取得する格フレーム取得手段と、Case frame acquisition means for acquiring a case frame corresponding to a predicate included in a sentence from a case frame dictionary based on the result of dependency analysis by the dependency analysis means;
前記形態素解析手段で形態素に分割された文を構成する複数の形態素のなかに、前記格フレーム取得手段で取得された格フレームに含まれる格スロットの制約を満たす形態素が存在するか否か、意味で語が階層化され整理された辞書であるシソーラス辞書を用いて判断し、前記複数の形態素のなかに、前記格フレームに含まれる格スロットの制約を満たす形態素が存在しないと判断し、かつ、前記制約を満たす形態素が存在すべき位置の形態素が事物を指示する指示語であると判断した場合、前記シソーラス辞書を用いて、前記制約を満たす意味を待つ名詞の形態素を、前記指示語が存在する位置より前方に対して設定された範囲内において検索し、検索の結果、該当する設定値以上の名詞の形態素が存在する場合、前記文に誤解を招く曖昧な表現が存在すると判定する判定手段と、Meaning whether or not there is a morpheme satisfying the restriction of the case slot included in the case frame acquired by the case frame acquisition unit among the plurality of morphemes constituting the sentence divided into morphemes by the morpheme analysis unit Determining using a thesaurus dictionary that is a dictionary in which words are hierarchized and organized, determining that there is no morpheme satisfying the restriction of a case slot included in the case frame among the plurality of morphemes, and When it is determined that a morpheme at a position where a morpheme satisfying the constraint should be an instruction word indicating an object, the vocabulary is a noun morpheme that waits for a meaning satisfying the constraint using the thesaurus dictionary. If there is a noun morpheme that is equal to or higher than the set value as a result of searching within the range set forward from the position where A determination unit and expression is present,
前記判定手段で前記文に誤解を招く曖昧な表現が存在すると判定された場合、文に曖昧な表現が存在する旨のメッセージを出力する出力手段と、An output means for outputting a message to the effect that an ambiguous expression exists in a sentence when the determination means determines that an ambiguous expression that causes misunderstanding exists in the sentence;
を有する情報処理装置。An information processing apparatus.
対象文書に含まれる文の形態素解析を行い、前記文を形態素に分割する形態素解析手段と、Morphological analysis means for performing morphological analysis of a sentence included in the target document and dividing the sentence into morphemes;
意味で語が階層化され整理された辞書であるシソーラス辞書を用いて、前記形態素解析手段で形態素に分割された文を構成する形態素のなかに場所を表す指示語が存在するか否かを判断し、前記文を構成する形態素のなかに場所を表す指示語が存在すると判断した場合、前記シソーラス辞書において前記場所より下位に属する意味を持つ名詞の形態素を、前記指示語が存在する位置より前方に対して設定された範囲内において検索し、検索の結果、該当する設定値以上の名詞の形態素が存在する場合、前記文に誤解を招く曖昧な表現が存在すると判定する判定手段と、Using a thesaurus dictionary that is a dictionary in which words are hierarchized and organized in meaning, it is determined whether or not an instruction word representing a place exists in a morpheme that constitutes a sentence divided into morphemes by the morpheme analysis means. If it is determined that a vocabulary representing a place exists in the morphemes constituting the sentence, a morpheme of a noun having a meaning belonging to a position lower than the place in the thesaurus dictionary is forward of the position where the directional word is present. A determination means for determining that there is an ambiguous expression that causes misunderstanding in the sentence when there is a morpheme of a noun that is equal to or greater than a corresponding set value as a result of the search within the range set for
前記判定手段で前記文に誤解を招く曖昧な表現が存在すると判定された場合、文に曖昧な表現が存在する旨のメッセージを出力する出力手段と、An output means for outputting a message to the effect that an ambiguous expression exists in a sentence when the determination means determines that an ambiguous expression that causes misunderstanding exists in the sentence;
を有する情報処理装置。An information processing apparatus.
対象文書に含まれる文の形態素解析を行い、前記文を形態素に分割する形態素解析手段と、Morphological analysis means for performing morphological analysis of a sentence included in the target document and dividing the sentence into morphemes;
意味で語が階層化され整理された辞書であるシソーラス辞書を用いて、前記形態素解析手段で形態素に分割された文を構成する形態素のなかに人を表す指示語が存在するか否かを判断し、前記文を構成する形態素のなかに人を表す指示語が存在すると判断した場合、前記シソーラス辞書において前記人より下位に属する意味を待つ名詞の形態素を、前記指示語が存在する位置より前方に対して設定された範囲内において検索し、検索の結果、該当する設定値以上の名詞の形態素が存在する場合、前記文に誤解を招く曖昧な表現が存在すると判定する判定手段と、Using a thesaurus dictionary that is a dictionary in which words are hierarchized and organized in meaning, it is determined whether or not an instruction word representing a person exists in a morpheme constituting a sentence divided into morphemes by the morpheme analysis means. If it is determined that there is a directive representing the person in the morphemes constituting the sentence, the morpheme of a noun that waits for a meaning belonging to a position lower than the person in the thesaurus dictionary is forward of the position where the directive is present. A determination means for determining that there is an ambiguous expression that causes misunderstanding in the sentence when there is a morpheme of a noun that is equal to or greater than a corresponding set value as a result of the search within the range set for
前記判定手段で前記文に誤解を招く曖昧な表現が存在すると判定された場合、文に曖昧な表現が存在する旨のメッセージを出力する出力手段と、An output means for outputting a message to the effect that an ambiguous expression exists in a sentence when the determination means determines that an ambiguous expression that causes misunderstanding exists in the sentence;
を有する情報処理装置。An information processing apparatus.
情報処理装置が実行する情報処理方法であって、An information processing method executed by an information processing apparatus,
対象文書に含まれる文の形態素解析を行い、前記文を形態素に分割する形態素解析ステップと、A morphological analysis step of performing morphological analysis of a sentence included in the target document and dividing the sentence into morphemes;
前記形態素解析ステップで形態素に分割された文を構成する形態素間の係り受け解析を行う係り受け解析ステップと、A dependency analysis step for performing dependency analysis between morphemes constituting the sentence divided into morphemes in the morpheme analysis step;
前記係り受け解析ステップでの係り受け解析の結果に基づいて、文に含まれる述語に該当する格フレームを格フレーム辞書から取得する格フレーム取得ステップと、Based on the result of dependency analysis in the dependency analysis step, a case frame acquisition step of acquiring a case frame corresponding to a predicate included in a sentence from a case frame dictionary;
前記形態素解析ステップで形態素に分割された文を構成する複数の形態素のなかに、前記格フレーム取得ステップで取得された格フレームに含まれる格スロットの制約を満たす形態素が存在するか否か、意味で語が階層化され整理された辞書であるシソーラス辞書を用いて判断し、前記複数の形態素のなかに、前記格フレームに含まれる格スロットの制約を満たす形態素が存在しないと判断した場合、前記シソーラス辞書を用いて、前記制約を満たす意味を持つ名詞の形態素を、前記制約を満たす形態素が存在すべき位置より前方に対して設定された範囲内において検索し、検索の結果、該当する設定値以上の名詞の形態素が存在する場合、前記文に誤解を招く曖昧な表現が存在すると判定する判定ステップと、Meaning whether or not there is a morpheme that satisfies the restriction of the case slot included in the case frame acquired in the case frame acquisition step among the plurality of morphemes constituting the sentence divided into morphemes in the morpheme analysis step In the case where it is determined using a thesaurus dictionary that is a dictionary in which words are hierarchized and organized, and it is determined that there is no morpheme satisfying the restriction of the case slot included in the case frame among the plurality of morphemes, Using a thesaurus dictionary, search for a morpheme of a noun having a meaning satisfying the constraint within a range set forward from a position where the morpheme satisfying the constraint should exist, and as a result of the search, the corresponding set value A determination step of determining that there is an ambiguous expression that causes misunderstanding in the sentence when the morphemes of the above nouns exist;
前記判定ステップで前記文に誤解を招く曖昧な表現が存在すると判定された場合、文に曖昧な表現が存在する旨のメッセージを出力する出力ステップと、An output step of outputting a message that there is an ambiguous expression in the sentence when it is determined in the determination step that an ambiguous expression that causes misunderstanding exists in the sentence;
を含む情報処理方法。An information processing method including:
情報処理装置が実行する情報処理方法であって、An information processing method executed by an information processing apparatus,
対象文書に含まれる文の形態素解析を行い、前記文を形態素に分割する形態素解析ステップと、A morphological analysis step of performing morphological analysis of a sentence included in the target document and dividing the sentence into morphemes;
前記形態素解析ステップで形態素に分割された文を構成する形態素間の係り受け解析を行う係り受け解析ステップと、A dependency analysis step for performing dependency analysis between morphemes constituting the sentence divided into morphemes in the morpheme analysis step;
前記係り受け解析ステップでの係り受け解析の結果に基づいて、文に含まれる述語に該当する格フレームを格フレーム辞書から取得する格フレーム取得ステップと、Based on the result of dependency analysis in the dependency analysis step, a case frame acquisition step of acquiring a case frame corresponding to a predicate included in a sentence from a case frame dictionary;
前記形態素解析ステップで形態素に分割された文を構成する複数の形態素のなかに、前記格フレーム取得ステップで取得された格フレームに含まれる格スロットの制約を満たす形態素が存在するか否か、意味で語が階層化され整理された辞書であるシソーラス辞書を用いて判断し、前記複数の形態素のなかに、前記格フレームに含まれる格スロットの制約を満たす形態素が存在しないと判断し、かつ、前記制約を満たす形態素が存在すべき位置の形態素が事物を指示する指示語であると判断した場合、前記シソーラス辞書を用いて、前記制約を満たす意味を待つ名詞の形態素を、前記指示語が存在する位置より前方に対して設定された範囲内において検索し、検索の結果、該当する設定値以上の名詞の形態素が存在する場合、前記文に誤解を招く曖昧な表現が存在すると判定する判定ステップと、Meaning whether or not there is a morpheme that satisfies the restriction of the case slot included in the case frame acquired in the case frame acquisition step among the plurality of morphemes constituting the sentence divided into morphemes in the morpheme analysis step Determining using a thesaurus dictionary that is a dictionary in which words are hierarchized and organized, determining that there is no morpheme satisfying the restriction of a case slot included in the case frame among the plurality of morphemes, and When it is determined that a morpheme at a position where a morpheme satisfying the constraint should be an instruction word indicating an object, the vocabulary is a noun morpheme that waits for a meaning satisfying the constraint using the thesaurus dictionary. Search within the range set forward from the position where the noun morpheme has a noun morpheme that is equal to or greater than the set value as a result of the search. Ku and determining steps the ambiguity is present,
前記判定ステップで前記文に誤解を招く曖昧な表現が存在すると判定された場合、文に曖昧な表現が存在する旨のメッセージを出力する出力ステップと、An output step of outputting a message that there is an ambiguous expression in the sentence when it is determined in the determination step that an ambiguous expression that causes misunderstanding exists in the sentence;
を含む情報処理方法。An information processing method including:
情報処理装置が実行する情報処理方法であって、An information processing method executed by an information processing apparatus,
対象文書に含まれる文の形態素解析を行い、前記文を形態素に分割する形態素解析ステップと、A morphological analysis step of performing morphological analysis of a sentence included in the target document and dividing the sentence into morphemes;
意味で語が階層化され整理された辞書であるシソーラス辞書を用いて、前記形態素解析ステップで形態素に分割された文を構成する形態素のなかに場所を表す指示語が存在するか否かを判断し、前記文を構成する形態素のなかに場所を表す指示語が存在すると判断した場合、前記シソーラス辞書において前記場所より下位に属する意味を持つ名詞の形態素を、前記指示語が存在する位置より前方に対して設定された範囲内において検索し、検索の結果、該当する設定値以上の名詞の形態素が存在する場合、前記文に誤解を招く曖昧な表現が存在すると判定する判定ステップと、Using a thesaurus dictionary that is a dictionary in which words are hierarchized and organized in meaning, it is determined whether or not there is an instruction word representing a place in a morpheme constituting a sentence divided into morphemes in the morpheme analysis step. If it is determined that a vocabulary representing a place exists in the morphemes constituting the sentence, a morpheme of a noun having a meaning belonging to a position lower than the place in the thesaurus dictionary is forward of the position where the directional word is present. A determination step that determines that there is an ambiguous expression that causes misunderstanding in the sentence when there is a morpheme of a noun that is equal to or greater than the corresponding set value as a result of the search within the range set for
前記判定ステップで前記文に誤解を招く曖昧な表現が存在すると判定された場合、文に曖昧な表現が存在する旨のメッセージを出力する出力ステップと、An output step of outputting a message that there is an ambiguous expression in the sentence when it is determined in the determination step that an ambiguous expression that causes misunderstanding exists in the sentence;
を含む情報処理方法。An information processing method including:
情報処理装置が実行する情報処理方法であって、An information processing method executed by an information processing apparatus,
対象文書に含まれる文の形態素解析を行い、前記文を形態素に分割する形態素解析ステップと、A morphological analysis step of performing morphological analysis of a sentence included in the target document and dividing the sentence into morphemes;
意味で語が階層化され整理された辞書であるシソーラス辞書を用いて、前記形態素解析ステップで形態素に分割された文を構成する形態素のなかに人を表す指示語が存在するか否かを判断し、前記文を構成する形態素のなかに人を表す指示語が存在すると判断した場合、前記シソーラス辞書において前記人より下位に属する意味を待つ名詞の形態素を、前記指示語が存在する位置より前方に対して設定された範囲内において検索し、検索の結果、該当する設定値以上の名詞の形態素が存在する場合、前記文に誤解を招く曖昧な表現が存在すると判定する判定ステップと、Using a thesaurus dictionary, which is a dictionary in which words are hierarchized and organized in meaning, determine whether or not there is an instruction word representing a person in the morpheme constituting the sentence divided into morphemes in the morpheme analysis step. If it is determined that there is a directive representing the person in the morphemes constituting the sentence, the morpheme of a noun that waits for a meaning belonging to a position lower than the person in the thesaurus dictionary is forward of the position where the directive is present. A determination step that determines that there is an ambiguous expression that causes misunderstanding in the sentence when there is a morpheme of a noun that is equal to or greater than the corresponding set value as a result of the search within the range set for
前記判定ステップで前記文に誤解を招く曖昧な表現が存在すると判定された場合、文に曖昧な表現が存在する旨のメッセージを出力する出力ステップと、An output step of outputting a message that there is an ambiguous expression in the sentence when it is determined in the determination step that an ambiguous expression that causes misunderstanding exists in the sentence;
を含む情報処理方法。An information processing method including:
コンピュータに、On the computer,
対象文書に含まれる文の形態素解析を行い、前記文を形態素に分割する形態素解析ステップと、A morphological analysis step of performing morphological analysis of a sentence included in the target document and dividing the sentence into morphemes;
前記形態素解析ステップで形態素に分割された文を構成する形態素間の係り受け解析を行う係り受け解析ステップと、A dependency analysis step for performing dependency analysis between morphemes constituting the sentence divided into morphemes in the morpheme analysis step;
前記係り受け解析ステップでの係り受け解析の結果に基づいて、文に含まれる述語に該当する格フレームを格フレーム辞書から取得する格フレーム取得ステップと、Based on the result of dependency analysis in the dependency analysis step, a case frame acquisition step of acquiring a case frame corresponding to a predicate included in a sentence from a case frame dictionary;
前記形態素解析ステップで形態素に分割された文を構成する複数の形態素のなかに、前記格フレーム取得ステップで取得された格フレームに含まれる格スロットの制約を満たす形態素が存在するか否か、意味で語が階層化され整理された辞書であるシソーラス辞書を用いて判断し、前記複数の形態素のなかに、前記格フレームに含まれる格スロットの制約を満たす形態素が存在しないと判断した場合、前記シソーラス辞書を用いて、前記制約を満たす意味を持つ名詞の形態素を、前記制約を満たす形態素が存在すべき位置より前方に対して設定された範囲内において検索し、検索の結果、該当する設定値以上の名詞の形態素が存在する場合、前記文に誤解を招く曖昧な表現が存在すると判定する判定ステップと、Meaning whether or not there is a morpheme that satisfies the restriction of the case slot included in the case frame acquired in the case frame acquisition step among the plurality of morphemes constituting the sentence divided into morphemes in the morpheme analysis step In the case where it is determined using a thesaurus dictionary that is a dictionary in which words are hierarchized and organized, and it is determined that there is no morpheme satisfying the restriction of the case slot included in the case frame among the plurality of morphemes, Using a thesaurus dictionary, search for a morpheme of a noun having a meaning satisfying the constraint within a range set forward from a position where the morpheme satisfying the constraint should exist, and as a result of the search, the corresponding set value A determination step of determining that there is an ambiguous expression that causes misunderstanding in the sentence when the morphemes of the above nouns exist;
前記判定ステップで前記文に誤解を招く曖昧な表現が存在すると判定された場合、文に曖昧な表現が存在する旨のメッセージを出力する出力ステップと、An output step of outputting a message that there is an ambiguous expression in the sentence when it is determined in the determination step that an ambiguous expression that causes misunderstanding exists in the sentence;
を実行させるためのプログラム。A program for running
コンピュータに、On the computer,
対象文書に含まれる文の形態素解析を行い、前記文を形態素に分割する形態素解析ステップと、A morphological analysis step of performing morphological analysis of a sentence included in the target document and dividing the sentence into morphemes;
前記形態素解析ステップで形態素に分割された文を構成する形態素間の係り受け解析を行う係り受け解析ステップと、A dependency analysis step for performing dependency analysis between morphemes constituting the sentence divided into morphemes in the morpheme analysis step;
前記係り受け解析ステップでの係り受け解析の結果に基づいて、文に含まれる述語に該当する格フレームを格フレーム辞書から取得する格フレーム取得ステップと、Based on the result of dependency analysis in the dependency analysis step, a case frame acquisition step of acquiring a case frame corresponding to a predicate included in a sentence from a case frame dictionary;
前記形態素解析ステップで形態素に分割された文を構成する複数の形態素のなかに、前記格フレーム取得ステップで取得された格フレームに含まれる格スロットの制約を満たす形態素が存在するか否か、意味で語が階層化され整理された辞書であるシソーラス辞書を用いて判断し、前記複数の形態素のなかに、前記格フレームに含まれる格スロットの制約を満たす形態素が存在しないと判断し、かつ、前記制約を満たす形態素が存在すべき位置の形態素が事物を指示する指示語であると判断した場合、前記シソーラス辞書を用いて、前記制約を満たす意味を待つ名詞の形態素を、前記指示語が存在する位置より前方に対して設定された範囲内において検索し、検索の結果、該当する設定値以上の名詞の形態素が存在する場合、前記文に誤解を招く曖昧な表現が存在すると判定する判定ステップと、Meaning whether or not there is a morpheme that satisfies the restriction of the case slot included in the case frame acquired in the case frame acquisition step among the plurality of morphemes constituting the sentence divided into morphemes in the morpheme analysis step Determining using a thesaurus dictionary that is a dictionary in which words are hierarchized and organized, determining that there is no morpheme satisfying the restriction of a case slot included in the case frame among the plurality of morphemes, and When it is determined that a morpheme at a position where a morpheme satisfying the constraint should be an instruction word indicating an object, the vocabulary is a noun morpheme that waits for a meaning satisfying the constraint using the thesaurus dictionary. Search within the range set forward from the position where the noun morpheme has a noun morpheme that is equal to or greater than the set value as a result of the search. Ku and determining steps the ambiguity is present,
前記判定ステップで前記文に誤解を招く曖昧な表現が存在すると判定された場合、文に曖昧な表現が存在する旨のメッセージを出力する出力ステップと、An output step of outputting a message that there is an ambiguous expression in the sentence when it is determined in the determination step that an ambiguous expression that causes misunderstanding exists in the sentence;
を実行させるためのプログラム。A program for running
コンピュータに、
対象文書に含まれる文の形態素解析を行い、前記文を形態素に分割する形態素解析ステップと、
意味で語が階層化され整理された辞書であるシソーラス辞書を用いて、前記形態素解析ステップで形態素に分割された文を構成する形態素のなかに場所を表す指示語が存在するか否かを判断し、前記文を構成する形態素のなかに場所を表す指示語が存在すると判断した場合、前記シソーラス辞書において前記場所より下位に属する意味を持つ名詞の形態素を、前記指示語が存在する位置より前方に対して設定された範囲内において検索し、検索の結果、該当する設定値以上の名詞の形態素が存在する場合、前記文に誤解を招く曖昧な表現が存在すると判定する判定ステップと、
前記判定ステップで前記文に誤解を招く曖昧な表現が存在すると判定された場合、文に曖昧な表現が存在する旨のメッセージを出力する出力ステップと、
を実行させるためのプログラム。
On the computer ,
A morphological analysis step of performing morphological analysis of a sentence included in the target document and dividing the sentence into morphemes;
Using a thesaurus dictionary that is a dictionary in which words are hierarchized and organized in meaning, it is determined whether or not there is an instruction word representing a place in a morpheme constituting a sentence divided into morphemes in the morpheme analysis step. If it is determined that a vocabulary representing a place exists in the morphemes constituting the sentence, a morpheme of a noun having a meaning belonging to a position lower than the place in the thesaurus dictionary is forward of the position where the directional word is present. A determination step that determines that there is an ambiguous expression that causes misunderstanding in the sentence when there is a morpheme of a noun that is equal to or greater than the corresponding set value as a result of the search within the range set for
An output step of outputting a message that there is an ambiguous expression in the sentence when it is determined in the determination step that an ambiguous expression that causes misunderstanding exists in the sentence;
A program for running
コンピュータに、
対象文書に含まれる文の形態素解析を行い、前記文を形態素に分割する形態素解析ステップと、
意味で語が階層化され整理された辞書であるシソーラス辞書を用いて、前記形態素解析ステップで形態素に分割された文を構成する形態素のなかに人を表す指示語が存在するか否かを判断し、前記文を構成する形態素のなかに人を表す指示語が存在すると判断した場合、前記シソーラス辞書において前記人より下位に属する意味を待つ名詞の形態素を、前記指示語が存在する位置より前方に対して設定された範囲内において検索し、検索の結果、該当する設定値以上の名詞の形態素が存在する場合、前記文に誤解を招く曖昧な表現が存在すると判定する判定ステップと、
前記判定ステップで前記文に誤解を招く曖昧な表現が存在すると判定された場合、文に曖昧な表現が存在する旨のメッセージを出力する出力ステップと、
を実行させるためのプログラム。
On the computer ,
A morphological analysis step of performing morphological analysis of a sentence included in the target document and dividing the sentence into morphemes;
Using a thesaurus dictionary, which is a dictionary in which words are hierarchized and organized in meaning, determine whether or not there is an instruction word representing a person in the morpheme constituting the sentence divided into morphemes in the morpheme analysis step. If it is determined that there is a directive representing the person in the morphemes constituting the sentence, the morpheme of a noun that waits for a meaning belonging to a position lower than the person in the thesaurus dictionary is forward of the position where the directive is present. A determination step that determines that there is an ambiguous expression that causes misunderstanding in the sentence when there is a morpheme of a noun that is equal to or greater than the corresponding set value as a result of the search within the range set for
An output step of outputting a message that there is an ambiguous expression in the sentence when it is determined in the determination step that an ambiguous expression that causes misunderstanding exists in the sentence;
A program for running
JP2009232432A 2009-10-06 2009-10-06 Information processing apparatus, information processing method, and program Active JP5575449B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009232432A JP5575449B2 (en) 2009-10-06 2009-10-06 Information processing apparatus, information processing method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009232432A JP5575449B2 (en) 2009-10-06 2009-10-06 Information processing apparatus, information processing method, and program

Publications (2)

Publication Number Publication Date
JP2011081542A JP2011081542A (en) 2011-04-21
JP5575449B2 true JP5575449B2 (en) 2014-08-20

Family

ID=44075548

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009232432A Active JP5575449B2 (en) 2009-10-06 2009-10-06 Information processing apparatus, information processing method, and program

Country Status (1)

Country Link
JP (1) JP5575449B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013097703A (en) * 2011-11-04 2013-05-20 Toshiba Corp Document processing apparatus and program
JP6210194B2 (en) * 2013-05-17 2017-10-11 日本電気株式会社 Document analysis system, method and program
CN112084770B (en) * 2020-09-14 2024-07-05 深圳前海微众银行股份有限公司 Word slot filling method, device and readable storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2615121B2 (en) * 1988-02-29 1997-05-28 富士通株式会社 Document quality evaluation method
JPH0268661A (en) * 1988-09-05 1990-03-08 Agency Of Ind Science & Technol Context comprehending device
JPH06195376A (en) * 1992-11-18 1994-07-15 Nec Corp Semantic knowledge generator
JPH09179875A (en) * 1995-12-25 1997-07-11 Sharp Corp Information retrieval device
JPH09311858A (en) * 1996-05-23 1997-12-02 Sharp Corp An anaphoric relation analysis device
JP4035229B2 (en) * 1998-03-12 2008-01-16 株式会社リコー Document creation support device
JP2005108054A (en) * 2003-09-30 2005-04-21 Eiichi Ehata Natural language processing system

Also Published As

Publication number Publication date
JP2011081542A (en) 2011-04-21

Similar Documents

Publication Publication Date Title
Pianta et al. The TextPro Tool Suite.
US11514034B2 (en) Conversion of natural language query
KR20110134314A (en) Graphical model for representing text documents for computer analysis
JP2019192247A (en) Sentence labeling method and sentence labeling device
US9262402B2 (en) Device, method and program for assessing synonymous expressions
AU2014216057A1 (en) Identifying and classifying non-functional requirements in text
US7478092B2 (en) Key term extraction
KR20140052328A (en) Apparatus and method for generating rdf-based sentence ontology
CN114003733B (en) A data enhancement method and system for electric power text
JP5564705B2 (en) Sentence structure analyzing apparatus, sentence structure analyzing method, and sentence structure analyzing program
JP5575449B2 (en) Information processing apparatus, information processing method, and program
US8346745B2 (en) Information retrieval method, computer readable medium and information retrieval apparatus
US7562009B1 (en) Linguistic processing platform, architecture and methods
Berović et al. Croatian dependency treebank: Recent development and initial experiments
Kenter et al. Lexicon construction and corpus annotation of historical language with the CoBaLT editor
KR20200069200A (en) Method and apparatus for representing lexical knowledge graph from natural language text
JP5228451B2 (en) Document search device
Khoufi et al. Supervised learning model for parsing Arabic language
Lloberes et al. Suitability of ParTes test suite for parsing evaluation
JP2010287012A (en) Information processor, information processing method and program
JP2010250389A (en) Information retrieval system, method and program, and index generation system, method, and program
JP6782929B2 (en) Language analyzers, methods, and programs
JP2015225412A (en) Document summarization apparatus, method, and program
JP2004102554A (en) Text image conversion tool
JP2005338970A (en) Sentence processor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120829

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130809

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130910

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20140617

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140702

R150 Certificate of patent or registration of utility model

Ref document number: 5575449

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250