JP6714268B1 - Question sentence output method, computer program, and information processing apparatus - Google Patents

Question sentence output method, computer program, and information processing apparatus Download PDF

Info

Publication number
JP6714268B1
JP6714268B1 JP2019188075A JP2019188075A JP6714268B1 JP 6714268 B1 JP6714268 B1 JP 6714268B1 JP 2019188075 A JP2019188075 A JP 2019188075A JP 2019188075 A JP2019188075 A JP 2019188075A JP 6714268 B1 JP6714268 B1 JP 6714268B1
Authority
JP
Japan
Prior art keywords
question
input
sentence
similarity
registered
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2019188075A
Other languages
Japanese (ja)
Other versions
JP2021064132A (en
Inventor
宏輝 藤原
宏輝 藤原
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.)
Exa Wizards Inc
Original Assignee
Exa Wizards 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 Exa Wizards Inc filed Critical Exa Wizards Inc
Priority to JP2019188075A priority Critical patent/JP6714268B1/en
Application granted granted Critical
Publication of JP6714268B1 publication Critical patent/JP6714268B1/en
Publication of JP2021064132A publication Critical patent/JP2021064132A/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

【課題】質問文及び回答文の登録作業を支援する質問文出力方法、コンピュータプログラム及び情報処理装置を提供する。【解決手段】本実施の形態に係る情報処理装置は、入力された質問文を取得し、取得した入力質問文と複数の登録済質問文との類似度をそれぞれ算出し、算出した類似度の最大値と第1閾値とを比較し、類似度の最大値が前記第1閾値に満たない入力質問文を、登録すべき質問文として出力する。また情報処理装置は、複数の質問文の間で類似度をそれぞれ算出し、算出した類似度と第2閾値とを比較し、類似度が前記第2閾値を超える複数の質問文をグループ化して出力してもよい。また情報処理装置は、前記第1閾値又は前記第2閾値の入力を受け付けてもよい。【選択図】図1PROBLEM TO BE SOLVED: To provide a question sentence output method, a computer program, and an information processing device for supporting the registration work of a question sentence and an answer sentence. An information processing apparatus according to the present embodiment acquires an input question text, calculates the degree of similarity between the acquired input question text and a plurality of registered question texts, and calculates the calculated similarity. The maximum value is compared with the first threshold value, and the input question text having the maximum similarity value less than the first threshold value is output as the question text to be registered. Further, the information processing device calculates the degree of similarity between each of the plurality of question sentences, compares the calculated degree of similarity with a second threshold value, and groups the plurality of question sentences whose similarity degree exceeds the second threshold value. You may output. The information processing device may also accept input of the first threshold value or the second threshold value. [Selection diagram] Figure 1

Description

本発明は、質問文及び回答文の登録を支援する質問文出力方法、コンピュータプログラム及び情報処理装置に関する。 The present invention relates to a question sentence output method, a computer program, and an information processing device that support registration of question sentences and answer sentences.

従来、ユーザによる質問文の入力に応じて、入力された質問文に類似する登録済質問文を出力する情報処理システム、いわゆるFAQ(Frequently Asked Questions)システムが広く普及している。FAQシステムにおいては、システムの管理者等が予め作成した質問文及び回答文の組がデータベースに登録されており、ユーザが入力した質問文に類似した登録済質問文がデータベースから検索され、検索された一又は複数の登録済質問文及びこれに対応する回答文がユーザに提示される。 2. Description of the Related Art Conventionally, a so-called FAQ (Frequently Asked Questions) system, which is an information processing system that outputs a registered question text similar to the input question text in response to a user's input of the question text, has been widely used. In the FAQ system, a set of question texts and answer texts created in advance by the system administrator or the like is registered in the database, and registered question texts similar to the question texts input by the user are searched from the database and searched. The user is presented with one or more registered question texts and corresponding answer texts.

特許文献1においては、利用者からの問い合わせに対応する回答をデータベースから抽出して送信し、回答の効果についてのフォロー問い合わせを利用者へ送信し、フォロー問い合わせに対応する応答に基づいてデータベースを更新する問い合せ対応システムが記載されている。 In patent document 1, the response corresponding to the inquiry from the user is extracted from the database and transmitted, the follow inquiry regarding the effect of the response is transmitted to the user, and the database is updated based on the response corresponding to the follow inquiry. The inquiry correspondence system to ask is described.

特開2019−114125号公報JP, 2019-114125, A

FAQシステムにおいては、質問文及び回答文をデータベースに予め登録しておく必要がある。しかしながら、どのような質問文及び回答文を登録しておくことで、ユーザの利便性が向上するかを把握することは困難であり、管理者等による質問文及び回答文の作成は困難な作業であった。特許文献1に記載の問い合わせ対応システムも、同様の問題を有している。 In the FAQ system, it is necessary to register question texts and answer texts in a database in advance. However, it is difficult to know what kind of question text and answer text should be registered to improve the user's convenience, and it is difficult for the administrator to create the question text and answer text. Met. The inquiry handling system described in Patent Document 1 has the same problem.

本発明は、斯かる事情に鑑みてなされたものであって、その目的とするところは、質問文及び回答文の登録作業を支援する質問文出力方法、コンピュータプログラム及び情報処理装置を提供することにある。 The present invention has been made in view of such circumstances, and an object thereof is to provide a question sentence output method, a computer program, and an information processing device that support the registration work of question sentences and answer sentences. It is in.

一実施形態に係る質問文出力方法は、演算処理を行う処理部を有する情報処理装置が、データベースに登録すべき質問文を出力する質問文出力方法であって、前記処理部が、操作部を介してユーザにより入力された質問文を取得し、前記処理部が、取得した入力質問文と複数の登録済質問文との類似度をそれぞれ算出し、前記処理部が、算出した類似度の最大値と第1閾値とを比較し、前記処理部が、類似度の最大値が前記第1閾値に満たない入力質問文を、登録すべき質問文として表示部に出力する処理を行うA question sentence output method according to one embodiment is a question sentence output method in which an information processing device having a processing unit that performs arithmetic processing outputs a question sentence that should be registered in a database, wherein the processing unit includes an operation unit. The question sentence input by the user is acquired through the processing unit , the processing unit calculates the degree of similarity between the acquired input question sentence and a plurality of registered question sentences, and the processing unit calculates the maximum degree of similarity. the comparator compares the value with the first threshold value, the processing unit performs a process maximum degree of similarity is the input question less than the first threshold value, and outputs to the display unit as a question to be registered.

一実施形態による場合は、管理者等による質問文及び回答文の登録作業を支援することが期待できる。 According to one embodiment, it can be expected that the administrator or the like can assist the registration work of the question text and the answer text.

本実施の形態に係るFAQシステムの構成を示す模式図である。It is a schematic diagram which shows the structure of the FAQ system which concerns on this Embodiment. 本実施の形態に係るサーバ装置の構成を示すブロック図である。It is a block diagram which shows the structure of the server apparatus which concerns on this Embodiment. FAQデータベースの一構成例を示す模式図である。It is a schematic diagram which shows one structural example of a FAQ database. 汎用言語表現モデルを用いた類似度算出処理を説明するための模式図である。It is a schematic diagram for explaining the similarity calculation process using a general-purpose language expression model. 入力質問文記憶部の一構成例を示す模式図である。It is a schematic diagram which shows one structural example of an input question sentence storage part. 本実施の形態に係る管理者端末装置の構成を示すブロック図である。It is a block diagram which shows the structure of the administrator terminal device which concerns on this Embodiment. 本実施の形態に係るユーザ端末装置の構成を示すブロック図である。It is a block diagram which shows the structure of the user terminal device which concerns on this Embodiment. 本実施の形態に係るFAQシステムにおいてユーザ端末装置が表示するFAQ画面の一例を示す模式図である。It is a schematic diagram which shows an example of the FAQ screen which a user terminal device displays in the FAQ system which concerns on this Embodiment. 本実施の形態に係るFAQシステムにおいてユーザ端末装置が表示するFAQ画面の一例を示す模式図である。It is a schematic diagram which shows an example of the FAQ screen which a user terminal device displays in the FAQ system which concerns on this Embodiment. 本実施の形態に係るサーバ装置が行う質問回答処理の手順の一例を示すフローチャートである。7 is a flowchart showing an example of a procedure of a question answering process performed by the server device according to the present embodiment. 候補質問文表示画面の一例を示す模式図である。It is a schematic diagram which shows an example of a candidate question sentence display screen. 入力質問文の最大類似度を説明するための模式図である。It is a schematic diagram for demonstrating the maximum similarity of an input question sentence. 候補質問文のグループ化を説明するための模式図である。It is a schematic diagram for demonstrating grouping of candidate question texts. 候補質問文のグループ化を説明するための模式図である。It is a schematic diagram for demonstrating grouping of candidate question texts. 質問文及び回答文の新規登録画面の一例を示す模式図である。It is a schematic diagram which shows an example of the new registration screen of a question sentence and an answer sentence. 本実施の形態に係るサーバ装置が行う登録処理の手順の一例を示すフローチャートである。6 is a flowchart showing an example of a procedure of registration processing performed by the server device according to the present embodiment. 変形例に係るサーバ装置による候補閾値の入力受付を説明するための模式図である。It is a schematic diagram for demonstrating the input reception of the candidate threshold value by the server apparatus which concerns on a modification.

本発明の実施形態に係るFAQシステムの具体例を、以下に図面を参照しつつ説明する。なお、本発明はこれらの例示に限定されるものではなく、特許請求の範囲によって示され、特許請求の範囲と均等の意味及び範囲内でのすべての変更が含まれることが意図される。 A specific example of the FAQ system according to the embodiment of the present invention will be described below with reference to the drawings. It should be noted that the present invention is not limited to these exemplifications, and is shown by the scope of the claims, and is intended to include meanings equivalent to the scope of the claims and all modifications within the scope.

<システム構成>
図1は、本実施の形態に係るFAQシステムの構成を示す模式図である。本実施の形態に係るFAQシステムは、ユーザからの質問文の入力に対してサーバ装置1が回答文を出力するシステムである。本実施の形態に係るFAQシステムでは、ユーザから入力されることが想定される質問文と、この質問文に対応する回答文とが対応付けて記憶されたFAQデータベース(図中ではFAQDBと略示する)2をサーバ装置1が備えている。
<System configuration>
FIG. 1 is a schematic diagram showing the configuration of the FAQ system according to the present embodiment. The FAQ system according to the present embodiment is a system in which the server device 1 outputs an answer sentence in response to an input of a question sentence from a user. In the FAQ system according to the present embodiment, a question database that is supposed to be input by the user and an answer sentence corresponding to the question sentence are stored in association with each other in a FAQ database (abbreviated as FAQDB in the figure). 2) is provided in the server device 1.

サーバ装置1は、インターネット又は社内LAN(Local Area Network)等のネットワークを介して、ユーザが利用するユーザ端末装置4との間で通信を行うことができる。ユーザ端末装置4は、例えばパーソナルコンピュータ、スマートフォン又はタブレット型端末装置等の種々の情報処理装置が採用され得る。ユーザ端末装置4は、ユーザから質問文の入力を受け付けて、受け付けた入力質問文をサーバ装置1へ送信する。サーバ装置1は、ユーザ端末装置4からの入力質問文を受信し、受信した入力質問文に一致する又は類似する一又は複数の登録済質問文をFAQデータベース2から検索する。サーバ装置1は、検索に該当した登録済質問文と、当該登録済質問文に対応する回答文と、を取得してユーザ端末装置4へ送信する。ユーザ端末装置4は、サーバ装置1からの登録済質問文及び回答文を受信して、受信した登録済質問文及び回答文を、ユーザが入力した質問文に類似する登録質問文及びその回答文として表示する。 The server device 1 can communicate with a user terminal device 4 used by a user via a network such as the Internet or an in-house LAN (Local Area Network). As the user terminal device 4, for example, various information processing devices such as a personal computer, a smartphone or a tablet type terminal device can be adopted. The user terminal device 4 receives the input of the question text from the user, and transmits the received input question text to the server device 1. The server device 1 receives the input question text from the user terminal device 4, and searches the FAQ database 2 for one or a plurality of registered question texts that match or are similar to the received input question text. The server device 1 acquires the registered question text corresponding to the search and the answer text corresponding to the registered question text, and transmits the acquired question text to the user terminal device 4. The user terminal device 4 receives the registered question sentence and answer sentence from the server device 1, and registers the received registered question sentence and answer sentence with a registered question sentence and its answer sentence similar to the question sentence input by the user. Display as.

サーバ装置1は、インターネット又は社内LAN等のネットワークを介して、本システムの管理者が利用する管理者端末装置3との間で通信を行うことができる。管理者端末装置3は、例えばパーソナルコンピュータ、スマートフォン又はタブレット型端末装置等の種々の情報処理装置が採用され得る。本実施の形態において管理者端末装置3は、管理者がFAQデータベース2に質問文及び回答文を登録する作業に用いられる。管理者端末装置3は、新たに登録する質問文及び回答文の入力を受け付け、受け付けた質問文及び回答文をサーバ装置1へ送信する。サーバ装置1は、管理者端末装置3から受信した質問文及び回答文をFAQデータベース2に登録する。 The server device 1 can communicate with the administrator terminal device 3 used by the administrator of the present system via the Internet or a network such as an in-house LAN. As the administrator terminal device 3, various information processing devices such as a personal computer, a smartphone, or a tablet type terminal device can be adopted. In this embodiment, the administrator terminal device 3 is used by the administrator for the work of registering the question sentence and the answer sentence in the FAQ database 2. The administrator terminal device 3 accepts input of a question sentence and an answer sentence to be newly registered, and transmits the accepted question sentence and answer sentence to the server device 1. The server device 1 registers the question sentence and the answer sentence received from the administrator terminal device 3 in the FAQ database 2.

また本実施の形態に係るサーバ装置1は、管理者による質問文及び回答文の登録を支援するため、新たな登録の候補となる候補質問文を管理者に対して提示する機能を備えている。サーバ装置1は、ユーザ端末装置4から受け付けた入力質問文の中から、FAQデータベース2に登録された登録済質問文に類似しない入力質問文を抽出し、抽出した入力質問文を候補質問文として管理者端末装置3へ送信する。管理者端末装置3は、サーバ装置1から受信した候補質問文を、新たな質問文の候補として表示する。これにより管理者は、候補として表示された候補質問文に対応する回答文を作成し、この質問文及び回答文をFAQデータベース2に登録することで、FAQデータベース2に登録されていない質問文及び回答文を登録することができる。 Further, the server device 1 according to the present embodiment has a function of presenting to the administrator candidate question texts that are candidates for new registration, in order to assist the administrator in registering question texts and answer texts. .. The server device 1 extracts an input question sentence that is not similar to the registered question sentence registered in the FAQ database 2 from the input question sentences received from the user terminal device 4, and uses the extracted input question sentence as a candidate question sentence. It is transmitted to the administrator terminal device 3. The administrator terminal device 3 displays the candidate question text received from the server device 1 as a new question text candidate. Thereby, the administrator creates an answer sentence corresponding to the candidate question sentence displayed as a candidate, and registers the question sentence and the answer sentence in the FAQ database 2 to thereby obtain the question sentence not registered in the FAQ database 2. You can register the answer sentence.

図2は、本実施の形態に係るサーバ装置1の構成を示すブロック図である。本実施の形態に係るサーバ装置1は、処理部11、記憶部(ストレージ)12及び通信部(トランシーバ)13等を備えて構成されている。なお本実施の形態においては、1つのサーバ装置1にて処理が行われるものとして説明を行うが、複数のサーバ装置1が分散して処理を行ってもよい。 FIG. 2 is a block diagram showing the configuration of the server device 1 according to the present embodiment. The server device 1 according to this embodiment includes a processing unit 11, a storage unit (storage) 12, a communication unit (transceiver) 13, and the like. In the present embodiment, the description will be made assuming that the processing is performed by one server device 1, but the processing may be performed by a plurality of server devices 1 in a distributed manner.

処理部11は、CPU(Central Processing Unit)又はMPU(Micro-Processing Unit)等の演算処理装置、ROM(Read Only Memory)、及び、RAM(Random Access Memory)等を用いて構成されている。処理部11は、記憶部12に記憶されたサーバプログラム12aを読み出して実行することにより、ユーザの質問に回答する処理、並びに、FAQデータベース2に質問文及び回答文を登録する処理等の種々の処理を行う。 The processing unit 11 is configured using an arithmetic processing unit such as a CPU (Central Processing Unit) or an MPU (Micro-Processing Unit), a ROM (Read Only Memory), and a RAM (Random Access Memory). The processing unit 11 reads out and executes the server program 12a stored in the storage unit 12 to perform various processes such as a process of answering a user's question and a process of registering a question sentence and an answer sentence in the FAQ database 2. Perform processing.

記憶部12は、例えばハードディスク等の大容量の記憶装置を用いて構成されている。記憶部12は、処理部11が実行する各種のプログラム、及び、処理部11の処理に必要な各種のデータを記憶する。本実施の形態において記憶部12は、処理部11が実行するサーバプログラム12aと、予め学習がなされた汎用言語表現モデル100とを記憶している。また記憶部12には、ユーザから入力を受け付けた質問文の履歴を記憶する入力質問文記憶部12bと、質問文及び回答文を対応付けて記憶する上記のFAQデータベース2とが設けられている。 The storage unit 12 is configured by using a large-capacity storage device such as a hard disk. The storage unit 12 stores various programs executed by the processing unit 11 and various data necessary for the processing of the processing unit 11. In the present embodiment, the storage unit 12 stores a server program 12a executed by the processing unit 11 and a general-purpose language expression model 100 learned in advance. In addition, the storage unit 12 is provided with an input question sentence storage unit 12b that stores a history of question sentences received from the user and the above-described FAQ database 2 that stores question sentences and answer sentences in association with each other. ..

本実施の形態においてサーバプログラム12aは、メモリカード又は光ディスク等の記録媒体99に記録された態様で提供され、サーバ装置1は記録媒体99からサーバプログラム12aを読み出して記憶部12に記憶する。ただし、サーバプログラム12aは、例えばサーバ装置1の製造段階において記憶部12に書き込まれてもよい。また例えばサーバプログラム12aは、遠隔の他のサーバ装置等が配信するものをサーバ装置1が通信にて取得してもよい。例えばサーバプログラム12aは、記録媒体99に記録されたものを書込装置が読み出してサーバ装置1の記憶部12に書き込んでもよい。サーバプログラム12aは、ネットワークを介した配信の態様で提供されてもよく、記録媒体99に記録された態様で提供されてもよい。 In the present embodiment, the server program 12a is provided in a form recorded on a recording medium 99 such as a memory card or an optical disk, and the server device 1 reads the server program 12a from the recording medium 99 and stores it in the storage unit 12. However, the server program 12a may be written in the storage unit 12 at the manufacturing stage of the server device 1, for example. Further, for example, the server program 12a may be acquired by the server device 1 through communication, which is distributed by another remote server device or the like. For example, the server program 12 a may be recorded in the recording medium 99 by a writing device and written in the storage unit 12 of the server device 1. The server program 12a may be provided in the form of distribution via a network, or may be provided in the form recorded on the recording medium 99.

図3は、FAQデータベース2の一構成例を示す模式図である。本実施の形態に係るFAQデータベース2は、「FAQID」、「質問文」、「回答文」及び「質問文のベクトル情報」等の情報が対応付けられたデータベースである。「FAQID」は、登録済質問文及び回答文の組に対応して付される識別情報である。「FAQID」は、文字及び数字等の組み合わせで表され、図示の例では”FAQ001”、”FAQ002”等のFAQIDが登録されている。「質問文」は、管理者が登録した質問の文章であり、ユーザが入力することが予想される質問の文章である。本図において「質問文」は、”Q1”、”Q2”等のように略示されているが、実際には日本語又は英語等の文章が登録される。「回答文」は、管理者が登録した回答の文章であり、対応する登録済質問文の回答である。本図において「回答文」は、”A1”、”A2”等のように略示されているが、実際には日本語又は英語等の文章が登録される。「質問文のベクトル情報」は、登録された「質問文」の文章を汎用言語表現モデル100にてベクトル化した情報である。 FIG. 3 is a schematic diagram showing a configuration example of the FAQ database 2. The FAQ database 2 according to the present embodiment is a database in which information such as “FAQ ID”, “question sentence”, “answer sentence”, and “vector information of question sentence” is associated. The “FAQ ID” is identification information attached to a set of registered question text and answer text. The "FAQID" is represented by a combination of characters and numbers, and in the illustrated example, FAQIDs such as "FAQ001" and "FAQ002" are registered. The “question sentence” is a sentence of the question registered by the administrator, and is a sentence of the question that the user is expected to input. In this figure, the "question sentence" is abbreviated as "Q1", "Q2", etc., but in reality, sentences such as Japanese or English are registered. The “answer text” is the text of the answer registered by the administrator, and is the answer of the corresponding registered question text. In this figure, the "answer sentence" is abbreviated as "A1", "A2", etc., but in reality, sentences such as Japanese or English are registered. The “vector information of question text” is information obtained by vectorizing the text of the registered “question text” using the general-purpose language expression model 100.

また本実施の形態に係るFAQシステムにおいては、1つの「FAQID」及び「回答文」に対応付けて複数の「質問文」が登録可能である。図示の例では、「FAQID」=”FAQ003”及び「回答文」=”A3”の組み合わせに対応して、「質問文」として”Q3−1”、”Q3−2”及び”Q3−3”の3つが登録されている。なお本実施の形態においては、1つの「FAQID」に対応して「回答文」は1つが登録されるものとするが、これに限るものではなく、1つの「FAQID」に対応して複数の「回答文」が登録可能な構成であってもよい。 Further, in the FAQ system according to the present embodiment, a plurality of “question sentences” can be registered in association with one “FAQ ID” and “answer sentence”. In the illustrated example, "Q3-1", "Q3-2", and "Q3-3" are used as the "question sentence" corresponding to the combination of "FAQID"="FAQ003" and "answer sentence"="A3". Are registered. In the present embodiment, one "answer sentence" is registered corresponding to one "FAQ ID", but the present invention is not limited to this, and a plurality of "answer sentences" may be registered corresponding to one "FAQ ID". The configuration may be such that the “answer text” can be registered.

図4は、汎用言語表現モデル100を用いた類似度算出処理を説明するための模式図である。本実施の形態に係るサーバ装置1が備える汎用言語表現モデル100は、日本語又は英語等の言語による文章の入力を受け付け、入力された文章に対応するベクトル情報を出力する機械学習モデルである。本実施の形態において汎用言語表現モデル100は、例えばUniversal Sentence Encoder、又は、BERT(Bidirectional Encoder Representations from Transformers)等のモデルが採用され得る。Universal Sentence Encoderは、Attention及びTransformer等のモデルを複数の言語の学習データで学習させて得られるエンコーダであり、例えば英語及び日本語のような異なる言語であっても、同じ内容の入力文章であれば近い値のベクトルを出力する。なお、Universal Sentence Encoder及びBERT等の汎用言語表現モデル100は、既存の技術であるため、詳細な説明を省略する。また汎用言語表現モデル100は、Universal Sentence Encoder又はBERT等に限らず、例えばRNN(Recurrent Neural Network)及びLSTM(Long Short-Term Memory)によるエンコーダ等を採用してもよい。 FIG. 4 is a schematic diagram for explaining the similarity calculation process using the general-purpose language expression model 100. The general-purpose language expression model 100 included in the server device 1 according to the present embodiment is a machine learning model that receives an input of a sentence in a language such as Japanese or English and outputs vector information corresponding to the input sentence. In the present embodiment, as the general-purpose language expression model 100, a model such as Universal Sentence Encoder or BERT (Bidirectional Encoder Representations from Transformers) can be adopted. Universal Sentence Encoder is an encoder obtained by learning models such as Attention and Transformer with learning data in multiple languages.For example, even in different languages such as English and Japanese, even if the input sentences have the same content, Outputs a vector of close values. Since the general-purpose language expression model 100 such as Universal Sentence Encoder and BERT is an existing technology, detailed description will be omitted. The general-purpose language expression model 100 is not limited to the Universal Sentence Encoder, BERT, or the like, but may be an encoder such as an RNN (Recurrent Neural Network) and an LSTM (Long Short-Term Memory).

本実施の形態においてサーバ装置1は、汎用言語表現モデル100を利用することによって、2つの質問文の類似度を算出する。上述のように、FAQデータベース2に登録される登録済質問文は汎用言語表現モデル100を用いてベクトル情報が算出され、このベクトル情報が登録済質問文と対応付けてFAQデータベース2に登録される。サーバ装置1は、ユーザが入力した入力質問文に対しても同様にして汎用言語表現モデル100を利用してベクトル情報を算出する。サーバ装置1は、算出した入力質問文のベクトル情報と、FAQデータベース2に登録された登録済質問文のベクトル情報とに対して所定のベクトル演算を行うことによって、入力質問文及び登録済質問文の類似度を算出する。所定のベクトル演算は、例えば2つのベクトル情報の距離を算出する演算、又は、2つのベクトル情報の内積を算出する演算等が採用され得る。なお本実施の形態においてサーバ装置1は、類似度を0から1までの小数値として出力し、この値が大きいほど2つの質問文が類似しているものとする。即ち、類似度=1は、2つの質問文が完全に一致することを示す。なお類似度の値は小さいほど2つの質問文が類似しているものであってもよく、この場合には本明細書において類似度に関する大小関係の記述を反転すればよい。 In the present embodiment, the server device 1 calculates the degree of similarity between two question sentences by using the general-purpose language expression model 100. As described above, vector information of the registered question sentence registered in the FAQ database 2 is calculated using the general-purpose language expression model 100, and this vector information is registered in the FAQ database 2 in association with the registered question sentence. .. The server device 1 similarly uses the general-purpose language expression model 100 to calculate vector information for an input question sentence input by the user. The server device 1 performs a predetermined vector operation on the calculated vector information of the input question text and the vector information of the registered question text registered in the FAQ database 2 to obtain the input question text and the registered question text. To calculate the similarity. As the predetermined vector calculation, for example, a calculation for calculating a distance between two pieces of vector information, a calculation for calculating an inner product of two pieces of vector information, or the like can be adopted. In the present embodiment, the server device 1 outputs the degree of similarity as a decimal value from 0 to 1, and the larger the value, the more similar the two question sentences are. That is, the degree of similarity=1 indicates that the two question sentences completely match. Note that the smaller the similarity value, the more similar the two question sentences may be. In this case, the description of the magnitude relationship regarding the similarity may be reversed in this specification.

また図示は省略するが、本実施の形態に係るサーバ装置1は、ユーザが入力した2つの入力質問文の類似度を算出する処理を行う。この場合にサーバ装置1は、汎用言語表現モデル100を用いて、ユーザが入力した第1の入力質問文に対応するベクトル情報と、第2の入力質問文に対応する第2のベクトル情報とをそれぞれ算出する。サーバ装置1は、算出した2つのベクトル情報について同様に所定のベクトル演算を行うことによって、2つの入力質問文の類似度を算出することができる。 Although illustration is omitted, the server device 1 according to the present embodiment performs a process of calculating the degree of similarity between two input question sentences input by the user. In this case, the server device 1 uses the general-purpose language expression model 100 to store vector information corresponding to the first input question sentence input by the user and second vector information corresponding to the second input question sentence. Calculate each. The server device 1 can calculate the similarity between the two input question sentences by similarly performing a predetermined vector operation on the calculated two pieces of vector information.

サーバ装置1の記憶部12に記憶された汎用言語表現モデル100は、予め学習処理がなされた学習済モデルである。学習処理は、予め与えられた多数の学習用データを用いて、ニューラルネットワークを構成する各ニューロンの係数及び閾値等に適切な値を設定する処理である。本実施の形態に係る汎用言語表現モデル100は、予め作成された大量の質問文等のデータが入力されることによって学習がなされ、いわゆる教師なし学習の手法により学習がなされる。ただし汎用言語表現モデル100の学習処理は、教師データを用いる教師あり学習、又は、強化学習等の手法により行われてもよい。学習処理に用いられる質問文等のデータの作成は、本システムの設計者等が行ってもよく、サーバ装置1等の装置が行ってもよい。少なくとも最初の学習処理においては予め作成されたデータが用いられる。例えば質問文等のデータは、従来のFAQシステムにてユーザが入力した質問文の情報、又は、本システムもしくは類似のシステムにおいてなされた実証実験等により得られた情報等に基づいて作成され得る。2回目以降の学習処理(再学習処理)においては、サーバ装置1が収集して蓄積した情報に基づいて学習用のデータが生成されてもよい。 The general-purpose language expression model 100 stored in the storage unit 12 of the server device 1 is a learned model that has undergone learning processing in advance. The learning process is a process of setting appropriate values for the coefficient and threshold value of each neuron forming the neural network using a large number of learning data given in advance. The general-purpose language expression model 100 according to the present embodiment is learned by inputting a large amount of data such as a large amount of pre-created question sentences and the like, and is learned by a so-called unsupervised learning method. However, the learning process of the general-purpose language expression model 100 may be performed by a method such as supervised learning using teacher data, or reinforcement learning. The data such as the question sentence used in the learning process may be created by the designer of the present system or the like, or by a device such as the server device 1. Data created in advance is used in at least the first learning process. For example, the data such as a question sentence can be created based on the information of the question sentence input by the user in the conventional FAQ system, or the information obtained by the proof experiment performed in the present system or a similar system. In the second and subsequent learning processes (re-learning process), learning data may be generated based on the information collected and accumulated by the server device 1.

図5は、入力質問文記憶部12bの一構成例を示す模式図である。本実施の形態に係る入力質問文記憶部12bは、「日時情報」、「入力質問文」及び「最大類似度」等の情報を対応付けて記憶する。「日時情報」は、ユーザ端末装置4にて質問文の入力を受け付けた日時、又は、ユーザ端末装置4から送信される入力質問文をサーバ装置1が受信した日時の情報である。「入力質問文」は、ユーザが入力した質問の文章である。本図において「入力質問文」は、”q1”、”q2”等のように略示されているが、実際には日本語又は英語等の文章が記憶される。「最大類似度」は、入力質問文とFAQデータベース2に記憶された各登録済質問文との類似度を、汎用言語表現モデル100を利用してそれぞれ算出し、算出された複数の類似度の中の最大値が記憶される。なお本実施の形態においては、入力質問文記憶部12bに最大類似度のみが記憶されるものとするが、これに限るものではなく、入力質問文と登録済質問文との類似度が全て記憶されてもよい。また入力質問文記憶部12bは、入力質問文について算出したベクトル情報を記憶してもよく、これにより類似度の算出を高速化することができる。 FIG. 5 is a schematic diagram showing a configuration example of the input question sentence storage unit 12b. The input question sentence storage unit 12b according to the present embodiment stores information such as “date and time information”, “input question sentence”, and “maximum similarity” in association with each other. The “date and time information” is information on the date and time when the user terminal device 4 accepts the input of the question sentence or the date and time when the server device 1 receives the input question sentence transmitted from the user terminal device 4. The “input question text” is the text of the question input by the user. In the figure, the “input question text” is abbreviated as “q1”, “q2”, etc., but in reality, sentences such as Japanese or English are stored. The “maximum similarity” is calculated by calculating the similarity between the input question text and each registered question text stored in the FAQ database 2 using the general-purpose language expression model 100, and calculating the similarity between the calculated plurality of similarities. The maximum value is stored. In the present embodiment, only the maximum similarity is stored in the input question sentence storage unit 12b, but the present invention is not limited to this, and all the similarities between the input question sentence and the registered question sentence are stored. May be done. Further, the input question sentence storage unit 12b may store vector information calculated for the input question sentence, which can speed up the calculation of the degree of similarity.

通信部13は、社内LAN、無線LAN及びインターネット等を含むネットワークNを介して、種々の装置との間で通信を行う。本実施の形態において通信部13は、ネットワークNを介して、管理者端末装置3及びユーザ端末装置4との間で通信を行う。通信部13は、処理部11から与えられたデータを他の装置へ送信すると共に、他の装置から受信したデータを処理部11へ与える。 The communication unit 13 communicates with various devices via a network N including an in-house LAN, a wireless LAN and the Internet. In the present embodiment, the communication unit 13 communicates with the administrator terminal device 3 and the user terminal device 4 via the network N. The communication unit 13 sends the data given from the processing unit 11 to another device and gives the data received from the other device to the processing unit 11.

なお記憶部12は、サーバ装置1に接続された外部記憶装置であってよい。またサーバ装置1は、複数のコンピュータを含んで構成されるマルチコンピュータであってよく、ソフトウェアによって仮想的に構築された仮想マシンであってもよい。またサーバ装置1は、上記の構成に限定されず、例えば可搬型の記憶媒体に記憶された情報を読み取る読取部、操作入力を受け付ける入力部、又は、画像を表示する表示部等を含んでもよい。 The storage unit 12 may be an external storage device connected to the server device 1. Further, the server device 1 may be a multi-computer including a plurality of computers, or may be a virtual machine virtually constructed by software. The server device 1 is not limited to the above configuration, and may include, for example, a reading unit that reads information stored in a portable storage medium, an input unit that receives an operation input, or a display unit that displays an image. ..

また本実施の形態に係るサーバ装置1の処理部11には、記憶部12に記憶されたサーバプログラム12aを処理部11が読み出して実行することにより、入力質問文取得部11a、質問文類似度算出部11b、閾値比較部11c、候補質問文出力部11d、閾値入力受付部11e、学習処理部11f及び回答処理部11g等がソフトウェア的な機能部として実現される。なおこれらの機能部は、質問文及び回答文の入出力等の処理に関する機能部であり、これ以外の機能部については図示及び説明を省略する。 Further, in the processing unit 11 of the server device 1 according to the present embodiment, the processing unit 11 reads out and executes the server program 12a stored in the storage unit 12, whereby the input question sentence acquisition unit 11a and the question sentence similarity degree. The calculation unit 11b, the threshold comparison unit 11c, the candidate question sentence output unit 11d, the threshold input acceptance unit 11e, the learning processing unit 11f, the answer processing unit 11g, and the like are realized as software functional units. Note that these functional units are functional units related to processing such as input/output of question sentences and answer sentences, and illustration and description of the other functional units are omitted.

入力質問文取得部11aは、ユーザ端末装置4にてユーザが入力した入力質問文を取得する処理を行う。入力質問文取得部11aは、ユーザ端末装置4から送信される入力質問文を通信部13にて受信することで取得し、取得した入力質問文を記憶部12の入力質問文記憶部12bに記憶する。このときに入力質問文取得部11aは、入力質問文と共に、入力質問文が入力された日時情報と、最大類似度とを入力質問文記憶部12bに対応付けて記憶する。最大類似度は、質問文類似度算出部11bにより算出される類似度の最大値である。 The input question sentence acquisition unit 11a performs a process of acquiring the input question sentence input by the user on the user terminal device 4. The input question sentence acquisition unit 11 a obtains the input question sentence transmitted from the user terminal device 4 by receiving the communication unit 13 and stores the obtained input question sentence in the input question sentence storage unit 12 b of the storage unit 12. To do. At this time, the input question sentence acquisition unit 11a stores, together with the input question sentence, date and time information when the input question sentence was input and the maximum similarity in association with the input question sentence storage unit 12b. The maximum similarity is the maximum value of the similarities calculated by the question sentence similarity calculation unit 11b.

質問文類似度算出部11bは、汎用言語表現モデル100を用いることにより、入力質問文取得部11aが取得した入力質問文と、FAQデータベース2に記憶された複数の登録済質問文との類似度をそれぞれ算出する。質問文類似度算出部11bは、FAQデータベース2から取得した登録済質問文のベクトル情報の1つと、入力質問文取得部11aが取得した入力質問文から汎用言語表現モデル100にて算出したベクトル情報とに対して所定のベクトル演算を行うことによって、2つの質問文の類似度を算出する。また質問文類似度算出部11bは、FAQデータベース2に記憶された全ての登録済質問文について、入力質問文との類似度を算出し、算出した全ての類似度の中から最大値を取得し、この最大値を最大類似度とする。入力質問文取得部11aは、質問文類似度算出部11bが算出した最大類似度を入力質問文記憶部12bに記憶する。 The question sentence similarity calculation unit 11b uses the general-purpose language expression model 100 to calculate the similarity between the input question sentence acquired by the input question sentence acquisition unit 11a and the plurality of registered question sentences stored in the FAQ database 2. Are calculated respectively. The question sentence similarity calculation unit 11b calculates one of the vector information of the registered question sentence acquired from the FAQ database 2 and the vector information calculated by the general-purpose language expression model 100 from the input question sentence acquired by the input question sentence acquisition unit 11a. By performing a predetermined vector operation on and, the degree of similarity between the two question sentences is calculated. Further, the question sentence similarity calculation unit 11b calculates the similarity between the registered question sentence stored in the FAQ database 2 and the input question sentence, and obtains the maximum value from all the calculated similarities. , The maximum value is the maximum similarity. The input question sentence acquisition unit 11a stores the maximum similarity calculated by the question sentence similarity calculation unit 11b in the input question sentence storage unit 12b.

閾値比較部11cは、質問文類似度算出部11bが算出した類似度と、予め設定された閾値とを比較する処理を行う。本実施の形態においては、閾値比較部11cが比較に用いる閾値として、候補閾値(第1閾値)、グループ閾値(第2閾値)及び表示閾値(第3閾値)の3つの閾値が設定される。これら3つの閾値は、例えば記憶部12に記憶されている。候補閾値は、入力質問文を新たに登録する質問文の候補とするか否かを判定するための閾値である。例えば、上述の最大類似度が候補閾値に満たない入力質問文が、新たに登録する候補質問文とされる。グループ閾値は、類似する入力質問文をグループ化するための閾値である。例えば、2つの入力質問文について算出した類似度がグループ閾値を超える場合、この2つの入力質問文を1つのグループとして扱う。表示閾値は、ユーザが入力した入力質問文に類似する登録済質問文及びその回答文を出力(表示)するための閾値である。例えば、入力質問文との類似度が表示閾値を超えるFAQデータベース2の登録済質問文及びこれに対応する回答文がサーバ装置1からユーザ端末装置4へ送信される。 The threshold comparison unit 11c performs a process of comparing the similarity calculated by the question sentence similarity calculation unit 11b with a preset threshold. In the present embodiment, three thresholds, which are a candidate threshold (first threshold), a group threshold (second threshold), and a display threshold (third threshold), are set as the thresholds used by the threshold comparison unit 11c for comparison. These three threshold values are stored in the storage unit 12, for example. The candidate threshold value is a threshold value for determining whether or not the input question sentence is a candidate for a question sentence to be newly registered. For example, the input question sentence whose maximum similarity is less than the candidate threshold value is set as the candidate question sentence to be newly registered. The group threshold is a threshold for grouping similar input question sentences. For example, when the similarity calculated for two input question sentences exceeds the group threshold, these two input question sentences are treated as one group. The display threshold value is a threshold value for outputting (displaying) the registered question text and the answer text similar to the input question text input by the user. For example, the registered question text of the FAQ database 2 and the answer text corresponding to the similarity with the input question text exceeding the display threshold are transmitted from the server device 1 to the user terminal device 4.

候補質問文出力部11dは、管理者端末装置3に対して新たに登録する質問文の候補を候補質問文として出力する処理を行う。候補質問文出力部11dは、候補質問文に関する情報を通信部13にて管理者端末装置3へ送信することによって、管理者端末装置3の表示部等に候補質問文を出力(表示)する。候補質問文出力部11dは、入力質問文記憶部12bに記憶された入力質問文のうち、最大類似度が候補閾値に満たない入力質問文を抽出し、抽出した入力質問文を候補質問文とする。また候補質問文出力部11dは、複数の候補質問文について、候補質問文の間の類似度がグループ閾値を超えるものを1つのグループとしてまとめて出力する。 The candidate question text output unit 11d performs a process of outputting candidate question texts to be newly registered to the administrator terminal device 3 as candidate question texts. The candidate question sentence output unit 11d outputs (displays) the candidate question sentence to the display unit or the like of the administrator terminal device 3 by transmitting the information regarding the candidate question sentence to the administrator terminal device 3 through the communication unit 13. The candidate question sentence output unit 11d extracts, from the input question sentences stored in the input question sentence storage unit 12b, an input question sentence whose maximum similarity is less than the candidate threshold value, and sets the extracted input question sentence as a candidate question sentence. To do. Further, the candidate question sentence output unit 11d collectively outputs, for a plurality of candidate question sentences, the ones in which the similarity between the candidate question sentences exceeds the group threshold value as one group.

閾値入力受付部11eは、閾値比較部11cが比較に用いる3つの閾値について、管理者からの入力を受け付ける処理を行う。管理者端末装置3は管理者から閾値の入力を受け付けてサーバ装置1へ送信し、サーバ装置1の閾値入力受付部11eは、管理者端末装置3から送信される閾値を通信部13にて受信して記憶部12に記憶することによって、管理者からの閾値の入力を受け付ける。閾値入力受付部11eが閾値の入力を受け付けることによって、閾値比較部11cが比較に用いる閾値が更新される。 The threshold value input receiving unit 11e performs a process of receiving inputs from the administrator regarding the three threshold values used by the threshold value comparing unit 11c for comparison. The administrator terminal device 3 receives the threshold value input from the administrator and transmits it to the server device 1, and the threshold value input receiving unit 11e of the server device 1 receives the threshold value transmitted from the administrator terminal device 3 at the communication unit 13. Then, the threshold value is input from the administrator by storing it in the storage unit 12. When the threshold value input receiving unit 11e receives the input of the threshold value, the threshold value used by the threshold value comparing unit 11c for comparison is updated.

学習処理部11fは、汎用言語表現モデル100を学習する処理を行う。学習処理部11fは、例えば質問文及び質問文に類似する文章等で構成された学習用データを用いて、汎用言語表現モデル100の深層学習を行う。学習用データは、少なくとも最初の学習処理においては、管理者等が予め作成したデータが用いられる。2回目以降の学習処理(再学習処理)においては、サーバ装置1は入力質問文記憶部12bに記憶して蓄積した入力質問文を学習用データとして用いてもよい。サーバ装置1は、例えば1週間又は1ヶ月等の周期で、汎用言語表現モデル100の再学習処理を行ってよい。 The learning processing unit 11f performs a process of learning the general language expression model 100. The learning processing unit 11f performs deep learning of the general-purpose language expression model 100 using learning data composed of, for example, a question sentence and sentences similar to the question sentence. As the learning data, data created in advance by an administrator or the like is used at least in the first learning process. In the second and subsequent learning processes (re-learning process), the server device 1 may use the input question sentence stored and accumulated in the input question sentence storage unit 12b as learning data. The server device 1 may perform the re-learning process of the general-purpose language expression model 100 at a cycle of, for example, one week or one month.

回答処理部11gは、ユーザからの質問に対応する回答を与える処理を行う。回答処理部11gは、入力質問文取得部11aがユーザ端末装置4から取得した入力質問文と、FAQデータベース2に記憶された複数の登録済質問文との類似度を質問文類似度算出部11bにて算出し、算出した類似度と記憶部12に記憶された表示閾値との比較を閾値比較部11cにて行う。回答処理部11gは、類似度が表示閾値を超える登録済質問文及びこれに対応する回答文をFAQデータベース2から取得し、取得した一又は複数の登録済質問文及び回答文の組を、ユーザの入力質問文に類似する登録済質問文及び回答文としてユーザ端末装置4へ送信する。ユーザ端末装置4は、サーバ装置1からの一又は複数の登録済質問文及び回答文を受信して表示部に表示する。 The answer processing unit 11g performs a process of giving an answer corresponding to the question from the user. The answer processing unit 11g determines the similarity between the input question text acquired by the input question text acquisition unit 11a from the user terminal device 4 and the plurality of registered question texts stored in the FAQ database 2 to the question text similarity calculation unit 11b. The threshold comparison unit 11c compares the calculated similarity and the display threshold stored in the storage unit 12. The answer processing unit 11g acquires a registered question text whose similarity exceeds a display threshold value and an answer text corresponding to the registered question text from the FAQ database 2, and uses the acquired set of one or more registered question texts and answer texts to the user. The registered question text and answer text similar to the input question text are transmitted to the user terminal device 4. The user terminal device 4 receives one or a plurality of registered question sentences and answer sentences from the server device 1 and displays them on the display unit.

図6は、本実施の形態に係る管理者端末装置3の構成を示すブロック図である。本実施の形態に係る管理者端末装置3は、処理部31、記憶部(ストレージ)32、通信部(トランシーバ)33、表示部(ディスプレイ)34及び操作部35等を備えて構成されている。管理者端末装置3は、例えば汎用のパーソナルコンピュータ又はタブレット型端末装置等の情報処理装置を用いて構成され得る。 FIG. 6 is a block diagram showing the configuration of the administrator terminal device 3 according to this embodiment. The administrator terminal device 3 according to this embodiment is configured to include a processing unit 31, a storage unit (storage) 32, a communication unit (transceiver) 33, a display unit (display) 34, an operation unit 35, and the like. The administrator terminal device 3 may be configured using an information processing device such as a general-purpose personal computer or a tablet terminal device.

処理部31は、CPU又はMPU等の演算処理装置、ROM、及び、RAM等を用いて構成されている。処理部31は、記憶部32に記憶されたプログラム32aを読み出して実行することにより、サーバ装置1による登録の候補質問文を表示する処理、閾値の入力を受け付ける処理、並びに、新たな質問文及び回答文の登録を受け付ける処理等の種々の処理を行う。 The processing unit 31 is configured by using an arithmetic processing device such as a CPU or MPU, a ROM, a RAM, and the like. The processing unit 31 reads and executes the program 32a stored in the storage unit 32 to display a candidate question sentence for registration by the server device 1, a process of accepting an input of a threshold, and a new question sentence and Various processes such as a process for accepting registration of an answer sentence are performed.

記憶部32は、例えばハードディスク等の磁気記憶装置又はフラッシュメモリ等の不揮発性のメモリ素子を用いて構成されている。記憶部32は、処理部31が実行する各種のプログラム、及び、処理部31の処理に必要な各種のデータを記憶する。本実施の形態において記憶部32は、処理部31が実行するプログラム32aを記憶している。本実施の形態においてプログラム32aは遠隔のサーバ装置等により配信され、これを管理者端末装置3が通信にて取得し、記憶部32に記憶する。ただしプログラム32aは、例えば管理者端末装置3の製造段階において記憶部32に書き込まれてもよい。例えばプログラム32aは、メモリカード又は光ディスク等の記録媒体に記録されたプログラム32aを管理者端末装置3が読み出して記憶部32に記憶してもよい。例えばプログラム32aは、記録媒体に記録されたものを書込装置が読み出して管理者端末装置3の記憶部32に書き込んでもよい。プログラム32aは、ネットワークを介した配信の態様で提供されてもよく、記録媒体に記録された態様で提供されてもよい。 The storage unit 32 is configured by using a magnetic storage device such as a hard disk or a non-volatile memory element such as a flash memory. The storage unit 32 stores various programs executed by the processing unit 31 and various data necessary for the processing of the processing unit 31. In the present embodiment, the storage unit 32 stores the program 32a executed by the processing unit 31. In the present embodiment, the program 32a is distributed by a remote server device or the like, and the administrator terminal device 3 acquires this by communication and stores it in the storage unit 32. However, the program 32a may be written in the storage unit 32 at the manufacturing stage of the administrator terminal device 3, for example. For example, as the program 32a, the administrator terminal device 3 may read the program 32a recorded in a recording medium such as a memory card or an optical disk and store it in the storage unit 32. For example, the program 32a may be recorded in a recording medium by a writing device and written in the storage unit 32 of the administrator terminal device 3. The program 32a may be provided in the form of distribution via a network, or may be provided in the form of being recorded in a recording medium.

通信部33は、社内LAN、無線LAN及びインターネット等を含むネットワークNを介して、種々の装置との間で通信を行う。本実施の形態において通信部33は、ネットワークNを介して、サーバ装置1との間で通信を行う。通信部33は、処理部31から与えられたデータを他の装置へ送信すると共に、他の装置から受信したデータを処理部31へ与える。 The communication unit 33 communicates with various devices via a network N including an in-house LAN, a wireless LAN and the Internet. In the present embodiment, the communication unit 33 communicates with the server device 1 via the network N. The communication unit 33 transmits the data given from the processing unit 31 to another device and gives the data received from the other device to the processing unit 31.

表示部34は、液晶ディスプレイ等を用いて構成されており、処理部31の処理に基づいて種々の画像及び文字等を表示する。 The display unit 34 is configured by using a liquid crystal display or the like, and displays various images and characters based on the processing of the processing unit 31.

操作部35は、ユーザの操作を受け付け、受け付けた操作を処理部31へ通知する。例えば操作部35は、機械式のボタン又は表示部34の表面に設けられたタッチパネル等の入力デバイスによりユーザの操作を受け付ける。また例えば操作部35は、マウス及びキーボード等の入力デバイスであってよく、これらの入力デバイスは管理者端末装置3に対して取り外すことが可能な構成であってもよい。 The operation unit 35 accepts a user operation and notifies the processing unit 31 of the accepted operation. For example, the operation unit 35 accepts a user's operation using a mechanical button or an input device such as a touch panel provided on the surface of the display unit 34. Further, for example, the operation unit 35 may be an input device such as a mouse and a keyboard, and these input devices may be detachable from the administrator terminal device 3.

また本実施の形態に係る管理者端末装置3は、記憶部32に記憶されたプログラム32aを処理部31が読み出して実行することにより、表示処理部31a、閾値入力受付部31b及び登録処理部31c等がソフトウェア的な機能部として処理部31に実現される。なおプログラム32aは、本実施の形態に係るFAQシステムに専用のプログラムであってもよく、インターネットブラウザ又はウェブブラウザ等の汎用のプログラムであってもよい。 Further, in the administrator terminal device 3 according to the present embodiment, the processing unit 31 reads and executes the program 32a stored in the storage unit 32, so that the display processing unit 31a, the threshold value input receiving unit 31b, and the registration processing unit 31c. Etc. are realized in the processing unit 31 as software-like functional units. The program 32a may be a program dedicated to the FAQ system according to this embodiment, or may be a general-purpose program such as an internet browser or a web browser.

表示処理部31aは、表示部34に種々の文字及び画像等を表示する処理を行う。本実施の形態において表示処理部31aは、ネットワークNを介して通信部33にて受信したサーバ装置1からのデータに基づいて、サーバ装置1から送信された登録の候補質問文に関する情報表示等を行う。 The display processing unit 31a performs a process of displaying various characters and images on the display unit 34. In the present embodiment, the display processing unit 31a displays information regarding the registration candidate question text transmitted from the server device 1 based on the data from the server device 1 received by the communication unit 33 via the network N. To do.

閾値入力受付部31bは、候補閾値、グループ閾値及び表示閾値の3つの閾値について、管理者からの入力を受け付ける処理を行う。閾値入力受付部31bは、操作部35に対する管理者の操作を受け付け、この管理者の操作に基づいて閾値の入力を受け付ける。閾値入力受付部31bは、入力を受け付けた閾値を、通信部33にてネットワークNを介してサーバ装置1へ送信する。 The threshold value input receiving unit 31b performs a process of receiving input from the administrator with respect to three threshold values, that is, a candidate threshold value, a group threshold value, and a display threshold value. The threshold value input receiving unit 31b receives an operation of the administrator on the operation unit 35, and receives an input of the threshold value based on the operation of the administrator. The threshold value input accepting unit 31b transmits the accepted threshold value to the server device 1 via the network N in the communication unit 33.

登録処理部31cは、管理者による新たな質問文及び回答文の入力受付及び登録等の処理を行う。登録処理部31cは、操作部35に対する管理者の操作に基づいて、新たに登録すべき質問文及び回答文の入力を受け付ける。登録処理部31cは、受け付けた質問文及び回答文をサーバ装置1へ送信し、サーバ装置1にこの質問文及び回答文をFAQデータベース2bに登録させる。サーバ装置1は、管理者端末装置3からの質問文及び回答文を受信し、受信した質問文及び回答文をFAQデータベース2に登録する。 The registration processing unit 31c performs processing such as reception and registration of a new question sentence and answer sentence by the administrator. The registration processing unit 31c receives an input of a question sentence and an answer sentence to be newly registered, based on the operation of the administrator on the operation unit 35. The registration processing unit 31c transmits the accepted question text and answer text to the server device 1, and causes the server device 1 to register the question text and answer text in the FAQ database 2b. The server device 1 receives the question sentence and the answer sentence from the administrator terminal device 3, and registers the received question sentence and the answer sentence in the FAQ database 2.

図7は、本実施の形態に係るユーザ端末装置4の構成を示すブロック図である。本実施の形態に係るユーザ端末装置4は、処理部41、記憶部(ストレージ)42、通信部(トランシーバ)43、表示部(ディスプレイ)44及び操作部45等を備えて構成されている。ユーザ端末装置4は、例えば汎用のパーソナルコンピュータ、スマートフォン又はタブレット型端末装置等の情報処理装置を用いて構成され得る。 FIG. 7 is a block diagram showing the configuration of the user terminal device 4 according to the present embodiment. The user terminal device 4 according to the present embodiment includes a processing unit 41, a storage unit (storage) 42, a communication unit (transceiver) 43, a display unit (display) 44, an operation unit 45, and the like. The user terminal device 4 may be configured using an information processing device such as a general-purpose personal computer, a smartphone, or a tablet type terminal device.

処理部41は、CPU又はMPU等の演算処理装置、ROM、及び、RAM等を用いて構成されている。処理部41は、記憶部42に記憶されたプログラム42aを読み出して実行することにより、ユーザから質問の入力を受け付ける処理、並びに、入力質問文に類似する登録済質問文及びその回答文を出力(表示)する処理等の種々の処理を行う。 The processing unit 41 is configured using an arithmetic processing unit such as a CPU or MPU, a ROM, a RAM, and the like. The processing unit 41 reads out and executes the program 42a stored in the storage unit 42 to receive a question input from a user, and outputs a registered question sentence and its answer sentence similar to the input question sentence ( Various processings such as display processing are performed.

記憶部42は、例えばハードディスク等の磁気記憶装置又はフラッシュメモリ等の不揮発性のメモリ素子を用いて構成されている。記憶部42は、処理部41が実行する各種のプログラム、及び、処理部41の処理に必要な各種のデータを記憶する。本実施の形態において記憶部42は、処理部41が実行するプログラム42aを記憶している。本実施の形態においてプログラム42aは遠隔のサーバ装置等により配信され、これをユーザ端末装置4が通信にて取得し、記憶部42に記憶する。ただしプログラム42aは、例えばユーザ端末装置4の製造段階において記憶部42に書き込まれてもよい。例えばプログラム42aは、メモリカード又は光ディスク等の記録媒体に記録されたプログラム42aをユーザ端末装置4が読み出して記憶部42に記憶してもよい。例えばプログラム42aは、記録媒体に記録されたものを書込装置が読み出してユーザ端末装置4の記憶部42に書き込んでもよい。プログラム42aは、ネットワークを介した配信の態様で提供されてもよく、記録媒体に記録された態様で提供されてもよい。 The storage unit 42 is configured using, for example, a magnetic storage device such as a hard disk or a non-volatile memory element such as a flash memory. The storage unit 42 stores various programs executed by the processing unit 41 and various data necessary for the processing of the processing unit 41. In the present embodiment, the storage unit 42 stores a program 42a executed by the processing unit 41. In the present embodiment, the program 42a is distributed by a remote server device or the like, and the user terminal device 4 acquires this by communication and stores it in the storage unit 42. However, the program 42a may be written in the storage unit 42 at the manufacturing stage of the user terminal device 4, for example. For example, as the program 42a, the user terminal device 4 may read the program 42a recorded in a recording medium such as a memory card or an optical disk and store it in the storage unit 42. For example, the program 42a may be recorded in a recording medium by a writing device and written in the storage unit 42 of the user terminal device 4. The program 42a may be provided in the form of distribution via a network, or may be provided in the form of being recorded in a recording medium.

通信部43は、社内LAN、無線LAN及びインターネット等を含むネットワークNを介して、種々の装置との間で通信を行う。本実施の形態において通信部43は、ネットワークNを介して、サーバ装置1との間で通信を行う。通信部43は、処理部41から与えられたデータを他の装置へ送信すると共に、他の装置から受信したデータを処理部41へ与える。 The communication unit 43 communicates with various devices via a network N including an in-house LAN, a wireless LAN and the Internet. In the present embodiment, the communication unit 43 communicates with the server device 1 via the network N. The communication unit 43 transmits the data given from the processing unit 41 to another device and gives the data received from the other device to the processing unit 41.

表示部44は、液晶ディスプレイ等を用いて構成されており、処理部41の処理に基づいて種々の画像及び文字等を表示する。 The display unit 44 is configured by using a liquid crystal display or the like, and displays various images and characters based on the processing of the processing unit 41.

操作部45は、ユーザの操作を受け付け、受け付けた操作を処理部41へ通知する。例えば操作部45は、機械式のボタン又は表示部44の表面に設けられたタッチパネル等の入力デバイスによりユーザの操作を受け付ける。また例えば操作部45は、マウス及びキーボード等の入力デバイスであってよく、これらの入力デバイスはユーザ端末装置4に対して取り外すことが可能な構成であってもよい。 The operation unit 45 receives a user's operation and notifies the processing unit 41 of the received operation. For example, the operation unit 45 receives a user's operation with an input device such as a mechanical button or a touch panel provided on the surface of the display unit 44. Further, for example, the operation unit 45 may be an input device such as a mouse and a keyboard, and these input devices may be detachable from the user terminal device 4.

また本実施の形態に係るユーザ端末装置4は、記憶部42に記憶されたプログラム42aを処理部41が読み出して実行することにより、表示処理部41a及び質問入力受付部41b等がソフトウェア的な機能部として処理部41に実現される。なおプログラム42aは、本実施の形態に係るFAQシステムに専用のプログラムであってもよく、インターネットブラウザ又はウェブブラウザ等の汎用のプログラムであってもよい。 In the user terminal device 4 according to the present embodiment, the processing unit 41 reads out and executes the program 42a stored in the storage unit 42 so that the display processing unit 41a and the question input receiving unit 41b have software functions. It is realized by the processing unit 41 as a unit. The program 42a may be a program dedicated to the FAQ system according to the present embodiment, or may be a general-purpose program such as an internet browser or a web browser.

表示処理部41aは、表示部44に種々の文字及び画像等を表示する処理を行う。本実施の形態において表示処理部41aは、ネットワークNを介して通信部43にて受信したサーバ装置1からのデータに基づいて、入力質問文に類似する登録済質問文及びその回答文を表示する処理等を行う。 The display processing unit 41a performs a process of displaying various characters and images on the display unit 44. In the present embodiment, the display processing unit 41a displays a registered question sentence and its answer sentence similar to the input question sentence, based on the data from the server device 1 received by the communication unit 43 via the network N. Perform processing, etc.

質問入力受付部41bは、ユーザによる質問文の入力を受け付ける処理を行う。質問入力受付部41bは、操作部45に対するユーザの操作を受け付け、このユーザの操作に基づいて質問文の入力を受け付ける。質問入力受付部41bは、入力を受け付けた入力質問文を、通信部43にてネットワークNを介してサーバ装置1へ送信する。 The question input acceptance unit 41b performs a process of accepting an input of a question sentence by the user. The question input receiving unit 41b receives a user's operation on the operation unit 45, and receives an input of a question sentence based on the user's operation. The question input acceptance unit 41b transmits the input question text, which has been accepted, to the server device 1 via the network N at the communication unit 43.

<質問回答処理>
図8及び図9は、本実施の形態に係るFAQシステムにおいてユーザ端末装置4が表示するFAQ画面の一例を示す模式図である。本実施の形態に係るFAQシステムでは、ユーザ端末装置4にてブラウザプログラム(プログラム42a)を起動して特定のURL(Uniform Resource Locator)へのアクセスを行うことにより、ブラウザ上に図示のFAQ画面が表示され、ユーザはFAQシステムを利用することができる。図8に示すFAQ画面には、ユーザが質問文を入力する入力ボックス111と、入力質問文に類似する登録済質問文を検索するための検索ボタン112とが水平方向に並べて設けられている。ユーザは、ユーザ端末装置4の操作部45を利用して入力ボックス111に任意の質問文を入力することができ、質問文の入力後に検索ボタン112に対するクリック又はタップ操作等を行うことによって入力質問文に類似する登録済質問文を得ることができる。図示の例では、「経費精算の方法は?」という質問文が入力ボックス111に入力されている。
<Question answer processing>
8 and 9 are schematic diagrams showing an example of the FAQ screen displayed by the user terminal device 4 in the FAQ system according to the present embodiment. In the FAQ system according to the present embodiment, the user terminal device 4 activates the browser program (program 42a) to access a specific URL (Uniform Resource Locator), and the FAQ screen shown in the browser is displayed. It is displayed and the user can use the FAQ system. On the FAQ screen shown in FIG. 8, an input box 111 for a user to input a question sentence and a search button 112 for searching a registered question sentence similar to the input question sentence are arranged side by side in the horizontal direction. The user can input an arbitrary question sentence in the input box 111 using the operation unit 45 of the user terminal device 4, and after inputting the question sentence, the input question can be obtained by clicking or tapping the search button 112. It is possible to obtain a registered question sentence that is similar to the sentence. In the example shown in the figure, the question sentence “How to pay the expenses?” is entered in the input box 111.

ユーザ端末装置4は、入力ボックス111に入力された入力質問文を取得し、通信部43にてネットワークを介してサーバ装置1へ入力質問文を送信する。サーバ装置1は、ユーザ端末装置4からの入力質問文を受信し、受信した入力質問文とFAQデータベース2に登録された登録済質問文との類似度を算出する。サーバ装置1は、算出した類似度と記憶部12に記憶された表示閾値とを比較し、類似度が表示閾値を超える登録済質問文を抽出し、この登録済質問文と、これに対応する回答文と、をFAQデータベース2から取得する。サーバ装置1は、取得した一又は複数の登録済質問文及び回答文の組を、質問文の送信元のユーザ端末装置4へ送信する。またサーバ装置1は、ユーザ端末装置4から受信した入力質問文を、受信した時刻及び最大類似度と共に記憶部12の入力質問文記憶部12bに記憶する。ユーザ端末装置4は、サーバ装置1からの登録済質問文及び回答文の組を受信して、FAQ画面に表示する。 The user terminal device 4 acquires the input question text entered in the input box 111, and the communication unit 43 transmits the input question text to the server device 1 via the network. The server device 1 receives the input question text from the user terminal device 4 and calculates the degree of similarity between the received input question text and the registered question text registered in the FAQ database 2. The server device 1 compares the calculated degree of similarity with the display threshold stored in the storage unit 12, extracts the registered question text whose similarity exceeds the display threshold, and responds to this registered question text. The answer sentence and the FAQ database 2 are acquired. The server device 1 transmits the acquired set of one or more registered question texts and answer texts to the user terminal device 4 that is the transmission source of the question texts. In addition, the server device 1 stores the input question text received from the user terminal device 4 in the input question text storage unit 12b of the storage unit 12 together with the received time and the maximum similarity. The user terminal device 4 receives the set of registered question text and answer text from the server device 1 and displays it on the FAQ screen.

図9に示すFAQ画面には、入力ボックス111及び検索ボタン112の下方に、複数の回答ボックス113が上下方向に並べて表示されている。各回答ボックス113には、それぞれFAQデータベース2から取得された一組の登録済質問文及びその回答文が表示される。各回答ボックス111は、左右に2つの領域に区分され、左側の領域に登録済質問文が表示され、右側領域に回答文が表示される。複数組の登録済質問文及び回答文は、例えばサーバ装置1が算出した類似度に基づき、入力済質問文との類似度が高い登録済質問文を含むものから順番に並べて表示される。またFAQ画面に表示される登録済質問文及び回答文の組の数が多い場合には表示数が所定数に制限されてもよく、この場合には、類似度が高いものから順に所定数の登録済質問文及び回答文の組が表示される。これらの表示を行うために、サーバ装置1は、登録済質問文及び回答文の組に対応して類似度等の情報を付してユーザ端末装置4へ送信してもよい。なお、図示のFAQ画面には登録済質問文及び回答文を共に表示しているが、これに限るものではない。FAQ画面には、少なくとも検索された登録済質問文が表示されればよく、登録済質問文に対する回答文は必ずしも表示されなくてよい。例えば、FAQ画面には検索結果として登録済質問文が表示され、表示された登録済質問文に対するユーザの選択操作等に応じて回答文が表示されてもよい。この場合に回答文は、例えばドロップダウン又はダイアログボックス等を用いて表示されてもよい。 On the FAQ screen shown in FIG. 9, a plurality of answer boxes 113 are vertically arranged below the input box 111 and the search button 112. In each answer box 113, a set of registered question texts and their answer texts acquired from the FAQ database 2 are displayed. Each answer box 111 is divided into two areas on the left and right, the registered question text is displayed in the left area, and the answer text is displayed in the right area. The plurality of sets of registered question texts and answer texts are displayed, for example, based on the similarity calculated by the server device 1 in order from the one including the registered question text having a high similarity to the input question text. In addition, when the number of registered question texts and answer texts displayed on the FAQ screen is large, the number of displayed texts may be limited to a predetermined number. A set of registered question text and answer text is displayed. In order to display these, the server device 1 may add information such as the degree of similarity to the set of registered question text and answer text, and transmit the information to the user terminal device 4. Although the registered question text and answer text are both displayed on the illustrated FAQ screen, the present invention is not limited to this. It is sufficient that at least the searched registered question text is displayed on the FAQ screen, and the answer text for the registered question text is not necessarily displayed. For example, the registered question text may be displayed as a search result on the FAQ screen, and the answer text may be displayed in accordance with the user's selection operation for the displayed registered question text. In this case, the answer sentence may be displayed by using, for example, a dropdown or a dialog box.

図10は、本実施の形態に係るサーバ装置1が行う質問回答処理の手順の一例を示すフローチャートである。本実施の形態に係るサーバ装置1の処理部11は、図8に示したFAQ画面を構成するデータを通信部13にてユーザ端末装置4へ送信することにより、ユーザ端末装置4の表示部44にFAQ画面を表示する(ステップS1)。処理部11は、ユーザ端末装置4からの入力質問文の送信の有無に応じて、ユーザによる質問文の入力が行われたか否かを判定する(ステップS2)。質問文の入力が行われていない場合(S2:NO)、処理部11は、ステップS1へ処理を戻し、FAQ画面の表示を継続する。 FIG. 10 is a flowchart showing an example of the procedure of the question answering process performed by the server device 1 according to the present embodiment. The processing unit 11 of the server device 1 according to the present embodiment transmits the data forming the FAQ screen shown in FIG. 8 to the user terminal device 4 via the communication unit 13, thereby displaying the display unit 44 of the user terminal device 4. The FAQ screen is displayed on the screen (step S1). The processing unit 11 determines whether or not the user has input the question text, depending on whether or not the input question text is transmitted from the user terminal device 4 (step S2). When the question text is not input (S2: NO), the processing unit 11 returns the processing to step S1 and continues to display the FAQ screen.

質問文の入力が行われた場合(S2:YES)、処理部11の入力質問文取得部11aは、ユーザ端末装置4からの入力質問文を取得すると共に、記憶部12のFAQデータベース2から登録済質問文のベクトル情報を1つ取得する(ステップS3)。処理部11の質問文類似度算出部11bは、取得した入力質問文に対して汎用言語表現モデル100を用いて算出したベクトル情報と、ステップS3にて取得した登録質問文のベクトル情報とに基づいて、入力質問文と登録済質問文との類似度を算出する(ステップS4)。入力質問文取得部11aは、FAQデータベース2の全ての登録済質問文について入力質問文との類似度の算出を行ったか否かを判定する(ステップS5)。全ての登録済質問文について類似度の算出を行っていない場合(S5:NO)、入力質問文取得部11aは、ステップS3へ処理を戻し、FAQデータベース2から別の登録済質問文のベクトル情報を取得して類似度の算出を繰り返し行う。 When the question text is input (S2: YES), the input question text acquisition unit 11a of the processing unit 11 acquires the input question text from the user terminal device 4 and registers it from the FAQ database 2 of the storage unit 12. One piece of vector information of the completed question sentence is acquired (step S3). The question sentence similarity calculation unit 11b of the processing unit 11 is based on the vector information calculated using the general-purpose language expression model 100 for the obtained input question sentence and the vector information of the registered question sentence obtained in step S3. Then, the similarity between the input question text and the registered question text is calculated (step S4). The input question text acquisition unit 11a determines whether or not the degree of similarity with the input question text has been calculated for all registered question texts in the FAQ database 2 (step S5). When the similarity has not been calculated for all registered question texts (S5: NO), the input question text acquisition unit 11a returns the process to step S3, and the vector information of another registered question text from the FAQ database 2. Is acquired and the calculation of the degree of similarity is repeated.

全ての登録済質問文について入力質問文との類似度の算出を行った場合(S5:YES)、入力質問文取得部11aは、算出した複数の類似度の中から最大類似度を取得する(ステップS6)。入力質問文取得部11aは、ユーザ端末装置4から取得した入力質問文を、この入力質問文を取得した時刻情報及びステップS6にて取得した最大類似度と共に、記憶部12の入力質問文記憶部12bに記憶する(ステップS7)。 When the similarity to the input question text is calculated for all registered question texts (S5: YES), the input question text acquisition unit 11a acquires the maximum similarity from the calculated plurality of similarities ( Step S6). The input question sentence acquisition unit 11a stores the input question sentence acquired from the user terminal device 4, together with the time information at which the input question sentence was acquired and the maximum similarity obtained in step S6. It is stored in 12b (step S7).

処理部11の閾値比較部11cは、記憶部12に記憶された表示閾値と、ステップS3〜S5にて算出された類似度とを比較することによって、表示閾値を超える類似度の登録済質問文と、これに対応する回答文と、をFAQデータベース2から取得する(ステップS8)。回答処理部11gは、ステップS8にて取得した一又は複数の登録済質問文及び回答文の組を、通信部13にてユーザ端末装置4へ送信し(ステップS9)、ユーザ端末装置4にユーザの入力質問文に類似する登録済質問文及びその回答文として表示させて、質問回答処理を修了する。 The threshold comparison unit 11c of the processing unit 11 compares the display threshold stored in the storage unit 12 with the similarity calculated in steps S3 to S5, thereby registering the question text with the similarity exceeding the display threshold. And the corresponding answer sentence are obtained from the FAQ database 2 (step S8). The answer processing unit 11g transmits the set of one or more registered question texts and answer texts acquired in step S8 to the user terminal device 4 through the communication unit 13 (step S9), and the user terminal device 4 uses the user. The registered question text similar to the input question text and its answer text are displayed, and the question answer processing is completed.

<候補質問文出力処理>
本実施の形態に係るFAQシステムの管理者は、管理者端末装置3を利用して、新規の質問文及び回答文をサーバ装置1のFAQデータベース2に登録することができる。このときにサーバ装置1は、図9に示すFAQ画面においてユーザが入力した入力質問文、即ち入力質問文記憶部12bに記憶された入力質問文に基づいて、新規に登録する候補となる候補質問文を抽出し、抽出した一又は複数の候補質問文を示す候補質問文表示画面を管理者端末装置3の表示部34に表示する。
<Candidate question sentence output process>
The administrator of the FAQ system according to this embodiment can use the administrator terminal device 3 to register a new question sentence and answer sentence in the FAQ database 2 of the server device 1. At this time, the server device 1 is a candidate question to be newly registered, based on the input question text input by the user on the FAQ screen shown in FIG. 9, that is, the input question text stored in the input question text storage unit 12b. A sentence is extracted, and a candidate question sentence display screen showing one or a plurality of extracted candidate question sentences is displayed on the display unit 34 of the administrator terminal device 3.

図11は、候補質問文表示画面の一例を示す模式図である。図示の候補質問文表示画面の上部には、候補となる質問文を抽出する条件を管理者が設定するための条件設定部120と、一又は複数の候補質問文を表示する候補質問文表示部130とが設けられている。条件設定部120には、時間フィルタ121、候補閾値設定部122、グループ閾値設定部123及び表示閾値設定部124の4つの設定入力の受付部と、更新ボタン125とが設けられている。 FIG. 11 is a schematic diagram showing an example of the candidate question sentence display screen. In the upper part of the illustrated candidate question sentence display screen, a condition setting unit 120 for the administrator to set conditions for extracting candidate question sentences, and a candidate question sentence display unit for displaying one or more candidate question sentences. And 130 are provided. The condition setting unit 120 is provided with a time filter 121, a candidate threshold value setting unit 122, a group threshold value setting unit 123, and a display threshold value setting unit 124, and an update button 125.

時間フィルタ121は、サーバ装置1の入力質問文記憶部12bに記憶された入力質問文のうち、候補質問文を抽出する対象の期間を設定するためのものである。図示の例では、対象期間として「1日」、「1週間」、「1ヶ月」及び「設定」の4つが選択可能であり、1週間の時間が選択されている。サーバ装置1は、現時点より前に時間フィルタ121にて設定された時間内に入力された入力質問文を、候補質問文の対象とする。なお時間フィルタ121の「設定」は、例えば年月日時間等を指定して管理者が任意の期間を設定するためのものである。「設定」が選択された場合、サーバ装置1は、更に詳細の時間指定の入力を受け付ける画面(図示は省略する)を管理者端末装置3の表示部34に表示して、時間指定の入力を受け付ける。 The time filter 121 is for setting the period for which the candidate question text is extracted from the input question text stored in the input question text storage unit 12b of the server device 1. In the illustrated example, four target periods, "1 day", "1 week", "1 month" and "setting" can be selected, and the time of 1 week is selected. The server device 1 sets the input question text input within the time set by the time filter 121 before the present time as the candidate question text. The “setting” of the time filter 121 is for the administrator to set an arbitrary period by designating, for example, the date and time. When “Setting” is selected, the server device 1 displays a screen (not shown) for accepting further detailed time designation input on the display unit 34 of the administrator terminal device 3 to input the time designation input. Accept.

候補閾値設定部122は、入力質問文を候補質問文とするか否かの判定基準となる候補閾値を設定するためのものである。図示の例では、候補閾値設定部122には、候補閾値を増減させる操作を受け付けるスライドバーと、候補閾値の直接的な入力を受け付ける入力ボックスとが設けられており、候補閾値として0.7の値が設定されている。なお候補閾値は、表示閾値の値を初期値として候補閾値設定部122にその値が設定される。スライドバーは、左右にスライド操作を行うことで候補閾値の増減を行うことができ、最も左側の位置へ移動させることで候補閾値を0に設定し、最も右側の位置へ移動させることで候補閾値を1に設定することができる。スライドバーと入力ボックスとは連動しており、スライドバーを操作することで入力ボックスの数値が増減し、入力ボックスへ数値を入力することでスライドバーの位置が変化する。 The candidate threshold value setting unit 122 is for setting a candidate threshold value serving as a criterion for determining whether or not the input question sentence is a candidate question sentence. In the illustrated example, the candidate threshold value setting unit 122 is provided with a slide bar that accepts an operation to increase or decrease the candidate threshold value and an input box that accepts a direct input of the candidate threshold value. The value is set. The candidate threshold value is set in the candidate threshold value setting unit 122 with the value of the display threshold value as an initial value. The slide bar can increase/decrease the candidate threshold value by performing a left/right slide operation. By moving it to the leftmost position, the candidate threshold value is set to 0, and by moving it to the rightmost position, the candidate threshold value is set. Can be set to 1. The slide bar and the input box are interlocked with each other. By operating the slide bar, the numerical value in the input box increases or decreases, and by inputting the numerical value in the input box, the position of the slide bar changes.

グループ閾値設定部123は、候補質問文をグループ化する際の判定基準となるグループ閾値を設定するためのものである。図示の例では、グループ閾値設定部123には、グループ閾値を増減させる操作を受け付けるスライドバーと、グループ閾値の直接的な入力を受け付ける入力ボックスとが設けられており、グループ閾値として0.6の値が設定されている。スライドバー及び入力ボックスの動作等については、候補閾値設定部122のものと同様である。 The group threshold setting unit 123 is for setting a group threshold serving as a criterion for grouping candidate question sentences. In the illustrated example, the group threshold setting unit 123 is provided with a slide bar that accepts an operation to increase or decrease the group threshold and an input box that accepts a direct input of the group threshold. The value is set. The operations of the slide bar and the input box are the same as those of the candidate threshold value setting unit 122.

表示閾値設定部124は、ユーザ端末装置4にてユーザの入力質問文に類似する登録済質問文及びその回答文を出力する際に、登録済質問文及び回答文の抽出の判定基準となる表示閾値を設定するためのものである。図示の例では、表示閾値設定部124には、表示閾値を増減させる操作を受け付けるスライドバーと、表示閾値の直接的な入力を受け付ける入力ボックスとが設けられており、表示閾値として0.7の値が設定されている。スライドバー及び入力ボックスの動作等については、候補閾値設定部122のものと同様である。なお表示閾値の設定については、候補質問文の表示には直接的に関係がないため、候補質問文表示画面以外の画面で行われてもよい。 The display threshold setting unit 124, when outputting the registered question text and its answer text similar to the user's input question text on the user terminal device 4, displays as a criterion for extracting the registered question text and answer text. It is for setting a threshold value. In the illustrated example, the display threshold setting unit 124 is provided with a slide bar that accepts an operation to increase or decrease the display threshold and an input box that accepts a direct input of the display threshold. The value is set. The operations of the slide bar and the input box are the same as those of the candidate threshold value setting unit 122. Note that the display threshold may be set on a screen other than the candidate question text display screen because it is not directly related to the display of the candidate question text.

上記の時間フィルタ121、候補閾値設定部122及びグループ閾値設定部123にて適宜の設定を行った管理者は、更新ボタン125に対するクリック操作又はタップ操作等を行うことによって、候補質問文の表示、及び、既に表示されている候補質問文の更新を行わせることができる。本実施の形態においては、時間フィルタ121、候補閾値設定部122、グループ閾値設定部123及び表示閾値設定部124に対して設定の操作がなされた場合、管理者端末装置3がこの操作を受け付けて候補質問文表示画面の条件設定部120の表示を更新し、この段階ではサーバ装置1に対して設定値の変更等は通知されない。管理者端末装置3は、更新ボタン125に対する操作を受け付けた場合、その時点で設定されている値をサーバ装置1へ通知する。 The administrator who has appropriately set the time filter 121, the candidate threshold value setting unit 122, and the group threshold value setting unit 123 displays a candidate question sentence by performing a click operation or a tap operation on the update button 125, Also, it is possible to update the already displayed candidate question text. In the present embodiment, when a setting operation is performed on the temporal filter 121, the candidate threshold setting unit 122, the group threshold setting unit 123, and the display threshold setting unit 124, the administrator terminal device 3 accepts this operation. The display of the condition setting unit 120 on the candidate question text display screen is updated, and at this stage, the server device 1 is not notified of the change of the set value or the like. When the administrator terminal device 3 receives the operation on the update button 125, the administrator terminal device 3 notifies the server device 1 of the value set at that time.

サーバ装置1は、更新ボタン125に対する操作に応じた管理者端末装置3からの設定値の通知を受信した場合、受信した設定値に応じて記憶部12の入力質問文記憶部12bから一又は複数の入力質問文を候補質問文として抽出する処理を行う。サーバ装置1は、時間フィルタ121にて設定された時間範囲に入力された入力質問文を、候補質問文の抽出の処理対象とする。次いでサーバ装置1は、処理対象となる入力質問文の最大類似度と、候補閾値設定部122にて設定された候補閾値とを比較することによって、処理対象の入力質問文から候補質問文を抽出する。 When the server device 1 receives the notification of the set value from the administrator terminal device 3 in response to the operation on the update button 125, one or more of the input question sentence storage unit 12b of the storage unit 12 is received according to the received set value. The input question text of is extracted as a candidate question text. The server device 1 sets the input question text input in the time range set by the time filter 121 as the processing target for extracting the candidate question text. Next, the server device 1 extracts the candidate question sentence from the input question sentence to be processed by comparing the maximum similarity of the input question sentence to be processed with the candidate threshold value set by the candidate threshold value setting unit 122. To do.

図12は、入力質問文の最大類似度を説明するための模式図である。本例は、FAQデータベース2に3つの登録済質問文Q1〜Q3が記憶されている場合に、3つの入力質問文q1〜q3について最大類似度を算出したものである。サーバ装置1は、入力質問文q1に対して、3つの登録済質問文Q1〜Q3との類似度をそれぞれ算出する。本例では、入力質問文q1及び登録済質問文Q1の類似度は0.70であり、入力質問文q1及び登録済質問文Q2の類似度は0.21であり、入力質問文q1及び登録済質問文Q3の類似度は0.55である。サーバ装置1は、算出した3つの類似度の中から最大値である0.70を、入力質問文q1の最大類似度とする。同様にしてサーバ装置1は、入力質問文q2の最大類似度を0.85とし、入力質問文q3の最大類似度を0.83とする。なおサーバ装置1による最大類似度の算出は、ユーザ端末装置4から入力質問文を受信し、この入力質問文を記憶部12の入力質問文記憶部12bに記憶する際に行われる。 FIG. 12 is a schematic diagram for explaining the maximum similarity of input question texts. In this example, when the FAQ database 2 stores three registered question sentences Q1 to Q3, the maximum similarity is calculated for the three input question sentences q1 to q3. The server device 1 calculates the degree of similarity between the input question text q1 and the three registered question texts Q1 to Q3. In this example, the similarity between the input question text q1 and the registered question text Q1 is 0.70, the similarity between the input question text q1 and the registered question text Q2 is 0.21, and the input question text q1 and the registration are registered. The similarity degree of the completed question text Q3 is 0.55. The server device 1 sets 0.70, which is the maximum value among the calculated three similarities, as the maximum similarity of the input question sentence q1. Similarly, the server device 1 sets the maximum similarity of the input question text q2 to 0.85 and sets the maximum similarity of the input question text q3 to 0.83. The server apparatus 1 calculates the maximum degree of similarity when receiving the input question text from the user terminal device 4 and storing the input question text in the input question text storage unit 12b of the storage unit 12.

サーバ装置1は、処理対象の入力質問文のうち、最大類似度が候補閾値に満たないものを候補質問文として抽出する。図12に示す例においてサーバ装置1は、候補閾値が0.8であれば入力質問文q1を候補質問文として抽出し、候補閾値が0.9であれば入力質問文q1,q2,q3を候補質問文として抽出する。 The server device 1 extracts, from among the input question texts to be processed, those having the maximum similarity less than the candidate threshold as candidate question texts. In the example shown in FIG. 12, the server device 1 extracts the input question sentence q1 as a candidate question sentence if the candidate threshold value is 0.8, and extracts the input question sentences q1, q2, q3 if the candidate threshold value is 0.9. Extract as a candidate question sentence.

次いでサーバ装置1は、抽出した候補質問文をグループ化する処理を行う。図13及び図14は、候補質問文のグループ化を説明するための模式図である。本例は、5つの候補質問文(入力質問文)q1〜q5が抽出された場合のものである。サーバ装置1は、抽出した候補質問文についてそれぞれの類似度を算出する。本例では候補質問文が5つであるため、5つから2つを選択する組み合わせ、即ち10通りの類似度を算出する必要がある。サーバ装置1は、候補質問文q1について候補質問文q2〜q4との類似度をそれぞれ算出し、候補質問文q2について候補質問文q3〜q5との類似度をそれぞれ算出し、候補質問文q3について候補質問文q4,q5との類似度をそれぞれ算出し、候補質問文q4について候補質問文q5との類似度を算出する。 Next, the server device 1 performs a process of grouping the extracted candidate question sentences. 13 and 14 are schematic diagrams for explaining grouping of candidate question sentences. In this example, five candidate question sentences (input question sentences) q1 to q5 are extracted. The server device 1 calculates the similarity of each of the extracted candidate question texts. In this example, since there are five candidate question sentences, it is necessary to calculate a combination that selects two from five, that is, ten similarities. The server device 1 calculates the degree of similarity between the candidate question sentence q1 and the candidate question sentences q2 to q4, calculates the degree of similarity between the candidate question sentence q2 and the candidate question sentences q3 to q5, and calculates the candidate question sentence q3. The degree of similarity with the candidate question sentences q4 and q5 is calculated, and the degree of similarity with the candidate question sentence q5 is calculated for the candidate question sentence q4.

候補質問文の間の類似度を全て算出した後、サーバ装置1は、グループ閾値設定部123にて設定されたグループ閾値と各類似度との比較を行うことによって、グループ化する候補質問文を決定する。サーバ装置1は、類似度がグループ閾値を超える2つ以上の候補質問文を1つのグループとする。図13にはグループ閾値が0.7である場合のグループ化の例が示されている。本例では、候補質問文q1及びq2の類似度0.84と、候補質問文q1及びq3の類似度0.72と、候補質問文q2及びq3の類似度0.75とがグループ閾値0.7を超えるため、サーバ装置1はこの3つの候補質問文q1〜q3をグループ1としてグループ化する。また候補質問文q4及びq5の類似度0.96がグループ閾値0.7を超えるため、サーバ装置1はこの2つの候補質問文q4及びq5をグループ2としてグループ化する。 After calculating all the similarities between the candidate question texts, the server device 1 compares the group threshold values set by the group threshold value setting unit 123 with the respective similarity degrees to determine the candidate question texts to be grouped. decide. The server device 1 regards two or more candidate question sentences whose similarity exceeds the group threshold as one group. FIG. 13 shows an example of grouping when the group threshold is 0.7. In this example, the similarity of the candidate question sentences q1 and q2 is 0.84, the similarity of the candidate question sentences q1 and q3 is 0.72, and the similarity of the candidate question sentences q2 and q3 is 0.75. Since the number exceeds 7, the server device 1 groups these three candidate question sentences q1 to q3 as a group 1. Further, since the similarity 0.96 of the candidate question texts q4 and q5 exceeds the group threshold value 0.7, the server device 1 groups these two candidate question texts q4 and q5 as a group 2.

図14にはグループ閾値が0.8である場合のグループ化の例が示されている。本例では、候補質問文q1及びq2の類似度0.84がグループ閾値0.8を超えるため、サーバ装置1はこの候補質問文q1及びq2をグループ1としてグループ化する。候補質問文q3には、グループ閾値0.8を超える類似度を有する他の候補質問文が存在しないため、サーバ装置1はこの1つの候補質問文q3をグループ2とする。また候補質問文q4及びq5の類似度0.96がグループ閾値0.8を超えるため、サーバ装置1はこの2つの候補質問文q4及びq5をグループ3としてグループ化する。 FIG. 14 shows an example of grouping when the group threshold is 0.8. In this example, since the similarity 0.84 between the candidate question sentences q1 and q2 exceeds the group threshold value 0.8, the server device 1 groups the candidate question sentences q1 and q2 as a group 1. Since there is no other candidate question text having a similarity exceeding the group threshold of 0.8 in the candidate question text q3, the server device 1 sets this one candidate question text q3 as group 2. Further, since the similarity 0.96 of the candidate question texts q4 and q5 exceeds the group threshold value 0.8, the server device 1 groups these two candidate question texts q4 and q5 as a group 3.

サーバ装置1は、候補閾値に基づいて抽出した一又は複数の候補質問文と、これらをグループ閾値に基づいてグループ化した結果とを管理者端末装置3へ送信する。管理者端末装置3は、サーバ装置1から受信したこれらの情報に基づいて、候補質問文表示画面の候補質問文表示部130に候補質問文をグループ化して表示する。図11に示す例では、候補質問文が2つのグループにグループ分けされて表示されている。管理者端末装置3は、例えば「経費について」、「経費のやり方」、「経費の仕方」及び「経費」等の候補質問文を第1グループとして矩形の領域131にまとめて表示し、例えば「休みについて」等の候補質問文を第2グループとして矩形の領域132にまとめて表示している。 The server device 1 transmits, to the administrator terminal device 3, one or a plurality of candidate question sentences extracted based on the candidate threshold value and a result of grouping these candidate sentence sentences based on the group threshold value. The administrator terminal device 3 groups and displays the candidate question sentences in the candidate question sentence display unit 130 of the candidate question sentence display screen based on the information received from the server device 1. In the example shown in FIG. 11, the candidate question sentences are grouped into two groups and displayed. The administrator terminal device 3 collectively displays candidate question sentences such as “about expense”, “how to spend”, “how to spend”, and “expense” in the rectangular area 131 as a first group. Candidate question sentences such as “about vacation” are collectively displayed in the rectangular area 132 as a second group.

候補として表示するグループが複数存在する場合、サーバ装置1又は管理者端末装置3は、例えばグループに含まれる候補質問文の数が多いものを上位として、また例えば候補質問文の間の類似度の平均値又は最大値等が高いものを上位として、複数のグループを順位付けて表示する。またグループ内に複数の候補質問文が存在する場合、サーバ装置1又は管理者端末装置3は、例えば候補質問文の文字数が多いものを上位として、また例えば候補質問文の最大類似度が高いものを上位として、複数の候補質問文をグループ内で順位付けて表示する。なおこれら順位付けの条件は一例であって、これに限るものではなく、種々の条件が採用され得る。また管理者が表示順位の条件を設定可能な構成であってもよい。表示順位の決定は、サーバ装置1又は管理者端末装置3のいずれが行ってもよい。 When there are a plurality of groups to be displayed as candidates, the server device 1 or the administrator terminal device 3 determines, for example, that the number of candidate question texts included in the group is large, and that the similarity between candidate question texts is high. A plurality of groups are ranked and displayed with the highest average value or the highest value as the upper rank. Further, when there are a plurality of candidate question texts in the group, the server apparatus 1 or the administrator terminal device 3 determines, for example, that the candidate question text having the largest number of characters is the highest rank, and that the candidate question text has the highest similarity, for example. A plurality of candidate question sentences are ranked and displayed in the group, with "." Note that these ranking conditions are merely examples, and the present invention is not limited to these conditions, and various conditions can be adopted. Further, the configuration may be such that the administrator can set the condition of the display order. Either the server device 1 or the administrator terminal device 3 may determine the display order.

候補質問文表示画面において管理者は、候補質問文表示部130に表示された候補質問文もしくはそのグループを選択するか、又は、新規登録ボタン133に対する操作を行うことによって、新たな質問文及び回答文の登録を行うことができる。これらの操作に基づいてサーバ装置1又は管理者端末装置3は、質問文及び回答文の登録を受け付けるための新規登録画面を管理者端末装置3の表示部34に表示する。新規登録画面の表示処理は、サーバ装置1又は管理者端末装置3のいずれにて行われてもよいが、以下ではサーバ装置1が処理を行うものとして説明する。サーバ装置1は候補質問文表示画面における操作に応じて、新規登録画面を表示するためのデータを生成して管理者端末装置3へ送信し、このデータを受信した管理者端末装置3が新規登録画面を表示部34に表示する。 On the candidate question sentence display screen, the administrator selects a candidate question sentence or a group thereof displayed in the candidate question sentence display unit 130 or operates the new registration button 133 to obtain a new question sentence and answer. You can register sentences. Based on these operations, the server device 1 or the administrator terminal device 3 displays a new registration screen for accepting the registration of the question sentence and the answer sentence on the display unit 34 of the administrator terminal device 3. The display process of the new registration screen may be performed by either the server device 1 or the administrator terminal device 3, but in the following description, it is assumed that the server device 1 performs the process. In response to the operation on the candidate question sentence display screen, the server device 1 generates data for displaying the new registration screen and transmits it to the administrator terminal device 3, and the administrator terminal device 3 that received this data newly registers. The screen is displayed on the display unit 34.

図15は、質問文及び回答文の新規登録画面の一例を示す模式図である。図示の新規登録画面は、図11に示した候補質問文表示画面において「経費について」等の質問文を含むグループが選択された場合のものである。例えば、新規登録画面には、候補質問文表示部141、質問文入力欄142、回答文入力欄143、登録ボタン144及びキャンセルボタン145等が設けられている。 FIG. 15 is a schematic diagram showing an example of a new registration screen for question texts and answer texts. The illustrated new registration screen is when the group including the question sentence such as “about expense” is selected on the candidate question sentence display screen shown in FIG. 11. For example, the new registration screen is provided with a candidate question text display unit 141, a question text input field 142, an answer text input field 143, a registration button 144, a cancel button 145, and the like.

新規登録画面の候補質問文表示部141には、候補質問文表示画面において選択された候補質問文が表示される。本例においては、候補質問文表示画面において領域131に表示されていた第1グループの「経費について」等の候補質問文が表示されている。なお、候補質問文表示画面において候補質問文又はグループが選択されず、新規登録ボタン133に対する操作が行われた場合には、新規登録画面の候補質問文表示部141に候補質問文は表示されなくてよい。サーバ装置1は、候補質問文表示画面において候補質問文、グループ又は新規登録ボタン133のいずれに対する操作を受け付けたかに応じて、候補質問文表示部141に候補質問文を表示するか否か及び表示する候補質問文の内容等を決定する。 The candidate question sentence display unit 141 of the new registration screen displays the candidate question sentence selected on the candidate question sentence display screen. In this example, candidate question texts such as “about expense” of the first group displayed in the area 131 on the candidate question text display screen are displayed. When no candidate question sentence or group is selected on the candidate question sentence display screen and the new registration button 133 is operated, the candidate question sentence is not displayed in the candidate question sentence display unit 141 of the new registration screen. You can Whether or not the server device 1 displays the candidate question sentence in the candidate question sentence display unit 141 depending on whether the candidate question sentence, the group, or the new registration button 133 is operated on the candidate question sentence display screen. The contents of the candidate question sentence to be decided are decided.

質問文入力欄142は、管理者が管理者端末装置3の操作部35を利用して任意の文字列を入力することが可能なテキスト入力ボックスであり、管理者が登録しようとする質問文の文章を入力するためのものである。本実施の形態においてサーバ装置1は、候補質問文表示部141に表示した候補質問文の少なくとも1つを、質問文入力欄142にデフォルト値として入力した状態で、新規登録画面を表示する。質問文入力欄142にデフォルト値として表示された質問文は、ユーザの操作により削除又は修正等を行うことが可能である。デフォルト値として表示される質問文は、例えば、グループの先頭に表示された候補質問文であるが、これに限られない。 The question text input field 142 is a text input box in which the administrator can enter an arbitrary character string using the operation unit 35 of the administrator terminal device 3, and the question text to be registered by the administrator is displayed. It is for inputting sentences. In the present embodiment, server device 1 displays the new registration screen in a state where at least one of the candidate question texts displayed in candidate question text display unit 141 has been entered as a default value in question text input field 142. The question text displayed as the default value in the question text input field 142 can be deleted or modified by a user operation. The question text displayed as the default value is, for example, the candidate question text displayed at the head of the group, but is not limited to this.

回答文入力欄143は、管理者が管理者端末装置3の操作部35を利用して任意の文字列を入力することが可能なテキスト入力ボックスであり、質問文入力欄142に入力された質問文に対応する回答文の文章を入力するためのものである。本実施の形態においてサーバ装置1は、質問文入力欄142にデフォルト値として候補質問文を表示した場合、この質問文に最も類似する(類似度が高い)登録済質問文をFAQデータベース2にて検索し、最も類似する登録済質問文に対応する回答文を取得して、この回答文をデフォルト値として回答文入力欄143に表示する。本例では「建て替え費用の清算は、翌月5月締めとなっております。…」の回答文がFAQデータベース2から取得されて回答文入力欄143に表示されている。回答文入力欄143にデフォルト値として表示された回答文は、ユーザの操作により削除又は修正等を行うことが可能である。 The answer text input field 143 is a text input box in which the administrator can enter an arbitrary character string using the operation unit 35 of the administrator terminal device 3, and the question entered in the question text input field 142. It is for inputting the sentence of the answer sentence corresponding to the sentence. In the present embodiment, when the server apparatus 1 displays the candidate question text as the default value in the question text input field 142, the registered question text that is most similar (high in similarity) to this question text is displayed in the FAQ database 2. A search is performed, an answer sentence corresponding to the most similar registered question sentence is acquired, and this answer sentence is displayed in the answer sentence input field 143 as a default value. In this example, the reply sentence “Rebuilding expense settlement is closed in May of the next month.. .” is acquired from the FAQ database 2 and displayed in the reply sentence input field 143. The answer sentence displayed as the default value in the answer sentence input field 143 can be deleted or modified by the user's operation.

登録ボタン144は、質問文入力欄142に入力された質問文と、回答文入力欄143に入力された回答文とを対応付けてFAQデータベース2に登録する操作を受け付ける。登録ボタン144に対する操作がなされた場合、管理者端末装置3は、質問文入力欄142に入力された質問文と、回答文入力欄143に入力された回答文とを取得し、取得した質問文及び回答文をサーバ装置1へ送信する。サーバ装置1は、管理者端末装置3から質問文及び回答文を受信し、受信した質問文及び回答文を対応付けてFAQデータベース2に登録する。 The registration button 144 accepts an operation of associating the question text input in the question text input field 142 with the answer text input in the answer text input field 143 and registering them in the FAQ database 2. When the registration button 144 is operated, the administrator terminal device 3 acquires the question text input to the question text input field 142 and the answer text input to the answer text input field 143, and the acquired question text And the response sentence to the server device 1. The server device 1 receives the question sentence and the answer sentence from the administrator terminal device 3, and registers the received question sentence and the answer sentence in the FAQ database 2 in association with each other.

キャンセルボタン145は、質問文及び回答文の新規の登録を取り消す操作を受け付ける。キャンセルボタン145に対する操作がなされた場合、質問文入力欄142に入力された質問文と、回答文入力欄143に入力された回答文とは破棄され、新規登録画面から候補質問文表示画面に表示が戻る。 The cancel button 145 accepts an operation of canceling new registration of a question sentence and an answer sentence. When the cancel button 145 is operated, the question text entered in the question text input field 142 and the answer text entered in the answer text entry field 143 are discarded and displayed on the candidate question text display screen from the new registration screen. Returns.

また本実施の形態においては、新たな質問文及び回答文をFAQデータベース2に登録した場合、サーバ装置1は、新たに登録した質問文を学習用のデータとして用い、記憶部12に記憶された汎用言語表現モデル100の再学習処理を行う。 Further, in the present embodiment, when a new question sentence and answer sentence are registered in the FAQ database 2, the server device 1 uses the newly registered question sentence as learning data and stores it in the storage unit 12. Re-learning processing of the general-purpose language expression model 100 is performed.

図16は、本実施の形態に係るサーバ装置1が行う登録処理の手順の一例を示すフローチャートである。本実施の形態に係るサーバ装置1の処理部11の候補質問文出力部11dは、入力質問文記憶部12bに記憶された入力質問文の中から、最大類似度が候補閾値に満たない一又は複数の入力質問文を候補質問文として抽出する(ステップS21)。なおこのときに入力質問文は、候補質問文表示画面の時間フィルタ121にて設定された時間範囲内のものに限られる。 FIG. 16 is a flowchart showing an example of a procedure of registration processing performed by the server device 1 according to the present embodiment. The candidate question sentence output unit 11d of the processing unit 11 of the server device 1 according to the present embodiment selects one of the input question sentences stored in the input question sentence storage unit 12b whose maximum similarity is less than the candidate threshold value, or A plurality of input question sentences are extracted as candidate question sentences (step S21). At this time, the input question texts are limited to those within the time range set by the time filter 121 on the candidate question text display screen.

次いで処理部11の質問文類似度算出部11bは、ステップS21にて抽出された複数の候補質問文について、候補質問文の間の類似度を算出する(ステップS22)。処理部11の閾値比較部11cは、ステップS22にて算出された類似度とグループ閾値とを比較することによって、類似度がグループ閾値を超える複数の候補質問文を1つのグループとするグループ化を行う(ステップS23)。 Next, the question sentence similarity calculation unit 11b of the processing unit 11 calculates the similarity between the candidate question sentences for the plurality of candidate question sentences extracted in step S21 (step S22). The threshold comparing unit 11c of the processing unit 11 compares the similarity calculated in step S22 with the group threshold to group the plurality of candidate question sentences having a similarity exceeding the group threshold into one group. Perform (step S23).

候補質問文出力部11dは、ステップS21にて抽出され、ステップS22及びS23にてグループ化された候補質問文を表示する候補質問文表示画面を生成し、この候補質問文表示画面のデータを通信部13にて管理者端末装置3へ送信することにより、候補質問文表示画面を管理者端末装置3の表示部34に表示する(ステップS24)。候補質問文出力部11dは、管理者端末装置3から送信される操作の通知の有無に応じて、候補質問文表示画面の更新ボタン125に対する操作がなされたか否かを判定する(ステップS25)。更新ボタン125に対する操作がなされた場合(S25:YES)、処理部11の閾値入力受付部11eは、候補質問文表示画面の候補閾値設定部122に設定された候補閾値、及び、グループ閾値設定部123に設定されたグループ閾値を取得し(ステップS26)、ステップS21へ処理を戻す。その後に候補質問文出力部11dは、新たに設定された閾値に基づいて候補質問文表示画面の表示を行う。 The candidate question sentence output unit 11d generates a candidate question sentence display screen that displays the candidate question sentences extracted in step S21 and grouped in steps S22 and S23, and communicates the data of the candidate question sentence display screen. The candidate question sentence display screen is displayed on the display unit 34 of the administrator terminal device 3 by transmitting to the administrator terminal device 3 by the unit 13 (step S24). The candidate question statement output unit 11d determines whether or not the update button 125 on the candidate question statement display screen has been operated according to the presence or absence of the operation notification transmitted from the administrator terminal device 3 (step S25). When the update button 125 is operated (S25: YES), the threshold value input receiving unit 11e of the processing unit 11 causes the candidate threshold value set in the candidate threshold value setting unit 122 of the candidate question sentence display screen and the group threshold value setting unit. The group threshold value set to 123 is acquired (step S26), and the process returns to step S21. After that, the candidate question sentence output unit 11d displays the candidate question sentence display screen based on the newly set threshold.

更新ボタン125に対する操作がなされていない場合(S25:NO)、候補質問文出力部11dは、管理者端末装置3から送信される操作の通知の有無に応じて、候補質問文表示画面に表示されたいずれかの候補(候補質問文又はグループ)が選択されるか、又は、新規登録ボタン133に対する新規登録の操作がなされたか否かを判定する(ステップS27)。候補の選択及び新規登録の操作がなされていない場合(S27:NO)、候補質問文出力部11dは、ステップS24へ処理を戻し、候補質問文表示画面の表示を継続する。 When the update button 125 is not operated (S25: NO), the candidate question sentence output unit 11d is displayed on the candidate question sentence display screen according to the presence or absence of the operation notification transmitted from the administrator terminal device 3. It is determined whether any one of the selected candidates (candidate question sentence or group) is selected, or whether a new registration operation is performed on the new registration button 133 (step S27). When the operation of selecting the candidate and the new registration is not performed (S27: NO), the candidate question sentence output unit 11d returns the process to step S24 and continues the display of the candidate question sentence display screen.

候補の選択又は新規登録の操作がなされた場合(S27:YES)、処理部11は、新規登録画面を表示するためのデータを生成し、この新規登録画面のデータを通信部13にて管理者端末装置3へ送信することにより、新規登録画面を管理者端末装置3の表示部34に表示する(ステップS28)。このときに処理部11は、新規登録画面の候補質問文表示部141、質問文入力欄142及び回答文入力欄143に文章を表示するか否かを判定し、表示する場合には適宜の質問文及び回答文をFAQデータベース2等から取得する。 When a candidate is selected or a new registration operation is performed (S27: YES), the processing unit 11 generates data for displaying the new registration screen, and the communication unit 13 uses the data of the new registration screen to the administrator. By transmitting to the terminal device 3, the new registration screen is displayed on the display unit 34 of the administrator terminal device 3 (step S28). At this time, the processing unit 11 determines whether or not to display a sentence in the candidate question sentence display unit 141, the question sentence input field 142, and the answer sentence input field 143 of the new registration screen. Sentences and answer sentences are acquired from the FAQ database 2 or the like.

処理部11は、管理者端末装置3から送信される操作の通知の有無に応じて、新規登録画面の新規登録ボタン133に対する操作がなされたか否かを判定する(ステップS29)。新規登録ボタン133に対する操作がなされていない場合(S29:NO)、処理部11は、ステップS28へ処理を戻し、新規登録画面の表示を継続する。 The processing unit 11 determines whether or not the new registration button 133 on the new registration screen has been operated, depending on whether or not there is a notification of the operation transmitted from the administrator terminal device 3 (step S29). If the new registration button 133 has not been operated (S29: NO), the processing section 11 returns the process to step S28 and continues to display the new registration screen.

新規登録ボタン133に対する操作がなされた場合(S29:YES)、処理部11は、新規登録画面の質問文入力欄142に入力された質問文及び回答文入力欄143に入力された回答文を取得する(ステップS30)。処理部11は、取得した質問文及び回答文を対応付けてFAQデータベース2に登録する(ステップS31)。また処理部11の学習処理部11fは、取得した質問文を用いて記憶部12に記憶された汎用言語表現モデル100の再学習処理を行い(ステップS32)、処理を終了する。 When the operation for the new registration button 133 is performed (S29: YES), the processing unit 11 acquires the question text input in the question text input field 142 and the answer text input in the answer text input field 143 of the new registration screen. Yes (step S30). The processing unit 11 associates the acquired question sentence and answer sentence with each other and registers them in the FAQ database 2 (step S31). Further, the learning processing unit 11f of the processing unit 11 performs the re-learning process of the general-purpose language expression model 100 stored in the storage unit 12 using the acquired question sentence (step S32), and ends the process.

<まとめ>
以上の構成の本実施の形態に係るFAQシステムのサーバ装置1は、ユーザ端末装置4にてユーザが入力した入力質問文を取得し、取得した入力質問文とFAQデータベース2に登録された複数の登録済質問文との類似度をそれぞれ算出する。サーバ装置1は、算出した類似度の最大値である最大類似度と、設定された候補閾値(第1閾値)とを比較し、最大類似度が候補閾値に満たない入力質問文を、登録すべき候補質問文として管理者端末装置3の表示部34に表示する。これによりFAQシステムの管理者は、ユーザが入力した入力質問文の中で、登録済質問文との最大類似度が候補閾値以下の入力質問文を把握し、当該入力質問文及びこれに対応する回答文を新たに登録することができる。
<Summary>
The server device 1 of the FAQ system according to the present embodiment having the above configuration acquires the input question text input by the user at the user terminal device 4, and acquires the input question text acquired and a plurality of registered in the FAQ database 2. The degree of similarity with the registered question text is calculated. The server device 1 compares the maximum similarity, which is the maximum value of the calculated similarities, with the set candidate threshold (first threshold), and registers the input question sentence whose maximum similarity is less than the candidate threshold. It is displayed on the display unit 34 of the administrator terminal device 3 as a candidate question text to be displayed. As a result, the administrator of the FAQ system grasps the input question text having the maximum similarity with the registered question text that is less than or equal to the candidate threshold value among the input question texts input by the user, and responds to the input question text and this. Answer text can be newly registered.

また本実施の形態に係るサーバ装置1は、管理者端末装置3の表示部34に表示した候補質問文表示画面の候補閾値設定部122にて、管理者による候補閾値の入力を受け付け、受け付けた候補閾値に応じた候補質問文を候補質問文表示画面にて出力する。これにより管理者は、候補閾値を適宜に調整し、候補質問文表示画面にて出力される候補質問文の数を適宜に増減することができる。 Further, in the server device 1 according to the present embodiment, the candidate threshold value setting unit 122 of the candidate question sentence display screen displayed on the display unit 34 of the administrator terminal device 3 receives and accepts the input of the candidate threshold value by the administrator. The candidate question text corresponding to the candidate threshold is output on the candidate question text display screen. Thereby, the administrator can appropriately adjust the candidate threshold and appropriately increase or decrease the number of candidate question sentences output on the candidate question sentence display screen.

また本実施の形態に係るサーバ装置1は、複数の候補質問文の間で類似度をそれぞれ算出し、算出した類似度とグループ閾値(第2閾値)とを比較し、類似度がグループ閾値を超える複数の質問文をグループ化して出力する。これにより管理者は、類似する候補質問文の存在、数及び傾向等を容易に把握することができる。 Further, the server device 1 according to the present embodiment calculates the degree of similarity between a plurality of candidate question sentences, compares the calculated degree of similarity with a group threshold value (second threshold value), and determines that the similarity degree is the group threshold value. Output multiple grouped question texts in excess. This allows the administrator to easily grasp the existence, number, tendency, etc. of similar candidate question sentences.

また本実施の形態に係るサーバ装置1は、管理者端末装置3の表示部34に表示した候補質問文表示画面のグループ閾値設定部123にて、管理者によるグループ閾値の入力を受け付け、受け付けたグループ閾値に応じて複数の候補質問文をグループ化して出力する。これにより管理者は、グループ閾値を適宜に調整し、出力されるグループの規模及びグループの数等を適宜に調整することができる。 Further, in the server device 1 according to the present embodiment, the group threshold value setting unit 123 of the candidate question sentence display screen displayed on the display unit 34 of the administrator terminal device 3 receives and receives the input of the group threshold value by the administrator. A plurality of candidate question sentences are grouped and output according to the group threshold. With this, the administrator can appropriately adjust the group threshold and appropriately adjust the scale of the output group, the number of groups, and the like.

また本実施の形態に係るサーバ装置1は、質問文の文章の入力を受け付けて、入力された文章のベクトル情報を出力する汎用言語表現モデル100を記憶部12に記憶している。サーバ装置1は、2つの質問文の入力に応じて汎用言語表現モデル100がそれぞれ出力する2つのベクトル情報に基づき、2つの質問文の類似度を算出する。予め適切に学習がなされた汎用言語表現モデル100を用いることで、サーバ装置1は、質問文の間の類似度を精度よく算出することができ、候補質問文の出力及び候補質問文のグループ化等を精度よく行うことができる。 Further, the server device 1 according to the present embodiment stores in the storage unit 12 the general-purpose language expression model 100 that receives the input of the sentence of the question sentence and outputs the vector information of the input sentence. The server device 1 calculates the degree of similarity between the two question sentences based on the two vector information output by the general-purpose language expression model 100 in response to the input of the two question sentences. By using the general-purpose language expression model 100 that has been appropriately learned in advance, the server device 1 can accurately calculate the similarity between question sentences, output candidate question sentences, and group candidate question sentences. Etc. can be performed accurately.

また本実施の形態に係るサーバ装置1は、管理者端末装置3の表示部34に表示した新規登録画面にて登録する質問文及び回答文の入力を受け付け、入力された質問文及び回答文をFAQデータベース2に登録する。またサーバ装置1は、登録した質問文を用いて汎用言語表現モデル100の再学習を行う。これにより、正式に登録された質問文が汎用言語表現モデル100に反映され、汎用言語表現モデル100を利用して算出する類似度の精度を高めることができる。 Further, the server device 1 according to the present embodiment accepts the input of the question sentence and the answer sentence to be registered on the new registration screen displayed on the display unit 34 of the administrator terminal device 3, and displays the input question sentence and the answer sentence. Register in the FAQ database 2. Further, the server device 1 re-learns the general-purpose language expression model 100 using the registered question sentence. As a result, the officially registered question sentence is reflected in the general-purpose language expression model 100, and the accuracy of the similarity calculated using the general-purpose language expression model 100 can be increased.

また本実施の形態に係るサーバ装置1は、ユーザ端末装置4にてユーザから取得した入力質問文とFAQデータベース2に登録された登録済質問文との類似度をそれぞれ算出し、算出した各類似度と表示閾値(第3閾値)とを比較する。サーバ装置1は、類似度が表示閾値を超える登録済質問文及びその回答文をFAQデータベース2から取得し、ユーザが入力した入力質問文に類似する登録済質問文及びその回答文として、ユーザ端末装置4の表示部44に出力する。これによりサーバ装置1は、ユーザが入力した入力質問文と類似する登録済質問文及びその回答文をユーザに提示することができる。ユーザは、提示された登録済質問文の中から自身の質問を探し、対応する回答文を探すことができる。 Further, the server device 1 according to the present embodiment calculates the similarity between the input question text acquired from the user at the user terminal device 4 and the registered question text registered in the FAQ database 2, and calculates the calculated similarity. The degree is compared with the display threshold (third threshold). The server device 1 acquires the registered question text and the answer text thereof whose similarity exceeds the display threshold from the FAQ database 2, and uses the registered user question text and the answer text similar to the input question text input by the user as the user terminal. It is output to the display unit 44 of the device 4. As a result, the server device 1 can present the registered question text and the answer text similar to the input question text input by the user to the user. The user can search his/her own question from the registered registered question texts and find the corresponding answer text.

なお本実施の形態において示した画面表示、データベースの構成、データベースに記憶された情報及びフローチャートの処理手順等は、一例であってこれに限るものではなく、適宜に設計変更等がなされてよい。 Note that the screen display, the database configuration, the information stored in the database, the processing procedure of the flowchart, and the like shown in the present embodiment are merely examples, and the present invention is not limited to this, and design changes and the like may be appropriately made.

また本実施の形態に係るFAQシステムでは、サーバ装置1が質問文の類似度を算出する処理、類似度と閾値とを比較する処理、並びに、候補質問文を出力する処理等を行っているが、これらの処理は管理者端末装置3が行ってもよい。この場合に管理者端末装置3は、ネットワークNを介した通信によりサーバ装置1のデータベースにアクセスしてもよく、自身がデータベースを保持してもよい。また本実施の形態においては、質問文及び回答文の入力がテキスト形式で行われているが、これに限るものではなく、音声入力により行われてもよい。 Further, in the FAQ system according to the present embodiment, the server device 1 performs the process of calculating the similarity between question sentences, the process of comparing the similarity with a threshold, the process of outputting a candidate question sentence, and the like. The administrator terminal device 3 may perform these processes. In this case, the administrator terminal device 3 may access the database of the server device 1 by communication via the network N, or may maintain the database itself. Further, in the present embodiment, the question sentence and the answer sentence are input in the text format, but the present invention is not limited to this, and may be performed by voice input.

(変形例)
図17は、変形例に係るサーバ装置1による候補閾値の入力受付を説明するための模式図である。変形例に係るサーバ装置1は、例えば図17に示す候補閾値設定画面を管理者端末装置3の表示部34に表示し、管理者からの候補閾値の入力を受け付ける。図示の候補閾値設定画面には、横軸を最大類似度とし、縦軸を入力質問文の数としたグラフが表示されている。このグラフは、入力質問文記憶部12bに記憶された入力質問文について、最大類似度に関する分布を示すものである。グラフには候補閾値を示すバー151が表示されており、管理者は管理者端末装置3の操作部35にてマウスカーソル152を操作することにより、バー151を横軸方向へ移動させ、候補閾値を調整することが可能である。また候補閾値設定画面の下部には設定ボタン153が設けられており、設定ボタン153に対するクリック操作等により設定された候補閾値が反映される。
(Modification)
FIG. 17 is a schematic diagram for explaining input acceptance of a candidate threshold value by the server device 1 according to the modification. The server device 1 according to the modification displays, for example, the candidate threshold value setting screen shown in FIG. 17 on the display unit 34 of the administrator terminal device 3, and receives the input of the candidate threshold value from the administrator. The candidate threshold setting screen shown in the figure displays a graph in which the horizontal axis represents the maximum similarity and the vertical axis represents the number of input question sentences. This graph shows the distribution regarding the maximum similarity for the input question text stored in the input question text storage unit 12b. A bar 151 indicating a candidate threshold value is displayed in the graph, and the administrator operates the mouse cursor 152 on the operation unit 35 of the administrator terminal device 3 to move the bar 151 in the horizontal axis direction to display the candidate threshold value. Can be adjusted. A setting button 153 is provided at the bottom of the candidate threshold setting screen, and the candidate threshold set by a click operation on the setting button 153 or the like is reflected.

変形例に係るサーバ装置1は、入力質問文記憶部12bに記憶された入力質問文のうち、時間フィルタ121にて設定された時間内の入力質問文を取得して、各入力質問文に対応する最大類似度を調べ、最大類似度毎に入力質問文の数をカウントすることによって図17に示す分布のグラフを生成する。サーバ装置1は、生成したグラフを含む候補閾値設定画面のデータを管理者端末装置3へ送信し、管理者端末装置3の表示部34に候補閾値設定画面を表示する。 The server device 1 according to the modification acquires the input question text within the time set by the time filter 121 from the input question texts stored in the input question text storage unit 12b, and responds to each input question text. The maximum similarity is checked, and the distribution graph shown in FIG. 17 is generated by counting the number of input question sentences for each maximum similarity. The server device 1 transmits the data of the candidate threshold value setting screen including the generated graph to the administrator terminal device 3, and displays the candidate threshold value setting screen on the display unit 34 of the administrator terminal device 3.

管理者端末装置3は、候補閾値のバー151に対する移動操作を受け付けて表示を更新すると共に、設定ボタン153に対する操作を受け付けた場合には、その時点でバー151の位置に対応する候補閾値をサーバ装置1へ送信する。サーバ装置1は、管理者端末装置3からの候補閾値を受信することで、管理者による候補閾値の入力を受け付け、受け付けた候補閾値を記憶して以降の候補質問文の抽出に用いる。 When the administrator terminal device 3 receives the operation of moving the bar 151 of the candidate threshold and updates the display, and when the operation of the setting button 153 is received, the administrator terminal device 3 sets the candidate threshold corresponding to the position of the bar 151 to the server at that time. Send to device 1. The server device 1 receives the candidate threshold value from the administrator terminal device 3, accepts the input of the candidate threshold value by the administrator, stores the accepted candidate threshold value, and uses it for subsequent extraction of candidate question sentences.

なお、本変形例では候補閾値の入力について説明したが、サーバ装置1はグループ閾値及び表示閾値についても同様のグラフを表示して設定を受け付けてよい。 In addition, although the input of the candidate threshold value has been described in the present modification, the server device 1 may display a similar graph for the group threshold value and the display threshold value and accept the setting.

今回開示された実施形態はすべての点で例示であって、制限的なものではないと考えられるべきである。本発明の範囲は、上記した意味ではなく、特許請求の範囲によって示され、特許請求の範囲と均等の意味及び範囲内でのすべての変更が含まれることが意図される。 The embodiments disclosed this time are to be considered as illustrative in all points and not restrictive. The scope of the present invention is shown not by the above meaning but by the scope of the claims, and is intended to include meanings equivalent to the scope of the claims and all modifications within the scope.

1 サーバ装置
2 FAQデータベース
3 管理者端末装置
4 ユーザ端末装置
11 処理部
11a 入力質問文取得部
11b 質問文類似度算出部
11c 閾値比較部
11d 候補質問文出力部
11e 閾値入力受付部
11f 学習処理部
11g 回答処理部
12 記憶部
12a サーバプログラム
12b 入力質問文記憶部
13 通信部
31 処理部
31a 表示処理部
31b 閾値入力受付部
31c 登録処理部
32 記憶部
32a プログラム
33 通信部
34 表示部
35 操作部
41 処理部
41a 表示処理部
41b 質問入力受付部
42 記憶部
42a プログラム
43 通信部
44 表示部
45 操作部
99 記録媒体
100 汎用言語表現モデル
N ネットワーク
DESCRIPTION OF SYMBOLS 1 server device 2 FAQ database 3 administrator terminal device 4 user terminal device 11 processing unit 11a input question sentence acquisition unit 11b question sentence similarity calculation unit 11c threshold value comparing unit 11d candidate question sentence output unit 11e threshold value input receiving unit 11f learning processing unit 11g Answer processing unit 12 Storage unit 12a Server program 12b Input question sentence storage unit 13 Communication unit 31 Processing unit 31a Display processing unit 31b Threshold value input receiving unit 31c Registration processing unit 32 Storage unit 32a Program 33 Communication unit 34 Display unit 35 Operation unit 41 Processing unit 41a Display processing unit 41b Question input receiving unit 42 Storage unit 42a Program 43 Communication unit 44 Display unit 45 Operation unit 99 Recording medium 100 General-purpose language expression model N network

Claims (10)

演算処理を行う処理部を有する情報処理装置が、データベースに登録すべき質問文を出力する質問文出力方法であって、
前記処理部が、操作部を介してユーザにより入力された質問文を取得し、
前記処理部が、取得した入力質問文と複数の登録済質問文との類似度をそれぞれ算出し、
前記処理部が、算出した類似度の最大値と第1閾値とを比較し、
前記処理部が、類似度の最大値が前記第1閾値に満たない入力質問文を、登録すべき質問文として表示部に出力する処理を行う
質問文出力方法。
An information processing apparatus having a processing unit that performs arithmetic processing is a question statement output method for outputting a question statement to be registered in a database,
The processing unit acquires the question text input by the user via the operation unit ,
The processing unit calculates the degree of similarity between each of the acquired input question text and a plurality of registered question texts,
The processing unit compares the calculated maximum value of the similarity with the first threshold value,
The processing unit performs a process of outputting an input question sentence whose maximum similarity is less than the first threshold value to the display unit as a question sentence to be registered,
Question sentence output method.
前記処理部が、前記操作部を介して前記第1閾値の入力を受け付け、
前記処理部が、受け付けた前記第1閾値と前記類似度の最大値とを比較し、
前記処理部が、比較結果に応じて出力する質問文を更新する、
請求項1に記載の質問文出力方法。
The processing unit receives an input of the first threshold value via the operation unit ,
The processing unit compares the received first threshold value and the maximum value of the similarity,
The processing unit updates the question text to be output according to the comparison result,
The question sentence output method according to claim 1.
前記処理部が、複数の質問文の間で類似度をそれぞれ算出し、
前記処理部が、算出した類似度と第2閾値とを比較し、
前記処理部が、類似度が前記第2閾値を超える複数の質問文をグループ化して出力する、
請求項1又は請求項2に記載の質問文出力方法。
The processing unit calculates the similarity between each of a plurality of question sentences,
The processing unit compares the calculated similarity and a second threshold,
The processing unit groups and outputs a plurality of question sentences whose similarity exceeds the second threshold value.
The question sentence output method according to claim 1 or 2.
前記処理部が、前記操作部を介して前記第2閾値の入力を受け付け、
前記処理部が、受け付けた前記第2閾値と前記類似度とを比較し、
前記処理部が、比較結果に応じて質問文のグループ化を更新する、
請求項3に記載の質問文出力方法。
The processing unit receives an input of the second threshold value via the operation unit ,
The processing unit compares the received second threshold value with the similarity,
The processing unit updates the grouping of question sentences according to the comparison result,
The question sentence output method according to claim 3.
文章の入力を受け付けて、入力された文章に対応するベクトル情報を出力する学習モデルを前記処理部が用い、質問文の入力に応じて前記学習モデルが出力するベクトル情報に基づき、前記類似度を算出する、
請求項1から請求項4までのいずれか1つに記載の質問文出力方法。
The processing unit uses a learning model that accepts an input of a sentence and outputs vector information corresponding to the input sentence, and based on the vector information output by the learning model in response to the input of a question sentence, the similarity is calculated. calculate,
The question statement output method according to any one of claims 1 to 4.
前記処理部が、前記操作部を介して登録する質問文及び回答文の入力を受け付け、
前記処理部が、受け付けた質問文及び回答文をデータベースに登録し、
前記処理部が、登録した質問文を用いて前記学習モデルを再学習する、
請求項5に記載の質問文出力方法。
The processing unit receives input of a question sentence and an answer sentence to be registered via the operation unit ,
The processing unit registers the accepted question sentence and answer sentence in a database ,
The processing unit re-learns the learning model using the registered question sentence,
The question sentence output method according to claim 5.
前記処理部が、取得した入力質問文と複数の登録済質問文との類似度をそれぞれ算出し、
前記処理部が、算出した類似度と第3閾値とを比較し、
前記処理部が、類似度が前記第3閾値を超える登録済質問文を取得し、
前記処理部が、取得した登録質問文を前記入力質問文に類似する登録済質問文として出力する、
請求項1から請求項6までのいずれか1つに記載の質問文出力方法。
The processing unit calculates the degree of similarity between each of the acquired input question text and a plurality of registered question texts,
The processing unit compares the calculated similarity and a third threshold value,
The processing unit acquires a registered question sentence whose similarity exceeds the third threshold value,
The processing unit outputs the acquired registered question text as a registered question text similar to the input question text,
The question sentence output method according to any one of claims 1 to 6.
コンピュータに、
入力された質問文を取得し、
取得した入力質問文と複数の登録済質問文との類似度をそれぞれ算出し、
算出した類似度の最大値と第1閾値とを比較し、
類似度の最大値が前記第1閾値に満たない入力質問文を、登録すべき質問文として出力する
処理を実行させる、コンピュータプログラム。
On the computer,
Get the input question text,
Calculate the similarity between the acquired input question text and multiple registered question texts,
The calculated maximum value of the similarity is compared with the first threshold value,
A computer program that causes a process of outputting an input question sentence having a maximum degree of similarity less than the first threshold value as a question sentence to be registered.
コンピュータに、
登録済の質問文との類似度の最大値が第1閾値に満たない入力質問文を登録すべき質問文とし、且つ、質問文の間の類似度が第2閾値を超える複数の質問文をグループ化した出力用の情報を他の装置から受信し、
受信した前記情報に基づいて登録すべき質問文を表示し、
前記第1閾値及び前記第2閾値の設定を受け付けて前記他の装置へ送信し、
送信した設定に応じて前記他の装置が更新した登録すべき質問文の出力用の情報を、前記他の装置から受信し、
受信した前記情報に基づいて登録すべき質問文の表示を更新する
処理を実行させる、コンピュータプログラム。
On the computer,
A plurality of question sentences in which the input question sentence whose maximum similarity to the registered question sentence is less than the first threshold value is the question sentence to be registered and whose similarity between question sentences exceeds the second threshold value Receive information for grouped output from other devices,
Display the question text to be registered based on the received information,
Accepting the settings of the first threshold and the second threshold and transmitting them to the other device;
Information for output of the question text to be registered, which is updated by the other device according to the transmitted setting, is received from the other device,
A computer program that executes a process of updating the display of a question message to be registered based on the received information.
入力された質問文を取得する取得部と、
登録済質問文を記憶する記憶部と、
前記取得部が取得した入力質問文、及び、前記記憶部に記憶された複数の登録済質問文の類似度をそれぞれ算出する算出部と、
前記算出部が算出した類似度の最大値及び第1閾値を比較する比較部と、
類似度の最大値が前記第1閾値に満たない入力質問文を、登録すべき質問文として出力する出力部と
を備える、情報処理装置。
An acquisition unit that acquires the entered question text,
A storage unit that stores the registered question text,
An input question text acquired by the acquisition unit, and a calculation unit that calculates the similarity of each of a plurality of registered question texts stored in the storage unit,
A comparison unit that compares the maximum value of the similarity calculated by the calculation unit and a first threshold value;
An information processing apparatus, comprising: an output unit that outputs an input question sentence whose maximum similarity is less than the first threshold value as a question sentence to be registered.
JP2019188075A 2019-10-11 2019-10-11 Question sentence output method, computer program, and information processing apparatus Active JP6714268B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019188075A JP6714268B1 (en) 2019-10-11 2019-10-11 Question sentence output method, computer program, and information processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019188075A JP6714268B1 (en) 2019-10-11 2019-10-11 Question sentence output method, computer program, and information processing apparatus

Publications (2)

Publication Number Publication Date
JP6714268B1 true JP6714268B1 (en) 2020-06-24
JP2021064132A JP2021064132A (en) 2021-04-22

Family

ID=71103994

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019188075A Active JP6714268B1 (en) 2019-10-11 2019-10-11 Question sentence output method, computer program, and information processing apparatus

Country Status (1)

Country Link
JP (1) JP6714268B1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112308370A (en) * 2020-09-16 2021-02-02 湘潭大学 Transform-based subjective question automatic scoring technology for thinking administration courses
CN112966087A (en) * 2021-03-15 2021-06-15 中国美术学院 Intelligent question-answering system and method for inspiration materials
KR20220057040A (en) * 2020-10-29 2022-05-09 충북대학교 산학협력단 Sense vocabulary clustering method for word sense disambiguation and recording medium thereof

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002230012A (en) * 2000-12-01 2002-08-16 Sumitomo Electric Ind Ltd Document clustering device
JP2006268690A (en) * 2005-03-25 2006-10-05 Nec Corp Faq presentation/improvement method, faq presentation/improvement device and faq presentation/improvement program
JP2007241686A (en) * 2006-03-09 2007-09-20 Nec Corp Faq presenting/improving system, faq presenting/improving device, faq presenting/improving method, and program
JP2008071296A (en) * 2006-09-15 2008-03-27 Ricoh Co Ltd Data management device, data management method, and data management program
US20080104065A1 (en) * 2006-10-26 2008-05-01 Microsoft Corporation Automatic generator and updater of faqs
JP7126843B2 (en) * 2018-03-29 2022-08-29 エヌ・ティ・ティ・データ先端技術株式会社 Learning target extraction device, learning target extraction method, and learning target extraction program

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112308370A (en) * 2020-09-16 2021-02-02 湘潭大学 Transform-based subjective question automatic scoring technology for thinking administration courses
CN112308370B (en) * 2020-09-16 2024-03-05 湘潭大学 Automatic subjective question scoring method for thinking courses based on Transformer
KR20220057040A (en) * 2020-10-29 2022-05-09 충북대학교 산학협력단 Sense vocabulary clustering method for word sense disambiguation and recording medium thereof
KR102405938B1 (en) * 2020-10-29 2022-06-03 충북대학교 산학협력단 Sense vocabulary clustering method for word sense disambiguation and recording medium thereof
CN112966087A (en) * 2021-03-15 2021-06-15 中国美术学院 Intelligent question-answering system and method for inspiration materials
CN112966087B (en) * 2021-03-15 2023-10-13 中国美术学院 Intelligent question-answering system and method for inspiration materials

Also Published As

Publication number Publication date
JP2021064132A (en) 2021-04-22

Similar Documents

Publication Publication Date Title
US9251467B2 (en) Probabilistic parsing
JP6714268B1 (en) Question sentence output method, computer program, and information processing apparatus
US20090083261A1 (en) Information display apparatus, information display method, and computer program product
JP6415619B2 (en) Analysis device, analysis method, and program
US20210254994A1 (en) Method and system for providing information to a user relating to a point-of-interest
RU2664481C1 (en) Method and system of selecting potentially erroneously ranked documents with use of machine training algorithm
JP2010079657A (en) Information processor, information processing method, and program
CN106164889A (en) System and method for internal storage data library searching
US20210157977A1 (en) Display system, program, and storage medium
JP6836294B2 (en) Search material information storage device
KR102285142B1 (en) Apparatus and method for recommending learning data for chatbots
KR102594631B1 (en) Clothing sales and design method and apparatus using clothing product recommendation
CN116151263B (en) Multi-mode named entity recognition method, device, equipment and storage medium
CN112352229A (en) Document information evaluation device, document information evaluation method, and document information evaluation program
JP7409061B2 (en) Document management device and document management program
KR102368043B1 (en) Apparatus and method for recommending news of user interest using user-defined topic modeling
JP6457058B1 (en) Intellectual property system, intellectual property support method and intellectual property support program
JP2017228114A (en) Query analysis device, query analysis method and program
JP6941802B1 (en) Search system, search method and search program
JP6710360B1 (en) Registered question sentence determination method, computer program, and information processing device
JP2019061522A (en) Document recommendation system, document recommendation method and document recommendation program
US20160196619A1 (en) Homogenizing time-based seniority signal with transition-based signal
JP2021068111A (en) Electronic device, and method and program for controlling the same
JP2021168055A (en) Information processing device, annotation evaluation program, and annotation evaluation method
JP6968353B2 (en) Feature extraction method, computer program and information processing equipment

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20191011

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20191011

A975 Report on accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A971005

Effective date: 20191018

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200116

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200121

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200225

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: 20200519

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200521

R150 Certificate of patent or registration of utility model

Ref document number: 6714268

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250