JP7365849B2 - Summarization devices and programs - Google Patents
Summarization devices and programs Download PDFInfo
- Publication number
- JP7365849B2 JP7365849B2 JP2019190514A JP2019190514A JP7365849B2 JP 7365849 B2 JP7365849 B2 JP 7365849B2 JP 2019190514 A JP2019190514 A JP 2019190514A JP 2019190514 A JP2019190514 A JP 2019190514A JP 7365849 B2 JP7365849 B2 JP 7365849B2
- Authority
- JP
- Japan
- Prior art keywords
- place name
- place
- names
- name
- extraction unit
- 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
Links
Images
Landscapes
- Machine Translation (AREA)
Description
本発明は、要約装置およびプログラムに関する。 The present invention relates to a summarization device and a program.
例えば、大規模な災害等が発生した際には、報道機関等において、同時に多くのニュース記事が作成される。また、取材等で得られたある事実に関して、例えばニュース番組用の原稿や、要約版のテキストの原稿など、いくつかの形態の文章を作成することが必要となる。ここで、要約版のテキストとは、例えば、テレビのL字型画面を用いて配信されるテキストや、スマホのアプリで提供されるテキスト等である。一方で、そのような大規模災害等の状況においては、ニュース記事を執筆する記者は、多方面における取材活動等を行う必要があり、一時的な人手不足が発生することもあり得る。 For example, when a large-scale disaster or the like occurs, many news articles are simultaneously created by news organizations and the like. Furthermore, it is necessary to create several forms of text regarding certain facts obtained through interviews, etc., such as a manuscript for a news program or a manuscript of a summary text. Here, the summarized text is, for example, text distributed using an L-shaped screen of a television, text provided by a smartphone application, or the like. On the other hand, in situations such as large-scale disasters, reporters who write news articles need to conduct reporting activities in a variety of areas, and there may be a temporary shortage of manpower.
例えば人が執筆したニュース原稿を基に、要約版のテキストを自動的に生成することが出来れば、コンテンツ制作の省力化や迅速化を図ることができる。 For example, if a summary version of text can be automatically generated based on a news manuscript written by a person, it is possible to save labor and speed up content production.
非特許文献1には、ニューラルネットワークの技術を用いて、ニュースのヘッドライン(見出し)を自動的に生成する技術が記載されている。
Non-Patent
非特許文献2には、要約長や文長や文数についての制約を課してニュース記事の要約を自動的に生成する技術が記載されている。
Non-Patent
非特許文献1に記載された技術は、ニューラルネットワークを利用して、ニュースのヘッドラインを生成している。しかしながら、ニューラルネットワークを用いた場合に、その技術の性質上、入力データと出力データとの関係を必ずしも事前に正確に定めることができないという問題がある。例えば入力されるニュース原稿にどういった種類の情報が盛り込まれていて、そこから生成する出力にどういった種類の情報を盛り込みたいか、ということがある程度わかっている場合には、ニューラルネットワークに頼るよりも、ルール等に基づいた処理を行うほうが、期待される出力を得られる確実性が高い。
The technology described in Non-Patent
非特許文献2に記載された技術は、例えば出力する文数等に関する制約条件を与えたうえで、記事の要約を生成するものである。しかしながら、報道等の目的で用いるためには、出力文数についての制約を与えるのではなく、入力される原稿に含まれる重要情報をできるだけ多く引き出して多数の要約文を生成することが望まれる。
The technique described in Non-Patent
本発明は、上記のような事情に基づいて為されたものであり、入力されるテキストを基に、機械学習に頼らずにルール等に基づく処理で、出力文数に制約を設けず入力テキストに含まれる必要情報を網羅的に含んだ要約を自動的に生成することのできる要約装置およびプログラムを提供しようとするものである。 The present invention has been made based on the above circumstances, and uses processing based on rules, etc., without relying on machine learning, based on the input text, without setting any restrictions on the number of output sentences. An object of the present invention is to provide a summary device and program that can automatically generate a summary that comprehensively includes necessary information contained in a document.
[1]上記の課題を解決するため、本発明の一態様による要約装置は、テキストデータを取得するテキスト取得部と、形態素解析処理を行うことによって、あるいは、予め記憶されている地名情報を参照することによって、前記テキストデータから地名を抽出する地名抽出部と、前記テキストデータに含まれる数詞を含んだ表現を影響範囲の表現として抽出する影響範囲抽出部と、前記テキストデータに含まれる動詞を含んだ表現を主題として抽出する主題抽出部と、前記地名と、前記影響範囲の表現と、前記主題との組であって、前記地名または前記影響範囲の表現の少なくともいずれかが欠けていることを許容する前記組に、予め記憶しておいた生成ルールを適用することによって要約を生成する要約生成部と、を備えるものである。 [1] In order to solve the above problems, a summarization device according to one aspect of the present invention includes a text acquisition unit that acquires text data, and performs morphological analysis processing or refers to place name information stored in advance. By doing so, a place name extraction unit extracts a place name from the text data, an influence range extraction unit extracts an expression including a numeral included in the text data as an expression of the influence range, and a verb included in the text data. a theme extraction unit that extracts the included expression as a theme, the place name, the expression of the range of influence, and the theme, wherein at least either the place name or the expression of the range of influence is missing. and a summary generation unit that generates a summary by applying a pre-stored generation rule to the set that allows .
[2]また、本発明の一態様は、上記の要約装置において、前記地名は、階層構成として、上位地名と中位地名と下位地名とを含むものであり、前記地名情報は、前記上位地名に属する前記中位地名の情報である所属関係情報を含むものであり、前記地名抽出部が抽出した地名に基づいて話題地域を特定する話題地域特定部、をさらに備え、前記話題地域特定部は、前記地名抽出部が抽出した前記中位地名の候補の集合を基に、前記テキストデータが話題の対象とする上位地名を推定することによって、前記上位地名によって表される前記話題地域を特定するものである。 [2] Further, in one aspect of the present invention, in the above summarization device, the place name includes a high-level place name, a middle-level place name, and a low-level place name as a hierarchical structure, and the place name information includes the high-level place name. further comprising a topic area identification unit that specifies a topic area based on the place name extracted by the place name extraction unit, the topic area identification unit including affiliation relationship information that is information of the intermediate place name belonging to the area name. , by estimating the top place names to which the text data is a topic based on the set of middle place name candidates extracted by the place name extraction unit, identifying the topic area represented by the top place names; It is something.
[3]また、本発明の一態様は、上記の要約装置において、前記地名情報は、前記上位地名のペアが隣接関係であるか否かを表す隣接関係情報を含むものであり、前記話題地域特定部は、前記隣接関係情報を参照することによって、推定された複数の前記上位地名が相互に隣接するものであるか否かを判定し、隣接関係を有する上位地名のペアの関係を推移的に適用して得られる複数の前記上位地名の集合として表される前記話題地域を特定するものである。 [3] Further, in one aspect of the present invention, in the above summarization device, the place name information includes adjacency relationship information indicating whether or not the pair of high-rank place names are in an adjacency relationship; The identification unit determines whether or not the plurality of estimated high-rank place names are adjacent to each other by referring to the adjacency relationship information, and transitively determines the relationship between pairs of high-rank place names having an adjacency relationship. The topic area is specified as a set of a plurality of high-rank place names obtained by applying the method to the above.
[4]また、本発明の一態様は、上記の要約装置において、前記話題地域特定部は、前記地名情報を参照することによって前記テキストデータから抽出された前記中位地名の候補の集合を基に、上位地名のスコアを算出して、相対的にスコアの良い前記上位地名を前記話題地域として特定するものであり、前記上位地名のスコアは、前記所属関係情報に基づいて、当該上位地名に属する前記中位地名の候補の各々についての当該中位地名の候補が属するすべての上位地名の数の逆数の、当該上位地名に属する前記中位地名の候補のすべてについての和をとった値、として算出されるものである。 [4] Further, in one aspect of the present invention, in the above summarization device, the topic area specifying unit is based on a set of intermediate place name candidates extracted from the text data by referring to the place name information. In this method, the scores of the top place names are calculated and the top place names with relatively good scores are identified as the topic areas, and the scores of the top place names are determined based on the affiliation information. A value obtained by taking the sum of the reciprocal of the number of all high-rank place names to which the mid-rank place name candidate belongs for each of the mid-rank place name candidates to which the mid-rank place name candidate belongs, for all of the mid-rank place name candidates belonging to the high-rank place name; It is calculated as follows.
[5]また、本発明の一態様は、上記の要約装置において、前記地名抽出部は、前記形態素解析処理を行うことによって抽出された前記地名のうち、前記上位地名および前記中位地名のいずれにも特定されなかった地名を前記下位地名として抽出し、且つ、当該下位地名を、当該下位地名に先立って前記テキストデータ内で出現する前記中位地名のうちの当該下位地名に最も近い位置に出現する前記中位地名に属する下位地名として抽出する、ものである。 [5] Further, in one aspect of the present invention, in the above summarization device, the place name extraction unit selects one of the high-rank place names and the middle-rank place names among the place names extracted by performing the morphological analysis process. extracting a place name that was not specified in the lower place name as the lower place name, and placing the lower place name in the position closest to the lower place name among the intermediate place names that appear in the text data before the lower place name. The name is extracted as a lower place name belonging to the intermediate place name that appears.
[6]また、本発明の一態様は、上記の要約装置において、前記地名抽出部は、地名であることを推定させる特定のキーワードを伴う名詞を、さらに、前記下位地名として抽出し、且つ、当該下位地名を、当該下位地名に先立って前記テキストデータ内で出現する前記中位地名のうちの当該下位地名に最も近い位置に出現する前記中位地名に属する下位地名として抽出する、ものである。 [6] Further, in one aspect of the present invention, in the above summarization device, the place name extraction unit further extracts a noun accompanied by a specific keyword that makes it inferred to be a place name as the subordinate place name, and The lower place name is extracted as a lower place name belonging to the intermediate place name that appears in the position closest to the lower place name among the intermediate place names that appear in the text data prior to the lower place name. .
[7]また、本発明の一態様は、コンピューターを、テキストデータを取得するテキスト取得部と、形態素解析処理を行うことによって、あるいは、予め記憶されている地名情報を参照することによって、前記テキストデータから地名を抽出する地名抽出部と、前記テキストデータに含まれる数詞を含んだ表現を影響範囲の表現として抽出する影響範囲抽出部と、前記テキストデータに含まれる動詞を含んだ表現を主題として抽出する主題抽出部と、前記地名と、前記影響範囲の表現と、前記主題との組であって、前記地名または前記影響範囲の表現の少なくともいずれかが欠けていることを許容する前記組に、予め記憶しておいた生成ルールを適用することによって要約を生成する要約生成部と、を備える要約装置として機能させるためのプログラムである。 [7] In addition, one aspect of the present invention is to provide a computer with a text acquisition unit that acquires text data, and to perform morphological analysis processing or to refer to pre-stored place name information. a place name extraction unit that extracts a place name from data; an influence range extraction unit that extracts an expression containing a numeral included in the text data as an expression of an influence range; and an influence range extraction unit that extracts an expression containing a verb included in the text data as a subject. a set of a theme extraction unit to be extracted, the place name, the expression of the range of influence, and the theme, the set allowing for the lack of at least one of the place name or the expression of the range of influence; , and a summary generation unit that generates a summary by applying pre-stored generation rules.
本発明によれば、テキストデータから、その要約を自動的に生成することが可能となる。例えば、テキストデータが、多くの情報を含む場合(一例として、災害時の数十ヶ所以上におよぶ避難所に関する情報が列挙されるなど)にも、その情報を網羅した要約を生成することができる。また、本発明によれば、機械学習結果に頼らず、要約を生成できる。即ち、処理結果が、機械学習データに依存しない。つまり、本発明では、意図に反した要約が出力されにくい。 According to the present invention, it is possible to automatically generate a summary from text data. For example, even if the text data contains a lot of information (for example, information about dozens of evacuation centers in the event of a disaster is listed), a summary that covers that information can be generated. . Further, according to the present invention, a summary can be generated without relying on machine learning results. That is, the processing results do not depend on machine learning data. In other words, according to the present invention, an unintended summary is less likely to be output.
本発明の実施形態について、図面を参照しながら、以下で説明する。本実施形態は、ニュース原稿等のテキストデータを基にその要約を自動的に生成する技術と、その技術を用いて実現した装置に関する。本実施形態で用いる概念をまず説明する。 Embodiments of the invention will be described below with reference to the drawings. The present embodiment relates to a technology for automatically generating a summary based on text data such as a news manuscript, and an apparatus realized using the technology. First, the concept used in this embodiment will be explained.
「上位地名」、「中位地名」、「下位地名」は、階層構造を有する地名の、それぞれレベルにおける地名である。上位地名が表す場所の領域は、中位地名が表す場所の領域を含む。中位地名が表す場所の領域は、下位地名が表す場所の領域を含む。例えば、上位地名は、都道府県名である。また、例えば、中位地名は、市区町村名である。また、例えば、下位地名は、市区町村名よりも下位の地名である。例えば、「成城」、「砧」、「大蔵」等は、東京都世田谷区に属する下位地名である。なお、上位、中位、下位は、相対的な関係を表すのみであり、上位地名として都道府県名以外を用いてもよいし、中位地名として市区町村名以外を用いてもよい。階層構造を有する地名として、他にも、例えば、国、州、郡、カウンティ(county)、バラ(borough)等の名を用いてもよい。 The "upper place name", "middle place name", and "lower place name" are place names at each level of a place name having a hierarchical structure. The region of the place represented by the high-rank place name includes the region of the place represented by the middle-rank place name. The region of the place represented by the intermediate place name includes the region of the place represented by the lower place name. For example, the high-level place name is a prefecture name. Further, for example, the intermediate place name is a city, ward, town, or village name. Further, for example, a lower place name is a place name lower than a city, ward, town, or village name. For example, "Seijo," "Kinuta," "Okura," etc. are lower place names belonging to Setagaya Ward, Tokyo. Note that upper, middle, and lower only represent a relative relationship, and a name other than the prefecture name may be used as the upper place name, and a name other than the city, ward, town, or village name may be used as the middle place name. Other names such as country, state, district, county, borough, etc. may also be used as place names having a hierarchical structure.
「話題地域」は、ニュース原稿等のテキストの話題の対象とする地域である。「話題地域」を、一例として、単数または複数の上位地名(都道府県名)を用いて表すことができる。「影響範囲」は、上記テキストが話題とする事象の範囲または程度の大きさを表す表現である。例えば「10世帯23人」という表現は、自然災害の被害の影響範囲を表す表現の一例である。「主題」は、上記テキストが話題とする事象そのものを表す表現である。例えば「避難勧告を出して、避難を呼びかけています」という表現は、自然災害に関するニュース原稿が話題とする主題の一例である。 The "topic area" is the area targeted for the topic of texts such as news manuscripts. For example, a "hot topic area" can be expressed using a single or multiple high-level place names (prefecture names). "Scope of influence" is an expression that expresses the range or magnitude of the event that is the topic of the text. For example, the expression "23 people in 10 households" is an example of an expression that indicates the range of damage caused by a natural disaster. The "subject" is an expression representing the phenomenon itself that is the topic of the text. For example, the expression ``We have issued an evacuation advisory and are calling for people to evacuate'' is an example of a topic that can be discussed in a news manuscript about a natural disaster.
本実施形態による要約装置は、ニュース記事の原稿であるテキストデータを分析し,その記事が対象とする事象について、その事象が発生している場所や、その事象が影響する範囲や、その事象の主題の情報を抽出する。要約装置は、抽出処理のために、テキストデータの形態素解析処理を行って獲得した品詞情報と辞書データとを用いる。要約装置は、得られた情報から、内容の重なるものを除去しながら、箇条書きのような要約を生成し、提示する。 The summarization device according to this embodiment analyzes the text data that is the manuscript of a news article, and determines the location where the event is occurring, the range of influence of the event, and the extent of the event. Extract thematic information. The summarization device uses part-of-speech information and dictionary data obtained by performing morphological analysis of text data for the extraction process. The summarization device generates and presents a bulleted summary from the obtained information while removing duplicate content.
図1は、本実施形態による要約装置1の概略機能構成を示すブロック図である。図示するように、要約装置1は、テキスト取得部21と、中位地名抽出部22と、話題地域特定部23と、下位地名抽出部24と、影響範囲抽出部25と、主題抽出部26と、要約生成部27と、地名辞書記憶部31と、隣接関係辞書記憶部32と、生成ルール記憶部33とを含んで構成される。なお、中位地名抽出部22と、下位地名抽出部24とのそれぞれを、単に「地名抽出部」と呼んでもよい。これらの各機能部は、例えば、コンピューターと、プログラムとで実現することが可能である。また、各機能部は、必要に応じて、記憶手段を有する。記憶手段は、例えば、プログラム上の変数や、プログラムの実行によりアロケーションされるメモリーである。また、必要に応じて、磁気ハードディスク装置(HDD)やソリッドステートドライブ(SSD)といった不揮発性の記憶手段を用いるようにしてもよい。また、各機能部の少なくとも一部の機能を、プログラムではなく専用の電子回路として実現してもよい。各部の機能は、次に説明する通りである。
FIG. 1 is a block diagram showing a schematic functional configuration of a
テキスト取得部21は、外部から与えられるテキストのデータを取得する。このテキストは、例えば、記者らによって書かれたニュース原稿のテキストである。本実施形態では、特に、特定の地域における事象について記述されたニュース原稿のテキストを処理対象とする。ただし、テキストの内容は、他のものであってもよく、任意である。
The
中位地名抽出部22は、テキスト取得部21が取得したテキストデータから、中位地名を抽出する。中位地名は、例えば、市区町村名である。中位地名抽出部22は、中位地名を抽出する際に、地名辞書記憶部31を参照してよい。地名辞書記憶部31が記憶する情報については後で説明する。例えば、中位地名抽出部22は、すべての市区町村名を含んだ辞書を用いて、形態素解析処理を行うことにより、中位地名を抽出する。形態素解析処理自体は、既存技術により実行可能である。一例として、MeCabなどの、既存の形態素解析ツールを使用してもよい。中位地名抽出部22の処理によって得られるものは、中位地名の候補である。
The medium place
話題地域特定部23は、中位地名抽出部22によって抽出された中位地名のリストを基に、元のテキストにおいて話題となっている地域を特定する。具体的には、話題地域特定部23は、中位地名抽出部22が抽出した中位地名の候補を基に、話題となっている上位地名がどこであるかを推定する。ここで推定される上位地名は、複数であってもよい。上位地名は、例えば、都道府県名である。話題地域特定部23は、上位地名(単数または複数)を推定した後、中位地名抽出部22が抽出した中位地名候補のうち、推定結果である上位地名に属する中位地名のみを、中位地名リストとして出力する。中位地名抽出部22が抽出した中位地名候補のうち、推定結果である上位地名に属しない中位地名は、元のテキストにおいて話題になっている地域に該当するものではないと判定され、放棄される。
The hot topic
言い換えれば、話題地域特定部23は、中位地名抽出部22が抽出した中位地名の候補の集合を基に、テキストデータが話題の対象とする上位地名を推定することによって、上位地名によって表される話題地域を特定する。
In other words, the topic
その具体的方法の一つとして、話題地域特定部23は、隣接関係辞書記憶部32が記憶する情報(隣接関係情報)を参照することによって、推定された複数の上位地名が相互に隣接するものであるか否かを判定し、隣接関係を有する上位地名のペアの関係を推移的に適用して得られる複数の前記上位地名の集合(この集合を求める具体的手順の例は、後で説明する)として表される話題地域を特定するものである。ここで、「隣接関係を有する上位地名のペアの関係を推移的に適用して得られる複数の前記上位地名の集合」とは、例えば、上位地名AとBとが隣接関係にあり、且つ上位地名BとCとが隣接関係にある場合に、推移律を適用して、上位地名AとBとC(集合)が隣接関係にあると判断する方法によるものである。
As one specific method, the topic
さらに具体的な例として、話題地域特定部23は、前記テキストデータから抽出された前記中位地名の候補の集合を基に、上位地名ごとのスコアを算出して、相対的にスコアの良い上位地名を話題地域として特定する方法を用いることができる。上位地名のスコアは、所属関係情報(どの上位地名にどの中位地名が属するかを表す情報)に基づいて、当該上位地名に属する前記中位地名の候補の各々についての当該中位地名の候補が属するすべての上位地名の数の逆数の、当該上位地名に属する前記中位地名の候補のすべてについての和をとった値、として算出される。その具体的な手順については、後で説明する。
As a more specific example, the topic
例えば「朝日町」といった地名のように、複数の都道府県(上位地名)に存在する市町村名(中位地名)は、中位地名抽出部22によって中位地名候補であるとして抽出されても、話題地域に該当しない都道府県に存在する市町村名は、放棄されるべきものである。また、「朝日町」といった地名のように、中位地名でもあり得て、下位地名でもあり得る地名も、中位地名抽出部22によって中位地名候補であるとして抽出される場合がある。テキスト中の下位地名が誤って中位地名候補として抽出されてしまった場合には、その中位地名は放棄されるべきものである。話題地域特定部23は、上位地名を正しく推定することにより、中位地名抽出部22によって抽出された中位地名が、真に話題地域の中位地名であるか否かを判別する。話題地域特定部23による具体的な処理の手順については後でさらに詳細に説明する。
For example, a city, town or village name (medium place name) that exists in multiple prefectures (higher place names), such as a place name such as "Asahi Town," is extracted as a middle place name candidate by the intermediate place
下位地名抽出部24は、テキスト取得部21が取得したテキストデータから、下位地名を取得する。具体的には、下位地名抽出部24は、形態素解析処理と、ルールマッチングの処理とを用いることにより、テキストデータから下位地名を抽出する。また、下位地名抽出部24は、抽出した下位地名が、どの中位地名に含まれるものであるかを決定する。まず、下位地名抽出部24は、形態素解析処理の結果、地名であると判定された単語であって、上位地名でも中位地名でもない地名を、下位地名として抽出する。次に、下位地名抽出部24は、テキストデータが「地区」、「地域」、「周辺」などといった特殊な語尾を含む場合に、これらの特殊語尾と、その直前の単語とをまとめて下位地名として抽出する。これらの特殊語尾は、地名であることを表すものであり、地名語尾と呼んでもよい。また、下位地名抽出部24は、抽出した下位地名は、その下位地名が出現する箇所の直前の中位地名(その下位地名よりも前方向で最も近い中位地名)に属するというルールを用いて、下位地名が属する中位地名を決定する。ここで、中位地名は例えば市区町村名であり、下位地名は市区町村名よりも下位の字名等である。下位地名を抽出する手順の実例については、後で説明する。
The lower place
影響範囲抽出部25は、テキスト取得部21が取得したテキストデータに含まれる文が表す、程度の大きさ、あるいは被害の大きさ等(「影響範囲」と呼ぶ)の表現を抽出する。具体的には、影響範囲抽出部25は、テキストデータに含まれる数詞を含んだ表現を影響範囲の表現として抽出する。さらに具体的には、影響範囲抽出部25は、数字(数詞)と、その前後の単語の品詞とに基づき、所定のルールにしたがって、影響範囲の表現を抽出する。そのルールとは、例えば、次のようなルールである。
The influence
ルール1:下記のパターンにマッチする列は、影響範囲の表現である。ただし、下記パターンにおいて、丸括弧で囲われる部分は省略可能な部分である。
パターン:{名詞または接頭語}+数詞(+接続助詞+数詞)(+{{名詞、ただし形容詞語幹以外}または並立助詞または形容詞}
なお、ここで、並立助詞とは、種々の語に付くことによって、2つ以上の言葉を対等の関係で接続するのに用いられる語である。
Rule 1: Columns that match the pattern below are expressions of influence ranges. However, in the following pattern, the part enclosed in parentheses is an optional part.
Pattern: {noun or prefix} + number word (+conjunctive particle + number word) (+{{noun, but not adjective stem} or parallel particle or adjective}
Note that the parallel particle is a word used to connect two or more words in an equal relationship by being attached to various words.
ルール2:複数の影響範囲の表現が連続して出現する場合には、それらをまとめて1つの影響範囲の表現とする。 Rule 2: When expressions of a plurality of influence ranges appear consecutively, they are combined into one influence range expression.
ルール3:例えば、「2日」、「4時」、「10分」などの、日時を表す表現は、たとえルール1が規定するパターンにマッチしても、影響範囲の表現ではないものとして除外する。
Rule 3: For example, expressions that indicate date and time, such as "2 days," "4 o'clock," and "10 minutes," are excluded as not expressing the range of influence, even if they match the pattern specified in
主題抽出部26は、テキスト取得部21が取得したテキストデータに含まれる文章の主題を抽出する。主題抽出部26は、テキストデータに含まれる動詞を含んだ表現を主題として抽出する。さらに具体的には、例えば、主題抽出部26は、まず、上記テキストデータの係り受け解析処理を行う。構文上の係り受けを解析する処理自体は、既存技術を用いて実現することができる。主題抽出部26は、一例として、既存の日本語係り受け解析器であるCaboChaを利用してもよい。そして、主題抽出部26は、係り受け解析の結果に基づき、動詞を含む節に、直接的に係る節をつなぐことによって主題を抽出する。ただし、このとき、主題抽出部26は、動詞を含む節に直接的に係る節であっても、影響範囲の表現(影響範囲抽出部25によって抽出される表現)や地名(中位地名抽出部22や下位地名抽出部24によって抽出される)を含む節を除外する。また、主題抽出部26は、上記の動詞が体言止めにしやすい動詞である場合には、当該動詞とその直前の助詞や助動詞を除去して、体言止めの形に変換する。体言止めにしやすい動詞とは、例えば、言う、する、なる、出す等の動詞である。なお、ある動詞が体言止めにしやすい動詞であるか否かの情報を、辞書データに予め持たせておいてその辞書を参照するようにしてもよい。
The
主題抽出部26による処理の手順をまとめると、下の通りである。即ち、主題抽出部26は、次に列挙する手順により、主題を抽出し、また抽出された主題を整形する。
主題抽出の第1段階:主題抽出部26は、文の係り受け解析の結果を参照する。ある節が直接次の節に係っている場合に、主題抽出部26は、それらの節を1つにまとめる。
主題抽出の第2段階:主題抽出部26は、上記のまとまりのうち、動詞が含まれるまとまりを主題として抽出する。ただしこのとき、主題抽出部26は、主題になりにくい特定の動詞が含まれるまとまりについては対象から除外する。
主題抽出の第3段階:主題抽出部26は、上記の動詞を含む節に直接係る節をつなぐ。ただし、主題抽出部26は、地名や影響範囲の表現として抽出されたフレーズを含む節を飛び越えない範囲においてのみ、つなぐ節を選択する。
整形の第1段階:抽出された動詞が特定の動詞である場合には、主題抽出部26は、その動詞を除去して体言止めの形に整形する。
整形の第2段階:主題抽出部26は、要約データにふさわしくない表現(接続詞や、助動詞「ます」等)を除去する。
整形の第3段階:主題抽出部26は、動詞に後続する語、または動詞の後に否定を表す助動詞が続く場合にはその助動詞に後続する語を除去する。ここで、否定を表す助動詞とは、例えば「ない」や「ぬ」等である。
The processing procedure by the
First stage of theme extraction: The
Second stage of theme extraction: The
Third stage of theme extraction: The
First stage of formatting: If the extracted verb is a specific verb, the
Second stage of formatting: The
Third stage of formatting: The
要約生成部27は、話題地域特定部23が特定した話題地域の情報と、影響範囲抽出部25が抽出した影響範囲の情報と、主題抽出部26が抽出した主題の情報の、少なくとも一部を用いて、要約を生成する。具体的には、要約生成部27は、地名と、影響範囲の表現と、主題との組(ただし、前記地名または前記影響範囲の表現の少なくともいずれかが欠けていることを許容する組)に、予め記憶しておいた生成ルールを適用することによって要約を生成する。要約生成部27は、生成した要約のデータを、例えば画面に表示するなどといった方法で、ユーザーに提示する。
The
地名辞書記憶部31は、地名に関する辞書のデータを記憶する。地名辞書記憶部31は、相対的に上位の地名と下位の地名との所属関係を表す情報を記憶するようにしてもよい。一例として、地名辞書記憶部31は、上位地名(例えば、都道府県名)と中位地名(例えば市区町村名)との間の地理的な所属関係(それらの地名が表す領域の包含/被包含関係)の情報(「所属関係情報」とも呼ぶ)を記憶してもよい。ここで言及した「所属関係情報」は、上位地名に属する中位地名の情報である。
The place name
隣接関係辞書記憶部32は、地名と地名とが隣接関係にあるか否かを表す情報(「隣接関係情報」とも呼ぶ)を記憶する。特に、本実施形態において、上記の隣接関係情報は、上位地名のペアが隣接関係であるか否かを表す情報である。
The adjacency relationship
なお、地名辞書記憶部31が記憶する情報および隣接関係辞書記憶部32が記憶する情報を、「地名情報」と呼んでもよい。
Note that the information stored in the place name
生成ルール記憶部33は、元のテキストデータから抽出された情報を基に要約を生成するためのルールを記憶する。具体的には、それらのルールは、地名や、影響範囲の表現や、主題を基に、要約のデータを生成するためのものである。生成ルールの例については、後で説明する。
The generation
図2は、テキスト取得部21が取得するテキストデータの例を示す概略図である。同図(A)は、第1の例である「新潟県村上市は「避難準備の情報」を出したことに伴って、旧塩田町小学校、下北ゆり花会館、せんぽく会館の3か所で避難所を開設しました。」というニュース原稿のテキストを示す。同図(B)は、第2の例である「この大雨により、高梁市朝日町の3世帯8人に避難勧告が、また、岡山市の一部地域に避難準備の情報が出されています。」というニュース原稿のテキストを示す。このように、テキスト取得部21は、例えば、特定の地域における災害に関するニュースのテキストデータを取得する。ただし、ニュースの内容は、災害に限定されない。これらのニュースのテキストデータは、例えば、ニュース記者が書き、要約装置に入力するものである。
FIG. 2 is a schematic diagram showing an example of text data acquired by the
図3は、地名辞書記憶部31が記憶する地名辞書のデータの構成例を示す概略図である。図示するように、地名辞書記憶部31は、例えば、上位地名、中位地名、所属といった項目を持つ表形式のデータとして、地名辞書を記憶する。なお、同図では、便宜的に、データの各行に行番号を付している。上位地名は、例えば、都道府県名である。また、中位地名は、例えば、市区町村名である。このデータは、上位地名と中位地名との包含関係をも表している。つまり、ある行を見たときに、上位地名に該当する地名は、中位地名に該当する地名を包含する。具体例として、行番号17を参照すると、東京都は、奥多摩町を参照する。他の行についても同様である。地名辞書記憶部31は、例えば、日本の全都道府県の名および全市区町村の名に関するデータを、この形式で保持する。また、図示する例において、所属の項目は、「区」が所属する上位の地名の情報を持つ。通常は、区が、都道府県に直接所属する場合(特別区の場合)と、市に所属する場合とがある。例えば、行番号4を参照すると、渋谷区が所属する上位の地名は東京都である。また、行番号21における西区が所属する上位の地名は、横浜市である。また、行番号33における幸区が所属する上位の地名は、川崎市である。区以外の中位地名である市町村に関しては、必ず都道府県に直接属するため、所属のデータ項目を使用する必要がない。この地名辞書記憶部31を参照することにより、中位地名がどの上位地名に属するかがわかる。
FIG. 3 is a schematic diagram showing a configuration example of data of a place name dictionary stored in the place name
図4は、隣接関係辞書記憶部32が記憶する隣接辞書のデータの構成例を示す概略図である。図示するように、隣接関係辞書記憶部32は、上位地名の対の集合を持つ表形式のデータを記憶する。なお、同図では、便宜的に、データの各行に行番号を付している。上位地名は、例えば、都道府県名である。一例として、行番号3の行は、東京都と山梨県との対のデータを持つ。これは、東京都と山梨県とが相互に隣接していることを表す。他の行のデータについても同様である。ここで、上位地名同士の隣接とは、必ずしも、両者の領域が接していることを表しているわけではない。例えば、行番号15の行は、奈良県と滋賀県とが隣接関係にあることを表しているが、これらの両県の領域が互いに接しているわけではない。しかしながら、例えば自然災害等のニュースを扱う場合に奈良県と滋賀県とを近隣の件として扱うことには意味があるため、隣接関係辞書記憶部32がこの両県の隣接関係の情報を記憶することは有用である。
FIG. 4 is a schematic diagram showing an example of the structure of data of an adjacent dictionary stored in the adjacent relationship
以下では、データの具体例を用いながら、各部の機能についてさらに詳細に説明する。 Below, the functions of each part will be explained in more detail using specific examples of data.
中位地名抽出部22が行う処理の具体例は、次の通りである。例えば図2(A)のテキストデータから、中位地名抽出部22は、「村上市」、「塩田町」という中位地名(市区町村名)を抽出する。また、例えば図2(B)のテキストデータから、中位地名抽出部22は、「高梁市」、「朝日町」、「岡山市」という中位地名(市区町村名)を抽出する。
A specific example of the process performed by the intermediate place
図5は、話題地域特定部23による処理の手順を示すフローチャートである。以下、このフローチャートに沿って処理手順を説明する。
FIG. 5 is a flowchart showing the procedure of processing by the topic
ステップS11において、話題地域特定部23は、中位地名候補のリストを取得する。本実施形態において、中位地名は、市区町村名である。この中位地名候補のリストは、中位地名抽出部22が、入力されたテキストから抽出した中位地名のリストである。中位地名抽出部22は、地名辞書記憶部31を参照することによって、テキストから中位地名を抽出する。このとき、中位地名抽出部22は、例えば、入力テキストにおいて中位地名として使用されている地名も、中位地名としては使用されていないが地名辞書記憶部31が保持する中位地名と同一の字面を有する地名も、抽出してしまう可能性がある。本ステップにおいては、そういった中位地名候補をすべて含む可能性のあるリストを、話題地域特定部23は、中位地名抽出部22から受け取る。
In step S11, the topic
ステップS12において、話題地域特定部23は、上位地名スコアを算出する。上位地名スコアは、例えば、都道府県スコアである。話題地域特定部23は、地名辞書記憶部31を参照することにより、上位地名スコアを算出する。例えば、上位地名スコアを算出するための計算式は、下の式(1)である。
In step S12, the topic
上位地名スコア=Σ(1/当該中位地名を持つ上位地名の数) ・・・(1) Top place name score = Σ (1/Number of top place names with the corresponding middle place name) ... (1)
式(1)により、上位地名ごとに上位地名スコアが算出される。式(1)における「Σ」は、算出対象である上位地名が、ある入力テキストについて中位地名抽出部22が抽出した中位地名候補のうちの当該上位地名に属する中位地名候補のすべてについての和をとる計算を表す。
A high-ranking place name score is calculated for each high-ranking place name using equation (1). "Σ" in formula (1) means that the high-rank place name to be calculated is for all the mid-rank place name candidates that belong to the high-rank place name among the mid-rank place name candidates extracted by the mid-rank place
上位地名が都道府県名であり、中位地名が市区町村名である場合、上の式(1)は、下の式(2)と等価である。 When the high-level place name is a prefecture name and the intermediate place name is a city, ward, town, or village name, the above equation (1) is equivalent to the below equation (2).
都道府県スコア=Σ(1/当該市区町村名を持つ都道府県の数) ・・・(2) Prefecture score = Σ (1/number of prefectures with the name of the city, ward, town, village) ... (2)
式(2)により、都道府県ごとに都道府県スコアが算出される。式(2)における「Σ」は、算出対象である都道府県が、ある入力テキストについて中位地名抽出部22が抽出した市区町村名候補のうちの当該都道府県に属する市区町村名候補のすべてについての和をとる計算を表す。
A prefecture score is calculated for each prefecture using equation (2). "Σ" in formula (2) is the prefecture that is the calculation target, which is the city, ward, town, and village name candidate that belongs to the prefecture among the city, ward, town, and village name candidates extracted by the intermediate place
ステップS13において、話題地域特定部23は、ステップS12で算出されたスコアに基づき、最上位である上位地名(例えば、都道府県)を、話題地域と特定する。
In step S13, the topic
次に、ステップS14において、話題地域特定部23は、残りの上位地名(例えば、都道府県)のうち、スコアが最上位である上位地名が、既に話題地域であると判定された上位地名(複数の場合にはそのいずれか)と隣接するか否かを判定する処理を行う。なお、ある上位地名と別の上位地名とが隣接する関係にあるか否かは、話題地域特定部23が、隣接関係辞書記憶部32を参照することによって判定可能である。
Next, in step S14, the topic
ステップS15では、ステップS14における判定処理の結果に応じて、分岐する。当該上位地名が、既に話題地域であると判定された上位地名(複数の場合にはそのいずれか)と隣接する場合(ステップS15:YES)には次のステップS16に進む。隣接しない場合(ステップS15:NO)にはステップS17に進む。 In step S15, the process branches depending on the result of the determination process in step S14. If the high-ranking place name is adjacent to the high-ranking place name (if there are multiple places, any one of them) that has already been determined to be a hot topic area (step S15: YES), the process proceeds to the next step S16. If they are not adjacent (step S15: NO), the process advances to step S17.
ステップS16において、話題地域特定部23は、残りの上位地名(まだ話題地域に含まれていない上位地名)のうちのスコアが最上位である上位地名を、話題地域に追加する。本ステップの処理後、さらに話題地域に追加すべき上位地名が存在するか否かを判定するために、ステップS14に戻る。つまり、ステップS14,S15,S16の処理のループにより、話題地域特定部23は、隣接関係にある上位地名を繰り返し話題地域に追加していく。つまり、話題地域特定部23は、複数の上位地名のリストを話題地域として特定する場合がある。
In step S16, the topic
ステップS17に進んだ場合には、同ステップにおいて、話題地域特定部23は、話題地域であると判定した上位地名リストと、ステップS11において取得した中位地名候補であって且つこの上位地名リストのそれぞれに属する中位地名のリストを出力する。つまり、話題地域特定部23は、上位地名のリストと中位地名のリストとを出力することによって、元のテキストが対象とする話題地域を特定する。
If the process proceeds to step S17, in the same step, the topic
図6は、話題地域特定部23による処理の実例を説明するための、地名のデータおよびスコアのデータを示す概略図である。
FIG. 6 is a schematic diagram showing place name data and score data for explaining an example of processing by the topic
図6(A)は、中位地名抽出部22が抽出した中位地名のリストの例を示す。図示するように、この例では、中位地名抽出部22が抽出した中位地名は、岡山市、高梁市、および朝日町である。図6(B)は、図6(A)に含まれる中位地名の各々に対応して、話題地域特定部23が、地名辞書記憶部31を参照することによって求めた上位地名の情報を示す。図示するように、岡山市は、岡山県のみに対応する。これは、岡山市という中位地名を含む上位地名が岡山県のみであることが、地名辞書記憶部31に記憶されているデータから求められたことを表す。また、高梁市は、岡山県のみに対応する。これは、高梁市という中位地名を含む上位地名が岡山県のみであることが、地名辞書記憶部31に記憶されているデータから求められたことを表す。また、朝日町は、山形県と富山県と三重県と北海道と新潟県と福井県の6個の上位地名に対応する。これは、これら6個の上位地名がそれぞれ朝日町という中位地名を含み、且つ朝日町という中位地名を含む上位地名はこれら6個のみであることが、地名辞書記憶部31に記憶されているデータから求められたことを表す。
FIG. 6A shows an example of a list of intermediate place names extracted by the intermediate place
図6(C)は、話題地域特定部23が算出する上位地名の各々のスコアである。このスコアは、前述の通り、式(1)を用いて、あるいはそれと等価な式(2)を用いて算出される。例えば、岡山県は、図6(A)に挙げられている中位地名のうち、岡山市と高梁市とを所属メンバーとして持つ。そして、岡山市と高梁市のそれぞれに関して、「当該中位地名を持つ上位地名の数」は1である。言い換えれば、岡山市は岡山県にしか存在せず、高梁市は岡山県にしか存在しない。また、岡山県には朝日町は存在しない。したがって、式(1)により、岡山県のスコアは、(1/1+1/1)で、2.000と算出される。また、山形県は、図6(A)に挙げられている中位地名のうち、朝日町を所属メンバーとして持つ。そして、この朝日町に関して、「当該中位地名を持つ上位地名の数」は6である。また岡山市や高梁市は、山形県のメンバーではない。したがって、式(1)により、山形県のスコアは、(1/6)で、0.167(小数点第4位を四捨五入)と算出される。富山県と三重県と北海道と新潟県と福井県の各上位地名のスコアも、上記の山形県のスコアと同様の計算手順により、0.167と算出される。
FIG. 6(C) shows the scores of each of the top place names calculated by the topic
図6に示したデータ処理の結果、話題地域特定部23は、岡山県のみを話題地域として特定する。富山県と三重県と北海道と新潟県と福井県とのそれぞれは、いずれも「朝日町」という中位地名をメンバーとして持つが、しかし、いずれも、岡山県との隣接関係を持たない。隣接関係の有無は、前述の通り、隣接関係辞書記憶部32を参照することによって判定される。また、話題地域である岡山県は、中位地名候補である岡山市と高梁市と朝日町とのうち、岡山市と高梁市とをメンバーとして持つ。よって、話題地域特定部23は、特定された話題地域の上位地名として岡山県を出力し、話題地域の中位地名として岡山市および高梁市を出力する。この場合には朝日町は、以後の処理においては、中位地名ではなかったものとして扱われる。
As a result of the data processing shown in FIG. 6, the topic
図7は、下位地名抽出部24による下位地名抽出処理の例を説明するためのデータを示す概略図である。同図は、1本のニュース記事のテキストを示している。このニュース記事は、3つの文で構成される。ここでは、各文に、便宜的にS1、S2、S3という記号を付与している。S1の文は、「この大雨により,高梁市 朝日町 の3世帯8人に避難勧告が出されています.」である。S2の文は、「また,岡山市 の一部地域に避難準備の情報が出されています.」である。S3の文は、「消防によりますと,高梁市 の山間にある 山田地区 では床上まで水に浸かった住宅があるとのことです.」である。形態素解析処理を行うことにより、下位地名抽出部24は、S1の文に含まれる「高梁市」および「朝日町」と、S2の文に含まれる「岡山市」と、S3の文に含まれる「高梁市」とを、地名として抽出する。これらのうち、「高梁市」と「岡山市」とは、既に、話題地域特定部23の処理により、話題地域における中位地名であるとして特定されている。したがって、下位地名抽出部24は、上に列挙した地名のうち、「朝日町」のみを下位地名として抽出する。さらに、下位地名抽出部24は、ルールマッチング処理による下位地名抽出を行う。即ち、下位地名抽出部24は、「地区」という単語とのマッチングにより、「山田地区」という単語を下位地名として抽出する。
FIG. 7 is a schematic diagram showing data for explaining an example of lower place name extraction processing by the lower place
なお、下位地名抽出部24は、形態素解析処理によって抽出した下位地名の集合と、ルールマッチング処理によって抽出した下位地名の集合との、和集合を、下位地名として抽出する。
Note that the lower place
以上の処理により、下位地名抽出部24は、S1、S2、S3の3文からなるテキストから、次の地名列を抽出する。その地名列とは、「高梁市」(中位地名)-「朝日町」(下位地名)-「岡山市」(中位地名)-「高梁市」(中位地名)-「山田地区」(下位地名)である。この地名列における地名の順序は、元のテキストデータにおける出現順序と一致している。そして、下位地名抽出部24は、抽出された下位地名がどの中位地名に属するかを決定する。前述の通り、下位地名の出現箇所の、直前の中位地名が、当該下位地名の属する中位地名である。つまり、この例では、下位地名抽出部24は、下位地名「朝日町」は直前に出現する中位地名「高梁市」に属するものであることを決定する。また、下位地名抽出部24は、下位地名「山田地区」もまた直前に出現する中位地名「高梁市」に属するものであることを決定する。つまり、図7のテキストデータの例を基に処理した場合、下位地名抽出部24は、高梁市(中位地名)-朝日町(下位地名)という関係と、高梁市(中位地名)-山田地区(下位地名)という関係とを抽出する。
Through the above processing, the lower place
図8は、影響範囲抽出部25が抽出する影響範囲の表現の具体例を示す概略図である。図8(A)は、テキスト取得部21が取得したテキストデータの一部を示している。ここに示すテキストデータは、ある1文の途中部分のみである。その途中部分とは「で3世帯の合わせて11人に避難勧告が」というものである。図8(B)は、図8(A)のテキストに対応する形態素解析処理の結果である。図示するように、形態素解析処理の結果は、元のテキストから抽出されたそれぞれの形態素と、対応する品詞の情報とを持つ。なお、図8(B)では、各形態素(この表の各行)に便宜的に番号を付与している。影響範囲抽出部25は、形態素解析の結果を表すデータを参照しながら、前述の影響範囲の表現の抽出のためのルールに基づいて、影響範囲の表現を見つける。図8(B)に示すように、このテキスト例での形態素解析処理の結果は、(番号1,形態素:で,品詞:助詞)-(番号2,形態素:3,品詞:数詞)-(番号3,形態素:世帯,品詞:名詞)-(番号4,形態素:の,品詞:助詞)-(番号5,形態素:合わせ,品詞:動詞)-(番号6,形態素:て,品詞:助詞)-(番号7,形態素:11,品詞:数詞)-(番号8,形態素:人,品詞:名詞)-(番号9,形態素:に,品詞:助詞)-(番号10,形態素:避難勧告,品詞:名詞)-(番号11,形態素:が,品詞:助詞)である。
FIG. 8 is a schematic diagram showing a specific example of the expression of the influence range extracted by the influence
影響範囲抽出部25は、上記の形態素解析処理結果と、前述の「ルール1」が規定するパターンとのマッチングを行い、その結果として、「3世帯」および「11人」という、2つの影響範囲の表現を抽出する。また、この例では、前述の「ルール2」および「ルール3」は適用されない。
The influence
図9は、影響範囲抽出部25が抽出する影響範囲の表現の別の具体例を示す概略図である。図9(A)は、テキスト取得部21が取得したテキストデータの一部を示している。図示するテキストデータは、ある1文の途中部分のみであり、「で2棟の住宅が」というものである。図9(B)は、図9(A)のテキストに対応する形態素解析処理の結果である。図9(B)に示すように、このテキスト例での形態素解析処理の結果は、(番号1,形態素:で,品詞:助詞)-(番号2,形態素:2,品詞:数詞)-(番号3,形態素:棟,品詞:名詞)-(番号4,形態素:の,品詞:助詞)-(番号5,形態素:住宅,品詞:名詞)-(番号6,形態素:が,品詞:助詞)である。
FIG. 9 is a schematic diagram showing another specific example of the expression of the influence range extracted by the influence
影響範囲抽出部25は、上記の形態素解析処理結果と、前述の「ルール1」が規定するパターンとのマッチングを行い、その結果として、「2棟」という影響範囲の表現を抽出する。また、この例では、前述の「ルール2」および「ルール3」は適用されない。
The influence
図10は、主題抽出部26の処理を説明するための、文の係り受け解析結果の例を示す概略図である。ここに図示するデータは、「この/大雨により,/高梁市朝日町の/3世帯/8人に/避難勧告が/出されています./EOS」というテキスト(文例)の係り受け解析処理の結果を表している。なお「EOS」は文の終わりを示す記号である。係り受け解析結果のデータは、例えば、プレーンテキストの形式で得られるが、図10では、便宜的に、行番号を付し、また節の区切りに横線を引いて示している。
FIG. 10 is a schematic diagram showing an example of a sentence dependency analysis result for explaining the processing of the
図10において、各節の先頭のアスタリスクの次の番号は、節を識別する整数値(節番号)である。最初の節の節番号は0であり、以下、1,2,3,・・・と続く。各節の節番号の次の、「D」が後続する整数値は、当該節が係る先の節番号である。係る先の節番号が「-1」である場合には、当該節が係る先の節はない。また、各節を構成する語のそれぞれについて、語に関する情報(品詞情報や読み方など)が記述されている。このデータが表す係り受け関係は、次の通りである。節番号0の節は「この」であり、節番号1の節に係る。節番号1の節は「大雨により,」であり、節番号6の節に係る。節番号2の節は「高梁市朝日町の」であり、節番号3の節に係る。節番号3の節は「3世帯」であり、節番号4の節に係る。節番号4の節は「8人に」であり、節番号6の節に係る。節番号5の節は「避難勧告が」であり、節番号6の節に係る。節番号6の節は「出されています.」であり、係り先の節はない(節番号として「-1」が記述されている)。
In FIG. 10, the number following the asterisk at the beginning of each clause is an integer value (clause number) that identifies the clause. The first clause has a clause number of 0, followed by 1, 2, 3, and so on. The integer value followed by "D" next to the clause number of each clause is the clause number to which the clause relates. If the clause number of the relevant clause is "-1", there is no clause to which the clause applies. Furthermore, for each word that makes up each clause, information about the word (part of speech information, reading, etc.) is described. The dependency relationships represented by this data are as follows. The clause with
そして、主題抽出部26は、次の手順により、主題を抽出する。
第1段階:まず、主題抽出部26は、係り受け解析の結果を参照することにより、ある節が直接次の節に係っている場合に、それらの節を1つにまとめる。つまり、図10に示した例では、直接次の節に係っている箇所は、節番号0から1、節番号2から3、節番号3から4、節番号5から6、の4箇所である。これらの、次の節に係る節をまとめると、文は、「この大雨により,/高梁市朝日町の3世帯8人に/避難勧告が出されています.」(まとめた後、スラッシュが区切りの場所)となる。このまとまりを「チャンク」と呼んでもよい。
Then, the
First step: First, by referring to the results of the dependency analysis, the
第2段階:次に、主題抽出部26は、これらのまとまりのうち、動詞が含まれるまとまりを抽出する。但し、主題になりにくい動詞である「よる」や「あわせる」等を除外する。なお、ある動詞が主題になりにくい動詞であるか否かの情報を、辞書データに予め持たせておいてその辞書を参照するようにしてもよい。その結果、主題になり得る動詞が含まれるまとまりとして、「避難勧告が出されています」のみが抽出される。
Second stage: Next, the
第3段階:次に、主題抽出部26は、動詞を含む節に直接かかる節をつなぐ。ただし、地名や影響範囲の表現として抽出されたフレーズを含む節を飛び越えない範囲においてのみ、つなぐ節を選択する。図10に示した例では、「8人に」という節は動詞を含む「出されています」に直接係っているが、影響範囲抽出部25によって既に抽出済みの表現であるので、主題抽出部26は、動詞につなぐことを行わない。また、他の部分である「この大雨により,」や「高梁市朝日町の3世帯」は、動詞を含む「出されています」に直接係ってはいないので、主題抽出部26は、これらを抽出しない。
Third stage: Next, the
なお、他の文例の場合、主題抽出部26が主題を抽出する処理は、次の通りである。例えば、元の文が「あわせて12か所に避難所を設置し,避難するように呼びかけています」の場合、主題抽出部26は、上記の手順にしたがい、主題として「避難所を設置し,避難するように呼びかけています」を抽出する。また、元の文が「自宅が被害を受けた住民向けに,応急処置に使うためのブルーシートを配布しています」の場合、主題抽出部26は、上記の手順にしたがい、主題として、「応急処置に使う」と「応急処置に使うためのブルーシートを配布しています」の2つを抽出する。
In addition, in the case of other sentence examples, the process by which the
そして、主題抽出部26は、次の手順により、抽出された主題を整形する処理を行う。
第1段階:抽出された動詞が特定のものである場合には、その動詞を除去して体言止めの形に整形する。特定の動詞とは、例えば、「言う」、「なる」、「出す」等である。整形段階において除去すべき動詞の情報を予め辞書データとして持っておいて、主題抽出部26がその辞書データを参照することによって除去すべき動詞であるか否かを判断するようにしてもよい。例えば、「避難勧告が出されています.」という表現が主題として抽出されている場合、動詞「出す」は、体言止めへの整形のために除去すべきものであるので、主題抽出部26は、動詞「出す」の直前の名詞である「勧告」より後ろの文言をすべて除去する。即ち、主題抽出部26は、「避難勧告が出されています.」という表現を、「避難勧告」という表現に整形する。
Then, the
First stage: If the extracted verb is a specific one, the verb is removed and reformatted into a formal form. Specific verbs include, for example, "say,""naru,""send," and the like. Information on verbs to be removed in the formatting stage may be stored in advance as dictionary data, and the
第2段階:接続詞や、助動詞「ます」といった、要約データにふさわしくない表現を除去する。主題抽出部26は、抽出された主題の表現が特定の接続詞や助動詞を含む場合、直前の動詞等を残し、それより後ろの文言をすべて除去する。例えば、主題抽出部26は、「避難所を設置し,避難するように呼びかけています」という表現を、「避難所を設置し,避難するように呼びかけ」という表現に整形する。
Second stage: Remove expressions that are unsuitable for summarized data, such as conjunctions and the auxiliary verb "masu". When the extracted theme expression includes a specific conjunction or auxiliary verb, the
第3段階:動詞に後続する語を除去する。但し、動詞の後に否定を表す助動詞が続く場合には、その助動詞までの単語を残し、その助動詞に後続する語を除去する。否定を表す助動詞とは、例えば「ない」や「ぬ」等である。例えば、抽出された主題が「復旧のメドは立っていないとのことです」である場合、主題抽出部26は、動詞「立つ」に後続する助動詞「ない」(否定)までを残し、その後ろの語を除去する。つまり、主題抽出部26は、「復旧のメドは立っていないとのことです」という表現を、「復旧のメドは立っていない」に整形する。
Stage 3: Remove the word following the verb. However, if the verb is followed by an auxiliary verb expressing negation, the words up to the auxiliary verb are left and the words following the auxiliary verb are removed. Examples of auxiliary verbs expressing negation include "nai" and "nu". For example, if the extracted theme is "There is no hope for recovery," the
図11は、要約生成部27による処理の手順を示すフローチャートである。以下、このフローチャートに沿って、処理を説明する。
FIG. 11 is a flowchart showing the procedure of processing by the
ステップS21において、要約生成部27は、1つの文から抽出された複数の主題のうち、重複する内容のものを除去する。前述の主題抽出部26の処理では、1つの文から複数の主題を抽出する場合がある。要約生成部27は、これらのうち、主題間の単語の重なり度合いによって、一部の主題を除去する場合がある。具体的には、要約生成部27は、抽出された主題間で、単語の重複度合いを算出する。要約生成部27は、ある主題に含まれる単語のうち、他の主題に含まれる単語の占める割合を重複度合いとして求める。重複度合いが60%以上である主題のペアが存在する場合、要約生成部27は、そのペアのうちの、より多くの単語が含まれる主題のみを残し、他方の主題を除去する。
In step S21, the
ステップS22において、要約生成部27は、地名と影響範囲とを関連付ける。ここで、地名は、中位地名抽出部22あるいは下位地名抽出部24が抽出した地名である。また、影響範囲は、影響範囲抽出部25が抽出した影響範囲の表現である。元の文において、ある地名が出現した後、別の地名が出現するまでの間に、単数または複数の影響範囲の表現が出現した場合、それらの影響範囲の表現は、先に出現した側の地名の場所で起きているものであると推定できる。これにより、要約生成部27は、地名と影響範囲の表現とを関連付ける。
In step S22, the
ステップS23において、要約生成部27は、主題を、(地名+影響範囲)と関連付ける。文において、(地名+影響範囲)が出現して以後、次の主題が出現した場合、要約生成部27は、その(地名+影響範囲)を、その主題と関連付ける。
In step S23, the
ステップS21からS23までの処理により、要約生成部27は、(地名,影響範囲,主題)の組を特定した。ある組の中における地名と影響範囲と主題とは、ステップS22およびS23の処理において関連付けられたものである。なお、要約生成部27は、1つの文を基に、複数の(地名,影響範囲,主題)の組を特定する場合もある。また、(地名,影響範囲,主題)の組において、地名が含まれない場合や、影響範囲の表現が含まれない場合があり得る。
Through the processing from steps S21 to S23, the
ステップS24において、要約生成部27は、(地名,影響範囲,主題)の組のそれぞれに対して、生成ルール記憶部33から読み出したルールを適用することによって、要約表現を生成する。なお、要約を生成するためのルールについては、次に説明する。
In step S24, the
図12は、生成ルール記憶部33が記憶する、要約表現の生成のためのルールの例を示す概略図である。ここでは、同図は、ルール1から3までの3つのルールを示しているが、生成ルール記憶部33が記憶するルールの数は任意である。各ルールは、適用の前提となる条件と、その条件が満たされた場合に生成される要約表現とのペアとして記述されている。
FIG. 12 is a schematic diagram showing an example of rules for generating a summary expression, which are stored in the generation
ルール1の条件は、組に中位地名が含まれることである。この条件が満たされる場合に、要約生成部27が「<主題> <中位地名> <影響範囲>」という要約の表現を生成すべきものであることを、このルール1は規定する。
ルール2の条件は、組に中位地名が含まれ、且つ下位地名が含まれることである。この条件が満たされる場合に、要約生成部27が「<主題> <中位地名> <下位地名のリスト>」という要約の表現を生成すべきものであることを、このルール2は規定する。
ルール3の条件は、組に地名が含まれないことである。この条件が満たされる場合に、要約生成部27が「<主題>」という要約の表現を生成すべきものであることを、このルール3は規定する。
The condition of
The condition of
The condition of
上記のルール1から3までの各々を適用して生成される要約文の例は、次の通りである。
要約生成部27がルール1を適用して生成する要約の一例は、「避難勧告 玉野市 2398世帯8961人」である。要約生成部27がルール1を適用して生成する要約の他の例は、「土砂災害のおそれが高まる 玉野市」である。なお、この要約には、影響範囲の表現がない。
要約生成部27がルール2を適用して生成する要約の一例は、「避難勧告 玉野市 日々地区 和田地区 渋川地区」である。要約生成部27がルール2を適用して生成する要約の他の例は、「村上市 旧塩田町小学校 下北ゆり花会館 せんぽく会館」である。
要約生成部27がルール3を適用して生成する要約の一例は、「避難所を設置し,避難するように呼びかける」である。要約生成部27がルール3を適用して生成する要約の他の例は、「二次災害のおそれがあることから復旧のメドは立っていない」である。
Examples of summary sentences generated by applying each of the
An example of the summary generated by the
An example of the summary generated by the
An example of a summary that the
図13は、要約装置1の全体的な処理の手順を示すフローチャートである。以下、このフローチャートに沿って説明する。
FIG. 13 is a flowchart showing the overall processing procedure of the
ステップS31において、テキスト取得部21は、外部から、テキストデータを取得する。このテキストデータは、例えば、報道番組用のニュース原稿である。
ステップS32において、中位地名抽出部22は、テキスト取得部21が取得したテキストデータから、中位地名の候補を抽出する。
ステップS33において、話題地域特定部23は、中位地名抽出部22が抽出した中位地名の候補のリストを基に、話題地域を特定する。話題地域特定部23は、特定された話題地域について、上位地名および中位地名の情報を出力する。
ステップS34において、下位低迷抽出部24は、テキスト取得部21が取得したテキストデータから、下位地名を抽出する。
ステップS35において、影響範囲抽出部25は、テキスト取得部21が取得したテキストデータから、影響範囲の表現を抽出する。
ステップS36において、主題抽出部26は、テキスト取得部21が取得したテキストデータから、主題を抽出する。
ステップS37において、要約生成部33は、話題地域特定部によって特定された話題地域の地名と影響範囲の表現と主題の組(組内の一部の情報が欠けていてもよい)に基づいて、生成ルール記憶部33から読み出したルールを適用して、要約を生成する。
In step S31, the
In step S32, the intermediate place
In step S33, the topic
In step S34, the lower
In step S35, the influence
In step S36, the
In step S37, the
なお、要約装置1が生成した要約のテキストは、例えば、放送用あるいはウェブ配信用等のデータとして用いることができる。要約装置1が生成した要約のテキストを自動的に配信してもよいし、そのテキストの中から人等が適宜選択したテキストのみを配信するようにしてもよい。
Note that the text of the summary generated by the
本実施形態およびその変形例について、まとめると、次の通りである。 The present embodiment and its modified examples are summarized as follows.
(1)要約装置1は、少なくとも、テキスト取得部21と、地名抽出部と、影響範囲抽出部25と、主題抽出部26と、要約生成部27とを備える。テキスト取得部21は、テキストデータを取得する。地名抽出部は、形態素解析処理を行うことによって、あるいは、予め記憶されている地名情報(例えば、地名辞書記憶部31や隣接関係辞書記憶部32)を参照することによって、前記テキストデータから地名を抽出する。影響範囲抽出部25は、前記テキストデータに含まれる数詞を含んだ表現を影響範囲の表現として抽出する。主題抽出部26は、前記テキストデータに含まれる動詞を含んだ表現を主題として抽出する。要約生成部27は、前記地名と、前記影響範囲の表現と、前記主題との組に、予め記憶しておいた生成ルールを適用することによって要約を生成する。ただし、上記の組は、前記地名または前記影響範囲の表現の少なくともいずれかが欠けていることを許容するものである。
(1) The
なお、変形例として、地名は、特に、上位-中位-下位の階層として構成されていなくてもよい。その場合にも、地名抽出部は、形態素解析処理を行うことによって、あるいは、地名情報を参照することによって、前記テキストデータから地名を抽出することができる。そのようにして抽出された地名を基に、要約生成部27は要約を生成してもよい。
Note that, as a modification, the place names do not have to be structured as a hierarchy of upper-middle-lower. Even in that case, the place name extraction unit can extract place names from the text data by performing morphological analysis processing or by referring to place name information. The
(2)前記地名は、階層構成として、上位地名と中位地名と下位地名とを含むものであってもよい。この場合、前記地名情報は、前記上位地名に属する前記中位地名の情報である所属関係情報を含むものである。また、要約装置1は、前記地名抽出部(中位地名抽出部22等)が抽出した地名に基づいて話題地域を特定する話題地域特定部23をさらに備える。この話題地域特定部23は、前記地名抽出部が抽出した前記中位地名の候補の集合を基に、前記テキストデータが話題の対象とする上位地名を推定することによって、前記上位地名によって表される前記話題地域を特定するものである。つまり、所属関係情報に基づき、話題地域特定部23は、テキストデータ中に出現した中位地名(候補)の集合から、その集合の要素である中位地名がどの上位地名に属する傾向にあるかを特定し、それによって話題地域として、上位地名を特定する。ここで、上位地名は、1つでも複数でもよい。つまり、中位地名がたまたま複数の上位地名に属する(具体例としては、同一の名称を有する別々の市区町村が、複数の都道府県に属する)場合でも、上記の中位地名(候補)の集合が、どの上位地名に分布しているかを統計的に把握することにより、話題地域特定部23は、話題地域を特定することができる。そのための計算方法の一例は既に式(1)あるいは式(2)として説明したが、それ以外の計算方法によって話題地域を特定してもよい。
(2) The place name may include a high-level place name, a middle-level place name, and a low-level place name as a hierarchical structure. In this case, the place name information includes affiliation information that is information about the intermediate place name that belongs to the higher place name. Further, the
(3)前記地名情報は、前記上位地名のペアが隣接関係であるか否かを表す隣接関係情報を含むものであってもよい。話題地域特定部23は、前記隣接関係情報を参照することによって、推定された複数の前記上位地名が相互に隣接するものであるか否かを判定する。これにより、話題地域特定部23は、隣接関係を有する上位地名のペアの関係を推移的に適用して得られる複数の前記上位地名の集合として表される前記話題地域を特定することもできる。
(3) The place name information may include adjacency relationship information indicating whether or not the pair of high-rank place names are in an adjacency relationship. The topic
(4)具体的な例として、話題地域特定部23は、前記地名情報を参照することによって前記テキストデータから抽出された前記中位地名の候補の集合を基に、上位地名のスコアを算出して、相対的にスコアの良い前記上位地名を前記話題地域として特定するものである。この上位地名のスコアは、前記所属関係情報に基づいて、当該上位地名に属する前記中位地名の候補の各々についての当該中位地名の候補が属するすべての上位地名の数の逆数の、当該上位地名に属する前記中位地名の候補のすべてについての和をとった値、として算出される。
(4) As a specific example, the topic
変形例として、他の統計的な計算方法によって、上位地名が話題地域であるらしさを算出してもよい。 As a modification, the likelihood that the top place name is a hot topic area may be calculated using another statistical calculation method.
(5)下位地名抽出部24(単に「地名抽出部」とも呼ばれる)は、既に具体的に説明したように、前記形態素解析処理を行うことによって抽出された前記地名のうち、前記上位地名および前記中位地名のいずれにも特定されなかった地名を前記下位地名として抽出し、且つ、当該下位地名を、当該下位地名に先立って前記テキストデータ内で出現する前記中位地名のうちの当該下位地名に最も近い位置に出現する前記中位地名に属する下位地名として抽出するものであってよい。 (5) As already specifically explained, the lower place name extraction unit 24 (also simply called the “place name extraction unit”) extracts the upper place names and the above place names from among the place names extracted by performing the morphological analysis process. A place name that is not specified in any of the intermediate place names is extracted as the lower place name, and the lower place name is used as the lower place name among the intermediate place names that appear in the text data before the lower place name. The place name may be extracted as a lower place name belonging to the intermediate place name that appears at the position closest to .
(6)この下位地名抽出部24は、さらに、既に具体的に説明したように、地名であることを推定させる特定のキーワード(「地区」、「地域」等)を伴う名詞(例えば「山田地区」)を、さらに、前記下位地名として抽出し、且つ、当該下位地名を、当該下位地名に先立って前記テキストデータ内で出現する前記中位地名のうちの当該下位地名に最も近い位置に出現する前記中位地名に属する下位地名として抽出するものであってよい。
(6) As already explained in detail, this lower place
以上説明した実施形態によると、要約装置1は、ニュース原稿等のテキストデータを基に、その要約を出力することができる。また、要約装置1は、機械学習で得たモデルを用いて要約を出力するものではなく、ルールおよびアルゴリズムに基づいて要約を生成する処理を行うものである。つまり、要約装置1が出力する要約は、機械学習データに依存して得られるものではなく、予測可能性の高いものである。また、要約装置1は、出力する文数等について制約を受けるものではなく、複数の(場合によっては多数の)要約文を出力することができ、即ち、入力テキストデータに含まれる情報を網羅した要約データを出力することができる。
According to the embodiment described above, the
また、要約装置1は、上位地名に属する中位地名の集合の情報を予め地名辞書記憶部31に持ち、その地名辞書記憶部31を参照しながら処理することにより、テキスト中に出現する中位地名候補の集合を基に、適切に、話題地域(話題の対象である上位地名)を特定することができる。また、要約装置1は、上位地名同士が隣接関係であるか否かの情報を予め隣接関係辞書記憶部32に持ち、その隣接関係辞書記憶部32を参照しながら処理することにより、近隣の上位地名を、ひとまとめの話題地域として特定することができる。
In addition, the
要約装置1を用いることにより、要約データ専用のテキストを人手で作ることを必要とせず、ニュース原稿とのテキストデータを基に自動的に生成した要約を、通信ネットワークや、テレビ放送の画面あるいは字幕テキストや、各所に設けられるデジタルサイネージ等で配信することが可能となる。例えば、災害時等、豊富な要約データを必要とする状況においても、そのための人員をわざわざ配置する必要がなくなる。
By using the
なお、上述した実施形態(変形例を含む)における要約装置の少なくとも一部の機能をコンピューターで実現することができる。その場合、この機能を実現するためのプログラムをコンピューター読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピューターシステムに読み込ませ、実行することによって実現しても良い。なお、ここでいう「コンピューターシステム」とは、OSや周辺機器等のハードウェアを含むものとする。また、「コンピューター読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、CD-ROM、DVD-ROM、USBメモリー等の可搬媒体、コンピューターシステムに内蔵されるハードディスク等の記憶装置のことをいう。さらに「コンピューター読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムを送信する場合の通信線のように、一時的に、動的にプログラムを保持するもの、その場合のサーバーやクライアントとなるコンピューターシステム内部の揮発性メモリーのように、一定時間プログラムを保持しているものも含んでも良い。また上記プログラムは、前述した機能の一部を実現するためのものであっても良く、さらに前述した機能をコンピューターシステムにすでに記録されているプログラムとの組み合わせで実現できるものであっても良い。 Note that at least part of the functions of the summarization device in the above-described embodiments (including modified examples) can be realized by a computer. In that case, a program for realizing this function may be recorded on a computer-readable recording medium, and the program recorded on the recording medium may be read into a computer system and executed. Note that the "computer system" herein includes hardware such as an OS and peripheral devices. Furthermore, "computer-readable recording media" refers to portable media such as flexible disks, magneto-optical disks, ROM, CD-ROM, DVD-ROM, and USB memory, and storage devices such as hard disks built into computer systems. Say something. Furthermore, a "computer-readable recording medium" refers to a medium that temporarily and dynamically stores a program, such as a communication line when transmitting a program via a network such as the Internet or a communication line such as a telephone line. In that case, it may also include something that retains a program for a certain period of time, such as a volatile memory inside a computer system that is a server or client. Further, the program may be one for realizing a part of the above-mentioned functions, or may be one that can realize the above-mentioned functions in combination with a program already recorded in the computer system.
以上、複数の実施形態を説明したが、本発明はさらに次のような変形例でも実施することが可能である。
例えば、上の実施形態では、各機能部が形態素解析処理を行う形でも実現可能である。一方で、元のテキストデータに対して、1回だけ形態素解析処理を行い、その結果を各部が参照するようにしてもよい。
Although a plurality of embodiments have been described above, the present invention can be further implemented in the following modifications.
For example, the above embodiment can be implemented in such a way that each functional unit performs morphological analysis processing. On the other hand, the morphological analysis process may be performed on the original text data only once, and each part may refer to the result.
以上、この発明の実施形態について図面を参照して詳述してきたが、具体的な構成はこの実施形態に限られるものではなく、この発明の要旨を逸脱しない範囲の設計等も含まれる。 Although the embodiments of the present invention have been described above in detail with reference to the drawings, the specific configuration is not limited to these embodiments, and includes designs within the scope of the gist of the present invention.
本発明は、例えば、放送事業や、コンテンツ配信の事業等に利用することができる。但し、本発明の利用範囲はここに例示したものには限られない。 INDUSTRIAL APPLICATION This invention can be utilized, for example in a broadcasting business, a content distribution business, etc. However, the scope of use of the present invention is not limited to what is exemplified here.
1 要約装置
21 テキスト取得部
22 中位地名抽出部(地名抽出部)
23 話題地域特定部
24 下位地名抽出部(地名抽出部)
25 影響範囲抽出部
26 主題抽出部
27 要約生成部
31 地名辞書記憶部(地名情報を記憶する記憶部)
32 隣接関係辞書記憶部
33 生成ルール記憶部
1
23 Topic
25 Influence
32 Adjacency
Claims (6)
形態素解析処理を行うことによって、あるいは、予め記憶されている地名情報を参照することによって、前記テキストデータから地名を抽出する地名抽出部と、
前記テキストデータに含まれる「{名詞または接頭語}+数詞(+接続助詞+数詞)(+{{名詞、ただし形容詞語幹以外}または並立助詞または形容詞})」のパターン(ただし、丸括弧で囲われる部分は省略可能)の表現を影響範囲の表現として抽出する影響範囲抽出部と、
前記テキストデータに含まれる動詞を含む節に直接的に係る節をつなぐことによって得られる表現を主題として抽出する主題抽出部と、
前記地名と、前記影響範囲の表現と、前記主題との組であって、前記地名または前記影響範囲の表現の少なくともいずれかが欠けていることを許容する前記組に、予め記憶しておいた生成ルールを適用することによって要約を生成する要約生成部と、
前記地名抽出部が抽出した地名に基づいて話題地域を特定する話題地域特定部と、
を備え、
前記地名は、階層構成として、上位地名と中位地名と下位地名とを含むものであり、
前記地名情報は、前記上位地名に属する前記中位地名の情報である所属関係情報を含むものであり、
前記話題地域特定部は、前記地名抽出部が抽出した前記中位地名の候補の集合を基に、前記テキストデータが話題の対象とする上位地名を推定することによって、前記上位地名によって表される前記話題地域を特定するものであり、
前記要約生成部は、前記話題地域特定部が特定した前記話題地域を用いた前記要約を生成する、
要約装置。 a text acquisition unit that acquires text data;
a place name extraction unit that extracts place names from the text data by performing morphological analysis processing or by referring to place name information stored in advance;
The pattern of "{noun or prefix} + numeral (+conjunctive particle + numeral) (+{{noun, but not an adjective stem} or parallel particle or adjective})" included in the text data (however, the pattern enclosed in parentheses is an influence range extraction unit that extracts an expression (the part that is displayed can be omitted) as an expression of the influence range;
a theme extraction unit that extracts, as a theme, an expression obtained by connecting clauses directly related to clauses containing verbs included in the text data;
A set of the place name, the expression of the range of influence, and the subject, which is stored in advance in the set that allows for the omission of at least either the place name or the expression of the range of influence. a summary generator that generates a summary by applying a generation rule;
a topic area identification unit that identifies a topic area based on the place name extracted by the place name extraction unit;
Equipped with
The place name includes a high-level place name, a middle-level place name, and a low-level place name as a hierarchical structure,
The place name information includes affiliation information that is information about the intermediate place name that belongs to the high-level place name,
The topic area identification unit estimates the top place names that the text data is a topic of, based on the set of intermediate place name candidates extracted by the place name extraction unit, so that the text data is represented by the top place name. It specifies the topic area,
The summary generation unit generates the summary using the topic area identified by the topic area identification unit.
Summarization device.
前記話題地域特定部は、前記隣接関係情報を参照することによって、推定された複数の前記上位地名が相互に隣接するものであるか否かを判定し、隣接関係を有する上位地名のペアの関係を推移的に適用して得られる複数の前記上位地名の集合として表される前記話題地域を特定するものである、
請求項1に記載の要約装置。 The place name information includes adjacency relationship information indicating whether or not the pair of high-rank place names are in an adjacency relationship;
The topic area identification unit refers to the adjacency relationship information to determine whether or not the plurality of estimated high-rank place names are adjacent to each other, and determines the relationship between pairs of high-rank place names that have an adjacency relationship. The topic area is specified as a set of a plurality of top place names obtained by transitively applying
A summarization device according to claim 1 .
前記上位地名のスコアは、前記所属関係情報に基づいて、当該上位地名に属する前記中位地名の候補の各々についての当該中位地名の候補が属するすべての上位地名の数の逆数の、当該上位地名に属する前記中位地名の候補のすべてについての和をとった値、として算出される、
請求項1または2に記載の要約装置。 The topic area identification unit calculates scores of top place names based on a set of middle place name candidates extracted from the text data by referring to the place name information, and selects top place name candidates with relatively good scores. The top place names are identified as the topic areas,
The score of the above-mentioned high-rank place name is calculated based on the above-mentioned affiliation relationship information, based on the above-mentioned affiliation relationship information, the score of the above-mentioned high-rank place name is the reciprocal of the number of all high-rank place names to which the mid-rank place name candidate belongs for each of the mid-rank place name candidates belonging to the high-rank place name. The value is calculated as the sum of all of the intermediate place name candidates belonging to the place name.
A summarization device according to claim 1 or 2 .
前記要約生成部は、前記組が中位地名を含み且つ下位地名を含む場合に、「<主題> <中位地名> <下位地名のリスト>」という前記要約を生成する、
請求項1から3までのいずれか一項に記載の要約装置。 The place name extracting unit extracts, as the lower place name, a place name that is not specified in either the upper place name or the middle place name from among the place names extracted by performing the morphological analysis process, and Extracting the lower place name as a lower place name belonging to the intermediate place name that appears in the position closest to the lower place name among the intermediate place names that appear in the text data prior to the lower place name ,
The summary generation unit generates the summary of "<Subject><Medium place name><List of low order place names>" when the set includes a middle place name and a low order place name.
A summarization device according to any one of claims 1 to 3 .
請求項4に記載の要約装置。 The place name extraction unit further extracts a noun accompanied by a specific keyword that makes it presumed to be a place name as the lower place name, and the lower place name appears in the text data before the lower place name. Extracting as a lower place name belonging to the intermediate place name that appears in the position closest to the lower place name among the intermediate place names,
A summarization device according to claim 4 .
テキストデータを取得するテキスト取得部と、
形態素解析処理を行うことによって、あるいは、予め記憶されている地名情報を参照することによって、前記テキストデータから地名を抽出する地名抽出部と、
前記テキストデータに含まれる「{名詞または接頭語}+数詞(+接続助詞+数詞)(+{{名詞、ただし形容詞語幹以外}または並立助詞または形容詞})」のパターン(ただし、丸括弧で囲われる部分は省略可能)の表現を影響範囲の表現として抽出する影響範囲抽出部と、
前記テキストデータに含まれる動詞を含む節に直接的に係る節をつなぐことによって得られる表現を主題として抽出する主題抽出部と、
前記地名と、前記影響範囲の表現と、前記主題との組であって、前記地名または前記影響範囲の表現の少なくともいずれかが欠けていることを許容する前記組に、予め記憶しておいた生成ルールを適用することによって要約を生成する要約生成部と、
前記地名抽出部が抽出した地名に基づいて話題地域を特定する話題地域特定部と、
を備え、
前記地名は、階層構成として、上位地名と中位地名と下位地名とを含むものであり、
前記地名情報は、前記上位地名に属する前記中位地名の情報である所属関係情報を含むものであり、
前記話題地域特定部は、前記地名抽出部が抽出した前記中位地名の候補の集合を基に、前記テキストデータが話題の対象とする上位地名を推定することによって、前記上位地名によって表される前記話題地域を特定するものであり、
前記要約生成部は、前記話題地域特定部が特定した前記話題地域を用いた前記要約を生成する、
要約装置として機能させるためのプログラム。 computer,
a text acquisition unit that acquires text data;
a place name extraction unit that extracts place names from the text data by performing morphological analysis processing or by referring to place name information stored in advance;
The pattern of "{noun or prefix} + numeral (+conjunctive particle + numeral) (+{{noun, but not an adjective stem} or parallel particle or adjective})" included in the text data (however, the pattern enclosed in parentheses is an influence range extraction unit that extracts an expression (the part that is displayed can be omitted) as an expression of the influence range;
a theme extraction unit that extracts, as a theme, an expression obtained by connecting clauses directly related to clauses containing verbs included in the text data;
A set of the place name, the expression of the range of influence, and the subject, which is stored in advance in the set that allows for the omission of at least either the place name or the expression of the range of influence. a summary generator that generates a summary by applying a generation rule;
a topic area identification unit that identifies a topic area based on the place name extracted by the place name extraction unit;
Equipped with
The place name includes a high-level place name, a middle-level place name, and a low-level place name as a hierarchical structure,
The place name information includes affiliation information that is information about the intermediate place name that belongs to the high-level place name,
The topic area identification unit estimates the top place names that the text data is a topic of, based on the set of intermediate place name candidates extracted by the place name extraction unit, so that the text data is represented by the top place name. It specifies the topic area,
The summary generation unit generates the summary using the topic area identified by the topic area identification unit.
A program to function as a summarization device.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2019190514A JP7365849B2 (en) | 2019-10-17 | 2019-10-17 | Summarization devices and programs |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2019190514A JP7365849B2 (en) | 2019-10-17 | 2019-10-17 | Summarization devices and programs |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2021067979A JP2021067979A (en) | 2021-04-30 |
| JP7365849B2 true JP7365849B2 (en) | 2023-10-20 |
Family
ID=75637211
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2019190514A Active JP7365849B2 (en) | 2019-10-17 | 2019-10-17 | Summarization devices and programs |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7365849B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP7570548B1 (en) | 2024-04-30 | 2024-10-21 | 株式会社Jx通信社 | Information processing device, information processing method, and information processing program |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2001052032A (en) | 1999-05-28 | 2001-02-23 | Nippon Telegr & Teleph Corp <Ntt> | Abstract sentence creating method and apparatus, and storage medium storing abstract sentence creating program |
| JP2002197097A (en) | 2000-12-27 | 2002-07-12 | Nippon Telegr & Teleph Corp <Ntt> | Article abstract sentence generation apparatus, article abstract sentence generation processing method, and recording medium for article abstract sentence generation processing program |
| JP2012501503A (en) | 2008-08-29 | 2012-01-19 | アリババ グループ ホールディング リミテッド | Determining key geographic information in a document |
| JP2014203383A (en) | 2013-04-09 | 2014-10-27 | 日本放送協会 | Relay section extraction device, and program |
| JP2017151788A (en) | 2016-02-25 | 2017-08-31 | ヤフー株式会社 | Information processing apparatus, information processing method, and information processing program |
-
2019
- 2019-10-17 JP JP2019190514A patent/JP7365849B2/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2001052032A (en) | 1999-05-28 | 2001-02-23 | Nippon Telegr & Teleph Corp <Ntt> | Abstract sentence creating method and apparatus, and storage medium storing abstract sentence creating program |
| JP2002197097A (en) | 2000-12-27 | 2002-07-12 | Nippon Telegr & Teleph Corp <Ntt> | Article abstract sentence generation apparatus, article abstract sentence generation processing method, and recording medium for article abstract sentence generation processing program |
| JP2012501503A (en) | 2008-08-29 | 2012-01-19 | アリババ グループ ホールディング リミテッド | Determining key geographic information in a document |
| JP2014203383A (en) | 2013-04-09 | 2014-10-27 | 日本放送協会 | Relay section extraction device, and program |
| JP2017151788A (en) | 2016-02-25 | 2017-08-31 | ヤフー株式会社 | Information processing apparatus, information processing method, and information processing program |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2021067979A (en) | 2021-04-30 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| Felt | Social media and the social sciences: How researchers employ Big Data analytics | |
| JP5886733B2 (en) | Video group reconstruction / summarization apparatus, video group reconstruction / summarization method, and video group reconstruction / summarization program | |
| CN102779114B (en) | It is supported using the unstructured data of automatically rule generation | |
| Younes et al. | Language resources for Maghrebi Arabic dialects’ NLP: a survey | |
| JP2007517338A (en) | Search quality improvement system and improvement method | |
| WO2012147428A1 (en) | Text clustering device, text clustering method, and computer-readable recording medium | |
| US20110093343A1 (en) | System and Method of Content Generation | |
| CN111259160A (en) | Knowledge graph construction method, device, equipment and storage medium | |
| Davidson et al. | Missed opportunities: the absence of climate change in media coverage of forest fire events in Alberta | |
| Evans et al. | The Emotional Impact of COVID‐19 News Reporting: A Longitudinal Study Using Natural Language Processing | |
| US20140136963A1 (en) | Intelligent information summarization and display | |
| CN107577672B (en) | Public opinion-based script setting method and device | |
| KR20210136609A (en) | Apparatus and method for generating image news contents | |
| JP7365849B2 (en) | Summarization devices and programs | |
| CN114357335A (en) | Information acquisition method, medium, device and computing equipment | |
| Coats | A corpus of regional American language from YouTube | |
| JP5577228B2 (en) | Concept processing apparatus and program | |
| Ismail et al. | Power and Voices of Authority in the Media Narrative of Malaysian Natives: Combining Corpus Linguistics and Discourse Analysis Approaches | |
| JP2007207127A (en) | Question answering system, question answering processing method and question answering program | |
| Thelwall et al. | The BBC, Daily Telegraph and Wikinews timelines of the terrorist attacks of 7th July 2006 in London: a comparison with contemporary discussions | |
| Oco et al. | Resources for Philippine languages: Collection, annotation, and modeling | |
| Le Ferrand et al. | Faithful Transcription: Leveraging Bible Recordings to Improve ASR for Endangered Languages | |
| WO2021085731A1 (en) | News article-based social content service device and method | |
| Ahmed et al. | Information network analysis to understand the evolution of online social networking sites in the context of India, Pakistan, and Bangladesh | |
| Boonnavasin et al. | Toponym extraction in Thai tweets using a hybrid approach |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20220920 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20230512 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20230516 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20230619 |
|
| 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: 20230912 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20231010 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7365849 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |