JP6529761B2 - Topic providing system and conversation control terminal device - Google Patents
Topic providing system and conversation control terminal device Download PDFInfo
- Publication number
- JP6529761B2 JP6529761B2 JP2014554277A JP2014554277A JP6529761B2 JP 6529761 B2 JP6529761 B2 JP 6529761B2 JP 2014554277 A JP2014554277 A JP 2014554277A JP 2014554277 A JP2014554277 A JP 2014554277A JP 6529761 B2 JP6529761 B2 JP 6529761B2
- Authority
- JP
- Japan
- Prior art keywords
- information
- topic
- input
- scenario data
- 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
- 230000004044 response Effects 0.000 claims description 278
- 238000000034 method Methods 0.000 claims description 240
- 238000004458 analytical method Methods 0.000 claims description 209
- 238000012545 processing Methods 0.000 claims description 187
- 230000008569 process Effects 0.000 claims description 177
- 230000007704 transition Effects 0.000 claims description 82
- 238000013500 data storage Methods 0.000 claims description 64
- 238000003860 storage Methods 0.000 claims description 55
- 239000000284 extract Substances 0.000 claims description 29
- 238000000605 extraction Methods 0.000 description 103
- 238000012423 maintenance Methods 0.000 description 94
- 230000005540 biological transmission Effects 0.000 description 35
- 230000006870 function Effects 0.000 description 31
- 238000005516 engineering process Methods 0.000 description 30
- 238000013524 data verification Methods 0.000 description 26
- 238000013473 artificial intelligence Methods 0.000 description 24
- 230000008859 change Effects 0.000 description 24
- 238000010586 diagram Methods 0.000 description 17
- 239000000463 material Substances 0.000 description 15
- 238000009826 distribution Methods 0.000 description 10
- 230000000694 effects Effects 0.000 description 10
- 230000008451 emotion Effects 0.000 description 10
- 238000012827 research and development Methods 0.000 description 8
- 238000004891 communication Methods 0.000 description 6
- 238000005259 measurement Methods 0.000 description 6
- 238000012986 modification Methods 0.000 description 6
- 230000004048 modification Effects 0.000 description 6
- 230000009471 action Effects 0.000 description 5
- 238000007792 addition Methods 0.000 description 5
- 239000003795 chemical substances by application Substances 0.000 description 5
- 230000006835 compression Effects 0.000 description 5
- 238000007906 compression Methods 0.000 description 5
- 239000011159 matrix material Substances 0.000 description 5
- 230000008520 organization Effects 0.000 description 5
- 238000013459 approach Methods 0.000 description 4
- 230000007246 mechanism Effects 0.000 description 4
- 238000012937 correction Methods 0.000 description 3
- 238000001914 filtration Methods 0.000 description 3
- 230000010365 information processing Effects 0.000 description 3
- 239000000203 mixture Substances 0.000 description 3
- 230000008707 rearrangement Effects 0.000 description 3
- 239000004065 semiconductor Substances 0.000 description 3
- 239000007787 solid Substances 0.000 description 3
- 238000007619 statistical method Methods 0.000 description 3
- 230000000699 topical effect Effects 0.000 description 3
- 230000001186 cumulative effect Effects 0.000 description 2
- 230000002996 emotional effect Effects 0.000 description 2
- 230000014509 gene expression Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 230000000877 morphologic effect Effects 0.000 description 2
- 238000012795 verification Methods 0.000 description 2
- 208000019901 Anxiety disease Diseases 0.000 description 1
- 230000036506 anxiety Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 125000004122 cyclic group Chemical group 0.000 description 1
- 230000002354 daily effect Effects 0.000 description 1
- 238000000354 decomposition reaction Methods 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 230000001667 episodic effect Effects 0.000 description 1
- 230000003203 everyday effect Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 239000002245 particle Substances 0.000 description 1
- 230000000737 periodic effect Effects 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 230000001737 promoting effect Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
- 238000012800 visualization Methods 0.000 description 1
- 210000000707 wrist Anatomy 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/30—Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
- G06F16/33—Querying
- G06F16/332—Query formulation
- G06F16/3329—Natural language query formulation or dialogue systems
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Computational Linguistics (AREA)
- Human Computer Interaction (AREA)
- Databases & Information Systems (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Artificial Intelligence (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Machine Translation (AREA)
- Information Transfer Between Computers (AREA)
Description
ユーザに話題を提供する話題提供システム、ユーザに情報検索機能を提供する情報検索システム、テキストデータから重要な文字列を抽出する文解析装置、及び複数の辞書を比較する情報更新装置に関する。 The present invention relates to a topic providing system for providing a topic to a user, an information search system for providing an information search function to a user, a sentence analysis apparatus for extracting an important character string from text data, and an information update apparatus for comparing a plurality of dictionaries.
これまでに、ネットワークを介して人工知能を用いたチャットなどの会話サービスが提供されてきている。従来の会話制御システムは、人工知能を使ったものであり、ユーザが入力した文字情報などをサーバで形態素解析して形態素から把握される意味内容に関連付けられている予め作成された回答内容をユーザに出力するシステムであった。 Until now, conversational services such as chat using artificial intelligence have been provided via networks. The conventional conversation control system uses artificial intelligence, and the server analyzes the character information input by the user with the server by morpheme analysis, and generates the answer contents generated in advance that are associated with the semantic contents grasped from the morpheme Output system.
また、形態素解析を第一形態素と第二形態素とに分けて概念に応じた解析をする会話制御システムもあった。さらに、ユーザに対して抱く感情度等も特定して回答を作成する会話制御システムもあった。 There is also a conversation control system that divides morphological analysis into first and second morphemes and analyzes according to the concept. Furthermore, there is also a conversation control system that specifies the degree of emotion or the like held by the user and creates an answer.
また、所定期間にネット検索等で急増した検索ワードや、所定期間にニュースなどで急増したワードなどをイベントワードとして記憶し、さらに、ネット検索等において、イベントワードとともに入力されるワード(AND検索等で用いられるワード)や、イベントワードを含むニュースから出現頻度などを基に予め解析したワードを、イベントワード関連語として記憶し、このような状況において、ネット検索等の検索ワードとしてイベントワードの1つが入力された場合に、上述したイベントワード関連語を一覧表示するように構成された情報検索システムがある(特許文献4参照)。 In addition, search words that sharply increased in a net search or the like during a predetermined period, words that sharply increased due to news in a predetermined period, and the like are stored as event words, and words that are input together with event words in net search or the like (AND search, etc. The word used in () and the word pre-analyzed from the news including the event word based on the appearance frequency etc. are stored as the event word related word, and in such a situation, 1 of the event word as a search word for net search etc. There is an information retrieval system configured to display a list of event word related words described above when one is input (see Patent Document 4).
さらに、従来より、コンピュータシステムに入力される文や、インターネット上に公開されているホームページ等のコンテンツから、話題性のあるワードを抽出するためのシステムが開示されている。例えば、特許文献5及び特許文献6に開示されている情報取得装置では、利用者から入力された入力情報等から、最も話題性のある情報を探し出すために、形態素データベースに記憶された形態素群と入力情報を照合し、入力情報から形態素に対応する文字列を抽出する。形態素は、入力情報等に含まれる文を構成する、「語」のような最小単位に対応するものであり、この最小単位には、例えば、名詞、形容詞、動詞などの品詞が含まれる。上記の形態素データベースには、一般的な文に用いられる名詞、形容詞、動詞などを含む形態素群が予め登録されている。
Furthermore, conventionally, there has been disclosed a system for extracting topical words from content input to a computer system and contents such as a home page published on the Internet. For example, in the information acquisition devices disclosed in
またさらに、従来より、個人によって生成されたテキストデータから、意味識別可能な複数の分解テキストデータを抽出し、さらに、複数の条件を用いてフィルタリングを行うことによって検閲の場(広義フィルタリングのための空間)を提供するとともに特異性を見い出して可視化するシステムが提案されている。 Furthermore, conventionally, a plurality of decomposed text data that can be semantically identified are extracted from text data generated by an individual, and further, filtering is performed using a plurality of conditions. There has been proposed a system for providing space and finding and visualizing specificity.
例えば、特許文献7には、個人によって生成された個人生成データを、意味識別可能な複数の分解テキストデータに分解し、これらの分解テキストデータが示す対象について、所定の関連条件と所定の特徴条件を満たすデータを抽出して、当該抽出されたデータの集まりを検閲の場として生成し、さらに、当該抽出されたデータの集まりから、分解テキストデータが示す対象について、所定の特異条件を満たすデータを抽出し、こうして抽出されたデータから、所定の特異性を検出して可視化する情報処理システムが開示されている。
For example,
ここで、検閲の場とは、検閲の対象となるテキストデータの集まりから構成される空間である。また、関連条件は、分解テキストデータが示す対象(テキストデータに含まれている話題や内容など)について、情報処理システムの運用者等が設定する条件であり、例えば、分解テキストデータが示す対象が食品のラーメンである場合に、関連条件を満たす関連対象として、醤油味のラーメンや塩味のラーメンを含めることができる。 Here, the place of censorship is a space composed of a collection of text data to be censored. Further, the related condition is a condition set by an operator of the information processing system or the like for an object (such as a topic or content included in the text data) indicated by the decomposed text data. For example, the object indicated by the decomposed text data is In the case of food ramen, soy sauce-flavored ramen and salted ramen can be included as related objects that satisfy the relevant conditions.
特徴条件は、分解テキストデータが示す対象の属性(特性や特色などの特徴)に関する条件である。属性は、嗜好と捉えることもでき、例えば、分解テキストデータが示す対象が食品である場合に、おいしいや、まずいといった、個人による主観的または客観的記述が考えられる。 The feature condition is a condition regarding an attribute (a feature such as a feature or a feature) of an object indicated by the decomposed text data. The attribute can also be regarded as taste, and for example, when the target indicated by the decomposed text data is food, subjective or objective description by an individual, such as delicious or bad, can be considered.
特異条件は、テキストデータが示す対象に関して所定の特異性を示すことである。特異性は、所定の対象に関する各種の量、度合い、変化率が所定の閾値より大きいか小さいかによって判断できる。例えば、ある部分空間において、「ラーメン」という語(発話)の出現回数が残りの部分空間よりも多い場合に、所定の特異条件を満たすとして、その分解テキストデータが抽出され可視化される。 The singular condition is to show a predetermined specificity with respect to the subject indicated by the text data. Specificity can be determined depending on various amounts, degrees, and rates of change for a given object, greater or less than a given threshold. For example, if the number of occurrences of the word (speech) “ramen” is greater than that of the remaining partial space in a partial space, the decomposed text data is extracted and visualized as a predetermined specific condition.
第1の課題は以下の通りである。
会話を進める際には、まず何らかの話題(テーマなど)を予め提供し、その話題に沿って会話を進めていくことが一般的に行われる。従来から存在する話題制御システム(会話制御システムを含む)を用いてユーザと会話を進める場合に、このような会話形態に適応させるためには、以下のような問題が生ずることが想定される。すなわち、まず、話題と会話の流れに合わせた自然な応答を実現するために、多様な入力情報に対応できる話題制御ルールを構築しようとしても、全てに対応できる話題制御ルールを準備することはできず、自然な応答を実現することが困難になり得る。さらに、話題制御ルールには、話題制御システムの全般に亘って高度かつ専門的な知識と技術とが関連しているため、話題制御ルールを変更したり修正したりする保守作業を別個に行うことが困難になる。The first problem is as follows.
When proceeding with a conversation, it is common practice to first provide some topic (such as a theme) and proceed with the conversation along the topic. When advancing a conversation with a user using a conventionally existing topic control system (including a conversation control system), it is assumed that the following problems occur in order to adapt to such a conversation form. That is, first of all, even if it is attempted to construct a topic control rule that can respond to various input information in order to realize a natural response that matches the flow of topics and conversations, it is possible to prepare a topic control rule that can respond to all. It can be difficult to achieve a natural response. Furthermore, since the topic control rules are related to advanced and specialized knowledge and techniques throughout the topic control system, separate maintenance operations for changing or modifying the topic control rules are required. Will be difficult.
本発明は、上述の点に鑑みてなされたものであり、その目的とするところは、話題と会話の流れに合わせた自然な応答を実現することができるとともに、話題制御ルールの変更、追加、修正などの保守作業を別個に行うことのできる話題制御システムとしての話題提供システムを提供することにある。 The present invention has been made in view of the above-mentioned point, and the purpose of the present invention is to be able to realize a natural response in accordance with the flow of a topic and a conversation, and to change or add a topic control rule. It is an object of the present invention to provide a topic providing system as a topic control system capable of separately performing maintenance work such as correction.
第2の課題は以下の通りである。
会話を進める際には、まず何らかの話題(テーマなど)を予め提供し、その話題に沿って会話を進めていくことが一般的に行われる。このため、従来から存在する会話制御システムでは、ユーザとの会話を進めるための膨大な量のデータやプログラムを構築するとともに、これらのデータやプログラムを用いて処理をすることでシステムを実現していた。さらに、様々なユーザに対して対応できるようにするために、会話制御システムの処理の大半をサーバにおいて実行していた。このような会話制御システムを構築することにより、比較的記憶容量が小さかったり処理能力が低かったりする端末装置(携帯電話やスマートフォンなどの携帯端末など)であっても、ユーザとの会話を進めていくことができた。The second issue is as follows.
When proceeding with a conversation, it is common practice to first provide some topic (such as a theme) and proceed with the conversation along the topic. Therefore, in a conventional conversation control system, a system is realized by constructing a huge amount of data and programs for advancing a conversation with the user and performing processing using these data and programs. The Furthermore, in order to be able to respond to various users, most of the processing of the conversation control system was executed on the server. By building such a conversation control system, even with a terminal device (such as a mobile phone or a mobile terminal such as a smartphone) whose storage capacity is relatively small or processing ability is low, the conversation with the user is advanced I was able to go.
しかしながら、このような会話制御システムでは、以下のような問題が生ずることが想定される。すなわち、まず、ユーザから入力された入力情報に対する応答などの処理をサーバ側で実行するため、ユーザから入力されるたびに、ネットワークを介した通信が必要となるとともに、サーバに接続するユーザの端末装置が多い場合には、処理時間が長くなり応答が遅延しやすくなっていた。さらに、ユーザから入力された入力情報に対する応答などの処理をサーバ側で実行するため、複数のユーザの状態に応じて異なる応答ができるようにした場合には、処理時間がさらに長くならざるを得ず、応答が遅延しやすくなっていた。 However, in such a conversation control system, it is assumed that the following problems occur. That is, first, in order to execute processing such as a response to input information input by the user on the server side, communication via the network is required each time the user inputs, and the terminal of the user connected to the server When there are many devices, the processing time is long and the response tends to be delayed. Furthermore, in order to execute processing such as a response to input information input from a user on the server side, if different responses can be made according to the status of a plurality of users, the processing time will have to be longer. It was easy to delay the response.
本発明は、上述の点に鑑みてなされたものであり、その目的とするところは、サーバの負担を軽くできかつネットワークのトラフィックを少なくできるとともに、複数のユーザの状態に応じて的確に応答し、かつユーザとの会話の流れに合わせて円滑に会話を進めることができる会話制御端末装置を提供することにある。 The present invention has been made in view of the above-described point, and the object of the present invention is to lighten the load on the server and reduce the traffic of the network, and respond appropriately according to the status of a plurality of users. Another object of the present invention is to provide a conversation control terminal device capable of smoothly advancing a conversation in accordance with the flow of a conversation with a user.
第3の課題は以下の通りである。
会話を進める際には、まず何らかの話題(テーマなど)を予め提供し、その話題に沿って会話を進めていくことが一般的に行われる。このため、従来から存在する会話制御システムでは、ユーザとの会話を進めるための膨大な量のデータやプログラムを構築するとともに、これらのデータやプログラムを用いて処理をすることでシステムを実現していた。したがって、記憶容量が大きく処理能力が高いサーバなどによって応答情報を決定するともに、このようなサーバに、ユーザが操作する端末装置を複数接続することで、複数のユーザにサービスを提供することを可能としていた。The third issue is as follows.
When proceeding with a conversation, it is common practice to first provide some topic (such as a theme) and proceed with the conversation along the topic. Therefore, in a conventional conversation control system, a system is realized by constructing a huge amount of data and programs for advancing a conversation with the user and performing processing using these data and programs. The Therefore, it is possible to provide a service to a plurality of users by connecting the plurality of terminal devices operated by the user to such a server while determining the response information by a server having a large storage capacity and a high processing capacity. It was.
しかしながら、このような会話制御システムでは、以下のような問題が生ずることが想定される。すなわち、上述したように、ユーザからの入力情報に対する応答などの処理を行ってユーザと会話を進めるためには、膨大な量のデータを構築する必要がある。このようなデータの構築には、会話制御システムの全般に亘る高度で専門的な知識や経験を要していた。このため、サーバに接続してくる複数のユーザの各々に対してカスタムを施して応答するためには、会話制御システムの多岐に亘って作業を行う必要があり困難になっていた。 However, in such a conversation control system, it is assumed that the following problems occur. That is, as described above, in order to conduct a process such as a response to input information from the user to advance a conversation with the user, it is necessary to construct a vast amount of data. The construction of such data required a high level of specialized knowledge and experience throughout the conversation control system. For this reason, in order to make a custom response to each of a plurality of users connected to the server, it has been difficult because it is necessary to work across a wide range of conversation control systems.
本発明は、上述の点に鑑みてなされたものであり、その目的とするところは、会話制御システムを利用する複数のユーザの各々に対してカスタムを施して応答することができるとともに、施したカスタムが適切であるか否かを事前に検証することができるような保守装置を提供することにある。 The present invention has been made in view of the above-described point, and the object of the present invention is to be able to make custom responses to each of a plurality of users who use a conversation control system, and to provide An object of the present invention is to provide a maintenance device capable of verifying in advance whether or not a custom is appropriate.
第4の課題は以下の通りである。
上述の特許文献4のような情報検索システムでは、以下のような問題が生ずることが想定される。すなわち、イベントワード関連語が、ネット検索においてイベントワードとAND検索したものから得られている場合、ユーザのイベントワードの入力に応じて一覧表示される、こうしたイベントワード関連語は、入力者由来の情報であるため、ネット検索のユーザにとっては既知の偏った情報である場合が多く、イベントワードとイベントワード関連語の間の関連も、入力者が考える関連にすぎない。そのため、ネット検索においてイベントワードとAND検索したものから得られているイベントワード関連語によって、既知でない新規な話題を取得することが困難である。The fourth issue is as follows.
In the information retrieval system as described in
また、イベントワード関連語が、イベントワードを含むニュースから出現頻度などを基に予め解析したものである場合、そのイベントワード関連語は、過去のニュースを解析したものであるため、そのようなイベントワード関連語によって最新の話題を取得することが困難である。 Also, if the event word related word is pre-analyzed from the news including the event word based on the appearance frequency etc., since the event word related word is an analysis of past news, such an event It is difficult to get the latest topics by word related words.
本発明の目的は、上述した第4の課題を解決することができるような情報検索システム、情報検索装置、情報検索方法、及びプログラムを提供することにある。 An object of the present invention is to provide an information search system, an information search device, an information search method, and a program that can solve the fourth problem described above.
第5の課題は以下の通りである。
上述した、特許文献5や特許文献6に開示されている情報取得装置では、入力情報等から最も話題性のある情報(語)を探し出すために、照合対象となる形態素データベースを予め作成しなければならず、その労力は極めて多大なものである。形態素データベースには、日常的な文に用いられる名詞、形容詞、動詞等を、概ね網羅するように登録しておかなければ、入力情報等の有効な解析を実現することができない。The fifth problem is as follows.
In the information acquisition apparatus disclosed in
さらに、この情報取得装置では、話題性のある情報を、例えば、「語」といった、形態素の単位でしか把握することができない。 Furthermore, in this information acquisition apparatus, topical information can be grasped only in units of morphemes, for example, "words".
また、上記情報取得装置では、入力情報等から最も話題性のある情報を探し出すために、入力情報等に含まれる語ごとに形態素データベースとの照合処理を行う必要があるが、この処理は、データベースのアクセスや比較処理等に多くの時間を必要とするため、応答時間が長くなり、その結果、入力情報等の解析をリアルタイムに行うことが困難である。 Further, in the above information acquisition apparatus, in order to search for information having the most topicality from input information etc., it is necessary to carry out collation processing with a morpheme database for each word contained in the input information etc. Because it takes a lot of time for access and comparison processing, etc., response time becomes long, and as a result, it is difficult to analyze input information etc. in real time.
さらに、日本語以外の他の言語について、同様の処理、すなわち、入力情報等から最も話題性のある情報を探し出すためには、形態素データベースを新たに用意し、さらに、各言語の文法に合わせて、解析ロジック等を再構築しなければならない。 Furthermore, for other languages other than Japanese, in order to find the most topical information from similar processing, ie, input information etc., a morpheme database is newly prepared, and further, according to the grammar of each language , Analysis logic etc. must be rebuilt.
従って、本発明の目的は、上述した第5の課題をことごとく解決する文解析装置、文解析方法、及びプログラムを提供することである。 Therefore, an object of the present invention is to provide a sentence analysis device, a sentence analysis method, and a program that solve all the above-mentioned fifth problems.
第6の課題は以下の通りである。
上述した、特許文献7に開示されている情報処理システムでは、個人によって生成されたテキストデータから、意味識別可能な複数の分解テキストデータを抽出し、さらに、所定の条件を満たす分解テキストデータを絞り込んで可視化するが、検閲の対象とするテキストデータは、ネットワーク上で世界中から絶え間なく更新され続けている膨大なテキストデータを含むものであり、最新の情報を扱うためには、分解テキストデータの抽出を、その膨大なテキストデータの更新に合わせて逐次行っていかなければならず、その作業量は膨大である。The sixth issue is as follows.
The above-described information processing system disclosed in
また、新たに出現した分解テキストデータは、新規情報として価値が大きいが、膨大なテキストデータから新たに出現した分解テキストデータを切り分けることは極めて困難である。特に、膨大なテキストデータにおいて、このような新たに出現した分解テキストデータを抽出することは、話題を把握する上で重要であるが、テキストデータが膨大であるがゆえに、そのような分解テキストデータを的確にとらえることが難しい。 Also, although the newly appeared decomposed text data is of great value as new information, it is extremely difficult to separate the newly appeared decomposed text data from a vast amount of text data. In particular, in such a large amount of text data, extracting such newly appeared decomposed text data is important for understanding the topic, but since the text data is enormous, such decomposed text data is It is difficult to accurately
従って、本発明の目的は、上述した第6の課題を解決することができる情報更新装置、情報更新方法、及びプログラムを提供することである。 Therefore, an object of the present invention is to provide an information updating apparatus, an information updating method, and a program that can solve the sixth problem described above.
本発明の第1の実施の形態に係る特徴は、
ユーザが入力情報を入力するための入力部と、
前記入力情報を分析して入力特定情報を生成する入力情報分析部と、
話題に関する応答情報を規定するためのシナリオデータを抽出するシナリオデータ記憶部と、
前記シナリオデータと前記入力特定情報とに基づいて前記応答情報を決定する応答情報決定部と、
前記応答情報決定部によって決定された応答情報を出力する出力部と、を備えることである。The feature according to the first embodiment of the present invention is
An input unit for the user to input input information;
An input information analysis unit that analyzes the input information and generates input specific information;
A scenario data storage unit that extracts scenario data for defining response information on topics;
A response information determination unit that determines the response information based on the scenario data and the input identification information;
And an output unit that outputs the response information determined by the response information determination unit.
シナリオデータと入力情報分析部によって分析された入力特定情報とによって応答情報を決定するので、話題と会話の流れとに合わせた自然な応答を実現することができる。 Since the response information is determined based on the scenario data and the input specific information analyzed by the input information analysis unit, it is possible to realize a natural response in accordance with the topic and the flow of the conversation.
さらに、シナリオデータに基づいて話題に関する応答情報を規定することができるので、話題制御システムの全般に亘る高度かつ専門的な知識や技術に依存することなく、話題制御ルールの変更、追加、修正などの保守作業を別個に行うことができる。 Furthermore, since response information on topics can be defined based on scenario data, changes, additions, modifications, etc. to topic control rules can be made without relying on advanced and specialized knowledge and techniques across topic control systems in general. Maintenance work can be performed separately.
本発明の第1の実施の形態に係る特徴は、さらに、
前記入力情報及び前記応答情報に関する状態制御指標を記憶する状態制御指標記憶部をさらに備え、
前記応答情報決定部は、前記シナリオデータ及び前記入力特定情報のほかに前記状態制御指標を加えて前記応答情報を決定することである。The feature according to the first embodiment of the present invention further includes:
The apparatus further comprises a state control index storage unit that stores a state control index related to the input information and the response information,
The response information determination unit determines the response information by adding the state control index in addition to the scenario data and the input identification information.
シナリオデータ及び入力特定情報のほかに状態制御指標を使って応答情報を決定するので、より話題と会話の流れとに合わせた自然な応答を実現することができる。 Since the response information is determined using the state control index in addition to the scenario data and the input specific information, it is possible to realize a natural response that is more in line with the topic flow and the flow of conversation.
さらに、状態制御指標により、入力や話題提供の履歴を捉えて話題提供をすることができるので、ユーザが文脈学習(話題と会話の過去の流れを記憶して現在の流れに適合することを「文脈学習」という。)を体感するような応答を実現することができる。 Furthermore, the state control index can provide a topic by capturing the history of input and topic provision, so that the user learns context learning (stores past flows of topics and conversations and adapts to the current flow It is possible to realize a response that feels like context learning.
本発明の第1の実施の形態に係る特徴は、さらに、
前記シナリオデータは、異なる話題への遷移を規定する情報を含み、
前記異なる話題への遷移を規定する情報に応じて、現在の話題に関する応答情報を規定するためのシナリオデータから、異なる話題に関する応答情報を規定するためのシナリオデータへ、シナリオデータを切り替える話題切替部を、さらに備えることである。The feature according to the first embodiment of the present invention further includes:
The scenario data includes information defining transitions to different topics,
A topic switching unit that switches scenario data from scenario data for defining response information on the current topic to scenario data for defining response information on the different topic according to the information defining the transition to the different topic. To further provide.
シナリオデータを使って話題や話題名を切り替えることができるので、話題と会話との流れに合わせた自然な応答を実現することができる。 Since scenario data can be used to switch topics and topic names, it is possible to realize natural responses to the flow of topics and conversations.
さらに、状態制御指標と併用することによりユーザの性格や感情状態を捉えて話題切替ができるので、ユーザが感情制御(ユーザの性格や感情状態を捉えて話題を切り替えることを「感情制御」という)を体感するような応答を実現することができる。 Furthermore, since topic switching can be performed by capturing the user's personality and emotional state by using in combination with the state control index, the user can control emotion (it is called "emotion control" to switch topics by capturing the user's personality and emotional state. It is possible to realize a response that feels
さらに、本発明の第1の実施の形態は、
それぞれが関連詞(例えば、通常の検索処理などに用いられる通常のキーワードとは異なる、話題を関連付けることができるテキストデータの一部)に関連付けられた話題を記憶する話題リスト(例えば、図17に示す話題リストG)と、
テキストデータ(例えば、保守装置3の担当者によってキーボードから入力される話題等)に関連付けられた関連詞に基づいて、前記テキストデータに関連する話題を前記話題リストから抽出する話題抽出手段(例えば、保守装置3のCPU等で構成される制御部)と、
前記抽出された話題を表示するよう制御する表示制御手段(例えば、保守装置3のCPU等で構成される制御部)とを備え、
前記表示制御手段は、前記抽出された話題のそれぞれについて、当該話題に関連付けられている関連詞を表示する(例えば、図17の画面1815のように「条件設定:優先関連詞」を指示することで、関連詞を優先したリスト形態で表示する)よう制御する話題提供システムである。Furthermore, according to the first embodiment of the present invention,
A topic list (e.g., FIG. 17) storing topics each associated with a related word (e.g., a part of text data to which a topic can be associated, which is different from a normal keyword used in a normal search process). The topic list G)
A topic extraction unit (for example, a topic extraction unit that extracts a topic related to the text data from the topic list on the basis of a related term associated with text data (for example, a topic etc. input from a keyboard by a person in charge of the maintenance device 3). A control unit configured by a CPU or the like of the
A display control unit (for example, a control unit configured by a CPU or the like of the maintenance device 3) that performs control to display the extracted topic;
The display control means displays, for each of the extracted topics, a related term associated with the relevant topic (for example, as shown in the
このような本発明の構成によって、話題そのものと、その話題に関連する複数の関連詞を表示することができるので、話題リストから得た話題をベースに、その話題から遷移して様々な話題のバリエーションを表示できる。 According to the configuration of the present invention, since the topic itself and a plurality of related words related to the topic can be displayed, the transition from the topic to various topics can be made based on the topic obtained from the topic list. You can display variations.
さらに、本発明の第1の実施の形態に係る特徴は、
前記テキストデータが、
(1)入力された話題、
(2)外部のログデータ(例えば、ツイッターやブログなどの、ネットワークを介して収集できるデータ)から、入力された話題に基づいて抽出された話題
のうち、少なくともどちらかを含むように構成されることである。Furthermore, the features of the first embodiment of the present invention are:
The text data is
(1) Input topic,
(2) It is configured to include at least one of topics extracted based on input topics from external log data (for example, data that can be collected via a network, such as a twitter or blog, etc.) It is.
このような本発明の構成によって、キーボードなどの直接的な入力装置による話題の入力と、外部からの情報から得られた話題が入力されるので、これらを自動的に減数又は追加し、これを繰り返すことによって話題紹介リストを構築することができる。 According to the configuration of the present invention, since the input of a topic by a direct input device such as a keyboard and the topic obtained from external information are input, these are automatically reduced or added, A topic introduction list can be constructed by repeating.
さらに、本発明の第1の実施の形態に係る特徴は、
前記表示制御手段が、前記抽出された話題に関連付けられている関連詞が入力された場合に、当該入力された関連詞に関連付けられた話題を表示する(例えば、図17の画面1815に示すように、「安心します」の入力によって、表示される話題を関連詞「安心します」に関連付けられた話題のみに絞り込んで表示し、画面1811に示すように、「一番怖い」の入力によって、表示される話題を関連詞「一番怖い」に関連付けられた話題のみにさらに絞り込んで表示する)よう制御することである。Furthermore, the features of the first embodiment of the present invention are:
The display control means displays the topic associated with the input related term when the related term associated with the extracted topic is input (for example, as shown in the
このような本発明の構成によって、話題に関連付けられた関連詞を容易に認識し入力することができるので、話題紹介リストの候補として表示された話題を、より目的となる話題紹介リストになるよう容易に絞り込むことができる。 According to the configuration of the present invention as described above, it is possible to easily recognize and input the related words associated with the topic, so that the topic displayed as a candidate for the topic introduction list can be a topic introduction list that is more aimed. It can be easily narrowed down.
さらに、本発明の第1の実施の形態に係る特徴は、
前記表示制御手段が、過去に関連詞が話題に関連付けられた態様に基づいて(例えば、過去の他のユーザ履歴で構築された嗜好辞書Eを参照して関連詞の関連付けを分析して)、話題の表示を制御することである。Furthermore, the features of the first embodiment of the present invention are:
The display control means analyzes an association of related words with reference to a preference dictionary E constructed with other user history in the past, based on an aspect in which related words are associated with a topic in the past, It is to control the display of the topic.
このような本発明の構成によって、関連詞の関連付けに係る態様が他のユーザの応答履歴から分析されるので、ユーザの嗜好に基づいて関連詞を表示することができる。 According to the configuration of the present invention as described above, the aspect relating to the association of related words is analyzed from the response history of another user, so that the related words can be displayed based on the preference of the user.
本発明の第2の実施の形態に係る特徴は、
ユーザが入力情報を入力するための入力部と、
話題に関する応答情報を規定するためのシナリオデータを記憶するシナリオデータ記憶部と、
前記入力情報及び前記応答情報に関する状態制御指標を記憶する状態制御指標記憶部と、
前記シナリオデータと前記状態制御指標とに基づいて前記応答情報を決定する応答情報決定部と、
前記応答情報決定部によって決定された応答情報を出力する出力部と、を備えることである。The features of the second embodiment of the present invention are:
An input unit for the user to input input information;
A scenario data storage unit for storing scenario data for defining response information on topics;
A state control indicator storage unit that stores state control indicators related to the input information and the response information;
A response information determination unit that determines the response information based on the scenario data and the state control index;
And an output unit that outputs the response information determined by the response information determination unit.
会話制御端末装置にシナリオデータ記憶部と状態制御指標記憶部との双方を設けて応答情報を決定するので、ユーザとの会話が可能であるか否かを会話制御端末装置で判断して制御でき、会話制御端末装置における処理の負担を著しく増加させることなく、かつ、サーバの負担も増加させることなく、さらに、ネットワークのトラフィックも増加させることなく、ユーザとの会話の流れに合わせて円滑に会話を進めることができる。 Since both the scenario data storage unit and the state control index storage unit are provided in the conversation control terminal device to determine the response information, it is possible to determine and control with the conversation control terminal device whether conversation with the user is possible. The conversation control terminal device does not significantly increase the processing load, and does not increase the load on the server, and also does not increase the network traffic, and smoothly communicates with the flow of the conversation with the user. Can proceed.
さらに、本実施の形態による会話制御端末装置は、シナリオデータと状態制御指標とに基づいて応答情報を決定するので、ユーザとの会話の進行状態に応じて応答情報を決定でき、サーバの負担を増大させることなく、ユーザの状態に応じて的確に応答することができる。 Furthermore, the conversation control terminal device according to the present embodiment determines the response information based on the scenario data and the state control index, so that the response information can be determined according to the progress of the conversation with the user, and the server load is increased. It is possible to respond appropriately according to the state of the user without increasing it.
本発明の第2の実施の形態に係る特徴は、さらに、
前記入力情報を外部に送信する送信部と、
送信された入力情報を分析して生成された入力特定情報を受信する受信部と、をさらに備え、
前記応答情報決定部は、前記シナリオデータ及び前記状態制御指標に前記入力特定情報を加えて前記応答情報を決定することである。The feature according to the second embodiment of the present invention further includes:
A transmitter for transmitting the input information to the outside;
A receiving unit that analyzes the transmitted input information and receives generated input identification information;
The response information determination unit determines the response information by adding the input specifying information to the scenario data and the state control index.
入力特定情報を加えて応答情報を決定するので、サーバなどの外部で分析した結果である入力特定情報を含めて応答情報を決定でき、ユーザとの会話の流れに合わせて円滑に会話を進めることができる。 Since the response information is determined by adding the input identification information, the response information can be determined including the input identification information which is the result of analysis by the server or the like outside, and the conversation can be smoothly advanced according to the flow of the conversation with the user Can.
本発明の第2の実施の形態に係る特徴は、さらに、
前記受信部は前記入力情報に基づいて抽出されたシナリオデータを受信し、
前記シナリオデータ記憶部は受信したシナリオデータを記憶することである。The feature according to the second embodiment of the present invention further includes:
The receiving unit receives scenario data extracted based on the input information;
The scenario data storage unit stores the received scenario data.
入力情報に基づいて抽出されたシナリオデータを受信するので、ユーザが入力した入力情報に基づいてシナリオデータを切り替えていくことができ、ユーザとの会話の流れに合わせて円滑に会話を進めることができる。 Since scenario data extracted based on input information is received, scenario data can be switched based on input information input by the user, and the conversation can be smoothly advanced according to the flow of conversation with the user it can.
本発明の第2の実施の形態に係る特徴は、さらに、
前記シナリオデータは、異なる話題への遷移を規定する情報を含み、
前記異なる話題への遷移を規定する情報に応じて話題切替入力情報を生成する切替入力情報入力部を備え、
前記送信部は、前記話題切替入力情報を外部に送信し、
前記受信部は、前記話題切替入力情報に基づいたシナリオデータを受信することである。The feature according to the second embodiment of the present invention further includes:
The scenario data includes information defining transitions to different topics,
And a switching input information input unit that generates topic switching input information according to information defining transition to the different topics,
The transmission unit transmits the topic switching input information to the outside.
The receiving unit is to receive scenario data based on the topic switching input information.
状態制御指標とシナリオデータとに基づいて話題を切り替えることができるので、ユーザとの会話の状態を見ながら話題を切り替ることができ、ユーザとの会話の流れに合わせて円滑に会話を進めることができる。 The topic can be switched based on the state control index and the scenario data, so that the topic can be switched while watching the state of the conversation with the user, and the conversation can be smoothly advanced according to the flow of the conversation with the user Can.
本発明の第3の実施の形態に係る特徴は、
ユーザが入力する入力情報を分析することによって生成された入力特定情報に基づいて話題に関わる応答情報を規定するためのシナリオデータを記憶するシナリオデータ記憶部と、
前記入力特定情報を受信する受信部と、
前記シナリオデータを編集可能にするためのシナリオデータ編集部と、
前記受信部で受信した入力特定情報に基づいて編集したシナリオデータの応答を検証可能にするシナリオデータ検証部と、
編集したシナリオデータを外部に送信するシナリオデータ送信部と、を備えることである。The feature of the third embodiment of the present invention is
A scenario data storage unit that stores scenario data for defining response information related to a topic based on input specific information generated by analyzing input information input by a user;
A receiving unit that receives the input identification information;
A scenario data editing unit for making the scenario data editable;
A scenario data verification unit that makes it possible to verify the response of the edited scenario data based on the input identification information received by the reception unit;
And a scenario data transmitting unit for transmitting the edited scenario data to the outside.
会話制御システムにおけるデータは、ユーザが入力した入力情報を分析して入力特定情報を生成するためのデータと、この入力特定情報に基づいて応答情報を決定するためのシナリオデータとの双方がある。このシナリオデータは、ユーザへの回答である応答情報を多様化することができるデータである。上述した構成によれば、シナリオデータ編集部によって、シナリオデータを編集でき、シナリオデータ検証部によって、編集したシナリオデータの応答を検証できる。このようにすることで、会話制御システムの全般に亘る高度に専門的な知識や技術がなくても、シナリオデータについて、会話制御システムを利用する複数のユーザの各々に対してカスタムを施すことができる。 Data in the conversation control system includes both data for analyzing input information input by a user to generate input identification information and scenario data for determining response information based on the input identification information. The scenario data is data that can diversify response information that is a response to the user. According to the configuration described above, the scenario data editing unit can edit the scenario data, and the scenario data verification unit can verify the response of the edited scenario data. In this way, scenario data can be customized for each of a plurality of users who use the conversation control system, without highly specialized knowledge and skills throughout the conversation control system. it can.
本発明の第3の実施の形態に係る特徴は、さらに、
ユーザが入力情報を入力するための入力部と、
前記入力情報及び前記応答情報に関する状態制御指標を記憶する状態制御指標記憶部と、
前記シナリオデータと前記状態制御指標とに基づいて前記応答情報を決定する応答情報決定部と、
前記応答情報決定部によって決定された応答情報を出力する出力部と、を備える会話制御端末装置を仮想的に構築する端末装置仮想構築部を有することである。The feature according to the third embodiment of the present invention further includes:
An input unit for the user to input input information;
A state control indicator storage unit that stores state control indicators related to the input information and the response information;
A response information determination unit that determines the response information based on the scenario data and the state control index;
And an output unit for outputting the response information determined by the response information determination unit; and a terminal device virtual construction unit for virtually constructing a conversation control terminal device.
端末装置仮想構築部は、会話制御端末装置を保守装置において仮想的に構築して実行することができる。したがって、一般のユーザが使用する会話制御端末装置と同様の環境を保守装置において実現することができる。これにより、ユーザが実際に会話を進める環境と同様の環境で、シナリオデータの内容や動作を予め確認することができ、ユーザと会話をする前にシナリオデータの内容を検証することができ、サーバに接続してくる複数のユーザの各々に対して施したカスタムが適切であるか否かを事前に検証することができる。 The terminal device virtual construction unit can virtually construct and execute the conversation control terminal device in the maintenance device. Therefore, an environment similar to a conversation control terminal used by a general user can be realized in the maintenance device. By this, it is possible to confirm in advance the content and operation of scenario data in an environment similar to the environment in which the user actually conducts a conversation, and to verify the content of the scenario data before having a conversation with the user. It can be verified in advance whether the custom applied to each of a plurality of users connecting to is appropriate.
本発明の第3の実施の形態に係る特徴は、さらに、
話題を関係付ける関連詞を介して話題の近さや繋がり方を付与した話題リストを生成するための話題解析部を、さらに備え、
前記シナリオデータ編集部は、前記話題リストと前記関連詞を利用してユーザに話題を紹介するための話題紹介シナリオおよびユーザの入力に応答するための入力関連シナリオを前記シナリオデータとして編集可能にすることである。The feature according to the third embodiment of the present invention further includes:
It further comprises a topic analysis unit for generating a topic list to which the topic approach and connection are given via the related words that relate topics,
The scenario data editing unit can edit, as the scenario data, a topic introduction scenario for introducing a topic to a user using the topic list and the related words, and an input related scenario for responding to user input. It is.
会話制御システムにおけるデータは、ユーザが入力した入力情報を分析して入力特定情報を生成するためのデータと、この入力特定情報に基づいて応答情報を決定するためのシナリオデータとの双方がある。このシナリオデータは、ユーザへの回答である応答情報を多様化することができるデータである。上述した構成によれば、シナリオデータ編集部によって、話題解析部と連携しながらシナリオデータを編集でき、シナリオデータ検証部によって、編集したシナリオデータの応答を検証できる。このようにすることで、会話制御システムの全般に亘る高度に専門的な知識や技術がなくても、シナリオデータについて、会話制御システムを利用する複数のユーザの各々に対してカスタムを施すことができる。 Data in the conversation control system includes both data for analyzing input information input by a user to generate input identification information and scenario data for determining response information based on the input identification information. The scenario data is data that can diversify response information that is a response to the user. According to the configuration described above, the scenario data editing unit can edit the scenario data in cooperation with the topic analysis unit, and the scenario data verification unit can verify the response of the edited scenario data. In this way, scenario data can be customized for each of a plurality of users who use the conversation control system, without highly specialized knowledge and skills throughout the conversation control system. it can.
本発明の第4の実施の形態は、
キーワードに基づく検索により収集されたテキストデータ(例えば、図20に示す収集されたWEBページから取得される外部ログ502(テキストデータ))から、前記キーワードに関する文情報(例えば、キーワード検索にヒットしたテキストデータの一部である質問文等)を取得する文情報取得手段(例えば、図20に示す入力情報分析部41)と、
前記文情報のそれぞれから所定条件を満たす1つまたは複数の文字列(例えば、意味識別可能な文字列である関連詞)を選出し、対応する前記文情報ごとに、前記文字列を文字列記憶手段(例えば、図20に示す関連詞辞書50)に記憶する文字列選出手段(例えば、図20に示す文解析部43)と、
前記選出された前記文字列を、対応する前記文情報ごとにユーザに対して表示するための情報(例えば、ユーザに対して図37に示すような関連詞・共起語一覧表示画面650を表示するための図20に示す関連詞・共起語データ52を含む入力特定情報)を出力する情報出力手段(例えば、図20に示す入力情報分析部41)を備えるように構成された情報検索システム(例えば、図20に示す情報検索システム100)である。The fourth embodiment of the present invention is
From text data collected by keyword-based search (for example, external log 502 (text data) acquired from the collected WEB page shown in FIG. 20), sentence information related to the keyword (for example, text hit in keyword search) Sentence information acquisition means (for example, an input
From each of the sentence information, one or more character strings satisfying a predetermined condition (e.g., a related word which is a character string that can be identified in meaning) is selected, and the character string is stored for each corresponding sentence information Character string selection means (for example, the
Information for displaying the selected character string to the user for each corresponding sentence information (for example, display related word / co-occurrence word
本発明のこのような構成によって、選出された文字列が情報発信者由来の情報として得られ、既知でない新規な話題も取得することができる。また、選出された文字列(関連詞)が、キーワードに基づく検索から得られる最新の情報であるため、最新の情報を得ることができる。 According to such a configuration of the present invention, the selected character string can be obtained as information derived from the information originator, and a new topic that is not known can also be acquired. In addition, since the selected character string (related words) is the latest information obtained from the search based on the keyword, the latest information can be obtained.
本発明の第4の実施の形態に係る特徴は、
前記文字列選出手段は、
事前に記憶された文字列データ(例えば、形態素データ等を含む辞書)との照合を行うことなく、前記文字列を選出するように構成されることである。The feature of the fourth embodiment of the present invention is
The character string selection means
The present invention is configured to select the character string without performing collation with character string data (for example, a dictionary including morpheme data etc.) stored in advance.
本発明のこのような構成によって、事前に形態素データ等を含む辞書を作成・維持する労力が不要となり、容易に情報検索システムを構築できる。 With such a configuration of the present invention, it is not necessary to create and maintain a dictionary including morpheme data etc. in advance, and an information search system can be easily constructed.
本発明の第4の実施の形態に係る特徴は、さらに、
前記文字列選出手段はさらに、
前記テキストデータから同じ文字列を検索する文字列検索手段(例えば、図21に示す文字列検索処理部43b)と、
前記同じ文字列について、前の隣接文字の異なり度合い(例えば、検索された「同じ文字列」の直前に出現する文字が、どの程度異なっているか(バリエーションがあるか)を示す指標であり、前の隣接文字として現れる文字のパターン数に基づくもの)、及び後の隣接文字の異なり度合い(例えば、検索された「同じ文字列」の直後に出現する文字が、どの程度異なっているか(バリエーションがあるか)を示す指標であり、後の隣接文字として現れる文字のパターン数に基づくもの)を判定する異なり度合い判定手段(例えば、図21に示す異なり度合い判定処理部43c)と、
前記前の隣接文字の異なり度合い、及び前記後の隣接文字の異なり度合いに基づいて、前記同じ文字列が特定文字列(例えば、関連詞)であるか否かを決定する特定文字列決定手段(例えば、図21に示す関連詞決定処理部43d)とを備え、
前記文字列選出手段は、前記決定された特定文字列から、前記文字列を選出するように構成されることである。The feature according to the fourth embodiment of the present invention further includes:
The character string selection means further includes
Character string search means (for example, a character string
For the same character string, it is an index indicating how different (for example, there is a variation) the character appearing immediately before the “same character string” searched, which is the difference degree of the previous adjacent character. Of the number of patterns of characters that appear as adjacent characters), and the degree of difference between adjacent characters after that (for example, how different are the characters that appear immediately after the “same character string found” And a difference degree determination unit (for example, a difference degree
Specific character string determination means for determining whether the same character string is a specific character string (for example, a related word) based on the degree of difference between the preceding adjacent character and the degree of difference between the subsequent adjacent character For example, a related term
The character string selection means is configured to select the character string from the determined specific character string.
本発明のこのような構成によって、隣接する文字の異なり度合いに応じて関連詞が判定され、形態素データ等を含む辞書と逐一比較処理を行う必要がなく、処理を高速化することができ、関連詞の表示処理等をリアルタイムに行うことができる。 According to such a configuration of the present invention, related words are determined according to the degree of difference between adjacent characters, and it is not necessary to perform comparison processing with a dictionary including morpheme data etc. one by one, processing can be speeded up. It is possible to perform display processing of the lyrics in real time.
本発明の第4の実施の形態に係る特徴は、さらに、
話題に関する応答情報を規定するためのシナリオデータ(例えば、図14に示すようなステートメントからなるデータ)を記憶するシナリオデータ記憶手段(例えば、図20に示すシナリオデータ28、シナリオデータ55)と、
前記シナリオデータに基づいて、前記選出された前記文字列を含む前記応答情報を決定する応答情報決定手段(例えば、図20に示す応答情報決定部25)と、
前記応答情報決定手段によって決定された前記応答情報を出力する応答情報出力手段(例えば、図20に示す出力制御部26)をさらに備えるように構成されることである。The feature according to the fourth embodiment of the present invention further includes:
Scenario data storage means (for example,
Response information determination means (for example, response
It is configured to further include response information output means (for example, an
本発明のこのような構成によって、選出された文字列(関連詞)をユーザに表示する場合の表示態様を多様化することができるとともに、表示の編集を容易に実行・管理することができる。 According to such a configuration of the present invention, it is possible to diversify the display mode in the case of displaying the selected character string (related words) to the user, and to easily execute and manage the editing of the display.
本発明の第4の実施の形態に係る特徴は、さらに、
辞書比較手段(例えば、図22に示す辞書比較処理部46c)をさらに備え、
前記文字列選出手段は、前記文字列を前記文字列記憶手段に記憶する場合に、それぞれ、前記テキストデータの収集条件に応じて、対応する辞書(例えば、図22に示す関連詞辞書50)に記憶し、
前記辞書比較手段は、複数の前記辞書を比較する比較処理を行い、比較結果を比較結果記憶手段(例えば、図22に示す比較結果データ54)に記憶し、
前記応答情報決定手段は、前記シナリオデータに基づいて、前記比較結果を含む前記応答情報を決定し、
前記応答情報出力手段は、前記応答情報決定手段によって決定された前記応答情報を出力し、
前記辞書比較手段はさらに、複数の前記辞書のうち少なくとも1つが更新された場合に、前記比較処理を行い、前記比較結果記憶手段に記憶された比較結果を自動的に更新するように構成されることである。The feature according to the fourth embodiment of the present invention further includes:
Dictionary comparison means (for example, dictionary
When the character string selecting unit stores the character string in the character string storage unit, the character string selecting unit stores the character string in a corresponding dictionary (for example, a
The dictionary comparison means performs comparison processing for comparing a plurality of the dictionaries, and stores the comparison result in comparison result storage means (for example,
The response information determination means determines the response information including the comparison result based on the scenario data,
The response information output unit outputs the response information determined by the response information determination unit,
The dictionary comparison means is further configured to perform the comparison process when at least one of the plurality of dictionaries is updated, and to automatically update the comparison result stored in the comparison result storage means. It is.
本発明のこのような構成によって、選出された文字列(関連詞)の更新を自動的に行うことができ、各更新タイミングにおける比較結果によって関連詞の出現状況の変化を把握して表示することにより、関連詞をユーザに表示する場合の表示態様を多様化することができる。 According to such a configuration of the present invention, it is possible to automatically update the selected character string (related words), and grasp and display the change in the appearance state of the related words according to the comparison result at each update timing. By this, it is possible to diversify the display mode when displaying the related words to the user.
本発明の第4の実施の形態に係る特徴は、さらに、
前記情報出力手段は、
前記文情報の1つに対応する前記文字列の1つと、前記文情報の1つとは異なる文情報に対応する前記文字列の1つが共通する場合に、前記1の文情報に対応する前記文字列の集合と、前記他の文情報に対応する前記文字列の集合とを関連付けて表示するための情報を出力するように構成されることである。The feature according to the fourth embodiment of the present invention further includes:
The information output means is
When one of the character strings corresponding to one of the sentence information and one of the character strings corresponding to sentence information different from one of the sentence information are in common, the character corresponding to the one sentence information It is configured to output information for associating and displaying a set of columns and the set of character strings corresponding to the other sentence information.
本発明の第4の実施の形態に係る特徴は、さらに、
前記情報出力手段は、
所定の1または複数の前記文情報に対応する前記文字列の集合をすべて表示するための情報を出力し、
前記文字列の表示順は、前記ユーザの前記文字列に対する利用態様に応じて決定されるように構成されることである。The feature according to the fourth embodiment of the present invention further includes:
The information output means is
Outputting information for displaying all the sets of the character strings corresponding to one or more predetermined sentence information items;
The display order of the character string may be configured to be determined according to a use mode of the user for the character string.
本発明の第4の実施の形態は、さらに、
テキストデータの収集条件となるキーワードを入力するキーワード入力手段(例えば、図20に示す入力制御部21)と、
前記キーワードに基づいて収集されたテキストデータから取得された、前記キーワードに関する文情報のそれぞれから、所定条件を満たす1つまたは複数の文字列が選出された場合に、前記選出された前記文字列を、対応する前記文情報ごとにユーザに対して表示するための情報を出力する情報出力手段(例えば、図20に示す出力制御部26)を備えるように構成された情報検索装置(例えば、図20に示す会話制御端末装置2’’)である。In the fourth embodiment of the present invention, further,
Keyword input means (for example, an
When one or more character strings satisfying a predetermined condition are selected from each of sentence information on the keyword acquired from text data collected based on the keyword, the selected character string is selected. 20. An information retrieval apparatus (eg, FIG. 20) configured to include an information output unit (eg,
本発明の第4の実施の形態は、さらに、
キーワードに基づく検索により収集されたテキストデータから、前記キーワードに関する文情報を取得する文情報取得ステップと、
前記文情報のそれぞれから所定条件を満たす1つまたは複数の文字列を選出し、対応する前記文情報ごとに、前記文字列を文字列記憶手段に記憶する文字列選出ステップと、
前記選出された前記文字列を、対応する前記文情報ごとにユーザに対して表示するための情報を出力する情報出力ステップを備えるように構成された情報検索方法である。In the fourth embodiment of the present invention, further,
A sentence information acquisition step of acquiring sentence information related to the keyword from text data collected by a search based on the keyword;
A character string selecting step of selecting one or more character strings satisfying a predetermined condition from each of the sentence information, and storing the character string in the character string storage means for each corresponding sentence information;
The information search method may further include an information output step of outputting information for displaying the selected character string to the user for each corresponding sentence information.
本発明の第4の実施の形態は、さらに、
コンピュータに、
キーワードに基づく検索により収集されたテキストデータから、前記キーワードに関する文情報を取得する文情報取得手段、
前記文情報のそれぞれから所定条件を満たす1つまたは複数の文字列を選出し、対応する前記文情報ごとに、前記文字列を文字列記憶手段に記憶する文字列選出手段、及び、
前記選出された前記文字列を、対応する前記文情報ごとにユーザに対して表示するための情報を出力する情報出力手段として機能させるためのプログラムである。In the fourth embodiment of the present invention, further,
On the computer
Sentence information acquiring means for acquiring sentence information on the keyword from text data collected by a search based on the keyword;
Character string selection means for selecting one or more character strings satisfying a predetermined condition from each of the sentence information, and storing the character string in the character string storage means for each corresponding sentence information,
It is a program for functioning as information output means which outputs the information for displaying the said selected character string to a user for every corresponding above-mentioned sentence information.
本発明の第5の実施の形態は、
テキストデータ(例えば、収集されたWEBページから取得されるテキストデータである外部ログ502)から同じ文字列を検索する文字列検索手段(例えば、図21に示す文字列検索処理部43b)と、
前記同じ文字列について、前の隣接文字の異なり度合い(例えば、検索された「同じ文字列」の直前に出現する文字が、どの程度異なっているか(バリエーションがあるか)を示す指標であり、前の隣接文字として現れる文字のパターン数に基づくもの)、及び後の隣接文字の異なり度合い(例えば、検索された「同じ文字列」の直後に出現する文字が、どの程度異なっているか(バリエーションがあるか)を示す指標であり、後の隣接文字として現れる文字のパターン数に基づくもの)を判定する異なり度合い判定手段(例えば、図21に示す異なり度合い判定処理部43c)と、
前記前の隣接文字の異なり度合い、及び前記後の隣接文字の異なり度合いに基づいて、前記同じ文字列が特定文字列(例えば、関連詞)であるか否かを決定する特定文字列決定手段(例えば、図21に示す関連詞決定処理部43d)とを備えるように構成される文解析装置(例えば、図21に示す文解析部43を含む文解析装置)である。The fifth embodiment of the present invention is
Character string search means (for example, a character string
For the same character string, it is an index indicating how different (for example, there is a variation) the character appearing immediately before the “same character string” searched, which is the difference degree of the previous adjacent character. Of the number of patterns of characters that appear as adjacent characters), and the degree of difference between adjacent characters after that (for example, how different are the characters that appear immediately after the “same character string found” And a difference degree determination unit (for example, a difference degree
Specific character string determination means for determining whether the same character string is a specific character string (for example, a related word) based on the degree of difference between the preceding adjacent character and the degree of difference between the subsequent adjacent character For example, it is a sentence analysis device (for example, a sentence analysis device including the
本発明のこのような構成によって、例えば、インターネット上に公開されている外部の情報をネットワークを通じてテキストデータとして収集し、その取得したテキストデータから前記文字列検索手段が同じ文字列を検索し、当該同じ文字列についての前後の隣接文字の異なり度合いを前記異なり度合い判定手段で判定した後、当該異なり度合い判定手段で判定された前記前後の隣接文字の異なり度合いに基づいて、前記同じ文字列が特定文字列(例えば、関連詞)か否かを特定文字列決定手段で特定できるので、辞書を用いることなく、テキストデータのなかから、話題を識別するために重要な特定文字列を抽出することができる。 According to such a configuration of the present invention, for example, external information published on the Internet is collected as text data through a network, and the character string search unit searches for the same character string from the acquired text data. After the degree of difference between adjacent characters in the same character string is determined by the degree of difference determining means, the same character string is identified based on the degree of difference in adjacent characters determined by the degree of difference determining means. Since the specific character string determination means can specify whether it is a character string (for example, related words) or not, it is possible to extract a specific character string important for identifying a topic from text data without using a dictionary. it can.
本発明の第5の実施の形態に係る特徴は、
特定文字列決定手段が、
前記テキストデータ内に複数の特定文字列が含まれる場合に、それぞれの特定文字列に関する前記前の隣接文字の異なり度合い、前記後の隣接文字の異なり度合い、文字長、及び出現頻度の少なくとも1つに基づいて、前記テキストデータ内における特定文字列のランク付けを行うように構成されることである。The feature of the fifth embodiment of the present invention is
The specific character string determination means
When a plurality of specific character strings are included in the text data, at least one of the difference degree of the preceding adjacent character, the difference degree of the subsequent adjacent character, the character length, and the appearance frequency with respect to each specific character string , And is configured to rank specific strings in the text data.
このように構成すれば、前記特定文字列決定手段が、前記テキストデータ内に複数の特定文字列が含まれる場合に、それぞれの特定文字列に関する前記前後の隣接文字の異なり度合い、文字長、及び出現頻度の少なくとも1つに基づいて、前記テキストデータ内における特定文字列のランク付けを行うので、例えば、ある話題に関連する特定文字列を単に抽出するだけでなく、様々な観点からのパラメータでのランク付けを行って、複数の特定文字列ごとに、重要度や話題性などに応じて差別化した特定文字列の解析を行うことができる。 According to this structure, when the text data includes a plurality of specific character strings, the specific character string determination unit determines the degree of difference between the preceding and following adjacent characters with respect to each specific character string, the character length, and Since ranking of specific strings in the text data is performed based on at least one of the appearance frequency, for example, not only extracting specific strings related to a certain topic, but also using parameters from various viewpoints Can be ranked, and analysis of specific strings differentiated according to importance, topicality, etc. can be performed for each of a plurality of specific strings.
本発明の第5の実施の形態に係る特徴は、さらに
前記テキストデータが、所定条件により収集されたデータ(例えば、個人によって生成された、インターネット上に公開されているWEBページやブログのテキストデータ、ツイート情報などのデータ)であり、
異なる前記テキストデータに関してそれぞれ前記特定文字列が決定される場合に、当該決定された前記特定文字列が、対応する前記テキストデータごとにグループ化される(例えば、各テキストデータに対して個々に特定文字列の集合が形成され、全体として複数のテキストデータについて、特定文字列の集合の集合として管理される)ように構成されることである。The feature according to the fifth embodiment of the present invention is further characterized in that the text data is data collected under a predetermined condition (for example, text data of a WEB page or blog generated by an individual and published on the Internet) , Data such as tweet information),
When the specific character string is determined for each of the different text data, the determined specific character string is grouped by the corresponding text data (for example, specified individually for each text data) A set of strings is formed, and a plurality of text data as a whole are managed as a set of sets of specific strings).
このように構成すれば、例えば、個人によって生成された、インターネット上に公開されているWEBページやブログのテキストデータ、ツイート情報などのデータをテキストデータとして収集し、その収集した異なる複数の前記テキストデータに関して、それぞれ前記特定文字列が決定される場合に、当該決定された前記特定文字列が、対応する前記テキストデータごとにグループ化する処理を前記特定文字列決定手段によって実行するので、各特定文字列がグループ化されるとともに、前述したランク付けと同様、各特定文字列が、それぞれのグループにおいて差別化され、分析自由度が向上する可能性がある。 If configured in this way, for example, text data of web pages and blogs published on the Internet generated by an individual, data such as tweet information are collected as text data, and the collected different texts are collected When the specific character string is determined with respect to data, the specific character string determination unit performs processing of grouping the determined specific character string for each corresponding text data, so that each specific character string is determined. As the strings are grouped, as with the ranking described above, each particular string may be differentiated in the respective group, which may improve the analysis freedom.
本発明の第5の実施の形態は、さらに、
テキストデータから同じ文字列を検索するステップと、
前記同じ文字列について、前の隣接文字の異なり度合い、及び後の隣接文字の異なり度合いを判定するステップと、
前記前の隣接文字の異なり度合い、及び前記後の隣接文字の異なり度合いに基づいて、前記同じ文字列が特定文字列であるか否かを決定するステップとを含む文解析方法である。
このように構成すれば、上記本発明の文解析装置と同様の作用効果を奏する方法を提供できる。In the fifth embodiment of the present invention, further,
Searching for the same string from text data;
Determining, for the same character string, the degree of difference between previous adjacent characters and the degree of difference between subsequent adjacent characters;
Determining whether the same character string is a specific character string based on the degree of difference between the preceding adjacent characters and the degree of difference between the subsequent adjacent characters.
According to this structure, it is possible to provide a method having the same operation and effect as the sentence analysis device of the present invention.
こうした本発明の実施態様によって、辞書を用いることなく、テキストデータのなかから、話題を識別するために重要な特定文字列を抽出することができる。 According to such an embodiment of the present invention, it is possible to extract a specific character string important for identifying a topic from text data without using a dictionary.
本発明の第5の実施の形態は、さらに、
コンピュータに、
テキストデータから同じ文字列を検索する文字列検索手段、
前記同じ文字列について、前の隣接文字の異なり度合い、及び後の隣接文字の異なり度合いを判定する異なり度合い判定手段、及び、
前記前の隣接文字の異なり度合い、及び前記後の隣接文字の異なり度合いに基づいて、前記同じ文字列が特定文字列であるか否かを決定する特定文字列決定手段として機能させるプログラムである。In the fifth embodiment of the present invention, further,
On the computer
Character string search means for searching the same character string from text data,
A difference degree determination unit that determines the degree of difference between the preceding adjacent characters and the degree of difference between the subsequent adjacent characters for the same character string;
It is a program that functions as a specific character string determination unit that determines whether the same character string is a specific character string based on the degree of difference between the preceding adjacent characters and the degree of difference between the subsequent adjacent characters.
本発明のこのような構成によって、辞書を用いることなく、テキストデータのなかから、話題を識別するために重要な特定文字列を抽出することができる。 According to such a configuration of the present invention, it is possible to extract a specific character string important for identifying a topic from text data without using a dictionary.
本発明の第6の実施の形態は、
テキストデータ(例えば、収集されたWEBページから取得されるテキストデータである外部ログ502)から、意味識別可能な文字列(例えば、関連詞)を抽出し、抽出された文字列を、前記テキストデータに対応する辞書(例えば、関連詞辞書50)に記憶する文字列抽出手段(例えば、図22に示す文字列抽出処理部46b)と、
複数の前記辞書を比較する比較処理(例えば、関連詞辞書(i−1)に記憶された関連詞と関連詞辞書(i)に記憶された関連詞を比較し、関連詞辞書(i)で新たに出現した新着関連詞があるか否かや関連詞辞書(i)で消滅した消滅関連詞があるか否かなどを判定する処理)を行い、比較結果(例えば、新着関連詞等)を比較結果記憶手段(比較結果データ54)に記憶する辞書比較手段(例えば、図22に示す辞書比較処理部46c)とを備え、
異なる前記辞書に対応付けられたテキストデータ(例えば、関連詞辞書(i−1)に記憶された関連詞の抽出元であるテキストデータ1と、関連詞辞書(i)に記憶された関連詞の抽出元であるテキストデータ2)は、異なる収集条件(例えば、同じ検索条件によって検索された、異なる時間におけるテキストデータ、または、同じ時間において、異なる検索条件によって検索されたテキストデータ)によって収集されたテキストデータであり、
前記辞書比較手段は、複数の前記辞書のうち少なくとも1つが更新された場合に、前記比較処理を行い、前記比較結果記憶手段に記憶された比較結果を自動的に更新(例えば、上書き更新、または累積的に更新)するように構成された情報更新装置(例えば、図22に示す情報更新部46を含む情報更新装置)である。The sixth embodiment of the present invention is
A character string (for example, related words) that can be identified in meaning is extracted from text data (for example,
A comparison process of comparing a plurality of the dictionaries (for example, comparing related words stored in related word dictionary (i-1) with related words stored in related word dictionary (i), using related word dictionary (i) A process of determining whether or not there is a newly arrived new arrival related term, or whether or not there is an extinct related term that has disappeared in the related term dictionary (i), etc. is performed, and the comparison result (for example, new arrival related term etc.) Dictionary comparison means (for example, dictionary
Text data associated with different dictionaries (for example,
The dictionary comparison means performs the comparison process when at least one of the plurality of dictionaries is updated, and automatically updates the comparison result stored in the comparison result storage means (for example, overwrite update, or It is an information updating apparatus (for example, an information updating apparatus including the
本発明のこのような構成によって、例えば、テキストデータから、意味識別可能な文字列を抽出し、抽出された文字列を前記テキストデータに対応する辞書に記憶(異なる辞書に対応付けられたテキストデータは、異なる収集条件によって収集されたテキストデータである)し、辞書比較手段が複数の前記辞書を比較して、比較結果を自動的に比較結果記憶手段に記憶するので、異なる収集条件により収集されたテキストデータから、逐次、意味識別可能な文字列を自動的に抽出することができ、それらの文字列を記憶した辞書を比較することにより、最新の文字列等を把握することができるとともに、話題の変化を効果的に把握することがきる。 According to such a configuration of the present invention, for example, a character string that can be semantically identified is extracted from text data, and the extracted character string is stored in a dictionary corresponding to the text data (text data associated with different dictionaries Are text data collected under different collection conditions, and the dictionary comparison means compares a plurality of the dictionaries and automatically stores the comparison results in the comparison result storage means, so that collection is performed under different collection conditions. Character strings that can be semantically identified can be automatically extracted sequentially from the text data, and the latest character strings can be grasped by comparing dictionaries storing those character strings. It is possible to effectively grasp the change of the topic.
本発明の第6の実施の形態に係る特徴は、
前記辞書比較手段が、
前記比較処理において、複数の前記辞書における文字列の出現状況(例えば、関連詞辞書(i−1)と関連詞辞書(i)を比較した場合に、関連詞辞書(i)で関連詞が新たに出現する状況、関連詞辞書(i)で関連詞が消滅する状況等)に応じて、対応する文字列を前記比較結果として記憶するように構成されることである。The feature of the sixth embodiment of the present invention is
The dictionary comparison means
In the comparison process, when the appearance status of character strings in a plurality of the dictionaries (for example, when the related word dictionary (i-1) and the related word dictionary (i) are compared, the related words are new in the related word dictionary (i) The corresponding character string is stored as the comparison result in accordance with the situation where it appears, the situation where the related term disappears in the related term dictionary (i), etc.).
このように構成すれば、前記辞書比較手段が、前記比較処理において、複数の前記辞書における文字列の出現状況に応じて、対応する文字列を前記比較結果として記憶するので、例えば、(時系列において)後の関連詞辞書で新たに出現した関連詞や、後の関連詞辞書で消滅した関連詞等を、その出現状況に応じて把握することができる。 According to this configuration, the dictionary comparison unit stores the corresponding character string as the comparison result according to the appearance status of the character string in the plurality of dictionaries in the comparison process, for example, (time series In the following related words dictionary, the related words newly appeared in the related words dictionary, the related words deleted in the later related words dictionary, etc. can be grasped according to the appearance situation.
本発明の第6の実施の形態に係る特徴は、さらに、
前記文字列抽出手段が、
前記テキストデータから複数の前記文字列を抽出した場合に、当該複数の前記文字列を関連付けて、対応する前記辞書に記憶し(例えば、1つのテキストデータから抽出された複数の関連詞(共起関連詞)を、ランク付けして1レコードとして記憶する)、
前記辞書比較手段が、
前記比較処理において、複数の前記辞書で共通する文字列がある場合に、前記共通する文字列のそれぞれに関連付けられた文字列を比較する(例えば、関連詞の集合同士で共通性を判断する、すなわち、それぞれの共通関連詞の共起関連詞を比較する)ように構成されることである。The feature according to the sixth embodiment of the present invention is further characterized by:
The character string extraction unit
When a plurality of character strings are extracted from the text data, the plurality of character strings are associated and stored in the corresponding dictionary (for example, a plurality of related words extracted from one text data (co-occurrence Related words are ranked and stored as one record),
The dictionary comparison means
In the comparison processing, when there are character strings common to a plurality of the dictionaries, character strings associated with each of the common character strings are compared (for example, commonality is determined between sets of related words) That is, they are configured to compare co-occurrence related words of respective common related words.
このように構成すれば、前記文字列抽出手段が、例えば、複数の文字列を関連付けて辞書に記憶し、前記比較処理が、前記比較処理において、複数の辞書で共通する文字列(共通関連詞)に関し、それぞれに関連付けられた文字列(近傍関連詞)についても比較を行うので、共通の文字列に関する共通性のレベル等についても把握することができる。 With such a configuration, the character string extraction unit associates, for example, a plurality of character strings and stores them in a dictionary, and the comparison processing is a character string common to a plurality of dictionaries in the comparison processing Since the comparison is also performed with respect to the character strings (vicinity related words) associated with each other, it is possible to grasp the level of commonality or the like regarding the common character string.
本発明の第6の実施の形態は、さらに、
テキストデータから、意味識別可能な文字列を抽出し、抽出された文字列を、前記テキストデータに対応する辞書に記憶する文字列抽出ステップと、
複数の前記辞書を比較する比較処理を行い、比較結果を比較結果記憶手段に記憶する辞書比較ステップとを備え、
異なる前記辞書に対応付けられたテキストデータは、異なる収集条件によって収集されたテキストデータであり、
前記辞書比較ステップは、複数の前記辞書のうち少なくとも1つが更新された場合に、前記比較処理を行い、前記比較結果記憶手段に記憶された比較結果を自動的に更新するように構成された情報更新方法である。
このように構成すれば、上記本発明の情報更新装置と同様の作用効果を奏する情報更新方法を提供できる。In the sixth embodiment of the present invention, further,
A character string extraction step of extracting a character string that can be semantically identified from text data, and storing the extracted character string in a dictionary corresponding to the text data;
Performing a comparison process of comparing a plurality of the dictionaries, and storing a comparison result in comparison result storage means;
The text data associated with the different dictionary is text data collected by different collection conditions,
The dictionary comparison step is configured to perform the comparison process when at least one of the plurality of dictionaries is updated, and to automatically update the comparison result stored in the comparison result storage means. It is an update method.
According to this structure, it is possible to provide an information updating method having the same effects as the information updating device of the present invention.
本発明の第6の実施の形態は、さらに、
コンピュータに、
テキストデータから、意味識別可能な文字列を抽出し、抽出された文字列を、前記テキストデータに対応する辞書に記憶する文字列抽出手段、及び、
複数の前記辞書を比較する比較処理を行い、比較結果を比較結果記憶手段に記憶する辞書比較手段として機能させるプログラムであって、
異なる前記辞書に対応付けられたテキストデータは、異なる収集条件によって収集されたテキストデータであり、
さらに、前記辞書比較手段は、複数の前記辞書のうち少なくとも1つが更新された場合に、前記比較処理を行い、前記比較結果記憶手段に記憶された比較結果を自動的に更新するように構成される。
このように構成すれば、上記本発明の情報更新装置と同様の作用効果を奏するコンピュータで実行可能なプログラムを提供できる。In the sixth embodiment of the present invention, further,
On the computer
Character string extraction means for extracting a character string capable of semantic identification from text data and storing the extracted character string in a dictionary corresponding to the text data;
A program that performs a comparison process of comparing a plurality of the dictionaries, and causes the comparison result to be stored as comparison result storage means in the dictionary comparison means.
The text data associated with the different dictionary is text data collected by different collection conditions,
Furthermore, the dictionary comparison unit is configured to perform the comparison process when at least one of the plurality of dictionaries is updated, and to automatically update the comparison result stored in the comparison result storage unit. Ru.
According to this structure, it is possible to provide a computer-executable program having the same effects as the information updating apparatus of the present invention.
本発明の第1の実施の形態における効果は、
話題と会話の流れに合わせた自然な応答を実現することができるとともに、話題制御ルールの変更、追加、修正などの保守作業を別個に行うことができることである。また、話題そのものと、その話題に関連する複数の関連詞を表示することができるので、話題リストから得た話題をベースに、その話題から遷移して様々な話題のバリエーションを表示できる。The effect of the first embodiment of the present invention is
It is possible to realize natural responses to the flow of topics and conversations, and to separately perform maintenance operations such as change, addition, and correction of topic control rules. Further, since the topic itself and a plurality of related words related to the topic can be displayed, it is possible to display variations of various topics by transitioning from the topic based on the topic obtained from the topic list.
本発明の第2の実施の形態における効果は、
サーバの負担を軽くできかつネットワークのトラフィックを少なくできるとともに、複数のユーザの状態に応じて的確に応答し、かつユーザとの会話の流れに合わせて円滑に会話を進めることができることである。The effect of the second embodiment of the present invention is
The load on the server can be lightened, the traffic on the network can be reduced, and it is possible to respond appropriately according to the status of a plurality of users, and to proceed with conversation smoothly according to the flow of conversation with the user.
本発明の第3の実施の形態における効果は、
会話制御システムを利用する複数のユーザの各々に対してカスタムを施して応答することができるとともに、施したカスタムが適切であるか否かを事前に検証することができることである。The effect of the third embodiment of the present invention is
While being able to apply and respond to each of a plurality of users who use a conversation control system, it is possible to verify in advance whether the applied custom is appropriate.
本発明の第4の実施の形態における効果は、
情報検索システムを利用するユーザに対して、既知でない最新の話題を取得しうるキーワード(文字列)を提供することができることである。The effect of the fourth embodiment of the present invention is
It is possible to provide a user who uses the information search system with a keyword (character string) capable of acquiring an unknown latest topic.
本発明の第5の実施の形態における効果は、
本発明に係る文解析装置によって、テキストデータと照合するデータベースを用いることなく、当該テキストデータから重要な文字列を抽出することができ、これによって、形態素データベースのようなデータベースを予め作成したり、維持・管理したりする必要がなくなることである。また、形態素に基づいた文字列の把握を行わないため、重要な文字列を、例えば、語といった単位以外にも、いくつかの語を含んだ句、節、それ以外の文の一部といった柔軟な態様で把握することができる。The effect of the fifth embodiment of the present invention is
With the sentence analysis apparatus according to the present invention, important character strings can be extracted from the text data without using a database to be compared with the text data, whereby a database such as a morpheme database can be created in advance, It is not necessary to maintain and manage. Also, because it does not grasp strings based on morphemes, it is possible to make important strings flexible, for example, a phrase, a clause, or a part of a sentence other than a unit such as a word. Can be grasped in the following manner.
また、本発明に係る文解析装置によって、テキストデータから同じ文字列が検索され、その文字列の前後の隣接文字の異なり度合いが判定され、当該異なり度合いにより、文字列の重要性が判断されるため、データベースへのアクセスやデータベースに記憶された形態素群との比較処理が行われず、テキストデータから重要な文字列が高速に抽出される。 The same character string is searched from text data by the sentence analysis device according to the present invention, the degree of difference between adjacent characters before and after the character string is determined, and the importance of the character string is determined based on the degree of difference. Therefore, access to the database and comparison processing with morphemes stored in the database are not performed, and important character strings are extracted at high speed from the text data.
さらに、本発明に係る文解析装置によって、上述のような、文字列の前後の隣接文字の異なり度合いにより、文字列の重要性が判断されるため、解析ロジック等の再構築を行うことなく、日本語以外の言語にも容易に対応できる。 Furthermore, since the importance of the character string is judged by the sentence analysis device according to the present invention on the basis of the degree of difference between adjacent characters before and after the character string as described above, the analysis logic etc. are not reconstructed. It can easily cope with languages other than Japanese.
本発明の第6の実施の形態における効果は、
本発明に係る情報更新装置によって、異なる収集条件により収集されたテキストデータから、逐次分解テキストデータを自動的に抽出することができ、その結果、膨大なテキストデータから、最新の分解テキストデータ等を把握できることである。テキストデータには、ネットワーク上において個人によって頻繁に作成・更新されるデータだけでなく、所定の機関等において日々、作成・更新されるデータ等も含まれうる。また、分解テキストデータの抽出が自動的に行われることにより、当該分解テキストデータの定義や作成に関する労力を大きく軽減することができる。The effect of the sixth embodiment of the present invention is
The information updating apparatus according to the present invention can automatically extract sequentially resolved text data from text data collected under different collection conditions, and as a result, from the vast amount of text data, the latest resolved text data etc. It is something that can be grasped. Text data may include not only data that is frequently created and updated by individuals on the network, but also data that is created and updated daily at a predetermined institution or the like. In addition, the extraction of decomposed text data is automatically performed, so that it is possible to greatly reduce the effort for defining and creating the decomposed text data.
また、本発明に係る情報更新装置によって、異なる収集条件により収集されたテキストデータから、逐次分解テキストデータを自動的に抽出するとともに、こうして抽出された分解テキストデータを比較して、新たに出現した分解テキストデータを切り分けることができ、話題の把握等に関して価値の高い新規情報を瞬時に得ることができ、話題の変化を効果的に把握することがきる。また、消滅した分解テキストデータや再度出現した分解テキストデータなどを把握することもでき、これらの情報を必要とする多様なシステムに適用することができる。 Further, the information update device according to the present invention automatically extracts sequentially decomposed text data from text data collected under different collection conditions, and compares the extracted decomposed text data in this way to newly appear. Decomposition text data can be separated, new information with high value can be obtained instantaneously with regard to understanding of topics, etc., and changes in topics can be effectively grasped. In addition, it is possible to grasp the decomposed text data which has disappeared, the decomposed text data which has appeared again, and the like, and the present invention can be applied to various systems which require such information.
さらに、本発明に係る情報更新装置によって、テキストデータから分解テキストデータを抽出する際に、そのテキストデータから抽出された複数の分解テキストデータを意味のある集合としてとらえ、分解テキストデータの出現状況と分解テキストデータの上記集合(共起関係)を関連付けることによって、話題の変化をより効果的に把握することができる。 Furthermore, when decomposing text data is extracted from text data by the information updating apparatus according to the present invention, a plurality of decomposing text data extracted from the text data are regarded as a meaningful set, and appearance status of the decomposing text data By associating the above-mentioned set (co-occurrence relation) of the decomposed text data, the change of the topic can be grasped more effectively.
以下に、本実施の形態について図面に基づいて説明する。 Hereinafter, the present embodiment will be described based on the drawings.
図1は、話題提供システム1の概要を示す図である。図2は、会話制御端末装置2の概要を示す図である。図3は、保守装置3の概要を示す図である。
FIG. 1 is a diagram showing an overview of the
<<<話題提供システムの概要>>>
図1に示すように、本実施の形態による話題提供システム1の特徴は、
ユーザが入力情報を入力するための入力部と、
前記入力情報を分析して入力特定情報を生成する入力情報分析部と、
話題に関する応答情報を規定するためのシナリオデータを抽出するシナリオデータ記憶部と、
前記シナリオデータと前記入力特定情報とに基づいて前記応答情報を決定する応答情報決定部と、
前記応答情報決定部によって決定された応答情報を出力する出力部と、を備えることである。<<< Overview of topic provision system >>>
As shown in FIG. 1, the feature of the
An input unit for the user to input input information;
An input information analysis unit that analyzes the input information and generates input specific information;
A scenario data storage unit that extracts scenario data for defining response information on topics;
A response information determination unit that determines the response information based on the scenario data and the input identification information;
And an output unit that outputs the response information determined by the response information determination unit.
本実施の形態による話題提供システム1は、図1に示すように、主に、入力部と入力情報分析部とシナリオデータ記憶部と応答情報決定部と出力部とを備える。図1においては、これらの構成を実線の四角で示した。点線の四角で示した送信部と受信部と切替入力情報入力部とについては、後述する。図1において破線で囲んだ部分が、後述する図2に示す会話制御端末装置2の構成である。
The
入力部は、ユーザが入力情報を入力するための部材や部位である。入力部は、ユーザが所望する情報を入力情報として入力できるものであればよい。たとえば、入力部は、キーボードやタッチパネルやマイクロフォンやカメラなどがある。ユーザは、入力部からテキストデータや音声データや画像データなどを入力できる。入力部に入力された入力情報は、次に説明する入力情報分析部に供給される。入力情報は、後述する送信部を介して入力情報分析部に供給されるのが好ましい。 The input unit is a member or part for the user to input input information. The input part should just be what can input the information for which a user desires as input information. For example, the input unit includes a keyboard, a touch panel, a microphone, a camera, and the like. The user can input text data, voice data, image data and the like from the input unit. The input information input to the input unit is supplied to an input information analysis unit described below. The input information is preferably supplied to the input information analysis unit via a transmission unit described later.
入力情報分析部は、入力情報を分析して入力特定情報を生成する。入力特定情報は、入力情報に含まれる各種の情報を分析した結果、生成される情報である。たとえば、特定のキーワード(後述する関連詞など)が入力情報に含まれる数や頻度などの統計的な分析などがある。さらに、入力情報の分析により、ユーザが入力した質問などからユーザの意思や嗜好を分析することができる。さらに、他のユーザとの比較により相対的な分析結果も取得することができる。さらにまた、分析用辞書などのデータを予め生成しておき、分析用辞書によって、入力情報を分析することもできる。入力情報分析部は、生成した入力特定情報を後述する応答情報決定部に供給する。 The input information analysis unit analyzes the input information and generates input specific information. The input identification information is information generated as a result of analyzing various types of information included in the input information. For example, there is statistical analysis such as the number and frequency of specific information (such as related words described later) included in input information. Furthermore, analysis of the input information can analyze the intention and preference of the user from the question or the like input by the user. Furthermore, relative analysis results can also be obtained by comparison with other users. Furthermore, data such as an analysis dictionary can be generated in advance, and input information can be analyzed by the analysis dictionary. The input information analysis unit supplies the generated input identification information to a response information determination unit described later.
シナリオデータ記憶部は、シナリオデータを抽出するための部材や部位である。シナリオデータは、後述するシナリオデータ記憶部(複数のシナリオデータ)に予め記憶されているデータである。入力情報分析部によって生成された入力特定情報に基づいて必要であると判断されたシナリオデータが抽出されて、抽出されたシナリオデータがシナリオデータ記憶部に記憶される。シナリオデータ記憶部(複数のシナリオデータ)から抽出されたシナリオデータは、後述する受信部と応答情報決定部とを経てシナリオデータ記憶部に記憶される。 The scenario data storage unit is a member or part for extracting scenario data. The scenario data is data stored in advance in a scenario data storage unit (a plurality of scenario data) described later. The scenario data determined to be necessary based on the input identification information generated by the input information analysis unit is extracted, and the extracted scenario data is stored in the scenario data storage unit. The scenario data extracted from the scenario data storage unit (a plurality of scenario data) is stored in the scenario data storage unit via a reception unit described later and a response information determination unit.
シナリオデータは、ユーザに提供する話題に関する応答情報を規定するためデータである。すなわち、シナリオデータには、ユーザに提供するための話題の情報が含まれている。 The scenario data is data for defining response information on a topic provided to the user. That is, the scenario data includes topic information to be provided to the user.
さらに、シナリオデータには、複数の話題の情報からなる話題紹介リストも含まれる。話題紹介リストはユーザに提供される。ユーザは、提供された話題紹介リストに含まれる話題を選択することで、入力情報の入力の代替の情報にすることができる。ユーザは、選択操作で会話を進めることができるので、文字を入力する場合に比べて、ユーザの入力操作を簡素にすることができ、会話を円滑に進めることができる。 Furthermore, the scenario data also includes a topic introduction list consisting of information on a plurality of topics. The topic introduction list is provided to the user. The user can make an alternative to the input of the input information by selecting a topic included in the provided topic introduction list. Since the user can advance the conversation by the selection operation, the user's input operation can be simplified as compared with the case of inputting characters, and the conversation can be advanced smoothly.
また、話題紹介リストによって複数の話題をユーザに提供することができ、ユーザは、各種の話題を知得でき、興味の範囲を広げることができる。 Also, a plurality of topics can be provided to the user by the topic introduction list, the user can learn various topics, and the range of interest can be expanded.
さらに、シナリオデータは、ユーザに挨拶をするための情報を含むものが好ましい。単に、ユーザに話題を提供するための情報のみならず、挨拶をするための情報をシナリオデータに含めることにより、ユーザと挨拶をすることができ会話をより自然なものにすることができる。 Furthermore, the scenario data preferably includes information for greeting the user. By including not only information for providing topics to the user but also information for greetings in the scenario data, it is possible to greet the user and make the conversation more natural.
シナリオデータは、話題提供システム1の契約者がユーザに提供したい情報を含めて事前に作成しておくデータである。シナリオデータによって、ユーザに提供したい情報を規定することができる。
The scenario data is data that is created in advance including information that the contractor of the
さらに、シナリオデータは複数のステートメントからなる。ステートメントには、出力用情報や出力用コマンドや制御コマンドなどが含まれる。 Furthermore, scenario data consists of multiple statements. The statements include output information, output commands and control commands.
出力用情報は、出力部で出力される情報である。出力用情報には、話題の情報や挨拶の情報などが含まれる。話題の情報や挨拶の情報は、ユーザに提供してユーザとの会話を進めるための情報である。 The output information is information output by the output unit. The output information includes topic information, greeting information, and the like. The topic information and the greeting information are information provided to the user for promoting a conversation with the user.
出力用コマンドは、話題の情報や挨拶の情報を出力部に出力するとき、出力の仕様を制御するためのコマンドである。たとえば、画面を消去したり、改行したり、出力している時間を制御したり、所定の画像を表示したりするためのコマンドである。 The output command is a command for controlling the specification of an output when topic information or greeting information is output to the output unit. For example, it is a command for erasing the screen, line feed, controlling the output time, or displaying a predetermined image.
制御コマンドは、ステートメントを制御するための判断や、話題名(たとえば、テーマなど)を切り替えたり、状態制御指標を変更したりするためのコマンドである。特に、判断は、時間や時刻によって分岐させるための判断や、状態制御指標の内容によって、分岐させるための判断などがある。判断によって分岐させることによって、所定のステートメントに遷移させることができる。 The control command is a command for determining a statement control, switching a topic name (for example, a theme or the like), or changing a state control index. In particular, the judgment includes judgment for branching according to time and time, judgment for branching according to the contents of the state control index, and the like. By branching by judgment, it is possible to transition to a predetermined statement.
なお、本実施の形態では、ステートメントの各々を区別する必要がない場合には、ステートメントはシナリオデータと同義である。 In the present embodiment, the statements are synonymous with scenario data when it is not necessary to distinguish each of the statements.
なお、単一のステートメントに、出力用情報と出力用コマンドと制御コマンドとの全てを含める必要はない。たとえば、所定のステートメントを出力用情報のみで構成したり、出力用コマンドのみで構成したり、制御コマンドのみで構成したりすることができる。 Note that it is not necessary to include all of the output information, the output command, and the control command in a single statement. For example, a predetermined statement can be configured with only output information, can be configured with only output commands, or can be configured with only control commands.
このように、ステートメントには、単に、ユーザに提供する情報のみならず、各種のコマンドも含まれる。これにより、出力部において、話題の情報や挨拶の情報をさまざまな仕様で出力することができ、会話を自然にかつ円滑に進めることができる。 Thus, the statement includes not only the information to be provided to the user, but also various commands. As a result, in the output unit, topic information and greeting information can be output in various specifications, and conversation can be smoothly and smoothly progressed.
上述したように、シナリオデータ(ステートメント)には、出力用情報や出力用コマンドや制御コマンドなどが含まれている。出力用情報や出力用コマンドや制御コマンドを適宜規定することによって、話題制御ルールを構築することができる。特に、話題提供システム1の契約者がユーザに提供したい各種の情報(話題)をシナリオデータに含めることにより、契約者が所望する話題制御ルールを構築することができる。
As described above, the scenario data (statement) includes output information, an output command, a control command, and the like. Topic control rules can be constructed by appropriately defining output information, output commands, and control commands. In particular, by including various information (topics) which the contractor of the
シナリオデータは、契約者が提供したい情報について適宜規定すればよいので、話題提供システム1の全般に亘る高度かつ専門的な知識や技術に依存することなく、話題制御ルールの変更、追加、修正などの保守作業を別個に行うことができる。
The scenario data may be defined appropriately for the information that the contractor wants to provide, so that changes, additions, corrections, etc. to the topic control rules can be made without relying on advanced and specialized knowledge or technology over the
応答情報決定部は、応答情報を決定する。応答情報は、上述した入力情報分析部から供給されたシナリオデータと入力特定情報とに基づいて決定される。すなわち、ユーザが入力した入力情報を分析して得られた入力特定情報を用いて応答情報を決定する。したがって、シナリオデータによって話題提供システム1の契約者の意思を応答情報に反映させることができるとともに、入力特定情報によってユーザの意思を応答情報に反映させることができ、会話の主体の双方の意思を反省させて応答情報を生成することができる。話題提供システム1の契約者とユーザとのバランスを図って会話を円滑に進めることで自然な応答を実現することができる。
The response information determination unit determines response information. The response information is determined based on the scenario data supplied from the input information analysis unit described above and the input identification information. That is, response information is determined using the input identification information obtained by analyzing the input information input by the user. Therefore, the intention of the contractor of the
応答情報には、シナリオデータのステートメントが含められる。ステートメントに含まれるユーザに提供する出力用情報のみならず、出力用コマンドなどの各種のコマンドも応答情報に含めることができる。このようにすることで、話題の情報や挨拶の情報をさまざまな仕様で出力部から出力することができる。 The response information includes statements of scenario data. Not only the output information provided to the user included in the statement but also various commands such as output commands can be included in the response information. By doing this, it is possible to output topic information and greeting information from the output unit in various specifications.
出力部は、応答情報決定部によって決定された応答情報を出力する。ユーザは、出力部から出力された応答情報を認識することによって、話題が提供される。 The output unit outputs the response information determined by the response information determination unit. The user is provided with a topic by recognizing the response information output from the output unit.
このように、本実施の形態による話題提供システム1は、出力部に出力される応答情報によってユーザに各種の話題を提供することができる。すなわち、本実施の形態による話題提供システム1は、入力情報から入力特定情報を生成し、シナリオデータと入力特定情報とから応答情報を決定し、応答情報の出力によってユーザに各種の話題を提供する。
Thus, the
本実施の形態による話題提供システム1は、シナリオデータ(たとえば、後述するステートメントや話題紹介リストなど)と、入力情報分析部によって分析された入力特定情報とによって応答情報を決定するので、話題と会話の流れとに合わせた自然な応答を実現することができる。
The
さらに、シナリオデータに基づいて話題に関する応答情報を規定することができるので、話題制御システムの全般に亘る高度かつ専門的な知識や技術に依存することなく、話題制御ルールの変更、追加、修正などの保守作業を別個に行うことができる。 Furthermore, since response information on topics can be defined based on scenario data, changes, additions, modifications, etc. to topic control rules can be made without relying on advanced and specialized knowledge and techniques across topic control systems in general. Maintenance work can be performed separately.
さらに、図1に示すように、本実施の形態による話題提供システム1の特徴は、
前記入力情報及び前記応答情報に関する状態制御指標を記憶する状態制御指標記憶部をさらに備え、
前記応答情報決定部は、前記シナリオデータ及び前記入力特定情報のほかに前記状態制御指標を加えて前記応答情報を決定することである。Furthermore, as shown in FIG. 1, the feature of the
The apparatus further comprises a state control index storage unit that stores a state control index related to the input information and the response information,
The response information determination unit determines the response information by adding the state control index in addition to the scenario data and the input identification information.
話題提供システム1は、状態制御指標記憶部を備える。状態制御指標記憶部は、状態制御指標を記憶する。状態制御指標は、入力情報と応答情報とに関する指標である。状態制御指標は、主に会話の履歴に基づく指標であり、さらには、会話の履歴に基づいて判別できるユーザの感情や性格なども示す指標である。たとえば、ユーザが過去に入力した入力情報に基づいて定められる指標や、過去にユーザに提供した応答情報に基づいて定められる指標などがある。さらに、過去にユーザに提供した応答情報に対するユーザの入力から得られるユーザの感情や性格などを示す指標などもある。
The
応答情報決定部は、シナリオデータ及び入力特定情報のほかに状態制御指標を加えて応答情報を決定する。このように、状態制御指標も用いて応答情報を決定するので、ユーザとの過去の会話や、会話から得られたユーザの感情や性格なども踏まえて話題を提供したり会話を進めたりすることができる。したがって、同じ話題を重複してユーザに提供したり、飛躍した話題をユーザに提供したりすることを防止でき、ユーザの感情や性格などにあわせた円滑な会話を進めることができる。 The response information determination unit determines response information by adding a state control index in addition to the scenario data and the input identification information. As described above, since the response information is determined using the state control index, providing a topic or advancing the conversation based on the past conversation with the user, the user's emotion or character obtained from the conversation, etc. Can. Therefore, it is possible to prevent the same topic from being provided redundantly to the user or to provide the leaped topic to the user, and it is possible to advance a smooth conversation in accordance with the user's emotion or personality.
本実施の形態において、状態制御指標記憶部は、会話制御端末装置2に備えられている。状態制御指標は、応答情報決定部によって決定されたり変更されたりするのが好ましい。状態制御指標は、シナリオデータと入力特定情報とに基づいて応答情報決定部によって決定されるのが好ましい。
In the present embodiment, the state control index storage unit is provided in the conversation control
本実施の形態による話題提供システム1は、シナリオデータ及び入力特定情報のほかに状態制御指標を使って応答情報を決定するので、より話題と会話の流れとに合わせた自然な応答を実現することができる。
The
さらにまた、図1に示すように、本実施の形態による話題提供システム1の特徴は、
前記シナリオデータは、異なる話題への遷移を規定する情報(たとえば、後述する話題切替情報など)を含み、
前記異なる話題への遷移を規定する情報に応じて、現在の話題に関する応答情報を規定するためのシナリオデータから、異なる話題に関する応答情報を規定するためのシナリオデータへ、シナリオデータを切り替える話題切替部を、さらに備えることである。Furthermore, as shown in FIG. 1, the feature of the
The scenario data includes information (for example, topic switching information to be described later) defining transition to a different topic,
A topic switching unit that switches scenario data from scenario data for defining response information on the current topic to scenario data for defining response information on the different topic according to the information defining the transition to the different topic. To further provide.
本実施の形態では、話題切替部は、切替入力情報入力部と入力情報分析部とを含む。話題切替部は、シナリオデータ及び入力特定情報に基づいて、シナリオデータを切り替えるか否かを判断する。具体的には、状態制御指標に基づいてシナリオデータを切り替えるのが好ましい。切替入力情報入力部は、話題切替入力情報が後述する送信部に送信され、入力情報分析部に供給される。入力情報分析部は、入力情報のほかに話題切替入力情報にも基づいて、シナリオデータ記憶部(複数のシナリオデータ)に記憶されているシナリオデータを抽出する。 In the present embodiment, the topic switching unit includes a switching input information input unit and an input information analysis unit. The topic switching unit determines, based on the scenario data and the input identification information, whether to switch the scenario data. Specifically, it is preferable to switch scenario data based on the state control index. In the switching input information input unit, the topic switching input information is transmitted to the transmission unit described later, and is supplied to the input information analysis unit. The input information analysis unit extracts scenario data stored in the scenario data storage unit (a plurality of scenario data) based on the topic switching input information as well as the input information.
シナリオデータは、異なる話題(話題名)への遷移を規定する情報を含む。話題切替部は、シナリオデータを切り替える。この切り替えは、現在の話題に関する応答情報を規定するためのシナリオデータから、異なる話題に関する応答情報を規定するためのシナリオデータへ切り替えるものである。 The scenario data includes information defining transition to different topics (topic names). The topic switching unit switches scenario data. This switching is to switch from scenario data for defining response information on the current topic to scenario data for defining response information on a different topic.
たとえば、サーバなどに全てのシナリオデータを記憶させておき、異なる話題への遷移を規定する情報に基づいてサーバの全てのシナリオデータから組み替え直したシナリオデータを生成し、組み替え直されたシナリオデータがシナリオデータ記憶部に記憶される。このシナリオデータの組み替えは、複数のステートメントの組み合せを話題名に応じて定めることで実行できる。 For example, all scenario data is stored in a server or the like, scenario data reassembled from all scenario data of the server is generated based on information defining transition to different topics, and scenario data reorganized is It is stored in the scenario data storage unit. This rearrangement of scenario data can be performed by determining a combination of a plurality of statements according to the topic name.
したがって、ユーザとの会話で一の話題から他の話題に移った場合も、異なる話題への遷移を規定する情報にしたがって他の話題に遷移させることができ、あらゆる話題に対応することができ、様々なユーザに対応することができる。組み替えたシナリオデータによって他の話題をユーザに提供することができる。 Therefore, even when the user's conversation with the user makes a transition from one topic to another, transition to another topic can be made according to the information defining transition to a different topic, and all topics can be handled, It can correspond to various users. Other topics can be provided to the user by the rearranged scenario data.
また、話題ごと(話題名)にシナリオデータを準備すればよいので、シナリオデータの保守が容易になる。具体的には、シナリオデータに変更が必要になった場合には、そのシナリオデータのみを修正すればよい。また、新たな話題が必要になった場合には、そのシナリオデータのみを追加すればよい。さらに、古い話題となって必要でなくなった場合には、そのシナリオデータのみを削除すればよい。 Also, since scenario data may be prepared for each topic (topic name), maintenance of scenario data is facilitated. Specifically, when the scenario data needs to be changed, it is sufficient to correct only the scenario data. Also, when a new topic is needed, it is sufficient to add only that scenario data. Furthermore, when the old topic is no longer needed, only the scenario data may be deleted.
シナリオデータは、契約者が提供したい情報について、話題ごと(話題名)に適宜規定すればよいので、話題が増えた場合であっても、話題提供システム1の全般に亘る高度かつ専門的な知識や技術に依存することなく、話題制御ルールの変更、追加、修正などの保守作業を話題ごとに行うことができる。
The scenario data may be defined appropriately for each topic (topic name) about the information that the contractor wants to provide, so even if the number of topics increases, advanced and specialized knowledge over the entire
異なる話題への遷移を規定する情報を有するので、このようなシナリオデータの更新があった場合でも、シナリオデータの遷移の整合を容易に図ることができる。 Since the information defining the transition to a different topic is included, even when such scenario data is updated, it is possible to easily match the transition of the scenario data.
たとえば、状態制御指標のうち、後述する性格指標に基づいて話題を切り替えるか否かを判断するのが好ましい。性格指標は、ユーザが、話題に対して積極的であるのか又は消極的であるのかを示す指標である。 For example, it is preferable to determine whether or not to switch topics based on a character index, which will be described later, among the state control indicators. The character index is an index indicating whether the user is positive or negative with respect to the topic.
本実施の形態による話題提供システム1は、シナリオデータを使って話題を切り替えることができるので、話題と会話との流れに合わせた自然な応答を実現することができる。
Since the
図1において点線の四角で示した送信部と受信部と切替入力情報入力部とについて説明する。本実施の形態による話題提供システム1は、これらの送信部と受信部と切替入力情報入力部とを備えることができる。
The transmission unit, the reception unit, and the switching input information input unit, which are shown by the dotted square in FIG. 1, will be described. The
また、図1に示した送信部は、入力情報を外部に送信するための装置や部材である。入力情報を外部に送信するものであればよい。外部は、たとえば、サーバや、会話制御端末装置2などにすることができる。
Further, the transmission unit shown in FIG. 1 is an apparatus or a member for transmitting input information to the outside. The input information may be transmitted to the outside. The outside can be, for example, a server, the
さらに、図1に示した受信部は入力特定情報を受信するための装置や部材である。入力特定情報は、外部で生成される。すなわち、受信部は、外部で生成された入力特定情報を受信する装置や部材である。外部では、送信部から送信された入力情報を分析して入力特定情報を生成し、生成された入力特定情報は受信部に送信される。 Furthermore, the receiving unit shown in FIG. 1 is an apparatus or a member for receiving input identification information. The input specific information is generated externally. That is, the receiving unit is an apparatus or a member that receives externally generated input identification information. The outside analyzes the input information transmitted from the transmission unit to generate input identification information, and the generated input identification information is transmitted to the reception unit.
さらにまた、図1に示した切替入力情報入力部は、異なる話題への遷移を規定する情報に応じて話題切替入力情報(たとえば、後述する性格指標など)を生成する。異なる話題への遷移を規定する情報は、シナリオデータに含まれる情報であり、たとえば、後述する話題切替情報などがある。 Furthermore, the switching input information input unit illustrated in FIG. 1 generates topic switching input information (for example, a character index or the like to be described later) according to the information that defines the transition to a different topic. The information defining the transition to a different topic is the information included in the scenario data, for example, topic switching information described later.
上述した話題切替部は、入力情報分析部と切替入力情報入力部とを含むのが好ましい。入力情報に基づいて、話題切替入力情報を生成するので、ユーザの意思を反映させた話題に遷移させることができる。 Preferably, the topic switching unit described above includes an input information analysis unit and a switching input information input unit. Since the topic switching input information is generated based on the input information, it is possible to make transition to a topic that reflects the user's intention.
また、図1に示したシナリオデータ記憶部(複数のシナリオデータ)は、複数のシナリオデータを記憶する。ここで、複数のシナリオデータは、ユーザと会話をするために必要な話題名に対応する全てのシナリオデータである。全てのシナリオデータのうち、入力特定情報に基づいて必要であると判断されたシナリオデータが抽出される。 The scenario data storage unit (a plurality of scenario data) illustrated in FIG. 1 stores a plurality of scenario data. Here, the plurality of scenario data are all scenario data corresponding to a topic name required to have a conversation with the user. Among all scenario data, scenario data determined to be necessary based on input specific information is extracted.
<<<会話制御端末装置2の概要>>>
図2に示すように、本実施の形態による会話制御端末装置2の特徴は、
ユーザが入力情報を入力するための入力部と、
話題に関する応答情報を規定するためのシナリオデータを記憶するシナリオデータ記憶部と、
前記入力情報及び前記応答情報に関する状態制御指標を記憶する状態制御指標記憶部と、
前記シナリオデータと前記状態制御指標とに基づいて前記応答情報を決定する応答情報決定部と、
前記応答情報決定部によって決定された応答情報を出力する出力部と、を備えることである。<<< Overview of Conversation
As shown in FIG. 2, the features of the conversation control
An input unit for the user to input input information;
A scenario data storage unit for storing scenario data for defining response information on topics;
A state control indicator storage unit that stores state control indicators related to the input information and the response information;
A response information determination unit that determines the response information based on the scenario data and the state control index;
And an output unit that outputs the response information determined by the response information determination unit.
本実施の形態による会話制御端末装置2は、図2に示すように、主に、入力部とシナリオデータ記憶部と状態制御指標記憶部と応答情報決定部と出力部とを備える。図2においては、これらの構成を実線の四角で示した。図2において大きく破線で囲んだ部分が、会話制御端末装置2の構成である。なお、点線の四角で示したシナリオデータ記憶部(複数のシナリオデータ)と入力情報分析部とは、話題提供サーバ4に含まれる構成である。
As shown in FIG. 2, the conversation control
入力部は、本実施の形態による話題提供システム1の入力部と同様に、ユーザが入力情報を入力するための部材や部位である。入力部は、ユーザが所望する情報を入力情報として入力できるものであればよい。たとえば、入力部は、キーボードやタッチパネルやマイクロフォンやカメラなどがある。ユーザは、入力部からテキストデータや音声データや画像データなどを入力できる。入力部に入力された入力情報は、次に説明する入力情報分析部に供給される。入力情報は、後述する送信部を介して入力情報分析部に供給されるのが好ましい。
The input unit is, like the input unit of the
シナリオデータ記憶部は、シナリオデータを記憶するための部材や部位である。シナリオデータは、図2に示す話題提供サーバ4のシナリオデータ記憶部(複数のシナリオデータ)に予め記憶されているデータである。入力情報分析部によって生成された入力特定情報に基づいて必要であると判断されたシナリオデータが抽出されて、抽出されたシナリオデータがシナリオデータ記憶部に記憶される。シナリオデータ記憶部(複数のシナリオデータ)から抽出されたシナリオデータは、後述する受信部と応答情報決定部とを経てシナリオデータ記憶部に記憶される。
The scenario data storage unit is a member or part for storing scenario data. The scenario data is data stored in advance in a scenario data storage unit (a plurality of scenario data) of the
シナリオデータは、ユーザに提供する話題に関する応答情報を規定するためデータである。シナリオデータには、ユーザに提供するための話題の情報が含まれている。なお、会話制御端末装置2で用いるシナリオデータの構成や機能などについては、本実施の形態による話題提供システム1のシナリオデータと同じである。
The scenario data is data for defining response information on a topic provided to the user. The scenario data includes topic information to be provided to the user. The configuration, function, etc. of scenario data used in the conversation control
本実施の形態による会話制御端末装置2は、状態制御指標記憶部を備える。状態制御指標記憶部は、状態制御指標を記憶する。状態制御指標は、主に会話の履歴に基づく指標であり、さらには、会話の履歴に基づいて導くことができるユーザの感情や性格なども示す指標である。たとえば、ユーザが過去に入力した入力情報に基づいて定められる指標や、過去にユーザに提供した応答情報に基づいて定められる指標などがある。さらに、過去にユーザに提供した応答情報に対するユーザの入力から導くことができるユーザの感情や性格なども示す指標などもある。
The conversation control
このように、本実施の形態においては、会話制御端末装置2が状態制御指標記憶部を備える。すなわち、会話制御端末装置2の外部、たとえば、話題提供サーバ4などが状態制御指標記憶部を備える構成ではない。したがって、本実施の形態では、話題提供サーバ4などの外部の装置によって、ユーザとの会話が制御されるのではなく、会話制御端末装置2によってユーザとの会話が制御される。
As described above, in the present embodiment, the conversation control
応答情報決定部は、話題提供サーバ4の入力情報分析部から供給されたシナリオデータと状態制御指標とに基づいて応答情報を決定する。シナリオデータによって話題提供システム1の契約者の意思を応答情報に反映させることができる。
The response information determination unit determines response information based on the scenario data and the state control index supplied from the input information analysis unit of the
応答情報には、シナリオデータのステートメントが含められる。ステートメントに含まれるユーザに提供する出力用情報のみならず、出力用コマンドなどの各種のコマンドも応答情報に含めることができる。このようにすることで、話題の情報や挨拶の情報をさまざまな仕様で出力部から出力することができる。 The response information includes statements of scenario data. Not only the output information provided to the user included in the statement but also various commands such as output commands can be included in the response information. By doing this, it is possible to output topic information and greeting information from the output unit in various specifications.
さらに、状態制御指標を用いて応答情報を決定するので、ユーザとの過去の会話や、会話から得られたユーザの感情や性格なども踏まえて話題を提供したり会話を進めたりすることができる。したがって、同じ話題を重複してユーザに提供したり、飛躍した話題をユーザに提供したりすることを防止でき、より円滑な会話を進めることで自然な応答を実現することができる。 Furthermore, since the response information is determined using the state control index, it is possible to provide a topic or to advance the conversation based on the past conversation with the user, the user's emotion or personality obtained from the conversation, etc. . Therefore, it is possible to prevent the same topic from being provided redundantly to the user or providing a leaping topic to the user, and a natural response can be realized by advancing a smoother conversation.
状態制御指標は、応答情報決定部によって決定されたり変更されたりするのが好ましい。状態制御指標は、シナリオデータと入力特定情報とに基づいて応答情報決定部によって決定されるのが好ましい。 The state control indicator is preferably determined or changed by the response information determination unit. The state control index is preferably determined by the response information determination unit based on the scenario data and the input identification information.
出力部は、応答情報決定部によって決定された応答情報を出力する。ユーザは、出力部から出力された応答情報を認識することによって、話題が提供される。 The output unit outputs the response information determined by the response information determination unit. The user is provided with a topic by recognizing the response information output from the output unit.
本実施の形態による会話制御端末装置2は、会話制御端末装置2にシナリオデータ記憶部と状態制御指標記憶部との双方を設けて応答情報を決定するので、ユーザとの会話が可能であるか否かを会話制御端末装置2で判断して制御でき、会話制御端末装置2における処理の負担を著しく増加させることなく、かつ、サーバの負担も増加させることなく、さらに、ネットワークのトラフィックも増加させることなく、ユーザとの会話の流れに合わせて円滑に会話を進めることができる。
Since the conversation control
さらに、本実施の形態による会話制御端末装置2は、シナリオデータと状態制御指標とに基づいて応答情報を決定するので、ユーザとの会話の進行状態に応じて応答情報を決定でき、サーバの負担を増大させることなく、ユーザの状態に応じて的確に応答することができる。
Furthermore, since the conversation control
さらに、図2に示すように、本実施の形態による会話制御端末装置2の特徴は、
前記入力情報を外部に送信する送信部と、
送信された入力情報を分析して生成された入力特定情報を受信する受信部と、をさらに備え、
前記応答情報決定部は、前記シナリオデータ及び前記状態制御指標に前記入力特定情報を加えて前記応答情報を決定することである。Furthermore, as shown in FIG. 2, the features of the conversation control
A transmitter for transmitting the input information to the outside;
A receiving unit that analyzes the transmitted input information and receives generated input identification information;
The response information determination unit determines the response information by adding the input specifying information to the scenario data and the state control index.
本実施の形態による会話制御端末装置2は、送信部と受信部とをさらに備える。
Conversation
送信部は、入力情報を外部に送信する。入力情報を会話制御端末装置2の外部に送信するものであればよい。外部は、たとえば、サーバや、他の会話制御端末装置2などにすることができる。
The transmitter transmits the input information to the outside. The input information may be transmitted to the outside of the conversation control
受信部は、入力特定情報を受信する。入力特定情報は、会話制御端末装置2の外部で生成される。すなわち、受信部は、会話制御端末装置2の外部で生成された入力特定情報を受信する装置や部材である。会話制御端末装置2の外部では、送信部から送信された入力情報を分析して入力特定情報を生成し、生成された入力特定情報は、会話制御端末装置2の受信部に送信される。
The receiving unit receives the input identification information. The input identification information is generated outside the conversation control
応答情報決定部は、シナリオデータ及び状態制御指標に入力特定情報を加えて応答情報を決定する。ユーザが入力した入力情報を分析して得られた入力特定情報も含めて応答情報を決定する。したがって、シナリオデータによって話題提供システム1の契約者の意思を応答情報に反映させることができるとともに、入力特定情報によってユーザの意思を応答情報に反映させることができ、会話の主体の双方の意思を反省させて応答情報を生成することができる。話題提供システム1の契約者とユーザとのバランスを図って会話を円滑に進めることで自然な応答を実現することができる。
The response information determination unit determines response information by adding the input identification information to the scenario data and the state control index. The response information is determined including the input specific information obtained by analyzing the input information input by the user. Therefore, the intention of the contractor of the
本実施の形態による会話制御端末装置2は、入力特定情報を加えて応答情報を決定するので、サーバなどの外部で分析した結果である入力特定情報を含めて応答情報を決定でき、ユーザとの会話の流れに合わせて円滑に会話を進めることができる。
Since the conversation control
さらにまた、図2に示すように、本実施の形態による会話制御端末装置2の特徴は、
前記受信部は前記入力情報に基づいて抽出されたシナリオデータを受信し、
前記シナリオデータ記憶部は受信したシナリオデータを記憶することである。Furthermore, as shown in FIG. 2, the features of the conversation control
The receiving unit receives scenario data extracted based on the input information;
The scenario data storage unit stores the received scenario data.
本実施の形態による会話制御端末装置2の受信部は、入力情報に基づいて抽出されたシナリオデータを受信する。すなわち、シナリオデータは、会話制御端末装置2の外部で抽出される。会話制御端末装置2の外部に送信された入力情報に基づき、会話制御端末装置2の外部において、入力情報に基づいてシナリオデータは抽出される。抽出されたシナリオデータは、会話制御端末装置2の受信部に送信される。
The receiving unit of the conversation control
シナリオデータ記憶部は、会話制御端末装置2の受信部で受信したシナリオデータを記憶する。上述したように、会話制御端末装置2で用いるシナリオデータの構成や機能などについては、本実施の形態による話題提供システム1のシナリオデータと同じである。
The scenario data storage unit stores scenario data received by the reception unit of the conversation control
本実施の形態による会話制御端末装置2は、入力情報に基づいて抽出されたシナリオデータを受信するので、ユーザが入力した入力情報に基づいてシナリオデータを切り替えていくことができ、ユーザとの会話の流れに合わせて円滑に会話を進めることができる。
Since the conversation control
さらに、図2に示すように、本実施の形態による会話制御端末装置2の特徴は、
前記シナリオデータは、異なる話題への遷移を規定する情報(たとえば、後述する話題切替情報など)を含み、
前記異なる話題への遷移を規定する情報に応じて話題切替入力情報(たとえば、後述する性格指標など)を生成する切替入力情報入力部を備え、
前記送信部は、前記話題切替入力情報を外部に送信し、
前記受信部は、前記話題切替入力情報に基づいたシナリオデータを受信することである。Furthermore, as shown in FIG. 2, the features of the conversation control
The scenario data includes information (for example, topic switching information to be described later) defining transition to a different topic,
A switching input information input unit configured to generate topic switching input information (for example, a character index to be described later, etc.) according to the information defining the transition to the different topics;
The transmission unit transmits the topic switching input information to the outside.
The receiving unit is to receive scenario data based on the topic switching input information.
本実施の形態による会話制御端末装置2で用いるシナリオデータは、異なる話題への遷移を規定する情報を含む。
The scenario data used in the conversation control
本実施の形態による会話制御端末装置2は、切替入力情報入力部を備える。切替入力情報入力部は、異なる話題への遷移を規定する情報に応じて話題切替入力情報を生成する。異なる話題への遷移を規定する情報は、たとえば、後述するステートメントの要素である話題切替情報などがある。また、話題切替入力情報は、たとえば、後述する性格指標などがある。
Conversation
切替入力情報入力部は、シナリオデータ及び入力特定情報に基づいて、シナリオデータを切り替えるか否かを判断する。具体的には、状態制御指標に基づいてシナリオデータを切り替えるのが好ましい。切替入力情報入力部は、話題切替入力情報が送信部に送信され、入力情報分析部に供給される。入力情報分析部は、入力情報のほかに話題切替入力情報にも基づいて、話題提供サーバ4のシナリオデータ記憶部(複数のシナリオデータ)に記憶されているシナリオデータを抽出する。
The switch input information input unit determines whether to switch scenario data based on the scenario data and the input identification information. Specifically, it is preferable to switch scenario data based on the state control index. In the switching input information input unit, the topic switching input information is transmitted to the transmitting unit, and is supplied to the input information analysis unit. The input information analysis unit extracts scenario data stored in the scenario data storage unit (a plurality of scenario data) of the
さらに、本実施の形態による会話制御端末装置2の送信部は、話題切替入力情報を外部に送信する。また、受信部は、話題切替入力情報に基づいたシナリオデータを受信する。
Furthermore, the transmission unit of the conversation control
現在の話題に関する応答情報を規定するためのシナリオデータから、異なる話題に関する応答情報を規定するためのシナリオデータへ切り替えることができる。 The scenario data for defining response information on the current topic can be switched to scenario data for defining response information on different topics.
たとえば、サーバなどに全てのシナリオデータを記憶させておき、話題切替入力情報に基づいてサーバの全てのシナリオデータから組み替え直したシナリオデータを生成し、組み替え直されたシナリオデータが会話制御端末装置2のシナリオデータ記憶部に記憶される。
For example, all scenario data is stored in a server or the like, scenario data reassembled from all scenario data of the server is generated based on topic switching input information, and scenario data reclassified is the conversation control
したがって、ユーザとの会話で一の話題から他の話題に移った場合も、異なる話題への遷移を規定する情報にしたがって他の話題に遷移させることができ、あらゆる話題に対応することができ、様々なユーザに対応することができる。 Therefore, even when the user's conversation with the user makes a transition from one topic to another, transition to another topic can be made according to the information defining transition to a different topic, and all topics can be handled, It can correspond to various users.
また、話題ごと(話題名)にシナリオデータを準備すればよいので、シナリオデータの保守が容易になる。具体的には、シナリオデータに変更が必要になった場合には、そのシナリオデータのみを修正すればよい。また、新たな話題が必要になった場合には、そのシナリオデータのみを追加すればよい。さらに、古い話題となって必要でなくなった場合には、そのシナリオデータのみを削除すればよい。 Also, since scenario data may be prepared for each topic (topic name), maintenance of scenario data is facilitated. Specifically, when the scenario data needs to be changed, it is sufficient to correct only the scenario data. Also, when a new topic is needed, it is sufficient to add only that scenario data. Furthermore, when the old topic is no longer needed, only the scenario data may be deleted.
状態制御指標のうち、後述する性格指標に基づいて話題を切り替えるか否かを判断するのが好ましい。性格指標は、ユーザが、話題に対して積極的であるのか又は消極的であるのかを示す指標である。 Of the state control indicators, it is preferable to determine whether to switch topics based on a character indicator to be described later. The character index is an index indicating whether the user is positive or negative with respect to the topic.
本実施の形態による会話制御端末装置2によれば、状態制御指標とシナリオデータとに基づいて話題を切り替えることができるので、ユーザとの会話の状態を見ながら話題を切り替ることができ、ユーザとの会話の流れに合わせて円滑に会話を進めることができる。
According to the conversation control
図2に示した入力情報分析部は、入力情報を分析して入力特定情報を生成する。入力特定情報は、入力情報に含まれる各種の情報を分析した結果、生成される情報である。たとえば、特定のキーワード(後述する関連詞など)が入力情報に含まれる数や頻度などの統計的な分析などがある。 The input information analysis unit illustrated in FIG. 2 analyzes the input information and generates input identification information. The input identification information is information generated as a result of analyzing various types of information included in the input information. For example, there is statistical analysis such as the number and frequency of specific information (such as related words described later) included in input information.
また、図2に示したシナリオデータ記憶部(複数のシナリオデータ)は、複数のシナリオデータを記憶する。ここで、複数のシナリオデータは、ユーザと会話をするために必要な話題名に対応する全てのシナリオデータである。全てのシナリオデータのうち、入力特定情報に基づいて必要であると判断されたシナリオデータが抽出される。 The scenario data storage unit (a plurality of scenario data) illustrated in FIG. 2 stores a plurality of scenario data. Here, the plurality of scenario data are all scenario data corresponding to a topic name required to have a conversation with the user. Among all scenario data, scenario data determined to be necessary based on input specific information is extracted.
<<<保守装置3の概要>>>
図3に示すように、本実施の形態による保守装置3の特徴は、
ユーザが入力する入力情報を分析することによって生成された入力特定情報に基づいて話題に関わる応答情報を規定するためのシナリオデータを記憶するシナリオデータ記憶部と、
前記入力特定情報を受信する受信部と、
前記シナリオデータを編集可能にするためのシナリオデータ編集部と、
前記受信部で受信した入力特定情報に基づいて編集したシナリオデータの応答を検証可能にするシナリオデータ検証部と、
編集したシナリオデータを外部に送信するシナリオデータ送信部と、を備えることである。<<< Overview of
As shown in FIG. 3, the feature of the
A scenario data storage unit that stores scenario data for defining response information related to a topic based on input specific information generated by analyzing input information input by a user;
A receiving unit that receives the input identification information;
A scenario data editing unit for making the scenario data editable;
A scenario data verification unit that makes it possible to verify the response of the edited scenario data based on the input identification information received by the reception unit;
And a scenario data transmitting unit for transmitting the edited scenario data to the outside.
本実施の形態による保守装置3は、図3に示すように、主に、シナリオデータ記憶部と受信部とシナリオデータ編集部とシナリオデータ検証部とシナリオデータ送信部とを備える。図3においては、これらの構成を実線の四角で示した。なお、点線の四角で示したシナリオデータ記憶部(複数のシナリオデータ)と入力情報分析部とは、話題提供サーバ4(図2参照)に含まれる構成である。図3に示すように、シナリオデータ検証部に状態制御指標記憶部を加えたものが、後述する端末装置仮想構築部を構成する。これらの構成の間で授受される情報は、上述した話題提供システム1や会話制御端末装置2と同様である。
As shown in FIG. 3, the
上述した話題提供システム1や会話制御端末装置2は、主として、一般のユーザが会話制御端末装置2と会話をするためのものである。これに対して、保守装置3は、主として、話題提供システム1の契約者が使用するものであり、一般のユーザに話題を提供するためのシナリオデータの保守を話題提供システム1の契約者が行うための装置である。保守装置3は、このような相違があるが、図3において、話題提供システム1や会話制御端末装置2と同様の機能を有し同様のデータを用いる構成には、同じ名称を付した。
The
この保守装置3におけるシナリオデータ記憶部及び受信部は、上述した話題提供システム1や会話制御端末装置2におけるシナリオデータ記憶部及び受信部と機能的に実質的に同じものである。話題提供システム1や会話制御端末装置2と同じものにすることができる。たとえば、ユーザが使用すると想定される会話制御端末装置2に保守装置3のシナリオデータ記憶部及び受信部を実装してもよい。さらに、後述するように、保守装置3において会話制御端末装置2を仮想的に構築し、仮想的な会話制御端末装置2のシナリオデータ記憶部及び受信部としてもよい。
The scenario data storage unit and the reception unit in the
シナリオデータ記憶部は、シナリオデータを記憶するための部材や部位である。シナリオデータは、話題提供サーバ4(図2参照)のシナリオデータ記憶部(複数のシナリオデータ)に予め記憶されているデータである。入力情報分析部によって生成された入力特定情報に基づいて必要であると判断されたシナリオデータが抽出されて、抽出されたシナリオデータがシナリオデータ記憶部に記憶される。シナリオデータ記憶部(複数のシナリオデータ)から抽出されたシナリオデータは、後述する受信部と応答情報決定部とを経てシナリオデータ記憶部に記憶される。 The scenario data storage unit is a member or part for storing scenario data. The scenario data is data stored in advance in a scenario data storage unit (a plurality of scenario data) of the topic providing server 4 (see FIG. 2). The scenario data determined to be necessary based on the input identification information generated by the input information analysis unit is extracted, and the extracted scenario data is stored in the scenario data storage unit. The scenario data extracted from the scenario data storage unit (a plurality of scenario data) is stored in the scenario data storage unit via a reception unit described later and a response information determination unit.
シナリオデータは、入力特定情報に基づいて話題に関わる応答情報を規定するためのデータである。入力特定情報は、入力情報を分析することによって生成された情報である。入力情報は、たとえば、会話制御端末装置2においてユーザが入力する情報である。
The scenario data is data for defining response information related to a topic based on input specific information. The input specific information is information generated by analyzing the input information. The input information is, for example, information input by the user in the conversation control
なお、上述したように、保守装置3は、主として、話題提供システム1の契約者が使用するものである。この保守装置3においては、入力情報は、仮想的にユーザが入力した情報とすることができる。保守装置3は、ユーザに対してシナリオデータを利用可能にする前にシナリオデータを検証するためのものである。したがって、ここでのユーザは、仮想的なユーザでよく、また、実際のユーザが入力するであろうと想定される情報を入力情報とすればよい。したがって、想定される様々な入力情報を用いて入力特定情報を生成し、後述するシナリオデータ検証部によってシナリオデータの応答を検証することができる。
As described above, the
シナリオデータには、ユーザに提供するための話題の情報が含まれている。保守装置3で用いるシナリオデータの構成や機能などについては、上述した本実施の形態による話題提供システム1のシナリオデータや、会話制御端末装置2のシナリオデータと同じである。
The scenario data includes topic information to be provided to the user. The configuration, functions, and the like of scenario data used in the
なお、シナリオデータの構成や機能などについては、話題提供システム1や会話制御端末装置2におけるシナリオデータと同じではあるが、上述したように、保守装置3は、ユーザに対してシナリオデータを利用可能にする前にシナリオデータを検証するためのものである。したがって、保守装置3が対象とするシナリオデータは、検証するためのシナリオデータであり、ユーザに対してシナリオデータを利用可能にする前のデータである。
Although the configuration and functions of scenario data are the same as scenario data in
受信部は、入力特定情報を受信する。入力特定情報は、保守装置3の外部で生成される。すなわち、受信部は、保守装置3の外部で生成された入力特定情報を受信する装置や部材である。保守装置3の外部で、入力情報を分析して入力特定情報を生成し、保守装置3の外部で生成された入力特定情報が、保守装置3の受信部に送信される。
The receiving unit receives the input identification information. The input specific information is generated outside the
上述したように、入力情報は、仮想的にユーザが入力した情報とすることができる。したがって、ここでの入力特定情報は、実際のユーザが入力するであろうと想定される情報を入力情報として、保守装置3の外部で生成されたものにすることができる。このように、実際のユーザが入力するであろうと想定される情報を入力情報にすることで、様々な入力情報に基づいてシナリオデータを検証することができる。
As described above, the input information can be virtually input by the user. Therefore, the input identification information here can be generated outside the
シナリオデータ編集部は、シナリオデータを編集可能にするための装置や部材である。シナリオデータは、話題提供システム1の契約者の担当者がキーボードなどを操作することによって、編集することができる。編集は、シナリオデータの追加、削除、変更などである。具体的には、編集は、シナリオデータを構成するステートメントを追加したり、削除したり、変更したりする工程である。シナリオデータの編集により、複数のユーザの各々に対してシナリオデータのカスタムを施すことができる。
The scenario data editing unit is an apparatus or member for making scenario data editable. The scenario data can be edited by the person in charge of the contractor of the
シナリオデータ検証部は、シナリオデータの応答を検証可能にするための装置や部材である。ここでのシナリオデータは、編集したシナリオデータである。シナリオデータ編集部で編集したシナリオデータの応答が適切であるか否かを検証するための装置や部材である。 The scenario data verification unit is an apparatus or member for making it possible to verify the response of scenario data. The scenario data here is edited scenario data. It is an apparatus or member for verifying whether the response of the scenario data edited by the scenario data editing unit is appropriate.
このように、シナリオデータ検証部は、想定される様々な入力情報を用いて入力特定情報を生成し、シナリオデータ編集部によって編集されたシナリオデータの応答を検証することができる。このため、あらゆるユーザに対してシナリオデータの応答が適切であるか否かを検証できるので、シナリオデータ編集部により複数のユーザの各々に対して施したシナリオデータのカスタムを検証することができる。 As described above, the scenario data verification unit can generate input identification information using various input information assumed, and can verify the response of the scenario data edited by the scenario data editing unit. Therefore, since it is possible to verify whether or not the response of the scenario data is appropriate for every user, the scenario data editing unit can verify the custom of the scenario data applied to each of the plurality of users.
シナリオデータ送信部は、編集したシナリオデータを外部に送信する。外部は、たとえば、サーバや、他の会話制御端末装置2などにすることができる。このように、編集したシナリオデータを外部に送信することによって、検証済みのシナリオデータをユーザに対して利用可能にすることができる。
The scenario data transmission unit transmits the edited scenario data to the outside. The outside can be, for example, a server, another conversation control
なお、上述したように、仮想的にユーザが入力した情報を入力情報として、シナリオデータ編集部でシナリオデータを編集したり、シナリオデータ検証部がシナリオデータを検証する例を示したが、後述するように、話題解析部によって話題リストを生成し、話題リストに基づくシナリオデータを編集したり検証したりすることができる。話題解析部については後述する。 As described above, the scenario data editing unit edits scenario data using the information virtually input by the user as input information, and the scenario data verification unit verifies scenario data as described later. Thus, the topic analysis unit can generate a topic list, and edit and verify scenario data based on the topic list. The topic analysis unit will be described later.
シナリオデータ検証部によって、シナリオデータ編集部で編集したシナリオデータの応答が適切であるか否かを検証する。このようにしたことにより、サーバなどの外部にシナリオデータを送信する前に、シナリオデータの内容や整合性を確認することができる。サーバなどの外部に送信された検証済みのシナリオデータは、最終的には、少なくともその一部が会話制御端末装置2に送信され、ユーザとの会話に用いられる。
The scenario data verification unit verifies whether the response of the scenario data edited by the scenario data editing unit is appropriate. By doing this, it is possible to confirm the content and consistency of the scenario data before transmitting the scenario data to the outside of the server or the like. Finally, at least a part of the verified scenario data transmitted to the outside such as a server is transmitted to the speech
会話制御システムにおけるデータは、ユーザが入力した入力情報を分析して入力特定情報を生成するためのデータと、この入力特定情報に基づいて応答情報を決定するためのシナリオデータとの双方がある。このシナリオデータは、ユーザへの回答である応答情報を多様化することができるデータである。上述した構成によれば、シナリオデータ編集部によって、シナリオデータを編集でき、シナリオデータ検証部によって、編集したシナリオデータの応答を検証できる。このようにすることで、会話制御システムの全般に亘る高度に専門的な知識や技術がなくても、シナリオデータについて、会話制御システムを利用する複数のユーザの各々に対してカスタムを施すことができる。 Data in the conversation control system includes both data for analyzing input information input by a user to generate input identification information and scenario data for determining response information based on the input identification information. The scenario data is data that can diversify response information that is a response to the user. According to the configuration described above, the scenario data editing unit can edit the scenario data, and the scenario data verification unit can verify the response of the edited scenario data. In this way, scenario data can be customized for each of a plurality of users who use the conversation control system, without highly specialized knowledge and skills throughout the conversation control system. it can.
さらに、図3に示すように、本実施の形態による保守装置3の特徴は、
ユーザが入力情報を入力するための入力部と、
前記入力情報及び前記応答情報に関する状態制御指標を記憶する状態制御指標記憶部と、
前記シナリオデータと前記状態制御指標とに基づいて前記応答情報を決定する応答情報決定部と、
前記応答情報決定部によって決定された応答情報を出力する出力部と、を備える会話制御端末装置を仮想的に構築する端末装置仮想構築部を有することである。Furthermore, as shown in FIG. 3, the feature of the
An input unit for the user to input input information;
A state control indicator storage unit that stores state control indicators related to the input information and the response information;
A response information determination unit that determines the response information based on the scenario data and the state control index;
And an output unit for outputting the response information determined by the response information determination unit; and a terminal device virtual construction unit for virtually constructing a conversation control terminal device.
本実施の形態による保守装置3は、図3に示すように、端末装置仮想構築部を有する。この端末装置仮想構築部によって、会話制御端末装置2’が仮想的に構築される。
The
さらに、本実施の形態による保守装置3は、図3に示すように、シナリオデータ検証部を有する。このシナリオデータ検証部に状態制御指標記憶部を加えたものが、端末装置仮想構築部を構成する。
Furthermore, the
このように、保守装置3には、会話制御端末装置2’が機能として備えられている。シミュレーション用のパッケージとして会話制御端末装置2’の機能を保守装置3に備えることができる。あるいは、仮想的に構築された会話制御端末装置2’から保守機能を省いたものを、実際の会話制御端末装置2とすることもできる。仮想的に構築される会話制御端末装置2’は、ハードウェアとして実現してもソフトウェアで実現してもよい。ハードウェアとして実現する場合には、実際の会話制御端末装置2とは異なる別個の装置を仮想的に構築される会話制御端末装置2’とすればよい。また、ソフトウェアで実現する場合には、保守装置3においてエミュレーションなどによって会話制御端末装置2’を実現させればよい。
Thus, the
保守装置3は、主として、話題提供システム1の契約者が使用するものであり、一般のユーザに話題を提供するためのシナリオデータの保守をするための装置であればよい。
The
端末装置仮想構築部及びシナリオデータ検証部は、図3に示すように、主に、入力部と応答情報決定部と出力部と、を備える。さらに、端末装置仮想構築部は、状態制御指標記憶部を備える。 As shown in FIG. 3, the terminal device virtual construction unit and the scenario data verification unit mainly include an input unit, a response information determination unit, and an output unit. Furthermore, the terminal device virtual construction unit includes a state control index storage unit.
入力部は、ユーザが入力情報を入力するための部材や部位である。入力部は、ユーザが所望する情報を入力情報として入力できるものであればよい。たとえば、入力部は、キーボードやタッチパネルやマイクロフォンやカメラなどがある。ユーザは、入力部からテキストデータや音声データや画像データなどを入力できる。 The input unit is a member or part for the user to input input information. The input part should just be what can input the information for which a user desires as input information. For example, the input unit includes a keyboard, a touch panel, a microphone, a camera, and the like. The user can input text data, voice data, image data and the like from the input unit.
上述したように、ここで、入力情報は、仮想的にユーザが入力した情報でよい。ユーザも、仮想的なユーザでよく、また、実際のユーザが入力するであろうと想定される情報を入力情報とすればよい。 As described above, here, the input information may be information virtually input by the user. The user may also be a virtual user, and information assumed to be input by the actual user may be input information.
状態制御指標記憶部は、状態制御指標を記憶する。状態制御指標は、入力情報と応答情報とに関する指標である。状態制御指標は、主に履歴に関する指標である。たとえば、ユーザが過去に入力した入力情報に関する指標や、ユーザに過去に提供した応答情報に関する指標などがある。 The state control index storage unit stores a state control index. The state control index is an index related to input information and response information. The state control indicator is mainly an indicator related to the history. For example, there are an index related to input information input by the user in the past and an index related to response information provided to the user in the past.
応答情報決定部は、シナリオデータ及び入力特定情報のほかに状態制御指標を加えて応答情報を決定する。 The response information determination unit determines response information by adding a state control index in addition to the scenario data and the input identification information.
出力部は、応答情報決定部によって決定された応答情報を出力する。 The output unit outputs the response information determined by the response information determination unit.
このように、仮想的に構築される会話制御端末装置2’で、編集したシナリオデータを使用したり、検証済みのシナリオデータを使用したりすることができ、ユーザに対して利用可能にするよりも前に、シナリオデータの内容や制御を確認することができる。ユーザに適切な話題を提供することができる。 In this way, in the virtually constructed conversation control terminal 2 ', edited scenario data can be used and verified scenario data can be used, and it becomes possible to use it for the user Before, you can check the content and control of the scenario data. It is possible to provide the user with appropriate topics.
端末装置仮想構築部は、会話制御端末装置2’を保守装置3において仮想的に構築して実行することができる。したがって、一般のユーザが使用する会話制御端末装置2と同様の環境を保守装置3において実現することができる。これにより、ユーザが実際に会話を進める環境と同様の環境で、シナリオデータの内容や動作を予め確認することができ、ユーザと会話をする前にシナリオデータの内容を検証することができ、サーバに接続してくる複数のユーザの各々に対して施したカスタムが適切であるか否かを事前に検証することができる。
The terminal device virtual construction unit can virtually construct and execute the conversation control
さらに、図3に示すように、本実施の形態による保守装置3の特徴は、
話題を関係付ける関連詞を介して話題の近さや繋がり方を付与した話題リストを生成するための話題解析部を、さらに備え、
前記シナリオデータ編集部は、前記話題リストと前記関連詞を利用してユーザに話題を紹介するための話題紹介シナリオおよびユーザの入力に応答するための入力関連シナリオを前記シナリオデータとして編集可能にすることである。Furthermore, as shown in FIG. 3, the feature of the
It further comprises a topic analysis unit for generating a topic list to which the topic approach and connection are given via the related words that relate topics,
The scenario data editing unit can edit, as the scenario data, a topic introduction scenario for introducing a topic to a user using the topic list and the related words, and an input related scenario for responding to user input. It is.
本実施の形態による保守装置3は、話題解析部(図示せず)を備える。話題解析部は、話題リストを生成するための装置や部材である。話題リストは、話題を関係付ける関連詞を介して話題の近さや繋がり方を付与したデータである。話題解析部によって、話題に関連付けられる関連詞が話題リストに蓄積されていく。保守装置3においては、話題リストは、話題提供システム1の契約者に提供されるデータであり、シナリオデータを生成する際に用いられる。
The
たとえば、保守装置3の出力部には、後述する図17に示すように、話題リストが出力される。話題提供システム1の契約者は、保守装置3の出力部に出力された話題リストを参照して、ユーザに提供するための話題紹介シナリオのデータ及び入力関連シナリオのデータを構築することができる。このようにすることで、話題提供システム1の契約者は、容易かつ簡便に話題紹介シナリオのデータ及び入力関連シナリオのデータを構築することができる。
For example, a topic list is output to the output unit of the
シナリオデータ編集部は、話題紹介シナリオと入力関連シナリオとをシナリオデータとして編集可能にする。話題紹介シナリオ及び入力関連シナリオは、話題リスト及び関連詞によって編集可能にされる。話題リスト及び関連詞を用いて編集できるので、容易かつ簡便に入力関連シナリオを構築できる。 The scenario data editing unit can edit the topic introduction scenario and the input related scenario as scenario data. Topic introduction scenarios and input related scenarios are made editable by topic lists and related words. Since it can be edited using the topic list and related words, input related scenarios can be constructed easily and easily.
話題紹介シナリオは、ユーザに話題を紹介するためのシナリオである。ユーザは、話題紹介シナリオによって話題が提供される。入力関連シナリオは、ユーザの入力に応答するためのシナリオである。ユーザが所定の情報、たとえば挨拶などの情報を入力すると入力関連シナリオによって、対応する挨拶などの情報がユーザに回答される。 The topic introduction scenario is a scenario for introducing a topic to the user. The user is provided with a topic by a topic introduction scenario. The input related scenario is a scenario for responding to user's input. When the user inputs predetermined information, for example, information such as a greeting, the input related scenario causes the information such as a corresponding greeting to be replied to the user.
このシナリオデータ編集部によって、話題提供システム1の契約者は、話題紹介シナリオと入力関連シナリオとを編集して所望するものにできる。
By the scenario data editing unit, the contractor of the
話題リストは、各種のログ、たとえば、ツイッターやブログなどの取得可能なデータに基づいて、更新することができる。すなわち、話題リストには、最新の情報を関連詞として蓄積していくことができる。このため、話題リストに基づいて話題紹介シナリオ及び入力関連シナリオを編集したり検証したりする際に、話題提供システム1の契約者は、話題リストによって最新の情報を知得して、話題紹介シナリオ及び入力関連シナリオを編集することができ、ユーザに最新の情報を含めた話題を提供することができるとともに、最新の情報によって新たなユーザ層を開拓することもできる。
The topic list can be updated based on various logs, eg, obtainable data such as Twitter and blog. That is, the latest information can be accumulated as related words in the topic list. Therefore, when the topic introduction scenario and the input related scenario are edited or verified based on the topic list, the contractor of the
会話制御システムにおけるデータは、ユーザが入力した入力情報を分析して入力特定情報を生成するためのデータと、この入力特定情報に基づいて応答情報を決定するためのシナリオデータとの双方がある。このシナリオデータは、ユーザへの回答である応答情報を多様化することができるデータである。上述した構成によれば、シナリオデータ編集部によって、話題解析部と連携しながらシナリオデータを編集でき、シナリオデータ検証部によって、編集したシナリオデータの応答を検証できる。このようにすることで、会話制御システムの全般に亘る高度に専門的な知識や技術がなくても、シナリオデータについて、会話制御システムを利用する複数のユーザの各々に対してカスタムを施すことができる。 Data in the conversation control system includes both data for analyzing input information input by a user to generate input identification information and scenario data for determining response information based on the input identification information. The scenario data is data that can diversify response information that is a response to the user. According to the configuration described above, the scenario data editing unit can edit the scenario data in cooperation with the topic analysis unit, and the scenario data verification unit can verify the response of the edited scenario data. In this way, scenario data can be customized for each of a plurality of users who use the conversation control system, without highly specialized knowledge and skills throughout the conversation control system. it can.
また、図3に示した送信部は、入力情報を外部に送信するための装置や部材である。入力情報を外部に送信するものであればよい。外部は、たとえば、話題提供サーバ4(図2参照)や、会話制御端末装置2などにすることができる。
The transmission unit illustrated in FIG. 3 is an apparatus or a member for transmitting input information to the outside. The input information may be transmitted to the outside. The outside can be, for example, the topic providing server 4 (see FIG. 2), the conversation control
さらに、図3に示した入力情報分析部は、入力情報を分析して入力特定情報を生成する。入力特定情報は、入力情報に含まれる各種の情報を分析した結果、生成される情報である。たとえば、特定のキーワード(後述する関連詞など)が入力情報に含まれる数や頻度などの統計的な分析などがある。 Furthermore, the input information analysis unit shown in FIG. 3 analyzes the input information and generates input identification information. The input identification information is information generated as a result of analyzing various types of information included in the input information. For example, there is statistical analysis such as the number and frequency of specific information (such as related words described later) included in input information.
さらにまた、図3に示したシナリオデータ記憶部(複数のシナリオデータ)は、複数のシナリオデータを記憶する。ここで、複数のシナリオデータは、ユーザと会話をするために必要な話題名に対応する全てのシナリオデータである。全てのシナリオデータのうち、入力特定情報に基づいて必要であると判断されたシナリオデータが抽出される。 Furthermore, the scenario data storage unit (a plurality of scenario data) illustrated in FIG. 3 stores a plurality of scenario data. Here, the plurality of scenario data are all scenario data corresponding to a topic name required to have a conversation with the user. Among all scenario data, scenario data determined to be necessary based on input specific information is extracted.
<<<話題提供システム1のシステム構成>>>
図4は、話題提供システム1のシステム構成の概略を示すブロック図である。<<< System Configuration of
FIG. 4 is a block diagram schematically showing the system configuration of the
話題提供システム1は、topiclet20とiWA30とiWA Manager40とを有する。
The
<<Topiclet20>>
本実施の形態において、Topiclet20は、たとえば、ユーザが使用する端末装置などのハードウェアに相当する。また、Topiclet20は、図2に示した会話制御端末装置2に対応する。Topiclet20によって話題がユーザに提供される。なお、本実施の形態において、「Topiclet」は、話題をユーザに提供するために端末装置で実行されるソフトウェアや、端末装置やこれらのソフトウェアによって実現できる話題提供環境と同義に用いる場合がある。<<
In the present embodiment, the
具体的には、Topiclet20は、CPU(中央処理装置)、ROM(リードオンリーメモリ)、RAM(ランダムアクセスメモリ)、ディスプレイ、キーボード(いずれも図示せず)などを有する。Topiclet20は、パーソナルコンピュータや携帯端末装置などにすることができる。
Specifically, the
Topiclet20は、入力部210と出力部220と送信部230と受信部240と応答情報決定部250と切替入力情報入力部260とシナリオデータ記憶部270と状態制御指標記憶部280とを有する。
The
<入力部210>
入力部210は、ユーザが入力情報を入力するための装置や部材である。入力部210は、キーボードやタッチパネルやマイクなどがある。入力部210は、ユーザが質問などの情報を入力できる装置や部材であればよい。<
The
<出力部220>
出力部220は、後述する応答情報決定部によって決定された応答情報を出力する。出力部220には、ディスプレイやスピーカなどがある。出力部220は、応答情報をユーザに認識可能に出力できるものであればよい。<
The
このように、ユーザは、入力部210に入力情報を入力し、出力部220に出力された応答情報を認識することで、会話を進めることができる。
Thus, the user can advance the conversation by inputting the input information to the
<送信部230及び受信部240>
送信部230は、入力部210に入力された入力情報をiWA30に送信するための装置や部材である。たとえば、送信部230は、通信用インターフェースなどがある。<
The
なお、iWA30に送信する入力情報には、ユーザが入力部210から入力情報のほかに、ユーザを識別するためのユーザIDも含まれる。ユーザIDは、ユーザを識別できる情報であればよい。ユーザの各々に割り当てた情報でもよい。さらに、ユーザIDは、Topiclet20のシリアル番号などのTopiclet20を一義的に識別できる情報にすることもできる。ユーザIDは、話題提供システム1や会話制御端末装置2を利用するユーザの各々を識別できる情報であればよい。
The input information transmitted to the
受信部240は、iWA30から送信された入力特定情報とシナリオデータとを受信するための装置や部材である。たとえば、送信部230は、通信用インターフェースなどがある。Topiclet20は、送信部230及び受信部240によって、iWA30と通信可能に接続される。
The receiving
<応答情報決定部250>
応答情報決定部250は、入力特定情報及びシナリオデータに基づいて応答情報を決定する。たとえば、応答情報決定部250は、Topiclet20のCPU、ROM、RAMなどから構成される。このように、iWA30から送信された入力特定情報及びシナリオデータを用いて応答情報を決定する。<Response
The response
応答情報決定部250では、入力とは関係なくシナリオデータに基づいて応答情報は動的に変化する。
The response
応答情報決定部250は、応答情報を決定する。応答情報は、シナリオデータと入力特定情報とに基づいて決定される。すなわち、ユーザが入力した入力情報を分析して得られた入力特定情報を用いて応答情報を決定する。したがって、ユーザの意思を反映させた応答情報を生成することができ、ユーザが所望する話題を提供することによってユーザとの会話を円滑に進めることができる。
The response
応答情報には、入力特定情報に基づいてシナリオデータのステートメントが含められる。ステートメントに含まれるユーザに提供する出力用情報のみならず、出力用コマンドなどの各種のコマンドも応答情報に含めることができる。このようにすることで、出力部において、話題の情報や挨拶の情報をさまざまな仕様で出力することができる。 The response information includes statements of scenario data based on the input specific information. Not only the output information provided to the user included in the statement but also various commands such as output commands can be included in the response information. In this way, the output unit can output topic information and greeting information in various specifications.
応答情報決定部250は、シナリオデータ及び入力特定情報のほかに状態制御指標を加えて応答情報を決定する。このように、状態制御指標も用いて応答情報を決定することで、ユーザとの過去の会話を踏まえて話題を提供したり会話を進めたりすることができる。したがって、同じ話題を重複してユーザに提供したり、飛躍した話題をユーザに提供したりすることを防止でき、より円滑な会話を進めることができる。
The response
また、応答情報決定部250は、シナリオデータと状態制御指標とに基づいて応答情報を決定してもよい。
Further, the response
<切替入力情報入力部260>
切替入力情報入力部260は、Topiclet20のCPU、ROM、RAMなどから構成される。<Switching input
The switching input
切替入力情報入力部260は、異なる話題への遷移を規定する情報に応じて話題切替入力情報を生成する。異なる話題への遷移を規定する情報は、たとえば、後述する話題切替情報などがある。また、話題切替入力情報は、たとえば、後述する性格指標などがある。
The switching input
<シナリオデータ記憶部270>
シナリオデータ記憶部270は、話題に関する応答情報を規定するためのシナリオデータを抽出する。たとえば、シナリオデータ記憶部270は、Topiclet20のROMやRAMなどから構成される。<Scenario data storage unit 270>
The scenario data storage unit 270 extracts scenario data for defining response information on a topic. For example, the scenario data storage unit 270 includes the ROM, the RAM, and the like of the
後述するように、本実施の形態では、シナリオデータは、複数のステートメントからなる。Topiclet20において、一のステートメントから他のステートメントに遷移させていくことで、ユーザに話題を提供しつつ、ユーザと会話をすることができる。シナリオデータ記憶部270は、ユーザとの会話を進めていくための複数のステートメントを記憶する。ステートメントを遷移させていくことでユーザとの会話を進める具体例は、図5〜図14で具体的に説明する。
As described later, in the present embodiment, scenario data consists of a plurality of statements. In
後述するように、iWA30もシナリオデータ記憶部320を備える。iWA30のシナリオデータ記憶部320は、全てのシナリオデータを記憶する。これに対して、Topiclet20のシナリオデータ記憶部270は、一部のシナリオデータとして記憶すればよい。Topiclet20を使用するユーザの会話に必要なシナリオデータとしてTopiclet20に送信すればよい。
As described later, the
本実施の形態では、ユーザがTopiclet20と会話をする際に、会話をする度に、回答などの情報がiWA30からTopiclet20に送信されるわけではない。ユーザに提供したい話題を含むシナリオデータがiWA30から送信されたときには、Topiclet20のシナリオデータ記憶部270にシナリオデータが記憶される。ユーザがTopiclet20と会話をするときには、シナリオデータ記憶部270に既に記憶されているシナリオデータが用いられる。本実施の形態では、会話をする度にiWA30からTopiclet20に回答などの情報が送信されるわけではないので、ユーザと円滑に会話をすることができる。
In the present embodiment, when the user talks with the
なお、iWA30のシナリオデータ記憶部320に記憶されている全てのシナリオデータをTopiclet20に送信するようにしてもよい。より円滑に話題をユーザに提供することができる。
Note that all scenario data stored in the scenario
<状態制御指標記憶部280>
状態制御指標記憶部280は、状態制御指標を記憶する。状態制御指標は、入力情報及び応答情報に関する指標である。状態制御指標記憶部280は、Topiclet20のROMやRAMなどから構成される。<State control
The state control
Topiclet20は、状態制御指標記憶部280を有し、状態制御指標記憶部280に状態制御指標が記憶される。本実施の形態では、状態制御指標は、サーバ(後述するiWA30)には送信されず、Topiclet20で保持される情報である。Topiclet20は、状態制御指標記憶部280に記憶されている状態制御指標を参照して応答情報を決定する。状態制御指標をTopiclet20で保持するようにすることで、iWA30との通信量を減らすことができる。また、Topiclet20で状態制御指標を参照してシナリオデータを用いればよいので、迅速に処理をすることができ、ユーザと円滑に会話をすることができる。
The
<状態制御指標>
本実施の形態では、状態制御指標には、入力指標と進捗指標と性格指標との三種類の指標を用いて、ユーザに提供する話題を制御している。なお、他の指標を用いてもよい。<State control index>
In the present embodiment, three types of indicators, an input indicator, a progress indicator, and a character indicator, are used as state control indicators to control topics provided to the user. Other indicators may be used.
入力指標は、これまでにユーザがどのような入力をしてきたのか、すなわち、ユーザの入力の履歴を示す情報である。入力指標を用いることによって、ユーザが質問をしやすい状況に誘導することができる。すなわち、入力指標を用いることにより、ユーザの以前の入力を踏まえた話題をユーザに提供することができる。これにより、ユーザが、同じような質問を繰り返すなど無駄な質問をすることなく、ユーザに話題を提供することができる。 The input index is information indicating what kind of input the user has made so far, that is, the history of the user's input. By using the input index, it is possible to guide the user to a situation that is easy to ask a question. That is, by using the input index, it is possible to provide the user with a topic based on the user's previous input. This enables the user to provide a topic to the user without asking unnecessary questions such as repeating similar questions.
進捗指標は、これまでにユーザに対してどのような話題を提供してきたのか、すなわち、ユーザに提供した話題の履歴を示す情報である。進捗指標によって、ユーザに提供したい話題を維持(記憶)することができる。これにより、ユーザがストレスを感じさせることなく、ユーザに話題を提供することができる。進捗指標を用いることにより、一連の説明を話題として提供している際に、途中でユーザから質問されても、一連の説明の続きを再開することができる。 The progress indicator is information indicating what kind of topic has been provided to the user so far, that is, the history of the topic provided to the user. The progress indicator can maintain (store) a topic that the user wants to provide. This makes it possible to provide a topic to the user without causing the user to feel stress. By using the progress indicator, when providing a series of explanations as a topic, it is possible to resume the continuation of the series of explanations even if the user asks a question along the way.
性格指標は、これまでにユーザがどのような姿勢で入力してきたのか、すなわち、ユーザの姿勢の履歴を示す情報である。たとえば、ある話題について、ユーザが積極的な入力してきたのか消極的な入力してきたのかを示す情報である。積極的な場合には、あるテーマに関する話題を提供し続けることができると判断することができる。一方、消極的な場合には、あるテーマとは別のテーマに切り替えて話題を提供しなければならないと判断することができる。 The character index is information indicating what kind of posture the user has input so far, that is, the history of the user's posture. For example, it is information indicating whether the user has actively entered or has been passively entered for a certain topic. In the positive case, it can be judged that the topic on a certain subject can be provided continuously. On the other hand, in the negative case, it can be determined that the user has to switch to a theme different from a certain theme to provide a topic.
たとえば、車に興味があると思われるユーザには、車に関する話題を提供し続ければよいと判断することができる。一方、車に興味がないと思われるユーザには、車とは関係のない食べ物などに関する話題を提供しなければならないと判断することができる。 For example, it may be determined that users who may be interested in the car should continue to provide a topic related to the car. On the other hand, it can be determined that a user who is not interested in a car should be provided with a topic related to food and the like not related to the car.
このように、性格指標により、ユーザに提供する話題の話題名(テーマ)を切り替えることができる。ユーザは、話題の話題名を意識することなく切り替えられた話題名に属する話題に触れることができる。 As described above, it is possible to switch the topic name (theme) of the topic provided to the user by the character index. The user can touch the topic belonging to the switched topic name without being aware of the topic name of the topic.
<iWA30>
本実施の形態において、iWA30は、たとえば、サーバなどのハードウェアに相当する。iWA30は、図2に示した話題提供サーバ4に対応する。iWA30は、Topiclet20と通信可能に接続される。Topiclet20においてユーザに提供される話題に関する処理を実行するためのハードウェアである。<IWA30>
In the present embodiment, the
具体的には、iWA30は、CPU(中央処理装置)、ROM(リードオンリーメモリ)、RAM(ランダムアクセスメモリ)、HDD(ハードディスクドライブ)、ディスプレイ、キーボード(いずれも図示せず)などを有する。
Specifically, the
iWA30は、入力情報分析部310とシナリオデータ記憶部320とを備える。
The
<入力情報分析部310>
入力情報分析部310は、入力情報を分析して入力特定情報を生成する。入力情報は、ユーザによって入力部210にから入力された情報である。入力特定情報は、入力情報を統計的に解析した結果や、その結果から話題提供に必要な情報が含まれる。たとえば、入力情報に関連詞が出現する回数や頻度などの情報がある。また、その結果によって話題提供に必要になると判断されたシナリオデータ(ステートメント)などが含まれる。<Input
The input
さらに、入力情報の分析により、ユーザが入力した質問などからユーザの意思や嗜好を分析することができる。他のユーザの入力情報やその入力特定情報との比較により相対的な分析結果も取得することができる。また、分析用辞書などのデータを予め生成しておき、分析用辞書によって入力情報を分析することもできる。 Furthermore, analysis of the input information can analyze the intention and preference of the user from the question or the like input by the user. A relative analysis result can also be obtained by comparison with other user's input information and its input specific information. In addition, data such as an analysis dictionary can be generated in advance, and input information can be analyzed by the analysis dictionary.
たとえば、入力特定情報には、関連詞、シナリオデータ、シナリオデータに含まれる関連詞の数などの各種の情報を含む。シナリオデータには、ユーザに提供する話題の情報や、ユーザと会話をするために必要な挨拶の情報などが含まれる。 For example, the input identification information includes various pieces of information such as related words, scenario data, and the number of related words included in the scenario data. The scenario data includes topic information to be provided to the user and information on greetings necessary to have a conversation with the user.
<関連詞>
本実施の形態による話題提供システム1、会話制御端末装置2及び保守装置3で用いる各種のデータは、関連詞と呼ばれるデータを基礎として構成されている。関連詞は、通常の検索処理などに用いられる通常のキーワードとは異なり、履歴情報や嗜好などの各種の情報を互いに関連付けることができる。関連詞が保持している関連情報に基づいて、入力情報を分析することができる。<Related words>
Various data used in the
<シナリオデータ記憶部320>
シナリオデータ記憶部320は、複数のシナリオデータを記憶する。ここで、複数のシナリオデータは、Topiclet20でユーザと会話をするために必要な話題名に対応する全てのシナリオデータである。全てのシナリオデータのうち、入力特定情報に基づいて必要であると判断されたシナリオデータがTopiclet20に送信される。したがって、Topiclet20においてユーザと会話をする際に、会話をする度に、シナリオデータがTopiclet20に送信されるわけではない。上述したように、シナリオデータは、複数のステートメントからなる。したがって、入力特定情報に基づいて必要であると判断されたシナリオデータを構成する複数のステートメントがTopiclet20に送信される。<Scenario
The scenario
生成した入力特定情報に基づいて、必要であると判断された場合にステートメントがシナリオデータとしてTopiclet20に送信される。必要でないと判断された場合には、既にTopiclet20に送信しているステートメントで十分であり、この場合には、ステートメントはTopiclet20に送信されない。
A statement is sent to
なお、入力特定情報に基づいて必要であると判断されたシナリオデータのみをTopiclet20に送信するのではなく、シナリオデータ記憶部320に記憶されている全てのシナリオデータをTopiclet20に送信するようにしてもよい。Topiclet20に全てのシナリオデータを既に送信しているので、シナリオデータの送受信に要する時間を短縮でき、ユーザとの会話を円滑に進めることができる。
Incidentally, instead of transmitting only scenario data determined to be necessary based on the input specifying information to
また、話題名を切り替える場合には、シナリオデータ記憶部320に記憶されているシナリオデータを組み替えて、その話題名に対応するシナリオデータをTopiclet20に送信する。すなわち、その話題名に対応するシナリオデータに対応するステートメントがTopiclet20に送信される。組み替えたシナリオデータは、topiclet20のシナリオデータ記憶部270に記憶される。このシナリオデータの組み替えは、話題名に応じて実行できる。
Further, when switching the topic name, the scenario data stored in the scenario
ユーザと会話が進むに従って、一の話題名から他の話題名に移す必要が生ずる場合も想定される。このような場合には、一の話題名に対応するシナリオデータでは十分に対応できなくなる。このような場合のため、他の話題名に対応するシナリオデータに切り替えることができる。 It is also assumed that as the conversation with the user progresses, it becomes necessary to move from one topic name to another. In such a case, the scenario data corresponding to one topic name can not sufficiently cope. In such a case, it is possible to switch to scenario data corresponding to another topic name.
<iWA Manager40>
本実施の形態において、iWA Manager40は、たとえば、サーバなどのハードウェアに相当する。iWA Manager40は、図3に示した保守装置3に対応する。iWA Manager40は、iWA30と通信可能に接続される。iWA Manager40は、主に、iWA30で用いるシナリオデータに関する処理を実行するためのハードウェアである。<IWA Manager40>
In the present embodiment, the
具体的には、iWA Manager40は、CPU(中央処理装置)、ROM(リードオンリーメモリ)、RAM(ランダムアクセスメモリ)、HDD(ハードディスクドライブ)、ディスプレイ、キーボード(いずれも図示せず)などを有する。
Specifically, the
iWA Manager40は、シナリオデータ編集部410と、シナリオデータ検証部420と、シナリオデータ送信部430と、を有する。
The
<シナリオデータ編集部410>
シナリオデータ編集部410は、シナリオデータを編集可能にする装置又は部材である。シナリオデータは、話題提供システム1の契約者の担当者がキーボードなどを操作することによって、編集することができる。編集は、シナリオデータの追加、削除、変更などである。具体的には、編集は、シナリオデータを構成するステートメントを追加したり、削除したり、変更したりする工程である。<Scenario
The scenario
新しい商品が販売されたり、新しいサービスが提供されたり、各種の事件が起こったり、新しい層のユーザが増えたりするなどに応じて、最新の話題に対応できるようにシナリオデータを更新する必要がある。このため、担当者は、ネットワークを介して各種の情報を取得し、これらの情報に基づいてシナリオデータを最新のものに更新することができる。シナリオデータを更新することで、最新の情報に対応した話題をユーザに提供することができる。 As new products are sold, new services are provided, various incidents occur, and users in new tiers increase, it is necessary to update scenario data to be able to respond to the latest topics. . For this reason, the person in charge can obtain various types of information via the network, and update the scenario data to the latest one based on the information. By updating the scenario data, it is possible to provide the user with a topic corresponding to the latest information.
また、シナリオデータ編集部410によって、誤字・脱字など不適切な情報や誤った情報を訂正することにより、適切な情報に対応した話題をユーザに提供することができる。
Also, the scenario
<シナリオデータ検証部420>
シナリオデータ検証部420は、入力情報分析部で生成された入力特定情報に基づいて編集したシナリオデータの応答を検証可能にする装置や部材である。すなわち、シナリオデータ検証部420は、シナリオデータ編集部410で編集したシナリオデータの応答が適切であるか否かを検証するための装置や部材である。<Scenario
The scenario
シナリオデータの内容が適切であれば、シナリオデータの応答は適切になる。本実施の形態のシナリオデータは、出力部220で出力される出力用情報や、出力部220への出力の仕様を制御するための出力用コマンドや、ステートメントを制御するための判断や、話題名を切り替えたり、状態制御指標を変更したりするための制御コマンドを含む。このため、出力部220に出力されるデータが適切であるかどうかを検証するだけでなく、出力部220への出力の制御が適切であるかどうかの検証や、シナリオデータの遷移などの制御が適切であるかどうかの検証をする必要がある。
If the content of scenario data is appropriate, the response of scenario data will be appropriate. The scenario data in the present embodiment includes the output information output from the
シナリオデータ検証部420は、想定される様々な入力情報を用いて入力特定情報を生成し、シナリオデータ編集部410によって編集されたシナリオデータの応答を検証することができる。このため、あらゆるユーザに対してシナリオデータの応答が適切であるか否かを検証できるので、ユーザの各々に対してカスタムを施すことができる。
The scenario
<端末装置仮想構築部>
シナリオデータ検証部420は、端末装置仮想構築部によって、Topiclet20と同様の環境を仮想的に構築することができる。仮想的な環境下でシナリオデータを検証することにより、ユーザが実際に使用する環境に近い環境で、シナリオデータの出力や動作を検証することができ、シナリオデータが適切であるか否かを容易かつ的確に判断することができる。<Terminal device virtual construction unit>
The scenario
<シナリオデータ送信部430>
シナリオデータ送信部430は、編集したシナリオデータを外部、たとえば、iWA30に送信する。特に、シナリオデータ編集部410によって編集され、さらに、シナリオデータ検証部420によって検証されたシナリオデータをiWA30に送信する。したがって、シナリオデータ送信部430は、検証済みのシナリオデータをiWA30に送信する。<Scenario
The scenario
このようにすることで、iWA30からTopiclet20に送信されるシナリオデータを常に適切な状態に保つことができる。したがって、適切なシナリオデータを用いた話題をiWA30を介してユーザに提供することができる。
By doing this, scenario data transmitted from the
<<<話題提供サーバが提供するデータ構成>>>
図15に示すように、iWA30からは、シナリオデータと入力特定情報と話題紹介リストとが出力される。以下では、シナリオデータの例と入力特定情報の例と話題紹介リストの例とを説明する。<<< Data configuration provided by the topic provision server >>>
As shown in FIG. 15, the
<<<シナリオデータの実例>>>
図14は、本実施の形態の話題提供システム1、会話制御端末装置2及び保守装置3で用いるシナリオデータの例である。以下では、この図14に示したシナリオデータを具体的な処理手順によって説明する。図14に示したシナリオデータは、第1〜第13の複数のステートメントからなる。図5〜図12は、これらの第1〜第13のシナリオデータの処理手順を示すフローチャートである。図13は、第1〜第13のシナリオデータを処理することによって出力部220に出力される例を示す図である。<<< Example of scenario data >>
FIG. 14 shows an example of scenario data used in the
上述したように、本実施の形態の話題提供システム1、会話制御端末装置2及び保守装置3で用いるシナリオデータ(ステートメント)は、出力用情報や、出力用コマンドや、制御コマンドが含まれる。シナリオデータ(ステートメント)は、このような出力用情報や出力用コマンドや制御コマンドなどの各種の要素によって構成される。
As described above, the scenario data (statement) used in the
図5は、第1、第2及び第3のステートメントの処理を示すフローチャートである。 FIG. 5 is a flow chart illustrating the processing of the first, second and third statements.
<第1のステートメント>
最初に、第1のステートメントに遷移する。図5では、ステップS511〜S521が、第1のステートメントの処理に対応する。<First statement>
First, transition to the first statement. In FIG. 5, steps S511 to S521 correspond to the processing of the first statement.
まず、進捗指標を−1に設定する(ステップS511)。この値が進捗の状態を示す。次いで、出力部220を一旦消去して(ステップS513)、出力部220に「不安を解消する話題にシフトします。」と出力する(ステップS515)。この処理によって、たとえば、図13(a)に示すように、「地震が心配だ」という話題がユーザの操作によって入力されて、出力部220のテキストデータ表示領域に、「不安を解消する話題にシフトします。」と表示される(図13の1311)。
First, the progress index is set to -1 (step S511). This value indicates the progress status. Next, the
次に、所定の画像を出力して(ステップS517)、3秒間待機する(ステップS519)。この処理によって、図13(a)に示すように、出力部220の画像データ表示領域に所定の色の顔画像M1が表示されて、3秒間待機する(図13の1311)。
Next, a predetermined image is output (step S517), and the process waits for 3 seconds (step S519). By this processing, as shown in FIG. 13A, the face image M1 of a predetermined color is displayed in the image data display area of the
次いで、「心配だ。」という語を入力情報として、「話題ネタ」という話題名に切り替える(ステップS521)。この処理によって、この例では、第2のステートメントに遷移する(図13の1313)。 Next, the word "I'm worried." Is used as input information, and the topic name is switched to "topic material" (step S521). By this process, in this example, a transition is made to the second statement (1313 in FIG. 13).
<第2のステートメント>
図5では、ステップS523〜S525が、第2のステートメントの処理に対応する。<Second statement>
In FIG. 5, steps S523 to S525 correspond to the processing of the second statement.
第2のステートメントに遷移して、まず、絶対時間、たとえば、12時00分に至ったか否かの監視を開始する(ステップS523)。次いで、絶対時間が到来したか否かを判断する(ステップS525)(図13の1315)。絶対時間が到来していない場合には(NO)、第3のステートメントに遷移させる。絶対時間に至った場合には(YES)、絶対時間の監視を解除して第13のステートメントに遷移させる(符号EE)。 Transitioning to the second statement, first, monitoring of whether or not an absolute time, for example, 12:00, has been reached is started (step S523). Next, it is determined whether an absolute time has arrived (step S525) (1315 in FIG. 13). If the absolute time has not arrived (NO), transition is made to the third statement. If the absolute time has been reached (YES), the monitoring of the absolute time is canceled and a transition is made to the thirteenth statement (symbol EE).
<第3のステートメント>
図5では、ステップS527〜S533が、第3のステートメントの処理に対応する。<Third statement>
In FIG. 5, steps S527 to S533 correspond to the processing of the third statement.
第3のステートメントに遷移したときには、進捗指標が−1であるか否かを判断する(ステップS527)(図13の1317)。進捗指標が−1であると判別したときには(YES)、第4のステートメントに遷移させる(符号E1)。 When transitioning to the third statement, it is determined whether the progress index is -1 (step S527) (1317 in FIG. 13). When it is determined that the progress index is -1 (YES), the process is transited to the fourth statement (symbol E1).
進捗指標が−1でないと判別したときには(NO)、進捗指標が−2であるか否かを判断する(ステップS529)。進捗指標が−2であると判別したときには(YES)、第5のステートメントに遷移させる(符号E2)。 If it is determined that the progress index is not -1 (NO), it is determined whether the progress index is -2 (step S529). If it is determined that the progress index is -2 (YES), the state transitions to the fifth statement (symbol E2).
進捗指標が−2でないと判別したときには(NO)、進捗指標が−3であるか否かを判断する(ステップS531)。進捗指標が−3であると判別したときには(YES)、第6のステートメントに遷移させる(符号E3)。 If it is determined that the progress index is not -2 (NO), it is determined whether the progress index is -3 (step S531). If it is determined that the progress index is -3 (YES), the state is transited to the sixth statement (symbol E3).
進捗指標が−3でないと判別したときには(NO)、進捗指標が−4であるか否かを判断する(ステップS533)。進捗指標が−4であると判別したときには(YES)、別のステートメント(sta:200)に遷移させる。進捗指標が−4でないと判別したときには(NO)、なにもしない。 If it is determined that the progress index is not -3 (NO), it is determined whether the progress index is -4 (step S533). If it is determined that the progress indicator is -4 (YES), the process is transited to another statement (sta: 200). If it is determined that the progress index is not -4 (NO), nothing is done.
上述した第2のステートメントや第3のステートメントは制御コマンドのみからなる。このように、ステートメントは、出力部220に出力するための出力用情報を有しないものでもよい。
The second and third statements described above consist only of control commands. Thus, the statement may not have output information to be output to the
<第4のステートメント及び第7のステートメント>
図6は、第4のステートメント及び第7のステートメントに対応する処理を示す。第4のステートメントは、ステップS611〜S621に対応する。第7のステートメントは、ステップS623〜S629に対応する。<Fourth and Seventh Statements>
FIG. 6 shows a process corresponding to the fourth and seventh statements. The fourth statement corresponds to steps S611 to S621. The seventh statement corresponds to steps S623 to S629.
<第4のステートメント>
第4のステートメントに遷移したときには、相対時間、たとえば、120秒の測定の開始する(ステップS611)。次いで、入力指標を1に設定するとともに(ステップS613)、入力指標を1に設定した回数を計数する(ステップS615)。<Fourth statement>
When transitioning to the fourth statement, measurement of relative time, for example, 120 seconds is started (step S611). Next, the input index is set to 1 (step S613), and the number of times the input index is set to 1 is counted (step S615).
次に、入力指標を1に設定した回数が5回に至ったか否かを判断する(ステップS617)(図13の1319)。入力指標を1に設定した回数が5回に至った場合には(YES)、第10のステートメントに遷移させる(符号E11)。 Next, it is determined whether the number of times the input index has been set to 1 has reached five (step S617) (1319 in FIG. 13). If the number of times of setting the input index to 1 has reached five (YES), transition is made to the tenth statement (reference E11).
入力指標を1に設定した回数が5回に至っていない場合には(NO)、相対時間、たとえば、120秒を経過したか否かを判断する(ステップS619)(図13の1319)。相対時間を経過した場合には(YES)、相対時間の測定を終了し(ステップS621)、第10のステートメントに遷移させる(符号E11)。 If the number of times of setting the input index to 1 has not reached 5 times (NO), it is judged whether the relative time, for example, 120 seconds has elapsed (step S619) (1319 in FIG. 13). If the relative time has elapsed (YES), the measurement of the relative time is ended (step S621), and a transition is made to a tenth statement (symbol E11).
相対時間を経過していない場合には(NO)、第7のステートメントに遷移させる。 If the relative time has not elapsed (NO), transition is made to the seventh statement.
<第7のステートメント>
第7のステートメントに遷移したときには、出力部220を消去し(ステップS623)、出力部220に「「心配だ」について質問はありませんか?」と出力する(ステップS625)。次いで、所定の画像(たとえば、所定の色の顔画像M1)を出力して(ステップS627)、10秒間待機する(ステップS629)。この処理によって、図13(b)に示すように、出力部220の画像データ表示領域に所定の色の顔画像M1が表示されて、10秒間待機する。次いで、第2のステートメントに遷移させる(符号ES)。<Seventh statement>
When transitioning to the seventh statement, the
<第5のステートメント及び第8のステートメント>
図7は、第5のステートメント及び第8のステートメントに対応する処理を示す。第5のステートメントは、ステップS711〜S721に対応する。第8のステートメントは、ステップS723〜S729に対応する。<Fifth and Eighth Statements>
FIG. 7 shows the process corresponding to the fifth and eighth statements. The fifth statement corresponds to steps S711-S721. The eighth statement corresponds to steps S723 to S729.
<第5のステートメント>
第5のステートメントに遷移したときには、相対時間、たとえば、120秒の測定の開始する(ステップS711)。次いで、入力指標を2に設定するとともに(ステップS713)、入力指標を2に設定した回数を計数する(ステップS715)。<Fifth statement>
When transitioning to the fifth statement, measurement of relative time, for example, 120 seconds, is started (step S711). Next, the input index is set to 2 (step S713), and the number of times the input index is set to 2 is counted (step S715).
次に、入力指標を2に設定した回数が5回に至ったか否かを判断する(ステップS717)(図13の1319)。入力指標を2に設定した回数が5回に至った場合には(YES)、第11のステートメントに遷移させる(符号E12)。 Next, it is determined whether the number of times of setting the input index to 2 has reached five (step S717) (1319 in FIG. 13). If the number of times of setting the input index to 2 has reached five (YES), the processing transits to the eleventh statement (reference E12).
入力指標を2に設定した回数が5回に至っていない場合には(NO)、相対時間、たとえば、120秒を経過したか否かを判断する(ステップS719)(図13の1319)。相対時間を経過した場合には(YES)、相対時間の測定を終了し(ステップS721)、第11のステートメントに遷移させる(符号E12)。 If the number of times the input index is set to 2 has not reached five (NO), it is determined whether a relative time, for example, 120 seconds has elapsed (step S719) (1319 in FIG. 13). If the relative time has elapsed (YES), the measurement of the relative time is ended (step S721), and a transition is made to an eleventh statement (symbol E12).
相対時間を経過していない場合には(NO)、第8のステートメントに遷移させる。 If the relative time has not elapsed (NO), transition is made to the eighth statement.
<第8のステートメント>
第8のステートメントに遷移したときには、出力部220を消去し(ステップS723)、出力部220に「「大丈夫」について質問はありませんか?」と出力する(ステップS725)。次いで、所定の画像(たとえば、所定の色の顔画像M1)を出力して(ステップS727)、10秒間待機する(ステップS729)。次いで、第2のステートメントに遷移させる(符号ES)。<Eighth statement>
When transitioning to the eighth statement, the
<第6のステートメント及び第9のステートメント>
図8は、第6のステートメント及び第9のステートメントに対応する処理を示す。第6のステートメントは、ステップS811〜S821に対応する。第9のステートメントは、ステップS823〜S829に対応する。<Sixth and ninth statements>
FIG. 8 shows processing corresponding to the sixth and ninth statements. The sixth statement corresponds to steps S811 to S821. The ninth statement corresponds to steps S823 to S829.
<第6のステートメント>
第6のステートメントに遷移したときには、相対時間、たとえば、120秒の測定の開始する(ステップS811)。次いで、入力指標を3に設定するとともに(ステップS813)、入力指標を3に設定した回数を計数する(ステップS815)。<Sixth statement>
When transitioning to the sixth statement, measurement of relative time, for example, 120 seconds, is started (step S811). Next, the input index is set to 3 (step S813), and the number of times the input index is set to 3 is counted (step S815).
次に、入力指標を3に設定した回数が5回に至ったか否かを判断する(ステップS817)(図13の1319)。入力指標を3に設定した回数が5回に至った場合には(YES)、第11のステートメントに遷移させる(符号E13)。 Next, it is determined whether the number of times the input index is set to 3 has reached five (step S 817) (1319 in FIG. 13). If the number of times of setting the input index to 3 reaches five (YES), the process is transited to the eleventh statement (reference E13).
入力指標を3に設定した回数が5回に至っていない場合には(NO)、相対時間、たとえば、120秒を経過したか否かを判断する(ステップS819)(図13の1319)。相対時間を経過した場合には(YES)、相対時間の測定を終了し(ステップS821)、第12のステートメントに遷移させる(符号E13)。 If the number of times the input index is set to 3 has not reached five (NO), it is determined whether a relative time, for example, 120 seconds has elapsed (step S819) (1319 in FIG. 13). If the relative time has elapsed (YES), the measurement of the relative time is ended (step S 821), and transition is made to the twelfth statement (symbol E 13).
相対時間を経過していない場合には(NO)、第9のステートメントに遷移させる。 If the relative time has not elapsed (NO), transition is made to the ninth statement.
<第9のステートメント>
第9のステートメントに遷移したときには、出力部220を消去し(ステップS823)、出力部220に「「危険だ」について質問はありませんか?」と出力する(ステップS825)。次いで、所定の画像(たとえば、所定の色の顔画像M1)を出力して(ステップS827)、10秒間待機する(ステップS829)。次いで、第2のステートメントに遷移させる(符号ES)。<The 9th statement>
When transitioning to the ninth statement, the
<第10のステートメント>
図9は、第10のステートメントに対応する処理を示す。上述した図6の処理(符号E11)によって、第10のステートメントに遷移する。<Tenth statement>
FIG. 9 shows a process corresponding to the tenth statement. A transition to the tenth statement is made by the process (symbol E11) in FIG. 6 described above.
第10のステートメントに遷移したときには、進捗指標を−2に設定する(ステップS911)。次いで、出力部220を消去し(ステップS913)、出力部220に「次の話題にシフトします」と出力する(ステップS915)。所定の画像(たとえば、所定の色の顔画像M1)を出力して(ステップS917)、3秒間待機する(ステップS919)。次いで、「大丈夫」という語を入力情報として、この語に対応する話題名に切り替える(ステップS921)。次いで、第2のステートメントに遷移させる(符号ES)。
When transitioning to the tenth statement, the progress indicator is set to -2 (step S911). Next, the
上述した処理によって、図13(d)に示すように、出力部220のテキストデータ表示領域に、「次の話題にシフトします」と表示される。このようにすることで、一の話題名のシナリオデータから他の話題名のシナリオデータに遷移することができる。
By the above-described process, as shown in FIG. 13D, the text data display area of the
<第11のステートメント>
図10は、第11のステートメントに対応する処理を示す。上述した図7の処理(符号E12)によって、第11のステートメントに遷移する。<Eleventh statement>
FIG. 10 shows a process corresponding to the eleventh statement. A transition to the eleventh statement is made by the process of FIG. 7 described above (symbol E12).
第11のステートメントに遷移したときには、進捗指標を−3に設定する(ステップS1011)。次いで、出力部220を消去し(ステップS1013)、出力部220に「次の話題にシフトします」と出力する(ステップS1015)。所定の画像(たとえば、所定の色の顔画像M1)を出力して(ステップS1017)、3秒間待機する(ステップS1019)。次いで、「危険だ」という語を入力情報として、この語に対応する話題名に切り替える(ステップS1021)。次いで、第2のステートメントに遷移させる(符号ES)。
When transitioning to the eleventh statement, the progress indicator is set to -3 (step S1011). Next, the
<第12のステートメント>
図11は、第12のステートメントに対応する処理を示す。上述した図8の処理(符号E13)によって、第12のステートメントに遷移する。<Twelfth statement>
FIG. 11 shows a process corresponding to the twelfth statement. A transition to a twelfth statement is made by the processing in FIG. 8 described above (symbol E13).
第12のステートメントに遷移したときには、進捗指標を−4に設定する(ステップS1111)。次いで、出力部220を消去し(ステップS1113)、出力部220に「時間になりました」と出力する(ステップS1115)。所定の画像(たとえば、所定の色の顔画像M1)を出力して(ステップS1117)、3秒間待機する(ステップS1119)。次いで、第13のステートメントに遷移させる(符号EE)。
When transiting to the twelfth statement, the progress index is set to -4 (step S1111). Next, the
<第13のステートメント>
図12は、第13のステートメントに対応する処理を示す。上述した図11の処理(符号EE)によって、第13のステートメントに遷移する。<13th statement>
FIG. 12 shows a process corresponding to the thirteenth statement. A transition to the thirteenth statement is made by the processing of FIG. 11 described above (symbol EE).
第13のステートメントに遷移したときには、出力部220を消去し(ステップS1211)、出力部220に「説明を終了します」と出力する(ステップS1213)(図8の1321)。所定の画像(たとえば、所定の色の顔画像M1)を出力して(ステップS1215)、3秒間待機する(ステップS1217)。次いで、別のステートメント(sta:200)に遷移させる。
When transition is made to the thirteenth statement, the
なお、図13(b)に示す状態で、ユーザが「やっぱり、政治が心配ですね」と入力した場合には(図13(c))、出力部220のテキストデータ表示領域に、「政治家は嘘をつかないので心配する必要はありません」と表示され(図13(c))、再び、図13(b)に示す状態に戻る。
In the state shown in FIG. 13 (b), when the user inputs “After all, you are worried about politics” (FIG. 13 (c)), “politician” is displayed in the text data display area of the
<シナリオデータの構成>
上述した第1〜第13のステートメントのように、本実施の形態では、シナリオデータは複数のステートメントからなる。一のステートメントに遷移して、その一のステートメントに基づく処理を実行したあと、他のステートメントに遷移して、そのステートメントに基づく処理を実行する。このようなステートメントの遷移とステートメントにおける処理とを繰り返していくことによって、ユーザに話題を提供していくことができる。このように、本実施の形態における話題提供システム1、会話制御端末装置2及び保守装置3では、シナリオデータ(複数のステートメント)が用いられる。ここでは、単一のステートメントの構成について説明する。<Structure of scenario data>
As in the first to thirteenth statements described above, in the present embodiment, scenario data consists of a plurality of statements. After transitioning to one statement and executing processing based on the one statement, transitioning to another statement is performed to execute processing based on the statement. By repeating such statement transition and processing in the statement, a topic can be provided to the user. As described above, scenario data (a plurality of statements) is used in the
上述した第1〜第13のステートメントのように、本実施の形態のステートメントは、遷移情報や判断などの各種の要素から構成される。ユーザに話題を提供するための制御や、ユーザとの会話の制御に必要な要素をステートメントに含めることができる。 As in the first to thirteenth statements described above, the statement of the present embodiment is composed of various elements such as transition information and judgment. The statement can include elements necessary for providing a topic to the user and controlling a conversation with the user.
識別情報は、ステートメントを識別するために付された情報である。ステートメントを遷移させるときに、この識別情報が参照される。1つのステートメントには、遷移先情報も含まれている。 Identification information is information attached to identify a statement. This identification information is referred to when transitioning a statement. One statement also includes transition destination information.
すなわち、1つのステートメントには、識別情報と遷移先情報との双方が含まれている。識別情報は、ステートメントを識別するための識別情報であり、そのステートメント自身を示す情報である。一方、遷移先情報は、次に遷移させるべきステートメントを指定するための情報である。識別情報及び遷移先情報は、他のステートメントから一のステートメントに遷移するときに用いられる情報である。すなわち、他のステートメントに定められている遷移先情報にしたがって、その遷移先情報と一致する識別情報のステートメントを探し、遷移先情報と一致した識別情報のステートメント(一のステートメント)に遷移させる。このように、識別情報と遷移先情報との双方を用いることによって、ステートメントを次々に遷移させていくことができる。 That is, one statement includes both identification information and transition destination information. The identification information is identification information for identifying a statement, and is information indicating the statement itself. On the other hand, transition destination information is information for specifying a statement to be transited next. Identification information and transition destination information are information used when transitioning from another statement to one statement. That is, according to transition destination information defined in another statement, a statement of identification information that matches the transition destination information is searched, and transition is made to a statement (one statement) of identification information that matches the transition destination information. In this way, statements can be made to transition one after another by using both identification information and transition destination information.
判断は、指標に基づく判断と時間に基づく判断とがある。指標に基づく判断は、指標が所定の条件を満たすか否かを判断するための判断である。指標が、所定の条件を満たした場合には真と判別し、所定の条件を満たさなかった場合には偽と判別して分岐させることができる。時間に基づく判断は、時間が所定の条件を満たすか否かを判断するための判断である。時間や時刻が、所定の条件を満たした場合には真と判別し、所定の条件を満たさなかった場合には偽と判別して分岐させることができる。 Judgment consists of judgment based on index and judgment based on time. The judgment based on the index is a judgment to determine whether the index satisfies a predetermined condition. When the index satisfies a predetermined condition, it is determined to be true, and when the index is not satisfied, it may be determined to be false and branch. The determination based on time is a determination to determine whether the time satisfies the predetermined condition. When the time or time satisfies the predetermined condition, it is determined as true, and when the predetermined condition is not satisfied, it is determined as false and it is possible to branch.
出力情報は、出力部220に出力するためのテキストデータである。なお、出力情報の画像データを指定する識別情報(たとえば、ファイル名など)を含ませることによって、出力情報によって画像も出力部220に出力することができる。
The output information is text data to be output to the
設定要素は、状態指標を設定するための要素である。設定された状態指標に基づいて、ステートメントを遷移させたり分岐させたりすることができる。 The setting element is an element for setting a state index. Statements can be transitioned or branched based on the set state indicator.
その他の要素として、たとえば、改行や消去などがある。改行は、出力部220においてテキストを改行して出力するためのものである。消去は、出力部220に出力したテキストや画像を消すためのものである。
Other elements include, for example, line feed and deletion. The line feed is for outputting a line feed of the text in the
出力制御要素は、上述した出力情報の出力を制御するための要素である。たとえば、出力情報を出力する時間を規定したり、出力情報の出力とともに出力する画像を規定したりすることができる。 The output control element is an element for controlling the output of the output information described above. For example, it is possible to specify a time for outputting output information, or to specify an image to be output together with the output of output information.
遷移先情報は、次の遷移先のステートメントを指定するための情報である。この遷移先情報に一致する識別情報を探し、その識別情報のステートメントに遷移させる。 The transition destination information is information for specifying the statement of the next transition destination. The identification information that matches this transition destination information is searched, and transition is made to the statement of the identification information.
話題切替情報は、話題名を切り替えるための要素である。本実施の形態のシナリオデータ(複数のステートメント)は、複数の話題名ごとに規定されている。すなわち、複数の話題名の各々にシナリオデータが対応するように、シナリオデータは規定されている。すなわち、本実施の形態では、複数の話題名の各々にシナリオデータが対応するように規定され、さらに、シナリオデータの各々は、複数のステートメントによって構成されている。 The topic switching information is an element for switching the topic name. Scenario data (a plurality of statements) of the present embodiment is defined for each of a plurality of topic names. That is, scenario data is defined such that scenario data corresponds to each of a plurality of topic names. That is, in the present embodiment, scenario data is defined to correspond to each of a plurality of topic names, and each of the scenario data is composed of a plurality of statements.
ユーザと会話で一の話題名で足りる場合には、一の話題名に対応するシナリオデータを使ってステートメントを次々に遷移させていけばよい。しかしながら、ユーザと会話が進むに従って、一の話題名から他の話題名に移す必要が生ずる場合も想定される。このような場合には、一の話題名に対応するシナリオデータでは十分に対応できなくなる。このため、複数の話題名の各々に対応するシナリオデータを予め規定しておくことによって、一の話題名から他の話題名に話題が移る必要が生じた場合でも、他の話題名に対応するシナリオデータに切り替えることができる。他の話題名に対応するシナリオデータも複数のステートメントによって構成されている。他の話題名に対応するシナリオデータのステートメントを次々に遷移させることで、他の話題名についてユーザと会話を進めることができる。 If one topic name is sufficient for conversation with the user, the statements may be transitioned one after another using scenario data corresponding to one topic name. However, it is also assumed that it becomes necessary to move from one topic name to another as the user's conversation progresses. In such a case, the scenario data corresponding to one topic name can not sufficiently cope. For this reason, by defining scenario data corresponding to each of a plurality of topic names in advance, even if it is necessary to move the topic from one topic name to another topic name, the other topic names are supported. It can be switched to scenario data. Scenario data corresponding to other topic names is also composed of a plurality of statements. By sequentially transitioning statements of scenario data corresponding to other topic names, it is possible to advance a conversation with the user for other topic names.
話題名を切り替える場合には、iWA30に記憶されている全てのシナリオデータを組み替えて、その話題名に対応するシナリオデータを生成する。組み替えたシナリオデータは、topiclet20のシナリオデータ記憶部270に記憶される。このシナリオデータの組み替えは、複数のステートメントの組み合せを話題名に応じて定めることで実行できる。
When switching the topic name, all scenario data stored in the
また、話題名を切り替えるか否かは、上述した性格指標に基づいて判断するのが好ましい。性格指標は、ある話題について、ユーザが積極的であるのか消極的であるのかを示す情報である。積極的な場合には、話題名を切り替えることなく話題を提供し続けることができると判断することができる。一方、消極的な場合には、話題名を切り替えて話題を提供しなければならないと判断することができる。 In addition, it is preferable to determine whether to switch the topic name based on the above-mentioned character index. The character index is information indicating whether the user is positive or negative about a certain topic. In the positive case, it can be determined that the topic can be continuously provided without changing the topic name. On the other hand, in the negative case, it can be determined that the topic name should be switched to provide a topic.
<<入力特定情報の実例>>
入力特定情報には、入力情報に対応する識別情報あるいは識別情報を特定するための情報が付加されており、この情報によりシナリオデータを起動することができる。<< Example of input specific information >>
Identification information corresponding to the input information or information for specifying the identification information is added to the input identification information, and scenario data can be activated by this information.
なお、図15では、図1〜図4における入力特定情報には、次に述べる話題紹介リストも含まれる。 In FIG. 15, the input specifying information in FIGS. 1 to 4 also includes a topic introduction list to be described next.
<<話題紹介リストの実例>>
図16は、話題紹介リストの構成の例を示す図である。<< Example of the topic introduction list >>
FIG. 16 is a diagram showing an example of the configuration of the topic introduction list.
<話題紹介リストの構成>
話題紹介リストは、関連詞集合と話題との組のリストである。関連詞集合は、話題に含まれている関連詞の集合である。関連詞の近傍は、ある関連詞Aに着目した場合に、関連詞Aを含む関連詞の集合である。関連詞の近傍系は、関連詞の近傍の集合である。関連詞の近傍数は、関連詞の近傍系の要素数である。関連詞の位相は、関連詞の近傍系を見ることによりわかるものである。話題解析を実施することにより、全ての関連詞の組に対して近傍系を表示できる。嗜好解析を実施することにより、関連詞の近傍系を嗜好順に表示することができる。話題紹介に関わるシナリオは、関連詞の近傍系に基づき話題の近さや繋がりに基づいて構成できるシナリオである。<Composition of topic introduction list>
The topic introduction list is a list of related word sets and topics. The related word set is a set of related words included in the topic. The neighborhood of a related word is a set of related words including the related word A when focusing on a certain related word A. The neighborhood system of related words is a set of neighborhoods of related words. The number of neighborhoods of related words is the number of elements in the neighborhood system of related words. The phase of related words can be found by looking at the neighborhood system of related words. By performing topic analysis, it is possible to display neighborhood systems for all sets of related words. By performing preference analysis, it is possible to display the neighborhood system of related words in order of preference. The scenario related to the topic introduction is a scenario that can be configured based on the proximity and connection of topics based on the neighborhood system of related words.
話題は、アクションとインデックスとが割り当てられたテキストである。アクションは、テキストをクリック等により起動する変化である。話題にはインデックスとしての関連詞集合が付加されている。インデックスをクリックするとインデックスに含まれる関連詞の関連詞仲間が表示される。 The topic is the text to which the action and the index are assigned. An action is a change activated by clicking a text or the like. The topic has a set of related words as an index. When you click the index, related words of related words included in the index are displayed.
<話題紹介リストの利用>
図17は、関連詞辞書や嗜好辞書などの関連詞構造が導入された関連詞により、話題紹介リストの話題は繋がっていることを示している。利用者は話題紹介リストの話題の繋がり方に着目して話題を検知することができる。<Use of topic introduction list>
FIG. 17 shows that the topics of the topic introduction list are connected by the related words into which related word structures such as a related word dictionary and a preference dictionary are introduced. The user can detect topics by focusing on how the topics in the topic introduction list are connected.
また、利用者は、話題紹介リストにおける関連詞構造を参考にしながら、関連詞に基づいて話題切替を実施することにより、多様な観点から話題を検知することが可能となる。 Also, the user can detect a topic from various points of view by performing topic switching based on the related words while referring to the related word structure in the topic introduction list.
<関連詞による話題切替>
話題に関わる応答情報を規定するシナリオデータにおいては、話題名による話題切替だけではなく、話題そのものを切り替えて紹介することが必要となる。話題解析は、話題紹介リストを介して、シナリオデータで話題そのものを切り替えるために必要な「関連詞と関連詞構造」を提供している。Topic switching by related words
In scenario data that defines response information related to a topic, it is necessary to switch and introduce the topic itself as well as the topic switching by topic name. The topic analysis provides "relevant verbs and relevant verb structures" necessary to switch the topic itself in the scenario data through the topic introduction list.
図17に示したように関連詞により話題の近さや繋がり方を見ることができるので、関連詞をシナリオデータで利用することにより、話題そのものの話題切替が実施できることになる。例えば、現在の話題に対して、内容の近い話題への話題切替や内容が繋がっている話題への話題切替などが実施できる。 As shown in FIG. 17, the closeness and connection of the topic can be seen by the relative word, so that the topic itself can be switched by using the relative word in the scenario data. For example, with respect to the current topic, topic switching to a topic close to the content or topic switching to a topic in which the content is connected can be performed.
また、関連詞に関連詞構造が導入されていることにより、関連詞を変数化した変数関連詞(例えば、最も頻度の高い関連詞、最も人気のある関連詞など)をシナリオデータで利用することにより、話題の多様な紹介が可能となる。 In addition, as the related words structure is introduced into the related words, use variable related words (for example, the most frequent related words, the most popular related words, etc.) in which the related words are variableized in the scenario data Enables various introductions of topics.
関連詞による話題切替ができることにより、利用者が話題紹介リストを用いて話題を検知する手作業を、話題提供システム1がシナリオデータを用いて話題提供サービスとして再現することができる。
By being able to switch the topic by using the related words, the
<<<話題解析>>>
次に、改めて、図15乃至図18に基づいて、図4における保守装置3に設けられた話題解析部について説明する。前述したように、保守装置3は、話題提供システム1の契約者がユーザに提供したい情報を含めて事前に作成するためのシナリオデータ検証部を構成している。そして、ユーザに提供したい情報(話題紹介リスト)を作成するためには必要が無いが、シナリオデータ検証部に対して前述した状態制御指標記憶部を加えることにより、この実施形態の保守装置3は、仮想的に前記会話制御端末装置2として機能させるための端末装置仮想構築部としても機能するように構成している。つまり、前記状態制御指標記憶部をシナリオデータ検証部に加えることにより端末装置仮想構築部を構成し、この端末装置仮想構築部が前述したtopiclet20とiWA Manager40とに相当する。<<< Topic analysis >>>
Next, the topic analysis unit provided in the
図15に図示されているように、本話題解析部によれば、話題を解析することが可能であるとともに、話題紹介リストの可視化を行うための出力を行うことができる。つまり、話題を関係付ける関連詞を介して、話題の近さや繋がり方を付与した話題リストを生成することが話題解析部で実行されるようにしている。また、保守装置3は、この話題解析部に加えて、話題リストと前記関連詞とを利用してユーザに話題を紹介するための話題紹介リスト(図17における話題リストに相当)、及びユーザの入力に応答するための入力関連シナリオを前記シナリオデータとして編集可能にするためのシナリオデータ編集部とを有していることも特徴としている。保守装置3の場合には、会話制御端末装置2に仮想的に構築しているので、ここでのユーザの入力はシミュレーター(担当者)の入力に相当する。
As illustrated in FIG. 15, according to the topic analysis unit, it is possible to analyze a topic and to perform an output for visualizing a topic introduction list. That is, the topic analysis unit is configured to execute generation of a topic list to which the proximity and connection of topics are given via the related words that relate topics. In addition to the topic analysis unit,
以下、前述した話題解析部における話題解析、話題紹介リストの生成、シナリオデータ編集部によるシナリオデータ編集について説明する。 The following describes topic analysis in the topic analysis unit described above, generation of a topic introduction list, and scenario data editing by the scenario data editing unit.
<<<話題解析に基づく応答の出力>>>
図15は、話題解析に基づいて応答情報を生成して応答情報を出力部に出力する過程を示す図である。図16は、話題紹介リストの構成の例を示す図である。図17は、話題の抽出、関連詞辞書の生成及び嗜好辞書の生成の過程を示す図である。話題解析は、話題解析部によって実行されて、サーバとしてのiWA30の嗜好辞書や関連詞辞書が構築される。保守装置3のCPU等で構成される制御部は、これらの辞書を利用して、契約者の担当者が入力した複数の話題(話題ネタ)の夫々に、話題に含まれる複数の関連詞を自動的に付与する。<<< output of response based on topic analysis >>>
FIG. 15 is a diagram showing a process of generating response information based on topic analysis and outputting the response information to an output unit. FIG. 16 is a diagram showing an example of the configuration of the topic introduction list. FIG. 17 is a diagram showing a process of topic extraction, generation of related word dictionary, and generation of preference dictionary. The topic analysis is executed by the topic analysis unit to build the
図15は、話題解析に基づいて応答情報を生成して応答情報を出力部に出力する過程を示す図である。 FIG. 15 is a diagram showing a process of generating response information based on topic analysis and outputting the response information to an output unit.
話題解析をした結果、iWA30によって、入力関連シナリオや話題紹介シナリオからシナリオデータを生成する。iWA30によって、識別情報などの要素から入力特定情報を生成する。iWA30によって、関連詞の集合と話題とから話題リストを生成する。
As a result of topic analysis, the
そして、生成したシナリオデータと入力特定情報と話題紹介リストとに基づいて応答情報を生成し、出力部220から応答情報を出力する。
Then, response information is generated based on the generated scenario data, the input identification information, and the topic introduction list, and the
このようにすることで話題解析から応答情報を生成し、応答情報を出力することができる。話題解析により応答情報を生成することにより、ユーザとの会話で用いる応答情報をユーザの各々に対して適切な内容にすることができ、ユーザとの会話をより円滑にすることができる。 By doing this, response information can be generated from topic analysis and response information can be output. By generating response information by topic analysis, the response information used in the conversation with the user can be made appropriate for each of the users, and the conversation with the user can be made smoother.
<話題紹介リストの構成>
図16は、話題紹介リストの構成の例を示す図である。<Composition of topic introduction list>
FIG. 16 is a diagram showing an example of the configuration of the topic introduction list.
話題紹介リストは、関連詞集合と話題との組のリストである。関連詞集合は、話題に含まれている関連詞の集合である。関連詞の近傍は、ある関連詞Aに着目した場合に、関連詞Aを含む関連詞の集合である。関連詞の近傍系は、関連詞の近傍の集合である。関連詞の近傍数は、関連詞の近傍系の要素数である。関連詞の位相は、関連詞の近傍系を見ることによりわかるものである。話題解析を実施することにより、全ての関連詞の組に対して近傍系を表示できる。嗜好解析を実施することにより、関連詞の近傍系を嗜好順に表示することができる。話題紹介に関わるシナリオは、関連詞の近傍系に基づき話題の近さや繋がりに基づいて構成できるシナリオである。 The topic introduction list is a list of related word sets and topics. The related word set is a set of related words included in the topic. The neighborhood of a related word is a set of related words including the related word A when focusing on a certain related word A. The neighborhood system of related words is a set of neighborhoods of related words. The number of neighborhoods of related words is the number of elements in the neighborhood system of related words. The phase of related words can be found by looking at the neighborhood system of related words. By performing topic analysis, it is possible to display neighborhood systems for all sets of related words. By performing preference analysis, it is possible to display the neighborhood system of related words in order of preference. The scenario related to the topic introduction is a scenario that can be configured based on the proximity and connection of topics based on the neighborhood system of related words.
話題は、アクションとインデックスとが割り当てられたテキストである。アクションは、テキストをクリック等により起動する変化である。話題にはインデックスとしての関連詞集合が付加されている。インデックスをクリックするとインデックスに含まれる関連詞の関連詞仲間が表示される。 The topic is the text to which the action and the index are assigned. An action is a change activated by clicking a text or the like. The topic has a set of related words as an index. When you click the index, related words of related words included in the index are displayed.
<話題の抽出、関連詞辞書の生成、嗜好辞書の生成>
図17は、話題紹介リストの作成と、嗜好辞書を用いたユーザのプロファイリング化とを示す図である。<Extraction of topic, generation of related words dictionary, generation of preference dictionary>
FIG. 17 is a diagram showing creation of a topic introduction list and profiling of a user using a preference dictionary.
前記話題紹介リストは、図17における保守装置3に設けられた表示装置の画面(符号1813と符号1811)に示されるような表示形態で可視化されて、関連詞辞書Fや外部のニュースソースから得た話題リストGをiWA30から抽出しつつ、担当者の入力による話題の手入力と、外部から取り入れた話題のデータ群からなる前記話題リストGに基づき保守装置3の制御によって自動的に話題を追加構築されていくものである。
The topic introduction list is visualized in a display form as shown on the screens (
話題紹介リストに話題(画面1813と1811の話題ネタ設定の欄)として入力され表示される内容の入力源は、第1に、契約者の担当者が、保守装置3の入力装置としての入力キーボードで話題ネタを直接にインプットして設定する第1形態と、iWA30が外部から収集したログデータ、たとえば、ツイッターやブログなどのネットワークを介して収集できるデータから前記保守装置3の入力装置で担当者が入力した話題に基づいて、自動的にiWA30が話題ネタを抽出する(1811)第2形態が存在する。抽出した話題から、話題紹介リストの候補となる話題閲覧リストのデータが生成される。iWA30は、保守装置3を通じて担当者が手入力した話題に対し、画面1815に表示するために、関連詞辞書Fを参照して、複数の関連詞がiWA30の制御の基で入力された話題に関連付けられる段階と、次に、担当者が手入力した話題に対して関連づけられた関連詞辞書をキーとして、iWA30が外部から収集した一般的なニュース群からなる話題リストGを参照し、担当者が入力した話題と関連する外部の話題を自動的にiWA30が抽出し、その抽出したデータを保守装置3が受信して画面1811に示すように表示する段階とを主な構成している。
First, the person in charge of the contractor is the input keyboard as the input device of the
そして、担当者は入力キーボードなどの直接的な入力装置による話題の入力と、外部からの情報をiWA30が予め蓄積した話題リストのデータベースから得られた話題を自動的な減数又は追加を繰り返しつつ話題紹介リストを構築するのである。
Then, the person in charge automatically performs topic reduction and addition while automatically inputting the topic by means of a direct input device such as an input keyboard and the topic list database in which the
一方、本実施例の保守装置3では、前述した話題紹介リストの生成に加えて、iWA30から得られた嗜好辞書Eを参照しつつ、入力された話題に対して、関連詞辞書Fに基づいて紐付された画面1815に表示される関連詞群と、他のユーザの応答履歴から生成されたユーザIDとユーザタイプと、関連詞とが関連付けられたユーザタイプリストのデータの関連詞を比較する。この比較によって、例えば、画面1817に示すように、ある話題に対する関連詞として抽出された「一番怖い」が、過去の他のユーザ履歴で構築された嗜好辞書Eを参照して、どのようなユーザタイプのユーザが入力した情報に、同じような関連詞が関連付けられたかを分析処理して表示して可視化を行うことができる。
On the other hand, in addition to the generation of the topic introduction list described above, the
この分析結果は同じ関連詞を入力したユーザを特定するためのユーザIDと、ユーザタイプ(例えば、昨日のお客)と、全てのユーザに共通する関連詞とともに記憶され、この記憶されたデータに基づいて、ユーザの嗜好を分析するために利用することができる。その利用の仕方としては、例えば、同じ嗜好を持つと考えられるようなユーザに、その嗜好に合致すると考えられる特定のサービスを、前記ユーザIDからユーザのメールアドレス等の送付先を特定できるので、送付先を特定して配信したり、サービス以外でも嗜好に合った話題を前記特定した送付先に提供したりするために利用することが可能となる。 This analysis result is stored together with the user ID for specifying the user who has input the same related words, the user type (for example, the customer of yesterday), and the related words common to all the users, and based on the stored data Can be used to analyze user preferences. As the method of use, for example, for a user who is considered to have the same preference, a specific service that is considered to match the preference can be specified from the user ID, and a delivery destination such as the user's email address can be specified. It becomes possible to specify the delivery destination and distribute it, or to provide a topic other than the service that suits the preferences to the identified delivery destination.
図18に示すのが、前述した保守装置3の第1形態による手入力によって話題が話題ネタ設定画面に入力されて、前記関連詞辞書、前記話題リストによって話題紹介リストを生成しサーバとしてのiWA30に出力するまでの処理の流れを示したものである。図17では、嗜好辞書を用いて入力された話題からユーザのプロファイルを行う処理を説明したが、このプロファイルを行う処理は話題紹介リスト生成とは異なる処理となるので、この図18のフローでは入力された話題からユーザのプロファイルを行う処理の説明を省略する。
As shown in FIG. 18, the topic is input to the topic topic data setting screen by the manual input according to the first form of the
図18を参照して、保守装置3の制御部は、保守装置3の表示画面に話題ネタの設定画面を表示して、話題の入力が前記担当者により実行されるのを待つ(S2000)。
Referring to FIG. 18, the control unit of
次に、入力画面に対して話題がキーボード等の入力装置を介して入力され、話題ネタ設定のスイッチが入力されたと判定された場合(S2001:YES)、サーバとしてのiWA30に対して、話題ネタ設定された話題ネタが送信され、この送信された話題ネタのデータの内容に応じて、関連詞辞書FからiWA30のCPUの制御の基で1つ以上の関連詞が抽出される。図17の画面1813の場合には、話題ネタとして「パニック議論ネタ」が保守装置3からiWA30に送信され、この「パニック議論ネタ」の内容からiWA30のCPUの制御の基で、「パニック」という関連詞が抽出される。そして、この関連詞「パニック」をキーとして、予めiWA30のデータベース内に存在する話題リストGのデータから、関連する話題を抽出すると、画面1813に図示されているように、話題リスト(選択話題数:1424 全話題数1424) スルーブット:17.25が表示される。この画面1813から見出せるのは、「パニック」という関連詞をキーとして、iWA30のCPUの制御の基で、1424の話題が抽出されて、最終的に話題紹介リストを構成する可能性のある1424個の話題とその話題に関連付けられた複数の関連詞が、保守装置3に受信されて画面1813に図示される。端的に説明すると、図17の画面1813の表示を行うための、「パニック」という関連詞をキーとして、複数の話題と、それぞれの話題に対して複数の代表関連詞が関連つけられたリストデータを表示するためのデータをiWA30から受信する(S2002)。
Next, when it is determined that a topic has been input via an input device such as a keyboard on the input screen and a switch for setting topic information has been input (S2001: YES), the topic data is sent to the
このような入力は、第1回目の「パニック」という関連詞をキーとして1424件の話題が話題紹介リスト候補として提供可能に生成され表示されたが、この数が多い場合は、可視化されている話題の内容を前記担当者が判断して、より目的となる話題紹介リストに採用する話題となるように絞込みを実行することができる。つまり、図18のフローを参照して、ステップS2004の話題紹介リストのリストデータとして確定させることなく、一定時間経過後にタイムアウトして、再度に、ステップS2001における追加の話題ネタの入力を実行することができる。例えば、画面1815では、第2回目の「安心します」という話題ネタを入力することによって、入力された代表関連詞と話題となる受信されたデータを表示したものであり、そこには、選択話題数136 全話題数1424)スループット:16.54と表示される。つまり、話題提供リストとして生成中のリストデータは、1424から136へ減数したということになる。これによって、前記担当者の意向に沿った話題提供リストに近い形態に改変されたことになる。
Such an input was generated and displayed as 1424 topics available as topic introduction list candidates with the first related word "panic" as a key, but if this number is large, it is visualized The person in charge can determine the content of the topic, and narrowing-down can be performed so as to be a topic to be adopted for the topic introduction list that is more targeted. That is, referring to the flow of FIG. 18, timeout is made after a predetermined time elapses and the input of the additional topic material in step S 2001 is executed again without confirming the list data of the topic introduction list in step S 2004. Can. For example, on the
さらに、新たな話題を担当者が思いつかないような場合には、その表示形態を関連詞中心とした表示形態に変更することができる。この表示形態は、画面1815に示されるように「条件設定:優先関連詞」を前記入力装置の操作によって入力することで、関連詞を優先したリスト形態で表示することができるようになっている。つまり、第2回目の話題に対して、iWA30のCPUの制御の基で付与した複数の関連詞は、図17の画面1815に示すように、136個の各話題(1,2,3・・・・,136)ごとの行に、複数の関連詞が複数列で表示される表示形態に切り替えることが可能となっている。この表示形態の切替は、前述したように、保守装置3の図示しない制御部は、前記入力装置の画面切替入力に応じて、行ごとに表示される話題ごとの関連詞を列方向に列挙する形態に表示変更する。前記担当者は、この表示形態から自らが作成しようとする話題紹介に適した関連詞を画面1815に表示される複数の関連詞から決定し、その関連詞を前記入力装置で入力することが可能である(S2001:YES)。この入力した状態を示すのが、画面1811であり、この場合は、関連詞「一番怖い」を新たな話題ネタとして入力した。そして、関連詞「一番怖い」を話題リストのデータベースをiWA30のCPUの制御の基で参照し、入力された話題ネタに基づいて、複数の関連詞と話題とからなる新たな話題紹介リストの候補としてのリストデータを受信し(S2002)、表示する(S2003)。
Furthermore, when the person in charge can not think of a new topic, the display form can be changed to a display form centered on the related words. In this display form, as shown in the
前記話題リストGは、サーバとしてのiWA30が外部からインターネットなどの外部情報収集手段によって集めた情報からなるリストである。そして、話題リストGの各話題には、複数の関連詞が予め関連付けてiWA30のデータベースに記憶されている。このように、この実施形態では、前記担当者の知識不足や能力不足で、話題を設定するバリエーションが陳腐なものとなる可能性があって、サーバとしてのiWA30話題リストから得た他の関連話題を抽出して、保守装置3の画面に話題そのものと、その話題に関連する複数の関連詞を表示することによって可視化することになるから、これらの話題リストから得た話題をベースに前述したように遷移する話題のバリエーションを豊富なものとできる可能性が高まるのである。
The topic list G is a list including information collected by an external information collection unit such as the Internet from the outside by the
前述したような話題提供リストの候補の改変は、入力完了の入力がなされる(S2004:YES)まで、所定時間が経過するとタイムアウトして、上述した話題を入力させるための入力画面を表示し、次の話題を待って、上記S200〜S2003の処理を順次繰り返す。 As for the modification of the topic provision list candidate as described above, the input completion for input completion is made (S2004: YES), and when a predetermined time elapses, a timeout occurs, and an input screen for inputting the above-mentioned topic is displayed. After waiting for the next topic, the processing of S200 to S2003 is sequentially repeated.
そして、入力完了の入力(S2004:YES)がなされると、サーバとしてのiWA30に対して話題紹介リストとしてのデータを出力する(S2005)。
Then, when the input completion is input (S2004: YES), data as a topic introduction list is output to the
<<<情報検索システムにおける技術的思想の概要>>>
本発明の情報検索システムは、図1に示すような話題提供システム1の仕組みを用いて、ユーザに、既知でない最新の話題を取得しうるキーワード(文字列)を提供するものである。最初に、本発明の情報検索システムにおける技術的思想の概要について、図19を参照して説明する。<<< Overview of technical ideas in information retrieval system >>>
The information search system of the present invention provides the user with a keyword (character string) capable of acquiring the latest unknown topic by using the mechanism of the
本発明の情報検索システムでは、個人が生成した風説情報等を含む外部ログ502から、文解析処理511、嗜好解析処理512、話題解析処理513を経て、話題を識別可能な重要な文字列(特定文字列)の関係性や分布状況を表示し、この表示をユーザが閲覧することによって話題(トピック)を把握することができる。外部ログ502の入力から特定文字列の表示の提供までが瞬時に行われる。特定文字列の例として、ここでは関連詞が用いられる。
In the information search system according to the present invention, an important character string (specification that can identify the topic through the
例えば、インターネット上のWEBページ等を検索した結果を話題情報ととらえると、この話題情報を圧縮・要約することにより、話題情報の要約である話題辞書が得られる。本発明の情報検索システムでは、話題辞書の圧縮は、上述した文解析処理511の前に行われる。例えば、WEBページ等を検索した結果のうち、タグやスクリプト文などを除いた、話題情報となりうるテキストデータだけが抽出され、そのように抽出されたテキストデータが文解析処理511の処理対象となる。
For example, when the result of searching a web page or the like on the Internet is regarded as topic information, a topic dictionary which is a summary of topic information can be obtained by compressing and summarizing the topic information. In the information search system of the present invention, the compression of the topic dictionary is performed before the above-described
より具体的な例では、企業情報(話題情報)は、個人が生成したテキストデータからなる、企業に関わる情報であり、これは、企業に関わる知識空間である。この知識空間を、上述の処理で、言語に関わる辞書を利用することなく圧縮・要約して、部分知識空間に変換する。このような処理により、結果的に、企業情報が識別できる分解テキストデータ(関連詞)の集合からなる辞書(企業に関わる部分知識空間)が得られる。この部分知識空間には、後述するように、関連詞同士の繋がりを表す情報が含まれる。 In a more specific example, company information (topic information) is information related to a company, which is text data generated by an individual, and this is a knowledge space related to a company. This knowledge space is compressed, summarized, and converted into a partial knowledge space without using a language dictionary in the above-described processing. As a result of this processing, a dictionary (a partial knowledge space related to a company) consisting of a set of decomposed text data (related words) that can identify company information is obtained. This partial knowledge space contains information representing the connection between related words, as described later.
会話制御端末装置2’’において、(例えば、会話制御端末装置2’’のユーザから)外部ログ502を収集するための条件が与えられ、上述した処理(文解析処理511、嗜好解析処理512、及び話題解析処理513)の処理結果として、会話制御端末装置2’’に関連詞が提供される。会話制御端末装置2’’は、例えば、PC(パーソナルコンピュータ)、スマートフォン、ロボットといった装置であり、会話制御端末装置2’’がPCであれば、処理結果の関連詞は、会話制御端末装置2’’のディスプレイに表示され、それらが、会話制御端末装置2’’のユーザに、瞬時に話題を把握するための情報として提供される。会話制御端末装置2’’は、上述の会話制御端末装置2や会話制御端末装置2’の変形例として構成される。
In the
上述の文解析処理511、嗜好解析処理512、及び話題解析処理513は、話題提供サーバ4’によって行われる。話題提供サーバ4’は、上述の話題提供サーバ4の変形例として構成される。
The
<<文解析処理の概要の説明>>
文解析処理511は、外部ログ502に含まれる文情報を、文字列の出現特性に基づいて解析し、関連詞503を選出する。<< Description of outline of sentence analysis process >>
The
文解析処理511は、外部ログ502から、形態素データのような事前に記憶・調製された辞書データを用いることなく、話題を識別可能な関連詞を選出(抽出)する。すなわち、外部ログ502に出現する共通の文字列を検索し、それらの文字列の直前の隣接文字の異なり度合い、及び直後の隣接文字の異なり度合いに応じて、関連詞を抽出する。
The
外部ログ502は、上述のように個人により作成した風説情報(例えば、所定のログフォーマットにより記憶されたデータ、インターネット上に公開されているWEBページ(ホームページ)やブログのテキストデータ、及びTWITTER(登録商標)のツイート情報)や、任意の機関によって事前に生成・編集されたデータやデータベース内のテキスト情報が含まれる。また、音声ファイル・動画ファイルから音声認識処理を経て取得されるテキストデータ等、様々なデータであってもよい。
The
また、外部ログ502は、収集条件によって収集されたデータである。例えば、キーワード検索の検索結果として示されたWEBページ(ホームページ)501に記載されているテキストデータや、ある属性を有するユーザのブログに記載された文や、TWITTERにおけるツイート情報などであってもよい。キーワード検索における検索条件等は、ユーザが、会話制御端末装置2’’から指定することができる。なお、1つの外部ログ502は、複数のテキストファイルを含むもの(例えば、1つのWEBサイトに含まれる複数のWEBページ(HTMLファイル)を含むもの)であってもよいし、1つのテキストファイルを分割した一部(例えば、1ファイルに含まれるテキストを1万ラインごとに分割したうちの1つ)であってもよい。
Also, the
<<嗜好解析処理の概要の説明>>
嗜好解析処理512は、文解析処理511によって抽出された関連詞について、それらの使われ方を内部ログ506に基づいて捉え、それらの重要性を判定する。<< Description of outline of preference analysis process >>
The
内部ログ506はユーザ(ユーザの所属する機関や組織等を含む)の嗜好を示すデータであり、例えば、所定のログフォーマットにより記憶されたデータである。内部ログ506は、例えば、ユーザによってどのような関連詞が利用される傾向にあるか等を示すデータを含む。このように、ユーザの嗜好に応じた重要度によって関連付けられた関連詞を、本明細書では、話題鍵(クラスタ)504と称する。
The
<<話題解析処理の概要の説明>>
話題解析処理513は、嗜好解析処理512によって生成された話題鍵504について、話題ネタ507に基づいて、その分布を捉え、互いに関連付けられた関連詞の分布をユーザに提供する。<< Description of outline of topic analysis processing >>
The
話題ネタ507は、上述のように、契約者の担当者が、保守装置3の入力装置で直接インプットして設定する場合と、話題提供サーバ4’が、保守装置3の入力装置で担当者が入力したキーワードに基づいて、外部から収集した外部ログ502(例えば、TWITTERやブログなどのネットワークを介して収集できるデータ)から自動的に抽出する場合等がある。
As described above, the
こうした話題解析処理513によって、話題のなかで関連詞がどのように分布しているかを示すことができ、会話制御端末装置2’’のユーザに合わせて関連詞を推奨するようにもできる。
By such
<<<情報検索システムの概要>>>
次に、図20を参照して、情報検索システムの概要について説明する。図20に示す情報検索システム100は、会話制御端末装置2’’、及び話題提供サーバ4’を含み、会話制御端末装置2’’と話題提供サーバ4’の間は、所定のネットワーク(LAN、インターネット、WAN、無線通信等)で接続される。<<< Overview of Information Retrieval System >>>
Next, an overview of the information search system will be described with reference to FIG. An information search system 100 shown in FIG. 20 includes a conversation
<<会話制御端末装置2’’の概要>>
会話制御端末装置2’’は、入力制御部21、検索制御部22、送信制御部23、受信制御部24、応答情報決定部25、出力制御部26、及びネットワークインタフェース(I/F)部27を含む。また、RAMのような主記憶装置、またはハードディスクや半導体メモリのような外部記憶装置に、シナリオデータ28を記憶する。<< Overview of Conversation Control Terminal Device 2 ''>>
The
入力制御部21は、会話制御端末装置2’’のユーザがキーボードやマウス等を用いて入力を受け付け、入力の内容に応じて入力データ等を対応する機能部に渡す。例えば、ユーザは、キーボードにより検索キーワードを入力したり、マウスにより興味のある関連詞の表示領域をクリックしたりする。
The
検索制御部22は、会話制御端末装置2’’で動作する一般的なWEBブラウザを含む。会話制御端末装置2’’は例えばインターネットに接続されており、ユーザがこのWEBブラウザを操作して、WEBページの検索(一般的に利用可能なインターネット検索)を行うと、検索制御部22は、得られた検索結果を送信制御部23に送信する。検索結果には、検索キーワードに関連するWEBページのアドレス(例えば、URL等のインターネットアドレス識別情報)が含まれている。
The
送信制御部23は、検索制御部22から検索結果を受信すると、これを、例えば、API送信により、入力情報として、話題提供サーバ4’の入力情報分析部41に送信する。
When the
受信制御部24は、話題提供サーバ4’の入力情報分析部41から送信される入力特定情報等を受信し、これを応答情報決定部25に供給する。
The
応答情報決定部25は、シナリオデータ28と入力特定情報とに基づいて応答情報を決定する。入力情報分析部41から、入力特定情報(例えば、関連詞の分布を表示するためのデータ)と当該表示に必要であると判断されたシナリオデータとに基づいて応答情報を決定する。
The response
出力制御部26は、応答情報決定部25により決定された応答情報を会話制御端末装置2’’に表示するよう制御する。
The
ネットワークインタフェース部27は、ネットワークを介して接続された話題提供サーバ4’との間のアクセスやデータ送受信、及びその他のコンピュータ(例えば、インターネットを介して接続されるインターネット検索エンジンを備えるサーバ等)との間のアクセスやデータ送受信を制御する。
The
シナリオデータ28は、図14に示すような、ユーザに提供する話題に関する応答情報を規定するためデータである。シナリオデータ28は、後述する話題提供サーバ4’のシナリオデータ55に予め記憶されているデータである。話題提供サーバ4’の入力情報分析部41によって生成された入力特定情報に基づいて必要であると判断されたシナリオデータが、シナリオデータ55から抽出され、抽出されたシナリオデータが、会話制御端末装置2’’のシナリオデータ28に記憶される。シナリオデータ55から抽出されたシナリオデータは、受信制御部24と応答情報決定部25の処理によってシナリオデータ28に記憶される。
The
話題提供サーバ4’のシナリオデータ55にすべてのシナリオデータを記憶させておき、異なる話題への遷移を規定する情報に基づいて、シナリオデータ55のシナリオデータから組み替え直したシナリオデータを生成し、組み替え直されたシナリオデータのみを会話制御端末装置2’’のシナリオデータ28に記憶することができる。
The
<<話題提供サーバ4’の概要>>
話題提供サーバ4’は、入力情報分析部41、及びネットワークインタフェース(I/F)部47を含む。また、RAMのような主記憶装置、またはハードディスクや半導体メモリのような外部記憶装置に、検索結果データ48、関連詞候補データ49、関連詞辞書50、嗜好データ51、関連詞・共起語データ52、話題データ53、比較結果データ54、及びシナリオデータ55が記憶される。なお、これらのデータは、様々なデータフォーマット、データ記憶形式をとることができる。<< Overview of Topic Providing Server 4 '>>
The
入力情報分析部41は、会話制御端末装置2’’から受信した入力情報を分析して入力特定情報を生成する。入力特定情報は、入力情報に含まれる各種の情報を分析した結果、生成される情報であり、例えば、後述する関連詞の分布などが含まれる。入力情報分析部41はさらに、外部ログ取得制御部42、文解析部43、嗜好解析部44、話題解析部45、及び情報更新部46を含む。
The input
外部ログ取得制御部42は、会話制御端末装置2’’から受信した入力情報が、外部ログ502を識別する識別情報(例えば、検索キーワードに関連するWEBページ501のアドレスを含む検索結果)である場合に、例えば、インターネット経由でその識別情報にアクセスし、対応するHTMLデータ等を取得する。また、会話制御端末装置2’’から受信した入力情報が、関連詞を抽出する対象となるテキストデータそのものを含んでいる場合は、そのデータを外部ログ502として文解析部43に提供する。
The external log
また、所定の間隔で自動起動されるクローラー(図39参照)から、外部ログ502を識別する情報(例えば、検索キーワードに関連するWEBページ501のアドレスを含む検索結果)を受信した場合は、当該外部ログ502にアクセスし、対応するデータを取得して、取得したデータを、関連詞辞書を比較するために情報更新部46に提供する。
When information identifying the external log 502 (for example, a search result including the address of the
文解析部43は、外部ログ取得制御部42によって取得された外部ログ502からテキストデータを取得し、文字列の出現特性に応じて当該テキストデータに含まれる重要な関連詞を抽出し、関連詞辞書50に記憶する。
The
嗜好解析部44は、文解析部43によって関連詞辞書50に記憶された関連詞について、嗜好データ51に基づいて重要性を判定し、判定結果を関連詞・共起語データ52に記憶する。嗜好データ51は、ユーザによる関連詞の利用態様を記憶した内部ログ506を含むデータである。
The
話題解析部45は、嗜好解析部44によって生成された関連詞・共起語データ52に記憶された関連詞について、話題データ53に基づいて、その分布を捉え、互いに関連詞を関連付け、関連詞・共起語データ52を更新する。話題データ53は、契約者の担当者がインプットして設定、または自動的に抽出された話題ネタ507を含むデータである。
The
情報更新部46は、異なる収集条件により収集されたテキストデータに基づいて、それぞれ関連詞を選出して関連詞辞書を生成し、こうして生成された関連詞辞書を比較し、比較結果を比較結果データ54に記憶する。
The
ネットワークインタフェース部47は、ネットワークを介して接続された会話制御端末装置2’’との間のアクセスやデータ送受信、及びその他のコンピュータ(例えば、インターネットを介して接続されるインターネット検索エンジンを備えるサーバ等)との間のアクセスやデータ送受信を制御する。
The
なお、この実施例では、情報検索システム100を、会話制御端末装置2’’、及び話題提供サーバ4’を含むシステムとして説明したが、会話制御端末装置2’’、及び話題提供サーバ4’を一体化させた1つのコンピュータとして構成することもできる。また逆に、同様の機能を、ネットワーク接続された3つ以上のコンピュータに分散させて実現することもできる。また、文解析部43を、1つの独立した文解析装置として構成することができ、同様に、情報更新部46を、1つの独立した情報更新装置として構成することができる。文解析装置と情報更新装置がネットワークを介して他の装置と接続され、上述の情報検索システム100を構成することができる。
In this embodiment, the information search system 100 is described as a system including the conversation control
<文解析部の概要>
次に、図21を参照して、文解析部43の概要について説明する。文解析部43では、テキストデータから同じ文字列を検索し、当該検索された同じ文字列についてそれぞれ、前の隣接文字の異なり度合いと後の隣接文字の異なり度合いを判定し、その判定された異なり度合いに基づいて、その検索された「同じ文字列」が、話題に関して重要性が高く、テキストデータを意味識別可能な関連詞であるか否かを決定する。前の隣接文字の異なり度合いとは、検索された「同じ文字列」の直前に出現する文字が、どの程度異なっているかを示す指標である。同様に、後の隣接文字の異なり度合いとは、検索された「同じ文字列」の直後に出現する文字が、どの程度異なっているかを示す指標である。<Outline of sentence analysis unit>
Next, the outline of the
ここで、例えば、検索された「同じ文字列」のうち、前の隣接文字の異なり度合いと後の隣接文字の異なり度合いが大きい文字列が、関連詞として決定される。このようにして決定された1つまたは複数の文字列は、必要に応じて、所定の記憶手段に記憶される。 Here, for example, among the “same character string” searched, a character string in which the degree of difference between the preceding adjacent character and the degree of difference between the subsequent adjacent character is large is determined as the associated word. The one or more character strings thus determined are stored in a predetermined storage means, as needed.
このような文字列の抽出は、テキストデータに含まれる複数の同じ文字列に注目したときに、それぞれの文字列の直前に位置する文字として多くのバリエーションの文字が出現するとともに、それぞれの文字列の直後に位置する文字として多くのバリエーションの文字が出現するという出現特性が認められる場合、その文字列が、独立した、よく用いられる用語である、との考えに基づくものである。このように、本発明の文解析部43では、文字列の運動学(kinematics)を基礎におく考えに基づいて文字列が抽出される。
In such character string extraction, when attention is focused on a plurality of identical character strings included in text data, characters of many variations appear as characters located immediately before each character string, and each character string In the case where the appearance characteristic that characters of many variations appear as characters immediately after is recognized, it is based on the idea that the character string is an independent and commonly used term. Thus, in the
ここで、「いろは」という文字列が100回出現する日本語テキストデータを仮定すると、この文字列「いろは」を100個検索し、それぞれの文字列「いろは」について、直前の文字が何かを調べる。その結果、「あ」や「い」を含む30通りの文字が出現するという事実が得られるものとする。このことは、例えば、「・・・あいろは・・・」や「・・・いいろは・・・」といった表現が、上記の日本語テキストデータに存在するということを示している。一方、それぞれの文字列「いろは」について、直後の文字が何かを調べる。その結果、「わ」や「ん」を含む20通りの文字が出現するという事実が得られるものとする。このことは、例えば、「・・・いろはわ・・・」や「・・・いろはん・・・」といった表現が、上記の日本語テキストデータに存在するということを示している。 Here, assuming Japanese text data in which the character string "Iroha" appears 100 times, 100 characters of this character string "Iroha" are searched, and for each character string "Iroha", the character immediately before is what Examine. As a result, it is assumed that the fact that 30 characters including "A" and "I" appear will be obtained. This indicates that, for example, expressions such as "... Airoha ..." or "... ... Yoroha ..." exist in the above-mentioned Japanese text data. On the other hand, for each string "Iroha", the character immediately after is examined. As a result, it is assumed that the fact that 20 characters including "wa" and "n" appear will be obtained. This indicates that, for example, expressions such as "... Irohawa ..." or "... Irohan ... ..." exist in the above-mentioned Japanese text data.
この場合、前の隣接文字の異なり度合いは、例えば、「あ」や「い」を含む30通りというバリエーションの数に基づいて判定され、後の隣接文字の異なり度合いは、例えば、「わ」や「ん」を含む20通りというバリエーションの数に基づいて判定される。ここで、前の隣接文字の異なり度合いと後の隣接文字の異なり度合いが大きいと判定された場合は、「いろは」という文字列の前後の文字が大きな多様性をもって変化しており、これによって文字列「いろは」が、独立した用語であって重要性の高い語である可能性が高いと判断され、関連詞として決定され、必要に応じて記憶手段に記憶される。前の隣接文字の異なり度合いと後の隣接文字の異なり度合いが大きいか否かは、共通の、または個別の判断基準により判断される。 In this case, the degree of difference between the preceding adjacent characters is determined based on, for example, the number of 30 variations including "A" and "I". The degree of difference between the subsequent adjacent characters is, for example, It is determined based on the number of variations of 20 ways including "N". Here, when it is determined that the degree of difference between the previous adjacent character and the degree of difference between the subsequent adjacent character are large, the characters before and after the character string "Iroha" are changed with great diversity, thereby It is determined that the column "Iroha" is likely to be an independent term and a high importance term, determined as a related term, and stored in storage means as needed. Whether the degree of difference between the preceding adjacent character and the degree of difference between the subsequent adjacent character is large is determined by common or individual judgment criteria.
文解析部43は、テキストデータ取得処理部43a、文字列検索処理部43b、異なり度合い判定処理部43c、及び関連詞決定処理部43dを備える。さらに、関連詞決定処理部43dには、関連詞決定部43d−1、及びランク付け管理部43d−2が含まれる。
The
テキストデータ取得処理部43aは、外部ログ502(処理の対象となるテキストデータ)を取得し、これを文字列検索処理部43bに提供する(後述の図25に示すテキストデータ取得処理520)。文字列検索処理部43bは、図25に示す文字列検索処理530を行う。異なり度合い判定処理部43cは、図25に示す異なり度合い判定処理540を行う。
The text
関連詞決定処理部43dは、関連詞を決定し、必要に応じて、決定された関連詞を関連詞辞書50に記憶する(図25に示す関連詞決定処理550)。
The related term
また、関連詞決定部43d−1は、外部ログ502に含まれる同じ文字列に関する前後の隣接文字の異なり度合い等から、当該同じ文字が関連詞であるか否かを決定する。ランク付け管理部43d−2は、1つの外部ログ502において、複数の関連詞が決定される場合に、必要に応じてその関連詞についてランク付けを行う。
Further, the related
<情報更新部の概要>
次に、図22を参照して、情報更新部46の概要について説明する。情報更新部46は、テキストデータ取得処理部46a、文字列抽出処理部46b、辞書比較処理部46c、及び比較結果出力部46dを備える。<Overview of Information Update Department>
Next, the outline of the
テキストデータ取得処理部46aは、外部ログ502(処理の対象となるテキストデータ)を取得し、これを文字列抽出処理部46bに提供する(後述の、図39に示すテキストデータ取得処理700)。文字列抽出処理部46bは、外部ログ502から関連詞を抽出し、これを、対応する関連詞辞書50に記憶する(図39に示す文字列抽出処理710)。文字列抽出処理部46bは、例えば、上述した文解析部43による処理と同様の処理である。
The text data
辞書比較処理部46cは、複数の関連詞辞書50を比較し、比較結果を比較結果データ54に記憶する(図39に示す辞書比較処理720)。
The dictionary
比較結果出力部46eは、比較結果データ54から表示すべき比較結果を取得し、これを含む入力特定情報を会話制御端末装置2’’に送信する。
The comparison result output unit 46e acquires the comparison result to be displayed from the
<<<本発明の情報検索システムをFAQ検索に適用した実施例の説明>>>
次に、本発明の一実施形態に係る情報検索システムを用いて、ユーザの指示に応じてFAQ検索の結果を表示するFAQ検索システムについて説明する。<<< Description of an embodiment in which the information search system of the present invention is applied to FAQ search >>>
Next, using the information search system according to the embodiment of the present invention, a FAQ search system will be described which displays the result of the FAQ search according to the user's instruction.
<<FAQ検索システムの画面遷移>>
図23には、FAQ検索システムの画面遷移が示されている。ユーザは最初に、会話制御端末装置2’’において所定の指示を行い、ディスプレイにFAQ検索画面600を表示させて、そこで所望の検索キーワードを(キーボード等を用いて)入力する。FAQ検索画面600は、例えば、図35(A)に示すような入力指示画面であり、FAQ検索画面600には、検索キーワード入力部601と「FAQ検索」ボタン602が表示されている。<< Screen transition of FAQ search system >>
FIG. 23 shows the screen transition of the FAQ search system. First, the user gives a predetermined instruction on the
ユーザがここで、検索キーワード入力部601に検索キーワード(図35(A)の例では、「ネットワーク」)を入力し、「FAQ検索」ボタン602をマウス等でクリックすると、FAQ候補表示画面610が表示される。FAQ候補表示画面610は、例えば、図35(B)に示すような表示画面であり、関連詞索引表示部611、候補質問文表示部612、及び「FAQ検索画面に戻る」ボタン613が表示されている。候補質問文表示部612に示された質問は、すべて「ネットワーク」に関するもので、ユーザが入力した検索キーワードに基づいて検索された結果が表示されている。関連詞索引表示部611に示された関連詞の集合は、それぞれ対応する質問に含まれる関連詞の集合である。ユーザがここで、「FAQ検索画面に戻る」ボタン613をクリックすると、会話制御端末装置2’’のディスプレイの表示がFAQ検索画面600に戻る。
Here, when the user inputs a search keyword ("Network" in the example of FIG. 35A) in the search
FAQ候補表示画面610において、ユーザが候補質問文表示部612に表示された候補質問文のうちの1つをマウスのクリック等によって選択すると(矢印(1))、FAQ表示画面630が表示される。FAQ表示画面630は、例えば、図36に示すような表示画面であり、質問表示部631、関連詞索引表示部632、回答表示部633、及び「FAQ候補表示画面に戻る」ボタン634が表示されている。ユーザがここで、「FAQ候補表示画面に戻る」ボタン634をクリックすると、会話制御端末装置2’’のディスプレイの表示がFAQ候補表示画面610に戻る。
In the FAQ
FAQ候補表示画面610において、ユーザが関連詞索引表示部611に表示された関連詞索引のうちの1つをマウスのクリック等によって選択すると(矢印(2))、関連詞・共起語一覧表示画面650が表示される。関連詞・共起語一覧表示画面650は、例えば、図37に示すような表示画面であり、NO表示部651、関連詞表示部652、近傍関連詞表示部(653〜656)、及び「FAQ候補表示画面に戻る」ボタン657が表示されている。ユーザがここで、「FAQ候補表示画面に戻る」ボタン657をクリックすると、会話制御端末装置2’’のディスプレイの表示がFAQ候補表示画面610に戻る。
In the FAQ
関連詞・共起語一覧表示画面650において、ユーザが関連詞表示部652または近傍関連詞表示部(653〜656)に表示された関連詞のうちの1つをマウスのクリック等によって選択すると、FAQ検索画面660が表示される。FAQ検索画面660は、例えば、図38(B)に示すような表示画面であり、これは、図35(A)に示すFAQ検索画面600と実質的に同様のものであり、画面制御が元に戻ったことを示している。そして、FAQ検索画面660の検索キーワード入力部661には、検索キーワードとして、関連詞・共起語一覧表示画面650で選択した関連詞(例えば、図37の例では、「SNS」)が、自動的にセットされる。
When the user selects one of the related words displayed in the related
ユーザがこの状況で、「FAQ検索」ボタン662をクリックすると、再び、FAQ候補表示画面610が表示され、今度は、「SNS」に関する質問文が、候補質問文表示部612に示される。
In this situation, when the user clicks the “FAQ search”
<<FAQ候補表示画面の表示処理に関する説明>>
次に、図24を参照して、FAQ候補表示画面の表示処理について説明する。図24は、FAQ候補表示画面の表示処理を表すフローチャートであり、会話制御端末装置2’’と話題提供サーバ4’においてそれぞれどのような処理が行われるかを示している。会話制御端末装置2’’では、例えば、上述したTopiclet20によって各処理が行われ、図35〜図38に示した、会話制御端末装置2’’のディスプレイへの画面表示は、ここでは、Topiclet20によって、またはTopiclet20の制御によって動作するWEBブラウザ等によって行われる。<< Description about display processing of FAQ candidate display screen >>
Next, the display processing of the FAQ candidate display screen will be described with reference to FIG. FIG. 24 is a flowchart showing the display processing of the FAQ candidate display screen, and shows what processing is performed in the conversation control
最初に、ステップS11において、ユーザがFAQ検索画面600で「FAQ検索」ボタン602をクリックしたか否かが判定される。「FAQ検索」ボタン602がクリックされない間は(NO)、この判定が繰り返される。「FAQ検索」ボタン602がクリックされた場合(YES)、ステップS12において、ユーザによって検索キーワード入力部601に入力された検索キーワードによる検索結果を入力情報として話題提供サーバ4’に送信する。この実施例においては、検索結果は、一般的なインターネット検索サイトでキーワード検索を行った結果であり、Topiclet20は、このインターネット検索サイトでの検索を制御し、検索結果をAPI送信により話題提供サーバ4’に送信する。検索結果は、例えば、当該キーワード検索にヒットしたWEBページのアドレスである。
First, in step S11, it is determined whether the user has clicked the “FAQ search”
話題提供サーバ4’が会話制御端末装置2’’から入力情報を受け取ると、ステップS13において、入力情報を分析し、入力情報に含まれるWEBページのアドレスにアクセスして、WEBページに対応するHTMLデータ等から、対象となるテキストデータとなる外部ログ502を取得する。
When the
次に、話題提供サーバ4’は、ステップS14において、取得した外部ログ502に対して文解析処理を実行し、外部ログ502から関連詞を抽出する。文解析処理については、後で詳細に説明する。
Next, in step S14, the topic providing server 4 'executes a sentence analysis process on the acquired
その後、話題提供サーバ4’は、ステップS15において、ステップS14で外部ログ502から抽出された関連詞から、関連詞辞書50を生成する。関連詞辞書50には、外部ログ502内のそれぞれの文情報に対する関連詞索引50aが含まれる。
Thereafter, in step S15, the topic providing server 4 'generates the
次に、話題提供サーバ4’は、ステップS16において、FAQ候補表示画面610に表示するために、関連詞辞書50から関連詞索引50a等を取得し、これらの情報を入力特定情報として会話制御端末装置2’’に送信する。
Next, in step S16, the
会話制御端末装置2’’は、話題提供サーバ4’から入力特定情報を受信すると(ステップS17)、ステップS18において、受信した入力特定情報とシナリオデータ28に基づいて、応答情報を決定する。なお、話題提供サーバ4’は、必要に応じてシナリオデータ55を会話制御端末装置2’’に送信し、会話制御端末装置2’’はこれをシナリオデータ28に記憶する。
When the conversation control
次に、ステップS19において、ステップS18で決定された応答情報を会話制御端末装置2’’のディスプレイに表示する。例えば、図35(B)に示すようなFAQ候補表示画面610が表示さる。この実施例では、例えば、候補質問文表示部612には、収集された質問文の一部(Q1、Q8、Q13、Q24、Q25)が候補質問文としてリスト表示される。また、関連詞索引表示部611には、候補質問文として表示された質問文にそれぞれ対応する関連詞索引が示されている。
Next, in step S19, the response information determined in step S18 is displayed on the display of the conversation control terminal device 2 ''. For example, a FAQ
<<文解析処理の詳細な説明>>
次に、図25を参照して、話題提供サーバ4’の文解析部43(図20、図21参照)で実行される文解析処理の概要を説明する。最初に、文解析部43は、テキストデータである外部ログ502を取得する(テキストデータ取得処理520)。外部ログ502は、前述のように、様々なデータソースから受信することができる。この実施例では、会話制御端末装置2’’から受信したWEBページのアドレスに基づいて、各WEBページにアクセスし、対応するHTMLデータ等からテキストデータを取得している。また、取得した外部ログ502、または外部ログ502を取得する際に、特定のテキストデータだけを取得するようフィルタ処理を行ったり、特定の分類によりグルーピングをしたりすることもできる。<< detailed explanation of sentence analysis processing >>
Next, with reference to FIG. 25, an outline of the sentence analysis process executed by the sentence analysis unit 43 (see FIGS. 20 and 21) of the
次に、文解析部43は、テキストデータ取得処理520により取得された外部ログ502から、同じ(共通の)文字列を検索する(文字列検索処理530)。この処理は、例えば、取得した外部ログ502の中の「いろは」という同じ文字列を検索し、取り出す処理である。1つのテキストデータに100個の文字列「いろは」が存在する場合は、そのすべてが取り出される。また、テキストデータの中には、「いろは」以外にも同じ文字列が複数存在する可能性があるが、その場合は、それらの文字列も同様に検索して取り出す。例えば、文字列「いろは」の他に、文字列「にほへと」が複数含まれていれば、その文字列も同様に取り出される。なお、文字列「いろはに」などのように、同じ文字列としてすでに取り出されている「いろは」をそのまま含む文字列が複数ある場合も、文字列「いろは」とは別に、同じ文字列として検索される。
Next, the
文字列検索処理530はさらに、同じ文字列として検索された文字列を、それぞれ、その文字列の前の隣接文字と後の隣接文字とともに、検索結果データ48に記憶する。検索結果データ48に記憶されるデータは、例えば、上記の例の文字列「いろは」については、100個のそれぞれの「いろは」について、文字列「いろは」、「いろは」の前の隣接文字、及び「いろは」の後の隣接文字を含むデータである。上述した例の場合、文字列「にほへと」や文字列「いろはに」についても同様に、それらの文字列と、前の隣接文字、及び後の隣接文字が検索結果データ48に記憶される。
The character
このように、文字列検索処理530において、同じ文字列が検索された場合に、その文字列と、前後の隣接文字を記憶するのは、最終的に、重要な意味を持つ関連詞を決定するためであるが、外部ログ502のなかに同じ文字列が複数存在する場合であっても、その出現頻度が所定の頻度に達しない場合は、この時点で、関連詞として決定される可能性がないとの判断を行い、その文字列に関するデータを検索結果データ48として記憶しないようにすることができる。多くの文字からなる外部ログ502において、わずかな回数しか出現しない語(文字列)は、そもそも重要性が高くないと判断できるからである。
Thus, when the same character string is searched in the character
また、文字列検索処理530において、外部ログ502から同じ文字列を検索し記憶するために、本実施形態では、サフィックスアレイ(Suffix Array:接尾辞配列)という検索用データ構造を用い、これを二分探索(Binary Search)により検索することで、同じ文字列を高速に検索している。なお、本実施形態では、上記のような方法により、文字列検索処理530を行っているが、他の様々な方法を採用して、同様の検索処理を行うことができる。サフィックスアレイと二分探索を用いた文字列検索処理530の処理については、後で詳細に説明する。
Further, in the character
次に、文解析部43は、文字列検索処理530によって検索結果データ48に記憶された文字列とその前後の隣接文字の内容から、前の隣接文字の異なり度合いと後の隣接文字の異なり度合いを判定する(異なり度合い判定処理540)。
Next, the
ここで、1つの文字をs(i)と表し、
s(i)〜s(j)より構成される文字列m(i,j)を、
m(i,j)=(s(i),s(i+1),s(i+2),・・・s(j−2),s(j−1),s(j))と表し、
s(i)〜s(j−1)より構成される文字列m(i,j−1)を、
m(i,j−1)=(s(i),s(i+1),s(i+2),・・・s(j−2),s(j−1))と表し、
s(i+1)〜s(j)より構成される文字列m(i+1,j)を、
m(i+1,j)=(s(i+1),s(i+2),・・・s(j−2),s(j−1),s(j))と表す。Here, one character is represented as s (i),
A character string m (i, j) composed of s (i) to s (j),
m (i, j) = (s (i), s (i + 1), s (i + 2),... s (j-2), s (j-1), s (j)),
A character string m (i, j-1) composed of s (i) to s (j-1) is
m (i, j-1) = (s (i), s (i + 1), s (i + 2), ... s (j-2), s (j-1)),
A character string m (i + 1, j) composed of s (i + 1) to s (j) is
m (i + 1, j) = (s (i + 1), s (i + 2),..., s (j-2), s (j-1), s (j)).
この場合、前の隣接文字に関する境界条件は、
T(i−1)={S(i−1)|m(i,j)}
T(i)={S(i)|m(i+1,j)}
で定義され、
後の隣接文字に関する境界条件は、
B(j)={S(j)|m(i,j−1)}
B(j+1)={S(j+1)|m(i,j)}
で定義される。In this case, the boundary condition for the previous adjacent character is
T (i-1) = {S (i-1) | m (i, j)}
T (i) = {S (i) | m (i + 1, j)}
Defined by
The boundary conditions for the later adjacent characters are
B (j) = {S (j) | m (i, j-1)}
B (j + 1) = {S (j + 1) | m (i, j)}
Defined by
ここで、例えば、{S(i−1)|m(i,j)}は、文字列m(i,j)を共通とし、その直前に出現する文字の集合を意味する。なお、ここで、s(i)∈T(i)、及びs(j)∈B(j)が成立する。 Here, for example, {S (i-1) | m (i, j)} makes the character string m (i, j) common, and means a set of characters appearing immediately before that. Here, s (i) ∈T (i) and s (j) ∈B (j) hold.
例えば、T(i−1)の要素数が多く、T(i)の要素数が1の場合、s(i)が関連詞の先頭になる可能性が高く、一方、B(j)の要素数が1で、B(j+1)の要素数が多い場合、s(j)が関連詞の末尾になる可能性が高く、結果的に、文字列m(i,j)は、関連詞の候補として判断される。 For example, if the number of elements of T (i-1) is large and the number of elements of T (i) is 1, s (i) is likely to be the beginning of the related words, while elements of B (j) When the number is 1 and the number of elements in B (j + 1) is large, s (j) is likely to be the end of the related words, and as a result, the string m (i, j) is a candidate of related words It is judged as
このように、同じ文字列について、それらの前(または後)の隣接文字の出現態様、すなわち、隣接文字がどれくらいのバリエーションで出現するかに基づいて、同じ文字列についての隣接文字に関する異なり度合いを判定する。前後の隣接文字に関する異なり度合いが判定されると、判定された異なり度合いは、対応する文字列とともに、関連詞候補データ49に記憶される。なお、異なり度合い判定処理540の処理は、後で詳細に説明する。
Thus, for the same character string, the degree of difference regarding the adjacent character for the same character string is determined based on the appearance of the adjacent characters before (or after) those characters, that is, how many variations the adjacent character appears. judge. When the degree of difference regarding the adjacent characters before and after is determined, the determined degree of difference is stored in the related
次に、文解析部43は、異なり度合い判定処理540により判定された、同じ文字列の前後の隣接文字に関する異なり度合いに基づいて、その同じ文字列が関連詞であるか否かを決定し、関連詞であると決定された場合、その文字列を関連詞辞書50に記憶する(関連詞決定処理550)。
Next, the
上述のように、同じ文字列について、それらの前後の隣接文字にどのようなバリエーションがあるかを見ると、隣接文字の出現要素数が小さい場合、その隣接文字と「同じ文字列」は一体となって、よく使われる別の文字列を形成していると考えることができ、他方、隣接文字の出現要素数が大きい場合は、隣接文字と「同じ文字列」が区切られ、その「同じ文字列」が独立した用語であって重要性の高い語である可能性が高いと考えられる。また、その「同じ文字列」が関連詞であるか否かは、前の隣接文字の異なり度合いと後の隣接文字の異なり度合いのほかに、さらなる要素を考慮して決定することができる。こうした、関連詞決定処理550については、後で詳細に説明する。
As mentioned above, if you look at what kind of variation there is in the adjacent characters before and after the same character string, if the number of appearance elements of the adjacent character is small, the adjacent character and the "same character string" Can be considered to form another commonly used character string, while if the number of appearance elements of the adjacent character is large, the “same character string” is separated from the adjacent character, and the “same character It is highly probable that the column is an independent term and a high importance term. Further, whether or not the “same character string” is a related word can be determined in consideration of additional factors in addition to the degree of difference of the preceding adjacent character and the degree of difference of the subsequent adjacent character. The related
さらに、関連詞決定処理550では、関連詞が複数決定された場合に、関連詞として決定された文字列の間でランク付けを行うようにすることができる。こうしたランク付けは、例えば、文字列の重要度に関するランク付けであり、その文字列に関する、前後の隣接文字の異なり度合いのほかに、さらなる要素を考慮して決定することができる。例えば、文字列の文字長、出現頻度等に基づいてランク付けがされうる。また、順位を示すだけでなく、相対的な程度の差を表すことができるように、数値によってランク付けを行うこともできる。
Furthermore, in the related
<具体的な外部ログの例に対する文解析処理の説明>
図26は、外部ログ502の一例である外部ログ502aを示している。外部ログ502aは、図26(A)に示すように、検索キーワードによる検索結果として、質問文の記載部分に「ネットワーク」を含む文情報だけが集められたものであり、元のデータは、例えば、インターネット上の様々なサーバにおいて様々な利用者によって書き込まれた問題解決のためのテキストデータである。これらのテキストデータの代表的な例としては、インターネット上に公開されているWEBページ(ホームページ)やブログのテキストデータ、及びTWITTERのツイート情報などがある。また、任意の機関によって事前に生成・編集されたデータやデータベース内のテキスト情報が含まれてもよい。元のデータでは、質問文(Q(質問))と回答文(A(回答))とが1対1に対応するよう構成されているものとする。なお、ここでは、質問文の記載部分に文字列「ネットワーク」が含まれる文情報のみを元のデータから抽出しているが、質問文と回答文の記載部分に文字列「ネットワーク」が含まれる文情報を抽出するなど、様々なバリエーションを考えることができる。<Explanation of sentence analysis process for specific external log example>
FIG. 26 shows an external log 502 a which is an example of the
ここで、文解析部43による文解析処理が行われると、図26(A)に示した外部ログ502aがテキストデータ取得処理520によって取得され、その後、上述した文字列検索処理530、異なり度合い判定処理540、及び関連詞決定処理550が行われると、図26(B)に示すように、抽出された文情報の質問文について、それぞれ複数の関連詞が抽出されている。例えば、質問文のうち、Q1については、「ネットワーク」、「トラブル」、「対応」、及び「設定」が選出されている。Q1の質問の記載において、検索キーワードに相当する「ネットワークには」下線が付され、他の関連詞は矩形で囲まれている。また、Q1の質問の記載に対応する、抽出された関連詞の集合として、{ネットワーク、設定、トラブル、対応}が示されている。この関連詞の集合は、関連詞決定処理550に関して上述したランク付けの順に記載されている。
Here, when the sentence analysis process is performed by the
同様に、Q8については、「ネットワーク」、「設定」、及び「事象別に」が選出されている。Q8の質問の記載において、検索キーワードに相当する「ネットワークには」下線が付され、他の関連詞は矩形で囲まれている。また、Q8の質問の記載に対応する、抽出された関連詞の集合として、{ネットワーク、設定、事象別に}が示されている。また、ここで、質問文だけでなく、回答文の記載内容に関しても関連詞を抽出し、関連詞索引に含めるように構成することもできる。 Similarly, for Q8, "network", "setting" and "by event" are selected. In the description of the question in Q8, the "network" corresponding to the search keyword is underlined, and the other related words are enclosed in a rectangle. In addition, {network, setting, by event} is shown as a set of extracted related words corresponding to the description of the question in Q8. Further, it is also possible to extract relevant words not only for the question sentences but also for the description contents of the answer sentences and include them in the related vocabulary index.
このような関連詞決定処理550によって生成された関連詞辞書50の例が、図27(A)に示されている。関連詞索引50aとして、図26(B)に示した、それぞれの質問に関する関連詞の集合がそのまま記憶されている。関連詞辞書50としては、こうした関連詞索引50aのみを記憶しておけば十分な場合もあるが、この実施例では、関連詞索引に対応する質問文を質問文50bに記憶し、さらに、その質問文50bに対応する回答を、回答文50cに記憶する。
An example of the
関連詞辞書50に記憶された関連詞索引50aは、図27(A)に示すように、対応する文情報にそれぞれ対応付けて記憶されることにより、1の関連詞の集合と他の関連詞の集合との間で共通する関連詞を介して、他の集合に属する関連詞同士が関連付けられることになる。例えば、図27(B)に示すように、質問文のうち、Q1の質問についての関連詞の集合として、{ネットワーク、設定、トラブル、対応}が把握され、質問文のうち、Q8の質問についての関連詞の集合として、{ネットワーク、設定、事象別に}が把握される場合、(検索キーワードである関連詞「ネットワーク」を除いて)共通している関連詞「設定」が存在し、それによって、関連詞「設定」と関連する関連詞(共起関連詞ということもできる)が{トラブル、対応、事象別に}であることが把握され、さらに、関連詞「トラブル」や「対応」が関連詞「事象別に」と関連する、すなわち、共に、関連詞「設定」と共起するという共通点を有しているという点で関係性を有していることが把握される。
As shown in FIG. 27A, the related-
このような、関連詞同士の関係性は、この実施例では、検索キーワード「ネットワーク」で収集された外部ログ502aの文情報の間で見られたものであるが、まったく異なる検索キーワードで収集された文情報の関連詞同士に、このような関連性を見いだすことができる場合もあり、この場合に、潜在的な話題の関係性を発見することもできる。 Such a relation between related words is found between the sentence information of the external log 502a collected by the search keyword "network" in this embodiment, but is collected by a completely different search keyword. In some cases, it is possible to find such a relation between related words of sentence information, and in this case, it is also possible to find a relation of potential topics.
<文解析部における文字列検索処理の詳細な説明>
図28ないし図30を参照して、文字列検索処理530を説明する。図28は、文字列検索処理530の処理手順を表すフローチャートである。図29、図30は、サフィックスアレイと二分探索を用いた文字列検索の仕組みを示す図であり、検索対象の文字列として、例えば、外部ログ502の文字列の一部である「このコードがコードリストにある」とのテキストデータ502−1が設定される。通常は、外部ログ502のテキスト部分すべてが検索対象となるが、ここでは、例示のため、テキスト部分の一部としている。<Detailed Description of Character String Search Processing in Sentence Analysis Unit>
The character
最初に、文字列「このコードがコードリストにある」のなかから同じ文字列を検索するために、サフィックスアレイを作成する。図28のステップS21において、テキストデータの最初の文字から最終の文字まで、サフィックスを展開する。ここで、図29を参照すると、図29(A)に示された、検索対象のテキストデータ502−1(「このコードがコードリストにある」)から、図29(B)に示すように、1〜15までのインデックスが付されたサフィックスが展開されている。それぞれのサフィックスは、検索対象のテキストデータ502−1において、インデックスの位置(開始文字位置)から末尾までの文字列であり、例えば、インデックス「1」については、検索対象のテキストデータ502−1の1文字目から末尾(15文字目)までの文字列「このコードがコードリストにある」が示されている。また、インデックス「10」については、検索対象のテキストデータ502−1の10文字目から末尾(15文字目)までの文字列「リストにある」が示されている。最後のインデックス「15」については、末尾である15文字目の文字「る」が示されている。 First, a suffix array is created to search for the same string in the string "this code is in the code list". In step S21 of FIG. 28, suffixes are expanded from the first character of the text data to the last character. Here, referring to FIG. 29, as shown in FIG. 29 (B), the text data 502-1 to be searched (“this code is in the code list”) shown in FIG. 29 (A). The suffixes indexed from 1 to 15 are expanded. Each suffix is a character string from the position of the index (start character position) to the end in the text data to be searched 502-1, and for example, for the index "1", the text data to be searched is 502-1. A string from the first character to the end (15th character) "This code is in the code list" is shown. Further, for the index “10”, a character string “in the list” from the 10th character to the end (15th character) of the text data 502-1 to be searched is shown. For the last index "15", the character "Ru" at the end of the 15th character is shown.
次に、図28のステップS22において、展開されたサフィックスを所定順序でソートし、サフィックスアレイを作成する。ここで、図29を参照すると、図29(B)に示されたサフィックスがソートされ、ソート後のサフィックスアレイが図29(C)に示されている。ソートは、例えば、各文字に対応する文字コード(この例ではJISコード)によって行われ、1レコード目から4レコード目にかけて、1文字目が、「ー」(JISコード=213C)、「あ」(JISコード=2422)、「が」(JISコード=242C)のように、当該文字コード順にソートされていることが分かる。1レコード目と2レコード目は、1文字目と2文字目が同じであるが、3文字目が「が」と「リ」で異なり(「が」(JISコード=242C)、「リ」(JISコード=256A))、それによって、1レコード目が最初に配置されている。なお、インデックスは、図29(B)のインデックスが、対応するレコードに付随してそのまま付与されている。 Next, in step S22 of FIG. 28, the expanded suffixes are sorted in a predetermined order to create a suffix array. Here, referring to FIG. 29, the suffixes shown in FIG. 29 (B) are sorted, and the suffix array after sorting is shown in FIG. 29 (C). Sorting is performed, for example, by a character code (JIS code in this example) corresponding to each character, and from the first record to the fourth record, the first character is "-" (JIS code = 213C), "A" As shown in (JIS code = 2422) and “GA” (JIS code = 242C), it is understood that the character codes are sorted in the order of the character codes. The first and second records have the same first and second characters, but the third character is different in "ga" and "ri" ("ga" (JIS code = 242C), "ri" ( JIS code = 256A)), whereby the first record is placed first. The index shown in FIG. 29B is attached as it is to the corresponding record.
次に、図28のステップS23において、順次、テキストデータ内から検索文字列を1つずつ決定する。これは、テキストデータ内に同じ文字列があるかどうかを検索するのであるから、テキストデータ内のすべての部分文字列を検索文字列として、テキストデータと照合する。例えば、図29の検索対象のテキストデータ502−1に関しては、1文字の検索文字列「こ」〜「る」、2文字の検索文字列「この」、「のコ」、・・・、「にあ」、「ある」、3文字の検索文字列「このコ」、「のコー」、・・・、「トにあ」、「にある」等が順に決定され、以下同様に、15文字の「このコードがコードリストにある」までが検索文字列となる。ただしこの場合、1文字や15文字の検索文字列については、検索対象のテキストデータ502−1と照合する意味がないので、省略することができる。また、それ以外にも、検索文字列の文字長を所定の範囲に限定することができる。 Next, in step S23 of FIG. 28, one search character string is sequentially determined from the text data. Since this is to search for the same string in the text data, all the substrings in the text data are matched with the text data as a search string. For example, with regard to the search target text data 502-1 in FIG. 29, the search character strings “K” to “R” of one character, the search character strings “this”, “ko” of two characters,. "Aru", "Aru", three-character search character string "this ko", "no ko", ..., "To nia", "Aru", etc. are decided in order, and so on, and so on. "This code is in the code list" is the search string. However, in this case, the search character string of one character or 15 characters can be omitted because it does not have meaning to be compared with the text data 502-1 to be searched. In addition to that, the character length of the search character string can be limited to a predetermined range.
次に、図28のステップS24において、検索を行う検索文字列がすべて終了したか否かが判定される。ここで、すべて終了した場合は、文字列検索処理が終了する。まだすべてが終了していない場合は、ステップS25において、検索文字列を検索キーとして、サフィックスアレイを検索する。ここで、図30を参照すると、図30(A)及び図30(B)に示すように、検索文字列として、検索対象のテキストデータ502−1内から3文字の文字列「コード」が決定された場合の検索処理が示されている。このとき、図30(C)のサフィックスアレイに対して二分探索が行われる。図30(C)のサフィックスアレイは、図29(C)に示すサフィックスアレイと同じものであり、図30(C)では、二分探索による検索の過程が示されている。 Next, in step S24 of FIG. 28, it is determined whether all search character strings to be searched have ended. Here, when all processing is completed, the character string search processing is completed. If all have not been completed yet, in step S25, the suffix string is searched using the search string as a search key. Here, referring to FIG. 30, as shown in FIG. 30 (A) and FIG. 30 (B), the character string "code" of three characters is determined from the search target text data 502-1 as the search character string. The search process is shown when it is done. At this time, a binary search is performed on the suffix array of FIG. The suffix array of FIG. 30 (C) is the same as the suffix array shown in FIG. 29 (C), and FIG. 30 (C) shows the process of search by binary search.
図30(C)を参照すると、まず、サフィックスアレイの中央のレコード(1)(インデックス=15、文字列「る」)と検索文字列「コード」を比較する。このとき、「る」のJISコードは246B、「コ」のJISコードは2533で、「コ」の方が大きいので、レコード(1)より下でサフィックスアレイの下半分の中心に位置するレコード(2)(インデックス=12、文字列「トにある」)と検索文字列「コード」を比較する。このとき、「ト」のJISコードは2548、「コ」のJISコードは2533で、「コ」の方が小さいので、レコード(1)とレコード(2)の中心に位置するレコード(3)(インデックス=7、文字列「コードリストにある」)と検索文字列「コード」を比較する。 Referring to FIG. 30C, first, a record (1) (index = 15, character string “R”) at the center of the suffix array is compared with the search character string “code”. At this time, the JIS code of “ru” is 246 B, and the JIS code of “ko” is 2533, and “ko” is larger, so the record located at the center of the lower half of the suffix array below record (1) 2) Compare the search string "code" with (index = 12, the string "is in"). At this time, the JIS code of "to" is 2548, and the JIS code of "ko" is 2533. Since "ko" is smaller, record (3) (3) (2) located at the center of record (1) and record (2) Index = 7, compare the string "in code list") with the search string "code".
そうすると、レコード(3)の最初の3文字と検索文字列「コード」が一致するため、検索文字列と同じ文字列が検索対象のテキストデータ502−1に見つかったことになる。さらにその後、レコード(3)の上下のレコードと比較すると、レコード(4)の最初の3文字と検索文字列「コード」が一致するため、検索文字列と同じ文字列が検索対象のテキストデータ502−1が見つかったことになる。このような二分探索により、検索対象のテキストデータ502−1のなかに、「コード」という文字列が2つあることがわかる(そのうちの1つは、検索対象のテキストデータ502−1から抽出された検索文字列「コード」それ自体である)。
Then, since the first three characters of the record (3) match the search character string “code”, the same character string as the search character string is found in the search target text data 502-1. After that, the first three characters of the record (4) match the search character string “code” when compared with the upper and lower records of the record (3), so the
次に、図28のステップS26において、検索文字列が所定数ヒットしたか否かが判定される。検索文字列が所定数ヒットしないと判定された場合、その文字列を関連詞の候補とすることなく、次の検索文字列による検索を行うため、ステップS23に進む。ここで、所定数は、検索対象のテキストデータ502−1の文字数や、検索文字列の文字数など、様々な要素に基づいて決定されうる。所定数ヒットしないということは、検索対象のテキストデータ502−1において、その検索文字列の出現頻度が小さく、重要な語ではないということを表している。なお、この段階では、出現頻度を評価することなく、関連詞の候補として記憶しておき、後続の関連詞決定処理等において最終的に判断するように構成することもできる。 Next, in step S26 of FIG. 28, it is determined whether the search character string has hit a predetermined number. If it is determined that the search character string does not hit a predetermined number, the process proceeds to step S23 in order to perform a search with the next search character string without using the character string as a candidate of a related word. Here, the predetermined number may be determined based on various factors such as the number of characters of text data 502-1 to be searched and the number of characters of the search character string. The absence of a predetermined number of hits means that the appearance frequency of the search character string is small in the search target text data 502-1, and it is not an important word. At this stage, without evaluating the appearance frequency, it may be stored as a candidate of related words and may be finally determined in the subsequent related word determination process or the like.
ステップS26において、検索文字列が所定数ヒットしたと判定された場合、ステップS27に進み、そこで、検索キー(検索文字列)に一致した文字列を関連詞の候補とし、それぞれ、前後の隣接文字とともに、1レコードとして関連詞候補データ49に記憶する。ここで、図30(C)を参照すると、検索結果として、検索文字列「コード」と一致する文字列が先頭に見つかったレコード(3)とレコード(4)について、それぞれ、検索文字列と同じ文字列「コード」と、前後の隣接文字が、1レコードとして記憶される。例えば、レコード(3)については、「が」、「コード」、「リ」が1レコードとして記憶される。前の隣接文字が「が」であり、後の隣接文字が「リ」である。また、レコード(4)については、「の」、「コード」、「が」が1レコードとして記憶される。前の隣接文字が「の」であり、後の隣接文字が「が」である。
If it is determined in step S26 that the search character string has hit a predetermined number, the process proceeds to step S27, where the character string matching the search key (search character string) is regarded as a candidate of a related word, and each adjacent character before and after And stored in the related
このように、この実施例における文解析部43では、上述のように、サフィックスアレイと二分探索を用いて、高速にテキストデータ内で同じ文字列を見つけ出すように構成されているが、本発明は当該処理方法に限定されるものではない。上述した以外の方法で、テキストデータ内の同じ文字列を見つけ出すようにすることができる。
As described above, as described above, the
<文解析部における異なり度合い判定処理の詳細な説明>
次に、図31及び図32を参照して、この実施例における文解析部43の異なり度合い判定処理について、より詳細に説明する。<Detailed Description of Difference Degree Determination Processing in Sentence Analysis Unit>
Next, with reference to FIGS. 31 and 32, the difference degree determination process of the
図31は、異なり度合い判定処理540の処理手順を表すフローチャートである。図32は、前後の隣接文字の異なり度合いを判定するための仕組みを示す図であり、図30に示すような、検索文字列「コード」での文字列検索処理を、多くの文字を含む検索対象文字列に対して行った結果、検索結果として検索文字列「コード」が26個得られ、それに対応する26件のレコードを処理する状況を示している。
FIG. 31 is a flowchart showing the procedure of the difference
最初に、図31のステップS31において、文字列検索処理530で、検索結果データ48に記憶された文字列のレコード(前後の隣接文字を含む)から、1つの文字列に関するレコードを取り出す。ここで、図32(A)を参照すると、検索結果データ48に記憶された文字列「コード」についてのレコード(全26レコード)が取り出され、メモリに展開された様子が示されている。
First, in step S31 in FIG. 31, in the character
次に、図31のステップS32において、検索結果データ48に記憶された文字列のレコードをすべて取得し、異なり度合い判定処理を行うべきデータがなくなったと判定された場合、図31の異なり度合い判定処理は終了する。ステップS32において、すべての処理が終了しておらず、検索結果データ48に記憶された文字列の1つについてすべてのレコードが取得できている場合は、ステップS33に進む。
Next, in step S32 of FIG. 31, all records of the character string stored in the
次に、図31のステップS33において、検索結果データ48に記憶された文字列の1つについて取得したすべてのレコードについて、前の隣接文字でソートし、前の隣接文字に関する出現文字のパターン数を求める。ここで、図32(A)を参照すると、検索結果データ48に記憶された文字列「コード」について取得したレコード(全26件)について、前の隣接文字561でソートした結果が示されている。このソートは、上述した文字列検索処理におけるサフィックスアレイの作成のときと同様、文字コード(例えば、JISコード)を用いて行うことができる。このようなソートを行った後、レコード間で前の隣接文字561の値が変化した(ブレークした)回数をカウントすることによって、前の隣接文字561の出現文字のパターン数が分かる。図32(A)の場合、前の隣接文字561は、「 」、「(」、「、」、「「」、「が」、「た」、「で」、「ど」、「の」、「は」、「べ」、「も」、「り」の13パターンである。
Next, in step S33 in FIG. 31, all records acquired for one of the character strings stored in the
このように、この実施例の文解析部43では、前の隣接文字561をソートし、その値が各レコード間で変化したかどうかで、前の隣接文字に関する出現文字のパターン数を求めているが、本発明は当該処理方法に限定されるものではない。出現文字のパターン数は、他の様々な方法で求めることができる。また、所定の文字や文字パターンに関する扱いを、仕様に応じて柔軟に設定することができる。例えば、改行・改ページなどの制御文字等を考慮しないようにすることができる。また、句点や読点などを考慮することもできるし、無視することもできる。さらに、英字の大文字と小文字を同じ文字として扱うこともできるし、別の文字として扱うこともできる。また、ソートについては、半角英数などの1バイトコード文字については、対応する1バイトをソートし、漢字などの2バイトコード文字については、対応する2バイトをソートする。また、前の隣接文字561をソートする場合、本実施形態では、1文字の隣接文字をソートすることとしているが、2文字以上の文字をソートして、その異なり度合いを判定するようにもできる。
Thus, in the
次に、図31のステップS34において、前の隣接文字561に関する異なり度合いを判定する。この場合、異なり度合いは、隣接文字561が(図32(A)の26件のレコードの間で)、どの程度異なっているかを示す指標であり、従って、上述した前の隣接文字に関する出現文字のパターン数に基づいて判定される。異なり度合いは、パターン数そのものであってもよいが、例えば、文字列の出現頻度(図32(A)の場合は、「コード」の出現頻度が26)等を考慮して判定することもできる。また、異なり度合いを所定の閾値により複数の段階(例えば、3段階)で評価することもできる。またさらに、隣接文字561が特定の文字である場合に、その文字のカウントや異なり度合いの判定に関し、任意の重み付けを行うようにすることもできる。
Next, in step S34 in FIG. 31, the degree of difference regarding the previous
次に、図31のステップS35において、検索結果データ48に記憶された文字列の1つについて取得したすべてのレコードについて、後の隣接文字でソートし、後の隣接文字に関する出現文字のパターン数を求める。ここで、図32(B)を参照すると、検索結果データ48に記憶された文字列「コード」について取得したレコード(全26件)について、後の隣接文字563でソートした結果が示されている。このようなソートにより、図32(A)に示したレコード565、レコード566は、それぞれ点線矢印に示す位置に配置される。
Next, in step S35 in FIG. 31, all records acquired for one of the character strings stored in the
このソートは、上述した文字列検索処理におけるサフィックスアレイの作成のときと同様、文字コード(例えば、JISコード)を用いて行うことができる。このようなソートを行った後、レコード間で後の隣接文字563の値が変化した(ブレークした)回数をカウントすることによって、後の隣接文字563の出現文字のパターン数が分かる。図32(B)の場合、後の隣接文字213は、「、」、「「」、「」」、「が」、「で」、「と」、「に」、「の」、「は」、「を」、「リ」、「支」の12パターンである。
This sort can be performed using a character code (for example, JIS code) as in the case of the creation of the suffix array in the character string search process described above. After performing such sorting, the number of patterns of appearance characters of the subsequent
このように、この実施例の文解析部43では、後の隣接文字563をソートし、その値が各レコード間で変化したかどうかで、後の隣接文字に関する出現文字のパターン数を求めているが、本発明は当該処理方法に限定されるものではない。出現文字のパターン数は、他の様々な方法で求めることができる。また、所定の文字については、当該パターン数のカウントに含めないようにすることができる。また、ソートについては、半角英数などの1バイトコード文字については、対応する1バイトをソートし、漢字などの2バイトコード文字については、対応する2バイトをソートする。また、後の隣接文字563をソートする場合、本実施形態では、1文字の隣接文字をソートすることとしているが、2文字以上の文字をソートして、その異なり度合いを判定するようにもできる。
Thus, in the
次に、図31のステップS36において、後の隣接文字563に関する異なり度合いを判定する。この場合、異なり度合いは、隣接文字563が(図32(B)の26件のレコードの間で)、どの程度異なっているかを示す指標であり、従って、上述した後の隣接文字に関する出現文字のパターン数に基づいて判定される。異なり度合いは、パターン数そのものであってもよいが、例えば、文字列の出現頻度(図32(B)の場合は、「コード」の出現頻度が26)等を考慮して判定することもできる。また、異なり度合いを所定の閾値により複数の段階(例えば、3段階)で評価することもできる。またさらに、隣接文字563が特定の文字である場合に、その文字のカウントや異なり度合いの判定に関し、任意の重み付けを行うようにすることもできる。
Next, in step S36 in FIG. 31, the degree of difference regarding the subsequent
次に、図31のステップS37において、判定対象の文字列、及び、その文字列に関して判定された、前の隣接文字に関する異なり度合いと後の隣接文字に関する異なり度合いが、関連詞候補データ49に記憶される。
Next, in step S37 in FIG. 31, the character string to be determined and the degree of difference with respect to the previous adjacent character and the degree of difference with respect to the subsequent adjacent character, which are determined with respect to the character string, are stored in the related
図31のステップS37の処理が終了すると、ステップS31に進み、次の「同じ文字列」に関する処理が行われる。 When the process of step S37 of FIG. 31 ends, the process proceeds to step S31, and the process regarding the next "same character string" is performed.
<文解析部における関連詞決定処理の詳細な説明>
関連詞決定処理550においては、異なり度合い判定処理540により関連詞候補データ49に記憶されたデータを順次読み出し、判定された前後の隣接文字の異なり度合いに基づいて、対応する文字列が関連詞か否かを決定し、決定された関連詞を、例えば、上述した関連詞索引の形で関連詞辞書50に記憶するとともに、その関連詞索引に対応する文情報(例えば、上述の例では、質問文と回答文)を関連詞辞書50に記憶する。関連詞決定処理550は、例えば、前後の隣接文字の異なり度合いの大小に応じて、対応する文字列が関連詞であるか否かを決定する。<Detailed Description of Related Word Determination Process in Sentence Analysis Unit>
In the related
前後の隣接文字の異なり度合いの大小については、共通の、または前後で異なる判断基準により判断されうる。前後の隣接文字の異なり度合いが、所定の大きさであると判断された場合に、対応する文字列は、独立した用語であって、話題を識別する重要な語である関連詞として決定される。すなわち、前後の隣接文字の異なり度合いによりスコアが計算され、そのスコアに基づいて、その対応する文字列が関連詞であるか否かを決定するようにしてもよい。 The degree of difference between the adjacent characters before and after can be determined by a common or different judgment criterion before and after. When the degree of difference between adjacent characters before and after is determined to be a predetermined size, the corresponding character string is determined as a related term which is an independent term and is an important word for identifying a topic. . That is, a score may be calculated based on the degree of difference between adjacent characters before and after, and whether or not the corresponding character string is a related word may be determined based on the score.
また、関連詞決定処理550では、前後の隣接文字の異なり度合いに加えて、対応する文字列の文字長、対応する文字列の出現頻度、特定の文字が前の隣接文字として出現する確率・頻度、特定の文字が後の隣接文字として出現する確率・頻度、特定の文字の組合せが前後の隣接文字として出現する確率・頻度等を考慮してスコアを計算し、計算されたスコアに基づいて、その対応する文字列が関連詞であるか否かを決定するようにしてもよい。
In addition, in the related
さらに、1つのテキストデータ(検索対象の文字列)において、複数の関連詞の候補がある場合に、その候補の数や、それぞれについて計算されたスコアの分布に応じて、関連詞として決定するための決定条件を変化させることもできる。 Furthermore, when there is a plurality of candidates for related words in one text data (character string to be searched), it is determined as a related word according to the number of candidates and the distribution of scores calculated for each of the candidates. It is also possible to change the decision conditions of.
またさらに、関連詞決定処理550では、外部ログ502、または外部ログ502に含まれる文情報のそれぞれについて決定された関連詞が複数ある場合に、関連詞として決定された文字列の間でランク付けを行うようにすることができる。こうしたランク付けは、例えば、話題に関する文字列の重要度に関するランク付けであり、上述した、前後の隣接文字の異なり度合いにより計算されたスコアや、前後の隣接文字の異なり度合いに加え、他の様々な要素を加味して計算されたスコア等に基づいて決定される。また、このようなランク付けは、関連詞として決定された文字列の重要度を順序付けるだけでなく、関連詞間の相対的な重要度を示すことができるように、例えば、上述のスコアの値を用いる等して、具体的な数値によりランク付けを行うことができる。
Furthermore, in the related
また、このようなランク付けは、関連詞が複数決定された場合に行われるが、1つのテキストデータに関して決定された複数の関連詞について行うこともできるし、所定の条件によりグルーピングされた複数のテキストデータに関して決定された複数の関連詞について行うこともできる。 In addition, although such ranking is performed when a plurality of related words are determined, a plurality of related words determined for one text data can also be performed, or a plurality of groups grouped according to a predetermined condition It can also be performed on a plurality of related words determined for text data.
例えば、所定の条件によりグルーピングされた複数のテキストデータとして、入力された検索キーワードにヒットしたWEBページ群のテキストデータや、所定の属性に該当するユーザのTWITTERの内容などが考えられる。 For example, as a plurality of text data grouped under a predetermined condition, text data of a web page group that hits the input search keyword, the content of the TWITTER of the user corresponding to the predetermined attribute, and the like can be considered.
<<FAQ表示画面の表示処理に関する説明>>
次に、図33を参照して、FAQ表示画面の表示処理について説明する。図33は、FAQ表示画面の表示処理を表すフローチャートであり、会話制御端末装置2’’と話題提供サーバ4’においてそれぞれどのような処理が行われるかを示している。会話制御端末装置2’’では、例えば、上述したTopiclet20によって各処理が行われる。<< Description about display processing of FAQ display screen >>
Next, the display processing of the FAQ display screen will be described with reference to FIG. FIG. 33 is a flowchart showing the display processing of the FAQ display screen, and shows what processing is performed in the conversation control
最初に、ステップS41において、ユーザが、図35(B)に示すFAQ候補表示画面610で、候補質問文表示部612に表示された候補質問文のうちの1つをマウスのクリック等によって選択したか否かが判定される。候補質問文のうちの1つが選択されていない間は(NO)、この判定が繰り返される。候補質問文のうちの1つが選択された場合(YES)、ステップS42において、選択された候補質問文を、入力情報として話題提供サーバ4’に送信する。入力情報には、選択された質問文そのものを含むこともできるが、この質問文を識別できる識別子が含まれていれば十分である。なお、ユーザは、関心のある質問文を複数同時に選択するようにもできる。
First, in step S41, the user selects one of the candidate question sentences displayed in candidate question
話題提供サーバ4’が会話制御端末装置2’’から入力情報を受け取ると、ステップS43において、入力情報を分析し、入力情報に含まれる質問文に対応する回答文を、関連詞辞書50から取得する。なお、この実施例では、図27(A)に示すように、関連詞辞書50に質問文50bと、これに対応する回答文50cを記憶するようにしているが、これらの質問文50bと回答文50cを、関連詞辞書50の関連詞索引50aと関連付けながら、別のファイルに記憶させることもできる。
When the
次に、話題提供サーバ4’は、ステップS44において、FAQ表示画面630に表示するために、関連詞辞書50から取得した質問文50bに対応する回答文50cを含む情報を関連詞・共起語データ52に記憶するとともに、この情報を入力特定情報として会話制御端末装置2’’に送信する。
Next, in step S44, the topic providing server 4 'causes the information including the
会話制御端末装置2’’は、話題提供サーバ4’から入力特定情報を受信すると(ステップS45)、ステップS46において、受信した入力特定情報とシナリオデータ28に基づいて、応答情報を決定する。なお、話題提供サーバ4’は、必要に応じてシナリオデータ55を会話制御端末装置2’’に送信し、会話制御端末装置2’’はこれをシナリオデータ28に記憶する。
When the conversation control
次に、ステップS47において、ステップS46で決定された応答情報を会話制御端末装置2’’のディスプレイに表示する。例えば、図35(B)に示すようなFAQ候補表示画面610において、候補質問文表示部612にリスト表示されている質問文の1つ(例えば、矢印(1)に示すQ24の質問)を選択すると、図36に示されるようなFAQ表示画面630が表示され、そこで、質問表示部631に、選択した質問文であるQ24の質問が表示されるとともに、関連詞索引表示部632に、Q24の質問に対応する関連詞索引が表示され、さらに、回答表示部633に、Q24の質問に対応する回答(A24の回答)が表示される。
Next, in step S47, the response information determined in step S46 is displayed on the display of the conversation control terminal device 2 ''. For example, in the FAQ
このような、FAQ検索画面600からFAQ表示画面630までの画面遷移により、ユーザは、ユーザの指定した検索キーワードでFAQを検索し、検索結果として複数の質問文の候補を表示させることができ、さらにそこで、それぞれの候補質問文において、どのような重要なキーワードが現れているか(すなわち、どのような事項に関連するものであるか)を、関連詞索引を見ることによって容易に把握することができる。
By such screen transition from the
また、この実施例では、FAQ候補表示画面610において、質問文に対応する回答文を表示していないが、候補質問文をリスト表示させる段階で、それぞれ対応する回答文を表示するようにすることもできる。
Further, in this embodiment, although the answer sentences corresponding to the question sentences are not displayed on the FAQ
<<関連詞・共起語一覧画面の表示処理に関する説明>>
次に、図34を参照して、関連詞・共起語一覧画面の表示処理について説明する。図34は、関連詞・共起語一覧画面の表示処理を表すフローチャートであり、会話制御端末装置2’’と話題提供サーバ4’においてそれぞれどのような処理が行われるかを示している。会話制御端末装置2’’では、例えば、上述したTopiclet20によって各処理が行われる。<< Description about display processing of related words / co-occurrence word list screen >>
Next, referring to FIG. 34, display processing of the related word / co-occurrence word list screen will be described. FIG. 34 is a flowchart showing display processing of a related word / co-occurrence word list screen, and shows what kind of processing is performed in the conversation control
最初に、ステップS51において、ユーザが、図35(B)に示すFAQ候補表示画面610で、関連詞索引表示部611に表示された関連詞索引のうちの1つをマウスのクリック等によって選択したか否かが判定される。関連詞索引のうちの1つが選択されていない間は(NO)、この判定が繰り返される。関連詞索引のうちの1つが選択された場合(YES)、ステップS52において、選択された関連詞索引を、入力情報として話題提供サーバ4’に送信する。入力情報には、選択された関連詞索引そのものを含むこともできるが、この関連詞索引を識別できる識別子が含まれていれば十分である。なお、ユーザは、関心のある関連詞索引を複数同時に選択するようにもできる。
First, in step S51, the user selects one of the related-word indexes displayed on the related-word
話題提供サーバ4’が会話制御端末装置2’’から入力情報を受け取ると、ステップS53において、入力情報を分析し、関連詞辞書50から、入力情報に含まれる関連詞索引を含むすべての関連詞索引を取得する。
When the topic providing server 4 'receives the input information from the conversation control terminal device 2' ', in step S53, the input information is analyzed, and all the related words including the related-word index included in the input information from the
次に、話題提供サーバ4’は、ステップS54において、嗜好データ51のような内部ログ506に基づいて、ステップS53で取得した関連詞索引に含まれるすべての関連詞について嗜好解析を行う。嗜好データ51は、それぞれのユーザによって、これまでにどのような関連詞がどのように利用されてきたかといった利用態様を示すデータを記憶したログファイルであり、例えば、図38(A)に示すように、ユーザID51aごとに、そのユーザがどの関連詞51bを、参照または検索キーワードとして入力してきたかを記憶している。このほか、嗜好データ51として、関連詞の利用日時や詳細な利用内容を記憶しておき、これらの情報をも加味して嗜好解析を行うこともできる。
Next, in step S54, the topic providing server 4 'performs preference analysis on all the related words included in the related word index acquired in step S53 based on the
話題提供サーバ4’は、連詞索引に含まれるすべての関連詞について、この嗜好データ51に基づいて、嗜好解析を行い、各関連詞の重要度を決定する。例えば、嗜好データ51を参照して、同じユーザにおいて、利用頻度の高い関連詞ほど、高い重要度となるよう関連詞の重要度を設定する。このような重要度によって関連付けられた関連詞は、上述の話題鍵(クラスタ)504に相当する。
The
次に、話題提供サーバ4’は、ステップS55において、話題データ53のような話題ネタ507に基づいて、ステップS54で重要度が設定された関連詞について、さらに話題解析を行う。話題データ53は、契約者の担当者が入力した話題であったり、当該担当者が入力した話題に基づいて、外部ログ502から自動的に抽出した話題であったりする。このような話題データ53に基づいて、その分布を捉え、互いに関連付けられた関連詞の分布をユーザに提供する。例えば、FAQのなかで話題となっている関連詞とその共起語を関連付け、話題の中で関連詞がどのように分布しているのか表すようにできる。また、話題ネタの入力や自動抽出において、会話制御端末装置2’’のユーザごとに調整を行い、ユーザに合わせて関連詞を推奨するように構成することができる。例えば、対象となる質問文を、所定の範囲に限定するよう、話題を調整することもできる。
Next, in step S55, the topic providing server 4 'performs topic analysis on the related words whose importance is set in step S54 based on the
次に、話題提供サーバ4’は、ステップS56において、関連詞・共起語一覧表示画面650に表示するために、最終的にステップS55において関連付けがされた関連詞を含む情報を入力特定情報として会話制御端末装置2’’に送信する。
Next, in step S56, the topic providing server 4 'uses the information including the associated words finally associated in step S55 as the input specifying information to be displayed on the associated word / co-occurring word
会話制御端末装置2’’は、話題提供サーバ4’から入力特定情報を受信すると(ステップS57)、ステップS58において、受信した入力特定情報とシナリオデータ28に基づいて、応答情報を決定する。なお、話題提供サーバ4’は、必要に応じてシナリオデータ55を会話制御端末装置2’’に送信し、会話制御端末装置2’’はこれをシナリオデータ28に記憶する。
When the conversation control
次に、ステップS59において、ステップS58で決定された応答情報を会話制御端末装置2’’のディスプレイに表示する。例えば、図37に示すような関連詞・共起語一覧表示画面650が、会話制御端末装置2’’のディスプレイに表示される。関連詞・共起語一覧表示画面650には、NO表示部651、関連詞表示部652、近傍関連詞表示部(653〜656)、及び「FAQ候補表示画面に戻る」ボタン657が表示され、関連詞が2次元のマトリックスの形態で表示されている。
Next, in step S59, the response information determined in step S58 is displayed on the display of the conversation control terminal device 2 ''. For example, a related word / co-occurrence word
マトリックスの縦軸方向について、関連詞表示部652には、この実施例のFAQ検索に関して関連詞として抽出され、関連詞辞書50の関連詞索引に現れるすべての関連詞が、重複無く順に表示されている。表示順は、嗜好解析によって決定された各関連詞の重要度に応じて設定され、この実施例では、NO表示部651に示された数字が低いほど(図37の上部に表示されるほど)、対応する関連詞の重要度が高いものとなっている。なお、図37では、NO表示部651に示された数字は、1〜17までとなっているが、関連詞・共起語一覧表示画面650のスライダーバーを操作して下方向に移動させることによって、より多くの関連詞を閲覧することができる。
With respect to the vertical axis direction of the matrix, in the related
マトリックスの横軸方向について、関連詞表示部652に表示された関連詞の右横には、近傍関連詞表示部653〜近傍関連詞表示部656が示され、ここには、関連詞表示部652に表示された関連詞に関する近傍関連詞が表示される。近傍とは、図16に関して説明したように、ある関連詞Aに着目した場合、関連詞Aを含む関連詞集合は、「関連詞の近傍」であり、そのような関連詞をここでは、近傍関連詞としている。なお、関連詞集合は、ある話題に含まれている関連詞の集合であり、ここでは、関連詞索引がこれに相当する。
In relation to the horizontal axis direction of the matrix, on the right side of the related words displayed in the related
なお、図37では、近傍関連詞は、近傍関連詞1〜近傍関連詞4までの4つしか示されていないが、関連詞・共起語一覧表示画面650のスライダーバーを操作して右方向に移動させることによって、より多くの近傍関連詞を閲覧することができる。近傍関連詞は、関連詞表示部652に表示された関連詞と共起する関連詞(共起関連詞:すなわち、同じ話題で、共に出現する関連詞)ということができる。近傍関連詞の(横方向における)表示順は、共起関係が強いもの、すなわち、関連詞表示部652に表示された関連詞と共に出現する頻度が高いものほど、関連詞表示部652に表示された関連詞に近い位置に表示されるよう調整される。また、この横方向の表示順に関して、関連詞のランク付けや、ユーザまたは情報検索システムによる設定等を考慮して決定することもできる。
In FIG. 37, although only four neighborhood relevancy words from
また、関連詞・共起語一覧表示画面650では、関連詞表示部652に表示された関連詞のうち、図35(B)に示すFAQ候補表示画面610で、関連詞索引表示部611に表示された関連詞索引のうちの1つをマウスのクリック等によって選択した際に、その関連詞索引に含まれていた関連詞(この実施例では、例えば、「ネットワーク」、「接続」、「ルータ」、及び「モデム」)は、ユーザが認識しやすいようにハイライト表示となっている。
Further, in the related word / co-occurrence word
ユーザは、関連詞・共起語一覧表示画面650の関連詞表示部652、及び近傍関連詞表示部(653〜)に表示された関連詞のマトリックス表示により、ユーザ自身が元来着目していた関連詞(検索キーワード)と関連する別の関連詞を、自身が関連詞をどのように利用してきたかという観点と、ユーザまたは情報検索システムによって着目・推奨する話題に近いかという観点で見ることができ、新たな関連詞についての「気づき」が与えられうる。例えば、図37の関連詞・共起語一覧表示画面650における関連詞のマトリックス表示では、検索キーワード「ネットワーク」による検索を行ったが、NO表示部651に表示された数字が、1〜13、及び15の場合には、表示された関連詞の集合から、概ね通信ネットワークに関連する話題であることが分かるが、NO表示部651に表示された数字が14、16、及び17の場合は、ソーシャルネットワークに関連する話題となっており、他と異なる話題が出現していることが分かる。
The user originally focused on the matrix display of the related words displayed on the related
ユーザが、関連詞・共起語一覧表示画面650の関連詞表示部652、または近傍関連詞表示部(653〜)に表示された関連詞の1つをマウスのクリック等によって選択すると(図37の矢印)、画面が、図38(B)に示すようなFAQ検索画面660に自動的に遷移し、そこで、選択された関連詞(この実施例では、近傍関連詞の「SNS」)が、FAQ検索画面660の検索キーワード入力部661に自動的にセットされる。ユーザがこの状況で、「FAQ検索」ボタン662をクリックすると、再び、FAQ候補表示画面610が表示され、今度は、「SNS」に関する質問文が、候補質問文表示部612に示される。
When the user selects one of the related words displayed on the related
<<<情報更新部における処理概要の説明>>>
情報更新部46は、異なる収集条件によって収集された外部ログ502(テキストデータ)から、意味識別可能な文字列を抽出し、抽出された文字列を、テキストデータに対応する関連詞辞書に記憶し、これらの関連詞辞書について比較処理を行うことによって得られた比較結果を比較結果データ54に記憶し更新する。比較処理は、関連詞辞書の更新がされた場合に自動的に行われる。<<< Description of outline of processing in information update unit >>>
The
異なる関連詞辞書に対応付けられたテキストデータは、異なる収集条件によって収集されたテキストデータであり、これらのテキストデータは、例えば、同様の対象やデータソースについて異なるタイミングで収集される複数のテキストデータであったり、同様のタイミングにおいて、異なる主題や検索条件によって収集される複数のテキストデータであったりする。 The text data associated with different association dictionary is text data collected by different collection conditions, and these text data are, for example, a plurality of text data collected at different timings for similar objects or data sources. Or, at the same timing, it may be plural text data collected by different subjects or search conditions.
上記の比較処理は、複数の関連詞辞書を比較して、新たに出現した関連詞のほか、消滅した関連詞、共通して出現する関連詞、(3つ以上の時系列テキストデータに対応する辞書において)再度出現した関連詞など、関連詞の出現状況を判定し、関連詞がこのような出現状況のうちいずれかである場合に、その関連詞を比較結果として記憶する。 The above comparison processing compares a plurality of related words dictionaries, and in addition to the newly appeared related words, the deleted related words, the commonly appeared related words, (corresponding to three or more time-series text data In the dictionary, the appearance condition of the relation words, such as the relation words appearing again, is determined, and if the relation words are any of such appearance situations, the relation words are stored as a comparison result.
また、1つのテキストデータから複数の関連詞が抽出された場合に、それらの関連詞を1つの集合として(共起関連詞として)関連付け、対応する関連詞辞書に記憶することができる。このように構成することにより、比較処理において、複数の関連詞辞書で共通する関連詞があると判定された場合に、その関連詞の共起関連詞を比較し、さらなる判定を行うことができる。 In addition, when a plurality of related words are extracted from one text data, those related words can be associated as one set (as co-occurrence related words) and stored in the corresponding related word dictionary. By configuring in this way, when it is determined in the comparison process that there is a related word common to a plurality of related word dictionaries, it is possible to compare co-related related words of the related words and perform further determination. .
このように、関連詞の出現に関する履歴等をとらえることにより、関連詞の意味を炙りだせるようになる。すなわち、このような処理を繰り返すことにより、関連詞が所属する話題名が明確となるほか、いつもの関連詞と(新たに出現した)新着関連詞とを区別して扱うことができたり、関連詞辞書の比較処理によって、話題の類似性や相違性についての判断をしたりすることができる。こうした機能を、関連詞学習機能と称することとする。関連詞学習機能により、エンドユーザの入力識別手段が多様化することが期待できる。 In this way, by capturing the history of the appearance of related words, it becomes possible to reveal the meaning of related words. That is, by repeating such processing, the topic name to which the relative term belongs becomes clear, and it is possible to distinguish between the regular related term and the newly-relevant related term (which has newly appeared), or the relative term By comparing the dictionaries, it is possible to judge the similarity and the difference of the topics. Such a function is referred to as a related-word learning function. The related-word learning function can be expected to diversify the input identification means of the end user.
図39を参照して、情報更新部46の処理概要について説明する。最初に、情報更新部46は、テキストデータである外部ログ502を取得する(テキストデータ取得処理700)。外部ログ502は、例えば、クローラー730によって収集される。クローラー730が、WEBページのネットワークアドレス(URL等)を返す場合は、そのネットワークアドレスにアクセスすることにより外部ログ502を取得するようにもできる。またさらに、取得した外部ログ502、または外部ログ502を取得する際に、特定のテキストデータだけを取得するようフィルタ処理を行ったり、特定の分類によりグルーピングをしたりすることもできる。
The process outline of the
クローラー730は、例えば、自動起動され、決められた時間に決められた話題名に対して話題解析を行う(すなわち、検索を行って、定期的に話題を収集する)。話題名は、例えば、関連詞辞書50を保持しているサービス(ユーザが扱う話題にそれぞれ対応したサービスIDに割り当てられた領域)に記憶され、ユーザが10個の話題を扱いたい場合は、10個のサービスを利用してそれらの話題を扱うことになる。また、上述した1つ1つのサービスについて、対応する話題チップを設定し、各話題チップが常時、対応する話題に関する情報を収集し、ユーザの入力に応じて、関連する話題チップを連携・統合させ、より多様な話題提供サービスを実現することもできる。
The
クローラー730による検索は、例えば、インターネット上の既存のインターネット検索サイトにアクセスし、そこで検索キーワードを指定することにより、当該インターネット検索サイトの検索サーバから検索結果を受信する。検索結果には、例えば、検索キーワードに合致または類似するコンテンツを含んだWEBページのアドレス(WEBページ1のアドレス、WEBページ2のアドレス、WEBページ3のアドレス、・・・、WEBページXのアドレス)が含まれる。
The search by the
クローラー730は、この実施例では、既存のインターネット検索サイトにおける検索を実行することで検索結果を取得するようにしているが、他の様々な方法により、所定の条件を満たすWEBページのアドレスを取得することができる。また、検索対象はインターネット上のWEBページに限定されるものではなく、TWITTERのツイート情報や、任意の機関や組織によって事前に生成・編集された(ネットワーク上またはローカルの)データやデータベース内のテキスト情報であってもよい。
In this embodiment, the
既存のインターネット検索サイトは、そのインターネット検索サイトが使用する検索サーバに備えられた検索エンジンにより、インターネット上のデータソースから検索キーワードに合致、または類似するWEBページのアドレスを、検索のリクエストに応じて(あるいは事前の定期的収集活動により)収集する。 An existing Internet search site receives a search request from a data source on the Internet, from the data source on the Internet, using the search engine provided in the search server used by the Internet search site, the address of the web page matching or similar to the search keyword. Collect (or by prior periodic collection activities).
クローラー730は、検索サーバから検索結果が送信されると、クローラー730が動作するコンピュータから、その検索結果を(例えば、API送信により)話題提供サーバ4’に送信する。また、クローラー730は、フィルタを用いて、検索結果のうち、所定の条件を満たすものを除外するよう構成することができる。
When the search results are transmitted from the search server, the
この実施例では、クローラー730が、決められた時間に自動的に起動されるが、話題提供サーバ4’の動作制御に応じてクローラー730の動作を制御し、検索結果を取得するようにしてもよい。また、クローラー730が所定のインターバルで検索結果を取得し、クローラー730が動作するコンピュータにその検索結果を保持しておき、話題提供サーバ4’が、必要なタイミングで、当該コンピュータにアクセスして検索結果を取得するようにもできる。また、クローラー730が話題提供サーバ4’で実行されるように構成することもできる。
In this embodiment, the
また、この実施例では、クローラー730が動作するコンピュータが、検索結果として検索キーワードに関連するWEBページのアドレスを話題提供サーバ4’に送信するが、クローラー730が動作するコンピュータにおいて、これらのWEBページにアクセスし、その結果得られたテキストデータを外部ログ502として話題提供サーバ4’に送信するようにもできる。
Further, in this embodiment, the computer on which the
次に、情報更新部46は、テキストデータ取得処理700により取得された外部ログ502から、意味識別可能な文字列を抽出し、抽出された文字列を関連詞辞書50に記憶する(文字列抽出処理710)。このように抽出された文字列は、上述の関連詞に相当するものであり、これらの関連詞は、その関連詞が抽出された外部ログ502に対応する関連詞辞書1〜3等に、それぞれ記憶される。
Next, the
外部ログ502から関連詞を抽出する方法として様々な方法が考えられる。例えば、上述した文解析部43による方法で関連詞の抽出を行うことができる。
Various methods can be considered as methods for extracting related words from the
文字列抽出処理710では、複数の外部ログ502から関連詞が抽出され、それぞれ対応する関連詞辞書50に記憶される。例えば、複数の外部ログ502は、同様の対象やデータソースについて異なるタイミングで収集されたテキストデータであったり、同様のタイミングにおいて、異なる主題や検索条件によって収集される複数のテキストデータであったりする。文字列抽出処理710の詳細な処理については、後で説明する。
In the character
次に、情報更新部46は、文字列抽出処理710により、それぞれ関連詞が記憶された複数の関連詞辞書50を比較し、関連詞の出現状況に応じて、比較結果を比較結果データ54に記憶する(辞書比較処理720)。
Next, the
例えば、異なるタイミングで収集された2つの関連詞辞書(関連詞辞書1、関連詞辞書2)を比較する場合、関連詞辞書1に存在せず、関連詞辞書2に存在する関連詞があれば、これを、新たに出現した新着の関連詞として、比較結果データ54に記憶し、逆に、関連詞辞書1に存在し、関連詞辞書2に存在しない関連詞があれば、これを、消滅した関連詞として、比較結果データ54に記憶する。
For example, when comparing two related word dictionaries (related
また、例えば、異なる主題について同様のタイミングで収集された3つの関連詞辞書(関連詞1〜3)を比較する場合、すべての関連詞辞書1〜3に存在する関連詞があれば、これを、共通した関連詞として比較結果データ54に記憶する。
Also, for example, when comparing three related word dictionaries (related
なお、複数の関連詞辞書において、関連詞がどのような出現状況のときに比較結果データ54に記憶するかは、情報更新部46の利用態様に応じて柔軟に規定することができる。辞書比較処理720の詳細な処理については、後で詳細に説明する。
In addition, it can be flexibly specified according to the use mode of the
会話制御端末装置2’’から、ユーザが直接、あるいは応答シナリオに応じて、所定の関連詞辞書を比較した比較結果データ54の表示が要求されると、話題提供サーバ4’がこれらの比較結果データ54を含む入力特定情報を会話制御端末装置2’’に送信し、会話制御端末装置2’’は、この入力特定情報を受け取ると、入力特定情報とシナリオデータ28に基づいて応答情報を決定し、会話制御端末装置2’’のディスプレイに当該応答情報を表示するよう制御する。
When the conversation control
会話制御端末装置2’’のディスプレイには、例えば、話題名と、この話題における関連詞の変化が表示される。関連詞の変化の表示には、例えば、関連詞の出現状況とこれに対応する関連詞が含まれる。
On the display of the conversation control
後述する図46の比較結果データ54に関しては、例えば、話題名「2013年10月10日、t2における「株の取引」の話題」について、出現状況が「新着関連詞」である関連詞「税率」と、出現状況が「消滅関連詞」である関連詞「口座」が表示される。この表示は、図46に示す比較結果データ54の、レコード54aに対応するものである。ユーザは、ディスプレイに表示された内容を見て、話題名に関する話題において、t2というタイミングで、新たに「税率」という関連詞が出現し、これと同時に、「口座」という関連詞が消滅したという気づきを得ることができる。
With regard to comparison result
<<情報更新部における文字列抽出処理の説明>>
図40を参照して、文字列抽出処理710について説明する。図40は、文字列抽出処理710の処理手順を表すフローチャートである。最初に、ステップS61において、関連詞を抽出する対象となる外部ログ502(テキストデータ)を読み込む。テキストデータは、上述のように、テキストデータが取得できる限り、どのようなデータであってもよい。<< Description of character string extraction processing in the information update unit >>
The character
次に、ステップS62において、ステップS61で読み込んだテキストデータから、意味識別可能な文字列である関連詞を抽出する。テキストデータから関連詞を抽出する方法は、上述のように、文解析部43による、前後の隣接文字の異なり度合いに基づく方法や、形態素解析を用いた方法などを含む様々な方法がある。
Next, in step S62, from the text data read in step S61, a related word which is a character string that can be semantically identified is extracted. There are various methods for extracting related words from text data, as described above, including a method based on the degree of difference between adjacent characters before and after by the
次に、ステップS63において、ステップS62で1つのテキストデータに対して複数の関連詞が抽出された場合に、所定の判断基準により、その複数の関連詞にランク付けを行う。例えば、テキストデータにおける関連詞の重要度に応じてランク付けを行うことができ、関連詞の文字長や出現頻度に応じてランク付けが行われうる。また、関連詞を、前後の隣接文字の異なり度合いに基づく方法により抽出する場合は、前後の隣接文字の異なり度合いに応じてランク付けが行われる。なお、ランク付けは、このような基準のほか様々な要素、及びこれらの組合せによって行うことができる。このような「ランク」は、話題との関連性を示すものである。また、関連詞が複数抽出された場合であっても、このようなランク付けを行わないようにすることもできる。 Next, in step S63, when a plurality of related words are extracted for one text data in step S62, the plurality of related words are ranked according to a predetermined determination criterion. For example, ranking can be performed according to the importance of related words in text data, and ranking can be performed according to the character length and the frequency of appearance of related words. Further, in the case of extracting related words by a method based on the degree of difference between adjacent characters before and after, ranking is performed according to the degree of difference between adjacent characters before and after. In addition, ranking can be performed by various elements other than such a standard, and a combination thereof. Such "rank" indicates the relevance to the topic. Also, even when a plurality of related words are extracted, such ranking can be avoided.
次に、ステップS64において、ステップS63でランク付けされた関連詞を、テキストデータに対応する関連詞辞書に記憶する。例えば、1つのテキストデータから抽出された関連詞は、1つのレコードにまとめて記憶され、各関連詞は、ランク付けに応じた記憶位置(配列エントリー)に記憶される。関連詞は、このように記憶されることにより、複数の関連詞が、1つのテキストデータ(それらの関連詞が抽出されたテキストデータ)に関連付けられた集合として定義される。ランク付けは、その集合のなかで関連詞を順位付けるものである。 Next, in step S64, the related words ranked in step S63 are stored in the related word dictionary corresponding to the text data. For example, related words extracted from one text data are collectively stored in one record, and each related word is stored in a storage location (sequence entry) according to the ranking. The related words are stored as described above, whereby a plurality of related words are defined as a set associated with one text data (text data from which those related words are extracted). Ranking is to rank related words in the set.
文字列抽出処理は、処理対象のテキストデータが複数ある場合は、上述したステップS61からステップS64までの処理を、テキストデータごとに繰り返す。 In the character string extraction process, when there is a plurality of text data to be processed, the process from step S61 to step S64 described above is repeated for each text data.
<<情報更新部における辞書比較処理の説明>>
図41を参照して、辞書比較処理720について説明する。図41は、辞書比較処理720の処理手順を表すフローチャートである。この実施例では、時系列データとして収集された2つのテキストデータ(テキストデータ1、テキストデータ2)から関連詞が抽出され、それぞれ対応する関連詞辞書(i−1)、関連詞辞書(i)、に記憶されている状況で比較処理が行われるものとする。<< Description of dictionary comparison processing in the information update unit >>
The
最初に、ステップS71において、関連詞辞書(i−1)、関連詞辞書(i)に記憶されている関連詞を読み出す。次に、ステップS72において、関連詞辞書(i−1)と関連詞辞書(i)の関連詞を比較し、そのなかから関連詞辞書(i−1)に存在せず、関連詞辞書(i)に存在する関連詞を、新たに出現した関連詞(新着関連詞)として比較結果データ54に記憶する。それぞれの関連詞辞書は、例えば、話題名に対応付けられており、辞書比較処理720は、この話題名を用いて比較を行うことができる。新着関連詞は、対応する関連詞辞書を表すことができる話題名、出現状況(この場合は、新たに出現したことを表す「新着」の文字やこれに対応するコード等)とともに比較結果データ54に記憶される。
First, at step S71, the related words stored in the related word dictionary (i-1) and the related word dictionary (i) are read out. Next, in step S72, the related words of the related word dictionary (i-1) and the related word dictionary (i) are compared, and among them, the related words dictionary (i-1) does not exist, and the related word dictionary (i) Are stored in the
次に、ステップS73において、関連詞辞書(i−1)と関連詞辞書(i)の関連詞を比較し、そのなかから関連詞辞書(i−1)に存在し、関連詞辞書(i)に存在しない関連詞を、消滅した関連詞(消滅関連詞)として比較結果データ54に記憶する。それぞれの関連詞辞書は、例えば、話題名に対応付けられており、消滅関連詞は、この話題名、出現状況(この場合は、新たに出現したことを表す「消滅」の文字やこれに対応するコード等)とともに比較結果データ54に記憶される。
Next, in step S73, the related words of the related word dictionary (i-1) and the related word dictionary (i) are compared, and among them, the related words dictionary (i-1) exists and the related word dictionary (i) The relative words not existing in are stored in the
その後、ステップS74において、関連詞辞書(i−1)の内容を関連詞辞書(i)にコピーする。これは、次のタイミングにおいて、文字列抽出処理710が関連詞を記憶するための関連詞辞書(i−1)を用意するためであり、その後、この新たな関連詞辞書(i−1)と、関連詞辞書(i−1)の内容がコピーされた関連詞辞書(i)が、辞書比較処理720によって比較される。
Thereafter, in step S74, the content of the related word dictionary (i-1) is copied to the related word dictionary (i). This is because, at the next timing, the character
このように、文字列抽出処理710と辞書比較処理720は、所定のタイミングで繰り返し実行されるが、詳細な説明については後述する。また、辞書比較処理720が繰り返し処理されることによって、比較結果データ54に、その処理タイミングにおいてそれぞれ比較結果が記憶されることになるが、比較結果を記憶する際に、それ以前に記憶されていた比較結果を消去するか、累積的に記憶するかは、本発明に係る情報検索システム100の仕様に応じて決定される。また、比較結果データ54を、辞書比較処理720ごとに別個に用意するようにしてもよい。
As described above, the character
また、この例では省略したが、関連詞辞書(i−1)と関連詞辞書(i)を比較して、共通する関連詞(共通関連詞)を比較結果データ54に記憶することもできる。この場合、例えば、関連詞辞書(i−1)において共通関連詞とともに記憶されている他の関連詞(共起関連詞)と、関連詞辞書(i)において共通関連詞とともに記憶されている他の関連詞(共起関連詞)との間に共通性があるか否かをさらに比較して、当該共通性に関する情報を比較結果データ54に記憶することができる。
Further, although omitted in this example, the related word dictionary (i-1) and the related word dictionary (i) can be compared, and common related words (common related words) can be stored in the
さらに、上記のような共起関連詞を比較する場合に、それらの共起関連詞に関連付けられたランクを考慮して共通性に関する情報を判定してもよい。例えば、ランクの高い(それらの関連詞で示される話題にとって重要性が高い)共起関連詞が、関連詞辞書(i−1)と関連詞辞書(i)において共通する場合、共通関連詞の共通性はより高く評価されうる。 Furthermore, when comparing co-related related words as described above, information regarding commonality may be determined in consideration of the ranks associated with the co-related related words. For example, when co-related related words having high rank (highly important for the topic indicated by their related words) are common to the related word dictionary (i-1) and the related word dictionary (i), common related words Commonality can be appreciated more.
<<<情報更新部における文字列抽出処理と辞書比較処理の説明>>>
図42は、同じWEBページから時系列に収集された5つのテキストデータ(テキストデータ1〜5)から、文字列抽出処理710によって、それぞれ異なるタイミングで関連詞が抽出され、抽出された関連詞が、それぞれ対応する関連詞辞書(i−1)または関連詞辞書(i)に記憶され、その後、関連詞辞書(i)が更新された場合に、関連詞辞書(i−1)と関連詞辞書(i)とを対象として辞書比較処理720が行われ、これらの処理が、時間(T=t1)から(T=t5)まで周期的に行われている例を示している(時間(T=t6以降は省略した)。<<< Description of character string extraction processing and dictionary comparison processing in information update unit >>>
In FIG. 42, related words are extracted at different timings by the character
最初に、時間(T=t1)において、この時点で所定のWEBページから収集されたテキストデータ1から、文字列抽出処理710aによって関連詞が抽出され、抽出された関連詞が関連詞辞書(i−1)に記憶される。この文字列抽出処理710aは、図40を参照して説明した文字列抽出処理710に対応する。
First, at time (T = t1), from the
次の、時間(T=t2)において、T=t1の場合と同様に、同じWEBページから収集されたテキストデータ2から、文字列抽出処理710bによって関連詞が抽出され、抽出された関連詞が関連詞辞書(i)に記憶される。ここで、対象のWEBページにおいて話題や記載内容の変化があれば、抽出される関連詞もそれに応じて変化することになる。関連詞辞書(i)に関連詞が記憶されると(更新されると)、辞書比較処理720aによって関連詞辞書(i−1)と関連詞辞書(i)の比較が行われ、関連詞の出現状況に応じて、例えば、新たに出現した新着関連詞等が比較結果データ54に記憶される。また、比較処理が終わると、関連詞辞書(i)の内容が、関連詞辞書(i−1)にコピーされる。
At the next time (T = t2), as in the case of T = t1, from the
この辞書比較処理720aは、図41を参照して説明した辞書比較処理720に対応する。なお、この図では、辞書比較処理720aが、T=t2のタイミングで行われているように記載されているが、関連詞辞書(i)が更新された後に行われるものである。
The
次の、時間(T=t3)において、T=t1、t2の場合と同様に、同じWEBページから収集されたテキストデータ3から、文字列抽出処理710cによって関連詞が抽出され、抽出された関連詞が関連詞辞書(i)に記憶される。ここで、対象のWEBページにおいて話題や記載内容の変化があれば、抽出される関連詞もそれに応じて変化することになる。関連詞辞書(i)に関連詞が記憶されると(更新されると)、辞書比較処理720bによって関連詞辞書(i−1)と関連詞辞書(i)の比較が行われ、関連詞の出現状況に応じて、例えば、新たに出現した新着関連詞等が比較結果データ54に記憶される。また、比較処理が終わると、関連詞辞書(i)の内容が、関連詞辞書(i−1)にコピー(待避)される。
At the next time (T = t3), as in the case of T = t1 and t2, from the
以降、同様にこれらの文字列抽出処理(710d、710e)及び辞書比較処理(720c、720d)を繰り返して、比較結果データ54が、関連詞辞書(i−1)と関連詞辞書(i)を比較した結果得られた関連詞により、各タイミング(T=t2〜t5)ごとに更新される。比較結果としての関連詞を最新のものだけ記憶するか累積的に記憶するかは、上述したように、適用する応用システム等の仕様による。
Thereafter, the character string extraction process (710d, 710e) and the dictionary comparison process (720c, 720d) are similarly repeated, and the
図43は、同じWEBページから時系列に収集された5つのテキストデータ(テキストデータ1〜5)から、文字列抽出処理710によって、それぞれ異なるタイミングで関連詞が抽出され、抽出された関連詞が、それぞれ対応する関連詞辞書(i−1)、関連詞辞書(i)、または関連詞辞書(i+1)に記憶され、その後、関連詞辞書(i+1)が更新された場合に、関連詞辞書(i−1)、関連詞辞書(i)、関連詞辞書(i+1)とを対象として辞書比較処理720が行われ、これらの処理が、時間(T=t1)から(T=t5)まで周期的に行われている例を示している(時間(T=t6)以降は省略した)。図41との相違は、関連詞辞書がサイクリックに3つ用いられている点である。
In FIG. 43, related words are extracted at different timings by the character
最初に、時間(T=t1)において、この時点で所定のWEBページから収集されたテキストデータ1から、文字列抽出処理710fによって関連詞が抽出され、抽出された関連詞が関連詞辞書(i−1)に記憶される。
First, at time (T = t1), from the
次の、時間(T=t2)において、T=t1の場合と同様に、同じWEBページから収集されたテキストデータ2から、文字列抽出処理710gによって関連詞が抽出され、抽出された関連詞が関連詞辞書(i)に記憶される。ここで、対象のWEBページにおいて話題や記載内容の変化があれば、抽出される関連詞もそれに応じて変化することになる。その後、時間(T=t3)において、T=t1、t2の場合と同様に、同じWEBページから収集されたテキストデータ3から、文字列抽出処理710hによって関連詞が抽出され、抽出された関連詞が関連詞辞書(i+1)に記憶される。ここで、対象のWEBページにおいて話題や記載内容の変化があれば、抽出される関連詞もそれに応じて変化することになる。
At the next time (T = t2), as in the case of T = t1, from the
時間(T=t3)において、関連詞辞書(i+1)に関連詞が記憶されると(更新されると)、辞書比較処理720fによって3つの関連詞辞書(関連詞辞書(i−1)、関連詞辞書(i)、関連詞辞書(i+1))の比較が行われ、関連詞の出現状況に応じて、関連詞等が比較結果データ54に記憶される。この実施例では、3つの関連辞書に関する比較が行われるため、2つの関連詞辞書に関する変化に基づいて記憶する関連詞として、例えば、新たに出現した新着関連詞や消滅した消滅関連詞のほか、3つの関連詞辞書に亘る変化に基づいて記憶すべきと判定される関連詞もある。例えば、関連詞辞書(i)において一旦消滅して、関連詞辞書(i+1)において再度出現した復活関連詞などである。その他、関連詞辞書において関連詞の出現頻度を記憶していることが条件となるが、短期間のうちに(3つの関連詞辞書において)急激に出現頻度が高まった関連詞、(3つの関連詞辞書において)出現頻度が激減した関連詞、(3つの関連詞辞書において)出現頻度が再び高くなった関連詞、他の関連詞の出現頻度が変化するなかで一定範囲の出現頻度を維持する関連詞などを把握することも可能である。
When related words are stored in the related word dictionary (i + 1) (when updated) at time (T = t3), three related word dictionaries (related word dictionary (i-1) The lyric dictionary (i) and the related lexicon dictionary (i + 1) are compared, and the related words are stored in the
辞書比較処理720fにおいて、比較処理が終わると、関連詞辞書(i)の内容が、関連詞辞書(i−1)にコピーされるとともに、関連詞辞書(i+1)の内容が、関連詞辞書(i)にコピーされる。なお、この図では、辞書比較処理720fが、T=t3のタイミングで行われているように記載されているが、関連詞辞書(i−1)、及び関連詞辞書(i)が更新された後に行われるものである。 In the dictionary comparison process 720f, when the comparison process is completed, the contents of the related word dictionary (i) are copied to the related word dictionary (i-1), and the contents of the related word dictionary (i + 1) Copy to i). In this figure, although the dictionary comparison process 720f is described as being performed at the timing of T = t3, the related word dictionary (i-1) and the related word dictionary (i) are updated. It will be done later.
次の、時間(T=t4)において、T=t1〜t3の場合と同様に、同じWEBページから収集されたテキストデータ4から、文字列抽出処理710iによって関連詞が抽出され、抽出された関連詞が関連詞辞書(i+1)に記憶される。ここで、対象のWEBページにおいて話題や記載内容の変化があれば、抽出される関連詞もそれに応じて変化することになる。関連詞辞書(i+1)に関連詞が記憶されると(更新されると)、辞書比較処理720gによって3つの関連詞辞書(関連詞辞書(i−1)、関連詞辞書(i)、関連詞辞書(i+1))の比較が行われ、関連詞の出現状況に応じて、関連詞等が比較結果データ54に記憶される。また、比較処理が終わると、関連詞辞書(i)の内容が、関連詞辞書(i−1)にコピーされるとともに、関連詞辞書(i+1)の内容が、関連詞辞書(i)にコピーされる。
At the next time (T = t4), as in the case of T = t1 to t3, the related words are extracted by the character
以降、同様にこれらの文字列抽出処理710j及び辞書比較処理720hを繰り返して、比較結果データ54が、関連詞辞書(i−1)、関連詞辞書(i)、関連詞辞書(i+1)を比較した結果得られた関連詞により、各タイミング(T=t3〜t5)ごとに更新される。比較結果としての関連詞を最新のものだけ記憶するか累積的に記憶するかは、上述したように、適用する応用システム等の仕様による。
Thereafter, the character
なお、図42の実施例では2つの関連詞辞書を、図43の実施例では3つの関連詞辞書を(サイクリックに)用いて比較結果データ54を記憶・更新しているが、これ以上の関連詞辞書を用いて辞書比較処理を行ってもよい。これによって、より多くのタイミングにおける関連詞の出現状況を把握することができ、この出現状況が所定条件を満たす場合に、当該関連詞を比較結果データ54に記憶することができる。
In the embodiment of FIG. 42, the
図44は、異なるWEBページ(異なる主題に関するWEBページ)から同タイミングで収集された3つのテキストデータ(テキストデータA〜C)から、文字列抽出処理710によって関連詞が抽出され、抽出された関連詞が、それぞれ対応する関連詞辞書A、関連詞辞書B、または関連詞辞書Cに記憶され、その後、これらの3つの関連詞辞書を対象として辞書比較処理720が行われ、これらの処理が、時間(T=t1)から(T=t3)まで周期的に行われている例を示している(時間(T=t4)以降は省略した)。
In FIG. 44, related words are extracted by the character
最初に、時間(T=t1)において、この時点で所定の異なるWEBページからそれぞれ収集された3つのテキストデータ(テキストデータA〜C)から、文字列抽出処理710k、文字列抽出処理710m、文字列抽出処理710nによって関連詞が抽出され、抽出された関連詞がそれぞれ、関連詞辞書A、関連詞辞書B、関連詞辞書Cに記憶される。
First, at time (T = t1), character
その後、辞書比較処理720kによって3つの関連詞辞書(関連詞辞書A、関連詞辞書B、関連詞辞書C)の比較が行われ、関連詞の出現状況に応じて、関連詞等が比較結果データ54に記憶される。この実施例では、例えば、3つの関連詞辞書に共通して存在する関連詞が比較結果データ54に記憶される。この場合、テキストデータA〜Cは、それぞれ異なる主題に関するWEBページから収集されたテキストデータであり、異なる関連詞よりも、3つの関連詞辞書に共通する関連詞(共通関連詞)に着目したほうが、共通の話題を発見することが可能となり、その点で意味のある場合が多い。
Thereafter, comparison of three related words dictionaries (related words dictionary A, related words dictionary B, related words dictionary C) is performed by the
また、関連詞辞書Aにおいて共通関連詞とともに記憶されている他の関連詞(共起関連詞)、関連詞辞書Bにおいて共通関連詞とともに記憶されている他の関連詞(共起関連詞)、及び関連詞辞書Cにおいて共通関連詞とともに記憶されている他の関連詞(共起関連詞)との間に共通性があるか否かをさらに比較して、当該共通性に関する情報を比較結果データ54に記憶することができる。
Also, other related words (co-occurrence related words) stored with common related words in related word dictionary A, and other related words stored with common related words in related word dictionary B (co-related related words), And whether or not there is commonality with other related words (co-relevant related words) stored together with the common related word in the related word dictionary C and information related to the commonness as a
さらに、上記のような共起関連詞を比較する場合に、それらの共起関連詞に関連付けられたランクを考慮して共通性に関する情報を判定してもよい。例えば、ランクの高い(それらの関連詞で示される話題にとって重要性が高い)共起関連詞が、3つの関連詞辞書において共通する場合、共通関連詞の共通性はより高く評価されうる。 Furthermore, when comparing co-related related words as described above, information regarding commonality may be determined in consideration of the ranks associated with the co-related related words. For example, when co-related related words having high rank (highly important for the topic indicated by their related words) are common in the three related word dictionaries, the commonality of common related words can be more highly evaluated.
このような、時間(T=t1)における3つの関連詞辞書の比較を、時間(T=t2)において繰り返し行うことができる。このような処理を行うことにより、比較結果データ54を時系列に更新することができる。
Such comparison of three related words dictionaries at time (T = t1) can be repeated at time (T = t2). By performing such processing, the
時間(T=t2)において、時間(T=t1)と同様に、この時点で所定の異なるWEBページからそれぞれ収集された3つのテキストデータ(テキストデータA’〜C’)から、文字列抽出処理710k’、文字列抽出処理710m’、文字列抽出処理710n’によって関連詞が抽出され、抽出された関連詞がそれぞれ、関連詞辞書A’、関連詞辞書B’、関連詞辞書C’に記憶される。この実施例では、テキストデータA’は、テキストデータAと同じWEBページ、または同じ主題のWEBページを想定している。同様に、テキストデータB’は、テキストデータBと同じWEBページ、または同じ主題のWEBページであり、テキストデータC’は、テキストデータCと同じWEBページ、または同じ主題のWEBページである。
At time (T = t2), similar to time (T = t1), character string extraction processing from three text data (text data A ′ to C ′) collected respectively from predetermined different WEB pages at this time Related words are extracted by 710k ′, character
その後、辞書比較処理720k’によって3つの関連詞辞書(関連詞辞書A’、関連詞辞書B’、関連詞辞書C’)の比較が行われ、関連詞の出現状況に応じて、関連詞等が比較結果データ54に記憶される。この実施例では、例えば、3つの関連詞辞書に共通して存在する関連詞が比較結果データ54に記憶される。
Thereafter, the
さらに、時間(T=t3)において、時間(T=t1、t2)と同様に、この時点で所定の異なるWEBページからそれぞれ収集された3つのテキストデータ(テキストデータA’’〜C’’)から、文字列抽出処理710k’’、文字列抽出処理710m’’、文字列抽出処理710n’’によって関連詞が抽出され、抽出された関連詞がそれぞれ、関連詞辞書A’’、関連詞辞書B’’、関連詞辞書C’’に記憶される。この実施例では、テキストデータA’’は、テキストデータA、テキストデータA’と同じWEBページ、または同じ主題のWEBページを想定している。同様に、テキストデータB’’は、テキストデータB、テキストデータB’と同じWEBページ、または同じ主題のWEBページであり、テキストデータC’’は、テキストデータC、テキストデータC’と同じWEBページ、または同じ主題のWEBページである。
Furthermore, at time (T = t3), as with time (T = t1, t2), three pieces of text data (text data A ′ ′-C ′ ′) collected respectively from predetermined different WEB pages at this time Related words are extracted from the character
その後、辞書比較処理720k’’によって3つの関連詞辞書(関連詞辞書A’’、関連詞辞書B’’、関連詞辞書C’’)の比較が行われ、関連詞の出現状況に応じて、関連詞等が比較結果データ54に記憶される。この実施例では、例えば、3つの関連詞辞書に共通して存在する関連詞が比較結果データ54に記憶される。
Thereafter, the
なお、図44の実施例では、同じタイミングで、異なるWEBページ(異なる主題に関するWEBページ)から収集された3つのテキストデータに基づいて関連詞の抽出を行ったが、2つのテキストデータからそれぞれ関連詞の抽出を行ってもよいし、4つ以上のテキストデータからそれぞれ関連詞の抽出を行ってもよい。 In the example of FIG. 44, related words are extracted based on three text data collected from different WEB pages (WEB pages related to different subjects) at the same timing. The words may be extracted, or the related words may be extracted from four or more pieces of text data.
<<情報更新部における文字列抽出処理と辞書比較処理の詳細な説明>>
次に、図45を参照して、図43に示した文字列抽出処理710と辞書比較処理720の例をより詳細に説明する。図45は、3つのテキストデータ(テキストデータ1〜3)に対してそれぞれ文字列抽出処理(710f、710g、710h)が行われ、対応する関連詞辞書(i−1)、関連詞辞書(i)、関連詞辞書(i+1)に対して、辞書比較処理720fが行われるところを示している。<< Detailed Description of Character String Extraction Processing and Dictionary Comparison Processing in Information Update Unit >>
Next, an example of the character
この実施例では、3つのテキストデータは、共通の主題「株の取引」に関連する同じWEBページから収集されたものである。例えば、WEB検索により、検索キーワード「株の取引」を入力し、その結果得られた3つのWEBページを1つのテキストデータとして扱う。図45では、テキストデータ1は、時間(T=t1)における、第1のWEBページから得られたテキストデータ1−1、第2のWEBページから得られたテキストデータ1−2、第3のWEBページから得られたテキストデータ1−3を含む。同様に、テキストデータ2は、時間(T=t2)における、第1のWEBページから得られたテキストデータ2−1、第2のWEBページから得られたテキストデータ2−2、第3のWEBページから得られたテキストデータ2−3を含み、テキストデータ3は、時間(T=t3)における、第1のWEBページから得られたテキストデータ3−1、第2のWEBページから得られたテキストデータ3−2、第3のWEBページから得られたテキストデータ3−3を含む。ここで、第1のWEBページのURLはすべて同じであり、第2のWEBページのURLはすべて同じであり、第3のWEBページのURLはすべて同じである。
In this example, the three text data are collected from the same web page associated with the common subject "stock trading". For example, the search keyword "trade of stock" is input by web search, and the three web pages obtained as a result are treated as one text data. In FIG. 45, the
ここで、1つのテキストデータに含まれる3つのWEBページに対応するテキストデータ(テキストデータ1−1、テキストデータ1−2、テキストデータ1−3)はそれぞれ、図26に示すような質問文に対応付けて考えることができる。例えば、テキストデータ1−1はQ1の質問であり、テキストデータ1−2はQ8の質問であり、テキストデータ1−3はQ13の質問である。
Here, text data (text data 1-1, text data 1-2, text data 1-3) corresponding to three web pages included in one text data are respectively converted into question sentences as shown in FIG. 26. It can be considered in association. For example, the text data 1-1 is a question of
文字列抽出処理710fは、時間(T=t1)において、テキストデータ1から所定の方法により関連詞を抽出し、関連詞辞書(i−1)に記憶する。この実施例では、関連詞が4つ抽出され、それぞれをランクの順に配列して、1レコードとし関連詞辞書(i−1)に格納する。関連詞のランク付けは、例えば、出現頻度等に基づいて決定することができる。抽出された4つの関連詞(関連詞1〜関連詞4)は、ランク順に「○社」、「△銀行」、「申込みは」、「口座」である。形態素解析等では、意味を持つ最小の単位(形態素)に分解して文字列を把握するが、他の方法では、形態素より大きな単位(例えば、文や文の一部)が関連詞として抽出されうる。上述の「申込みは」といった、名詞と助詞からなる文字列も関連詞として抽出されている。
The character
また、この実施例では、それぞれのテキストデータに関して4つの関連詞が抽出されるようになっているが、これは説明の便宜のためのものである(以降の実施例も同様である)。実際には、関連詞がいくつ抽出されてもよく、テキストデータによってその数が異なる。文字列抽出処理において、一定の判定基準において閾値を超えた場合に文字列が関連詞として決定される場合は、その判定に応じて抽出される関連詞の数が変わってくる。また、抽出する関連詞の数を固定数とすることもできるし、テキストデータの文字数等に応じて設定するようにもできる。 Further, in this embodiment, four related words are extracted for each text data, but this is for the convenience of explanation (the same applies to the following embodiments). In practice, any number of related words may be extracted, and the number varies depending on text data. In the character string extraction process, when the character string is determined as a related word when the threshold value is exceeded in a certain judgment standard, the number of related words extracted changes according to the judgment. Further, the number of related words to be extracted can be fixed, or can be set according to the number of characters of text data.
文字列抽出処理710gは、時間(T=t2)において、テキストデータ2から所定の方法により関連詞を抽出し、関連詞辞書(i)に記憶する。この実施例では、関連詞が4つ抽出され、それぞれをランクの順に配列して、1レコードとし関連詞辞書(i)に格納する。関連詞のランク付けは、例えば、出現頻度等に基づいて決定することができる。抽出された4つの関連詞(関連詞1〜関連詞4)は、ランク順に「税率」、「○社」、「△銀行」、「申込みは」である。
The character
同様に、文字列抽出処理710hは、時間(T=t3)において、テキストデータ3から所定の方法により関連詞を抽出し、関連詞辞書(i+1)に記憶する。この実施例では、関連詞が4つ抽出され、それぞれをランクの順に配列して、1レコードとし関連詞辞書(i+1)に格納する。関連詞のランク付けは、例えば、出現頻度等に基づいて決定することができる。抽出された4つの関連詞(関連詞1〜関連詞4)は、ランク順に「○社」、「口座」、「△銀行」、「申込みは」である。
Similarly, at time (T = t3), the character
次に、関連詞辞書(i−1)、関連詞辞書(i)、関連詞辞書(i+1)に対して、辞書比較処理720fが行われる。この実施例では、辞書比較処理720fは、新たに出現した関連詞(新着関連詞)、消滅した関連詞(消滅関連詞)、及び再度出現した関連詞(復活関連詞)を検出し、これらを比較結果データ54に記憶するものとする。
Next, dictionary comparison processing 720 f is performed on the related word dictionary (i−1), the related word dictionary (i), and the related word dictionary (i + 1). In this embodiment, the dictionary comparison process 720f detects newly appeared related words (newly arrived related words), eliminated related terms (disappeared related terms), and re-appeared related terms (resurrection related terms), and detects them. It is assumed that the
例えば、関連詞辞書(i−1)と関連詞辞書(i)を比較すると、関連詞辞書(i)で、関連詞「税率」が新たに出現しており、さらに、関連詞「口座」が消滅している。そこで、比較結果データ54には、図46のレコード54aに示すように、関連詞「税率」「口座」が記憶される。また、比較結果データ54には、これらの関連詞とともに、出現状況を表すデータ(この実施例では、新たに出現した関連詞の場合「新着」、消滅した関連詞の場合「消滅」)が同じレコードに記憶される。さらに、この実施例では、当該出現状況となったタイミングを示すために、関連詞辞書を識別する「話題名」のデータが記憶される。各関連詞辞書は、話題名や日付けと対応付けられ、関連詞辞書(i)は、ここでは「2013年10月10日、t2における「株の取引」の話題」といった話題名に対応付けられている。
For example, when the related word dictionary (i-1) and the related word dictionary (i) are compared, in the related word dictionary (i), the related word "tax rate" newly appears, and further, the related word "account" is It has disappeared. Therefore, as shown in the
次に、関連詞辞書(i)と関連詞辞書(i+1)を比較すると、関連詞辞書(i+1)で、関連詞「税率」が消滅しており、さらに、関連詞「口座」が復活している(関連詞辞書(i−1)に存在し、関連詞辞書(i)で消滅していた)。そこで、比較結果データ54には、図46のレコード54bに示すように、関連詞「口座」「税率」が記憶される。また、比較結果データ54には、これらの関連詞とともに、出現状況を表すデータ(この実施例では、再度出現した(復活した)関連詞の場合「復活」、消滅した関連詞の場合「消滅」)が同じレコードに記憶される。さらに、この実施例では、当該出現状況となったタイミングを示すために、関連詞辞書を識別する「話題名」のデータが記憶される。各関連詞辞書は、話題名や日付けと対応付けられ、関連詞辞書(i+1)は、ここでは「2013年10月10日、t3における「株の取引」の話題」といった話題名に対応付けられている。
Next, when the related word dictionary (i) and the related word dictionary (i + 1) are compared, the related word "tax rate" disappears in the related word dictionary (i + 1), and the related word "account" is restored. (It exists in the related word dictionary (i-1) and has disappeared in the related word dictionary (i)). Therefore, as shown in the
次に、図47を参照して、図44に示した文字列抽出処理710と辞書比較処理720の例をより詳細に説明する。図47は、時間(T=t1)において、3つのテキストデータ(テキストデータA〜C)に対してそれぞれ文字列抽出処理(710k、710m、710n)が行われ、対応する関連詞辞書A、関連詞辞書B、関連詞辞書Cに対して、辞書比較処理720kが行われるところを示している。
Next, the example of the character
この実施例では、3つのテキストデータは、同じ時間(T=t1)において、異なる主題に関連するWEBページから収集されたものである。すなわち、テキストデータAは、「A社の技術」を主題としたWEBページに基づくものであり、テキストデータBは、「B社の技術」を主題としたWEBページに基づくものであり、テキストデータCは、「AI(人工知能)関連技術」を主題としたWEBページに基づくものである。 In this example, the three text data are collected from the web pages associated with different subjects at the same time (T = t1). That is, text data A is based on a web page having "the technology of company A" as the subject, and text data B is based on a web page having "the technology of company B" as the subject, and text data C is based on the web page which made "AI (artificial intelligence) related technology" the subject.
例えば、テキストデータAに関しては、WEB検索により、検索キーワード「A社の技術」を入力し、その結果得られた3つのWEBページを1つのテキストデータとして扱う。同様に、テキストデータBに関しては、WEB検索により、検索キーワード「B社の技術」を入力し、その結果得られた3つのWEBページを1つのテキストデータとして扱い、テキストデータCに関しては、WEB検索により、検索キーワード「AI(人工知能)関連技術」を入力し、その結果得られた3つのWEBページを1つのテキストデータとして扱う。 For example, with regard to text data A, a search keyword “technology of company A” is input by web search, and the three web pages obtained as a result are treated as one text data. Similarly, for the text data B, the search keyword “technology of company B” is input by web search, the three web pages obtained as a result are treated as one text data, and for the text data C, the web search The search keyword “AI (artificial intelligence) related technology” is input, and the three web pages obtained as a result are treated as one text data.
図47では、テキストデータ1は、主題「A社の技術」に関連した、第1のWEBページから得られたテキストデータA−1、第2のWEBページから得られたテキストデータA−2、第3のWEBページから得られたテキストデータA−3を含む。同様に、テキストデータ2は、主題「B社の技術」に関連した、第1のWEBページから得られたテキストデータB−1、第2のWEBページから得られたテキストデータB−2、第3のWEBページから得られたテキストデータB−3を含み、テキストデータ3は、主題「AI(人工知能)関連技術」に関連した、第1のWEBページから得られたテキストデータC−1、第2のWEBページから得られたテキストデータC−2、第3のWEBページから得られたテキストデータC−3を含む。
In FIG. 47, the
文字列抽出処理710kは、テキストデータAから所定の方法により関連詞を抽出し、関連詞辞書Aに記憶する。この実施例では、関連詞が4つ抽出され、それぞれをランクの順に配列して、1レコードとし関連詞辞書Aに格納する。関連詞のランク付けは、例えば、出現頻度等に基づいて決定することができる。抽出された4つの関連詞(関連詞1〜関連詞4)は、ランク順に「A社」、「音声」、「音声認識」、「営業」となっている。
The character
文字列抽出処理710mは、テキストデータBから所定の方法により関連詞を抽出し、関連詞辞書Bに記憶する。この実施例では、関連詞が4つ抽出され、それぞれをランクの順に配列して、1レコードとし関連詞辞書Bに格納する。関連詞のランク付けは、例えば、出現頻度等に基づいて決定することができる。抽出された4つの関連詞(関連詞1〜関連詞4)は、ランク順に「音声」、「研究開発」、「B社の業績」、「音声認識」となっている。
The character
同様に、文字列抽出処理710nは、テキストデータCから所定の方法により関連詞を抽出し、関連詞辞書Cに記憶する。この実施例では、関連詞が4つ抽出され、それぞれをランクの順に配列して、1レコードとし関連詞辞書Cに格納する。関連詞のランク付けは、例えば、出現頻度等に基づいて決定することができる。抽出された4つの関連詞(関連詞1〜関連詞4)は、ランク順に「AI」、「ロボット」、「音声認識」、「エージェント」となっている。
Similarly, the character
次に、関連詞辞書A、関連詞辞書B、関連詞辞書Cに対して、辞書比較処理720kが行われる。この実施例では、辞書比較処理720kは、3つの辞書に共通する関連詞(共通関連詞)を検出し、これらを比較結果データ54に記憶するものとする。
Next,
関連詞辞書A、関連詞辞書B、関連詞辞書Cを比較すると、それぞれ上述した関連詞を記憶しており、共通関連詞として「音声認識」が存在することが認められる。そこで、この「音声認識」を比較結果データ54に記憶する。
When comparing the related words dictionary A, the related words dictionary B, and the related words dictionary C, the related words described above are stored respectively, and it is recognized that "speech recognition" exists as a common related word. Therefore, this "voice recognition" is stored in the
このような共通関連詞を把握することにより、企業間関連情報の分析を効果的に実現することができる。例えば、A社の技術に関する記述で多く用いられている関連詞をテキストデータAに基づく文字列抽出処理710kにより抽出し、B社の技術に関する記述で多く用いられている関連詞をテキストデータBに基づく文字列抽出処理710mにより抽出し、AI(人工知能)関連技術に関する記述で多く用いられている関連詞をテキストデータCに基づく文字列抽出処理710nにより抽出することによって、A社とB社とが、どのようなAI関連技術で共通性を有している可能性があるかを、客観的に把握することができる。
By grasping such common related words, analysis of inter-company related information can be realized effectively. For example, the related words often used in the description of the technology of company A are extracted by the character
なお、図47に示す実施例では、同じ時間(T=t1)において、異なる主題に関連するWEBページから収集されたテキストデータに基づく関連詞辞書を比較するものであり、WEBページは、それぞれは意図的なWEB検索により収集されたものであるが、まったく偶然に集められたWEBページからそれぞれ得られた関連詞辞書を比較した結果、偶然にも共通の関連詞が見いだされるといったケースも考えられる。 In the example shown in FIG. 47, relative word dictionaries based on text data collected from web pages related to different subjects are compared at the same time (T = t1), and each web page is Although it is collected by intentional WEB search, as a result of comparing the related words dictionary obtained respectively from the WEB page collected completely by chance, it may be considered that a common related word is found also by chance .
次に、図48を参照して、情報更新部46における文字列抽出処理710と辞書比較処理720の他の実施例を説明する。図48は、図45に示した文字列抽出処理710と辞書比較処理720の変形例を示すものである。図48には、2つのテキストデータ(テキストデータ1、テキストデータ2)に対してそれぞれ文字列抽出処理710が行われ、対応する関連詞辞書(i−1)、関連詞辞書(i)に対して、辞書比較処理720が行われるところを示している。図45に示す、テキストデータ3に関する処理については表示を省略した。
Next, another embodiment of the character
この実施例では、2つのテキストデータは、共通の主題「株の取引」に関連する同じWEBページから収集されたものである。例えば、WEB検索により、検索キーワード「株の取引」を入力し、その結果得られた3つのWEBページを1つのテキストデータとするが、関連詞は、WEBページの単位ごとに抽出する。これによって、関連詞が、WEBページごとに管理されるが、3つのWEBページに基づくテキストデータを3つ用意し、そのテキストデータごとに関連詞が抽出されるようにしてもよい。ここでは、関連詞が、複数のテキストデータから抽出されていることが重要である。 In this example, the two text data are collected from the same web page associated with the common subject "stock trading". For example, the search keyword “trade dealings” is input by web search, and the three web pages obtained as a result are regarded as one text data, but the related words are extracted for each web page unit. As a result, although related words are managed for each WEB page, three text data based on three Web pages may be prepared, and related words may be extracted for each text data. Here, it is important that related words are extracted from a plurality of text data.
図48では、テキストデータ1は、時間(T=t1)における、第1のWEBページから得られたテキストデータ1−1、第2のWEBページから得られたテキストデータ1−2、第3のWEBページから得られたテキストデータ1−3を含む。同様に、テキストデータ2は、時間(T=t2)における、第1のWEBページから得られたテキストデータ2−1、第2のWEBページから得られたテキストデータ2−2、第3のWEBページから得られたテキストデータ2−3を含む。ここで、第1のWEBページのURLはすべて同じであり、第2のWEBページのURLはすべて同じであり、第3のWEBページのURLはすべて同じである。
In FIG. 48, the
文字列抽出処理710は、時間(T=t1)において、テキストデータ1から所定の方法により関連詞を抽出する。これは、上述のように、テキストデータ1に含まれるテキストデータごとに行われ、例えば、テキストデータ1−1から所定の方法により関連詞が抽出され、テキストデータ1−2から所定の方法により関連詞が抽出され、テキストデータ1−3から所定の方法により関連詞が抽出される。この実施例では、それぞれについて関連詞が4つ抽出され、各関連詞をランクの順に配列する。関連詞のランク付けは、例えば、出現頻度等に基づいて決定することができる。テキストデータ1−1に関し、抽出された4つの関連詞(関連詞1〜関連詞4)は、ランク順に「○社」、「口座」、「申込手続」、「△銀行」である。テキストデータ1−2に関し、抽出された4つの関連詞(関連詞1〜関連詞4)は、ランク順に「口座」、「△銀行」、「申込みは」、「◇社」である。テキストデータ1−3に関し、抽出された4つの関連詞(関連詞1〜関連詞4)は、ランク順に「株の購入」、「△銀行」、「指し値」、「○社」である。
The character
次に、文字列抽出処理710は、このように抽出された関連詞のそれぞれについて、近傍関連詞を求め、それらを関連詞辞書(i−1)に記憶する。近傍関連詞は、ある関連詞に着目した場合に、その関連詞とともに出現する(共起する)関連詞である。各テキストデータ(1−1、1−2、1−3)において、そのテキストデータに対応する話題に含まれている関連詞の集合は関連詞集合であり、ある関連詞に着目した場合、その関連詞を含む関連詞集合を、関連詞の近傍と称し、関連詞の近傍の集合を、関連詞の近傍系と称する。関連詞辞書(i−1)には、関連詞ごとに、関連詞の近傍系が記憶される。
Next, the character
例えば、関連詞「○社」に着目すると、この関連詞は、テキストデータ1−1について抽出されており、関連詞の近傍は{○社、口座、申請手続、△銀行}である。同様に、この関連詞は、テキストデータ1−3について抽出されており、関連詞の近傍は{株の購入、△銀行、指し値、○社}である。これらから、関連詞「○社」について、関連詞の近傍系は、{○社、口座、株の購入、△銀行、申請手続、指し値}となる(テキストデータ1−1についての関連詞の近傍と、テキストデータ1−3についての関連詞の近傍とで重複する関連詞「△銀行」は1つだけ含められる)。 For example, when focusing on the related word "○ company", this related word is extracted for the text data 1-1, and the neighborhood of the related word is {は company, account, application procedure, 銀行 bank}. Similarly, the related words are extracted for the text data 1-3, and the neighborhoods of the related words are {share purchase, Δ bank, limit price, ○ company}. From these, with regard to the related word “company ○,” the neighborhood system of the related word is {company ○, account, purchase of stock, bank, application procedure, limit price} (near the related word for text data 1-1 And the related words “△ bank” overlapping in the vicinity of the related words for the text data 1-3 are included only one).
こうして求められた関連詞の近傍系が、それぞれの関連詞「○社」、「口座」、「△銀行」、「申請手続」、「株の購入」、「申込みは」、「指し値」、「◇社」について、関連詞辞書(i−1)に記憶される。各関連詞については、関連詞の近傍系(近傍関連詞1〜7)が記憶されるが、これらの順序は、文字列抽出処理710により行われたランク付けや、共起性の高さ等を考慮して定められる。
The neighborhood systems of the related words thus obtained are the respective related words "company Y", "account", "bank", "application procedure", "purchase of stock", "application", "limit price", " "Company" is stored in the related word dictionary (i-1). For each related word, a neighborhood system of related words (near-point
さらに、文字列抽出処理710は同様に、時間(T=t2)において、テキストデータ2から所定の方法により関連詞を抽出する。これは、上述のように、テキストデータ2に含まれるテキストデータごとに行われ、例えば、テキストデータ2−1から所定の方法により関連詞が抽出され、テキストデータ2−2から所定の方法により関連詞が抽出され、テキストデータ2−3から所定の方法により関連詞が抽出される。この実施例では、それぞれについて関連詞が4つ抽出され、各関連詞をランクの順に配列する。関連詞のランク付けは、例えば、出現頻度等に基づいて決定することができる。テキストデータ2−1に関し、抽出された4つの関連詞(関連詞1〜関連詞4)は、ランク順に「○社」、「口座」、「新しい制度」、「申請手続」である。テキストデータ2−2に関し、抽出された4つの関連詞(関連詞1〜関連詞4)は、ランク順に「口座」、「△銀行」、「◇社」、「株の購入」である。テキストデータ2−3に関し、抽出された4つの関連詞(関連詞1〜関連詞4)は、ランク順に「株の購入」、「△銀行」、「○社」、「新しい制度」である。
Furthermore, the character
次に、文字列抽出処理710は、このように抽出された関連詞のそれぞれについて、近傍関連詞を求め、それらを関連詞辞書(i)に記憶する。例えば、関連詞「○社」に着目すると、この関連詞は、テキストデータ2−1について抽出されており、関連詞の近傍は{○社、口座、新しい制度、申請手続}である。同様に、この関連詞は、テキストデータ2−3について抽出されており、関連詞の近傍は{株の購入、△銀行、○社、新しい制度}である。これらから、関連詞「○社」について、関連詞の近傍系は、{○社、口座、株の購入、新しい制度、申請手続、△銀行}となる(テキストデータ2−1についての関連詞の近傍と、テキストデータ2−3についての関連詞の近傍とで重複する関連詞「新しい制度」は1つだけ含められる)。
Next, the character
こうして求められた関連詞の近傍系が、それぞれの関連詞「○社」、「口座」、「△銀行」、「申請手続」、「株の購入」、「新しい制度」、「◇社」について、関連詞辞書(i)に記憶される。各関連詞については、関連詞の近傍系(近傍関連詞1〜6)が記憶されるが、これらの順序は、文字列抽出処理710により行われたランク付けや、共起性の高さ等を考慮して定められる。
The neighborhood system of related words found in this way is the respective related words "○ company", "account", "△ bank", "application procedure", "share purchase", "new system", "◇ company" , Related words dictionary (i) is stored. For each related word, a neighborhood system of related words (near-point
次に、辞書比較処理720により、関連詞辞書(i−1)と関連詞辞書(i)が比較される。その結果、関連詞「指し値」、「申込みは」は、時間(T=t2)で消滅した消滅関連詞であり(図48の符号753参照)、関連詞「新しい制度」は、時間(T=t2)で新たに出現する新着関連詞であり(図48の符号752参照)、これらの関連詞は、関連詞辞書(i−1)と関連詞辞書(i)の変化分として比較結果データ54に記憶される。
Next, the
さらに、辞書比較処理720は、関連詞「○社」、「口座」、「△銀行」、「申請手続」、「株の購入」、「◇社」については、時間(T=t1)及び時間(T=t2)の両方で存在する関連詞であるが、各関連詞の近傍関連詞についても比較を行う。そうすると、近傍関連詞(または近傍関連詞の順序)が変化していることが分かる(図48の符号751参照)。このことは、話題における当該関連詞の関係性や位置づけが変化していることを示している。本発明に係る情報検索システム100が、こうした近傍関連詞の変化についても可視化しようとする場合は、これらの情報についても比較結果データ54に記憶する。
Furthermore, the
次に、図49を参照して、情報更新部46における文字列抽出処理710と辞書比較処理720の他の実施例を説明する。図49は、図47に示した文字列抽出処理710と辞書比較処理720の変形例を示すものである。図49には、3つのテキストデータ(テキストデータA〜C)に対してそれぞれ文字列抽出処理710が行われ、対応する関連詞辞書A、関連詞辞書B、関連詞辞書Cに対して、辞書比較処理720が行われるところを示している。
Next, another embodiment of the character
この実施例では、3つのテキストデータは、同じ時間(T=t1)において、異なる主題に関連する同じWEBページから収集されたものである。すなわち、テキストデータAは、「A社の技術」を主題としたWEBページに基づくものであり、テキストデータBは、「B社の技術」を主題としたWEBページに基づくものであり、テキストデータCは、「AI(人工知能)関連技術」を主題としたWEBページに基づくものである。 In this example, the three text data are collected at the same time (T = t1) from the same WEB page associated with different subjects. That is, text data A is based on a web page having "the technology of company A" as the subject, and text data B is based on a web page having "the technology of company B" as the subject, and text data C is based on the web page which made "AI (artificial intelligence) related technology" the subject.
例えば、テキストデータAに関しては、WEB検索により、検索キーワード「A社の技術」を入力し、その結果得られた2つのWEBページから2つのテキストデータ(テキストデータA−1、テキストデータA−2)を取得し、これらを文字列抽出処理710においては個別に扱う。同様に、テキストデータBに関しては、WEB検索により、検索キーワード「B社の技術」を入力し、その結果得られた2つのWEBページから2つのテキストデータ(テキストデータB−1、テキストデータB−2)を取得し、これらを文字列抽出処理710においては個別に扱う。同様に、テキストデータCに関しては、WEB検索により、検索キーワード「AI(人工知能)関連技術」を入力し、その結果得られた2つのWEBページから2つのテキストデータ(テキストデータC−1、テキストデータC−2)を取得し、これらを文字列抽出処理710においては個別に扱う。図48では、テキストデータA、テキストデータB、テキストデータCにそれぞれ3つのテキストデータが含まれていたが、この実施例では、それぞれ2つのテキストデータを含むものとする。
For example, with regard to text data A, search keyword "technology of company A" is input by web search, and two text data (text data A-1, text data A-2) are obtained from the two web pages obtained as a result. ) And handle them individually in the
文字列抽出処理710は、時間(T=t1)において、テキストデータAから所定の方法により関連詞を抽出する。これは、上述のように、テキストデータAに含まれるテキストデータごとに行われ、例えば、テキストデータA−1から所定の方法により関連詞が抽出され、テキストデータA−2から所定の方法により関連詞が抽出される。この実施例では、それぞれについて関連詞が4つ抽出され、各関連詞をランクの順に配列する。関連詞のランク付けは、例えば、出現頻度等に基づいて決定することができる。テキストデータA−1に関し、抽出された4つの関連詞(関連詞1〜関連詞4)は、ランク順に「A社」、「音声」、「音声認識」、「ロボット」である。テキストデータA−2に関し、抽出された4つの関連詞(関連詞1〜関連詞4)は、ランク順に「圧縮技術」、「音声認識」、「営業」、「音声」である。
Character
次に、文字列抽出処理710は、このように抽出された関連詞のそれぞれについて、近傍関連詞を求め、それらを関連詞辞書Aに記憶する。近傍関連詞は、ある関連詞に着目した場合に、その関連詞とともに出現する(共起する)関連詞である。各テキストデータ(A−1、A−2)において、そのテキストデータに対応する話題に含まれている関連詞の集合は関連詞集合であり、ある関連詞に着目した場合、その関連詞を含む関連詞集合を、関連詞の近傍と称し、関連詞の近傍の集合を、関連詞の近傍系と称する。関連詞辞書Aには、関連詞ごとに、関連詞の近傍系が記憶される。
Next, the character
例えば、関連詞「音声認識」に着目すると、この関連詞は、テキストデータA−1について抽出されており、関連詞の近傍は{A社、音声、音声認識、ロボット}である。同様に、この関連詞は、テキストデータA−2について抽出されており、関連詞の近傍は{圧縮技術、音声認識、営業、音声}である。これらから、関連詞「音声認識」について、関連詞の近傍系は、{音声認識、A社、圧縮技術、音声、ロボット、営業}となる(テキストデータA−1についての関連詞の近傍と、テキストデータA−2についての関連詞の近傍とで重複する関連詞「音声」は1つだけ含められる)。 For example, focusing on the related word "speech recognition", this related word is extracted for the text data A-1, and the neighborhood of the related word is {A company, speech, speech recognition, robot}. Similarly, the related words are extracted for the text data A-2, and the neighborhoods of the related words are {compression technology, speech recognition, sales, speech}. From these, with regard to the related word "speech recognition", the neighborhood system of the related word becomes {speech recognition, company A, compression technology, speech, robot, sales} (near the related word for text data A-1, Only one relevant term "speech" overlapping with the neighborhood of the relevant term for text data A-2 is included).
こうして求められた関連詞の近傍系が、それぞれの関連詞「A社」、「音声認識」、「音声」、「圧縮技術」、「営業」、「ロボット」について、関連詞辞書Aに記憶される。各関連詞については、関連詞の近傍系(近傍関連詞1〜5)が記憶されるが、これらの順序は、文字列抽出処理710により行われたランク付けや、共起性の高さ等を考慮して定められる。
The neighborhood system of the related words thus obtained is stored in the related word dictionary A for each of the related words "A company", "speech recognition", "speech", "compression technology", "sales" and "robot". Ru. For each related word, the neighborhood system of the related word (near-point
さらに、文字列抽出処理710は、時間(T=t1)において、テキストデータBから所定の方法により関連詞を抽出する。これは、上述のように、テキストデータBに含まれるテキストデータごとに行われ、例えば、テキストデータB−1から所定の方法により関連詞が抽出され、テキストデータB−2から所定の方法により関連詞が抽出される。この実施例では、それぞれについて関連詞が4つ抽出され、各関連詞をランクの順に配列する。関連詞のランク付けは、例えば、出現頻度等に基づいて決定することができる。テキストデータB−1に関し、抽出された4つの関連詞(関連詞1〜関連詞4)は、ランク順に「音声」、「B社の業績」、「音声認識」、「研究開発」である。テキストデータB−2に関し、抽出された4つの関連詞(関連詞1〜関連詞4)は、ランク順に「研究開発」、「音声」、「音声認識」、「認証技術」である。
Furthermore, the character
次に、文字列抽出処理710は、このように抽出された関連詞のそれぞれについて、近傍関連詞を求め、それらを関連詞辞書Bに記憶する。例えば、関連詞「音声」に着目すると、この関連詞は、テキストデータB−1について抽出されており、関連詞の近傍は{音声、B社の業績、音声認識、研究開発}である。同様に、この関連詞は、テキストデータB−2について抽出されており、関連詞の近傍は{研究開発、音声、音声認識、認証技術}である。これらから、関連詞「音声」について、関連詞の近傍系は、{音声、研究開発、B社の業績、音声認識、認証技術}となる(テキストデータB−1についての関連詞の近傍と、テキストデータB−2についての関連詞の近傍とで重複する関連詞「音声認識」、「研究開発」はそれぞれ1つだけ含められる)。
Next, the character
こうして求められた関連詞の近傍系が、それぞれの関連詞「音声」、「研究開発」、「B社の業績」、「音声認識」、「認証技術」について、関連詞辞書Bに記憶される。各関連詞については、関連詞の近傍系(近傍関連詞1〜4)が記憶されるが、これらの順序は、文字列抽出処理710により行われたランク付けや、共起性の高さ等を考慮して定められる。
The neighborhood system of the related words thus obtained is stored in the related word dictionary B for each of the related words "speech", "research and development", "performance by company B", "speech recognition" and "authentication technology". . For each related word, a neighborhood system of related words (near-point
さらに、文字列抽出処理710は、時間(T=t1)において、テキストデータCから所定の方法により関連詞を抽出する。これは、上述のように、テキストデータCに含まれるテキストデータごとに行われ、例えば、テキストデータC−1から所定の方法により関連詞が抽出され、テキストデータC−2から所定の方法により関連詞が抽出される。この実施例では、それぞれについて関連詞が4つ抽出され、各関連詞をランクの順に配列する。関連詞のランク付けは、例えば、出現頻度等に基づいて決定することができる。テキストデータC−1に関し、抽出された4つの関連詞(関連詞1〜関連詞4)は、ランク順に「AI」、「エージェント」、「ロボット」、「音声認識」である。テキストデータC−2に関し、抽出された4つの関連詞(関連詞1〜関連詞4)は、ランク順に「ロボット」、「音声認識」、「AI」、「学習機能」である。
Furthermore, the character
次に、文字列抽出処理710は、このように抽出された関連詞のそれぞれについて、近傍関連詞を求め、それらを関連詞辞書Cに記憶する。例えば、関連詞「AI」に着目すると、この関連詞は、テキストデータC−1について抽出されており、関連詞の近傍は{AI、エージェント、ロボット、音声認識}である。同様に、この関連詞は、テキストデータC−2について抽出されており、関連詞の近傍は{ロボット、音声認識、AI、学習機能}である。これらから、関連詞「AI」について、関連詞の近傍系は、{AI、ロボット、エージェント、音声認識、学習機能}となる(テキストデータC−1についての関連詞の近傍と、テキストデータC−2についての関連詞の近傍とで重複する関連詞「ロボット」、「音声認識」はそれぞれ1つだけ含められる)。
Next, the character
こうして求められた関連詞の近傍系が、それぞれの関連詞「AI」、「ロボット」、「音声認識」、「エージェント」、「学習機能」について、関連詞辞書Cに記憶される。各関連詞については、関連詞の近傍系(近傍関連詞1〜4)が記憶されるが、これらの順序は、文字列抽出処理710により行われたランク付けや、共起性の高さ等を考慮して定められる。
The neighborhood system of the related words thus obtained is stored in the related word dictionary C for the respective related words “AI”, “robot”, “speech recognition”, “agent”, and “learning function”. For each related word, a neighborhood system of related words (near-point
次に、辞書比較処理720により、関連詞辞書A〜Cが比較される。その結果、関連詞「音声認識」は、時間(T=t1)において、3つの関連詞辞書に共通する関連詞(共通関連詞)であり(図49の符号755、755’、755’’参照)、これが比較結果データ54に記憶される。このような共通関連詞を把握することにより、異なる主題のなかから共通する話題を発見することができ、この実施例のような主題の設定を行えば、企業間関連情報の分析にもつながる。
Next, the
また、辞書比較処理720は、この共通関連詞について、各関連詞の近傍関連詞についても比較を行う。そうすると、近傍関連詞の共通性や近傍関連詞の順序の共通性等を把握することができ、これによって、共通関連詞の間の共通性のレベルを判定することができる。
Also, the
なお、関連詞辞書Aと関連詞辞書Bにおける共通関連詞として「音声」が把握されうるが(図49の符号756、756’参照)、このような一部の関連詞辞書における共通関連詞も重要な情報となる場合があるため、比較結果データ54に記憶することができる。
Although "speech" can be grasped as a common related word in the related word dictionary A and the related word dictionary B (see the
<<<文脈学習機能とサービスIDの切り換え>>>
本発明の一実施形態に係る情報検索システム100では、会話制御端末装置2’’と、この装置を利用するユーザとの間の対話において、上述したように、入力指標や進捗指標等を学習して、その入力指標や進捗指標等に応じた対話を実現することができる。このような機能が、文脈学習機能である。入力指標は、これまでにユーザがどのような入力をしてきたのか、すなわち、ユーザの入力の履歴を示す情報である。また、進捗指標は、これまでにユーザに対してどのような話題を提供してきたのか、すなわち、ユーザに提供した話題の履歴を示す情報である。<<< Context learning function and service ID switching >>>
In the information search system 100 according to an embodiment of the present invention, in the dialogue between the conversation control terminal device 2 '' and the user who uses this device, as described above, the input index, the progress index, etc. are learned. Dialogue can be realized according to the input index or the progress index. Such a function is a context learning function. The input index is information indicating what kind of input the user has made so far, that is, the history of the user's input. The progress indicator is information indicating what kind of topic has been provided to the user so far, that is, the history of the topic provided to the user.
さらに、情報検索システム100では、話題提供サーバ4’の情報更新部46で関連詞の出現に関する履歴等をとらえることにより、関連詞が所属する話題名を明確にすることができるほか、いつもの関連詞と(新たに出現した)新着関連詞とを区別して扱うことができたり、関連詞辞書の比較処理によって、話題の類似性や相違性についての判断をしたりすることができる、関連詞学習機能を実現できる。こうした関連詞学習機能により、会話制御端末装置2’’のユーザは、多くの話題名に関わる入力タイプを扱うことができるようになり、ユーザの入力識別手段が多様化できる。
Furthermore, in the information retrieval system 100, by capturing the history or the like regarding the appearance of the related words in the
シナリオデータは、ユーザの会話制御端末装置2’’における入力状況から判定される入力タイプに基づいてサービスIDを切り換えるよう制御する。例えば、情報検索システム100における話題提供サーバ4’の文解析部43、嗜好解析部44、及び話題解析部45によって提供される関連詞辞書50や関連詞・共起語一覧表示画面650等を提供する機能に対応するサービスIDと、話題提供サーバ4’の情報更新部46によって提供される関連詞辞書50や比較結果データ54の表示等を提供する機能に対応するサービスIDを、シナリオデータによって自動的に切り換える。
The scenario data is controlled to switch the service ID based on the input type determined from the input situation in the user's conversation control
対応するシナリオデータのステートメントは、例えば、所定の入力タイプが入力された場合のアクションとして、対応するサービスIDのサービスに遷移させるように設定される。これを、図14に示すようなシナリオデータで表すと、以下のようなステートメントとなる。
<sto:$IDN$:<sta:$num$>:$input$>
ここで、「sto」は、状態を遷移させる記述(shift to)であり、「$IDN$」は遷移先のサービスの識別番号であり、「<sta:$num$>」は、その遷移先のサービスにおける状態番号であり、「<$input$>」は、ユーザの入力文である。The statement of the corresponding scenario data is set to transition to the service of the corresponding service ID, for example, as an action when a predetermined input type is input. If this is expressed by scenario data as shown in FIG. 14, the following statement is obtained.
<sto: $ IDN $: <sta: $ num $>: $ input $>
Here, “sto” is a description (shift to) for causing a state transition, “$ IDN $” is a service identification number of the transition destination, and “<sta: $ num $>” is the transition destination. Is a state number in the service of “<$ input $>” is a user input statement.
<<<本発明の一実施形態に係る話題提供サーバのハードウェア構成の説明>>>
次に、図50を参照して、本発明の一実施形態に係る話題提供サーバ4’を構成するコンピュータのハードウェア構成の例について説明する。ただし、図50に示す話題提供サーバ4’の構成は、その代表的な構成を例示したにすぎない。<<< Description of Hardware Configuration of Topic Providing Server According to One Embodiment of the Present Invention >>>
Next, with reference to FIG. 50, an example of a hardware configuration of a computer configuring the topic providing server 4 'according to an embodiment of the present invention will be described. However, the configuration of the topic providing server 4 'shown in FIG. 50 merely exemplifies the typical configuration.
話題提供サーバ4’は、CPU(Central Processing Unit)801、RAM(Random Access Memory)802、ROM(Read Only Memory)803、ネットワークインタフェース804、オーディオ制御部805、マイクロフォン806、スピーカ807、ディスプレイコントローラ808、ディスプレイ809、入力機器インタフェース810、キーボード811、マウス812、外部記憶装置813、外部記録媒体インタフェース814、及びこれらの構成要素を互いに接続するバス815を含んでいる。
The
CPU801は、話題提供サーバ4’の各構成要素の動作を制御し、OSの制御下で、本発明に係る文解析部43、嗜好解析部44、話題解析部45、情報更新部46における処理等の実行を制御する。
The
RAM802には、CPU801で実行される各処理を実行するためのプログラムや、それらのプログラムが実行中に使用するデータが一時的に格納される。また、上述のように、関連詞辞書50や比較結果データ54等も記憶されうる。ROM803には、話題提供サーバ4’の起動時に実行されるプログラム等が格納される。
The
ネットワークインタフェース804は、ネットワーク900に接続するためのインタフェースである。ネットワーク900は、例えば、図20に示す会話制御端末装置2’’やクローラー730が動作するコンピュータとの間のネットワークや、インターネットのようなネットワークである。
The
オーディオ制御部805は、マイクロフォン806とスピーカ807を制御して音声の入出力を制御する。ディスプレイコントローラ808は、CPU801が発行する描画命令を実際に処理するための専用コントローラである。ディスプレイ809は、例えば、LCD(Liquid Crystal Display)やCRT(Cathode Ray Tube)で構成される表示装置である。
The
入力機器インタフェース810は、キーボード811やマウス812から入力された信号を受信して、その信号パターンに応じて所定の指令をCPU801に送信する。
The
外部記憶装置813は、例えば、ハードディスクや半導体メモリのような記憶装置であり、この装置内には上述したプログラムやデータが記録され、実行時に、必要に応じてそこからRAM802にロードされる。例えば、また、上述のように、関連詞辞書50や比較結果データ54等も記憶されうる。
The
外部記録媒体インタフェース814は、外部記録媒体910にアクセスして、そこに記録されているデータを読み取る。外部記録媒体910は、例えば、可搬型のフラッシュメモリ、CD(Compact Disc)、DVD(Digital Versatile Disc)などである。CPU801で実行され、本発明の各機能を実現するためのプログラムは、この外部記録媒体インタフェース814を介して外部記録媒体910から提供されうる。また、本発明の各機能を実現するためのプログラムの他の流通形態としては、ネットワーク上の所定のサーバから、ネットワーク900及びネットワークインタフェース804を介して外部記憶装置813やRAM802に格納されるというルート等も考えられる。
The external
本発明の一実施形態に係る話題提供サーバ4’のハードウェア構成について、一例を説明したが、本発明の情報検索システム100に含まれる会話制御端末装置2’’やクローラー730が動作するコンピュータのハードウェア構成も基本的に、図50に示す構成と同様である。ただし、ここで、話題提供サーバ4’やクローラー730が動作するコンピュータについては、オーディオ制御部805、マイクロフォン806、スピーカ807、ディスプレイコントローラ808、ディスプレイ809、入力機器インタフェース810、キーボード811、及びマウス812は必須の構成要素ではない。
Although an example was demonstrated about the hardware constitutions of subject provision server 4 'which concerns on one Embodiment of this invention, the computer by which conversation control terminal device 2' 'and
また、ここまでに説明した情報検索システム100は、会話制御端末装置2’’で動作するTopiclet20と、話題提供サーバ4’との間で、シナリオデータ28(または、シナリオデータ55)による制御に応じてデータの送受信を行うことにより、会話制御端末装置2’’のディスプレイに関連詞等の情報を表示する構成である。また、Topiclet20を、例えば、所定のタイミングで会話制御端末装置2’’にダウンロードされ起動されるようにし、そのTopiclet20がインターネット等のネットワークを介して話題提供サーバ4’と通信を行う、いわゆるクラウドコンピューティングによるシステムとして構成することができる。
In addition, the information retrieval system 100 described so far is controlled by the scenario data 28 (or the scenario data 55) between the
しかしながら、本発明に係る情報検索システム100は、他の様々な構成・方法により、本発明の技術的思想を効果的に実現することができる。例えば、上述した話題提供サーバ4’の各機能を、WEBサーバやASP(Active Server Pages)サーバ等で構成し、会話制御端末装置2’’で動作する一般的なWEBブラウザが、シナリオデータに制御されることなく(あるいは、シナリオデータによる制御の下で)、ユーザの指示に応じて、会話制御端末装置2’’のディスプレイに、関連詞等の情報を表示したり、話題や関連詞辞書や比較結果データの切り換えを行ったりするように構成することができる。この場合、話題提供サーバ4’として機能する、WEBサーバやASPサーバ等は、会話制御端末装置2’’のディスプレイに画面表示を行うために、当該表示のためのデータ(例えば、HTMLデータ)を編集し生成する。
However, the information search system 100 according to the present invention can effectively realize the technical idea of the present invention by various other configurations and methods. For example, each function of the topic providing server 4 'described above is configured by a WEB server, an ASP (Active Server Pages) server, etc., and a general WEB browser operating on the conversation control terminal device 2' 'controls scenario data. To display information such as related words or the like on the display of the
<<<話題提供システムの他のシステム構成>>>
次に、図51を参照して、話題提供システムの他のシステム構成の概略について説明する。<<< Other system configuration of topic offer system >>>
Next, with reference to FIG. 51, an outline of another system configuration of the topic providing system will be described.
図51に示す話題提供システム1’は、会話制御端末装置1002(Topiclet1020)、話題提供サーバ1004(iWA1030)、保守装置1003(iWA Manager1040)、および話題解析装置1005を有する。図4に示す話題提供システム1では、話題解析処理による結果の(シナリオデータ編集部410への)提供が、保守装置3(iWA Manager40)において行われるように示されているが、図51に示す話題提供システム1’では、話題解析処理自体が話題解析装置1005という、保守装置1003(iWA Manager1040)とは別個の装置により実行されることが示されており、話題提供システムをこのようなシステム構成で実現することもできる。
The
話題提供システム1と話題提供システム1’は、その他の構成については同様であり、詳細な説明については省略する。会話制御端末装置1002は、受信部1240、および送信部1230を含む。受信部1240は会話制御端末装置2の受信部240に対応し、送信部1230は会話制御端末装置2の送信部230に対応する。会話制御端末装置1002は、基本的に図4の会話制御端末装置2と同様であり、他の構成要素については表示を省略する。話題提供サーバ1004は、入力情報分析部1310、およびシナリオデータ記憶部1320を含み、保守装置1003は、シナリオデータ送信部1430、シナリオデータ編集部1410、および端末装置仮想構築部1420を含む。話題解析装置1005は、話題解析部1510を含む。
The
図51に示す話題提供システム1’において、話題解析装置1005の話題解析部1510は、話題提供サーバ1004に対してネットワークを介して接続され、話題解析処理により求められたシナリオデータやその他のデータを、話題提供サーバ1004の入力情報分析部1310に提供する。また、話題解析装置1005の話題解析部1510は、保守装置1003に対してネットワークを介して接続され(または、話題提供サーバ1004を介して間接的に接続され)、話題解析処理により求められたシナリオデータやその他のデータを、保守装置1003のシナリオデータ編集部1410に提供する。
In the
話題解析装置1005の話題解析部1510は、話題リストを生成し、話題リストに基づくシナリオデータを編集したり検証したりする。話題リストは、話題を関係付ける関連詞を介して話題の近さや繋がり方を付与したデータである。話題解析部1510によって、話題に関連付けられる関連詞が話題リストに蓄積されていく。保守装置1003に提供された話題リストは、話題提供システム1’の契約者に提供されるデータであり、これらのデータは、例えば、シナリオデータを生成する際に用いられる。
The
また、話題解析装置1005の話題解析部1510は、図20に示す話題提供サーバ4’の文解析部43の処理を実現するように構成されてもよいし、入力情報分析部41の各処理を実現するように構成されてもよい。
In addition, the
さらに、話題解析装置1005の話題解析部1510は、話題提供システム1’の契約者のそれぞれに対応付けられるように複数配置することができる。その場合に、それぞれの話題解析装置1005で取得した情報を利用(または整理・統合したうえで利用)し、対応する保守装置1003や話題提供サーバ1004にデータを提供することもできる。話題解析装置1005の話題解析部1510によりデータが提供されるタイミングとデータの内容は、提供先によって(すなわち、保守装置1003と、話題提供サーバ1004とで)異なっていてもよい。
Furthermore, a plurality of
また、契約者(または、契約者に属する担当者)は、保守装置1003を用いて、話題解析装置1005から提供されるデータにより、話題リストを構築したりシナリオデータを編集・作成することができるが、図51に示す話題提供システム1’のような構成により、インターネット上のサービスとして遠隔から利用できるPaaS(Platform as a Service)やSaaS(Software as a Service)といった仕組みにより、保守装置1003において各機能を実現することもできる。
Also, the contractor (or a person in charge belonging to the contractor) can use the
ここまで、本発明の一実施形態に係る情報検索システム100について、本発明を実施することができるいくつかの実施例を示しながら説明してきたが、これらの実施例は本発明を説明するための一例に過ぎず、本発明の権利範囲はこれらの実施例に限定されることはない。これらの実施例以外の様々な方法や構成によって、本発明の技術的思想を実現することができる。 Up to this point, the information search system 100 according to an embodiment of the present invention has been described by showing some examples in which the present invention can be implemented, but these examples are for explaining the present invention. This is merely an example, and the scope of the present invention is not limited to these examples. The technical idea of the present invention can be realized by various methods and configurations other than these embodiments.
話題と会話の流れに合わせた自然な応答を実現することができるとともに、話題制御ルールの変更、追加、修正などの保守作業を別個に行うことのできる話題制御システムであるため、高度な知識を有さずに、話題や話題のなかから抽出した重要なキーワードをユーザに提供したいという用途等がある場合に、このシステムを用いることができる。 This is a topic control system that can realize natural responses to the flow of topics and conversations, and can separately perform maintenance tasks such as changing, adding, and modifying topic control rules, so advanced knowledge This system can be used when there is a purpose of providing the user with important keywords extracted from topics or topics without having it.
1、1’ 話題提供システム
2、1002 会話制御端末装置(Topiclet20、Topiclet1020)
2’、2’’ 会話制御端末装置
3、1003 保守装置(iWA Manager40、iWA Manager1040)
4、4’、1004 話題提供サーバ(iWA30、iWA1030)
10 話題記憶装置
21 入力制御部
22 検索制御部
23 送信制御部
24 受信制御部
25 応答情報決定部
26 出力制御部
41 入力情報分析部
42 外部ログ取得制御部
43 文解析部
44 嗜好解析部
45 話題解析部
46 情報更新部
100 情報検索システム
1005 話題解析装置1, 1 '
2 ', 2''
4, 4 ', 1004 topic offer server (iWA30, iWA1030)
DESCRIPTION OF
Claims (4)
話題に関する応答情報を出力するための処理を定義したシナリオデータを記憶するシナリオデータ記憶部とを備え、
前記シナリオデータ記憶部から、前記入力特定情報に基づいてシナリオデータを抽出する話題提供サーバと、
前記入力情報、及び前記応答情報に関する状態制御指標を記憶する状態制御指標記憶部と、
前記シナリオデータと前記入力特定情報に基づいて、前記応答情報を決定する応答情報決定部と、
前記応答情報決定部によって決定された応答情報を出力する出力部とを備え、
前記状態制御指標は、過去の前記入力情報、及び過去の前記応答情報の少なくともいずれかに関する指標であり、
前記応答情報決定部は、前記シナリオデータで定義された処理により、前記状態制御指標を参照することによって、前記応答情報を決定する会話制御端末装置とを含む話題提供システム。 An input information analysis unit that analyzes input information input from a user and generates input specific information;
A scenario data storing unit for storing the scenario data defining a process for output the response information about the topic,
A topic providing server that extracts scenario data from the scenario data storage unit based on the input identification information;
A state control indicator storage unit that stores state control indicators related to the input information and the response information;
A response information determination unit that determines the response information based on the scenario data and the input identification information ;
And an output unit for outputting the response information determined by the pre-Symbol response information determining unit,
The state control index is an index related to at least one of the past input information and the past response information.
The response information determining unit, topic provides a system including a defined processed by the scenario data, by referring to the pre-Symbol state control index, and a conversation control terminal for determining the response information.
前記応答情報決定部は、
前記シナリオデータに基づいて、前記シナリオデータの所定のステートメントで前記状態制御指標の内容を判断し、前記状態制御指標の判断結果に応じて、当該所定のステートメントから他のステートメントに遷移し、当該遷移先のステートメントに対応する処理を実行することにより、前記状態制御指標に応じた前記応答情報を決定する請求項1に記載の話題提供システム。 The scenario data includes a plurality of statements each defining the process,
The response information determination unit
Based on the scenario data, the content of the state control index is determined by a predetermined statement of the scenario data, and from the predetermined statement to another statement according to the determination result of the state control index, the transition The topic providing system according to claim 1, wherein the response information according to the state control indicator is determined by executing a process corresponding to the previous statement.
前記入力情報を外部に送信する送信部と、
送信された前記入力情報を分析して生成された入力特定情報と話題に関する応答情報を出力するための処理を定義したシナリオデータを受信する受信部と、
受信した前記シナリオデータを記憶するシナリオデータ記憶部と、
前記入力情報、及び前記応答情報に関する状態制御指標を記憶する状態制御指標記憶部と、
前記シナリオデータと前記入力特定情報に基づいて、前記応答情報を決定する応答情報決定部と、
前記応答情報決定部によって決定された応答情報を出力する出力部とを備え、
前記状態制御指標は、過去の前記入力情報、及び過去の前記応答情報の少なくともいずれかに関する指標であり、
前記応答情報決定部は、前記シナリオデータで定義された処理により、前記状態制御指標を参照することによって、前記応答情報を決定する会話制御端末装置。 An input unit for the user to input input information;
A transmitter for transmitting the input information to the outside;
A receiving unit that receives scenario data defining processing for outputting input identification information generated by analyzing the transmitted input information and response information on a topic;
A scenario data storing unit for storing received said scenario data,
A state control indicator storage unit that stores state control indicators related to the input information and the response information;
A response information determination unit that determines the response information based on the scenario data and the input identification information ;
And an output unit for outputting the response information determined by the pre-Symbol response information determining unit,
The state control index is an index related to at least one of the past input information and the past response information.
The response information determining unit, by been processed defined in the scenario data, by referring to the state control index, the conversation control terminal for determining the response information.
前記応答情報決定部は、
前記シナリオデータに基づいて、前記シナリオデータの所定のステートメントで前記状態制御指標の内容を判断し、前記状態制御指標の判断結果に応じて、当該所定のステートメントから他のステートメントに遷移し、当該遷移先のステートメントに対応する処理を実行することにより、前記状態制御指標に応じた前記応答情報を決定する請求項3に記載の会話制御端末装置。 The scenario data includes a plurality of statements each defining the process,
The response information determination unit
Based on the scenario data, the content of the state control index is determined by a predetermined statement of the scenario data, and from the predetermined statement to another statement according to the determination result of the state control index, the transition The conversation control terminal device according to claim 3, wherein the response information corresponding to the state control index is determined by executing a process corresponding to the previous statement.
Applications Claiming Priority (7)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012288856 | 2012-12-28 | ||
JP2012288857 | 2012-12-28 | ||
JP2012288858 | 2012-12-28 | ||
JP2012288857 | 2012-12-28 | ||
JP2012288856 | 2012-12-28 | ||
JP2012288858 | 2012-12-28 | ||
PCT/JP2013/082623 WO2014103645A1 (en) | 2012-12-28 | 2013-12-04 | Conversation topic provision system, conversation control terminal device, and maintenance device |
Related Child Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2018225637A Division JP2019067433A (en) | 2012-12-28 | 2018-11-30 | Subject provision system |
JP2018225638A Division JP6759308B2 (en) | 2012-12-28 | 2018-11-30 | Maintenance equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
JPWO2014103645A1 JPWO2014103645A1 (en) | 2017-01-12 |
JP6529761B2 true JP6529761B2 (en) | 2019-06-12 |
Family
ID=51020739
Family Applications (3)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2014554277A Active JP6529761B2 (en) | 2012-12-28 | 2013-12-04 | Topic providing system and conversation control terminal device |
JP2018225638A Active JP6759308B2 (en) | 2012-12-28 | 2018-11-30 | Maintenance equipment |
JP2018225637A Pending JP2019067433A (en) | 2012-12-28 | 2018-11-30 | Subject provision system |
Family Applications After (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2018225638A Active JP6759308B2 (en) | 2012-12-28 | 2018-11-30 | Maintenance equipment |
JP2018225637A Pending JP2019067433A (en) | 2012-12-28 | 2018-11-30 | Subject provision system |
Country Status (2)
Country | Link |
---|---|
JP (3) | JP6529761B2 (en) |
WO (1) | WO2014103645A1 (en) |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6097791B2 (en) * | 2015-06-19 | 2017-03-15 | 日本電信電話株式会社 | Topic continuation desire determination device, method, and program |
US10268683B2 (en) * | 2016-05-17 | 2019-04-23 | Google Llc | Generating output for presentation in response to user interface input, where the input and/or the output include chatspeak |
CN106354815B (en) * | 2016-08-30 | 2019-12-24 | 北京光年无限科技有限公司 | Topic processing method in conversation system |
GB2559617B (en) * | 2017-02-13 | 2020-06-24 | Toshiba Kk | A dialogue system, a dialogue method and a method of adapting a dialogue system |
JP6553223B2 (en) * | 2018-03-06 | 2019-07-31 | ヤフー株式会社 | Response generation apparatus, response generation method, and response generation program |
JP6729942B2 (en) * | 2018-03-29 | 2020-07-29 | 株式会社アドバンスト・メディア | Information processing system, information processing device, server, information processing method, and program |
JP6647595B2 (en) * | 2018-03-29 | 2020-02-14 | 株式会社アドバンスト・メディア | Information processing system, information processing apparatus, server, information processing method and program |
JP7115265B2 (en) | 2018-11-30 | 2022-08-09 | 富士通株式会社 | Dialogue control method, dialogue control program, dialogue control device, information presentation method and information presentation device |
JP7256935B2 (en) * | 2019-09-02 | 2023-04-13 | 富士通株式会社 | Dictionary creation device and dictionary creation method |
JP2022176415A (en) * | 2019-11-08 | 2022-11-29 | 株式会社 資生堂 | Information processing device and program |
Family Cites Families (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4348357B2 (en) * | 1997-09-08 | 2009-10-21 | 富士通株式会社 | Related document display device |
JPH11272684A (en) * | 1998-03-19 | 1999-10-08 | Mitsubishi Electric Corp | Information service method and device therefor |
JP4017354B2 (en) * | 2000-04-17 | 2007-12-05 | 富士通株式会社 | Information classification apparatus and information classification program |
JP2003242173A (en) * | 2001-12-13 | 2003-08-29 | Sony Corp | Information processing device and method, recording medium, and program |
JP4150208B2 (en) * | 2002-05-02 | 2008-09-17 | 日本放送協会 | Related term presentation device and related term presentation program |
WO2005071665A1 (en) * | 2004-01-20 | 2005-08-04 | Koninklijke Philips Electronics, N.V. | Method and system for determining the topic of a conversation and obtaining and presenting related content |
JP4783608B2 (en) * | 2005-09-16 | 2011-09-28 | 日本電信電話株式会社 | Dialogue method, dialogue apparatus, dialogue program, and recording medium |
JP2007193380A (en) * | 2006-01-16 | 2007-08-02 | So-Net Entertainment Corp | Information processor, information processing method and computer program |
JP2007264198A (en) * | 2006-03-28 | 2007-10-11 | Toshiba Corp | Interactive device, interactive method, interactive system, computer program and interactive scenario generation device |
JP5181533B2 (en) * | 2007-05-21 | 2013-04-10 | トヨタ自動車株式会社 | Spoken dialogue device |
JP4637969B1 (en) * | 2009-12-31 | 2011-02-23 | 株式会社Taggy | Properly understand the intent of web pages and user preferences, and recommend the best information in real time |
JP5551985B2 (en) * | 2010-07-05 | 2014-07-16 | パイオニア株式会社 | Information search apparatus and information search method |
-
2013
- 2013-12-04 JP JP2014554277A patent/JP6529761B2/en active Active
- 2013-12-04 WO PCT/JP2013/082623 patent/WO2014103645A1/en active Application Filing
-
2018
- 2018-11-30 JP JP2018225638A patent/JP6759308B2/en active Active
- 2018-11-30 JP JP2018225637A patent/JP2019067433A/en active Pending
Also Published As
Publication number | Publication date |
---|---|
JP2019067433A (en) | 2019-04-25 |
JP6759308B2 (en) | 2020-09-23 |
WO2014103645A1 (en) | 2014-07-03 |
JP2019053767A (en) | 2019-04-04 |
JPWO2014103645A1 (en) | 2017-01-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6759308B2 (en) | Maintenance equipment | |
JP7421604B2 (en) | Model pre-training method and device, text generation method and device, electronic equipment, storage medium and computer program | |
KR102408082B1 (en) | Question sentence generation device and computer program | |
CA2716062C (en) | Determining relevant information for domains of interest | |
KR102334064B1 (en) | Performing an operation relative to tabular data based upon voice input | |
US8335787B2 (en) | Topic word generation method and system | |
CN112262421B (en) | Programmable interface for automatic learning and reviewing | |
JP2005537532A (en) | Comprehensive development tool for building natural language understanding applications | |
CA2746675A1 (en) | Providing recommendations using information determined for domains of interest | |
US11573989B2 (en) | Corpus specific generative query completion assistant | |
KR102285142B1 (en) | Apparatus and method for recommending learning data for chatbots | |
JP6818706B2 (en) | Information providing equipment, information providing method, and program | |
CN105518661A (en) | Browsing images via mined hyperlinked text snippets | |
US10073828B2 (en) | Updating language databases using crowd-sourced input | |
US20220067284A1 (en) | Systems and methods for controllable text summarization | |
US10102199B2 (en) | Corpus specific natural language query completion assistant | |
CN102063504A (en) | Method, client and system for inputting Chinese characters online | |
JP5620814B2 (en) | Topic creation support device, topic creation support method, and topic creation support program | |
JP5911839B2 (en) | Information search system, information search device, information search method, and program | |
EP3822817A1 (en) | Method, system and computer program for semantic triple-based knowledge extension | |
JP6712521B2 (en) | Search formula presentation system, search formula presentation method, and program | |
Mercan et al. | Abstractive text summarization for resumes with cutting edge NLP transformers and LSTM | |
JP2019194759A (en) | Dialogue system reinforcement device and computer program | |
KR102594926B1 (en) | Security information report and document creation guide system through security information manual and case recommendation | |
Rojas-Simon et al. | Fundamentals of the ETS |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20170613 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20170809 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20170829 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20171121 |
|
A911 | Transfer to examiner for re-examination before appeal (zenchi) |
Free format text: JAPANESE INTERMEDIATE CODE: A911 Effective date: 20171130 |
|
A912 | Re-examination (zenchi) completed and case transferred to appeal board |
Free format text: JAPANESE INTERMEDIATE CODE: A912 Effective date: 20180126 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20181130 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20190401 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20190515 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6529761 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |