JP2014085873A - Information processor, information processing system, and question answering method - Google Patents

Information processor, information processing system, and question answering method Download PDF

Info

Publication number
JP2014085873A
JP2014085873A JP2012234809A JP2012234809A JP2014085873A JP 2014085873 A JP2014085873 A JP 2014085873A JP 2012234809 A JP2012234809 A JP 2012234809A JP 2012234809 A JP2012234809 A JP 2012234809A JP 2014085873 A JP2014085873 A JP 2014085873A
Authority
JP
Japan
Prior art keywords
answer
question
answering
unit
type
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.)
Granted
Application number
JP2012234809A
Other languages
Japanese (ja)
Other versions
JP5498556B2 (en
Inventor
Wataru Uchida
渉 内田
Chiaki Morita
千晶 森田
Takeshi Yoshimura
健 吉村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NTT Docomo Inc
Original Assignee
NTT Docomo Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NTT Docomo Inc filed Critical NTT Docomo Inc
Priority to JP2012234809A priority Critical patent/JP5498556B2/en
Publication of JP2014085873A publication Critical patent/JP2014085873A/en
Application granted granted Critical
Publication of JP5498556B2 publication Critical patent/JP5498556B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a device, a system, and a method for flexibly answering a fact type question.SOLUTION: A knowledge retrieval answering server 100 includes: an input/output control unit 101 for obtaining a question sentence; a rule type retrieval part 105, a regular expression type retrieval part 106, an entity attribute type retrieval part 107, and a programmed type answer generation part 108 for answering the question sentence; and an answer control part 102 generates an answer result based on the answer content. The input/output control unit 101 outputs an answer result.

Description

本発明は、質問に回答する情報処理装置、情報処理システム、および質問回答方法に関する。   The present invention relates to an information processing apparatus that answers a question, an information processing system, and a question answering method.

音声認識技術やタッチパネルを活用したユーザインタフェースの進化、無線通信技術の進化により、特定の分野に限定せずユーザからの様々な分野に関する質問に回答するマルチドメイン型の質問応答システムが普及しつつある。マルチドメイン型の質問応答システムはユーザの日常生活に関するあらゆる質問を想定し、映画等エンタメに関する知識や地理歴史等一般常識などに関するデータに関する問い合わせや雑談などの実利を求めない質問などに回答する。これらの情報はシステム内部のデータベース管理システムもしくは連結した外部サービスから取得する。   Due to the advancement of user interface using voice recognition technology and touch panel, and the advancement of wireless communication technology, multi-domain question answering systems that answer questions related to various fields from users, not limited to specific fields, are becoming widespread. . The multi-domain question answering system assumes all questions related to the daily life of the user, and answers questions that do not require practical benefits, such as inquiries about data related to entertainment such as movies and general common knowledge such as geographic history, and chats. These pieces of information are acquired from a database management system in the system or a linked external service.

ユーザの質問は非常に多岐にわたるため、一定の質問形式のみをそのサービス(もしくはそれを構成する部分サービス)が回答できるものと前提を置いて質問の解析と回答の生成を行うことが一般に行われている。   Since user questions are very diverse, it is common practice to analyze questions and generate answers on the premise that the service (or the partial services that make it up) can answer only certain question types. ing.

例えばカーナビゲーションシステムでは検索対象を施設などの地理データに限定し、ユーザが指定する検索キーは単語のみ、もしくは単語と検索したい対象の種類(「コンビニ」や「ファミリーレストラン」など)の組に限定している。この場合ユーザからの入力を解析する必要はなく、システム内部に保存された種類情報と対応付けられた対象物をそのまま検索すればよい。   For example, in a car navigation system, the search target is limited to geographical data such as facilities, and the search key specified by the user is limited to only a word or a set of words and the type of target to search (such as “convenience store” or “family restaurant”) doing. In this case, it is not necessary to analyze the input from the user, and the object associated with the type information stored in the system may be searched as it is.

一方マルチドメイン型の質問応答システムの場合はユーザからの質問型式を一定の形に限定することは難しい。「オーソン コンビニ」という質問もあれば「オーソンというコンビニを探して」「○○町にあるオーソンというコンビニを探して」といった質問も考えられる。それぞれの質問でどの言葉をどの検索条件に設定すればよいかが異なり、それに回答するためのデータベースの準備方法も異なってくる。   On the other hand, in the case of a multi-domain type question answering system, it is difficult to limit the question type from the user to a certain form. There are questions such as “Ohson convenience store” and “Looking for a convenience store called Orson” and “Looking for a convenience store called Orson in XX town”. Which question should be set as which search condition for each question is different, and the database preparation method for answering it is also different.

また、所定の質問に対応する回答文のテンプレートを複数用意しておき、当該複数のテンプレートに基づいて回答を抽出する技術がある(例えば、特許文献1参照)。   In addition, there is a technique in which a plurality of answer sentence templates corresponding to a predetermined question are prepared, and answers are extracted based on the plurality of templates (see, for example, Patent Document 1).

特開2012−79161号公報JP 2012-79161 A

しかし、特許文献1の方法では、回答のテンプレートを複数用意しているに過ぎず、一定の質問形式であることを前提としており、多様な質問に対応できないという問題点がある。   However, the method disclosed in Patent Document 1 merely prepares a plurality of answer templates, and is based on the premise that a certain question format is used, and has a problem that it cannot respond to various questions.

そこで、本発明においては、上記の課題を解決するために、事実型の質問について、柔軟に回答し得る装置、システム、及び方法を提供することを目的とする。ここで事実型質問とは、理由や方法に関する質問とは異なり、固有表現を解答とした質問等を意味する。   Accordingly, an object of the present invention is to provide an apparatus, a system, and a method that can flexibly answer fact-type questions in order to solve the above-described problems. Here, the fact type question means a question having a specific expression as an answer, unlike a question about a reason or a method.

上述の課題を解決するために、本発明の情報処理装置は、質問文を取得する質問文取得手段と、質問文の全て又は一部の回答を出力する回答部を複数有する回答手段と、回答手段による出力結果に基づいた回答結果を生成する回答生成手段と、回答生成手段が生成した回答結果を出力する回答出力手段と、を備え、回答手段は、第1パターンの事実型質問について回答可能な回答部と、第2パターンの事実型質問について回答可能な回答部とを少なくとも有する。   In order to solve the above-described problem, an information processing apparatus of the present invention includes a question sentence acquisition unit that acquires a question sentence, an answer unit that includes a plurality of answer units that output all or part of the question sentence, and an answer An answer generating means for generating an answer result based on the output result of the means, and an answer output means for outputting the answer result generated by the answer generating means. The answer means can answer the fact type question of the first pattern. And at least an answering section capable of answering the fact type question of the second pattern.

また、本発明の質問回答方法は、情報処理装置で実行する質問回答方法であって、質問文を取得する質問文取得ステップと、質問文の全て又は一部の回答を出力する回答部を複数有する回答ステップと、回答ステップによる出力結果に基づいた回答結果を生成する回答生成ステップと、回答生成ステップが生成した回答結果を出力する回答出力ステップと、を有し、回答ステップは、第1パターンの事実型質問について回答可能な回答部と、第2パターンの事実型質問について回答可能な回答部とを少なくとも含む。   The question answering method of the present invention is a question answering method executed by the information processing apparatus, and includes a question sentence obtaining step for obtaining a question sentence, and a plurality of answer units for outputting all or part of the answer of the question sentence. Having an answer step, an answer generation step for generating an answer result based on an output result of the answer step, and an answer output step for outputting the answer result generated by the answer generation step. The answer step is a first pattern. At least an answer section that can answer the fact type question and an answer section that can answer the fact type question of the second pattern.

この発明によれば、複数パターンの事実型質問の回答部を有しているので、それぞれのパターンの質問の回答を行うことができる。すなわち、様々な種類の事実型質問に対して柔軟に回答を行うことができる。   According to the present invention, since the answer section for a plurality of fact type questions is provided, it is possible to answer each pattern question. That is, it is possible to flexibly answer various types of fact-type questions.

また、本発明の情報処理装置において、回答手段には、プログラム演算結果を回答として出力するプログラム回答部を含み、さらに、質問文から一意に定まる質問である定義型質問の回答を検索し、検索結果を出力する定義型質問回答部又は、所定の対象物の属性を問い合わせる質問である属性型質問の回答を検索し、検索結果を出力する属性型質問回答部のいずれか1つを少なくとも含み、質問文が、定義型質問又は属性型質問に対応する質問であり、且つ質問文中にプログラム演算を必要と解釈できる文言を含む場合、回答生成手段は、プログラム回答部による出力結果と、定義型質問回答部又は属性型質問回答部のいずれか1つによる出力結果とに基づいた回答を生成するようにしても良い。   In the information processing apparatus of the present invention, the answering unit includes a program answering unit that outputs a program operation result as an answer, and further searches for and retrieves an answer to a definition question that is a question uniquely determined from a question sentence. It includes at least one of a definition type question answering unit that outputs a result or an attribute type question answering unit that searches an answer of an attribute type question that is a question for inquiring about an attribute of a predetermined object, and outputs a search result, When the question sentence is a question corresponding to a definition type question or an attribute type question and includes a word that can be interpreted as requiring a program operation in the question sentence, the answer generation means includes an output result by the program answering unit and a definition type question. You may make it produce | generate the answer based on the output result by any one of an answer part or an attribute type question answer part.

この場合、定義型質問や属性型質問について、固定された回答だけでなく、プログラム演算を必要とする回答もすることができる。   In this case, with respect to the definition type question and the attribute type question, not only a fixed answer but also an answer requiring a program calculation can be given.

また、本発明の情報処理装置において、質問文中に含まれている、プログラム演算を必要と解釈できる文言に対応するプログラムが引数を必要とする場合、プログラム回答部は、質問文中に含まれる所定の文言を引数として用いてプログラム演算するようにしても良い。   Further, in the information processing apparatus of the present invention, when the program corresponding to the wording that can be interpreted as requiring the program operation included in the question sentence requires an argument, the program answering unit is provided with the predetermined answer included in the question sentence. Program calculation may be performed using the wording as an argument.

この場合、引数を利用したプログラム演算の回答をすることができるので、当該引数を用いて動的に変動し得る回答を生成することができる。   In this case, since an answer of a program operation using an argument can be made, an answer that can be dynamically changed can be generated using the argument.

また、本発明の情報処理装置において、質問文が事実型質問であるか否かを判定する質問文種類判定手段をさらに備え、質問文が事実型質問ではない場合、他の装置へ質問文の回答依頼をするようにしても良い。   The information processing apparatus of the present invention further includes a question sentence type determining unit that determines whether or not the question sentence is a fact-type question. When the question sentence is not a fact-type question, the question sentence is sent to another device. An answer request may be made.

この場合、質問文が事実型質問ではない場合、他の装置へ質問文の回答依頼をするので、予め回答を作成するためのデータやロジックを用意することが難しい分野に対してもインターネット上に存在するWebサイトから回答を生成することができる。また、事実型質問であるか否かを予め判断しているので、事実型質問でない質問であるにも関わらず、回答処理をしてしまうことを未然に防止することができる。   In this case, if the question text is not a fact-type question, a request for answering the question text will be sent to another device, so even in the field where it is difficult to prepare data and logic for creating answers in advance. Answers can be generated from existing Web sites. In addition, since it is determined in advance whether or not it is a fact type question, it is possible to prevent the answer process from being performed even though the question is not a fact type question.

また、本発明の情報処理装置において、回答生成手段は、回答手段から取得した回答に基づいて、回答がない場合と、回答不能な質問である場合とを識別可能な回答結果を生成する。   Further, in the information processing apparatus of the present invention, the answer generation means generates an answer result that can distinguish between a case where there is no answer and a case where the answer is an unanswerable question, based on the answer acquired from the answer means.

この場合、回答が得られない場合に、回答が存在しないか、情報処理装置で対応可能な質問ではなかったかを判別させることができる。   In this case, when no answer is obtained, it is possible to determine whether there is no answer or whether the answer is a question that can be handled by the information processing apparatus.

また、本発明の情報処理装置において、回答生成手段は、質問文の種類に応じて、回答結果のユーザインタフェースを切り替える。この場合、質問文の種類に応じて回答結果のインタフェースを変更するので、ユーザの理解度を向上させることができる。   In the information processing apparatus of the present invention, the answer generation means switches the user interface of the answer result according to the type of the question sentence. In this case, since the interface of the answer result is changed according to the type of the question sentence, the user's understanding can be improved.

また、本発明の情報処理装置において、回答手段が出力した結果に付記的情報が含まれる場合、回答生成手段は、付記的情報を付加した回答情報を生成する。   In the information processing apparatus of the present invention, when the supplementary information is included in the result output by the reply means, the reply generation means creates reply information to which the supplementary information is added.

この場合、質問文で聞かれている対象について、例えば、敬称、単位等の付記的情報を付加するので、関係者への配慮や異なる単位への変換を実施することができる。   In this case, for example, additional information such as a title and a unit is added to the object that is being asked in the question sentence, so that consideration for related parties and conversion to a different unit can be performed.

また、本発明の情報処理システムは、端末装置と、情報処理装置とを備える情報処理システムであって、情報処理装置は、端末装置から質問文を取得する質問文取得手段と、質問文の全て又は一部の回答を出力する回答部を複数有する回答手段と、回答手段による出力結果に基づいた回答結果を生成する回答生成手段と、回答生成手段が生成した回答結果を前記端末装置へ出力する回答出力手段と、を備え、回答手段は、第1パターンの事実型質問について回答可能な回答部と、第2パターンの事実型質問について回答可能な回答部とを少なくとも有し、端末装置は、質問文を情報処理装置へ送信すると共に、回答要求を行う回答要求手段と、情報処理装置から回答結果を取得する回答結果取得手段と、回答結果を表示する回答結果表示手段と、を備える。   The information processing system of the present invention is an information processing system including a terminal device and an information processing device, and the information processing device includes a question sentence acquisition unit that acquires a question sentence from the terminal device, and all of the question sentences. Alternatively, an answering unit having a plurality of answering units for outputting some answers, an answer generating unit for generating an answer result based on an output result by the answering unit, and outputting an answer result generated by the answer generating unit to the terminal device Answering means, and the answering means has at least an answering part capable of answering the fact type question of the first pattern and an answering part capable of answering the fact type question of the second pattern. An answer request unit that transmits a question sentence to the information processing apparatus and requests an answer, an answer result acquisition unit that acquires an answer result from the information processing apparatus, and an answer result display unit that displays the answer result , Comprising a.

本発明によれば、複数パターンの事実型質問の回答部を有しているので、それぞれのパターンの質問の回答を行うことができる。すなわち、様々な種類の事実型質問に対して柔軟に回答を行うことができる。   According to the present invention, since the answering section for a plurality of patterns of fact type questions is provided, it is possible to answer questions of each pattern. That is, it is possible to flexibly answer various types of fact-type questions.

情報処理システムの機能を示すブロック図である。It is a block diagram which shows the function of an information processing system. 知識検索回答サーバ100等のハードウェア構成図である。It is a hardware block diagram of the knowledge search answer server 100 grade | etc.,. 正常回答が得られない場合の出力画面例である。It is an example of an output screen when a normal answer is not obtained. 正常回答が得られた場合の出力画面例である。It is an example of an output screen when a normal answer is obtained. ルール‐回答表110で保持しているデータの一例を示す図である。7 is a diagram illustrating an example of data held in a rule-answer table 110. FIG. 正規表現ルール表113で保持しているデータの一例を示す図である。7 is a diagram illustrating an example of data held in a regular expression rule table 113. FIG. エンティティ‐属性値表111で保持しているデータの一例を示す図である。It is a figure which shows an example of the data currently hold | maintained by the entity-attribute value table. 属性表示形式表112で保持しているデータの一例を示す図である。It is a figure which shows an example of the data currently hold | maintained in the attribute display format table. 質問フロントサーバ50の処理を示すフローチャートである。It is a flowchart which shows the process of the question front server 50. FIG. 回答サービス候補を抽出する処理を示すフローチャートである。It is a flowchart which shows the process which extracts a reply service candidate. 知識検索回答サーバ100の処理を示すフローチャートである。3 is a flowchart showing processing of a knowledge search answer server 100. サービス対象外判定処理を示すフローチャートである。It is a flowchart which shows a non-service object determination process. 検索エンジン利用好適判定処理を示すフローチャートである。It is a flowchart which shows a search engine utilization suitable determination process. ルール型検索による回答生成処理を示すフローチャートである。It is a flowchart which shows the reply production | generation process by rule type | mold search. 正規表現型検索による回答生成処理を示すフローチャートである。It is a flowchart which shows the reply production | generation process by a regular expression type | mold search. エンティティ‐属性型検索による回答生成処理を示すフローチャートである。It is a flowchart which shows the reply production | generation process by an entity-attribute type search.

添付図面を参照しながら本発明の実施形態を説明する。可能な場合には、同一部分には同一の符号を付して、重複する説明を省略する。   Embodiments of the present invention will be described with reference to the accompanying drawings. When possible, the same parts are denoted by the same reference numerals, and redundant description is omitted.

図1は、本実施形態の情報処理システムの機能を示すブロック図である。   FIG. 1 is a block diagram illustrating functions of the information processing system according to the present embodiment.

図1に示すように、情報処理システムは、携帯電話等のユーザ端末30、質問回答フロントサーバ50、知識検索回答サーバ100、検索エンジン利用回答サービスサーバ150及び複数のその他回答サーバ60(その他回答サーバ60A、その他回答サーバ60B、・・・)から構成される。本実施形態では、ユーザ端末30が端末装置として機能し、知識検索回答サーバ100が情報処理装置として機能する。   As shown in FIG. 1, the information processing system includes a user terminal 30 such as a mobile phone, a question answer front server 50, a knowledge search answer server 100, a search engine use answer service server 150, and a plurality of other answer servers 60 (other answer servers). 60A, other answer server 60B,. In the present embodiment, the user terminal 30 functions as a terminal device, and the knowledge search answer server 100 functions as an information processing device.

ここでユーザ端末30、質問回答フロントサーバ50、知識検索回答サーバ100、検索エンジン利用回答サービスサーバ150、及びその他回答サーバ60はそれぞれネットワークを介して接続されているとしているが、ネットワークはインターネットなどの公衆通信網から専用線、ならびに同一物理装置内の通信バスでも構わず、その物理的な配置は問わない。また、質問回答フロントサーバ50や知識検索回答サーバ100の各機能も単一のサーバ装置内に配置されている必要はなく、物理的な構成は問わない。それぞれがLAN(Local Area Network)やインターネットで接続された別々のサーバ装置に配置されている場合も含む。   Here, the user terminal 30, the question answering front server 50, the knowledge search answering server 100, the search engine using answering service server 150, and the other answering server 60 are each connected via a network. A private line from the public communication network and a communication bus in the same physical device may be used, and the physical arrangement thereof does not matter. The functions of the question / answer front server 50 and the knowledge search / answer server 100 do not need to be arranged in a single server device, and the physical configuration is not limited. This includes the case where each is arranged in a separate server device connected via a LAN (Local Area Network) or the Internet.

図2は、ユーザ端末30、質問回答フロントサーバ50、及び知識検索回答サーバ100のハードウェア構成図である。図2に示されるユーザ端末30、質問回答フロントサーバ50、及び知識検索回答サーバ100は、物理的には、図2に示すように、CPU11、主記憶装置であるRAM12及びROM13、入力デバイスであるキーボード及びマウス等の入力装置14、ディスプレイ等の出力装置15、ネットワークカード等のデータ送受信デバイスである通信モジュール16、ハードディスクまたは半導体メモリ等の補助記憶装置17などを含むコンピュータシステムとして構成されている。図1における各機能は、図2に示すCPU11、RAM12等のハードウェア上に所定のコンピュータソフトウェアを読み込ませることにより、CPU11の制御のもとで入力装置14、出力装置15、通信モジュール16を動作させるとともに、RAM12や補助記憶装置17におけるデータの読み出し及び書き込みを行うことで実現される。以下、図1に示す機能ブロックに基づいて各機能ブロックを説明する。   FIG. 2 is a hardware configuration diagram of the user terminal 30, the question / answer front server 50, and the knowledge search / answer server 100. As shown in FIG. 2, the user terminal 30, the question answer front server 50, and the knowledge search answer server 100 shown in FIG. 2 are physically a CPU 11, a RAM 12 and a ROM 13, which are main storage devices, and an input device. The computer system includes an input device 14 such as a keyboard and a mouse, an output device 15 such as a display, a communication module 16 that is a data transmission / reception device such as a network card, an auxiliary storage device 17 such as a hard disk or a semiconductor memory, and the like. Each function in FIG. 1 operates the input device 14, the output device 15, and the communication module 16 under the control of the CPU 11 by loading predetermined computer software on the hardware such as the CPU 11 and the RAM 12 shown in FIG. 2. In addition, it is realized by reading and writing data in the RAM 12 and the auxiliary storage device 17. Hereinafter, each functional block will be described based on the functional blocks shown in FIG.

ユーザ端末30は、入力装置を介して、質問文を受け付けると、ネットワークを介して質問回答フロントサーバ50へ質問文を送信すると共に当該質問文の回答要求を行う。そして、ユーザ端末30は、質問回答フロントサーバ50から回答結果を受信し、当該回答結果を表示出力する。   When the user terminal 30 receives the question text via the input device, the user terminal 30 transmits the question text to the question answer front server 50 via the network and requests the answer to the question text. Then, the user terminal 30 receives the answer result from the question answer front server 50 and displays and outputs the answer result.

質問回答フロントサーバ50は、回答サービス候補判定部51、回答生成部52、及びサービス制御部53を有する。   The question / answer front server 50 includes an answer service candidate determination unit 51, an answer generation unit 52, and a service control unit 53.

回答サービス候補判定部51は、ユーザ端末30から受け取った質問文を読み込み、知識検索回答サーバ100、及び複数のその他回答サーバ60の内、何れのサーバへ質問要求すべきかを判断する。本実施形態では、回答サービス候補判定部51は、質問文に含まれる単語によって回答要求対象のサーバを判定するものとする。   The answer service candidate determination unit 51 reads the question sentence received from the user terminal 30 and determines which server of the knowledge search answer server 100 and the plurality of other answer servers 60 should make a question request. In the present embodiment, it is assumed that the answer service candidate determination unit 51 determines the answer request target server based on a word included in the question sentence.

具体的に、回答サービス候補判定部51は、質問文の語尾が「教えて」である場合、知識検索回答サーバ100を回答候補サーバとする。回答サービス候補判定部51は、質問文の語尾が「行きたい」である場合、その他回答サーバ60Aを回答候補サーバとする。回答サービス候補判定部51は、質問文に「天気」が含まれている場合、その他回答サーバ60Bを回答候補サーバとする。   Specifically, the answer service candidate determination unit 51 sets the knowledge search answer server 100 as an answer candidate server when the ending of the question sentence is “Tell me”. When the ending of the question sentence is “I want to go”, the answer service candidate determination unit 51 sets the other answer server 60A as the answer candidate server. When the question sentence includes “weather”, the answer service candidate determination unit 51 sets the other answer server 60B as the answer candidate server.

本実施形態では、質問回答フロントサーバ50は、全般的に歴史の事実などの一般的な知識に関する質問については、知識検索回答サーバ100に回答要求し、公共交通機関の経路検索についての質問については、その他回答サーバ60Aに回答要求し、天気予報に関する質問については、その他回答サーバ60Bに回答要求するものとする。   In the present embodiment, the question / answer front server 50 requests the knowledge search / answer server 100 to answer questions about general knowledge such as historical facts in general, and questions about public transportation route searches. The other answer server 60A is requested to answer, and the question related to the weather forecast is requested to the other answer server 60B.

そして、回答候補サーバは、複数判定され得る。例えば「東京の天気を教えて」という質問については上記の判定方式の下では知識検索回答サーバ100及びその他回答サーバ60Bが回答候補サーバになる。   A plurality of answer candidate servers can be determined. For example, for the question “Tell me the weather in Tokyo”, the knowledge search answer server 100 and the other answer server 60B become answer candidate servers under the above-described determination method.

なお、その他回答サーバ60はここで述べた以外の様々なサービスを担当し得る。例えば、音楽データを検索するサービスであっても良いし、ナビゲーションシステムであっても良いし、ユーザ端末に搭載されているメーラ等の機能を起動する指示を判断するサービスであっても良い。   The other answer server 60 can take charge of various services other than those described here. For example, a service for searching for music data, a navigation system, or a service for determining an instruction to activate a function such as a mailer installed in the user terminal may be used.

サービス制御部53は、ユーザ端末30とのデータの送受信や知識検索回答サーバ100とのデータの送受信を主に行う。サービス制御部53は、知識検索回答サーバ100及び複数のその他回答サーバ60から回答を受け取り、その回答種別に応じて次の回答候補サーバに回答要求するか否か判断する。回答種別には、何らかの意味のある答え(質問に対する正常な回答)が得られている場合、回答が0件の場合、回答対応範囲外である場合の三通りの種別が含まれる。   The service control unit 53 mainly performs data transmission / reception with the user terminal 30 and data transmission / reception with the knowledge search answer server 100. The service control unit 53 receives the answers from the knowledge search answer server 100 and the plurality of other answer servers 60, and determines whether or not to make an answer request to the next answer candidate server according to the answer type. The answer types include three types of cases where a meaningful answer (a normal answer to the question) is obtained, the answer is 0, and the answer is out of the corresponding range.

回答が0件の場合は、質問文を受け付けたサーバが回答するサービス範囲ではあるが、それを回答するに充分なデータが存在しなかったことを示し、回答対応範囲外の場合は、質問文を受け付けたサーバが回答するサービス範囲内の質問ではなかったことを示している。   If the answer is 0, this indicates that the server that received the question text is within the service range, but there was not enough data to answer it. It is indicated that the question was not within the service range to which the server that received the answer answered.

実際に質問文に対応する回答を準備する各サーバがより詳しく質問文の内容と各サーバ自体が回答すべき範囲を比較した上で対応範囲外の回答をすることで、質問回答フロントサーバ50は各サーバの詳細な対応範囲を意識することなく質問文を転送することができる。   Each server that actually prepares an answer corresponding to the question text compares the contents of the question text in detail with the range that each server itself should answer, and makes an answer outside the corresponding range. The question sentence can be transferred without being aware of the detailed correspondence range of each server.

回答要求したサーバから、対応範囲外である旨の回答を取得した場合、サービス制御部53は、他の回答候補サーバへ質問の回答要求を送信し、回答を得る。たとえば「東京の天気を教えて」といった質問をいったん知識検索回答サーバ100へ送信した後、対応範囲外である旨の回答を得た場合、次にその他回答サーバ60へ質問の回答要求を送信し、回答を得る。   When an answer indicating that it is out of the corresponding range is acquired from the server that requested the answer, the service control unit 53 transmits an answer request for the question to another answer candidate server, and obtains an answer. For example, after transmitting a question such as “Tell me the weather in Tokyo” to the knowledge search answering server 100 and then obtaining an answer indicating that it is out of the corresponding range, a request for answering the question is sent to the other answering server 60 next. Get an answer.

サービス制御部53は、全ての回答候補サーバから質問文に対する回答を得た結果、すべてのサーバから「対応範囲外」の回答を得た場合ならびに回答サービス候補判定部51によって回答サービス候補が無いと判定された場合は、回答生成部52に「対応範囲外」の信号を転送する。回答が0件もしくは何らかの意味のある回答が得られた場合は、サービス制御部53は、得られた回答をそのまま回答生成部52へ送信する。   As a result of obtaining answers to the question text from all answer candidate servers, the service control unit 53 obtains an answer “out of range” from all servers, and if the answer service candidate determination unit 51 has no answer service candidates. If it is determined, a signal “out of correspondence range” is transferred to the answer generation unit 52. When the answer is 0 or a meaningful answer is obtained, the service control unit 53 transmits the obtained answer to the answer generation unit 52 as it is.

回答生成部52は、サービス制御部53から得られた回答状況に応じてユーザ端末30へ転送するための回答ユーザインタフェースを作成する。回答ユーザインタフェースはタッチパネル等の画面へ出力するためのGUI(グラフィカルユーザインタフェース)であっても良いし、音声回答用の読み上げ文章データ、又はこれらの二つを組み合わせたものであっても良い。   The answer generation unit 52 creates an answer user interface for transfer to the user terminal 30 in accordance with the answer status obtained from the service control unit 53. The answer user interface may be a GUI (graphical user interface) for outputting to a screen such as a touch panel, read-out sentence data for voice answer, or a combination of the two.

回答生成部52は、回答に何らかの意味がある回答が得られている場合は、知識検索回答サーバ100やその他回答サーバ60から受信した情報(例えば、画面情報等)をそのままユーザ端末30に表示させる。ユーザ端末30は、「回答0件」ならびに「対応範囲外」である場合についてはその旨を区別してユーザに提示する。   The answer generation unit 52 displays information (for example, screen information) received from the knowledge search answer server 100 or other answer server 60 on the user terminal 30 as it is when an answer that has some meaning is obtained. . The user terminal 30 presents it to the user in a case where “0 response” and “out of the corresponding range” are distinguished.

図3に「回答0件」と「対応範囲外」をユーザ端末30で表示している例を示す。図3(A)は、回答0件である場合の画面例である。回答0件は暗にユーザが、対応サービスではあるが回答データが存在しない質問を送信した旨を意味している。図3(B)は、対応範囲外である場合の画面例である。対応範囲外の場合は、回答要求した質問を情報システムでは答えることができないことを意味している。ユーザ端末30は、これらの文字列を音声出力するようにしても良い。このように、回答が得られない場合に、回答が存在しないか、知識検索回答サーバ100で対応可能な質問ではなかったかを判別させることができる。   FIG. 3 shows an example in which “0 response” and “out of correspondence range” are displayed on the user terminal 30. FIG. 3A shows an example of a screen when there are no responses. The answer of 0 means that the user has transmitted a question that is a corresponding service but has no answer data. FIG. 3B is an example of a screen when it is out of the corresponding range. If it is out of the corresponding range, it means that the information system cannot answer the requested question. The user terminal 30 may output these character strings by voice. As described above, when no answer is obtained, it can be determined whether there is no answer or whether the answer is a question that can be handled by the knowledge search answer server 100.

図4に、正常に回答結果を取得した場合の例を示す。図4(A)は、文字により回答する場合の例を示し、図4(B)は、画像を用いて回答する例を示す。このように、質問文に対する回答結果に応じてユーザインタフェースを変更するようにしても良い。また、質問のパターンに応じて、回答結果のユーザインタフェースを変更するようにしても良い。これにより、ユーザの理解度を向上させることができる。   FIG. 4 shows an example when the answer result is normally acquired. FIG. 4A shows an example of answering with characters, and FIG. 4B shows an example of answering using an image. Thus, the user interface may be changed according to the answer result to the question text. Further, the user interface of the answer result may be changed according to the question pattern. Thereby, a user's comprehension degree can be improved.

続いて、図1に戻り、知識検索回答サーバ100の説明をする。知識検索回答サーバ100は、入出力制御部101(質問文取得手段、回答出力手段)、回答制御部102(回答生成手段)、サービス対象外判定部103、検索エンジン利用好適判定部104(質問文種類判定手段)、ルール型検索部105(定義型質問回答部)、正規表現型検索部106、エンティティ‐属性型検索部107(属性型質問回答部)、プログラム型回答生成部108(プログラム回答部)、ルール‐回答表110、エンティティ‐属性値表111、属性表示形式表112及び正規表現ルール表113から構成される。そして、ルール型検索部105、正規表現型検索部106、エンティティ‐属性型検索部107、及びプログラム型回答生成部108が回答手段として機能する。   Subsequently, returning to FIG. 1, the knowledge search answer server 100 will be described. The knowledge search answer server 100 includes an input / output control unit 101 (question sentence acquisition unit, answer output unit), an answer control unit 102 (answer generation unit), an out-of-service determination unit 103, and a search engine use preference determination unit 104 (question sentence). Type determining means), rule type search unit 105 (definition type question answering unit), regular expression type search unit 106, entity-attribute type search unit 107 (attribute type question answering unit), program type answer generating unit 108 (program answering unit) ), A rule-answer table 110, an entity-attribute value table 111, an attribute display format table 112, and a regular expression rule table 113. The rule type search unit 105, the regular expression type search unit 106, the entity-attribute type search unit 107, and the program type answer generation unit 108 function as an answering unit.

入出力制御部101は、質問回答フロントサーバ50とのネットワークを介したデータの送受信を行う。具体的には、回答制御部102から取得した回答結果の出力をしたり、ユーザ端末30が送信した質問文を受け取った後に当該質問文を回答制御部102へ送信したりする。入出力制御部101は、回答制御部102が生成した質問文の回答結果(0件、対応範囲外、もしくはルール型・正規表現型・エンティティ-属性型・検索エンジン利用回答サービスのいずれかの検索結果)を受信し、当該回答結果を質問回答フロントサーバ50へ送信する。   The input / output control unit 101 transmits / receives data to / from the question / answer front server 50 via the network. Specifically, the answer result acquired from the answer control unit 102 is output, or the question message is transmitted to the answer control unit 102 after receiving the question message transmitted by the user terminal 30. The input / output control unit 101 searches the response result of the question sentence generated by the answer control unit 102 (0 cases, out of the corresponding range, or any of the rule type, regular expression type, entity-attribute type, search engine use answer service) Result) and send the answer result to the question answering front server 50.

回答制御部102は、質問文の回答生成に関する制御を行う。具体的には、サービス対象外判定部103に質問文がサービス対象外であるか否かを判定させたり、検索エンジン利用好適判定部104に検索エンジン利用回答サービスサーバ150に質問文を回答させた方が良いか否かを判定させたり、ルール型検索部105、正規表現型検索部106、及びエンティティ‐属性型検索部107に質問文の回答依頼をしたり、ルール型検索部105、正規表現型検索部106、及びエンティティ‐属性型検索部107から取得した回答に基づいた回答結果の生成をしたりする。   The answer control unit 102 performs control related to the answer generation of the question sentence. Specifically, the non-service target determination unit 103 determines whether or not the question text is out of service, or the search engine usage preference determination unit 104 causes the search engine usage answer service server 150 to answer the question text. Whether the rule type search unit 105, the regular expression type search unit 106, and the entity-attribute type search unit 107 are requested to answer questions, the rule type search unit 105, the regular expression An answer result is generated based on the answers acquired from the type search unit 106 and the entity-attribute type search unit 107.

回答制御部102は、入出力制御部101から質問文を受け取り、サービス対象外判定部103に知識検索回答サーバ100が回答可能な質問であるか否かを判定させる。回答制御部102は、サービス対象外判定部103から「対象範囲外」との情報を取得した場合は、その旨を回答結果として入出力制御部101へ転送する。回答制御部102は、「対象範囲外」との情報を取得しなかった場合は、検索エンジン利用好適判定部104に質問文を送信する。   The answer control unit 102 receives the question text from the input / output control unit 101, and causes the out-of-service determination unit 103 to determine whether or not the question can be answered by the knowledge search answer server 100. When the response control unit 102 acquires the information “out of target range” from the out-of-service determination unit 103, the response control unit 102 transfers the information as a response result to the input / output control unit 101. When the answer control unit 102 does not acquire the information “out of target range”, the answer control unit 102 transmits a question sentence to the search engine use suitability determination unit 104.

回答制御部102は、検索エンジン好適判定部104から検索エンジン利用回答サービスサーバ150での回答が好適であるとの返答が得られた場合、質問文を検索エンジン利用回答サービスサーバ150に送信し、検索エンジン利用回答サービスサーバ150へ回答依頼をする。回答制御部102は、検索エンジン利用回答サービスサーバ150から取得した結果(0件もしくは1件以上)を回答結果として、入出力制御部101へ送信する。   When the response that the answer in the search engine utilization answer service server 150 is suitable is obtained from the search engine suitability determination part 104, the answer control unit 102 transmits a question sentence to the search engine utilization answer service server 150, An answer request is made to the search engine use answer service server 150. The answer control unit 102 transmits the result (0 or more) obtained from the search engine utilization answer service server 150 to the input / output control unit 101 as an answer result.

検索エンジン利用回答サービスサーバ150での回答を利用することが好適ではないとの返信が得られた場合、回答制御部102は、ルール型検索部105、正規表現型検索部106、エンティティ‐属性型検索部107のそれぞれに質問文を送信し、いずれかから回答が得られた時点で、得た回答に基づいて回答結果を生成し、生成した回答結果を入出力制御部101へ送信する。なお、回答制御部102は、ルール型検索部105、正規表現型検索部106、及びエンティティ‐属性型検索部107の内、複数から回答を得て、全ての回答結果を生成するようにしても良いし、予め定められた優先順位等に基づいて選択的に回答結果を生成するようにしても良い。   When a reply indicating that it is not preferable to use an answer from the search engine use answer service server 150 is obtained, the answer control unit 102 includes a rule type search unit 105, a regular expression type search unit 106, and an entity-attribute type. A question sentence is transmitted to each of the search units 107, and when an answer is obtained from either of them, an answer result is generated based on the obtained answer, and the generated answer result is transmitted to the input / output control unit 101. The answer control unit 102 may obtain answers from a plurality of the rule type search unit 105, the regular expression type search unit 106, and the entity-attribute type search unit 107, and generate all the answer results. Alternatively, the answer result may be selectively generated based on a predetermined priority order or the like.

回答制御部102は、ルール型検索部105、正規表現型検索部106、エンティティ‐属性型検索部107の何れからも、正常な回答が得られなかった場合は、検索エンジン利用回答サービスサーバ150に質問文を送信し、その結果(0件もしくは1件以上)を回答結果として、入出力制御部101へ送信する。   If a normal answer is not obtained from any of the rule type search unit 105, regular expression type search unit 106, and entity-attribute type search unit 107, the answer control unit 102 sends a response to the search engine utilization answer service server 150. A question sentence is transmitted, and the result (0 or more) is transmitted as an answer result to the input / output control unit 101.

サービス対象外判定部103は、質問文がサービス対象であるか否かを判定する。サービス対象外判定部103は、回答制御部102から質問文を受け取り、その質問が知識検索回答サーバ100で回答すべきものであるか否かを質問回答フロントサーバ50の回答サービス候補判定部51より詳細に判定する。   The non-service target determination unit 103 determines whether the question sentence is a service target. The service out-of-service determination unit 103 receives the question sentence from the answer control unit 102 and determines whether or not the question should be answered by the knowledge search answer server 100 from the answer service candidate determination unit 51 of the question answer front server 50. Judgment.

具体的に、サービス対象外判定部103は、「教えて」とは入っているが歴史の事実などの一般的な知識に関する質問ではないことが分かるようなキーワード(「かっこいい」「かわいい」などの主観的な質問を示すものなど)が含まれていた場合や、雑談を示すキーワード(ユーザ端末30の利用者の名前など)、不適切な話題(アダルト分野の質問や領土問題など政治的な主義・主張が関わるものなど)が入っていた場合に知識検索回答サーバ100のサービス対象外であると判定し、その旨を回答制御部102へ送信する。   Specifically, the out-of-service determination unit 103 includes keywords (such as “cool” and “cute”) that can be understood as not being questions about general knowledge such as historical facts, although “Teach me” is included. Such as those that indicate subjective questions), keywords that indicate chat (such as the name of the user of the user terminal 30), inappropriate topics (such as questions in the adult field or territorial issues) If it is included in the claim, it is determined that the knowledge search answer server 100 is out of service, and that effect is transmitted to the answer control unit 102.

検索エンジン利用好適判定部104は、質問文の内容に基づいて、検索エンジン利用回答サービスサーバ150に回答が好適であるか否かを判定する。検索エンジン利用好適判定部104は、回答制御部102から質問文を受け取り、知識検索回答サーバ100で対応すべきではあるが、静的なデータベースや固定のプログラムによる回答では回答できないような幅広い知識に関する質問であるか否かを判定する。本実施形態では、物事の理由を尋ねる質問をそのような質問として捉える。具体的には「何故」「なぜ」「理由」「わけ」といったキーワードが質問文に含まれている場合、検索エンジンを使った回答が好適であると判定し、判定結果を回答制御部102へ送信する。   Based on the contents of the question text, the search engine use preference determination unit 104 determines whether or not the search engine use answer service server 150 is suitable for the answer. The search engine use suitability determination unit 104 receives a question sentence from the answer control unit 102 and should be supported by the knowledge search answer server 100, but is related to a wide range of knowledge that cannot be answered by an answer using a static database or a fixed program. Determine if it is a question. In this embodiment, a question that asks the reason for things is taken as such a question. Specifically, when keywords such as “why”, “why”, “reason”, “reason” are included in the question sentence, it is determined that an answer using a search engine is suitable, and the determination result is sent to the answer control unit 102. Send.

なお、検索エンジン利用回答サービスサーバ150は、インターネット上のWebサイトをクローリングし、その内容から検索を行って結果を回答するサービスを行う。検索エンジン利用回答サービスサーバ150は、インターネットポータルページで提供されている一般的な検索エンジンを利用してサービス提供しても良いし、より用途に特化したユーザ参加型のQ&Aサービスを提供するようにしても良い。検索エンジン利用回答サービスサーバ150は、ルール型検索機能・正規表現型検索機能・エンティティ-属性型検索機能で回答を準備することを意図していない知識についての回答することを目的に設けられている。   The search engine utilization answering service server 150 provides a service for crawling a Web site on the Internet, searching from the contents, and answering the result. The search engine utilization answering service server 150 may provide a service using a general search engine provided on the Internet portal page, or provide a user-participation-type Q & A service that is more specialized for use. Anyway. The search engine utilization answer service server 150 is provided for the purpose of answering knowledge that is not intended to prepare an answer by the rule type search function, the regular expression type search function, and the entity-attribute type search function. .

回答制御部102が、検索エンジン利用回答サービスサーバ150へ質問文を送信すると、検索エンジン利用回答サービスサーバ150から質問文の内容を含むWebサイトの検索結果が返却される。検索エンジン利用回答サービスサーバ150は、より高い精度を提供する場合は、検索結果中に出現した単語を出現数の順に並べ、最も高いものを回答とするなど統計的な処理を行っても良い。   When the answer control unit 102 transmits the question text to the search engine use answer service server 150, the search result of the website including the contents of the question text is returned from the search engine use answer service server 150. When providing higher accuracy, the search engine utilization answer service server 150 may perform statistical processing such as arranging words that appear in the search result in order of the number of appearances and setting the highest one as the answer.

ルール型検索部105は、ルール‐回答表110に蓄積された情報に従って、ある特定の言い回しによる質問文に固定の回答を検索し、検索結果を回答制御部102へ送信する。なお、質問文から一意に定まる質問を定義型質問という。ルール‐回答表110の例を図5に示す。ルール‐回答表110は、ルール、回答、回答へ付与する敬称・単位を含む。ルール型検索部105は、質問文を検索条件として、ルール‐回答表110を検索する。具体的に、ルール型検索部105は、まず特定の語尾(「を教えて」「は誰」「は何」など)を質問文から削除した後、削除した質問文を検索キーとして、ルール‐回答表110のルールとの完全一致・前方一致検索もしくは部分一致検索を行う。   The rule type search unit 105 searches for a fixed answer to a question sentence with a specific phrase according to the information accumulated in the rule-answer table 110, and transmits the search result to the answer control unit 102. A question uniquely determined from a question sentence is called a definition question. An example of the rule-answer table 110 is shown in FIG. The rule-answer table 110 includes a title, a unit given to the rule, the answer, and the answer. The rule type search unit 105 searches the rule-answer table 110 using the question sentence as a search condition. Specifically, the rule-type search unit 105 first deletes a specific ending (“Tell me”, “Who”, “What”, etc.) from the question sentence, and then uses the deleted question sentence as a search key. A complete match / forward match search or partial match search with the rules of the answer table 110 is performed.

ルール型検索部105は、該当するレコードがある場合、当該レコードに含まれる回答と、回答への敬称・単位とを取り出して、取り出した情報を回答制御部102へ送信する。回答制御部102は、ルール型検索部105から取得した情報に基づいて回答結果を生成する。回答制御部102は、例えば”[質問文]についてお調べしたところ答えは[回答][回答の敬称・単位]です。”といった形で入力の質問文と回答、ならびに敬称・単位を連結した文章を回答結果として生成する。   When there is a corresponding record, the rule type search unit 105 extracts an answer included in the record and a title / unit of the answer, and transmits the extracted information to the answer control unit 102. The response control unit 102 generates a response result based on the information acquired from the rule type search unit 105. The answer control unit 102, for example, examines [question text] and the answer is [answer] [answer title / unit]. Is generated as an answer result.

具体例として、「世界一高い山は何」という質問文をルール型検索部105が受け付けた場合、まず、ルール型検索部105は、質問文の語尾を削除して「世界一高い山」という検索キーを作成する。ルール型検索部105は、検索キーを用いて、ルール‐回答表110のルールに対して検索すると、回答が「エベレスト」であり、回答への敬称・単位が、何もないレコードを検索する。ルール型検索部105は、検索したレコードに基づいた回答を回答制御部102へ送信する。ルール型検索部105が送信した内容に基づいて、回答制御部102が生成した回答結果は、「世界一高い山は何についてお調べしたところ答えはエベレストです。」となる。   As a specific example, when the rule type search unit 105 receives a question sentence “What is the highest mountain in the world?”, The rule type search unit 105 first deletes the ending of the question sentence and says “the highest mountain in the world”. Create a search key. When searching for the rule in the rule-answer table 110 using the search key, the rule-type search unit 105 searches for a record whose answer is “Everest” and which has no title or unit for the answer. The rule type search unit 105 transmits an answer based on the searched record to the answer control unit 102. The answer result generated by the answer control unit 102 based on the content transmitted by the rule type search unit 105 is “What is the highest mountain in the world, and the answer is Everest?”.

一部のルール‐回答表110のレコードには回答にどのプログラムを起動すべきかと、それに引き渡す引数とを有するものが存在する。これは固定のデータではなく、後述するプログラム型回答生成部108により特定のプログラムを使って、回答を生成する必要があることを意味している。具体例として、「今何時」という質問文をルール型検索部105が受け付けた場合、ルール型検索部105は、プログラム型回答生成部108に、引数を「日本」としてプログラム1を起動することにより得られる回答を要求する。このように、ルール型検索部105は、質問文に対応するルール‐回答表110のルールの回答がプログラムの回答を必要とする場合、すなわち、質問文にプログラム演算を必要と解釈できる文言が含まれる場合、プログラム型回答生成部108による回答を要求する。なお、図5の例では、引数がルール‐回答表110中に定義されているが、質問文中から引数に対応する文言を抽出するようにしても良い。質問文中から引数部分を判定する処理の例は、後述する。   Some of the records in the rule-answer table 110 have a program to be activated for an answer and an argument to be delivered to the answer. This means that it is not fixed data, and it is necessary to generate an answer using a specific program by the program type answer generation unit 108 described later. As a specific example, when the rule type search unit 105 accepts a question sentence “what time is it”, the rule type search unit 105 causes the program type answer generation unit 108 to start the program 1 with an argument “Japan”. Request an answer to get. As described above, the rule-type search unit 105 includes a word that can be interpreted as requiring a program operation when the answer of the rule in the rule-answer table 110 corresponding to the question requires a program answer. If so, an answer is requested by the program answer generation unit 108. In the example of FIG. 5, the argument is defined in the rule-answer table 110, but the wording corresponding to the argument may be extracted from the question sentence. An example of processing for determining the argument part from the question sentence will be described later.

ルール型検索部105は、上述のような、起動プログラムや引数を有するレコードを検索した場合は、当該レコードに含まれるプログラム及び引数を、プログラム型回答生成部108へ送信し、プログラム型回答生成部108から取得した情報を回答の形に編集して回答制御部102へ送信する。   When the rule type search unit 105 searches for a record having an activation program or an argument as described above, the rule type search unit 105 transmits the program and the argument included in the record to the program type answer generation unit 108, and the program type answer generation unit The information acquired from 108 is edited into a response form and transmitted to the response control unit 102.

正規表現型検索部106は、いわゆる正規表現型で記載されている質問文に対する回答を行う。具体的には、正規表現型検索部106は、回答制御部102から得られる質問文に対し、正規表現ルール表113に保存された情報を参照して回答を生成し、当該回答を回答制御部102へ出力する。ここで、正規表現ルール表113を図6に示す。図6に示すように、正規表現ルール表113は、「正規表現パターン」と、「回答生成ルール」と、「回答への敬称・単位」とが対応付けられて保存されている。正規表現型検索部106は、正規表現と呼ばれる柔軟なパターンマッチを実現する表記方法に基づいた処理エンジンを使い、そのパターンに合致した場合にそれに対応するプログラムを起動する。正規表現の処理エンジンはJava(登録商標)などの様々な汎用プログラミング言語で標準のライブラリとして提供されており、本実施形態における正規表現型検索部106でもそれらをそのまま活用することを想定する。   The regular expression type search unit 106 makes an answer to a question sentence described in a so-called regular expression type. Specifically, the regular expression type search unit 106 generates an answer to the question sentence obtained from the answer control unit 102 with reference to information stored in the regular expression rule table 113, and the answer control unit To 102. Here, the regular expression rule table 113 is shown in FIG. As illustrated in FIG. 6, the regular expression rule table 113 stores “regular expression pattern”, “answer generation rule”, and “title / unit for answer” in association with each other. The regular expression type search unit 106 uses a processing engine based on a notation method that realizes a flexible pattern match called a regular expression, and activates a program corresponding to the pattern when it matches the pattern. The regular expression processing engine is provided as a standard library in various general-purpose programming languages such as Java (registered trademark), and it is assumed that the regular expression processing unit 106 in the present embodiment also uses them as they are.

正規表現型検索部106は、まず質問文に対応する、正規表現ルール表113の正規表現パターンが存在するか否かを判断する。図6の1行目の正規表現パターンは、任意の文字列に続き、「は今何時」という文字列が続いた場合にマッチすることを意味している。例えば「ロンドンは今何時」という質問が入力された場合このパターンにマッチする。   The regular expression type search unit 106 first determines whether there is a regular expression pattern in the regular expression rule table 113 corresponding to the question sentence. The regular expression pattern on the first line in FIG. 6 means that a match is made when an arbitrary character string is followed by a character string “What time is it now?”. For example, if the question “What time is London now?” Is entered, this pattern is matched.

また、「正規表現パターン」の丸カッコで囲まれた部分は、その正規表現パターンに対応づいたプログラムに対する引数として使うことを意味している。この例では「ロンドン」が回答生成ルールの引数に使用される。   In addition, the part of the “regular expression pattern” enclosed in parentheses means that it is used as an argument to the program corresponding to the regular expression pattern. In this example, “London” is used as an argument of the answer generation rule.

正規表現型検索部106は、質問文に対応する、正規表現ルール表113の正規表現パターンが存在する場合、その正規表現パターンに対応づいたプログラムを起動することを、プログラム型回答生成部108に通知する。   When there is a regular expression pattern in the regular expression rule table 113 corresponding to the question sentence, the regular expression type search unit 106 instructs the program type answer generation unit 108 to start a program corresponding to the regular expression pattern. Notice.

プログラム型回答生成部108は、引数とともに指定されたプログラムを起動し、回答を出力する。上記の例では対応する都市の時刻を生成(「9時59分」など)し正規表現型検索部106へ通知する。   The program-type answer generation unit 108 activates a program specified with an argument and outputs an answer. In the above example, the time of the corresponding city is generated (such as “9:59”) and notified to the regular expression search unit 106.

正規表現型検索部106は、プログラム型回答生成部108から回答を取得すると、当該回答を回答制御部102へ送信する。回答制御部102は、取得した回答に基づいて、出力用の回答結果を生成する。回答制御部102は、例えばルール型検索部105と同様に「[質問文]についてお調べしました。答えは[プログラム型回答生成部から得られた回答][回答の敬称・単位]です。」といった文章を質問文・回答・回答の敬称・単位を使って作成する。   When the regular expression type search unit 106 obtains an answer from the program type answer generation unit 108, the regular expression type search unit 106 transmits the answer to the answer control unit 102. The answer control unit 102 generates an answer result for output based on the obtained answer. The answer control unit 102, for example, similarly to the rule type search unit 105, “I investigated [question text]. The answer is [the answer obtained from the program type answer generation unit] [the title / unit of the answer].” Are created using the question text / answer / title of the answer / unit.

エンティティ‐属性型検索部107は、所定の対象物の属性を問い合わせる質問文(属性型質問)に対する回答を行う。具体的に、エンティティ‐属性型検索部107は、質問文から、その質問文でユーザが問い合わせようとしている対象物を表現するキー情報(エンティティ検索キー)ならびにその対象物の側面を示すキー情報(属性検索キー)を抽出する。   The entity-attribute type search unit 107 answers to a question sentence (attribute type question) for inquiring about an attribute of a predetermined object. Specifically, the entity-attribute type search unit 107 uses the key information (entity search key) representing the target object that the user wants to inquire from the question text as well as the key information (side of the target object) from the question text ( Attribute search key) is extracted.

これらの抽出にはさまざまな方法が考えられるが、本実施形態では、エンティティ‐属性型検索部107は、キーワードの組合せの場合は一つ目のキーワードをエンティティ検索キー、二つめのキーワードを属性検索キーとして判断する。例えば「○△ 監督」というキーワードの場合は「○△」をエンティティ検索キー、「監督」を属性検索キーと判断する。   Various methods can be considered for these extractions. In this embodiment, in the case of a combination of keywords, the entity-attribute type search unit 107 searches the first keyword for the entity search key and the second keyword for the attribute search. Judge as a key. For example, in the case of the keyword “◯ △ director”, “○ △” is determined as an entity search key, and “director” is determined as an attribute search key.

他にも自然文質問を対象とする場合は「○○の監督は誰」といった形のルール(○○の部分は任意の文字列)と属性を対応付けた形でシステムが受け入れ可能な属性について準備しておき、そのパターンに当てはまった場合のみ○○の部分をエンティティ検索キー、マッチしたパターンに対応付けられた属性をその質問の属性検索キーとする方法などが考えられる。   In addition, when natural text questions are targeted, attributes that can be accepted by the system in a form that associates attributes with rules of the form "who is the director of XX" (XX is an arbitrary character string) There may be a method that prepares and uses the ○○ portion as an entity search key only when the pattern matches the pattern, and uses the attribute associated with the matched pattern as the attribute search key of the question.

エンティティ‐属性型検索部107は、これらの検索キーを抽出したあと、エンティティ-属性値表111を参照して答えにあたる値を検索する。エンティティ-属性値表111の例を図7に示す。図7に示すように、エンティティ-属性値表111は、「対象」と「属性」と「値」とが関連付けられた情報を管理する。   After extracting these search keys, the entity-attribute type search unit 107 searches the value corresponding to the answer with reference to the entity-attribute value table 111. An example of the entity-attribute value table 111 is shown in FIG. As illustrated in FIG. 7, the entity-attribute value table 111 manages information in which “target”, “attribute”, and “value” are associated with each other.

エンティティ‐属性型検索部107は、エンティティに対してはエンティティ検索キーを部分一致検索条件、属性に対して属性検索キーを完全一致の検索条件として、行を抽出する。上記のエンティティ検索キーが「○△」、属性検索キーが「監督」であるような質問の場合、図7の例では「○△と秘密の部屋」の監督としてAAAAAA、「○△と△×の囚人」の監督としてBBBBBB、「○△と死の秘宝」の監督としてCCCCCCが抽出される。   The entity-attribute type search unit 107 extracts rows using an entity search key as a partial match search condition for an entity and an attribute search key as a complete search condition for an attribute. In the case of the question in which the entity search key is “◯ △” and the attribute search key is “director”, AAAAAA, “◯ △ and △ ×” are assigned as the director of “◯ △ and the secret room” in the example of FIG. 7. CCBBCC is extracted as the director of BBBBBBB as the director of "The Prisoner of Nothing" and the director of "O △ and the Deathly Hallows".

続いて、エンティティ‐属性型検索部107は、属性表示形式表112に対して、エンティティ-属性値表111から検索した属性をキーにしてレコードを取り出す。属性表示形式表112の例を図8に示す。属性表示形式表112は、「属性」と、「エンティティへの敬称・単位」と、「値への敬称・単位」と、「プログラム回答有無」とが対応付けられた情報を管理している。エンティティ‐属性型検索部107は、エンティティ-属性値表111や属性表示形式表112から取り出したレコードの情報を回答として、回答制御部102へ送信する。   Subsequently, the entity-attribute type search unit 107 extracts records from the attribute display format table 112 using the attributes searched from the entity-attribute value table 111 as keys. An example of the attribute display format table 112 is shown in FIG. The attribute display format table 112 manages information in which “attribute”, “title / unit for entity”, “title / unit for value”, and “program answer presence / absence” are associated with each other. The entity-attribute type search unit 107 transmits the record information extracted from the entity-attribute value table 111 and the attribute display format table 112 to the answer control unit 102 as an answer.

回答制御部102は、例えば「[抽出したエンティティ][エンティティの敬称・単位]の[属性]は、[値][値の敬称・単位]です。」といった形で文章を生成する。上記の例では、「○△と秘密の部屋の監督は、AAAAAAさんです。」「○△と△×の囚人の監督は、BBBBBBさんです。」「○△と死の秘宝の監督は、CCCCCCさんです。」の三つの文章が答えとなる。   The answer control unit 102 generates a sentence in a form such as “[attribute] of [extracted entity] [entity title / unit] is [value] [value title / unit]”. In the above example, “AAAAA is the director of the secret room with ○ △.” “The director of the prisoner of ○ △ and △ × is BBBBBBB.” “The director of the secret treasure with ○ △ is CCCCCC. "San." Is the answer.

また、エンティティ‐属性型検索部107は、質問文中から特定の属性検索キーが抽出された場合に、プログラム型回答生成部108にその旨を通知して、プログラム型回答生成部108からプログラムによる回答を取得しても良い。例えば、質問文が「次の満月は?」である場合、エンティティ‐属性型検索部107は、図8の属性表示形式表112の属性に「満月」を含むレコードを特定し、属性が「満月」であるレコードのプログラム回答有無にプログラム名が含まれているので、プログラム型回答生成部108に対して、引数を「次」として、プログラム3を用いた回答を要求する。そして、質問文が「来週の木曜日は?」である場合、エンティティ‐属性型検索部107は、質問文中に、週に関する情報である「来週」と、曜日である「木曜日」とが含まれるので、曜日から日付を回答要求していると判断し、図8の属性表示形式表112の属性が「曜日から日付」であるレコードを特定し、当該レコードのプログラム回答有無には、プログラム名が含まれているので、プログラム型回答生成部108に対して、引数を、「来週」及び「木曜日」として、プログラム4を用いた回答を要求する。そして、質問文が「来週木曜日は何の日?」である場合、エンティティ‐属性型検索部107は、「何の日」という文言から祝日・記念日の回答要求をしていると判断し、図8の属性表示形式表112の属性が「祝日・記念日」であるレコードを特定し、当該レコードのプログラム回答有無には、プログラム名が含まれているので、プログラム型回答生成部108に対して、引数を「来週木曜」として、プログラム5を用いた回答を要求する。   Further, when a specific attribute search key is extracted from the question sentence, the entity-attribute type search unit 107 notifies the program type answer generation unit 108 to that effect, and the program type answer generation unit 108 answers the program. You may get For example, when the question sentence is “What is the next full moon?”, The entity-attribute type search unit 107 specifies a record including “full moon” as an attribute in the attribute display format table 112 of FIG. Since the program name is included in the presence / absence of the program response of the record “”, the response using the program 3 is requested to the program type response generation unit 108 with the argument “next”. When the question sentence is “What is Thursday next week?”, The entity-attribute type search unit 107 includes “next week” that is information about the week and “Thursday” that is the day of the week in the question sentence. 8 determines that a date is requested from the day of the week, identifies a record whose attribute display format table 112 in FIG. 8 has the attribute “day of the week to date”, and the program name of the record includes the program name. Therefore, the program type response generation unit 108 is requested to make an answer using the program 4 with the arguments as “next week” and “Thursday”. When the question sentence is “What day is next Thursday?”, The entity-attribute type search unit 107 determines that a request for a holiday / anniversary is requested from the word “what day”, A record whose attribute in the attribute display format table 112 of FIG. 8 is “Holiday / Anniversary” is specified, and the program name is included in the presence / absence of the program response of the record. Then, an argument using “next Thursday” is requested and an answer using the program 5 is requested.

このように、エンティティ‐属性型検索部107は、質問文に対応する属性表示形式表112のレコードのプログラム回答有無の情報によりプログラムの回答を必要とすると判断できる場合、すなわち、質問文にプログラム演算を必要と解釈できる文言が含まれる場合、プログラム型回答生成部108による回答を要求する。   As described above, when the entity-attribute type search unit 107 can determine that the program answer is necessary based on the information on the presence / absence of the program answer in the record of the attribute display format table 112 corresponding to the question sentence, that is, the program calculation is performed on the question sentence. Is included, a response by the program type answer generation unit 108 is requested.

なお、引数部分を判定する処理は、正規表現ルール表113に正規表現パターンを利用するようにしても良い。例えば「○○は何の日」というパターンにマッチした場合、図6に示す正規表現ルールの二番目に存在するルールを起動し、その後の引数の処理を行うなどが考えられる。   Note that the processing for determining the argument portion may use a regular expression pattern in the regular expression rule table 113. For example, when a pattern of “XX is what day” is matched, a rule that exists second in the regular expression rule shown in FIG. 6 is activated, and subsequent argument processing is performed.

プログラム型回答生成部108は、ルール型検索、正規表現型検索、エンティティ-属性型検索のそれぞれのルールからプログラムの識別子と引数を与えられ、対応するプログラムを起動し計算によって得られた回答を呼び出し元に返却する。プログラム型回答生成部108は、予め固定のデータによって回答ができないような質問に対して、動的に回答を生成して呼び出し元へ返却する。   The program type answer generation unit 108 is given a program identifier and an argument from each rule of the rule type search, the regular expression type search, and the entity-attribute type search, starts the corresponding program, and calls the answer obtained by calculation. Return to original. The program-type answer generation unit 108 dynamically generates an answer to a question that cannot be answered with fixed data in advance and returns it to the caller.

例えば引数に都市名を受け入れ、その都市の現在時刻を返却するプログラムや、引数に絶対的・相対的な日付を受け入れ、その日付の祝日・記念日を返却するプログラムが考えられる。なお、プログラム型回答生成部108は、引数を取得することなく、プログラム演算結果を出力するだけでも良い。例えば、引数無しで現在時刻を出力するプログラムが該当する。   For example, a program that accepts a city name as an argument and returns the current time of the city, or a program that accepts an absolute or relative date as an argument and returns a holiday or anniversary on that date can be considered. Note that the program-type answer generation unit 108 may simply output the program operation result without acquiring an argument. For example, a program that outputs the current time without an argument is applicable.

なお、サービス対象外判定部103、検索エンジン利用好適判定部104、ルール型検索部105、正規型表現検索部106、及びエンティティ-属性検索部107のそれぞれが行う、サービス対象外判定、検索エンジン利用好適判定、ルール型検索、正規表現型検索、及びエンティティ-属性検索は、この順に質問文を転送されるものとして記載をしたが、その一部を一つの機能としてまとめて実施しても構わない。例えばルール型検索の一部のルールにサービス対象外を示すフラグや検索エンジン利用好適を示すフラグを設定しておき、それにマッチした場合にサービス対象外の回答や検索エンジン利用回答サービスサーバ150への質問文を送信するようにしても良い。   It should be noted that the service out-of-service determination unit 103, the search engine use preference determination unit 104, the rule type search unit 105, the regular expression search unit 106, and the entity-attribute search unit 107 respectively perform non-service determination and search engine use. Although it has been described that the preference determination, the rule type search, the regular expression type search, and the entity-attribute search are forwarded in this order, a part of them may be collectively implemented as one function. . For example, a flag indicating that the service is not applicable or a flag indicating that the search engine is suitable for use is set in a part of the rules of the rule type search, and if it is matched, A question sentence may be transmitted.

また、エンティティ-属性型検索107がエンティティ-属性型検索をするために、サービス対象外を示す属性や検索エンジン利用回答サービスを使用することが好適である旨を示す属性をエンティティ‐属性値表111又は属性表示形式表112等に保持するようにしても良い。   In addition, in order for the entity-attribute type search 107 to perform an entity-attribute type search, an attribute indicating non-service target and an attribute indicating that it is preferable to use a search engine utilization answer service are displayed in the entity-attribute value table 111. Alternatively, it may be held in the attribute display format table 112 or the like.

続いて、上述のように構成された質問回答フロントサーバ50及び知識検索回答サーバ100の動作について説明する。   Next, operations of the question / answer front server 50 and the knowledge search / answer server 100 configured as described above will be described.

最初に質問回答フロントサーバ50の動作について図9に示すフローチャートを用いて説明する。   First, the operation of the question / answer front server 50 will be described with reference to the flowchart shown in FIG.

質問回答フロントサーバ50のサービス制御部53は、ユーザ端末30から質問文を受信すると、当該質問文を受け付ける(ステップS1)。   When receiving the question message from the user terminal 30, the service control unit 53 of the question answer front server 50 receives the question message (step S1).

そして、回答サービス候補判定部51は、回答サービス候補の判定を行う(ステップS2)。回答サービス候補の判定処理の詳細は、後述する。   Then, the answer service candidate determination unit 51 determines an answer service candidate (step S2). Details of the answer service candidate determination process will be described later.

続いて、サービス制御部53は、回答サービス候補判定部51が候補としたサーバに対して、質問文を送信すると共に、回答要求を行う(ステップS3)。   Subsequently, the service control unit 53 transmits a question sentence to the server selected as a candidate by the answer service candidate determination unit 51 and makes an answer request (step S3).

サービス制御部53が回答要求を行ったサーバから回答結果を取得した結果、回答が得られた場合又は回答0件である場合(ステップS4;Yes)、回答生成部52は、回答結果をユーザ端末30へ送信し、ユーザ端末30は、当該回答結果を表示出力する(ステップS6)。   When the service control unit 53 obtains the answer result from the server that has made the answer request, if the answer is obtained or the answer is 0 (step S4; Yes), the answer generating unit 52 sends the answer result to the user terminal. The user terminal 30 displays and outputs the answer result (step S6).

サービス制御部53が回答要求を行ったサーバから回答結果を取得した結果、回答が得られない場合(ステップS4;No)、回答サービス候補が他に有る場合には(ステップS5;Yes)、ステップS3へ移動し、回答サービス候補が他に無い場合には(ステップS5;No)、回答生成部52は、回答できない旨の情報をユーザ端末30へ送信する(ステップS7)。   If the service control unit 53 obtains the answer result from the server that made the answer request, no answer is obtained (step S4; No), and if there are other answer service candidates (step S5; Yes), step When the process moves to S3 and there are no other answer service candidates (step S5; No), the answer generation unit 52 transmits information indicating that the answer cannot be made to the user terminal 30 (step S7).

続いて、回答サービス候補判定部51による回答サービス候補の判定を行う処理について、図10に示すフローチャートを用いて説明する。   Next, the process of determining the answer service candidate by the answer service candidate determining unit 51 will be described with reference to the flowchart shown in FIG.

回答サービス候補判定部51は、最初に質問文を受け付ける(ステップS21)。次に回答サービス候補判定部51は、質問文に「教えて」が含まれている場合(ステップS22;Yes)、回答サービス候補に知識検索回答サーバ100を追加し(ステップS23)、質問文に「行きたい」が含まれている場合(ステップS24;Yes)、回答サービス候補にその他回答サーバA60Aを追加し(ステップS25)、質問文に「天気」が含まれている場合(ステップS26;Yes)、回答サービス候補にその他回答サーバB60Bを追加する(ステップS27)。なお、ステップS22、ステップS24、及びステップS26のいずれの条件にも該当しない場合、回答サービス候補判定部51は、回答サービス候補が存在しない旨をサービス制御部53へ通知する。   The answer service candidate determination unit 51 first receives a question sentence (step S21). Next, when the question sentence includes “Tell me” (step S22; Yes), the answer service candidate determination unit 51 adds the knowledge search answer server 100 to the answer service candidate (step S23), and adds it to the question sentence. When “I want to go” is included (step S24; Yes), the other answer server A60A is added to the answer service candidate (step S25), and when “weather” is included in the question sentence (step S26; Yes) ), The other answer server B60B is added to the answer service candidates (step S27). If none of the conditions in step S22, step S24, and step S26 is satisfied, the answer service candidate determination unit 51 notifies the service control unit 53 that there is no answer service candidate.

続いて、知識検索回答サーバ100の処理を図11〜16に示すフローチャートを用いて説明する。   Next, the processing of the knowledge search answer server 100 will be described using the flowcharts shown in FIGS.

最初に、知識検索回答サーバ100の全体処理について図11に示すフローチャートを用いて説明する。   First, the overall processing of the knowledge search answer server 100 will be described using the flowchart shown in FIG.

まず、入出力制御部101は、質問回答フロントサーバ50から回答要求を受け付けると共に、質問文を受け付ける(ステップS31)。   First, the input / output control unit 101 accepts an answer request from the question answer front server 50 and accepts a question sentence (step S31).

そして、入出力制御部101が質問文を受け付けると、回答制御部102が回答に関する制御を行う。回答制御部102は、サービス対象外判定部103に対して、質問文の内容がサービス対象外か否かの判定をさせる(ステップS32)。サービス対象外判定の詳細は、後述する。   When the input / output control unit 101 receives the question text, the answer control unit 102 performs control related to the answer. The answer control unit 102 causes the non-service target determination unit 103 to determine whether or not the content of the question text is not a service target (step S32). Details of the non-service determination will be described later.

サービス対象外判定部103が、知識検索回答サーバ100のサービス対象外と判定した場合(ステップS33;Yes)、回答制御部102は、対象外である旨の情報を回答結果として生成し、入出力制御部101は、当該回答結果を質問回答フロントサーバ50へ回答結果として出力する(ステップS41)。   When the non-service determination unit 103 determines that the knowledge search answer server 100 is out of service (step S33; Yes), the response control unit 102 generates information indicating that the service is out of target as a response result, and inputs and outputs The control unit 101 outputs the answer result to the question answer front server 50 as an answer result (step S41).

サービス対象外判定部103が、知識検索回答サーバ100のサービス対象と判定した場合(ステップS33;No)、検索エンジン利用好適判定部104は、検索エンジン利用が好適であるか否かを判定する(ステップS35)。検索エンジン利用が好適であるか否かを判定する処理の詳細は、後述する。   When the non-service target determination unit 103 determines that the knowledge search answer server 100 is a service target (step S33; No), the search engine use preference determination unit 104 determines whether the search engine use is preferable ( Step S35). Details of the process for determining whether or not the use of the search engine is suitable will be described later.

検索エンジン利用好適判定部104が、検索エンジン利用が好適であると判定した場合(ステップS36;Yes)、回答制御部102は、検索エンジン利用回答サービスサーバ150へ質問文の回答依頼をする(ステップS37)。回答制御部102は、検索エンジン利用回答サービスサーバ150から回答を取得し、取得した回答を回答結果として生成する。入出力制御部101は、当該回答結果を質問フロントサーバ50へ送信する(ステップS41)。   When the search engine use preference determination unit 104 determines that the search engine use is suitable (step S36; Yes), the answer control unit 102 requests the search engine use answer service server 150 to answer a question (step step). S37). The answer control unit 102 obtains an answer from the search engine use answer service server 150 and generates the obtained answer as an answer result. The input / output control unit 101 transmits the answer result to the question front server 50 (step S41).

検索エンジン利用好適判定部104が、検索エンジン利用が好適でないと判定した場合(ステップS36;No)、回答制御部102は、ルール型検索部105、正規表現型検索部106、及びエンティティ‐属性型検索部107のそれぞれに回答検索させる(ステップS38)。このように、知識検索回答サーバ100は、複数種類の検索部を有しているので、複数の質問パターンに対応させることができる。   When the search engine usage preference determination unit 104 determines that the search engine usage is not suitable (step S36; No), the answer control unit 102 includes the rule type search unit 105, the regular expression type search unit 106, and the entity-attribute type. Each search unit 107 is caused to search for an answer (step S38). As described above, the knowledge search answer server 100 has a plurality of types of search units, and thus can correspond to a plurality of question patterns.

ルール型検索部105、正規表現型検索部106、及びエンティティ‐属性型検索部107の検索処理の詳細は、後述する。   Details of the search processing of the rule type search unit 105, the regular expression type search unit 106, and the entity-attribute type search unit 107 will be described later.

回答制御部102がルール型検索部105、正規表現型検索部106、及びエンティティ‐属性型検索部107のそれぞれに回答検索させた結果、1件以上の回答が得られた場合(ステップS39;Yes)、回答制御部102が回答から回答結果を生成し、入出力制御部101は、回答結果を質問回答フロントサーバ50へ送信する(ステップS41)。   When the answer control unit 102 causes each of the rule type search unit 105, the regular expression type search unit 106, and the entity-attribute type search unit 107 to perform an answer search, one or more answers are obtained (step S39; Yes) ), The answer control unit 102 generates an answer result from the answer, and the input / output control unit 101 transmits the answer result to the question answer front server 50 (step S41).

回答制御部102がルール型検索部105、正規表現型検索部106、及びエンティティ‐属性型検索部107のそれぞれに回答検索させた結果、回答が得られなかった場合(ステップS39;No)、検索エンジン利用回答サービスサーバ150へ回答を依頼する(ステップS40)。回答制御部102は、検索エンジン利用回答サービスサーバ150から取得した回答に基づいて、回答結果を生成する。例えば、検索エンジン利用回答サービスサーバ150から0件である旨の回答を取得した場合には、回答制御部102は、その旨の情報の回答結果を生成する。入出力制御部101は、回答制御部102が生成した回答結果を質問回答フロントサーバ50へ送信する(ステップS41)。   When the answer control unit 102 causes the rule type search unit 105, the regular expression type search unit 106, and the entity-attribute type search unit 107 to perform an answer search, no answer is obtained (step S39; No). The engine utilization answer service server 150 is requested to answer (step S40). The answer control unit 102 generates an answer result based on the answer acquired from the search engine use answer service server 150. For example, when a response indicating that there are no answers is obtained from the search engine utilization response service server 150, the response control unit 102 generates a response result indicating that information. The input / output control unit 101 transmits the answer result generated by the answer control unit 102 to the question answer front server 50 (step S41).

続いて、サービス対象外判定の処理について図12に示すフローチャートを用いて説明する。   Next, the non-service target determination process will be described with reference to the flowchart shown in FIG.

サービス対象外判定部103は、最初に回答制御部102から質問文を取得する(ステップS51)。次に、サービス対象外判定部103は、質問文に主観的なキーワードが含まれている場合(ステップS52;Yes)、質問文に雑談を示すキーワードが含まれている場合(ステップS53;Yes)、又は質問文に不適切なキーワードが含まれている場合(ステップS54;Yes)のいずれかに該当するときは、サービス対象外である旨を回答制御部102へ通知する(ステップS55)。   The out-of-service determining unit 103 first acquires a question sentence from the answer control unit 102 (step S51). Next, the service out-of-service determining unit 103 determines that a question keyword includes a subjective keyword (step S52; Yes), and a question sentence includes a keyword indicating chat (step S53; Yes). If the question sentence contains an inappropriate keyword (step S54; Yes), the answer control unit 102 is notified that the question sentence is out of service (step S55).

そして、サービス対象外判定部103は、質問文に主観的なキーワードが含まれていない場合であり(ステップS52;No)、質問文に雑談を示すキーワードが含まれていない場合であり(ステップS53;No)、且つ質問文に不適切なキーワードが含まれていない場合(ステップS54;No)、回答制御部102へサービス対象である旨を通知する(ステップS56)。   Then, the non-service determination unit 103 is a case where a subjective keyword is not included in the question sentence (Step S52; No), and a case where a keyword indicating chat is not included in the question sentence (Step S53). ; No), and when an inappropriate keyword is not included in the question text (step S54; No), the answer control unit 102 is notified that it is a service target (step S56).

次に、検索エンジン利用好適判定部104が、検索エンジン利用が好適か否かを判定する処理について、図13に示すフローチャートを用いて説明する。   Next, processing for determining whether or not the search engine use preference unit 104 is suitable for use of the search engine will be described with reference to the flowchart shown in FIG.

まず、検索エンジン利用好適判定部104は、質問文を回答制御部102から取得する(ステップS61)。次に検索エンジン利用好適判定部104は、質問文に理由を示すキーワードが含まれている場合(ステップS62;No)、検索エンジン利用が好適でない旨を回答制御部102へ通知し(ステップS63)、質問文に理由を示すキーワードが含まれていれば(ステップS62;Yes)、検索エンジン利用回答サービスでの回答が好適である旨を通知する(ステップS64)。このように、検索エンジン利用好適判定部104が、検索エンジン利用が好適か否かを判定するので、事実型質問でない質問であるにも関わらず、回答処理をしてしまうことを未然に防止することができる。   First, the search engine use preference determination unit 104 acquires a question sentence from the answer control unit 102 (step S61). Next, when the question sentence includes a keyword indicating the reason (step S62; No), the search engine use preference determination unit 104 notifies the answer control unit 102 that the search engine use is not suitable (step S63). If the keyword indicating the reason is included in the question text (step S62; Yes), it is notified that the answer by the search engine utilization answer service is suitable (step S64). As described above, the search engine usage preference determination unit 104 determines whether or not the search engine usage is suitable, so that it is possible to prevent the answer processing from being performed even though the question is not a fact type question. be able to.

次に、ルール型検索部105が行うルール型検索処理について、図14に示すフローチャートを用いて説明する。   Next, rule type search processing performed by the rule type search unit 105 will be described with reference to the flowchart shown in FIG.

最初にルール型検索部105は、回答制御部102から質問文を受け付け(ステップS71)、次にルール型検索部105は、特定の語尾を削除し(ステップS72)、質問文の所定箇所を検索キーとして、ルール‐回答表110を検索する(ステップS73)。   First, the rule type search unit 105 receives a question sentence from the answer control unit 102 (step S71), and then the rule type search unit 105 deletes a specific ending (step S72) and searches for a predetermined part of the question sentence. The rule-answer table 110 is searched as a key (step S73).

ルール型検索部105は、回答を検索できない場合(ステップS74;No)、処理を終了し、回答を検索できた場合(ステップS74;Yes)、回答と、回答の敬称・単位の取り出しを行う(ステップS75)。   The rule type search unit 105 terminates the processing when the answer cannot be searched (step S74; No), and when the answer can be searched (step S74; Yes), retrieves the answer and the title / unit of the answer ( Step S75).

ルール型検索部105は、質問文中に、プログラム回答が必要な情報が含まれていない場合(ステップS76;No)、ステップS75で取り出した情報を回答制御部102へ送信し、回答制御部102は、取得した情報に基づいて回答結果を生成する(ステップS78)。   When the question sentence does not include information that requires a program answer (step S76; No), the rule type search unit 105 transmits the information extracted in step S75 to the answer control unit 102, and the answer control unit 102 Then, an answer result is generated based on the acquired information (step S78).

ルール型検索部105は、質問文中に、プログラム回答が必要な情報が含まれている場合(ステップS76;Yes)、プログラム型回答生成部108から情報を取得し(ステップS77)、ルール型検索部105は、取得した情報と、ステップS75で取り出した情報を回答制御部102へ送信し、回答制御部102は、取得した情報に基づいて回答結果を生成する(ステップS78)。このように、知識検索回答サーバ100は、定義型質問について、固定された回答だけでなく、プログラム演算を必要とする回答にも対応することができる。   When the question sentence includes information that requires a program answer (step S76; Yes), the rule type search unit 105 acquires information from the program type answer generation unit 108 (step S77), and the rule type search unit 105 transmits the acquired information and the information extracted in step S75 to the response control unit 102, and the response control unit 102 generates a response result based on the acquired information (step S78). In this manner, the knowledge search answer server 100 can handle not only fixed answers but also answers that require program operations for definition questions.

次に、正規表現型検索部106が行う正規表現型検索処理について、図15に示すフローチャートを用いて説明する。   Next, regular expression type search processing performed by the regular expression type search unit 106 will be described with reference to the flowchart shown in FIG.

最初に正規表現型検索部106は、回答制御部102から質問文を取得し(ステップS81)、次に正規表現型検索部106は、正規表現表ルール表113を参照し、正規表現表のルールを質問文に適用する(ステップS82)。   First, the regular expression type search unit 106 obtains a question sentence from the answer control unit 102 (step S81), and then the regular expression type search unit 106 refers to the regular expression table rule table 113 to determine the rules of the regular expression table. Is applied to the question sentence (step S82).

正規表現型検索部106は、質問文中に正規表現ルール表113中のルールが含まれていない場合(ステップS83;No)、処理を終了し、質問文中に正規表現ルール表113中のルールが含まれている場合(ステップS83;Yes)、回答プログラムの識別子と、回答の敬称・単位を取り出し(ステップS84)、プログラム型回答生成部108から情報を取得し(ステップS85)、取得した情報を回答制御部102へ送信する。そして、回答制御部102は、回答結果を生成する(ステップS86)。   If the rule in the regular expression rule table 113 is not included in the question sentence (step S83; No), the regular expression search unit 106 ends the process, and the rule in the regular expression rule table 113 is included in the question sentence. If yes (step S83; Yes), the identifier of the answer program and the title / unit of the answer are extracted (step S84), information is obtained from the program-type answer generator 108 (step S85), and the obtained information is answered. Transmit to the control unit 102. Then, the answer control unit 102 generates an answer result (step S86).

次に、エンティティ‐属性型検索部107が行うエンティティ属性型検索処理について、図16に示すフローチャートを用いて説明する。   Next, entity attribute type search processing performed by the entity-attribute type search unit 107 will be described with reference to the flowchart shown in FIG.

最初に、エンティティ‐属性型検索部107は、回答制御部102から質問文を受け付ける(ステップS91)。そして、エンティティ‐属性型検索部107は、質問文からエンティティ検索キー、属性検索キーを抽出し、(ステップS92)、エンティティ属性情報を検索する(ステップS93)。   First, the entity-attribute type search unit 107 receives a question sentence from the answer control unit 102 (step S91). Then, the entity-attribute type search unit 107 extracts an entity search key and an attribute search key from the question sentence (step S92), and searches for entity attribute information (step S93).

エンティティ‐属性型検索部107は、回答を検索できない場合(ステップS94;No)、処理を終了し、回答を検索できた場合(ステップS94;Yes)、エンティティへの敬称・単位、値への敬称・単位を取り出す(ステップS95)。   If the entity-attribute type search unit 107 cannot search for an answer (step S94; No), the process ends, and if the answer can be searched (step S94; Yes), the entity title / unit, and the value title -A unit is taken out (step S95).

エンティティ‐属性型検索部107は、質問文中に、プログラム回答が必要な情報が含まれていない場合(ステップS96;No)、ステップS95で取り出した情報を回答制御部102へ送信し、回答制御部102は、取得した情報に基づいて回答結果を生成する(ステップS98)。   The entity-attribute type search unit 107 transmits the information extracted in step S95 to the answer control unit 102 when the question text does not include information that requires a program answer (step S96; No). 102 generates an answer result based on the acquired information (step S98).

エンティティ‐属性型検索部107は、質問文中に、プログラム回答が必要な情報が含まれている場合(ステップS96;Yes)、プログラム型回答生成部108から情報を取得し(ステップS97)、エンティティ‐属性型検索部107は、取得した情報と、ステップS95で取り出した情報を回答制御部102へ送信し、回答制御部102は、取得した情報に基づいて回答結果を生成する(ステップS98)。このように、知識検索回答サーバ100は、属性型質問について、固定された回答だけでなく、プログラム演算を必要とする回答にも対応することができる。   The entity-attribute type search unit 107 acquires information from the program type answer generation unit 108 (step S97) when the question sentence includes information that requires a program answer (step S96; Yes). The attribute type search unit 107 transmits the acquired information and the information extracted in step S95 to the response control unit 102, and the response control unit 102 generates a response result based on the acquired information (step S98). As described above, the knowledge search answer server 100 can handle not only fixed answers but also answers that require program operations for attribute type questions.

次に、本実施形態に係る知識検索回答サーバ100の作用効果について説明する。知識検索回答サーバ100によれば、入出力制御部101が質問文を取得し、ルール型検索部105、正規表現型検索部106、エンティティ‐属性型検索部107、及びプログラム型回答生成部108が質問文の回答をし、回答制御部102が、上記回答内容に基づいて、回答結果を生成し、入出力制御部101が回答結果を出力する。   Next, the operation and effect of the knowledge search answer server 100 according to the present embodiment will be described. According to the knowledge search answer server 100, the input / output control unit 101 acquires a question sentence, and the rule type search unit 105, the regular expression type search unit 106, the entity-attribute type search unit 107, and the program type answer generation unit 108 The answer of the question is answered, the answer control unit 102 generates an answer result based on the answer content, and the input / output control unit 101 outputs the answer result.

このように、知識検索回答サーバ100は、複数パターンの事実型質問(例えば、定義型質問や属性型質問)の回答部を有しているので、それぞれのパターンの質問の回答を行うことができる。すなわち、様々な種類の事実型質問に対して柔軟に回答を行うことができる。   As described above, the knowledge search answering server 100 has answer parts for a plurality of patterns of fact-type questions (for example, definition-type questions and attribute-type questions), and therefore can answer questions of each pattern. . That is, it is possible to flexibly answer various types of fact-type questions.

質問文が定義型質問又は属性型質問であり、さらに質問文中にプログラム演算を必要と解釈できる文言を含む場合、回答制御部102は、プログラム型回答生成部108による回答と、ルール型検索部105又はエンティティ‐属性型検索部107のいずれか1つによる回答とに基づいた回答結果を生成する。   When the question sentence is a definition type question or an attribute type question, and further includes a word that can be interpreted as requiring a program operation in the question sentence, the answer control unit 102 receives the answer from the program type answer generation unit 108 and the rule type search unit 105. Alternatively, an answer result based on the answer by any one of the entity-attribute type search unit 107 is generated.

この場合、定義型質問や属性型質問について、固定された回答だけでなく、プログラム演算を必要とする回答にも対応することができる。   In this case, with respect to the definition type question and the attribute type question, not only a fixed answer but also an answer requiring a program calculation can be handled.

プログラム型回答生成部108は、引数に対応するプログラム演算結果を出力する。この場合、引数を利用したプログラム演算の回答をすることができるので、当該引数を用いて動的に変動し得る回答を生成することができる。   The program-type answer generation unit 108 outputs a program operation result corresponding to the argument. In this case, since an answer of a program operation using an argument can be made, an answer that can be dynamically changed can be generated using the argument.

検索エンジン利用好適判定部104は、質問文が事実型質問であるか否かを判定する。検索エンジン利用好適判定部104によって質問文が事実型質問でないと判定された場合、知識検索回答サーバ100は、検索エンジン利用回答サービスサーバ150へ質問文の回答依頼をする。この場合、知識検索回答サーバ100は、質問文が事実型質問ではない場合、他の装置へ質問文の回答依頼をするので、予め回答を作成するためのデータやロジックを用意することが難しい分野に対してもインターネット上に存在するWebサイトから回答を生成することができる。また、事実型質問であるか否かを予め判断しているので、事実型質問でない質問であるにも関わらず、回答処理をしてしまうことを未然に防止することができる。   The search engine use preference determination unit 104 determines whether the question sentence is a fact type question. When the search engine use preference determination unit 104 determines that the question text is not a fact type question, the knowledge search answer server 100 requests the search engine use answer service server 150 to answer the question text. In this case, since the knowledge search answer server 100 makes a request for answering the question sentence to another device when the question sentence is not a fact type question, it is difficult to prepare data and logic for preparing the answer in advance. In addition, an answer can be generated from a Web site existing on the Internet. In addition, since it is determined in advance whether or not it is a fact type question, it is possible to prevent the answer process from being performed even though the question is not a fact type question.

回答制御部102は、回答がない場合と、回答不能な質問である場合とを識別可能な回答結果を生成する。この場合、回答が得られない場合に、回答が存在しないか、知識検索回答サーバ100で対応可能な質問ではなかったかを利用者に判別させることができる。   The answer control unit 102 generates an answer result that can identify when there is no answer and when the answer is an unanswerable question. In this case, when an answer is not obtained, the user can determine whether there is no answer or whether the answer is a question that can be handled by the knowledge search answer server 100.

回答制御部102は、質問文の種類に応じて、回答結果のユーザインタフェースを切り替える。この場合、質問文の種類に応じて回答結果のインタフェースを変更するので、ユーザの理解度を向上させることができる。   The answer control unit 102 switches the user interface of answer results according to the type of question sentence. In this case, since the interface of the answer result is changed according to the type of the question sentence, the user's understanding can be improved.

回答制御部102は、ルール型検索部105やエンティティ‐属性型検索部107から値や敬称等の付記的情報を取得した場合、当該付記的情報も付加した回答結果を生成する。この場合、質問文で聞かれている対象について、敬称や単位を付記的情報として付加するので、関係者への配慮や異なる単位への変換を実施することができる。   When the answer control unit 102 acquires additional information such as a value or a title from the rule type search unit 105 or the entity-attribute type search unit 107, the response control unit 102 generates a response result to which the additional information is also added. In this case, since the title or unit is added as additional information for the object being heard in the question sentence, consideration for the parties concerned or conversion to a different unit can be performed.

(他の実施形態)
上述の実施形態では、質問回答フロントサーバ50と知識検索回答サーバ100を分けて構成する場合について述べたが、質問回答フロントサーバ50と知識回答サーバ100とを一体としたサーバとしても良い。
(Other embodiments)
In the above embodiment, the case where the question answer front server 50 and the knowledge search answer server 100 are configured separately has been described. However, the question answer front server 50 and the knowledge answer server 100 may be integrated.

30…ユーザ端末、50…質問回答フロントサーバ、51…回答サービス候補判定部、52…回答生成部、53…サービス制御部、60…その他回答サーバ、100…知識検索回答サーバ、101…入出力制御部、102…回答制御部、103…サービス対象外判定部、104…検索エンジン利用好適判定部、105…ルール型検索部、106…正規表現型検索部、107…エンティティ‐属性型検索部、108…プログラム型回答生成部、110…ルール‐回答表、111…エンティティ‐属性値表、112…属性表示形式表、150…検索エンジン利用回答サービスサーバ。
DESCRIPTION OF SYMBOLS 30 ... User terminal, 50 ... Question answer front server, 51 ... Answer service candidate determination part, 52 ... Answer generation part, 53 ... Service control part, 60 ... Other answer server, 100 ... Knowledge search answer server, 101 ... Input / output control , 102 ... Reply control part, 103 ... Out-of-service determination part, 104 ... Search engine use suitability determination part, 105 ... Rule type search part, 106 ... Regular expression type search part, 107 ... Entity-attribute type search part, 108 ... Program type answer generation unit, 110... Rule-answer table, 111.

上述の課題を解決するために、本発明の情報処理装置は、質問文を取得する質問文取得手段と、質問文の全て又は一部の回答を出力する回答部を複数有する回答手段と、回答手段による出力結果に基づいた回答結果を生成する回答生成手段と、回答生成手段が生成した回答結果を出力する回答出力手段と、を備え、回答手段は、第1パターンの事実型質問について回答可能な回答部と、第2パターンの事実型質問について回答可能な回答部とを少なくとも有し、回答手段には、プログラム演算結果を回答として出力するプログラム回答部を含み、さらに、質問文から一意に定まる質問である定義型質問の回答を検索し、検索結果を出力する定義型質問回答部又は、所定の対象物の属性を問い合わせる質問である属性型質問の回答を検索し、検索結果を出力する属性型質問回答部のいずれか1つを少なくとも含み、質問文が、定義型質問又は属性型質問に対応する質問であり、且つ質問文中にプログラム演算を必要と解釈できる文言を含む場合、回答生成手段は、プログラム回答部による出力結果と、質問定義型質問回答部又は属性型質問回答部のいずれか1つによる出力結果とに基づいた回答を生成するIn order to solve the above-described problem, an information processing apparatus of the present invention includes a question sentence acquisition unit that acquires a question sentence, an answer unit that includes a plurality of answer units that output all or part of the question sentence, and an answer An answer generating means for generating an answer result based on the output result of the means, and an answer output means for outputting the answer result generated by the answer generating means. The answer means can answer the fact type question of the first pattern. and Do reply section, and a reply possible answers portion facts type questions of the second pattern at least chromatic, the answer means include a program reply unit for outputting the program operation result as an answer, further uniquely from the question sentence Search for answers to definition questions that are defined questions, search for answers to definition questions that output the search results, or search for answers to attribute questions that ask questions about the attributes of a given object. It includes at least one of attribute type question answering sections that output results, and the question sentence is a question corresponding to a definition type question or an attribute type question, and includes a word that can be interpreted as requiring a program operation in the question sentence. In this case, the answer generation means generates an answer based on the output result by the program answering unit and the output result by any one of the question definition type question answering unit or the attribute type question answering unit .

また、本発明の質問回答方法は、情報処理装置で実行する質問回答方法であって、質問文を取得する質問文取得ステップと、質問文の全て又は一部の回答を出力する回答ステップを複数有する回答ステップと、回答ステップによる出力結果に基づいた回答結果を生成する回答生成ステップと、回答生成ステップが生成した回答結果を出力する回答出力ステップと、を有し、回答ステップは、第1パターンの事実型質問について回答可能な回答部と、第2パターンの事実型質問について回答可能な回答部とを少なくとも含み、回答ステップでは、プログラム演算結果を回答として出力するプログラム回答ステップを含み、さらに、質問文から一意に定まる質問である定義型質問の回答を検索し、検索結果を出力する定義型質問回答ステップ又は、所定の対象物の属性を問い合わせる質問である属性型質問の回答を検索し、検索結果を出力する属性型質問回答ステップのいずれか1つを少なくとも含み、質問文が、定義型質問又は属性型質問に対応する質問であり、且つ質問文中にプログラム演算を必要と解釈できる文言を含む場合、回答生成ステップでは、プログラム回答ステップによる出力結果と、質問定義型質問回答ステップ又は属性型質問回答ステップのいずれか1つによる出力結果とに基づいた回答を生成するThe question answering method of the present invention is a question answering method executed by the information processing apparatus, and includes a question sentence obtaining step for obtaining a question sentence, and a plurality of answer steps for outputting all or part of the answer of the question sentence. Having an answer step, an answer generation step for generating an answer result based on an output result of the answer step, and an answer output step for outputting the answer result generated by the answer generation step. The answer step is a first pattern. a reply unit which can answer the facts type questions, see at least contains the answer possible answers portion facts type questions second pattern, the answer step includes a program answer step of outputting a program operation result as a reply, further , A definition type question answering step that searches for answers to a definition type question that is a question uniquely determined from a question sentence, and outputs a search result It includes at least one of attribute type question answering steps for searching for an answer to an attribute type question that is a question for inquiring an attribute of a predetermined object, and outputting a search result, and the question sentence is a definition type question or an attribute type question. If the question sentence contains a word that can be interpreted as requiring a program operation, the answer generation step will output either the program answer step, the question definition type question answer step, or the attribute type question answer step. An answer based on the output result is generated .

また、本発明の情報処理システムは、端末装置と、情報処理装置とを備える情報処理システムであって、情報処理装置は、端末装置から質問文を取得する質問文取得手段と、質問文の全て又は一部の回答を出力する回答部を複数有する回答手段と、回答手段による出力結果に基づいた回答結果を生成する回答生成手段と、回答生成手段が生成した回答結果を端末装置へ出力する回答出力手段と、を備え、回答手段は、第1パターンの事実型質問について回答可能な回答部と、第2パターンの事実型質問について回答可能な回答部とを少なくとも有し、回答手段には、プログラム演算結果を回答として出力するプログラム回答部を含み、さらに、質問文から一意に定まる質問である定義型質問の回答を検索し、検索結果を出力する定義型質問回答部又は、所定の対象物の属性を問い合わせる質問である属性型質問の回答を検索し、検索結果を出力する属性型質問回答部のいずれか1つを少なくとも含み、質問文が、定義型質問又は属性型質問に対応する質問であり、且つ質問文中にプログラム演算を必要と解釈できる文言を含む場合、回答生成手段は、プログラム回答部による出力結果と、質問定義型質問回答部又は属性型質問回答部のいずれか1つによる出力結果とに基づいた回答を生成し、端末装置は、質問文を情報処理装置へ送信すると共に、回答要求を行う回答要求手段と、情報処理装置から回答結果を取得する回答結果取得手段と、回答結果を表示する回答結果表示手段と、を備える。 The information processing system of the present invention is an information processing system including a terminal device and an information processing device, and the information processing device includes a question sentence acquisition unit that acquires a question sentence from the terminal device, and all of the question sentences. Or an answering means having a plurality of answering parts for outputting some answers, an answer generating means for generating an answer result based on an output result by the answering means, and an answer for outputting the answer result generated by the answer generating means to the terminal device Output means, and the answer means has at least an answer section that can answer the fact type question of the first pattern and an answer section that can answer the fact type question of the second pattern . It includes a program answering section that outputs the results of program calculations as answers, and further searches for answers to definition questions that are questions that are uniquely determined from the question text, and outputs the search results. Or at least one of attribute type question answering units that output a search result, and the question sentence is a definition type question or If the question is a question corresponding to an attribute-type question and the question sentence includes a word that can be interpreted as requiring a program operation, the answer generation means outputs the result output by the program answer part and the question definition-type question answer part or the attribute type question answer The terminal device generates a response based on the output result of any one of the units , and the terminal device transmits a question sentence to the information processing device, and obtains a response result from the information processing device and a response requesting unit that makes a response request Answer result acquisition means for displaying the answer results and answer result display means for displaying the answer results.

Claims (9)

質問文を取得する質問文取得手段と、
質問文の全て又は一部の回答を出力する回答部を複数有する回答手段と、
前記回答手段による出力結果に基づいた回答結果を生成する回答生成手段と、
前記回答生成手段が生成した回答結果を出力する回答出力手段と、を備え、
前記回答手段は、第1パターンの事実型質問について回答可能な回答部と、第2パターンの事実型質問について回答可能な回答部とを少なくとも有することを特徴とする情報処理装置。
A question sentence acquisition means for acquiring a question sentence;
An answering means having a plurality of answering sections for outputting all or part of the answer of the question text;
Answer generating means for generating an answer result based on the output result by the answer means;
An answer output means for outputting the answer result generated by the answer generating means,
The information processing apparatus according to claim 1, wherein the answering unit includes at least an answering unit capable of answering a fact type question of a first pattern and an answering unit capable of answering a fact type question of a second pattern.
前記回答手段には、プログラム演算結果を前記回答として出力するプログラム回答部を含み、さらに、質問文から一意に定まる質問である定義型質問の回答を検索し、検索結果を出力する定義型質問回答部又は、所定の対象物の属性を問い合わせる質問である属性型質問の回答を検索し、検索結果を出力する属性型質問回答部のいずれか1つを少なくとも含み、
前記質問文が、定義型質問又は属性型質問に対応する質問であり、且つ質問文中にプログラム演算を必要と解釈できる文言を含む場合、前記回答生成手段は、前記プログラム回答部による出力結果と、質問定義型質問回答部又は属性型質問回答部のいずれか1つによる出力結果とに基づいた回答を生成することを特徴とする請求項1に記載の情報処理装置。
The answering means includes a program answering unit that outputs a program operation result as the answer, and further searches for answers to a definition question that is a question uniquely determined from a question sentence, and outputs a search result Or at least any one of an attribute type question answering unit that retrieves an answer to an attribute type question that is a question for inquiring about an attribute of a predetermined object, and outputs a search result,
When the question sentence is a question corresponding to a definition type question or an attribute type question and includes a word that can be interpreted as requiring a program operation in the question sentence, the answer generating means includes an output result by the program answering unit, The information processing apparatus according to claim 1, wherein an answer based on an output result of any one of the question definition type question answering unit and the attribute type question answering unit is generated.
前記質問文中に含まれているプログラム演算を必要と解釈できる文言に対応するプログラムが引数を必要とする場合、
前記プログラム回答部は、前記質問文中に含まれる、所定の文言を引数として用いてプログラム演算することを特徴とする請求項2に記載の情報処理装置。
When the program corresponding to the wording that can be interpreted as requiring the program operation included in the question sentence requires an argument,
The information processing apparatus according to claim 2, wherein the program answering unit performs a program operation using a predetermined word included in the question sentence as an argument.
前記質問文が事実型質問であるか否かを判定する質問文種類判定手段をさらに備え、
前記質問文が事実型質問ではない場合、他の装置へ前記質問文の回答依頼をすることを特徴とする請求項1から3の何れか一項に記載の情報処理装置。
A question sentence type determining means for determining whether or not the question sentence is a fact type question,
The information processing apparatus according to any one of claims 1 to 3, wherein when the question sentence is not a fact type question, a request for answering the question sentence is sent to another apparatus.
前記回答生成手段は、前記回答手段から取得した回答に基づいて、回答がない場合と、回答不能な質問である場合とを識別可能な回答結果を生成することを特徴とする請求項1から4の何れか一項に記載の情報処理装置。   5. The answer generation unit generates an answer result that can distinguish between a case where there is no answer and a case where the answer cannot be answered based on the answer acquired from the answer unit. The information processing apparatus according to any one of the above. 前記回答生成手段は、質問文の種類に応じて、回答結果のユーザインタフェースを切り替えることを特徴とする請求項1から5のいずれか一項に記載の情報処理装置。   The information processing apparatus according to any one of claims 1 to 5, wherein the answer generation unit switches a user interface of answer results according to a question sentence type. 前記回答手段が出力した結果に付記的情報が含まれる場合、前記回答生成手段は、前記付記的情報を付加した回答情報を生成することを特徴とする請求項1から6のいずれか一項に記載の情報処理装置。   The answer generation unit generates the answer information to which the additional information is added when the additional information is included in the result output by the answering unit. The information processing apparatus described. 端末装置と、情報処理装置とを備える情報処理システムであって、
前記情報処理装置は、
前記端末装置から質問文を取得する質問文取得手段と、
質問文の全て又は一部の回答を出力する回答部を複数有する回答手段と、
前記回答手段による出力結果に基づいた回答結果を生成する回答生成手段と、
前記回答生成手段が生成した回答結果を前記端末装置へ出力する回答出力手段と、を備え、
前記回答手段は、第1パターンの事実型質問について回答可能な回答部と、第2パターンの事実型質問について回答可能な回答部とを少なくとも有し、
前記端末装置は、
質問文を前記情報処理装置へ送信すると共に、回答要求を行う回答要求手段と、
前記情報処理装置から回答結果を取得する回答結果取得手段と、
前記回答結果を表示する回答結果表示手段と、
を備えることを特徴とする情報処理システム。
An information processing system comprising a terminal device and an information processing device,
The information processing apparatus includes:
Question sentence acquisition means for acquiring a question sentence from the terminal device;
An answering means having a plurality of answering sections for outputting all or part of the answer of the question text;
Answer generating means for generating an answer result based on the output result by the answer means;
Answer output means for outputting the answer result generated by the answer generating means to the terminal device,
The answering means includes at least an answering unit capable of answering a fact type question of the first pattern and an answering unit capable of answering a fact type question of the second pattern,
The terminal device
An answer request means for sending a question sentence to the information processing apparatus and making an answer request;
An answer result obtaining means for obtaining an answer result from the information processing apparatus;
An answer result display means for displaying the answer result;
An information processing system comprising:
情報処理装置で実行する質問回答方法であって、
質問文を取得する質問文取得ステップと、
質問文の全て又は一部の回答を出力する回答部を複数有する回答ステップと、
前記回答ステップによる出力結果に基づいた回答結果を生成する回答生成ステップと、
前記回答生成ステップが生成した回答結果を出力する回答出力ステップと、を有し、
前記回答ステップは、第1パターンの事実型質問について回答可能な回答部と、第2パターンの事実型質問について回答可能な回答部とを少なくとも含むことを特徴とする質問回答方法。
A question answering method executed by an information processing apparatus,
A question sentence acquisition step for acquiring a question sentence;
An answer step having a plurality of answer sections for outputting all or part of the answer of the question sentence;
An answer generation step of generating an answer result based on the output result of the answer step;
An answer output step of outputting the answer result generated by the answer generating step,
The answering step includes at least an answering part capable of answering a fact type question of the first pattern and an answering part capable of answering a fact type question of the second pattern.
JP2012234809A 2012-10-24 2012-10-24 Information processing apparatus, information processing system, and question answering method Expired - Fee Related JP5498556B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012234809A JP5498556B2 (en) 2012-10-24 2012-10-24 Information processing apparatus, information processing system, and question answering method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012234809A JP5498556B2 (en) 2012-10-24 2012-10-24 Information processing apparatus, information processing system, and question answering method

Publications (2)

Publication Number Publication Date
JP2014085873A true JP2014085873A (en) 2014-05-12
JP5498556B2 JP5498556B2 (en) 2014-05-21

Family

ID=50788873

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012234809A Expired - Fee Related JP5498556B2 (en) 2012-10-24 2012-10-24 Information processing apparatus, information processing system, and question answering method

Country Status (1)

Country Link
JP (1) JP5498556B2 (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105472580A (en) * 2015-11-17 2016-04-06 小米科技有限责任公司 Information processing method, information processing device, terminal and server
JP2016126452A (en) * 2014-12-26 2016-07-11 株式会社小学館ミュージックアンドデジタルエンタテイメント Conversation processing system, conversation processing method and conversation processing program
JP2018510407A (en) * 2015-07-28 2018-04-12 バイドゥ オンライン ネットワーク テクノロジー (ベイジン) カンパニー リミテッド Q & A information processing method, apparatus, storage medium and apparatus
JP2018112814A (en) * 2017-01-10 2018-07-19 株式会社オルツ Computer system for using aggregate of personal attribute information, server device and program
CN108549710A (en) * 2018-04-20 2018-09-18 腾讯科技(深圳)有限公司 Intelligent answer method, apparatus, storage medium and equipment
JP2019061482A (en) * 2017-09-26 2019-04-18 株式会社日立製作所 Information processing apparatus, dialogue processing method and dialogue system
JP2019139574A (en) * 2018-02-13 2019-08-22 日本電信電話株式会社 Information providing apparatus, information providing method, and program
JP2019160286A (en) * 2018-03-07 2019-09-19 株式会社哲英 Question answering system, question reception answering system, primary answer system, and question answering method using the same
JP2020144516A (en) * 2019-03-05 2020-09-10 日本電気株式会社 Processing equipment, answering device, processing system, processing method, response method, and program

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05242147A (en) * 1991-11-29 1993-09-21 Nec Corp Natural language interpreting method
JP2002278977A (en) * 2001-03-22 2002-09-27 Fujitsu Ltd Device and method for answering question and question answer program
JP2004133771A (en) * 2002-10-11 2004-04-30 Just Syst Corp Device, method, and program for question and answer
JP2007133463A (en) * 2005-11-08 2007-05-31 Kyodo Jyushin Service Kk Information providing method and information providing system using cellular phone
JP2007299159A (en) * 2006-04-28 2007-11-15 Toshiba Corp Content retrieval device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05242147A (en) * 1991-11-29 1993-09-21 Nec Corp Natural language interpreting method
JP2002278977A (en) * 2001-03-22 2002-09-27 Fujitsu Ltd Device and method for answering question and question answer program
JP2004133771A (en) * 2002-10-11 2004-04-30 Just Syst Corp Device, method, and program for question and answer
JP2007133463A (en) * 2005-11-08 2007-05-31 Kyodo Jyushin Service Kk Information providing method and information providing system using cellular phone
JP2007299159A (en) * 2006-04-28 2007-11-15 Toshiba Corp Content retrieval device

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016126452A (en) * 2014-12-26 2016-07-11 株式会社小学館ミュージックアンドデジタルエンタテイメント Conversation processing system, conversation processing method and conversation processing program
JP2018510407A (en) * 2015-07-28 2018-04-12 バイドゥ オンライン ネットワーク テクノロジー (ベイジン) カンパニー リミテッド Q & A information processing method, apparatus, storage medium and apparatus
CN105472580B (en) * 2015-11-17 2019-08-06 小米科技有限责任公司 Processing method, device, terminal and the server of information
WO2017084181A1 (en) * 2015-11-17 2017-05-26 小米科技有限责任公司 Method and device for processing information, terminal and server
CN105472580A (en) * 2015-11-17 2016-04-06 小米科技有限责任公司 Information processing method, information processing device, terminal and server
JP2018112814A (en) * 2017-01-10 2018-07-19 株式会社オルツ Computer system for using aggregate of personal attribute information, server device and program
WO2018131272A1 (en) * 2017-01-10 2018-07-19 株式会社オルツ Computer system, server device, and program for using set of attribute information relating to individual
CN110582763A (en) * 2017-01-10 2019-12-17 Alt株式会社 Computer system, server device, and program for utilizing collection of attribute information of individual
JP2019061482A (en) * 2017-09-26 2019-04-18 株式会社日立製作所 Information processing apparatus, dialogue processing method and dialogue system
JP2019139574A (en) * 2018-02-13 2019-08-22 日本電信電話株式会社 Information providing apparatus, information providing method, and program
WO2019159986A1 (en) * 2018-02-13 2019-08-22 日本電信電話株式会社 Information provision device, information provision method, and program
JP2019160286A (en) * 2018-03-07 2019-09-19 株式会社哲英 Question answering system, question reception answering system, primary answer system, and question answering method using the same
JP7311899B2 (en) 2018-03-07 2023-07-20 株式会社哲英 Question answering system, question receiving and answering system, primary answer system, and question answering method using them
CN108549710A (en) * 2018-04-20 2018-09-18 腾讯科技(深圳)有限公司 Intelligent answer method, apparatus, storage medium and equipment
JP2020144516A (en) * 2019-03-05 2020-09-10 日本電気株式会社 Processing equipment, answering device, processing system, processing method, response method, and program
JP7251218B2 (en) 2019-03-05 2023-04-04 日本電気株式会社 Processing device, processing system, processing method and program

Also Published As

Publication number Publication date
JP5498556B2 (en) 2014-05-21

Similar Documents

Publication Publication Date Title
JP5498556B2 (en) Information processing apparatus, information processing system, and question answering method
US20100100371A1 (en) Method, System, and Apparatus for Message Generation
US20170237801A1 (en) Device configuration-based function delivery
KR20180091707A (en) Modulation of Packetized Audio Signal
CN101999119A (en) Techniques for input recognition and completion
KR20080038337A (en) Virtual robot communication format customized by endpoint
US10805259B2 (en) Geolocation using reverse domain name server information
CN101506768B (en) Online data verification of listing data
CN106888154B (en) Music sharing method and system
CN105203121A (en) Dynamically Integrating Offline And Online Suggestions In A Geographic Application
JP4661159B2 (en) Information providing system, metadata collection and analysis server, and computer program
JP2011141617A (en) Web page browsing system, control method thereof, and relay server
JP5587281B2 (en) Note notation conversion device, note notation conversion method, and note notation conversion program
KR100751052B1 (en) Method and system for real time providing map or location information based on network
CN105408887A (en) Reverse number look up
JP5595252B2 (en) Cooperation support apparatus, program, cooperation support method, cooperation support system, and communication apparatus
US20190140992A1 (en) Uniform resource identifier and image sharing for contextaul information display
JP2007323225A (en) System, terminal, server and dynamic information providing method
JP2019159706A (en) Catalog file creation support device, catalog file creation support method, and catalog file creation support program
CN102789471A (en) Mashup server and method for providing mashup service
JP2010033340A (en) Voice recognition server, communication system, and voice recognition method
JP2002163171A (en) Device and system for supporting user
JP5712064B2 (en) Message creation system and message creation device
KR20000017751A (en) Method for lower part domain service and system for the same
JP2005157547A (en) Similar article extracting method and program

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20140225

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140307

R150 Certificate of patent or registration of utility model

Ref document number: 5498556

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

LAPS Cancellation because of no payment of annual fees