JP7309489B2 - Abstract creation method and abstract creation system - Google Patents
Abstract creation method and abstract creation system Download PDFInfo
- Publication number
- JP7309489B2 JP7309489B2 JP2019127578A JP2019127578A JP7309489B2 JP 7309489 B2 JP7309489 B2 JP 7309489B2 JP 2019127578 A JP2019127578 A JP 2019127578A JP 2019127578 A JP2019127578 A JP 2019127578A JP 7309489 B2 JP7309489 B2 JP 7309489B2
- Authority
- JP
- Japan
- Prior art keywords
- sentence
- information
- sentences
- importance
- predetermined
- 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
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Machine Translation (AREA)
- Document Processing Apparatus (AREA)
Description
本発明は、要約文作成方法、及び要約文作成システムに関する。 The present invention relates to a summary creation method and a summary creation system.
鉄道事業者では、顧客から鉄道の運用に関する要望、意見、クレーム等を受け付け、これらを文書化して蓄積している。そして、鉄道事業者はこれに基づき業務の改善を行っている。しかし、鉄道事業者が顧客から受け付ける文書の量は膨大であるため、これらの文書を有効活用できるようにまとめ、要約しておく必要がある。 A railway operator receives requests, opinions, complaints, etc. regarding railway operation from customers, documents them, and accumulates them. Based on this, railway operators are improving their operations. However, since the amount of documents that railway operators receive from customers is enormous, it is necessary to organize and summarize these documents so that they can be used effectively.
この点、非特許文献1には、所定の文書から要約文を機械学習により作成する方法として、センテンスから得られる特徴量から、そのセンテンスが要約文に含まれる確率を求め、それを重要文スコアとして文を抽出することで要約文として採用すべきセンテンスを特定することが開示されている。また、重要度の設定に関しては、非特許文献2に、ディープラーニングの学習済みモデルを用いた算出方法が開示されている。具体的には、CNN(Convolutional Neural Network)を用いて文章を分類して要約を作成する。すなわち、シ
ステムが、単語の分散表現によるセンテンスの分散表現の構築、前記センテンスの分散表現による文章全体の分散表現の構築、および、前記文章全体の分散表現による文章のクラス分類を順次に実行するために必要な学習計算(機械学習)を予め行う。その後システムは、要約を作成する文章を学習済みのCNNに入力し、クラス分類の結果に対するセンテン
スの分散表現の寄与をCNNの出力から逆算して求め、求めた寄与を重要度とする。
In this regard, Non-Patent
しかし、鉄道事業者は、車両の管理及び運行、ダイヤの管理、乗客の管理、各種設備の管理及び運用等の様々な業務を行っているため、文章の内容も多種多様である。そのため、これらの文章の要点を過不足無く確実に把握して要約することは容易ではなかった。 However, since railway companies carry out various tasks such as management and operation of rolling stock, management of timetables, management of passengers, and management and operation of various facilities, the contents of the documents are also diverse. Therefore, it was not easy to accurately grasp and summarize the main points of these sentences.
本発明はこのような現状に鑑みてなされたものであり、その目的は、鉄道事業に関する文章の要点を的確に把握した要約文を作成することが可能な要約文作成方法、及び要約文作成システムを提供することにある。 SUMMARY OF THE INVENTION The present invention has been made in view of such a situation, and an object of the present invention is to provide a summary creation method and a summary creation system capable of creating a summary that accurately grasps the main points of a document related to a railway business. is to provide
上記の目的を達成するために、本発明の一態様によれば、プロセッサ及びメモリを有する要約文作成システムが、鉄道事業に関する複数の文を有する所定の文章から、鉄道事業における主体の情報を有する文と、鉄道事業における場所の情報を有する文と、鉄道事業における時の情報を有する文と、鉄道事業における行動又は動作の情報を有する文とをそれぞれ特定するアノテーション付与処理と、前記特定した各文から、前記主体の情報、前記場所の情報、前記時の情報、及び、前記行動又は動作の情報の各情報を示している文を各情報について少なくとも1以上抽出し、抽出した文を含む文章を、前記所定の文章に対応する要約文として作成する要約文作成処理とを実行する。
To achieve the above objects, according to one aspect of the present invention, there is provided a sentence summarizing system having a processor and a memory, comprising subject information in the railway business from a given sentence having a plurality of sentences about the railway business. annotating processing for specifying a sentence, a sentence having location information in the railway business, a sentence having time information in the railway business, and a sentence having information about the action or motion in the railway business; At least one or more sentences indicating each information of the subject information, the location information, the time information, and the action or action information are extracted from the sentence, and the sentence including the extracted sentence is executed as a summary sentence corresponding to the predetermined sentence.
本発明によれば、鉄道事業に関する文章の要点を的確に把握した要約文を作成することができる。 According to the present invention, it is possible to create a summary that accurately grasps the gist of the text regarding the railway business.
以下、本実施形態に係る要約文作成システムについて説明する。
図1は、本実施形態に係る要約文作成システムの構成及び機能の一例を説明する図である。要約文作成システム1は、鉄道事業に関する複数の文(センテンス)を有する、1又は複数の文章3(文章群)を記憶している文章蓄積装置20と、通信ネットワーク5を介して文章蓄積装置20と通信可能に接続されている要約文作成装置10とを含んで構成されている。なお、通信ネットワーク5は、例えば、LAN(Local Area Network)、WAN(Wide Area Network)、インターネット、専用線等の有線又は無線の通信ネットワー
クである。
The abstract writing system according to this embodiment will be described below.
FIG. 1 is a diagram for explaining an example of the configuration and functions of a summary sentence creation system according to this embodiment. The summary
図1に示すように、要約文作成装置10は、文章3における各文の構造を解析する文章解析部110、文章3における各文の重要度を予測する重要度予測部130、文章3における各文に対して所定の条件を満たす場合に所定のアノテーション情報を付与するアノテーション付与部150、及び、重要度及びアノテーションに基づき文章3に対応する要約文を作成する要約文作成部170の各機能部を有する。
As shown in FIG. 1, the summary
文章解析部110は、センテンス分割部111、形態素解析部113、及び係り受け解析部115を備える。センテンス分割部111は、文章3を、1又は複数の文に分割する。形態素解析部113は、センテンス分割部111により分割された各文について、その文を複数の形態素に分割する。係り受け解析部115は、形態素解析部113により分割された各形態素を節に再構成し、その節同士の修飾・被修飾関係を特定する。文章解析部110は、これらの情報を文章解析結果500に記憶する。
The
重要度予測部130は、重要度予測値ベクトル算出部131、センテンス重要度予測部133、及び学習済みモデル作成部135を備える。
The
重要度予測値ベクトル算出部131は、文章解析部110により特定された文章3の各文の構造に基づき、各文の特徴ベクトル(特徴量)を算出する。
The importance prediction value
センテンス重要度予測部133は、重要度予測値ベクトル算出部131により算出された各文の特徴ベクトルを、後述する学習済みモデル200(学習器データ)に入力することにより、文章3を要約するにあたっての各文の重要性を算出する。すなわち、センテンス重要度予測部133は、作成した学習済みモデル200に文章3を入力することにより
、文章3における各文の重要度を予測する。
The sentence
学習済みモデル作成部135は、文章解析部110で解析された文章3の構造及び、所定の要約文が登録されている要約文データ400を用いて、文章3における各文の重要度を予測するための学習済みモデル200に対する機械学習を行う。すなわち、学習済みモデル作成部135は、鉄道事業に関する文の構造と、その文に対応づけられている所定の要約文との間の関係を学習することにより、鉄道事業に関する文を入力値として、その文の要約としての重要性を示す重要度を予測する学習済みモデル200を作成する。
The learned
アノテーション付与部150は、文章3における各文に、鉄道事業に関する「いつ」、「どこで」、「誰が」、「どうした」(以下、4要素という)を示すフレーズがあった場合に、その文に対して所定のメタ情報(アノテーション)を付与する。すなわち、アノテーション付与部150は、鉄道事業に関する複数の文を有する所定の文章3から、鉄道事業における主体(「誰が」)の情報(以下、単に「主体の情報」又は「主体の要素」という)を有する文と、鉄道事業における場所(「どこで」)の情報(以下、単に「場所の情報」又は「場所の要素」という)を有する文と、鉄道事業における時(「いつ」)の情報(以下、単に「時の情報」又は「時の要素」という)を有する文と、鉄道事業における行動又は動作(「どうした」)の情報(以下、単に「行動又は動作の情報」又は「行動又は動作の要素」という)を有する文とをそれぞれ特定する。アノテーション付与部150は、これらの結果をアノテーション付与結果151に記憶する。
If each sentence in
なお、4要素の情報とこれに対応する文(フレーズ)との対応関係は、アノテーションデータベース300に登録されている。アノテーションデータベース300は、4要素に関する情報のリストを記録したアノテーション辞書310と、アノテーションルール330とを有する。アノテーションルール330は、4要素のそれぞれの情報について、ある文がどのような場合であればその要素の情報を有していると判定するか(例えば、その文字列がその文中においてどのような単語を有する場合にその要素の情報を有していると判定するか)ということを示す。
Note that the correspondence between the information of the four elements and the corresponding sentences (phrases) is registered in the
(アノテーション辞書)
図2は、アノテーション辞書310の一例を示す図である。アノテーション辞書310は、4要素のいずれかの要素名311と、要素名311に係る要素のサブ要素313と、サブ要素313及びサブ要素313により特定される要素に対応づけられた語(文字列)である辞書データ315とを有する。
(annotation dictionary)
FIG. 2 is a diagram showing an example of the
本実施形態では、時の要素(「いつ」)、主体の要素(「だれが」)、及び行動又は動作の要素(「どうした」)のそれぞれに対して、複数の単語が登録されている。特に、場所の要素(「どこで」)には、そのサブ要素として、「電車」、「駅」、及び「場所」(その他の場所)が存在し、それぞれのサブ要素に対して、複数の単語が登録されている。 In this embodiment, a plurality of words are registered for each of the element of time (“when”), the element of subject (“who”), and the element of action or action (“what happened”). . In particular, the place element ("where") has sub-elements "train", "station", and "place" (other places), and for each sub-element, multiple words is registered.
(アノテーションルール)
図3は、アノテーションルール330の一例を示す図である。アノテーションルール330は、ルールごとに付与されたルール番号331と、ルール番号331の内容であるルール内容333とを含む情報である。同図の例では、ルール番号「1」のアノテーションルールは、場所の要素「どこで」におけるサブ要素「電車」を、(文章解析部110で解析された)文章の節が含んでいる場合は、「どこで_場所」なるアノテーション情報を、その節に付与するルールである。アノテーションルール330には、場所の要素を含め、少なくとも4要素についてのルールが登録されている。
(Annotation rule)
FIG. 3 is a diagram showing an example of
次に、図1に示すように、要約文作成部170は、アノテーション情報及び、重要度に
基づき、文章3に対する要約文を作成する。すなわち、要約文作成部170は、アノテーション付与部150が特定した各文から、主体の情報、場所の情報、時の情報、及び、行動又は動作の情報の各情報を良く示している文を各情報について少なくとも1以上抽出し、抽出した文を含む文章を、文章3に対応する要約文として作成する。この際、要約文作成部170は、センテンス重要度予測部133が予測した重要度に基づき、各情報を良く示している文を抽出する。
Next, as shown in FIG. 1, the summary
なお、要約文作成部170は、各情報を良く示している文を所定数(センテンス抽出閾値)未満しか抽出できなかった場合は、重要度が所定の条件(本実施形態では、重要度の順位がより高い文)を満たす文を所定数追加的に抽出し、追加的に抽出した文を含めて、文章3に対応する要約文として作成する。
Note that, if only less than a predetermined number of sentences (sentence extraction threshold) can be extracted, the summary
また、要約文作成部170は、アノテーション付与部150が場所の情報を良く示している文を抽出するに際して、その文が示す場所の情報が列車、駅、又はその他の場所の情報である場合は、その文をこの順で優先的に抽出する。なお、以下では、これらの列車、駅、及びその他の場所の情報を、サブ要素という。
In addition, when the
なお、以上に説明した要約文作成装置10の機能は、以下のように実現される。
図4は、要約文作成装置10が有するハードウェア構成の一例を示す図である。要約文作成装置10は、CPU(Central Processing Unit)などの処理部51と、RAM(Random Access Memory)、ROM(Read Only Memory)等の主記憶装置52と、HDD(Hard Disk Drive)、SSD(Solid State Drive)等の補助記憶装置53と、キーボード、
マウス、タッチパネル等の入力装置54と、モニタ(ディスプレイ)等の、画面表示を行う出力装置55と、他の装置と通信する通信装置56とを備える。要約文作成装置10の機能は、要約文作成装置10のハードウェアによって、または、処理部51が主記憶装置52又は補助記憶装置53に記憶されている各プログラムを読み出して実行することにより実現される。また、これらのプログラムは、例えば、二次記憶デバイスや不揮発性半導体メモリ、ハードディスクドライブ、SSDなどの記憶デバイス、又は、ICカード、SDカード、DVDなどの、要約文作成装置10で読み取り可能な非一時的データ記憶媒体に格納される。なお、以上は、文章蓄積装置20についても同様である。
The functions of the
FIG. 4 is a diagram showing an example of the hardware configuration of the
It comprises an
<<処理>>
次に、要約文作成システム1が行う処理について説明する。要約文作成システム1は、文章3の要約文を作成する文章群要約処理を実行する。
<<Processing>>
Next, processing performed by the
<文章群要約処理>
図5は、文章群要約処理の一例を説明するフロー図である。この処理は、例えば、要約文作成装置10にユーザから、文章3を受信するための所定の入力があったことを契機に開始される。要約文作成装置10は、文章蓄積装置20から文章3を受信すると、s11-s21の処理を、文章3における各文について実行する。
<Sentence Group Summary Processing>
FIG. 5 is a flow chart for explaining an example of sentence group summarization processing. This process is started, for example, when a predetermined input for receiving the
すなわち、要約文作成装置10は、文章3の各文の解析を行う文章解析処理を実行する(s13)。そして、要約文作成装置10は、s13で解析した文章3の各文に対する重要度を算出する重要度スコア予測処理を実行する(s15)。そして、要約文作成装置10は、s13で解析した文章3の各文に対してアノテーション情報を付与するアノテーション付与処理を実行する(s17)。そして、要約文作成装置10は、s15で算出した重要度及びs17で付与したアノテーション情報に基づき、文章3の要約文を作成する要約文作成処理を実行する(s19)。なお、要約文作成装置10が文章3を複数受信した場合には、その数だけs13-s19の処理を繰り返す(s21)。
次に、文章群要約処理における各処理の詳細を説明する。なお、以下では、要約文作成
装置10が文章3を1つ受信した場合について説明する。
That is, the summary
Next, details of each process in the sentence group summarization process will be described. In the following description, the case where the
<文章解析処理>
図6は、文章解析処理の詳細を説明するフロー図である。まず、要約文作成装置10のセンテンス分割部111は、文章3を句点の前後で分割することで、複数の文(文字列)を作成する(s131)。そして、要約文作成装置10は、その各文について、以下のs135-s139の処理を繰り返す(s133-s141)。
<Sentence analysis processing>
FIG. 6 is a flowchart for explaining the details of text analysis processing. First, the
すなわち、まず、形態素解析部113は、対象の文の文字列を、複数の形態素に分解する(s135)。そして、係り受け解析部115は、分解された各形態素を複数の節に再構成し、各節同士の修飾及び被修飾関係を特定する(s137)。
That is, first, the
要約文作成装置10は、文の文字列と、s135で特定した形態素の情報と、s137で特定した各節同士の修飾及び被修飾関係の情報とを、文章解析結果500に記憶する(s139)。
The summary
<重要度スコア予測処理>
図7は、重要度スコア予測処理の詳細を説明するフロー図である。まず、要約文作成装置10のセンテンス重要度予測部133は、学習済みモデル200を読み出す(s151)。
<Importance score prediction processing>
FIG. 7 is a flowchart for explaining the details of importance score prediction processing. First, the sentence
また、センテンス重要度予測部133は、文章解析処理で作成した文章解析結果500の内容に基づき、文章3の各文の特徴ベクトルを算出する(s153)。具体的には、例えば、センテンス重要度予測部133は、各文の形態素、節、並びに節同士の修飾及び被修飾関係に基づき、文の特徴を表す特徴量を特定することで、各文の特徴ベクトルを算出する。
Also, the sentence
センテンス重要度予測部133は、s153で算出した各文の特徴ベクトルを、s151で読み出した学習済みモデル200に入力することで、文章3の全ての文の重要度を算出し、算出した各重要度をベクトル形式に変換した重要度予測値ベクトルを出力する(s155)。そして、センテンス重要度予測部133は、この重要度予測値ベクトルを記憶する(s155)。
The sentence
<アノテーション付与処理>
図8は、アノテーション付与処理の一例を説明するフロー図である。まず、要約文作成装置10のアノテーション付与部150は、アノテーションデータベース300(アノテーション辞書310及びアノテーションルール330)を読み出す(s171)。また、アノテーション付与部150は、文章解析処理で作成した文章解析結果500を読み込む(s173)。
<Annotation process>
FIG. 8 is a flowchart illustrating an example of annotation adding processing. First, the
そして、アノテーション付与部150は、以下に説明するように、文章解析結果500に登録されている文章3の各文について、4要素に係るアノテーションの付与を行う(s175-s187)。なお、ある文に対してアノテーションが複数付与される場合も、ある文にアノテーションが全く付与されない場合もあり得る。
Then, as described below, the
まず、アノテーション付与部150は、文章3における文の一つ(以下、選択文という)を選択する(s175)。また、アノテーション付与部150は、アノテーションルール330が規定する4要素及びサブ要素のアノテーションルールのうち一つ(以下、選択ルールという)を選択する(s177)。
First, the
アノテーション付与部150は、選択文と選択ルールを照合することで、選択文が選択ルールを満たしているか否かを判定する(s179)。具体的には、例えば、アノテーション付与部150は、アノテーションルール330のうち選択ルールに係るレコードのルール内容333を抽出するとともに、アノテーション辞書310のうち選択ルールに係るレコードの辞書データ315を抽出する。そして、アノテーション付与部150は、ルール内容333中の要素の記述部分に、辞書データ315中の各単語をあてはめることで、具体的ルールを作成し、この具体的ルールと選択文とを比較することで、選択文に、この具体的ルールに合致する単語(又は節)があるか否かを判定する。
The
ここで、判定処理の具体例について説明する。
(場所の情報(「どこで」)の場合)
例えば、選択ルールが場所の情報の要素に係るアノテーションルールである場合は以下の通りである。選択文が、「新幹線で、遅延時の案内が早かった。」であり、アノテーション辞書310に、要素名311が「場所」、サブ要素313が「車両」、辞書データ315が「新幹線で」であるレコードデータが含まれていた場合は、選択文には、「場所」「車両」のアノテーション情報が付与される。
Here, a specific example of determination processing will be described.
(for location information ("where"))
For example, if the selection rule is an annotation rule for an element of location information, it is as follows. The selected sentence is "By Shinkansen, and the guidance at the time of delay was early." When certain record data is included, annotation information of "place" and "vehicle" is added to the selection sentence.
また、例えば、選択文が、「新宿駅では発生した事故に関する問い合わせです。」であり、アノテーション辞書310に、要素名311が「場所」、サブ要素313が「駅」、辞書データ315が「新宿駅で」であるレコードデータが含まれていた場合は、選択文には、「場所」「駅」のアノテーション情報が付与される。 Also, for example, the selection sentence is "Inquiry about an accident that occurred at Shinjuku Station." If the record data "at the station" is included, annotation information of "location" and "station" is added to the selection sentence.
また、例えば、選択文が、「神田駅南口で、地下鉄に乗るにはどうすればいいかと英語で尋ねられた。」であり、アノテーション辞書310に、要素名311が「場所」、サブ要素313が「その他の場所」、辞書データ315が「神田駅南口で」であるレコードデータが含まれていた場合は、選択文には、「場所」「その他の場所」のアノテーション情報が付与される。
Also, for example, the selected sentence is "I was asked in English how to get on the subway at the south exit of Kanda Station." If the
(主体の情報(「誰が」)の場合)
選択ルールが場所の主体の要素に係るアノテーションルールである場合は以下の通りである。例えば、選択文が、「グリーンアテンダントが、丁寧に応対してくれました。」であり、アノテーション辞書310に、要素名311が「主体」、辞書データ315が「グリーンアテンダントが」であるレコードデータが含まれていた場合は、選択文には、「主体」のアノテーション情報が付与される。
(In the case of subject information (“who”))
If the selection rule is an annotation rule for a location subject element: For example, the selected sentence is "The green attendant responded politely." is included, the annotation information of "subject" is added to the selected sentence.
(時の情報(「いつ」)の場合)
選択ルールが時の要素に係るアノテーションルールである場合は以下の通りである。例えば、選択文が、「ラッシュ時のアナウンスについて、案内が遅いのが気になります。」であり、アノテーション辞書310に、要素名311が「時」、辞書データ315が「ラッシュ時の」であるレコードデータが含まれていた場合は、選択文には、「時」のアノテーション情報が付与される。
(In the case of time information ("when"))
When the selection rule is an annotation rule related to the element of time, it is as follows. For example, the selected sentence is "I'm worried about the delay in the announcement about the rush hour." When certain record data is included, the annotation information of "time" is added to the selection sentence.
(動作又は行動の情報(「どうした」)の場合)
選択ルールが動作又は行動の要素に係るアノテーションルールである場合は以下の通りである。まず、選択文が、「事故のせいで、会社に遅れました。」であり、アノテーション辞書310に、要素名311が「動作又は行動」、辞書データ315が「遅れました」であるレコードデータが含まれていた場合は、選択文には、「動作又は行動」のアノテーション情報が付与される。
(In the case of movement or behavioral information ("what's wrong"))
If the selection rule is an annotation rule for an action or action element, then: First, record data in which the selected sentence is "Because of an accident, I was late for work." is included, annotation information of "movement or action" is attached to the selected sentence.
アノテーション付与部150は、以上のようにして、選択文が選択ルールを満たしてい
ると判定した場合には(s181:YES)、アノテーション付与部150は後述するs183の処理を実行し、選択文が選択ルールを満たしていないと判定した場合には(s181:NO)、アノテーション付与部150は後述するs185の処理を実行する。
When the
s183においてアノテーション付与部150は、判定結果を、アノテーション付与結果151に記憶する。その後はアノテーション付与部150はs185の処理を実行する。
In s<b>183 , the
s185においてアノテーション付与部150は、アノテーション付与の判定をしていない他のアノテーションルールがある場合は、そのアノテーションルールを新たな選択ルールとして、s179以降の処理を再び実行する。
In s185, if there is another annotation rule for which annotation addition has not been determined, the
アノテーション付与の判定をしていない他のアノテーションルールがない場合において、アノテーション付与部150は、アノテーション付与の判定をしていない他の文がある場合は、その文を新たな選択文として、s177以降の処理を再び実行する(s187)。他方、アノテーション付与の判定をしていない他の文がない場合は、アノテーション付与部150は、アノテーション付与処理を終了する(s189)。
If there is no other annotation rule for which annotation addition has not been determined, and if there is another sentence for which annotation addition has not been determined, the
<要約文作成処理>
図9は、要約文作成処理の一例を説明するフロー図である。まず、要約文作成装置10の要約文作成部170は、重要度スコア予測処理で作成した文章3の全ての文の重要度(重要度予測値ベクトル)を読み込む(s191)。また、要約文作成部170は、アノテーション付与処理で作成したアノテーション情報(アノテーション付与結果151)を読み込む(s193)。
<Summary sentence creation process>
FIG. 9 is a flowchart for explaining an example of a summary sentence creation process. First, the abstract creating
要約文作成部170は、s193で読み込んだアノテーション情報に基づき、時の情報(「いつ」)に対応付けられている文を全て特定し、特定した各文に所定の抽出優先度(その文が各要素を示している程度を表すパラメータ)を設定する(s195)。
Based on the annotation information read in S193, the summary
具体的には、例えば、要約文作成部170は、特定した文における時の情報が具体的な時刻又は時間の情報である場合は、その文の抽出優先度を最大に設定する。また、要約文作成部170は、特定した文における時の情報が時刻及び時間以外の時の情報である場合は、その文については、その情報が示す時期が現在に近いほど抽出優先度を高く設定する。
Specifically, for example, when the time information in the identified sentence is specific time or time information, the summary
要約文作成部170は、s193で読み込んだアノテーション情報に基づき、場所の情報(「どこで」)に対応付けられている文を全て特定し、特定した各文に抽出優先度を設定する(s197)。
Based on the annotation information read in s193, the summary
具体的には、例えば、要約文作成部170は、特定した文における場所の情報が列車、駅、又はその他の場所の情報である場合には、当該文に対して、この順に高い抽出優先度を設定する。
Specifically, for example, if the location information in the specified sentence is information about a train, station, or other location, the summary
要約文作成部170は、s193で読み込んだアノテーション情報のうち、主体の情報(「誰が」)に対応付けられている文を全て特定し、特定した文に抽出優先度を設定する(s199)。
The summary
具体的には、例えば、要約文作成部170は、原文(文章3)において最も冒頭に近い位置にある文ほどその文に対して高い抽出優先度を設定する。
Specifically, for example, the summary
要約文作成部170は、s193で読み込んだアノテーション情報に基づき、行動又は動作の情報(「どうした」)に対応付けられている文を全て特定し、特定した各文に抽出優先度を設定する(s201)。
Based on the annotation information read in step s193, the summary
具体的には、例えば、要約文作成部170は、原文(文章3)において最も冒頭に近い位置にある文ほどその文に対して高い抽出優先度を設定する。
Specifically, for example, the summary
要約文作成部170は、s195-s201で決定した4要素のそれぞれについて、最も抽出優先度が高い文をそれぞれ特定する(s203)。なお、要約文作成部170は、各要素について、最も高い抽出優先度を特定できない場合(同じ抽出優先度の文が複数ある場合等)には、原文(文章3)において最も冒頭に近い位置にある文の抽出優先度を最大とする。
The summary
そして、要約文作成部170は、特定した各文に対して所定のフラグ(抽出対象フラグ)を設定し、また、このフラグを設定した文の数(フラグ設定文数)を記憶する。
Then, the summary
次に、要約文作成部170は、文章3における文の数に基づき、要約文の文の数に関する閾値(センテンス抽出閾値)を設定する(s205)。例えば、要約文作成部170は、文章3の文の数がnである場合は、log2(n+1)未満の最大の整数をセンテンス
抽出閾値とする。
Next, based on the number of sentences in
要約文作成部170は、s203で設定したフラグ設定文数がs205で設定したセンテンス抽出閾値以上であるか否かを判定する(s207)。フラグ設定文数がセンテンス抽出閾値以上である場合は(s207:YES)、要約文作成部170は、s209の処理を実行し、フラグ設定文数がセンテンス抽出閾値以上でない場合は(s207:NO)、要約文作成部170は、s211の処理を実行する。
The summary
s209において要約文作成部170は、s203で抽出対象フラグを設定した各文を結合することで、要約文を作成する。具体的には、例えば、要約文作成部170は、各文を、元の文章3における出現順に結合することで、要約文を作成する。
In s209, the summary
s211において要約文作成部170は、抽出対象フラグが設定されていなかった文のうち、フラグ設定文数からセンテンス抽出閾値を除した数の文に対して、抽出対象フラグを設定する。例えば、要約文作成部170は、重要度予測処理で算出した重要度が相対的に高かった文に対して、抽出対象フラグを設定する(重要度が高い順に抽出対象フラグを設定する)。その後はs209の処理が行われる。
In s211, the summary
最後に、学習済みモデル作成部135は、元の文章3と、s209で作成した要約文(要約文データ400)との間の関係を学習することにより、学習済みモデル200を更新する。具体的には、例えば、学習済みモデル作成部135は、元の文章3における各文の特徴量を求めることで、各文が要約文に含まれる確率を求め、求めた確率を各文の重要度とする。学習済みモデル作成部135は、求めた重要度とs209で作成した要約文とを学習済みモデル200に入力することで、機械学習を行う。
Finally, the trained
<結果表示画面>
図10は、要約文作成処理後に、要約文作成装置10が表示する画面(結果表示画面)の一例を示す図である。結果表示画面600は、要約文の元となった文章3を表示した原文表示欄601と、要約文を表示した要約文表示欄603とを備える。要約文表示欄603の要約文においては、時の要素611、場所の要素613、主体の要素615、及び、行動又は動作の要素617に対応する部分にそれぞれ強調表示(例えば、色つき文字や下
線)が設けられる。
<Result display screen>
FIG. 10 is a diagram showing an example of a screen (result display screen) displayed by the abstract creating
以上のように、本実施形態の要約文作成システム1は、鉄道事業に関する複数の文を有する文章3から、鉄道事業における主体の情報を有する文と、鉄道事業における場所の情報を有する文と、鉄道事業における時の情報を有する文と、鉄道事業における行動又は動作の情報を有する文とをそれぞれ特定した上で、主体、場所、時、及び、行動又は動作の情報を良く示している文を各情報について少なくとも1以上抽出し、抽出した文を含む文章3を、文章3に対応する要約文として作成する。これにより、鉄道事業において重要な状況説明を的確に述べた要約文を作成することができる。これにより、本実施形態の要約文作成システム1は、鉄道事業に関する文章の要点を的確に把握した要約文を作成することができる。
As described above, the summary
また、本実施形態の要約文作成システム1は、鉄道事業に関する文の構造と、当該文に対応づけられている所定の要約文との間の関係を学習することにより、鉄道事業に関する文を入力値として、当該文の要約としての重要性を示す重要度を予測する学習済みモデルを作成する学習済みモデル作成処理と、前記作成した学習済みモデルに前記所定の文章を入力することにより、当該所定の文章における各文の重要度を予測する重要度予測処理とを実行し、前記要約文作成処理において、前記予測した重要度に基づき、前記各情報を良く示している文を抽出する。
In addition, the summary
このように、学習済みモデル200に文章3を入力することで、文章3における各文の重要度(要約としての重要性)を予測し、これに基づき要約文を作成することで、状況説明を的確に行った要約文を作成することができる。
In this way, by inputting the
また、本実施形態の要約文作成システム1は、前記要約文作成処理において、前記各情報を良く示している文を所定数未満しか抽出できなかった場合は、前記重要度が所定の条件を満たす文を所定数追加的に抽出し、追加的に抽出した文を含めて、前記所定の文章に対応する要約文として作成する。
Further, in the
このように、各要素の情報を良く示している文を所定数未満しか抽出できなかった場合には、重要度が所定の条件を満たす文を所定数追加的に抽出することで、元の文章3の構成によらず、状況説明を含む要約文を確実に作成することができる。 In this way, when less than a predetermined number of sentences that show the information of each element well can be extracted, a predetermined number of additional sentences whose importance satisfies a predetermined condition are additionally extracted to restore the original sentence. Regardless of the configuration of 3, it is possible to reliably create a summary including a situation explanation.
また、本実施形態の要約文作成システム1は、前記要約文作成処理において、前記場所の情報を良く示している文を抽出するに際して、当該文が示す場所の情報が列車、駅、又はその他の場所の情報である場合は、当該文をこの順で優先的に抽出する。
Further, in the abstract creation process, the
鉄道事業における場所の情報にこのような優先順位を付けることで、場所の情報を的確に説明した要約文を作成することができる。 By giving such priority to the location information in the railway business, it is possible to create a summary that accurately describes the location information.
また、本実施形態の要約文作成システム1は、前記要約文作成システムは、前記作成した要約文を出力する。
Further, the
これにより、鉄道事業者は、この要約文を確認し、業務改善に役立てることができる。 As a result, railway operators can check this summary and use it for business improvement.
以上、本発明の実施形態について説明したが、本発明の実施形態は例示したものに限るものではなく、発明の主旨を逸脱しない範囲で種々の変更が可能である。 Although the embodiments of the present invention have been described above, the embodiments of the present invention are not limited to those illustrated, and various modifications can be made without departing from the gist of the invention.
例えば、本実施形態では、アノテーション情報の付与方法として、アノテーションルールを記述したアノテーションデータベース300を用いる方法を説明したが、機械学習に
よる方法を採用してもよい。例えば、過去の事例を数値ベクトルに変換することで学習モデルを作成しておき、新たな入力文を数値ベクトルに変換して学習モデルに適用し、その結果特定された語句に、該当するアノテーションを付与する。
For example, in the present embodiment, a method using the
また、本実施形態では、場所の要素に対してサブ要素を設けたが、その他の要素に対してサブ要素を設けてもよい。 Also, in the present embodiment, sub-elements are provided for the location element, but sub-elements may be provided for other elements.
また、本実施形態では、要約文作成処理において、設定した抽出対象フラグの数がセンテンス数抽出閾値以上であった場合には、重要度が高い順に、抽出対象フラグを新たな文に設定したが、その他の条件に従って抽出対象フラグを新たな文に設定してもよい。 Further, in the present embodiment, when the number of set extraction target flags is equal to or greater than the sentence number extraction threshold in the summary sentence creation process, the extraction target flags are set to new sentences in descending order of importance. , the extraction target flag may be set to the new sentence according to other conditions.
1 要約文作成システム、3 文章、10 要約文作成装置、20 文章蓄積装置 1 summary writing system, 3 sentences, 10 summary writing device, 20 sentence storage device
Claims (10)
鉄道事業に関する複数の文を有する所定の文章から、鉄道事業における主体の情報を有する文と、鉄道事業における場所の情報を有する文と、鉄道事業における時の情報を有する文と、鉄道事業における行動又は動作の情報を有する文とをそれぞれ特定するアノテーション付与処理と、
前記特定した各文から、前記主体の情報、前記場所の情報、前記時の情報、及び、前記行動又は動作の情報の各情報を示している文を各情報について少なくとも1以上抽出し、抽出した文を含む文章を、前記所定の文章に対応する要約文として作成する要約文作成処理とを実行する、
要約文作成方法。 A summary writing system having a processor and memory,
From a predetermined sentence having a plurality of sentences related to the railway business, a sentence having subject information in the railway business, a sentence having location information in the railway business, a sentence having time information in the railway business, and actions in the railway business or an annotation process that identifies a sentence having information on the action, respectively;
At least one or more sentences indicating each information of the subject information, the location information, the time information, and the action or action information are extracted from each of the specified sentences and extracted. a summary sentence creation process for creating a sentence containing the sentence as a summary sentence corresponding to the predetermined sentence;
How to write a summary.
鉄道事業に関する文の構造と、当該文に対応づけられている所定の要約文との間の関係を学習することにより、鉄道事業に関する文を入力値として、当該文の要約としての重要性を示す重要度を予測する学習済みモデルを作成する学習済みモデル作成処理と、
前記作成した学習済みモデルに前記所定の文章を入力することにより、当該所定の文章における各文の重要度を予測する重要度予測処理とを実行し、
前記要約文作成処理において、前記予測した重要度に基づき、前記各情報を示している文を抽出する、
請求項1に記載の要約文作成方法。 The summary sentence creation system
By learning the relationship between the structure of a sentence about the railway business and a predetermined summary sentence associated with the sentence, the sentence about the railway business is used as an input value to indicate the importance of the sentence as a summary. A learned model creation process for creating a learned model that predicts importance;
executing an importance prediction process for predicting the importance of each sentence in the predetermined sentence by inputting the predetermined sentence into the created trained model;
extracting a sentence indicating each of the information based on the predicted importance in the summary sentence creation process;
The method of creating a summary sentence according to claim 1.
前記要約文作成処理において、前記各情報を示している文を所定数未満しか抽出できなかった場合は、前記重要度が所定の条件を満たす文を所定数追加的に抽出し、追加的に抽出した文を含めて、前記所定の文章に対応する要約文として作成する、
請求項2に記載の要約文作成方法。 The summary sentence creation system includes:
In the summary sentence creation process, if less than a predetermined number of sentences indicating each information can be extracted, a predetermined number of sentences whose importance satisfies a predetermined condition are additionally extracted, and additionally extracted. Create a summary sentence corresponding to the predetermined sentence, including the sentence that
3. The method of creating a summary sentence according to claim 2.
前記要約文作成処理において、前記場所の情報を示している文を抽出するに際して、当該文が示す場所の情報が列車、駅、又はその他の場所の情報である場合は、当該文をこの順で優先的に抽出する、
請求項1に記載の要約文作成方法。 The summary sentence creation system includes:
When extracting the sentence indicating the location information in the summary sentence creation process, if the location information indicated by the sentence is train, station, or other location information, the sentences are extracted in this order. preferentially extract
The method of creating a summary sentence according to claim 1.
鉄道事業に関する複数の文を有する所定の文章から、鉄道事業における主体の情報を有する文と、鉄道事業における場所の情報を有する文と、鉄道事業における時の情報を有する文と、鉄道事業における行動又は動作の情報を有する文とをそれぞれ特定するアノテーション付与処理と、
前記特定した各文から、前記主体の情報、前記場所の情報、前記時の情報、及び、前記行動又は動作の情報の各情報を示している文を各情報について少なくとも1以上抽出し、抽出した文を含む文章を、前記所定の文章に対応する要約文として作成する要約文作成処理とを実行する、
要約文作成システム。 having a processor and memory,
From a predetermined sentence having a plurality of sentences related to the railway business, a sentence having subject information in the railway business, a sentence having location information in the railway business, a sentence having time information in the railway business, and actions in the railway business or an annotation process that identifies a sentence having information on the action, respectively;
At least one or more sentences indicating each information of the subject information, the location information, the time information, and the action or action information are extracted from each of the specified sentences and extracted. a summary sentence creation process for creating a sentence containing the sentence as a summary sentence corresponding to the predetermined sentence;
Abstract writing system.
前記作成した学習済みモデルに前記所定の文章を入力することにより、当該所定の文章における各文の重要度を予測する重要度予測処理とを実行し、
前記要約文作成処理において、前記予測した重要度に基づき、前記各情報を示している文を抽出する、
請求項6に記載の要約文作成システム。 By learning the relationship between the structure of a sentence about the railway business and a predetermined summary sentence associated with the sentence, the sentence about the railway business is used as an input value to indicate the importance of the sentence as a summary. A learned model creation process for creating a learned model that predicts importance;
executing an importance prediction process for predicting the importance of each sentence in the predetermined sentence by inputting the predetermined sentence into the created trained model;
extracting a sentence indicating each of the information based on the predicted importance in the summary sentence creation process;
The summary writing system according to claim 6.
請求項7に記載の要約文作成システム。 In the summary sentence creation process, if less than a predetermined number of sentences indicating each information can be extracted, a predetermined number of sentences whose importance satisfies a predetermined condition are additionally extracted, and additionally extracted. Create a summary sentence corresponding to the predetermined sentence, including the sentence that
The summary writing system according to claim 7.
請求項6に記載の要約文作成システム。 When extracting the sentence indicating the location information in the summary sentence creation process, if the location information indicated by the sentence is train, station, or other location information, the sentences are extracted in this order. preferentially extract
The summary writing system according to claim 6.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2019127578A JP7309489B2 (en) | 2019-07-09 | 2019-07-09 | Abstract creation method and abstract creation system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2019127578A JP7309489B2 (en) | 2019-07-09 | 2019-07-09 | Abstract creation method and abstract creation system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2021012625A JP2021012625A (en) | 2021-02-04 |
| JP7309489B2 true JP7309489B2 (en) | 2023-07-18 |
Family
ID=74226447
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2019127578A Active JP7309489B2 (en) | 2019-07-09 | 2019-07-09 | Abstract creation method and abstract creation system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7309489B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2021181680A1 (en) * | 2020-03-13 | 2021-09-16 | 日本電信電話株式会社 | Assistance device, assistance method, and program |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2002163277A (en) | 2000-11-28 | 2002-06-07 | Auto Network Gijutsu Kenkyusho:Kk | Document information supply system, information terminal device, and document information supply method |
| JP2006053862A (en) | 2004-08-16 | 2006-02-23 | Canon Inc | Information processing apparatus and method, program, and storage medium |
| JP2007006113A (en) | 2005-06-23 | 2007-01-11 | Nec Fielding Ltd | Reporting system and its reporting method |
| JP2013167985A (en) | 2012-02-15 | 2013-08-29 | Nomura Research Institute Ltd | Conversation summary generation system and conversation summary generation program |
| JP2014013549A (en) | 2012-07-05 | 2014-01-23 | Brainpad Inc | Natural language analysis system, and natural language analysis method |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3001460B2 (en) * | 1997-05-21 | 2000-01-24 | 株式会社エヌイーシー情報システムズ | Document classification device |
-
2019
- 2019-07-09 JP JP2019127578A patent/JP7309489B2/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2002163277A (en) | 2000-11-28 | 2002-06-07 | Auto Network Gijutsu Kenkyusho:Kk | Document information supply system, information terminal device, and document information supply method |
| JP2006053862A (en) | 2004-08-16 | 2006-02-23 | Canon Inc | Information processing apparatus and method, program, and storage medium |
| JP2007006113A (en) | 2005-06-23 | 2007-01-11 | Nec Fielding Ltd | Reporting system and its reporting method |
| JP2013167985A (en) | 2012-02-15 | 2013-08-29 | Nomura Research Institute Ltd | Conversation summary generation system and conversation summary generation program |
| JP2014013549A (en) | 2012-07-05 | 2014-01-23 | Brainpad Inc | Natural language analysis system, and natural language analysis method |
Non-Patent Citations (1)
| Title |
|---|
| 中野 正寛、外4名,情報信憑性判断のための自動要約に向けた人手による要約作成実験とその分析,情報処理学会研究報告,日本,社団法人情報処理学会,2008年09月17日,第2008巻,第90号,p.107-114 |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2021012625A (en) | 2021-02-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11210468B2 (en) | System and method for comparing plurality of documents | |
| JP4701292B2 (en) | Computer system, method and computer program for creating term dictionary from specific expressions or technical terms contained in text data | |
| US10956472B2 (en) | Dynamic load balancing based on question difficulty | |
| US11507746B2 (en) | Method and apparatus for generating context information | |
| US9715531B2 (en) | Weighting search criteria based on similarities to an ingested corpus in a question and answer (QA) system | |
| US20080097951A1 (en) | Scalable Knowledge Extraction | |
| US20190026355A1 (en) | Information processing device and information processing method | |
| KR20180077690A (en) | Apparatus and method for learning narrative of document, apparatus and method for generating narrative of document | |
| JP2020126493A (en) | Paginal translation processing method and paginal translation processing program | |
| JP2019185551A (en) | Annotation added text data expanding method, annotation added text data expanding program, annotation added text data expanding apparatus, and training method of text classification model | |
| CN106407211A (en) | Method and device for classifying semantic relationships among entity words | |
| US9430952B2 (en) | Determining comprehensiveness of question paper given syllabus | |
| CN120849581A (en) | Retrieval enhancement generation method, device and storage medium based on knowledge graph | |
| Ribeiro et al. | Discovering IMRaD structure with different classifiers | |
| JP7309489B2 (en) | Abstract creation method and abstract creation system | |
| JP6495124B2 (en) | Term semantic code determination device, term semantic code determination model learning device, method, and program | |
| KR102943376B1 (en) | Disaster damage prediction apparatus and method based on incident cases base | |
| US20250021883A1 (en) | Method for training language model, device for emotion diagnosis using pre-trained language model, and storage medium storing instructions to perform method for training language model | |
| US20120197894A1 (en) | Apparatus and method for processing documents to extract expressions and descriptions | |
| JP2000293537A (en) | Data analysis support method and apparatus | |
| JP7351502B2 (en) | Variable data generation device, predictive model generation device, variable data production method, predictive model production method, program and recording medium | |
| CN119647456B (en) | Emergency plan auditing method, system, electronic equipment and storage medium | |
| CN120337907B (en) | Text processing methods, devices, media and products | |
| JP7453116B2 (en) | Information processing device, information processing method, and program | |
| RU2852967C2 (en) | Method for analysing legal document to verify its compliance with requirements of applicable law |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20220317 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20230308 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20230425 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20230614 |
|
| 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: 20230627 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20230705 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7309489 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |