JP2023008458A - Answer presentation program, answer presentation method and answer presentation device - Google Patents

Answer presentation program, answer presentation method and answer presentation device Download PDF

Info

Publication number
JP2023008458A
JP2023008458A JP2021112041A JP2021112041A JP2023008458A JP 2023008458 A JP2023008458 A JP 2023008458A JP 2021112041 A JP2021112041 A JP 2021112041A JP 2021112041 A JP2021112041 A JP 2021112041A JP 2023008458 A JP2023008458 A JP 2023008458A
Authority
JP
Japan
Prior art keywords
question
mail
category
sentence
answer
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.)
Pending
Application number
JP2021112041A
Other languages
Japanese (ja)
Inventor
逸人 谷口
Hayato Taniguchi
年治 中村
Toshiharu Nakamura
孝幸 長松
Takayuki Nagamatsu
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2021112041A priority Critical patent/JP2023008458A/en
Publication of JP2023008458A publication Critical patent/JP2023008458A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Machine Translation (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

To provide an answer presentation program that improves quality of an answer being presented to a questioner.SOLUTION: An answer presentation program causes a computer to perform processing of: independently acquiring a question and a mail; determining a question category of a question to which a first character belongs on the basis of a specific first character included by a question mark added sentence or an interrogative sentence equivalent when the question includes the question mark or is an interrogative sentence equivalent; determining a first specific word that can identify a commercial transaction object of a question object on the basis of at least one sentence or total sentences of a question; determining a mail category of a mail to which a second character belongs on the basis of a specific second character included by the question mark added sentence or the interrogative sentence equivalent when the mail includes the question mark or is the interrogative sentence equivalent; determining a second specific word that can identify the commercial transaction object being an object in the mail on the basis of at least one sentence or total sentences of the mail; and presenting the mail as an answer candidate for the question on the basis of a first similarity between the question category and the mail category and a second similarity between the first specific word and the second specific word.SELECTED DRAWING: Figure 5

Description

本件は回答提示プログラム、回答提示方法、及び回答提示装置に関する。 The present invention relates to an answer presentation program, an answer presentation method, and an answer presentation device.

問合せに自動応答するシステムとしてチャットボットが知られている(例えば特許文献1参照)。また、自動応答を支えるためのFAQ(Frequently Asked Questions)を対話ログから作成するにあたり、膨大な量の対話ログの中からFAQに追加すべきQ候補(問い合わせ候補)やA候補(回答候補)を、教師あり学習を用いて効率良く抽出する技術が提案されている。これにより、FAQの作成が省力化されている(例えば特許文献2参照)。 A chatbot is known as a system that automatically responds to inquiries (see Patent Document 1, for example). In addition, when creating FAQ (Frequently Asked Questions) to support automatic responses from dialogue logs, Q candidates (question candidates) and A candidates (answer candidates) to be added to FAQ are selected from a huge amount of dialogue logs. , techniques for efficient extraction using supervised learning have been proposed. As a result, the creation of FAQs is labor-saving (see Patent Document 2, for example).

そのほか、質問者からの質問がチャットメッセージとして入力され、サイトの提供者側の回答者が手作業で、質問に対する回答をチャットメッセージとして入力するシステムも知られている。このシステムでは、過去の質問と回答との組み合わせを教師データとする機械学習によって生成された学習済みモデルを用いて、回答候補が抽出されて回答者に提示されている。これにより、回答の内容の品質が維持されながら、回答者の負担が低減されている(例えば特許文献3参照)。 In addition, there is also known a system in which a question from an inquirer is input as a chat message, and an answerer on the side of the site provider manually inputs an answer to the question as a chat message. In this system, answer candidates are extracted and presented to the respondent using a trained model generated by machine learning using combinations of past questions and answers as teacher data. As a result, the burden on the respondent is reduced while maintaining the quality of the content of the reply (see Patent Document 3, for example).

特開2019-139746号公報JP 2019-139746 A 特開2020-071690号公報JP 2020-071690 A 特開2020-071679号公報JP 2020-071679 A

しかしながら、教師あり学習といった機械学習を用いた場合、回答候補がブラックボックス的に抽出され、質問者の意図や疑問を汲み取った高品質な回答が質問者に提示さない可能性がある。 However, when machine learning such as supervised learning is used, answer candidates are extracted like a black box, and there is a possibility that high-quality answers that capture the questioner's intentions and questions may not be presented to the questioner.

そこで、1つの側面では、質問者に提示する回答の品質を向上させる回答提示プログラム、回答提示方法、及び回答提示装置を提供することを目的とする。 Therefore, in one aspect, it is an object to provide an answer presentation program, an answer presentation method, and an answer presentation device that improve the quality of the answers presented to the questioner.

1つの実施態様では、回答提示プログラムは、質問と電子メールを独立して取得し、取得した前記質問に疑問符が含まれている場合又は前記質問が疑問文相当である場合、前記疑問符が付いた第1文章又は前記疑問文相当が備える特定の第1文字に基づいて、前記第1文字が属する前記質問の質問カテゴリを決定し、取得した前記質問の少なくとも一文又は全文に基づいて、前記質問で対象とされた商取引対象を特定可能な第1特定語を決定し、取得した前記電子メールに前記疑問符が含まれている場合又は前記電子メールが前記疑問文相当である場合、前記疑問符が付いた第2文章又は前記疑問文相当が備える特定の第2文字に基づいて、前記第2文字が属する前記電子メールのメールカテゴリを決定し、取得した前記電子メールの少なくとも一文又は全文に基づいて、前記電子メールで対象とされた前記商取引対象を特定可能な第2特定語を決定し、前記質問カテゴリと前記メールカテゴリの第1類似度と、前記第1特定語と前記第2特定語の第2類似度とに基づいて、前記電子メールを前記質問に対する回答候補として提示する、処理をコンピュータに実行させる。 In one embodiment, the answer presentation program independently obtains a question and an e-mail, and if the obtained question contains a question mark or if the question corresponds to an interrogative sentence, the question mark is attached. Determine the question category of the question to which the first character belongs based on the first sentence or a specific first character included in the interrogative equivalent, and determine the question category based on at least one sentence or the whole sentence of the acquired question Determining a first specific word that can identify a target commercial transaction object, and adding the question mark if the obtained e-mail contains the question mark or if the e-mail corresponds to the interrogative sentence determining the mail category of the e-mail to which the second character belongs based on the second sentence or a specific second character included in the interrogative sentence equivalent, and based on at least one sentence or the whole text of the acquired e-mail, determining a second specific word capable of identifying the business transaction target addressed by the e-mail, and determining a first similarity between the question category and the mail category; A computer is caused to execute a process of presenting the e-mail as an answer candidate to the question based on the degree of similarity.

質問者に提示する回答の品質を向上させることができる。 It is possible to improve the quality of the answers presented to the questioner.

図1は対話システムの一例を説明するための図である。FIG. 1 is a diagram for explaining an example of a dialogue system. 図2は対話サーバのハードウェア構成の一例である。FIG. 2 shows an example of the hardware configuration of the dialogue server. 図3は対話サーバのブロック図の一例である。FIG. 3 is an example of a block diagram of a dialog server. 図4はシナリオDBの一例である。FIG. 4 is an example of a scenario DB. 図5(a)は質問画面の一例である。図5(b)は質問画面の他の一例である。FIG. 5(a) is an example of a question screen. FIG. 5(b) is another example of the question screen. 図6はメールDBの一例である。FIG. 6 is an example of a mail DB. 図7は質問DBの一例である。FIG. 7 is an example of a question DB. 図8は対話関連処理の一例を示すフローチャートである。FIG. 8 is a flowchart showing an example of dialogue-related processing. 図9(a)は質問カテゴリ決定処理の一部を例示するフローチャートである。図9(b)は質問カテゴリ決定処理の残部を例示するフローチャートである。FIG. 9(a) is a flowchart illustrating a part of the question category determination process. FIG. 9(b) is a flowchart illustrating the remainder of the question category determination process. 図10はカテゴリテーブルDBの一例である。FIG. 10 is an example of the category table DB. 図11はキーワードテーブルDBの一例である。FIG. 11 is an example of the keyword table DB. 図12はメール関連処理の一例を示すフローチャートである。FIG. 12 is a flowchart showing an example of mail-related processing. 図13は回答DBの一例である。FIG. 13 is an example of an answer DB.

以下、本件を実施するための形態について図面を参照して説明する。 Hereinafter, the form for carrying out this case will be described with reference to the drawings.

図1に示すように、対話システムSTはユーザ端末100と管理者端末150と対話サーバ200とを含んでいる。対話サーバ200は回答提示装置の一例である。図1では、1台のユーザ端末100と1台の管理者端末150が示されているが、ユーザ端末100と管理者端末150の一方又は両方が複数台であってもよい。また、図1では、ユーザ端末100の一例としてPC(Personal Computer)が示されているが、スマートフォンやタブレット端末といったスマートデバイスであってもよい。管理者端末150についてもユーザ端末100と同様である。 As shown in FIG. 1, the dialogue system ST includes a user terminal 100, an administrator terminal 150, and a dialogue server 200. FIG. Dialogue server 200 is an example of an answer presentation device. Although one user terminal 100 and one administrator terminal 150 are shown in FIG. 1, one or both of the user terminal 100 and administrator terminal 150 may be plural. Also, although FIG. 1 shows a PC (Personal Computer) as an example of the user terminal 100, it may be a smart device such as a smart phone or a tablet terminal. The administrator terminal 150 is also similar to the user terminal 100 .

ユーザ端末100は入力装置110、表示装置120、及び制御装置130を含んでいる。入力装置110と表示装置120はいずれも制御装置130に接続されている。対話システムSTを利用するユーザ(例えば質問者など)が入力装置110を操作すると、制御装置130は操作内容に応じた指示に基づいて表示装置120の表示内容を制御する。例えば、ユーザが入力装置110を操作して対話サーバ200にアクセスする操作を行うと、対話サーバ200の処理に基づき、制御装置130は表示装置120に質問画面SCを表示する。 User terminal 100 includes input device 110 , display device 120 , and control device 130 . Both the input device 110 and the display device 120 are connected to the control device 130 . When a user (for example, a questioner) using the dialogue system ST operates the input device 110, the control device 130 controls the display content of the display device 120 based on instructions according to the operation content. For example, when the user operates the input device 110 to access the dialogue server 200 , the control device 130 displays the question screen SC on the display device 120 based on the processing of the dialogue server 200 .

その他、詳細は後述するが、ユーザが入力装置110を操作して質問画面SC内に対し自然文といった文章で質問を入力して送信する操作を行うと、制御装置130は入力された質問を質問画面SC内に表示する。文章に代えて、名詞や代名詞といった単語で文章を終える体言止めが質問として入力されて送信されてもよい。制御装置130は入力された質問を対話サーバ200に向けて送信する。ユーザが入力装置110を操作して質問画面SC内に出現する所定の選択ボタンを選択する操作を行うと、制御装置130は選択ボタンに応じた選択肢を対話サーバ200に向けて送信する。なお、質問画面SC内には選択ボタン以外にも、選択不可能な文字列などが含まれる。 In addition, although the details will be described later, when the user operates the input device 110 to input and transmit a question in sentences such as natural sentences on the question screen SC, the control device 130 asks the input question. Display within the screen SC. Instead of a sentence, a sentence ending with a word such as a noun or a pronoun may be input and transmitted as a question. Control device 130 transmits the input question to dialogue server 200 . When the user operates the input device 110 to select a predetermined selection button appearing on the question screen SC, the control device 130 transmits options corresponding to the selection button to the dialogue server 200 . In addition to the selection buttons, the question screen SC includes character strings that cannot be selected.

管理者端末150は対話サーバ200の運用を管理する管理者によって操作される。管理者端末150の構成については基本的にユーザ端末100と同様であるため、詳細な説明は省略する。管理者は、管理者端末150を操作して自動応答を支えるためのFAQを作成して対話サーバ200に登録する。具体的には、質問者と対話サーバ200との膨大な量の対話ログの中からFAQに追加すべき誘導質問(例えば問い返しなど)や回答の候補を作成して対話サーバ200に登録する。また、管理者は対話サーバ200を介して電子メールによる問合せを受け付けた場合、その問合せに対する回答を、対話サーバ200を介して電子メールにより返信する。 The administrator terminal 150 is operated by an administrator who manages the operation of the interaction server 200 . Since the configuration of the administrator terminal 150 is basically the same as that of the user terminal 100, detailed description thereof will be omitted. The administrator operates the administrator terminal 150 to create an FAQ for supporting the automatic response and registers it in the dialogue server 200 . Specifically, guidance questions (for example, questions and answers) and answer candidates to be added to the FAQ are created from a huge amount of dialogue logs between the questioner and the dialogue server 200 and registered in the dialogue server 200 . Further, when the administrator receives an inquiry by e-mail via the dialogue server 200, the administrator replies to the inquiry by e-mail via the dialogue server 200. FIG.

ユーザ端末100と管理者端末150と対話サーバ200は通信ネットワークNWを介して互いに接続されている。通信ネットワークNWとしては例えばLAN(Local Area Network)がある。本実施形態では、対話サーバ200の運用形態をオンプレミスとして説明するが、対話サーバ200の運用形態をクラウドとしてもよい。クラウドはパブリッククラウドであってもよいし、プライベートクラウドであってもよい。この場合、インターネットを通信ネットワークNWとして利用すればよい。 The user terminal 100, administrator terminal 150 and dialogue server 200 are connected to each other via a communication network NW. As the communication network NW, for example, there is a LAN (Local Area Network). In this embodiment, the operation form of the interaction server 200 is described as being on-premise, but the operation form of the interaction server 200 may be cloud. A cloud may be a public cloud or a private cloud. In this case, the Internet may be used as the communication network NW.

対話サーバ200はユーザ端末100から送信された質問や選択肢を受け付けると、各種の処理を実行する。例えば、対話サーバ200は質問や選択肢を判別し、質問や選択肢に応じた回答や誘導質問などを含む画面情報をユーザ端末100に返信する。選択肢によっては、対話サーバ200は電子メールによる問合せを要求する画面情報をユーザ端末100に返信する。これにより、ユーザは電子メールによる問合せを行うことができる。このように、対話サーバ200はユーザの質問や選択肢に応じた誘導質問や回答を返信する。したがって、対話システムST又は対話サーバ200を質問に自動応答できるチャットボットと呼んでもよい。また、対話システムST又は対話サーバ200を、特定の話題について事前に定められたシナリオに沿ってユーザと対話を行うシナリオ型チャットボットと呼んでもよい。 When the dialogue server 200 receives a question or an option transmitted from the user terminal 100, it executes various processes. For example, the dialogue server 200 determines questions and options, and returns screen information including answers and guiding questions according to the questions and options to the user terminal 100 . Depending on the option, the dialogue server 200 returns screen information requesting an inquiry by e-mail to the user terminal 100 . This allows the user to make an inquiry by e-mail. In this way, the dialogue server 200 returns guidance questions and answers according to the user's questions and options. Therefore, the dialog system ST or the dialog server 200 may be called a chatbot that can automatically answer questions. Further, the dialog system ST or the dialog server 200 may be called a scenario type chatbot that interacts with a user according to a predetermined scenario regarding a specific topic.

次に、図2を参照して、回答提示方法を実行する対話サーバ200のハードウェア構成について説明する。尚、上述した制御装置130や管理者端末150の制御部は対話サーバ200と基本的に同様のハードウェア構成であるため、説明を省略する。 Next, with reference to FIG. 2, the hardware configuration of the dialogue server 200 that executes the answer presentation method will be described. Since the control unit 130 and the control unit of the administrator terminal 150 described above have basically the same hardware configuration as that of the dialogue server 200, the description thereof will be omitted.

図2に示すように、対話サーバ200は、プロセッサとしてのCPU(Central Processing Unit)200Aと、メモリとしてのRAM(Random Access Memory)200B及びROM(Read Only Memory)200Cを含んでいる。また、対話サーバ200はネットワークI/F(インタフェース)200Dと、HDD(Hard Disk Drive)200Eを含んでいる。HDD200Eに代えて、SSD(Solid State Drive)を採用してもよい。 As shown in FIG. 2, the dialogue server 200 includes a CPU (Central Processing Unit) 200A as a processor, and RAM (Random Access Memory) 200B and ROM (Read Only Memory) 200C as memories. The dialogue server 200 also includes a network I/F (interface) 200D and a HDD (Hard Disk Drive) 200E. An SSD (Solid State Drive) may be employed instead of the HDD 200E.

さらに、対話サーバ200は、入力I/F200F、出力I/F200G、入出力I/F200H、ドライブ装置200Iの少なくとも1つを含んでいてもよい。CPU200Aからドライブ装置200Iまでは、内部バス200Jによって互いに接続されている。すなわち、対話サーバ200はコンピュータによって実現することができる。 Furthermore, the dialog server 200 may include at least one of an input I/F 200F, an output I/F 200G, an input/output I/F 200H, and a drive device 200I. The CPU 200A to the drive device 200I are interconnected by an internal bus 200J. That is, the dialogue server 200 can be implemented by a computer.

入力I/F200Fには、入力装置710が接続される。入力装置710としては、例えばキーボードやマウスなどがある。尚、上述した入力装置110についても入力装置710と同様である。出力I/F200Gには、表示装置720が接続される。表示装置720としては、例えば液晶ディスプレイがある。尚、上述した表示装置120についても表示装置720と同様である。入出力I/F200Hには、半導体メモリ730が接続される。半導体メモリ730としては、例えばUSB(Universal Serial Bus)メモリやフラッシュメモリなどがある。入出力I/F200Hは、半導体メモリ730に記憶された回答提示プログラムを読み取る。入力I/F200F及び入出力I/F200Hは、例えばUSBポートを備えている。出力I/F200Gは、例えばディスプレイポートを備えている。 An input device 710 is connected to the input I/F 200F. The input device 710 includes, for example, a keyboard and a mouse. Note that the input device 110 described above is similar to the input device 710 . A display device 720 is connected to the output I/F 200G. The display device 720 is, for example, a liquid crystal display. Note that the display device 120 described above is similar to the display device 720 . A semiconductor memory 730 is connected to the input/output I/F 200H. Examples of the semiconductor memory 730 include USB (Universal Serial Bus) memory and flash memory. Input/output I/F 200H reads the answer presentation program stored in semiconductor memory 730 . The input I/F 200F and the input/output I/F 200H are provided with USB ports, for example. The output I/F 200G has, for example, a display port.

ドライブ装置200Iには、可搬型記録媒体740が挿入される。可搬型記録媒体740としては、例えばCD(Compact Disc)-ROM、DVD(Digital Versatile Disc)といったリムーバブルディスクがある。ドライブ装置200Iは、可搬型記録媒体740に記録された回答提示プログラムを読み込む。ネットワークI/F200Dは、例えばLANポートや通信回路などを備えている。ネットワークI/F200Dは通信ネットワークNWと接続される。 A portable recording medium 740 is inserted into the drive device 200I. Examples of the portable recording medium 740 include removable discs such as CD (Compact Disc)-ROM and DVD (Digital Versatile Disc). Drive device 200I reads the answer presentation program recorded in portable recording medium 740 . The network I/F 200D has, for example, a LAN port and a communication circuit. Network I/F 200D is connected to communication network NW.

上述したRAM200Bには、ROM200CやHDD200E、半導体メモリ730に記憶された回答提示プログラムがCPU200Aによって一時的に格納される。RAM200Bには、可搬型記録媒体740に記録された回答提示プログラムがCPU200Aによって一時的に格納される。格納された回答提示プログラムをCPU200Aが実行することにより、CPU200Aは後述する各種の機能を実現し、また、後述する各種の処理を実行する。尚、回答提示プログラムは後述するフローチャートに応じたものとすればよい。 The answer presentation program stored in the ROM 200C, the HDD 200E, and the semiconductor memory 730 is temporarily stored in the RAM 200B described above by the CPU 200A. The answer presentation program recorded in the portable recording medium 740 is temporarily stored in the RAM 200B by the CPU 200A. As the CPU 200A executes the stored answer presentation program, the CPU 200A realizes various functions described later and also executes various processes described later. It should be noted that the answer presentation program may correspond to the flow chart described later.

次に、図3を参照して、対話サーバ200の機能構成について説明する。なお、図3では対話サーバ200の機能の要部が示されている。 Next, the functional configuration of the interaction server 200 will be described with reference to FIG. Note that FIG. 3 shows the essential functions of the interaction server 200 .

図3に示すように、対話サーバ200は記憶部210、処理部220、及び通信部230を備えている。記憶部210は上述したRAM200BとHDD200Eの一方又は両方によって実現することができる。処理部220は上述したCPU200Aによって実現することができる。通信部230は上述したネットワークI/F200Dによって実現することができる。したがって、記憶部210、処理部220、及び通信部230は互いに接続されている。 As shown in FIG. 3, the dialogue server 200 comprises a storage section 210, a processing section 220, and a communication section 230. FIG. The storage unit 210 can be realized by one or both of the RAM 200B and HDD 200E described above. The processing unit 220 can be realized by the CPU 200A described above. The communication unit 230 can be implemented by the network I/F 200D described above. Therefore, the storage unit 210, the processing unit 220, and the communication unit 230 are connected to each other.

ここで、記憶部210は、シナリオDB(Database)211、質問DB212、メールDB213、カテゴリテーブルDB214、キーワードテーブルDB215、及び回答DB216を含んでいる。一方、処理部220は、対話処理部221、取得部222、質問カテゴリ決定部223、及び第1キーワード決定部224を含んでいる。また、処理部220は、メールカテゴリ決定部225、第2キーワード決定部226、及び回答提示部227を含んでいる。 Here, the storage unit 210 includes a scenario DB (Database) 211, a question DB 212, a mail DB 213, a category table DB 214, a keyword table DB 215, and an answer DB 216. On the other hand, the processing section 220 includes a dialogue processing section 221 , an acquisition section 222 , a question category determination section 223 and a first keyword determination section 224 . The processing unit 220 also includes a mail category determination unit 225 , a second keyword determination unit 226 and an answer presentation unit 227 .

例えば、取得部222は質問DB212にアクセスして質問情報を取得する。詳細は後述するが、質問DB212には、質問画面SCに入力されてユーザ端末100から送信された質問情報が格納されている。また、取得部222はメールDB213にアクセスして電子メールを取得する。詳細は後述するが、メールDB213には、ユーザが電子メールを使用して送信した問合せを単独で含む電子メールが格納されている。すなわち、メールDB213には管理者による回答前の電子メールが格納されている。また、メールDB213には、この問合せとこの問合せに対する管理者の回答の両方を含む電子メールも格納されている。すなわち、メールDB213には管理者による回答後の電子メールも格納されている。 For example, the acquisition unit 222 accesses the question DB 212 and acquires question information. Although the details will be described later, the question DB 212 stores question information input to the question screen SC and sent from the user terminal 100 . Also, the acquisition unit 222 accesses the mail DB 213 and acquires the e-mail. Although the details will be described later, the mail DB 213 stores e-mails that contain only inquiries sent by users using e-mails. In other words, the mail DB 213 stores e-mails before replies by the administrator. The mail DB 213 also stores e-mails containing both this inquiry and the administrator's reply to this inquiry. In other words, the mail DB 213 also stores e-mails after responses by the administrator.

ここで、取得部222は質問情報と電子メールを独立して取得する。例えば、取得部222は質問DB212を監視し、対話処理部221が質問DB212に質問情報を格納すると、取得部222は即時に質問情報を取得する。すなわち、取得部222はリアルタイムで質問情報を取得することができる。一方、取得部222はメールDB213も監視し、対話処理部221がメールDB213にユーザの問合せを単独で含む電子メールを格納しても、取得部222はその電子メールの取得を待機する。対話処理部221がユーザの問合せとその問合せに対する管理者の回答の両方を含む電子メールを格納すると、取得部222はその電子メールを取得する。すなわち、取得部222は、質問情報の取得とは異なり、リアルタイムには電子メールを取得することができず、質問情報の取得との間にタイムラグがある。 Here, the acquisition unit 222 independently acquires the question information and the e-mail. For example, the acquisition unit 222 monitors the question DB 212, and when the dialogue processing unit 221 stores question information in the question DB 212, the acquisition unit 222 immediately acquires the question information. That is, the acquisition unit 222 can acquire question information in real time. On the other hand, the acquisition unit 222 also monitors the mail DB 213, and even if the interaction processing unit 221 stores an e-mail containing only the user's inquiry in the mail DB 213, the acquisition unit 222 waits to acquire the e-mail. When the interactive processing unit 221 stores an e-mail containing both the user's inquiry and the administrator's answer to the inquiry, the acquisition unit 222 acquires the e-mail. That is, unlike acquisition of question information, the acquisition unit 222 cannot acquire an e-mail in real time, and there is a time lag between acquisition of question information.

したがって、取得部222は対話処理部221が第1時期に受信した質問情報を取得する一方で、第1時期より前の第2時期に対話処理部221が受信した電子メールを取得する。すなわち、取得部222は対話処理部221が質問情報を受信した第1時期より過去の第2時期に対話処理部221が受信した電子メールを取得する。なお、記憶部210に含まれるシナリオDB211などの残りのDB要素、及び処理部220に含まれる質問カテゴリ決定部223などの残りの機能部の詳細については後述する。 Therefore, the acquiring unit 222 acquires the question information received by the interactive processing unit 221 during the first period, and also acquires the e-mail received by the interactive processing unit 221 during the second period before the first period. That is, the acquiring unit 222 acquires the e-mails received by the interactive processing unit 221 during the second period past the first period when the interactive processing unit 221 received the question information. Details of the remaining DB elements such as the scenario DB 211 included in the storage unit 210 and the remaining functional units such as the question category determination unit 223 included in the processing unit 220 will be described later.

続いて、図4から図13を参照して、対話サーバ200の動作について説明する。なお、図8に示す対話関連処理と図12に示すメール関連処理は独立して並行的に実行される。 Next, operations of the interaction server 200 will be described with reference to FIGS. 4 to 13. FIG. Note that the dialogue-related processing shown in FIG. 8 and the mail-related processing shown in FIG. 12 are executed independently and in parallel.

まず、ユーザが入力装置110を操作して対話サーバ200にアクセスする操作を行うと、対話処理部221はそのアクセスに基づいてシナリオDB211を参照し、最初の誘導質問情報を取得する。ここで、図4に示すように、シナリオDB211は誘導質問の順序が規定された複数の誘導質問情報11,12,13,14をシナリオとして記憶する。図4において、誘導質問の順序は誘導質問情報11,12,13,14のそれぞれに付与された誘導ID「Y001」などによって規定されている。誘導IDは誘導質問情報を識別する識別子である。本実施形態では、誘導質問「ご質問内容を・・・」を含む誘導質問情報11が最初の誘導質問情報に相当する。 First, when the user operates the input device 110 to access the dialogue server 200, the dialogue processing unit 221 refers to the scenario DB 211 based on the access and acquires the first guidance question information. Here, as shown in FIG. 4, the scenario DB 211 stores a plurality of guiding question information 11, 12, 13, 14 in which the order of guiding questions is defined as scenarios. In FIG. 4, the order of the guiding questions is defined by the guiding ID "Y001" etc. assigned to each of the guiding question information 11, 12, 13 and 14. In FIG. The guidance ID is an identifier that identifies guidance question information. In the present embodiment, the leading question information 11 including the leading question "What is your question..." corresponds to the first leading question information.

最初の誘導質問情報を取得すると、対話処理部221はその誘導質問情報を含む質問画面SCの画面情報を制御装置130に送信する。制御装置130は画面情報を受信すると、受信した画面情報に基づき表示装置120に質問画面SCを表示する。これにより、図5(a)に示すように、表示装置120に質問画面SCが出現する。質問画面SCは、ユーザに質問画面SCの操作手法等を案内する案内文20、複数の選択ボタン21,22,23、質問を入力する入力欄24、及び送信ボタン25などを含んでいる。 When the initial guidance question information is acquired, the dialogue processing unit 221 transmits the screen information of the question screen SC including the guidance question information to the control device 130 . When receiving the screen information, the control device 130 displays the question screen SC on the display device 120 based on the received screen information. As a result, the question screen SC appears on the display device 120, as shown in FIG. 5(a). The question screen SC includes a guide sentence 20 that guides the user on the operation method of the question screen SC, a plurality of selection buttons 21, 22, and 23, an input field 24 for inputting a question, a send button 25, and the like.

ユーザが入力装置110を操作して例えばポインタPTにより選択ボタン22を押下すると、制御装置130は選択ボタン22に関連付けられた選択肢「製品体系」を対話サーバ200に向けて送信する。これにより、対話処理部221は誘導質問情報11に続く次の誘導質問情報12をシナリオDB211から取得し、その誘導質問情報12を含む次の質問画面SCの画面情報を制御装置130に送信する。 When the user operates the input device 110 and presses the selection button 22 with the pointer PT, for example, the control device 130 transmits the option “product system” associated with the selection button 22 to the dialogue server 200 . As a result, the dialogue processing unit 221 acquires the next guiding question information 12 following the guiding question information 11 from the scenario DB 211 and transmits the screen information of the next question screen SC including the guiding question information 12 to the control device 130 .

また、例えば選択ボタン23を押下すると、制御装置130は表示装置120に電子メールの作成と電子メールの送受信を支援する所定画面(不図示)を表示する。この所定画面には電子メールの送信元を表すユーザ端末100のメールアドレスが含まれている。また、この所定画面には電子メールの宛先として対話サーバ200のメールアドレスも含まれている。これにより、ユーザは電子メールによって対話サーバ200に向けた問合せを行うことができる。ユーザが入力装置110を操作して問合せを含む電子メールの送信を指示すると、制御装置130は電子メールを対話サーバ200に向けて送信する。これにより、対話処理部221は電子メールを受信する。電子メールを受信すると、対話処理部221は電子メールをメールDB213に格納するとともに、受信した電子メールを管理者端末150に転送する。これにより、管理者は問合せに対する回答を作成することができる。 Further, for example, when the selection button 23 is pressed, the control device 130 displays a predetermined screen (not shown) on the display device 120 for supporting creation of an e-mail and transmission/reception of the e-mail. This predetermined screen contains the mail address of the user terminal 100 representing the source of the e-mail. This predetermined screen also includes the mail address of the dialogue server 200 as the destination of the electronic mail. This allows the user to send an inquiry to the interaction server 200 by e-mail. When the user operates input device 110 to instruct transmission of an e-mail containing an inquiry, control device 130 transmits the e-mail to dialogue server 200 . As a result, the interactive processing unit 221 receives the e-mail. Upon receiving the e-mail, the interactive processing unit 221 stores the e-mail in the mail DB 213 and transfers the received e-mail to the administrator terminal 150 . This allows administrators to create answers to queries.

管理者が管理者端末150の入力装置を操作して回答を含む電子メールの送信を指示すると、管理者端末150の制御部はこの電子メールを対話サーバ200に向けて送信する。これにより、対話処理部221は電子メールを受信する。電子メールを受信すると、対話処理部221は電子メールをメールDB213に格納する。これにより、図6に示すように、メールDB213は問合せと回答の両方を含む電子メール31を記憶する。なお、メールDB213には電子メール31のほかにも、問合せを単独で含む複数の電子メール32,33が格納されている。対話処理部221は回答を含む電子メールを受信すると、受信した電子メールをユーザ端末100のメールアドレスに向けて送信する。これにより、ユーザは問合せに対する回答を確認することができる。 When the administrator operates the input device of the administrator terminal 150 to instruct transmission of an e-mail containing the reply, the control section of the administrator terminal 150 transmits this e-mail to the interaction server 200 . As a result, the interactive processing unit 221 receives the e-mail. Upon receiving the e-mail, interactive processing unit 221 stores the e-mail in mail DB 213 . Thereby, as shown in FIG. 6, the mail DB 213 stores the e-mail 31 including both the inquiry and the reply. In addition to the e-mail 31, the e-mail DB 213 stores a plurality of e-mails 32 and 33 each containing a single inquiry. When the interactive processing unit 221 receives the e-mail containing the reply, it transmits the received e-mail to the e-mail address of the user terminal 100 . This allows the user to confirm the answer to the inquiry.

ところで、図5(a)に示すように、ユーザが入力装置110を操作して入力欄24に質問を入力し、送信ボタン25を押下すると、制御装置130は入力欄24に入力された質問を含む質問情報を対話サーバ200に向けて送信する。本実施形態では、制御装置130は質問「A製品はいくら?」を含む質問情報を送信する。対話処理部221は質問情報を受信すると、受信した質問情報に質問を識別する質問IDを付与して受信日時とともに質問DB212に格納する。これにより、図7に示すように、質問DB212は質問情報を記憶する。 By the way, as shown in FIG. 5A, when the user operates the input device 110 to input a question in the input field 24 and presses the send button 25, the control device 130 sends the question input in the input field 24. The question information included is transmitted to the dialogue server 200 . In this embodiment, the control device 130 transmits question information including the question "How much is the A product?" Upon receiving the question information, the dialogue processing unit 221 adds a question ID for identifying the question to the received question information, and stores it in the question DB 212 together with the date and time of reception. Thereby, as shown in FIG. 7, question DB212 memorize|stores question information.

上述したように、取得部222は質問DB212を監視しており、対話処理部221が質問DB212に質問情報を格納すると、図8に示すように、質問を取得する(ステップS1)。例えば、図7に示すように、受信日時が異なる複数の質問情報が質問DB212に格納されていれば、取得部222は最新の受信日時の質問を取得する。本実施形態であれば、取得部222は質問「A製品はいくら?」を取得する。 As described above, the acquisition unit 222 monitors the question DB 212, and when the dialogue processing unit 221 stores question information in the question DB 212, acquires the question as shown in FIG. 8 (step S1). For example, as shown in FIG. 7, if a plurality of pieces of question information with different reception dates are stored in the question DB 212, the acquisition unit 222 acquires the question with the latest reception date. In this embodiment, the acquisition unit 222 acquires the question "How much is product A?"

取得部222が質問を取得すると、図8に示すように、質問カテゴリ決定部223は質問カテゴリ決定処理を実行する(ステップS2)。質問カテゴリ決定処理は、例えば取得部222が取得した質問に疑問符が含まれている場合、疑問符が付いた文章が備える特定の文字に基づいて、その文字が属する質問のカテゴリを表す質問カテゴリを決定する処理である。質問カテゴリ決定処理は、質問に疑問符が含まれていなくても、質問が疑問文相当である場合、疑問文相当が備える特定の文字に基づいて、質問カテゴリを決定する。 When the acquisition unit 222 acquires a question, as shown in FIG. 8, the question category determination unit 223 executes question category determination processing (step S2). In the question category determination process, for example, when a question acquired by the acquisition unit 222 contains a question mark, a question category representing the category of the question to which the character belongs is determined based on a specific character included in the sentence with the question mark. It is a process to In the question category determination process, even if the question does not contain question marks, if the question corresponds to an interrogative sentence, the question category is determined based on the specific characters of the interrogative sentence equivalent.

ここで、図9及び図10を参照して、質問カテゴリ決定処理の詳細について説明する。質問カテゴリ決定部223は質問カテゴリ決定処理を実行し始めると、まず、図9(a)に示すように、質問が疑問符を含むか否かを判断する(ステップS21)。疑問符は具体的にはクエスチョンマーク「?」である。取得部222が質問「A製品はいくら?」を取得した場合、質問の末尾に疑問符があるため、質問カテゴリ決定部223はこの質問が疑問符を含むと判断する(ステップS21:YES)。これにより、質問カテゴリ決定部223は疑問符が付いた文章を特定する(ステップS22)。したがって、質問カテゴリ決定部223は文章「A製品はいくら」を特定する。なお、質問カテゴリ決定部223が決定する文章は疑問符を含んでいてもよい。 Details of the question category determination process will now be described with reference to FIGS. 9 and 10. FIG. When the question category determining section 223 starts executing the question category determining process, first, as shown in FIG. 9A, it determines whether or not the question contains a question mark (step S21). The question mark is specifically a question mark "?". When the acquisition unit 222 acquires the question “How much is product A?”, the question has a question mark at the end, so the question category determination unit 223 determines that the question includes a question mark (step S21: YES). As a result, the question category determination unit 223 identifies sentences with question marks (step S22). Therefore, the question category determination unit 223 identifies the text "How much is the A product?". Note that the sentences determined by the question category determination unit 223 may include question marks.

文章を特定すると、質問カテゴリ決定部223は文章中の文字を特定する(ステップS23)。より詳しくは、質問カテゴリ決定部223はカテゴリテーブルDB214を参照して文章中の文字を特定する。図10に示すように、カテゴリテーブルDB214には複数の文字と複数の文字のそれぞれが属するカテゴリとを事前に対応付けたカテゴリ情報の一例であるカテゴリテーブルが格納されている。複数の文字とカテゴリは事前に対応付けられている。質問カテゴリ決定部223はカテゴリテーブルに登録された文字「いくら」や文字「性能」など複数(又は全て)の文字を取得し、取得した複数の文字を1文字ずつ文章と対比して、一致する文字を特定する。例えば文章「A製品はいくら」を特定した場合、質問カテゴリ決定部223は文字「いくら」を特定する。 After identifying the sentence, the question category determination unit 223 identifies characters in the sentence (step S23). More specifically, the question category determination unit 223 refers to the category table DB 214 to specify characters in the text. As shown in FIG. 10, the category table DB 214 stores a category table, which is an example of category information in which a plurality of characters and categories to which the plurality of characters belong are associated in advance. Several characters and categories are pre-associated. The question category determination unit 223 acquires a plurality of (or all) characters such as the character "how much" and the character "performance" registered in the category table, compares the acquired plurality of characters with sentences one by one, and finds a match. Identify characters. For example, when specifying the text "How much is product A?", the question category determining unit 223 specifies the characters "how much".

文字を特定すると、質問カテゴリ決定部223は質問カテゴリを決定し(ステップS24)、処理を終了する。より詳しくは、質問カテゴリ決定部223はカテゴリテーブルDB214を参照し、特定した文字が属するカテゴリを質問カテゴリとして決定する。例えば文字「いくら」を特定した場合、図10に示すように、質問カテゴリ決定部223は文字「いくら」が属するカテゴリ「コスト」を質問カテゴリとして決定する。 After identifying the characters, the question category determination unit 223 determines the question category (step S24) and terminates the process. More specifically, the question category determination unit 223 refers to the category table DB 214 and determines the category to which the specified character belongs as the question category. For example, when the character "how much" is specified, as shown in FIG. 10, the question category determining unit 223 determines the category "cost" to which the character "how much" belongs as the question category.

一方、質問が疑問符を含まないと判断した場合(ステップS21:NO)、質問カテゴリ決定部223は質問が疑問文相当であるか否かを判断する(ステップS25)。例えば、取得部222が疑問符を含まない質問「A製品の費用」を取得した場合、質問が体言止めであることから疑問文に相当すると推定することができる。このような場合、質問カテゴリ決定部223は質問が疑問文相当であると判断する(ステップS25:YES)。例えば、取得部222が疑問符を含まない質問「A製品の値段を知りたい」を取得した場合、質問の末尾に疑問の解消を求める言葉「知りたい」が記載されているため、疑問文に相当すると推定することができる。このような場合も同様に、質問カテゴリ決定部223は質問が疑問文相当であると判断する。なお、言葉「知りたい」以外にも、言葉「欲しい」や言葉「教えてください」などを採用してもよい。 On the other hand, if it is determined that the question does not contain a question mark (step S21: NO), the question category determination unit 223 determines whether the question corresponds to an interrogative sentence (step S25). For example, when the acquisition unit 222 acquires a question “cost of product A” that does not contain a question mark, it can be estimated that the question corresponds to an interrogative sentence because the question is a non-verbal statement. In such a case, the question category determination unit 223 determines that the question corresponds to an interrogative sentence (step S25: YES). For example, when the acquisition unit 222 acquires a question “I would like to know the price of product A” that does not contain a question mark, since the word “I want to know” is written at the end of the question to ask for resolution of the question, it corresponds to an interrogative sentence. Then it can be estimated. Similarly, in such a case, the question category determination unit 223 determines that the question corresponds to an interrogative sentence. In addition to the word "want to know", the word "want" or the word "tell me" may be used.

質問カテゴリ決定部223は質問が疑問文相当であると判断した場合、疑問文相当中の文字を特定する(ステップS26)。より詳しくは、質問カテゴリ決定部223はカテゴリテーブルに登録された文字「費用」や文字「値段」など複数(又は全て)の文字を取得し、取得した複数の文字を1文字ずつ疑問文相当と対比して、一致する文字を特定する。例えば質問「A製品の費用」を取得した場合、質問カテゴリ決定部223は文字「費用」を特定する。質問「A製品の値段を知りたい」を取得した場合、質問カテゴリ決定部223は文字「値段」を特定する。質問カテゴリ決定部223は疑問文相当中の文字を特定すると、ステップS24の処理により、特定した文字が属するカテゴリ「コスト」を質問カテゴリとして決定する。 When the question category determination unit 223 determines that the question corresponds to an interrogative sentence, it identifies characters in the interrogative sentence (step S26). More specifically, the question category determination unit 223 acquires a plurality of (or all) characters such as the characters “expense” and the character “price” registered in the category table, and determines each character of the acquired plurality of characters as an interrogative sentence. Contrast to identify matching characters. For example, when the question "Cost of product A" is acquired, the question category determination unit 223 identifies the characters "cost". When the question "I would like to know the price of product A" is acquired, the question category determination unit 223 specifies the characters "price". When the question category determining unit 223 identifies the characters in the interrogative sentence, it determines the category "cost" to which the identified characters belong as the question category by the process of step S24.

なお、質問が疑問文相当でない判断した場合(ステップS25:NO)、図9(b)に示すように、対話処理部221は誘導質問を提示する(ステップS27)。より詳しくは、対話処理部221はシナリオDB211から質問に応じた誘導質問情報を取得し、その誘導質問情報を含む質問画面SCの画面情報を制御装置130に送信する。これにより、表示装置120に新たな質問画面(不図示)が出現する。例えば、ユーザが入力装置110を操作して選択ボタンを押下すると、制御装置130はその選択ボタンに関連付けられた選択肢を誘導質問に対する回答として対話サーバ200に向けて送信する。これにより、対話処理部221は回答を取得する(ステップS28)。 If it is determined that the question does not correspond to an interrogative sentence (step S25: NO), the dialog processor 221 presents a leading question as shown in FIG. 9B (step S27). More specifically, the dialogue processing unit 221 acquires guidance question information corresponding to the question from the scenario DB 211 and transmits screen information of the question screen SC including the guidance question information to the control device 130 . As a result, a new question screen (not shown) appears on the display device 120 . For example, when the user operates the input device 110 to press a selection button, the control device 130 transmits options associated with the selection button to the dialogue server 200 as answers to the guiding questions. As a result, the interactive processing unit 221 obtains an answer (step S28).

対話処理部221が回答を取得すると、質問カテゴリ決定部223は質問カテゴリを特定可能か否か判断する(ステップS29)。より詳しくは、質問カテゴリ決定部223は対話処理部221が取得した回答とカテゴリテーブルに登録された複数の文字を1文字ずつ対比し、一致する文字を特定可能か否か判断する。一致する文字を特定できた場合、特定した文字に基づいて質問カテゴリを決定できるため、質問カテゴリ決定部223は質問カテゴリを特定可能と判断する(ステップS29:YES)。この場合、図9(a)に示すように、質問カテゴリ決定部223はステップS24の処理により質問カテゴリを決定し、処理を終了する。 When the dialogue processing unit 221 acquires the answer, the question category determination unit 223 determines whether or not the question category can be specified (step S29). More specifically, the question category determination unit 223 compares the answer acquired by the interactive processing unit 221 with a plurality of characters registered in the category table one by one, and determines whether or not a matching character can be specified. If the matching characters can be specified, the question category can be determined based on the specified characters, so the question category determination unit 223 determines that the question category can be specified (step S29: YES). In this case, as shown in FIG. 9(a), the question category determination unit 223 determines the question category by the process of step S24, and ends the process.

一方、一致する文字を特定できなかった場合、質問カテゴリ決定部223は質問カテゴリを特定不可能と判断し(ステップS29:NO)、質問カテゴリの特定を試みた回数が所定回数以上であるか否かを判断する(ステップS30)。所定回数はこの判断の閾値を表し、例えば3回から5回といった数回を採用することができる。質問カテゴリの特定を試みた回数が所定回数未満である場合(ステップS30:NO)、質問カテゴリ決定部223はステップS27の処理を実行する。これにより、新たな誘導質問に続く次の誘導質問がユーザ端末100に提示される。 On the other hand, if the matching character cannot be identified, the question category determination unit 223 determines that the question category cannot be identified (step S29: NO), and determines whether the number of attempts to identify the question category is a predetermined number or more. (step S30). The predetermined number of times represents a threshold for this determination, and can be several times such as 3 to 5 times, for example. If the number of attempts to specify the question category is less than the predetermined number (step S30: NO), the question category determining section 223 executes the process of step S27. As a result, the user terminal 100 is presented with the next leading question following the new leading question.

一方、質問カテゴリの特定を試みた回数が所定回数以上である場合(ステップS30:YES)、質問カテゴリ決定部223はカテゴリ特定エラーを管理者端末150に通知して(ステップS31)、図9(a)に示すように、処理を終了する。これにより、管理者が質問カテゴリを特定できなかった原因を調査することができる。このように、質問カテゴリ決定部223が対話処理部221と連携して質問カテゴリ決定処理を実行することにより、質問の質問カテゴリを決定することができる。 On the other hand, if the number of attempts to identify the question category is equal to or greater than the predetermined number (step S30: YES), the question category determination unit 223 notifies the administrator terminal 150 of a category identification error (step S31), and FIG. End the process as shown in a). This makes it possible to investigate the reason why the administrator could not specify the question category. In this way, the question category of the question can be determined by the question category determining section 223 executing the question category determining process in cooperation with the interactive processing section 221 .

図8に戻り、質問カテゴリ決定部223は質問カテゴリ決定処理を実行し終えると、第1キーワード決定部224は質問ベースの第1キーワードを決定する(ステップS3)。質問ベースは質問を基準にということを意味している。ステップS2の処理とステップS3の処理の処理順序は逆であってもよいし、並行して実行されてもよい。より詳しくは、第1キーワード決定部224は、キーワードテーブルDB215を参照して、質問の少なくとも一文又は全文に基づいて、質問で対象とされた製品を特定可能な第1キーワードを決定する。なお、製品は商取引対象の一例である。第1キーワードは第1特定語の一例である。製品に代えて、サービスを商取引対象としてもよい。 Returning to FIG. 8, after the question category determination unit 223 finishes executing the question category determination process, the first keyword determination unit 224 determines a question-based first keyword (step S3). Question-based means question-based. The processing order of the processing in step S2 and the processing in step S3 may be reversed, or may be performed in parallel. More specifically, the first keyword determination unit 224 refers to the keyword table DB 215 and determines a first keyword that can specify the product targeted by the question, based on at least one sentence or the entire sentence of the question. A product is an example of a commercial transaction object. A first keyword is an example of a first specific word. Instead of products, services may be the object of commercial transactions.

図11に示すように、キーワードテーブルDB215には製品やサービスに関連する複数の単語と、製品やサービスを特定可能なキーワードとを対応付けたキーワードテーブルが格納されている。キーワードテーブルは特定語情報の一例である。キーワードテーブルに例えばHCI(Hyper-Converged Infrastructure)関連の複数の単語(例えばストレージやコンピューディングなど)を登録し、これら複数の単語にHCI関連の製品を特定可能なキーワード(例えば○○統合システムなど)を対応付けて登録してもよい。なお、複数の単語とキーワードは事前に対応付けられている。 As shown in FIG. 11, the keyword table DB 215 stores a keyword table in which a plurality of words related to products and services are associated with keywords that can specify the products and services. A keyword table is an example of specific word information. For example, multiple words related to HCI (Hyper-Converged Infrastructure) (such as storage and computing) are registered in the keyword table, and keywords that can identify HCI-related products (such as ○○ integrated system, etc.) are registered in these multiple words. ) may be associated and registered. Note that multiple words and keywords are associated in advance.

キーワードテーブルは、質問ベースの第1キーワードを特定する場合と、後述するメールベースの第2キーワードを特定する場合の両方の場合で共通して使用される。キーワードテーブルにより、複数の単語のいずれかに該当すれば、該当する単語に対応付けられたキーワードを決定することができる。本実施形態であれば、取得部222は質問「A製品はいくら?」を取得しているため、第1キーワード決定部224は、キーワードテーブルDB215に登録された複数の単語と質問とを1単語ずつ対比して、質問から第1キーワード「A製品」を決定する。 The keyword table is commonly used in both cases of specifying a question-based first keyword and specifying a mail-based second keyword, which will be described later. From the keyword table, if a word corresponds to one of a plurality of words, a keyword associated with that word can be determined. In this embodiment, the acquisition unit 222 acquires the question “How much is product A?” Then, the first keyword "A product" is determined from the question.

ところで、上述したように、対話関連処理とメール関連処理は独立して並行的に実行されているため、取得部222はメールDB213も監視する。取得部222は、メールDB213を監視し、対話処理部221がメールDB213に管理者の回答を含む電子メールを格納すると、メール関連処理を実行する。 By the way, as described above, since the dialogue-related process and the mail-related process are executed independently and in parallel, the acquisition unit 222 also monitors the mail DB 213 . Acquisition unit 222 monitors mail DB 213 , and executes mail-related processing when interaction processing unit 221 stores an e-mail containing an administrator's response in mail DB 213 .

図12などを参照して、メール関連処理の詳細について説明する。上述したように、対話処理部221がメールDB213に管理者の回答を含む電子メールを格納すると、取得部222は電子メールを取得する(ステップS41)。図6に示すように、管理者の回答をそれぞれ含む電子メール31がメールDB213に格納されていれば、取得部222は電子メール31を取得する。 Details of the mail-related processing will be described with reference to FIG. 12 and the like. As described above, when the interactive processing unit 221 stores the e-mail containing the manager's response in the mail DB 213, the acquisition unit 222 acquires the e-mail (step S41). As shown in FIG. 6 , if the e-mails 31 each containing the administrator's reply are stored in the mail DB 213 , the obtaining unit 222 obtains the e-mails 31 .

取得部222が電子メールを取得すると、メールカテゴリ決定部225はメールカテゴリを特定可能か否か判断する(ステップS42)。より詳しくは、メールカテゴリ決定部225は取得部222が取得した電子メールとカテゴリテーブルに登録された文字「概算」や文字「スペック」などの複数の文字を1文字ずつ対比し、一致する文字を特定可能か否か判断する。一致する文字を特定できた場合、特定した文字に基づいてメールカテゴリを決定できるため、メールカテゴリ決定部225はメールカテゴリを特定可能と判断する(ステップS42:YES)。例えば取得部222が電子メール31を取得した場合(図6参照)、電子メール31にはカテゴリテーブルに登録された文字「概算」が含まれている。したがって、この場合、メールカテゴリ決定部225はメールカテゴリを特定可能と判断する。 When the obtaining unit 222 obtains the e-mail, the mail category determination unit 225 determines whether or not the mail category can be specified (step S42). More specifically, the mail category determination unit 225 compares the e-mail acquired by the acquisition unit 222 with a plurality of characters such as the characters “approximate” and the characters “spec” registered in the category table one by one, and determines the matching characters. Determine whether identification is possible. If the matching characters can be specified, the mail category can be determined based on the specified characters, so the mail category determining unit 225 determines that the mail category can be specified (step S42: YES). For example, when the acquisition unit 222 acquires the e-mail 31 (see FIG. 6), the e-mail 31 includes the characters "approximate" registered in the category table. Therefore, in this case, the mail category determining unit 225 determines that the mail category can be specified.

メールカテゴリを特定できた場合、メールカテゴリ決定部225はメールカテゴリを決定する(ステップS43)。より詳しくは、メールカテゴリ決定部225はカテゴリテーブルDB214を参照し、特定できた文字が属するカテゴリをメールカテゴリとして決定する。例えば文字「概算」を特定できた場合、図10に示すように、メールカテゴリ決定部225は文字「概算」が属するカテゴリ「コスト」をメールカテゴリとして決定する。メールカテゴリを決定すると、メールカテゴリ決定部225はメールカテゴリを電子メールに関連付けて(ステップS44)、処理を終了する。これにより、メールカテゴリをキー項目として電子メールを検索することができる。 When the mail category can be identified, the mail category determining unit 225 determines the mail category (step S43). More specifically, the mail category determining unit 225 refers to the category table DB 214 and determines the category to which the specified character belongs as the mail category. For example, when the characters "approximate" are identified, the mail category determination unit 225 determines the category "cost" to which the characters "approximate" belong as the mail category, as shown in FIG. After determining the mail category, the mail category determining unit 225 associates the mail category with the e-mail (step S44), and terminates the process. As a result, e-mails can be searched using the mail category as a key item.

なお、メールカテゴリを特定不可能と判断した場合(ステップS42:NO)、メールカテゴリ決定部225はカテゴリ特定エラーを管理者端末150に通知して(ステップS45)、処理を終了する。これにより、管理者がメールカテゴリを特定できなかった原因を調査することができる。 If it is determined that the mail category cannot be specified (step S42: NO), the mail category determining unit 225 notifies the administrator terminal 150 of a category specifying error (step S45), and terminates the process. This makes it possible to investigate the reason why the administrator could not specify the mail category.

図8に戻り、ステップS3の処理において第1キーワード決定部224が第1キーワードを決定すると、回答提示部227は質問カテゴリとメールカテゴリの第1類似度を算出する(ステップS4)。例えば、回答提示部227は、コサイン類似度を利用して、質問カテゴリとメールカテゴリの第1類似度を算出する。質問カテゴリとメールカテゴリが完全に一致していれば、回答提示部227は第1類似度「1.0」を算出する。一方、質問カテゴリとメールカテゴリが全く一致していなければ、回答提示部227は第1類似度「0.0」を算出する。したがって、回答提示部227は、質問カテゴリとメールカテゴリに基づいて、第1類似度「0.0」から第1類似度「1.0」の範囲の数値を第1類似度として算出する。なお、コサイン類似度に代えて、レーベンシュタイン距離といった文字列同士の類似度を算出する公知の技術を採用して、質問カテゴリとメールカテゴリの第1類似度を算出してもよい。 Returning to FIG. 8, when the first keyword determination unit 224 determines the first keyword in the process of step S3, the answer presentation unit 227 calculates the first similarity between the question category and the mail category (step S4). For example, the answer presentation unit 227 uses the cosine similarity to calculate the first similarity between the question category and the mail category. If the question category completely matches the mail category, the answer presenting unit 227 calculates the first degree of similarity "1.0". On the other hand, if the question category and the mail category do not match at all, the answer presenting unit 227 calculates the first degree of similarity "0.0". Therefore, the answer presenting unit 227 calculates a numerical value within a range from the first similarity "0.0" to the first similarity "1.0" as the first similarity based on the question category and the mail category. Instead of the cosine similarity, a known technique for calculating the similarity between character strings, such as the Levenshtein distance, may be employed to calculate the first similarity between the question category and the mail category.

第1類似度を算出すると、回答提示部227は第1類似度に基づき電子メールを検索し(ステップS5)、絞り込めたか否かを判断する(ステップS6)。上述したように、電子メールにはメールカテゴリが関連付けられている(図12参照)。回答提示部227は電子メールを検索し、第1類似度が閾値類似度以上になるメールカテゴリと関連付けられた電子メールに絞り込む。例えば閾値類似度「0.5」より大きな閾値類似度を採用することにより、質問カテゴリと一致する又は類似度が高いメールカテゴリと関連付けられた電子メールに絞り込むことができる。 After calculating the first degree of similarity, the answer presentation unit 227 searches for e-mails based on the first degree of similarity (step S5), and determines whether or not the search has been narrowed down (step S6). As mentioned above, e-mails have mail categories associated with them (see FIG. 12). The answer presenting unit 227 searches for e-mails and narrows down e-mails associated with mail categories whose first degree of similarity is greater than or equal to the threshold similarity. For example, by adopting a threshold similarity greater than the threshold similarity "0.5", it is possible to narrow down the e-mails associated with the mail category that matches or has a high degree of similarity with the question category.

例えば第1類似度が閾値類似度以上になるメールカテゴリと関連付けられた電子メールを発見できなかった場合(すなわち検索結果が0件の場合)、回答提示部227は電子メールを絞り込めなかったと判断する(ステップS6:NO)。この場合、回答提示部227は対話関連処理を終了する。なお、対話関連処理を終了する前に、回答提示部227は第1類似度を算出する算出元となった質問カテゴリの質問を管理者端末150に提示し、当該質問に対する回答の作成と追加を依頼してもよい。 For example, if no e-mail associated with a mail category whose first similarity is greater than or equal to the threshold similarity is found (that is, if the search result is 0), the answer presenting unit 227 determines that the e-mails could not be narrowed down. (step S6: NO). In this case, the answer presentation unit 227 terminates the dialogue-related processing. Before ending the dialogue-related processing, the answer presenting unit 227 presents to the administrator terminal 150 a question of the question category from which the first similarity is calculated, and creates and adds an answer to the question. You can request it.

一方、第1類似度が閾値類似度以上になるメールカテゴリと関連付けられた電子メールを発見できた場合(すなわち検索結果が1件以上の場合)、回答提示部227は電子メールを絞り込めたと判断する(ステップS6:YES)。ただし、検索結果が例えば1000件など膨大な数となることもある。この場合、回答提示部227は所定の基準で電子メールに重み付け(具体的には得点の付与)を行い、重みの重い(すなわち得点の高い)上位10件程度の電子メールに絞り込む。所定の基準としては、例えば電子メールでの回答頻度、電子メールの更新日付、後述する回答評価の高さなどがある。 On the other hand, if an e-mail associated with a mail category whose first degree of similarity is greater than or equal to the threshold similarity can be found (that is, if the search result is one or more), the answer presenting unit 227 determines that the e-mails have been narrowed down. (Step S6: YES). However, the number of search results may be enormous, for example, 1000 cases. In this case, the answer presenting unit 227 weights (specifically, assigns scores to) the e-mails according to a predetermined standard, and narrows down the e-mails to the top 10 e-mails with the highest weights (that is, the highest scores). Predetermined criteria include, for example, the frequency of responses by e-mail, the update date of e-mails, and the level of response evaluation, which will be described later.

電子メールを絞り込めた場合、第2キーワード決定部226は絞り込んだ電子メールの中からメールベースの第2キーワードを決定する(ステップS7)。メールベースは電子メールを基準にということを意味している。より詳しくは、第2キーワード決定部226は、キーワードテーブルDB215を参照しつつ、電子メールの全文に基づいて、電子メールで対象とされた製品を特定可能な第2キーワードを決定する。第2キーワード決定部226は電子メールの少なくとも一文に基づいて第2キーワードを決定してもよい。例えば、取得部222が電子メール31(図6参照)を取得すると、第2キーワード決定部226は、キーワードテーブルDB215に登録された複数の単語と電子メール31内の全文とを1単語ずつ対比して、電子メール31から第2キーワード「A製品」を決定する。 When the e-mails are narrowed down, the second keyword determination unit 226 determines mail-based second keywords from the e-mails that have been narrowed down (step S7). Mail-based means email-based. More specifically, the second keyword determining unit 226 refers to the keyword table DB 215 and determines a second keyword that can identify the product targeted by the e-mail based on the full text of the e-mail. The second keyword determining unit 226 may determine the second keyword based on at least one sentence of the e-mail. For example, when the acquisition unit 222 acquires the e-mail 31 (see FIG. 6), the second keyword determination unit 226 compares a plurality of words registered in the keyword table DB 215 with the entire text in the e-mail 31 word by word. Then, the second keyword “A product” is determined from the e-mail 31 .

第2キーワード決定部226が第2キーワードを決定すると、回答提示部227は第1キーワードと第2キーワードの第2類似度を算出する(ステップS8)。質問カテゴリとメールカテゴリの第1類似度を算出した場合と同様に、回答提示部227は、コサイン類似度等を利用して、第1キーワードと第2キーワードの第2類似度を算出する。したがって、回答提示部227は、第1キーワードと第2キーワードに基づいて、第2類似度「0.0」から第2類似度「1.0」の範囲の数値を第2類似度として算出する。 After the second keyword determination unit 226 determines the second keyword, the answer presentation unit 227 calculates a second similarity between the first keyword and the second keyword (step S8). As in the case of calculating the first degree of similarity between the question category and the mail category, the answer presenting unit 227 uses cosine similarity or the like to calculate the second degree of similarity between the first keyword and the second keyword. Therefore, based on the first keyword and the second keyword, the answer presenting unit 227 calculates a numerical value in the range of the second similarity "0.0" to the second similarity "1.0" as the second similarity. .

第2類似度を算出すると、回答提示部227は第2類似度に基づき電子メールをさらに検索し(ステップS9)、電子メールがあるか否かを判断する(ステップS10)。より詳しくは、回答提示部227は既に絞り込んだ複数の電子メールを検索し、第2類似度が閾値類似度以上になる第2キーワードと対応付けられた単語を含む電子メールを検索する。例えば閾値類似度「0.5」より大きな閾値類似度を採用することにより、第1キーワードと一致する又は類似度が高い第2キーワードと関連付けられた単語を含む電子メールを特定することができる。本実施形態であれば、第1キーワード「A製品」が決定されたため、第1キーワード「A製品」と一致する第2キーワード「A製品」と関連付けられた単語「A製品」を含む電子メール31を特定することができる。したがって、回答提示部227は電子メールがあると判断する。 After calculating the second degree of similarity, the answer presentation unit 227 further searches for e-mails based on the second degree of similarity (step S9), and determines whether there is any e-mail (step S10). More specifically, the answer presenting unit 227 searches a plurality of e-mails that have already been narrowed down, and searches for e-mails that contain words associated with the second keyword whose second similarity is equal to or greater than the threshold similarity. For example, by adopting a threshold similarity greater than the threshold similarity of "0.5", it is possible to identify e-mails that include words that match the first keyword or are associated with a second keyword that has a high degree of similarity. In this embodiment, since the first keyword "A product" is determined, the e-mail 31 containing the word "A product" associated with the second keyword "A product" that matches the first keyword "A product" can be specified. Therefore, answer presentation unit 227 determines that there is an e-mail.

電子メールがない場合(ステップS10:NO)、回答提示部227は対話関連処理を終了する。一方、電子メールがある場合(ステップS10:YES)、回答提示部227は電子メールを回答候補としてユーザ端末100に提示して(ステップS11)、対話関連処理を終了する。より詳しくは、回答提示部227は特定した電子メールから本文全体又は本文の一部を抽出した抽出情報を回答候補として制御装置130に送信する。制御装置130は抽出情報を受信すると、受信した抽出情報に基づき表示装置120に表示された質問画面SCを更新する。 If there is no e-mail (step S10: NO), the answer presentation unit 227 terminates the dialogue-related processing. On the other hand, if there is an e-mail (step S10: YES), the answer presenting unit 227 presents the e-mail as an answer candidate to the user terminal 100 (step S11), and terminates the dialogue-related processing. More specifically, the answer presenting unit 227 transmits the extracted information obtained by extracting the entire text or a part of the text from the specified e-mail as an answer candidate to the control device 130 . When receiving the extracted information, the control device 130 updates the question screen SC displayed on the display device 120 based on the received extracted information.

これにより、表示装置120に質問画面SCが更新される。例えば回答提示部227が電子メール31(図6参照)を特定し、電子メール31から本文の一部「A製品は3,500,000円です。」を抽出した抽出情報を回答候補として送信した場合、図5(b)に示すように、その回答候補が質問画面SC内に出現する。回答提示部227が電子メールから本文の一部を抽出する場合、例えば本文全体から人名を含む部分や挨拶を含む部分、引用符を含む部分を除去した残りの部分を本文の一部とすればよい。電子メール31であれば、人名を含む部分「山田太郎様」及び「〇〇社担当:富士花子」が除去される。同様に、挨拶を含む部分「・・・ありがとうございます。」が除去され、引用符「>」を含む部分も除去される。 Thereby, the question screen SC is updated on the display device 120 . For example, the answer presenting unit 227 identifies the e-mail 31 (see FIG. 6), and transmits extracted information obtained by extracting a part of the text from the e-mail 31, "Product A is 3,500,000 yen.", as an answer candidate. In that case, as shown in FIG. 5(b), the answer candidate appears in the question screen SC. When the answer presenting unit 227 extracts a part of the text from the e-mail, for example, if the part containing the person's name, the part containing the greeting, and the part containing the quotation marks are removed from the entire text, the remaining part is taken as the part of the text. good. In the case of the e-mail 31, the portions including the person's name "Mr. Taro Yamada" and "Responsible for company XX: Hanako Fuji" are removed. Similarly, the part containing the greeting "... thank you." is removed, and the part containing the quotation mark ">" is also removed.

図5(b)に示すように、質問画面SC内には、回答候補のほかにも、回答候補の回答元「回答DB」と回答元「メールDB」が出現する。本実施形態であれば、回答候補がメールDB213から抽出されているため、回答提示部227は回答元「回答DB」に取消線を付し、回答元「メールDB」に下線を付している。これにより、ユーザ端末100を操作するユーザは回答候補の出所を視認することができる。 As shown in FIG. 5(b), in the question screen SC, in addition to the answer candidates, the answer source "Answer DB" and the answer source "Mail DB" of the answer candidates appear. In this embodiment, since the answer candidates are extracted from the mail DB 213, the answer presenting unit 227 strikes out the answer source "answer DB" and underlines the answer source "mail DB". . Thereby, the user operating the user terminal 100 can visually recognize the source of the answer candidate.

なお、回答元の一方に取消線を付し、回答元の他方に下線を付さずに、2つの回答元のどちらか一方を出現させても、ユーザ端末100を操作するユーザは回答候補の出所を視認することができる。一方、これら2つの回答元を質問画面SC内に含めなくてもよい。これにより、ユーザは回答候補の出所を意識しないで済む。 Even if one of the answer sources is crossed out and the other answer source is not underlined, and either one of the two answer sources appears, the user operating the user terminal 100 cannot select the answer candidates. The source can be visually recognized. On the other hand, these two answer sources may not be included in the question screen SC. As a result, the user does not need to be aware of the source of the answer candidates.

また、図5(b)に示すように、質問画面SC内に回答候補と回答元以外にも回答評価を出現させてもよい。回答評価は対話サーバ200による回答候補の提示がユーザにとって望ましい結果であったか否かのアンケートである。肯定ボタン41が押下された場合、制御装置130は対話サーバ200に肯定情報を送信する。否定ボタン42が押下された場合、制御装置130は対話サーバ200に否定情報を送信する。 Further, as shown in FIG. 5(b), answer evaluations may appear on the question screen SC in addition to answer candidates and answer sources. The answer evaluation is a questionnaire as to whether or not presentation of answer candidates by dialogue server 200 was desirable for the user. When the affirmative button 41 is pressed, the control device 130 transmits affirmative information to the dialogue server 200 . When the negative button 42 is pressed, the control device 130 transmits negative information to the dialogue server 200 .

対話サーバ200では、例えば回答提示部227が肯定情報又は否定情報を受信し、受信した肯定情報又は否定情報を回答候補となった電子メールに関連付ける。回答提示部227は肯定情報又は否定情報を関連付けた電子メールを管理者端末150に提示してもよい。これにより、管理者は質問者に提示する回答の品質を向上させる様々な対策を検討することができる。 In the dialogue server 200, for example, the answer presenting unit 227 receives affirmative information or negative information, and associates the received affirmative information or negative information with the e-mails that are answer candidates. The answer presenting unit 227 may present an e-mail associated with affirmative information or negative information to the administrator terminal 150 . As a result, the administrator can consider various measures for improving the quality of the answer presented to the questioner.

なお、上述したステップS1の処理において、取得部222が質問を取得し、取得した質問に応じた回答を取得部222が回答DB216から抽出できる場合、質問カテゴリ決定部223等は後述するステップS2~S11の処理をスキップしてもよい。図13に示すように、回答DB216には質問に対応する回答のほか、回答を識別する回答ID、誘導IDと選択肢とを組合せた複数の遷移状態を含む回答情報が互いに対応付けられて格納されている。 In addition, in the process of step S1 described above, when the acquisition unit 222 acquires a question and the acquisition unit 222 can extract an answer corresponding to the acquired question from the answer DB 216, the question category determination unit 223, etc. You may skip the process of S11. As shown in FIG. 13, the answer DB 216 stores, in addition to answers corresponding to questions, answer information including answer IDs for identifying answers, and a plurality of transition states obtained by combining guidance IDs and options, in association with each other. ing.

例えば誘導ID「Y001」の誘導質問情報11における複数の選択肢の中から選択肢「第1選択肢」が選択されると、誘導ID「Y002」の誘導質問情報12に遷移する(図4参照)。そして、誘導質問情報12における複数の選択肢の中から選択肢「第1選択肢」が選択された場合、回答提示部227はこれらの遷移状態と関連付けられた回答ID「A001」の回答を回答候補としてユーザ端末100に提示する。この場合、図5(b)に示す質問画面SCでは、回答候補が回答DB216から抽出されるため、回答元「回答DB」に下線を付与され、回答元「メールDB」に取消線が付与される。 For example, when the option "first option" is selected from among a plurality of options in the guidance question information 11 with the guidance ID "Y001", the information transitions to the guidance question information 12 with the guidance ID "Y002" (see FIG. 4). Then, when the option "first option" is selected from among the multiple options in the guidance question information 12, the answer presenting unit 227 selects the answer with the answer ID "A001" associated with these transition states as an answer candidate. Presented on the terminal 100 . In this case, on the question screen SC shown in FIG. 5(b), since the answer candidate is extracted from the answer DB 216, the answer source "answer DB" is underlined and the answer source "email DB" is struck through. be.

以上、本発明の好ましい実施形態について詳述したが、本発明に係る特定の実施形態に限定されるものではなく、特許請求の範囲に記載された本発明の要旨の範囲内において、種々の変形・変更が可能である。上述した各種のサーバは物理的なサーバで実現してもよいし、仮想的なサーバで実現してもよい。 Although the preferred embodiments of the present invention have been described in detail above, the present invention is not limited to the specific embodiments, and various modifications can be made within the spirit and scope of the present invention described in the claims.・Changes are possible. The various servers described above may be realized by physical servers or by virtual servers.

また、上述した実施形態では、質問カテゴリとメールカテゴリが一致し、第1キーワードと第2キーワードも一致する場合について説明したが、質問カテゴリとメールカテゴリが一致し、第1キーワードと第2キーワードが類似する場合であってもよい。また、質問カテゴリとメールカテゴリが類似し、第1キーワードと第2キーワードが一致する場合であってもよいし、質問カテゴリとメールカテゴリが類似し、第1キーワードと第2キーワードも類似する場合であってもよい。類似する場合には、最も高い第1類似度と最も高い第2類似度となった電子メールの本文全体又はその一部を回答候補としてユーザ端末100に提示すればよい。なお、提示件数は1件であってもよいし、2件以上であってもよい。 In the above-described embodiment, the case where the question category and the mail category match, and the first keyword and the second keyword match has been described. It may be similar. Also, the question category and the mail category may be similar and the first keyword and the second keyword may be the same, or the question category and the mail category may be similar and the first keyword and the second keyword are similar. There may be. In the case of similarity, all or part of the text of the e-mail with the highest first similarity and highest second similarity may be presented to the user terminal 100 as an answer candidate. Note that the number of presentations may be one, or may be two or more.

ST 対話システム
100 ユーザ端末
150 管理者端末
200 対話サーバ
210 記憶部
220 処理部
221 対話処理部
222 取得部
223 質問カテゴリ決定部
224 第1キーワード決定部
225 メールカテゴリ決定部
226 第2キーワード決定部
227 回答提示部
230 通信部
ST dialogue system 100 user terminal 150 administrator terminal 200 dialogue server 210 storage unit 220 processing unit 221 dialogue processing unit 222 acquisition unit 223 question category determination unit 224 first keyword determination unit 225 mail category determination unit 226 second keyword determination unit 227 answer Presentation unit 230 Communication unit

Claims (8)

質問と電子メールを独立して取得し、
取得した前記質問に疑問符が含まれている場合又は前記質問が疑問文相当である場合、前記疑問符が付いた第1文章又は前記疑問文相当が備える特定の第1文字に基づいて、前記第1文字が属する前記質問の質問カテゴリを決定し、
取得した前記質問の少なくとも一文又は全文に基づいて、前記質問で対象とされた商取引対象を特定可能な第1特定語を決定し、
取得した前記電子メールに前記疑問符が含まれている場合又は前記電子メールが前記疑問文相当である場合、前記疑問符が付いた第2文章又は前記疑問文相当が備える特定の第2文字に基づいて、前記第2文字が属する前記電子メールのメールカテゴリを決定し、
取得した前記電子メールの少なくとも一文又は全文に基づいて、前記電子メールで対象とされた前記商取引対象を特定可能な第2特定語を決定し、
前記質問カテゴリと前記メールカテゴリの第1類似度と、前記第1特定語と前記第2特定語の第2類似度とに基づいて、前記電子メールを前記質問に対する回答候補として提示する、
処理をコンピュータに実行させるための回答提示プログラム。
Get questions and emails independently,
If the obtained question contains a question mark or if the question corresponds to an interrogative sentence, the first determining the question category of said question to which the character belongs;
Based on at least one sentence or the entire sentence of the obtained question, determining a first specific word that can specify a commercial transaction target in the question,
If the obtained e-mail contains the question mark or if the e-mail corresponds to the interrogative sentence, based on the second sentence with the question mark or a specific second character included in the interrogative sentence equivalent , determining the mail category of said email to which said second character belongs;
Based on at least one sentence or the entire text of the acquired e-mail, determining a second specific word capable of specifying the commercial transaction target in the e-mail,
presenting the e-mail as an answer candidate to the question based on a first degree of similarity between the question category and the mail category and a second degree of similarity between the first specific word and the second specific word;
An answer presentation program for causing a computer to execute processing.
前記質問カテゴリを決定する処理は、前記第1文字と、複数の文字と前記複数の文字が属するカテゴリとを事前に対応付けたカテゴリ情報とに基づいて、前記質問カテゴリを決定し、
前記メールカテゴリを決定する処理は、前記第2文字と、前記カテゴリ情報とに基づいて、前記メールカテゴリを決定する、
ことを特徴とする請求項1に記載の回答提示プログラム。
The process of determining the question category determines the question category based on the first character and category information in which a plurality of characters and categories to which the plurality of characters belong are associated in advance,
the process of determining the mail category determines the mail category based on the second character and the category information;
The answer presentation program according to claim 1, characterized by:
前記第1特定語を決定する処理は、取得した前記質問の少なくとも一文又は全文に含まれる第1単語と、前記商取引対象に関連する複数の単語と前記商取引対象を特定可能な特定語とを事前に対応付けた特定語情報とに基づいて、前記第1特定語を決定し、
前記第2特定語を決定する処理は、取得した前記電子メールの少なくとも一文又は全文に含まれる第2単語と、前記特定語情報とに基づいて、前記第2特定語を決定する、
ことを特徴とする請求項1又は2に記載の回答提示プログラム。
The process of determining the first specific word includes, in advance, a first word included in at least one sentence or the entire sentence of the acquired question, a plurality of words related to the business transaction object, and a specific word capable of specifying the business transaction object. Determine the first specific word based on the specific word information associated with
In the process of determining the second specific word, the second specific word is determined based on the second word included in at least one sentence or the entire sentence of the acquired e-mail and the specific word information.
3. The answer presentation program according to claim 1 or 2, characterized by:
前記質問カテゴリを決定する処理は、前記質問カテゴリを決定できない場合、前記質問カテゴリを決定できる誘導質問を提示し、提示した前記誘導質問に対する回答に基づいて、前記質問カテゴリを決定する、
ことを特徴とする請求項1から3のいずれか1項に記載の回答提示プログラム。
In the process of determining the question category, if the question category cannot be determined, presenting a guiding question that can determine the question category, and determining the question category based on the answer to the presented guiding question.
4. The answer presentation program according to any one of claims 1 to 3, characterized by:
前記質問と前記電子メールを独立して取得する処理は、第1時期に受信した前記質問を取得し、前記第1時期より前の第2時期に受信した前記電子メールを取得する、
ことを特徴とする請求項1から4のいずれか1項に記載の回答提示プログラム。
The process of independently obtaining the question and the e-mail includes obtaining the question received during a first period and obtaining the e-mail received during a second period prior to the first period.
5. The answer presentation program according to any one of claims 1 to 4, characterized by:
前記回答提示プログラムは、特定の話題について事前に定められたシナリオに沿って質問者と対話を行うシナリオ型チャットボットに使用されるプログラムである、
ことを特徴とする請求項1から5のいずれか1項に記載の回答提示プログラム。
The answer presentation program is a program used for a scenario-type chatbot that interacts with the questioner according to a predetermined scenario about a specific topic.
6. The answer presentation program according to any one of claims 1 to 5, characterized by:
質問と電子メールを独立して取得し、
取得した前記質問に疑問符が含まれている場合又は前記質問が疑問文相当である場合、前記疑問符が付いた第1文章又は前記疑問文相当が備える特定の第1文字に基づいて、前記第1文字が属する前記質問の質問カテゴリを決定し、
取得した前記質問の少なくとも一文又は全文に基づいて、前記質問で対象とされた商取引対象を特定可能な第1特定語を決定し、
取得した前記電子メールに前記疑問符が含まれている場合又は前記電子メールが前記疑問文相当である場合、前記疑問符が付いた第2文章又は前記疑問文相当が備える特定の第2文字に基づいて、前記第2文字が属する前記電子メールのメールカテゴリを決定し、
取得した前記電子メールの少なくとも一文又は全文に基づいて、前記電子メールで対象とされた前記商取引対象を特定可能な第2特定語を決定し、
前記質問カテゴリと前記メールカテゴリの第1類似度と、前記第1特定語と前記第2特定語の第2類似度とに基づいて、前記電子メールを前記質問に対する回答候補として提示する、
処理をコンピュータが実行する回答提示方法。
Get questions and emails independently,
If the obtained question contains a question mark or if the question corresponds to an interrogative sentence, the first determining the question category of said question to which the character belongs;
Based on at least one sentence or the entire sentence of the obtained question, determining a first specific word that can specify a commercial transaction target in the question,
If the obtained e-mail contains the question mark or if the e-mail corresponds to the interrogative sentence, based on the second sentence with the question mark or a specific second character included in the interrogative sentence equivalent , determining the mail category of said email to which said second character belongs;
Based on at least one sentence or the entire text of the acquired e-mail, determining a second specific word capable of specifying the commercial transaction target in the e-mail,
presenting the e-mail as an answer candidate to the question based on a first degree of similarity between the question category and the mail category and a second degree of similarity between the first specific word and the second specific word;
An answer presentation method in which processing is performed by a computer.
質問と電子メールを独立して取得し、
取得した前記質問に疑問符が含まれている場合又は前記質問が疑問文相当である場合、前記疑問符が付いた第1文章又は前記疑問文相当が備える特定の第1文字に基づいて、前記第1文字が属する前記質問の質問カテゴリを決定し、
取得した前記質問の少なくとも一文又は全文に基づいて、前記質問で対象とされた商取引対象を特定可能な第1特定語を決定し、
取得した前記電子メールに前記疑問符が含まれている場合又は前記電子メールが前記疑問文相当である場合、前記疑問符が付いた第2文章又は前記疑問文相当が備える特定の第2文字に基づいて、前記第2文字が属する前記電子メールのメールカテゴリを決定し、
取得した前記電子メールの少なくとも一文又は全文に基づいて、前記電子メールで対象とされた前記商取引対象を特定可能な第2特定語を決定し、
前記質問カテゴリと前記メールカテゴリの第1類似度と、前記第1特定語と前記第2特定語の第2類似度とに基づいて、前記電子メールを前記質問に対する回答候補として提示する、
処理部を備える回答提示装置。
Get questions and emails independently,
If the obtained question contains a question mark or if the question corresponds to an interrogative sentence, the first determining the question category of said question to which the character belongs;
Based on at least one sentence or the entire sentence of the obtained question, determining a first specific word that can specify a commercial transaction target in the question,
If the obtained e-mail contains the question mark or if the e-mail corresponds to the interrogative sentence, based on the second sentence with the question mark or a specific second character included in the interrogative sentence equivalent , determining the mail category of said email to which said second character belongs;
Based on at least one sentence or the entire text of the acquired e-mail, determining a second specific word capable of specifying the commercial transaction target in the e-mail,
presenting the e-mail as an answer candidate to the question based on a first degree of similarity between the question category and the mail category and a second degree of similarity between the first specific word and the second specific word;
An answer presentation device comprising a processing unit.
JP2021112041A 2021-07-06 2021-07-06 Answer presentation program, answer presentation method and answer presentation device Pending JP2023008458A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021112041A JP2023008458A (en) 2021-07-06 2021-07-06 Answer presentation program, answer presentation method and answer presentation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021112041A JP2023008458A (en) 2021-07-06 2021-07-06 Answer presentation program, answer presentation method and answer presentation device

Publications (1)

Publication Number Publication Date
JP2023008458A true JP2023008458A (en) 2023-01-19

Family

ID=85111875

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021112041A Pending JP2023008458A (en) 2021-07-06 2021-07-06 Answer presentation program, answer presentation method and answer presentation device

Country Status (1)

Country Link
JP (1) JP2023008458A (en)

Similar Documents

Publication Publication Date Title
US20200125805A1 (en) Human-to-human conversation analysis
KR102005531B1 (en) Providing suggestions for interaction with automation assistants in multi-user message exchange threads
US11042579B2 (en) Method and apparatus for natural language query in a workspace analytics system
US20160247165A1 (en) System and method for making engagement offers based on observed navigation path
US10127321B2 (en) Proactive knowledge offering system and method
JPWO2018221120A1 (en) Display device
US10235411B2 (en) Online dynamic solution retrieval based on automatic keyword selection during customer dialogue
US20160225030A1 (en) Social data collection and automated social replies
US10621181B2 (en) System and method for screening social media content
JP7183600B2 (en) Information processing device, system, method and program
US20170103439A1 (en) Searching Evidence to Recommend Organizations
KR20170021246A (en) Learning and using contextual content retrieval rules for query disambiguation
US9898519B2 (en) Systems and methods of enriching CRM data with social data
JP2014167722A (en) Merchandise information providing system and program for providing merchandise information
JP2009070180A (en) Apparatus and method for supporting information retrieval
JP2019152793A (en) Device, method, and program for processing information
CN112699645A (en) Corpus labeling method, apparatus and device
US20190251201A1 (en) Information searching system and information searching method
KR100503779B1 (en) Method and system for matching questioner and answerer
JP2023008458A (en) Answer presentation program, answer presentation method and answer presentation device
US11783204B2 (en) Processing and re-using assisted support data to increase a self-support knowledge base
JP2020071678A (en) Information processing device, control method, and program
JP2019133367A (en) Apparatus and method for business support
JP2023008461A (en) Answer creation support program, answer creation support method and answer creation support device
JP7471760B1 (en) Information processing method, information processing system, and program