JP2019040605A - Feeling interactive method based on humor creation and robot system - Google Patents

Feeling interactive method based on humor creation and robot system Download PDF

Info

Publication number
JP2019040605A
JP2019040605A JP2018158916A JP2018158916A JP2019040605A JP 2019040605 A JP2019040605 A JP 2019040605A JP 2018158916 A JP2018158916 A JP 2018158916A JP 2018158916 A JP2018158916 A JP 2018158916A JP 2019040605 A JP2019040605 A JP 2019040605A
Authority
JP
Japan
Prior art keywords
humor
paragraph
data
user
feedback
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2018158916A
Other languages
Japanese (ja)
Inventor
朱定局
Dingju Zhu
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.)
Daguo Innovation Intelligent Tech Dongguan Co Ltd
Original Assignee
Daguo Innovation Intelligent Tech Dongguan Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Daguo Innovation Intelligent Tech Dongguan Co Ltd filed Critical Daguo Innovation Intelligent Tech Dongguan Co Ltd
Publication of JP2019040605A publication Critical patent/JP2019040605A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/332Query formulation
    • G06F16/3329Natural language query formulation or dialogue systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/36Creation of semantic tools, e.g. ontology or thesauri

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Computational Linguistics (AREA)
  • Mathematical Physics (AREA)
  • Artificial Intelligence (AREA)
  • Human Computer Interaction (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Manipulator (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

To disclose a feeling interactive method based on humor creation and a robot system.SOLUTION: A user's data is acquired, a humor paragraph is created by the user's data and outputted, a user's feeling feedback to the outputted humor paragraph is monitored, when the user's feeling feedback is identified as a default feeling, the outputted humor paragraph is determined to have a humor characteristic, the larger the default feeling level is as a result of identifying the user's feeling feedback, the larger the humor level of the outputted humor paragraph is, when the user's feeling feedback is identified to be a feeling other than the default feeling, the outputted humor paragraph is determined to have no humor characteristic, and the humor paragraph having the humor characteristic, environment information corresponding to the humor paragraph and the humor level are stored in a humor big data knowledge base.SELECTED DRAWING: Figure 1

Description

本発明は感情的な対話型方法とシステム、特にユーモア生成に基づく感情対話方法とシステム、人工知能技術分野に属する。 The present invention belongs to the emotional interactive method and system, particularly the emotion interactive method and system based on humor generation, and the artificial intelligence technical field.

ロボット技術の素早い発展につれて、ユーザーがロボットの機能に対して要求も高まり、感情とユーモアは知恵のロボットの一番重要な内容の一つである。 With the rapid development of robot technology, user demands for robot functions increase, and emotion and humor are one of the most important contents of wisdom robots.

既存の感情計算の主な機能は感情を識別して表現し、既存のユーモア計算の主な機能はユーモアを認識して生成することであり、しかし既存の感情計算技術とユーモア計算技術は結合せず、それぞれに進行する。 The main function of the existing emotion calculation is to identify and express emotions, and the main function of the existing humor calculation is to recognize and generate humor, but the existing emotion calculation technology and humor calculation technology are combined. Without progressing to each.

また、既存のロボットには以下のような問題がある: Existing robots also have the following problems:

1)既存のロボットがユーモア知識ベースを通じてユーモアパラグラフあるいはユーモア成分を取得し、ユーモア知識ベースのユーモアパラグラフと成分の数が限られたるため、ユーモア程度とレベルが低い。 1) Since an existing robot acquires a humor paragraph or humor component through a humor knowledge base and the number of humor paragraphs and components in the humor knowledge base is limited, the level and level of humor are low.

2)既存のロボットが感知、識別、理解、感情表現できるが、人間の感情を予測することができないため、人間の感情を如何に変えられるか知らなくて、ユーザーを喜ばせることもできなく、ユーザーの同じパラグラフへの異なる返事がユーザーにどのような感情が生まれるかロボットには予測できなく、例えば、どんな返事がユーザーの感情をデフォルトさせるか、どんな返事がユーザーを怒らせるか、故に、ロボットはユーザーに特定の感情を生まれるための返事を選択することができない。 2) Although existing robots can sense, identify, understand, and express emotions, but cannot predict human emotions, they do not know how human emotions can be changed and cannot please users. The robot cannot predict what emotions will be generated by the user because of different responses to the same paragraph of the user, for example, what responses will default the user's emotions, what responses will offend the user, and therefore the robot Can't choose a reply to create a particular emotion for the user.

中国特許出願公開第103488293号明細書Chinese Patent Application No. 103488293

本発明の目的は上記の背景技術に提出された問題を解決するためのユーモア生成に基づく感情対話方法を提供し、この方法はユーモアを通じてユーザーの感情を生成触発して変えられ、且つ感情識別を通じてユーモア効果をテストし、その上でさらに返事をしてユーザーに特定の感情を生ませる。   The object of the present invention is to provide an emotion interaction method based on humor generation for solving the problems submitted to the background art described above, which method can be inspired and changed by user's emotion generation through humor and through emotion identification Test the humor effect, and then answer further to generate specific emotions for the user.

本発明のもう一つの目的はユーモア生成に基づく感情対話方法とロボットシステムを提供することである。 Another object of the present invention is to provide an emotion dialogue method and robot system based on humor generation.

本発明の目的は下記の技術プランで達成することができる: The objectives of the present invention can be achieved with the following technical plan:

ユーモア生成に基づく感情対話方法であって、前記方法はロボットに応用され、以下を含む:
ユーザーのデータを取得し、
ユーザーのデータによって、ユーモアパラグラフを生成して出力し、
出力されたユーモアパラグラフへのユーザーの感情フィードバックを監視し、
ユーザーの感情フィードバックがデフォルト感情に識別されると、出力されたユーモアパラグラフがユーモアの特性を持っていると断じ、ユーザーの感情フィードバック識別の結果でデフォルト感情レベルが大きいほど、出力されたユーモアパラグラフのユーモアレベルが大きくなり、
ユーザーの感情フィードバックがデフォルト感情以外の感情に識別されると、出力されたユーモアパラグラフがユーモアの特性を持ってないと断じ、
ユーモアの特性を持っているユーモアパラグラフ、該当ユーモアパラグラフに対応する環境情報、該当ユーモアパラグラフのユーモアレベルおよび該当ユーモアパラグラフに対するユーザーの感情フィードバックをユーモアビッグデータ知識ベースに保存する。
An emotional dialogue method based on humor generation, which method is applied to a robot and includes:
Get user data,
Generate and output humor paragraphs based on user data,
Monitor the user's emotional feedback to the output humor paragraph,
When the user's emotion feedback is identified as the default emotion, the output humor paragraph is judged to have humor characteristics, and the higher the default emotion level in the user's emotion feedback identification result, the greater the output humor paragraph. The level of humor increases,
If the user ’s emotional feedback is identified as an emotion other than the default emotion, the output humor paragraph will refrain from having humor characteristics,
A humor paragraph having humor characteristics, environmental information corresponding to the humor paragraph, a humor level of the humor paragraph, and a user's emotion feedback for the humor paragraph are stored in a humor big data knowledge base.

さらに、前記ユーザーのデータによって、ユーモアパラグラフを生成して出力することは、具体的に以下を含む:
ユーザーのデータから一部のデータを第一小データとして抽出し、もう一部のデータを第二小データとして抽出し、
ビッグデータを取得し、
ビッグデータから第一小データに関わるデータを得てクリーニングして第一相関データセットとし、
第一相関データセットから第一小データとの正相関度がデフォルト正相関度しきい値より大きいパラグラフをマイニングし、マイニングされたパラグラフおよびその正相関度を正相関パラグラフ集合に保存し、
正相関パラグラフ集合から第二小データとの負相関度がデフォルト負相関度しきい値より大きいパラグラフをマイニングし、マイニングされたパラグラフおよびその正相関度と負相関度を正負相関パラグラフ集合に保存し、
正負相関パラグラフ集合の各パラグラフが対応する正相関度と負相関度により、該当パラグラフのユーモアレベルを計算し、ユーモアレベルがデフォルトユーモアしきい値より大きいパラグラフをユーモアパラグラフ集合に保存し、
ユーモアパラグラフ集合からユーモアレベルの一番大きいユーモアパラグラフを選択し、該当ユーモアパラグラフを出力する。
Further, generating and outputting a humor paragraph based on the user's data specifically includes:
Extract some data from the user ’s data as the first small data, and some other data as the second small data,
Get big data,
Obtain the data related to the first small data from the big data and clean it to make the first correlation data set,
Mining a paragraph in which the positive correlation with the first small data from the first correlation data set is greater than the default positive correlation threshold, storing the mined paragraph and its positive correlation in a positive correlation paragraph set,
Mining a paragraph whose negative correlation with the second small data is greater than the default negative correlation threshold from the positive correlation paragraph set and storing the mined paragraph and its positive and negative correlation degrees in the positive and negative correlation paragraph set ,
Calculate the humor level of the corresponding paragraph based on the positive correlation and negative correlation corresponding to each paragraph of the positive / negative correlation paragraph set, and save the paragraph whose humor level is higher than the default humor threshold in the humor paragraph set,
The humor paragraph with the highest humor level is selected from the humor paragraph set, and the corresponding humor paragraph is output.

さらに、前記ユーザーのデータによって、ユーモアパラグラフを生成して出力することは、具体的に以下を含む:
ユーザーのデータから一部のデータを第一小データとして抽出し、もう一部のデータを第二小データとして抽出し、
ビッグデータを取得し、
ビッグデータから第一小データに関わるデータを得てクリーニングして第一相関データセットとし、
第一相関データセットから第二小データとの負相関度がデフォルト負相関度しきい値より大きいパラグラフをマイニングし、マイニングされたパラグラフおよびその負相関度を負相関パラグラフ集合に保存し、
負相関パラグラフ集合から第一小データとの正相関度がデフォルト負相関度しきい値より大きいパラグラフをマイニングし、マイニングされたパラグラフおよびその負相関度と正相関度を負正相関パラグラフ集合に保存し、
負正相関パラグラフ集合の各パラグラフが対応する負相関度と正相関度に基づき、該当パラグラフのユーモアレベルを計算し、ユーモアレベルがデフォルトユーモアしきい値より大きいパラグラフをユーモアパラグラフ集合に保存し、
ユーモアパラグラフ集合からユーモアレベルの一番大きいユーモアパラグラフを選択し、該当ユーモアパラグラフを出力する。
Further, generating and outputting a humor paragraph based on the user's data specifically includes:
Extract some data from the user ’s data as the first small data, and some other data as the second small data,
Get big data,
Obtain the data related to the first small data from the big data and clean it to make the first correlation data set,
Mining a paragraph in which the negative correlation with the second small data from the first correlation data set is greater than the default negative correlation threshold, storing the mined paragraph and its negative correlation in a negative correlation paragraph set,
Mines the negative correlation paragraph set that has a positive correlation with the first small data that is greater than the default negative correlation threshold, and saves the mined paragraph and its negative and positive correlation degrees in the negative positive correlation paragraph set. And
Calculate the humor level of the corresponding paragraph based on the negative correlation and the positive correlation corresponding to each paragraph of the negative positive correlation paragraph set, and save the paragraph whose humor level is higher than the default humor threshold in the humor paragraph set,
The humor paragraph with the highest humor level is selected from the humor paragraph set, and the corresponding humor paragraph is output.

さらに、前記方法は以下を含む:
ユーモアビッグデータ知識ベース内のデータ及び過去毎回異なる返事への異なるタイプのユーザーのデフォルト感情以外の感情フィードバックに基づいて、過去毎回異なる返事への異なるタイプのユーザーの感情フィードバック関連情報を取得し、その中に、前記感情フィードバック関連情報はユーザー情報、返事内容、感情フィードバック内容と感情フィードバックタイプを含み、
過去毎回異なる返事への異なるタイプのユーザーの感情フィードバック関連情報を感情フィードバックビッグデータに保存し、
返事待ちのユーザー情報を取得し、返事待ちのユーザーへの候補返事集合を取得し、
予期ユーザー感情フィードバックを取得し、
感情フィードバックビッグデータから返事待ちのユーザー情報及び返事待ちのユーザーへの候補返事集合内の返事内容に最もマッチングするすべての感情フィードバック記録を検索し、
感情フィードバック記録から感情フィードバックを抽出し、感情フィードバックと予期ユーザー感情フィードバックとの一致度を計算し、
感情フィードバックと予期ユーザー感情フィードバックとの一番大きい一致度に対応する感情フィードバック記録に基づいて、該当感情フィードバック記録の対応する返事内容を取得し、該当返事内容を返事待ちのユーザーへの返事とする。
Further, the method includes:
Based on the data in the humor big data knowledge base and the emotion feedback other than the default emotion of different types of users to different responses each time in the past, the emotion feedback related information of different types of users to different responses in the past is obtained and The emotion feedback related information includes user information, reply content, emotion feedback content and emotion feedback type,
Store emotional feedback related information of different types of users for different responses in the past in emotion feedback big data,
Get user information waiting for a reply, get a candidate reply set for users waiting for a reply,
Get anticipatory user sentiment feedback,
Find all sentiment feedback records that most closely match the sentiment feedback big data to the user information awaiting reply and the reply content in the candidate reply set to the waiting reply user,
Extract emotional feedback from emotional feedback records, calculate the degree of agreement between emotional feedback and expected user emotional feedback,
Based on the emotion feedback record corresponding to the greatest degree of agreement between the emotion feedback and the expected user emotion feedback, the corresponding response content of the emotion feedback record is obtained and the corresponding response content is returned to the user waiting for the response .

さらに、前記感情フィードバックビッグデータからユーザー情報、候補返事集合内の返事内容に最も一致するすべての感情フィードバック記録を検索することは、具体的には:
感情フィードバックビッグデータ中の各感情フィードバック記録のユーザー情報、返事内容を返事待ちのユーザー情報、返事待ちのユーザーへの候補返事集合内の返事内容にマッチングさせ、各感情フィードバック記録と返事待ちのユーザー情報、返事待ちのユーザーへの候補返事集合との一致度を取得し、その中から一番大きい一致度の対応する感情フィードバック記録を選択し、返事待ちのユーザー情報や返事待ちのユーザーへの候補返事集合に最も一致する感情フィードバック記録とする。
In addition, searching for all emotion feedback records that most closely match the user information and the reply content in the candidate reply set from the emotion feedback big data, specifically:
User information for each emotional feedback record in emotional feedback big data, match the response content to the user information waiting for the response, the response content in the candidate answer set for the user waiting for the response, each emotion feedback record and the user information waiting for the response , Get the degree of match with the candidate reply set for the user waiting for reply, select the corresponding emotion feedback record with the largest match from among them, select the user information waiting for reply and the candidate reply to the user waiting for reply The emotional feedback record that best matches the set.

本発明のもう一つの目的は下記の技術プランで達成できる: Another object of the invention can be achieved with the following technical plan:

ユーモア生成に基づく感情対話方法とロボットシステムであって、前記システムはユーザーデータ取得モジュール、ユーモアパラグラフ生成出力モジュール、感情フィードバック監視モジュール、第一判断モジュール、第二判断モジュール及びユーモアビッグデータ知識ベース取得モジュールを含み、
前記ユーザーデータ取得モジュールは、ユーザーのデータを取得し、
前記ユーモアパラグラフ生成出力モジュールは、ユーザーのデータによって、ユーモアパラグラフを生成して出力し、
前記感情フィードバック監視モジュールは、出力されたユーモアパラグラフへのユーザーの感情フィードバックを監視し、
前記第一判断モジュールは、ユーザーの感情フィードバックがデフォルト感情に識別されると、出力されたユーモアパラグラフがユーモアの特性を持っていると断じ、ユーザーの感情フィードバック識別の結果でデフォルト感情レベルが大きいほど、出力されたユーモアパラグラフのユーモアレベルが大きくなり、
前記第二判断モジュールは、ユーザーの感情フィードバックがデフォルト感情以外の感情に識別されると、出力されたユーモアパラグラフがユーモアの特性を持ってないと断じ、
前記ユーモアビッグデータ知識ベース取得モジュールは、ユーモアの特性を持っているユーモアパラグラフ、該当ユーモアパラグラフに対応する環境情報、該当ユーモアパラグラフのユーモアレベルおよび該当ユーモアパラグラフに対するユーザーの感情フィードバックをユーモアビッグデータ知識ベースに保存する。
Emotion interaction method and robot system based on humor generation, said system comprising user data acquisition module, humor paragraph generation output module, emotion feedback monitoring module, first determination module, second determination module and humor big data knowledge base acquisition module Including
The user data acquisition module acquires user data,
The humor paragraph generation / output module generates and outputs a humor paragraph according to user data,
The emotion feedback monitoring module monitors the user's emotion feedback to the output humor paragraph,
When the user's emotional feedback is identified as the default emotion, the first determination module determines that the output humor paragraph has humor characteristics, and the user's emotional feedback identification results in a high default emotion level. The higher the humor level of the output humor paragraph,
The second determination module determines that the output humor paragraph has no humor characteristic when the user's emotion feedback is identified as an emotion other than the default emotion,
The humor big data knowledge base acquisition module includes humor paragraphs having humor characteristics, environmental information corresponding to the humor paragraphs, humor levels of the humor paragraphs, and user emotion feedback to the humor paragraphs. Save to.

さらに、前記ユーモアパラグラフ生成出力モジュールは小データ抽出ユニット、ビッグデータ取得ユニット、第一相関データセット取得ユニット、正相関パラグラフ集合取得ユニット、正負相関パラグラフ集合取得ユニット、ユーモアパラグラフ集合取得ユニット及びユーモアパラグラフ出力ユニットを含み、
前記小データ抽出ユニットは、ユーザーのデータから一部のデータを第一小データとして抽出し、また一部のデータを第二小データとして抽出し、
前記ビッグデータ取得ユニットは、ビッグデータを取得し、
前記第一相関データセット取得ユニットは、ビッグデータから第一小データに関わるデータを得てクリーニングして第一相関データセットとし、
前記正相関パラグラフ集合取得ユニットは、第一相関データセットから第一小データとの正相関度がデフォルト正相関度しきい値より大きいパラグラフをマイニングし、マイニングされたパラグラフおよびその正相関度を正相関パラグラフ集合に保存し、
前記正負相関パラグラフ集合取得ユニットは、正相関パラグラフ集合から第二小データとの負相関度がデフォルト負相関度しきい値より大きいパラグラフをマイニングし、マイニングされたパラグラフおよびその正相関度と負相関度を正負相関パラグラフ集合に保存し、
前記ユーモアパラグラフ集合取得ユニットは、正負相関パラグラフ集合の各パラグラフが対応する正相関度と負相関度により、該当パラグラフのユーモアレベルを計算し、ユーモアレベルがデフォルトユーモアしきい値より大きいパラグラフをユーモアパラグラフ集合に保存し、
前記ユーモアパラグラフ出力ユニットは、ユーモアパラグラフ集合からユーモアレベルの一番大きいユーモアパラグラフを選択し、該当ユーモアパラグラフを出力する。
Further, the humor paragraph generation output module includes a small data extraction unit, a big data acquisition unit, a first correlation data set acquisition unit, a positive correlation paragraph set acquisition unit, a positive / negative correlation paragraph set acquisition unit, a humor paragraph set acquisition unit, and a humor paragraph output Including units,
The small data extraction unit extracts some data from the user's data as first small data, and extracts some data as second small data,
The big data acquisition unit acquires big data,
The first correlation data set acquisition unit obtains data related to the first small data from the big data and cleans it to obtain a first correlation data set,
The positive correlation paragraph set acquisition unit mines the paragraph in which the positive correlation with the first small data from the first correlation data set is greater than the default positive correlation threshold, and corrects the mined paragraph and its positive correlation. Save in a set of correlated paragraphs,
The positive / negative correlation paragraph set acquisition unit mines a paragraph whose negative correlation with the second small data is larger than the default negative correlation threshold from the positive correlation paragraph set, and the mined paragraph and its positive correlation and negative correlation Store degrees in a positive and negative correlation paragraph set,
The humor paragraph set acquisition unit calculates the humor level of the corresponding paragraph based on the positive correlation and the negative correlation corresponding to each paragraph of the positive / negative correlation paragraph set, and the humor level is greater than the default humor threshold. Save it in a collective,
The humor paragraph output unit selects a humor paragraph having the highest humor level from the set of humor paragraphs, and outputs the corresponding humor paragraph.

さらに、前記ユーモアパラグラフ生成出力モジュールは、小データ抽出ユニット、ビッグデータ取得ユニット、第一相関データセット取得ユニット、負相関パラグラフ集合取得ユニット、負正相関パラグラフ集合取得ユニット、ユーモアパラグラフ集合取得ユニット及びユーモアパラグラフ出力ユニットを含み、
前記小データ抽出ユニットは、ユーザーのデータから一部のデータを第一小データとして抽出し、また一部のデータを第二小データとして抽出し、
前記ビッグデータ取得ユニットは、ビッグデータを取得し、
前記第一相関データセット取得ユニットは、ビッグデータから第一小データに関わるデータを得てクリーニングして第一相関データセットとし、
前記負相関パラグラフ集合取得ユニットは、第一相関データセットから第二小データとの負相関度がデフォルト負相関度しきい値より大きいパラグラフをマイニングし、マイニングされたパラグラフおよびその負相関度を負相関パラグラフ集合に保存し、
前記負正相関パラグラフ集合取得ユニットは、負相関パラグラフ集合から第一小データとの正相関度がデフォルト正相関度しきい値より大きいパラグラフをマイニングし、マイニングされたパラグラフおよびその負相関度と正相関度を負正相関パラグラフ集合に保存し、
前記ユーモアパラグラフ集合取得ユニットは、負正相関パラグラフ集合の各パラグラフが対応する負相関度と正相関度に基づき、該当パラグラフのユーモアレベルを計算し、ユーモアレベルがデフォルトユーモアしきい値より大きいパラグラフをユーモアパラグラフ集合に保存し、
前記ユーモアパラグラフ出力ユニットは、ユーモアパラグラフ集合からユーモアレベルの一番大きいユーモアパラグラフを選択し、該当ユーモアパラグラフを出力する。
The humor paragraph generation / output module includes a small data extraction unit, a big data acquisition unit, a first correlation data set acquisition unit, a negative correlation paragraph set acquisition unit, a negative positive correlation paragraph set acquisition unit, a humor paragraph set acquisition unit, and a humor Including a paragraph output unit,
The small data extraction unit extracts some data from the user's data as first small data, and extracts some data as second small data,
The big data acquisition unit acquires big data,
The first correlation data set acquisition unit obtains data related to the first small data from the big data and cleans it to obtain a first correlation data set,
The negative correlation paragraph set acquisition unit mines a paragraph in which the negative correlation with the second small data from the first correlation data set is greater than the default negative correlation threshold, and negatives the mined paragraph and its negative correlation. Save in a set of correlated paragraphs,
The negative positive correlation paragraph set acquisition unit mines a paragraph in which the positive correlation degree with the first small data is larger than the default positive correlation degree threshold from the negative correlation paragraph set, the mined paragraph and its negative correlation degree and the positive correlation degree. Save the degree of correlation in the negative positive correlation paragraph set,
The humor paragraph set acquisition unit calculates a humor level of a corresponding paragraph based on a negative correlation level and a positive correlation level corresponding to each paragraph of the negative positive correlation paragraph set, and calculates a humor level greater than a default humor threshold. Save it in a humor paragraph set,
The humor paragraph output unit selects a humor paragraph having the highest humor level from the set of humor paragraphs, and outputs the corresponding humor paragraph.

さらに、前記システムは、感情フィードバック関連情報取得モジュール、感情フィードバックビッグデータ取得モジュール、候補返事集合取得モジュール、予期ユーザー感情フィードバック取得モジュール、感情フィードバック記録検索モジュール、一致度計算モジュール及び返事内容取得モジュールを含み、
前記感情フィードバック関連情報取得モジュールは、ユーモアビッグデータ知識ベース内のデータ及び過去毎回異なる返事への異なるタイプのユーザーのデフォルト感情以外の感情フィードバックに基づいて、過去毎回異なる返事への異なるタイプのユーザーの感情フィードバック関連情報を取得し、その中に、前記感情フィードバック関連情報はユーザー情報、返事内容、感情フィードバック内容と感情フィードバックタイプを含み、
前記感情フィードバックビッグデータ取得モジュールは、過去毎回異なる返事への異なるタイプのユーザーの感情フィードバック関連情報を感情フィードバックビッグデータに保存し、
前記候補返事集合取得モジュールは、返事待ちのユーザー情報を取得し、返事待ちのユーザーへの候補返事集合を取得し、
前記予期ユーザー感情フィードバック取得モジュールは、予期ユーザー感情フィードバックを取得し、
前記感情フィードバック記録検索モジュールは、感情フィードバックビッグデータから返事待ちのユーザー情報及び返事待ちのユーザーへの候補返事集合内の返事内容に最もマッチングするすべての感情フィードバック記録を検索し、
前記一致度計算モジュールは、感情フィードバック記録から感情フィードバックを抽出し、感情フィードバックと予期ユーザー感情フィードバックとの一致度を計算し、
前記返事内容取得モジュールは、感情フィードバックと予期ユーザー感情フィードバックとの一番大きい一致度に対応する感情フィードバック記録に基づいて、該当感情フィードバック記録が対応する返事内容を取得し、該当返事内容を返事待ちのユーザーへの返事とする。
Further, the system includes an emotion feedback related information acquisition module, an emotion feedback big data acquisition module, a candidate answer set acquisition module, an expected user emotion feedback acquisition module, an emotion feedback record search module, a matching score calculation module, and an answer content acquisition module ,
The sentiment feedback related information acquisition module is based on data in the humor big data knowledge base and sentiment feedback other than the default sentiment of different types of users to different responses each time in the past, based on different types of users' responses to different responses in the past. Emotion feedback related information is acquired, and the emotion feedback related information includes user information, reply content, emotion feedback content and emotion feedback type.
The emotion feedback big data acquisition module stores emotion feedback related information of different types of users to different responses each time in the past in emotion feedback big data,
The candidate answer set acquisition module acquires user information waiting for a reply, acquires a candidate answer set for a user waiting for a reply,
The anticipation user emotion feedback acquisition module acquires anticipation user emotion feedback,
The sentiment feedback record search module searches all sentiment feedback records that most closely match the reply information in the candidate answer set to the waiting user information and the waiting reply user information from the sentiment feedback big data,
The coincidence calculation module extracts emotion feedback from the emotion feedback record, calculates the agreement between the emotion feedback and the expected user emotion feedback,
The reply content acquisition module acquires the reply content corresponding to the corresponding emotion feedback record based on the emotion feedback record corresponding to the greatest degree of coincidence between the emotion feedback and the expected user emotion feedback, and waits for the corresponding reply content Answer to the user.

さらに、前記感情フィードバック記録検索モジュールは、具体的には:
感情フィードバックビッグデータ中の各感情フィードバック記録のユーザー情報、返事内容を返事待ちのユーザー情報、返事待ちのユーザーへの候補返事集合内の返事内容にマッチングさせ、各感情フィードバック記録と返事待ちのユーザー情報、返事待ちのユーザーへの候補返事集合との一致度を取得し、その中から一番大きい一致度の対応する感情フィードバック記録を選択し、返事待ちのユーザー情報や返事待ちのユーザーへの候補返事集合に最も一致する感情フィードバック記録とする。
Further, the emotion feedback record retrieval module is specifically:
User information for each emotional feedback record in emotional feedback big data, match the response content to the user information waiting for the response, the response content in the candidate answer set for the user waiting for the response, each emotion feedback record and the user information waiting for the response , Get the degree of match with the candidate reply set for the user waiting for reply, select the corresponding emotion feedback record with the largest match from among them, select the user information waiting for reply and the candidate reply to the user waiting for reply The emotional feedback record that best matches the set.

本発明が既存の技術にとって以下の有益効果を持っている: The present invention has the following beneficial effects on existing technologies:

1、本発明はユーモアパラグラフの出力を通じて、ユーザーの感情を触発して変え、且つ出力されたユーモアパラグラフへのユーザーの感情フィードバックを監視し、即ち感情識別でユーモアの効果を検証し、ユーザーにフィードバックされた感情の識別結果がデフォルト感情に対応するユーモアパラグラフであることからユーモアの特徴を持っていると断じ、ユーモアの特徴を持っているユーモアパラグラフおよびその関連情報をユーモアビッグデータ知識ベースに保存し、将来ユーモアビッグデータ知識ベースを通じて、ユーモアパラグラフを選択し、それによって、ロボットのユーモア生成能力を向上させる。 1. The present invention inspired and changed the user's emotion through the output of the humor paragraph, and monitored the user's emotion feedback to the output humor paragraph, that is, verified the effect of humor by emotion identification and fed back to the user The identified humor paragraph is a humor paragraph corresponding to the default emotion, so it is determined that it has humor characteristics, and the humor paragraph having humor characteristics and related information are stored in the humor big data knowledge base. Then select a humor paragraph through the future humor big data knowledge base, thereby improving the robot's ability to generate humor.

2、本発明は、まず、ビッグデータと第一小データに対して正相関分析を行い、正相関パラグラフ集合を取得し、正相関パラグラフ集合から第二小データと負相関するパラグラフをマイニングし、マイニングされたパラグラフおよびその対応する正相関度と負相関度を正負相関パラグラフ集合に保存し、正負相関パラグラフ集合によりユーモアパラグラフ集合を取得し、ユーモアパラグラフ集合からユーモアレベルの一番大きいユーモアパラグラフを選択し、ロボットのユーモアレベルを向上させ、また正相関と負相関を行ったパラグラフが同じであるため、該当パラグラフが合理的且つおかしく、ユーモラスな効果が出て、それから後続ステップのユーザー感情識別により、出力されたユーモアパラグラフを選別し、ユーモアビッグデータ知識ベースにより良い選択肢を提供し、さらにロボットのユーモア生成能力を向上させる。 2. The present invention first performs a positive correlation analysis on the big data and the first small data, obtains a positive correlation paragraph set, mines a paragraph negatively correlated with the second small data from the positive correlation paragraph set, Save the mined paragraphs and their corresponding positive and negative correlation degrees in the positive and negative correlation paragraph set, get the humor paragraph set by the positive and negative correlation paragraph set, and select the humor paragraph with the highest humor level from the humor paragraph set However, the humor level of the robot is improved, and the positive and negative correlation paragraphs are the same, so the relevant paragraph is rational and funny, and has a humorous effect. Sort the output humor paragraphs, humor big data It provides a good choice by identification based, to further improve the humor generating capability of the robot.

3、本発明は、まず、ビッグデータと第二小データに対して負相関分析を行い、負相関パラグラフ集合を取得し、負相関パラグラフ集合から第二小データと正相関するパラグラフをマイニングし、マイニングされたパラグラフおよびその対応する負相関度と正相関度を負正相関パラグラフ集合に保存し、負正相関パラグラフ集合によりユーモアパラグラフ集合を取得し、ユーモアパラグラフ集合からユーモアレベルの一番大きいユーモアパラグラフを選択し、ロボットのユーモアレベルを向上させ、また負相関と正相関を行ったパラグラフが同じであるため、該当パラグラフが合理的且つおかしく、ユーモラスな効果が出て、それから後続ステップのユーザー感情識別により、出力されたユーモアパラグラフを選別し、ユーモアビッグデータ知識ベースにより良い選択肢を提供し、さらにロボットのユーモア生成能力を向上させる。 3. The present invention first performs a negative correlation analysis on the big data and the second small data, obtains a negative correlation paragraph set, mines a paragraph positively correlated with the second small data from the negative correlation paragraph set, Save the mined paragraphs and their corresponding negative and positive correlations in the negative positive correlation paragraph set, obtain the humor paragraph set from the negative positive correlation paragraph set, and the humor paragraph with the highest humor level from the humor paragraph set To improve the robot's humor level, and the negative and positive correlation paragraphs are the same, so that the paragraph is reasonable and funny, and has a humorous effect, and then the user emotion identification in the subsequent step To sort the output humor paragraphs, humor big data It provides a good choice by identification based, to further improve the humor generating capability of the robot.

4、本発明はユーモアビッグデータ知識ベース内のデータ及び異なる返事へのユーザーの過去でのデフォルト感情以外の感情フィードバックにより、感情フィードバックビッグデータを取得し、感情フィードバックビッグデータから返事待ちのユーザー情報と返事待ちのユーザーへの候補返事の返事内容に最も一致するすべての感情フィードバック記録を検索することができ、ユーザーの同じな言葉に対して異なる返事をすれば、ユーザーがどんな感情を生ずるのかを予測し、さらに予測結果によってユーザーに一定感情のある返事をさせることができる。 4. The present invention obtains emotion feedback big data based on data in the humor big data knowledge base and emotion feedback other than the user's default emotion in the past to different replies. Can search for all emotion feedback records that best match the response of a candidate response to a user waiting for a response, and predict what emotions the user will have if the user responds differently to the same word In addition, it is possible to make the user reply with a certain feeling according to the prediction result.

附図を利用して本発明をさらに説明し、しかし附図の実施例は本発明に制限せず、本分野の普通の技術分野にとって、創造的な労働を通じない場合、下記の附図に基づいて他の附図を取得する。 The present invention will be further described with reference to the accompanying drawings. However, the embodiment of the accompanying drawings is not limited to the present invention, and for the ordinary technical field of this field, other than the creative labor, Acquire the attached figure.

図1は本発明実施例1のユーモア生成に基づく感情対話方法流れ図である。FIG. 1 is a flowchart of an emotion dialogue method based on humor generation according to Embodiment 1 of the present invention. 図2は本発明実施例2のユーモアパラグラフを生成して出力する流れ図である。FIG. 2 is a flowchart for generating and outputting a humor paragraph according to the second embodiment of the present invention. 図3は本発明実施例2の正相関パラグラフをマイニングする流れ図である。FIG. 3 is a flowchart for mining the positive correlation paragraph according to the second embodiment of the present invention. 図4は本発明実施例2の負相関パラグラフをマイニングする流れ図である。FIG. 4 is a flowchart for mining the negative correlation paragraph according to the second embodiment of the present invention. 図5は本発明実施例2のユーモアパラグラフ集合の取得の簡易見取り図である。FIG. 5 is a simplified sketch of acquisition of a humor paragraph set according to the second embodiment of the present invention. 図6は本発明実施例2のビッグデータの正負相関分析に基いてユーモアパラグラフを生成する簡易見取り図である。FIG. 6 is a simplified sketch for generating a humor paragraph based on the positive / negative correlation analysis of big data according to the second embodiment of the present invention. 図7は本発明実施例3のユーモアパラグラフを生成して出力する流れ図である。FIG. 7 is a flowchart for generating and outputting a humor paragraph according to the third embodiment of the present invention. 図8は本発明実施例3の負相関パラグラフをマイニングする流れ図である。FIG. 8 is a flowchart for mining the negative correlation paragraph according to the third embodiment of the present invention. 図9は本発明実施例3の正相関パラグラフをマイニングする流れ図である。FIG. 9 is a flowchart for mining the positive correlation paragraph according to the third embodiment of the present invention. 図10は本発明実施例3のユーモアパラグラフ集合を取得する簡易見取り図である。FIG. 10 is a simple sketch for acquiring a humor paragraph set according to the third embodiment of the present invention. 図11は本発明実施例3のビッグデータの負正相関分析に基づいてユーモアパラグラフを生成する簡易見取り図である。FIG. 11 is a simplified sketch for generating a humor paragraph based on the negative / positive correlation analysis of big data according to the third embodiment of the present invention. 図12は本発明実施例4のユーモア生成に基づく感情対話方法の流れ図である。FIG. 12 is a flowchart of an emotion dialogue method based on humor generation according to Embodiment 4 of the present invention. 図13は本発明実施例5のユーモア生成に基づく感情対話ロボットシステムのブロック図である。FIG. 13 is a block diagram of an emotion dialogue robot system based on humor generation according to Embodiment 5 of the present invention. 図14は本発明実施例6のユーモアパラグラフ生成出力モジュールのブロック図である。FIG. 14 is a block diagram of a humor paragraph generation / output module according to Embodiment 6 of the present invention. 図15は本発明実施例7のユーモアパラグラフ生成出力モジュールのブロック図である。FIG. 15 is a block diagram of a humor paragraph generation / output module according to the seventh embodiment of the present invention. 図16は本発明実施例8のユーモア生成に基づく感情対話ロボットシステムのブロック図である。FIG. 16 is a block diagram of an emotion dialogue robot system based on humor generation according to Embodiment 8 of the present invention.

下記に本発明の実施例と附図を交え、さらに詳しく説明し、ただし本発明の実施方式はこれに限らないのである。 In the following, the embodiment of the present invention will be described in more detail with reference to the accompanying drawings, but the embodiment of the present invention is not limited to this.

実施例1: Example 1:

ロボットの出力したユーモアパラグラフがユーモア計算により生成され、該当ユーモアパラグラフを読む又は聞くユーザーが笑い出すというデフォルト感情に走ることは感情計算により識別され、このときに、該当ユーモアパラグラフを読む又は聞くユーザーが笑い出したことを識別したことから、ロボットの出力したユーモアパラグラフが合格であることがわかり、この成功経験が将来においてのロボットのユーモア生成に応用される。 The robot's output humor paragraph is generated by the humor calculation, and it is identified by the emotion calculation that the user who reads or listens to the corresponding humor paragraph laughs out. At this time, the user who reads or listens to the corresponding humor paragraph Having identified that he laughed, he found that the humor paragraph output by the robot passed, and this successful experience will be applied to future robot humor generation.

図1が示すように、本実施例はユーモア生成に基づく感情対話方法を提供して、この方法はロボットに応用されることができ、以下のステップを含む: As FIG. 1 shows, this embodiment provides an emotion dialogue method based on humor generation, which can be applied to a robot, and includes the following steps:

S101、ユーザーのデータを取得する。 S101, obtaining user data.

本実施例の中で、ロボットは知能ロボットを指し、人間の行動や思考などをシミュレートできるマシンであり、チャットプログラムその他コンピュータプログラムを含み、ロボットがユーザーと対話する時、ロボットの官能がいくつかの小データを取得することができ、例えば、ロボットの目にカメラが取り付けられ、ユーザーの動画画像データを取得でき、ロボットの耳にプックアップが取り付けられ、ユーザーのオーディオデータを取得でき、他のセンサーがセンスデータを取得し(例えばユーザーの体温、心拍数など)、各端末がユーザーの入力したテキストデータ(例えばユーザーの属性、パラグラフなど)を取得する。 In this embodiment, the robot refers to an intelligent robot, which is a machine that can simulate human actions and thoughts, and includes chat programs and other computer programs. For example, a camera is attached to the robot's eye, the user's video image data can be obtained, a pucker is attached to the robot's ear, the user's audio data can be obtained, and other data The sensor acquires sense data (for example, user's body temperature, heart rate, etc.), and each terminal acquires text data (for example, user attributes, paragraphs, etc.) input by the user.

S102、ユーザーのデータによって、ユーモアパラグラフを生成して出力する。 S102, generating and outputting a humor paragraph based on user data.

本実施例の中で、ユーザーの入力したパラグラフを取得し、既存のユーモア生成方法を通じてユーモアパラグラフを生成して出力し、出力する方式はテキストまたは音声である。 In the present embodiment, a paragraph input by a user is acquired, a humor paragraph is generated and output through an existing humor generation method, and a method of outputting is text or voice.

S103、出力されたユーモアパラグラフへのユーザーの感情フィードバックを監視する。
出力されたユーモアパラグラフへのユーザーの感情フィードバックを監視し、ロボットがカメラを利用してユーザーの顔の表情を検査測定したりマイクでユーザーの音声を検査測定したり、文字入力でユーザーに入力されたテキストを検査測定し、たとえば出力されたユーモアパラグラフへのユーザーの感情フィードバックがデフォルト感情であるかどうかを監視する時、カメラを利用してユーザーが笑顔になるかどうかを検査測定したり、マイクを利用してユーザーの声に笑い声があるかどうかを検査測定したり、文字入力を利用してユーザーの入力したテキストにhumorまたはhahaの文字が含まれるかどうかを検査測定し、本分野技術者はデフォルト感情以外他の感情にも対応する判断方法があることを理解することができる。
S103, monitoring the emotion feedback of the user to the outputted humor paragraph.
The user's emotional feedback to the output humor paragraph is monitored, and the robot uses the camera to inspect and measure the facial expression of the user, to inspect and measure the user's voice with a microphone, For example, when monitoring whether the user's emotion feedback to the output humor paragraph is the default emotion, the camera can be used to test whether the user is smiling, Engineers in this field can measure whether or not there is a laughter in the user's voice using text, or test and measure whether the text entered by the user contains humor or haha using text input. Can understand that there is a judgment method corresponding to other emotions besides the default emotion.

S104、ユーザーにフィードバックされた感情がデフォルト感情に識別された場合、出力されたユーモアパラグラフがユーモアの特性を持っていると断じ、ユーザーにフィードバックされた感情の識別結果に、デフォルト感情のレベルが高いほど、出力したユーモアパラグラフのユーモアレベルも高くなると断じ、ユーザーにフィードバックされた感情がデフォルト感情以外の感情に識別された場合、出力されたユーモアパラグラフがユーモアの特性を持っていないと断じる。 S104, when the emotion fed back to the user is identified as the default emotion, the output humor paragraph is determined to have humor characteristics, and the level of the default emotion is included in the identification result of the emotion fed back to the user. The higher the value, the higher the humor level of the output humor paragraph, and if the emotion fed back to the user is identified as an emotion other than the default emotion, the output humor paragraph does not have humor characteristics. The

デフォルト感情の設定する方法は:人々が実際のユーモアパラグラフに対してフィードバックした感情を検査測定し、デフォルト感情とする。例えば、10000人が100の実際のユーモアパラグラフに対してフィードバックした感情を検査測定し、その中に最も多い感情フィードバックをデフォルト感情にして、もちろん、他の方式でデフォルト感情を取得することもでき、さらに、デフォルト感情は多種の感情の按分組合せでもいい。いわゆる実際のユーモアパラグラフは、ユーモアレベルが高いパラグラフのことを指す。デフォルト感情が設定されていない場合、「楽しい」という感情がデフォルト感情として自動に設定され、それは、人間がユーモアパラグラフを聞くと、最も一般的な反応は笑うのであり、笑うということは楽しい感情の一種である。 The default emotion setting method is as follows: The emotion fed back to the actual humor paragraph is inspected and measured as the default emotion. For example, you can test and measure the emotions that 10,000 people have fed back against 100 actual humor paragraphs, make the most emotional feedback the default emotion, and of course you can get the default emotion in other ways, Further, the default emotion may be a prorated combination of various emotions. The so-called actual humor paragraph refers to a paragraph with a high humor level. If the default emotion is not set, the emotion “fun” is automatically set as the default emotion, because when a human hears a humor paragraph, the most common reaction is to laugh, and laughing is a fun emotion It is a kind.

本実施例ではデフォルト感情を「楽しい」に設定し、デフォルト感情のレベルは、即ち楽しさのレベルであり、笑顔の幅、笑い声のデジベル及びテキストの中の「笑」に関する文字数のいずれかにより決定され、またはその中の二つあるいは三つの組合せにより決定され、楽しさのレベルによって、対応するユーモアレベルを高、中、低あるいは一級、二級、三級、四級などあるいはA級、B級、C級、D級などに分けることができ、また採点によりユーモアレベルを分けることもできる。デフォルト感情以外の感情は、沈黙、怒り、痛みなどとなる。 In this embodiment, the default emotion is set to “fun”, and the level of the default emotion is a level of fun, which is determined by any one of the width of smile, the decibel of laughter and the number of characters related to “laugh” in the text. Or determined by a combination of two or three of them, and depending on the level of fun, the corresponding humor level is high, medium, low or first grade, second grade, third grade, fourth grade, etc. or A grade, B grade , C class, D class, etc., and humor level can be divided by scoring. Emotions other than default emotions include silence, anger, and pain.

S105、改めてユーザーの入力したパラグラフに基づいて、普通返事語句生成方法で非ユーモアパラグラフを出力し、ユーザーに「先のはユーモアパラグラフであり、気にしないでください、今のこの非ユーモアパラグラフをご参考に」。 S105, based on the paragraph input by the user anew, the non-humor paragraph is output by the normal reply phrase generation method, and the user is told, “The previous is a humor paragraph, please do not mind, please refer to this non-humor paragraph now In reference".

該当ステップは実験中に省略することができるが、実際の応用では非常に重要であり、該当ステップが欠けると、ユーザーの誤解を招く恐れがあり、それは一般的にユーモアパラグラフには人を笑わせるミスが含まれ、該当ステップを通じて、ユーザーが正誤を判断することから楽しい経験と正しい知識を取得でき、特に教育支援ロボットに応用する時、該当ステップがさらに不可欠である。 The step can be omitted during the experiment, but it is very important in practical applications, and lack of the step can lead to user misunderstanding, which is generally a humor paragraph mistake that makes people laugh Through the corresponding steps, the user can obtain a pleasant experience and correct knowledge by judging whether the correctness is correct. In particular, when applying to an educational support robot, the corresponding step is further indispensable.

S106、ユーモアの特性を持っているユーモアパラグラフ、該当ユーモアパラグラフに対応する環境情報、該当ユーモアパラグラフのユーモアレベルおよび該当ユーモアパラグラフに対するユーザーの感情フィードバックをユーモアビッグデータ知識ベースに保存する。
該当ステップの環境情報は、ユーザーがロボットと対話する時間、場所、場合、両方の属性などを指し、将来でロボットがユーモアを生成する時、ユーモアビッグデータ知識ベース内の各ユーモアパラグラフ、各ユーモアパラグラフが対応する環境情報、各ユーモアパラグラフのユーモアレベルおよび各ユーモアパラグラフに対するユーザーの感情フィードバックに基づいてユーモアパラグラフを選択し、ロボットのユーモア生成する能力を向上させる。
S106, the humor paragraph having the characteristics of humor, the environmental information corresponding to the humor paragraph, the humor level of the humor paragraph, and the user's emotion feedback for the humor paragraph are stored in the humor big data knowledge base.
The environmental information of the corresponding step refers to the time, place, and both attributes when the user interacts with the robot. When the robot generates humor in the future, each humor paragraph, each humor paragraph in the humor big data knowledge base The humor paragraph is selected based on the corresponding environmental information, the humor level of each humor paragraph, and the user's emotional feedback for each humor paragraph, and the robot's ability to generate humor is improved.

実施例2: Example 2:

本実施例の他のステップが実施例1と同じであり、異なる部分はステップS102がビッグデータの正負相関分析に基づく方法によって実現され、図2が示すように、具体的には以下のステップを含む: The other steps of the present embodiment are the same as those of the first embodiment, and different portions are realized by the method in which step S102 is based on the positive / negative correlation analysis of big data. Specifically, as shown in FIG. Including:

S1021、ユーザーのデータから一部のデータを第一小データとして抽出し、もう一部のデータを第二小データとして抽出する。 S1021, part of data is extracted as first small data from user data, and another part of data is extracted as second small data.

取得したいくつかの小データ(石)をビッグデータ(池)に「投げ込み」、ユーモアを生成し(石で一気に波紋が広がった)、ユーモアを識別あるいは生成する過程は小データとビッグデータの間に関連データマイニングを行い、従って小データ又はビッグデータだけで識別又は生成のできないユーモアを生み出すことであり、このユーモアはビッグデータと第一小データに基づくロボットユーモア識別と生成の結果である。 “Throw” some small data (stones) into big data (pond), generate humor (the ripples spread at once with stones), and the process of identifying or generating humor is between small data and big data Is associated data mining, thus creating humor that cannot be identified or generated with only small data or big data, which is the result of robot humor identification and generation based on big data and first small data.

小データはユーザーとの対話過程ならではの個性化データであり、同じの対話過程中に、異なる経路で複数の小データを取得することができ、例えば、ユーザーのパラグラフ、ユーザーの属性、対話シーン、対話時間、対話場所、ロボットの属性など。 Small data is personalized data unique to the user's dialogue process, and multiple small data can be acquired through different paths during the same dialogue process, such as user paragraphs, user attributes, dialogue scenes, Dialogue time, dialogue place, robot attributes, etc.

これらの小データの中で、ユーザーのパラグラフはコア小データであり、ロボットの応答がユーザーのパラグラフを完全に否定すると(つまり、ユーザーのパラグラフに完全に負相関する応答、即ち対話が合わないということ)、ユーモア効果が出ないだけでなく、ロボットがデタラメを言ったり、答えが質問に外れたりすることをユーザーに感じさせるため、ユーザーのすべてのあるいは一部のパラグラフを肯定する(即ちユーザーのパラグラフに正相関する応答のこと)ことが必要であり、その上でユーザーを共鳴させ、ユーモアの基礎になる。 Among these small data, the user's paragraph is the core small data, and if the robot's response completely negates the user's paragraph (that is, the response that is completely negatively correlated with the user's paragraph, that is, the dialogue does not fit) Affirming all or some of the user ’s paragraphs (ie, the user ’s paragraph) in order to not only have no humor effect, but also to make the user feel that the robot is speaking Response that is positively correlated to the paragraph), which resonates the user and forms the basis for humor.

本実施例ではステップS101で取得したユーザーのデータからユーザーのパラグラフの全部または一部を第一小データとして抽出する。これらの小データはユーモアの基礎であるが、感知されたすべての小データを肯定する(即ち感知したすべての小データに完全に正相関する応答のこと)わけには行けなく、それは、全部を肯定すれば、普通の応答パラグラフになり、ユーモアにならないからであり、故に、その中の一部の小データを否定することが必要であり、またこの否定部分を肯定部分と統合し融合する必要があり、その上で対立統一のユーモアを実現する。 In this embodiment, all or part of the user's paragraph is extracted as the first small data from the user data acquired in step S101. These small data are the basis of humor, but it is impossible to affirm all sensed small data (ie, a response that is fully positively correlated to all sensed small data). If it is affirmed, it becomes a normal response paragraph and does not become humor, so it is necessary to negate some small data in it, and it is necessary to integrate this negative part with the affirmative part and fuse it There is a realization of humor of unity.

S1022、ビッグデータを取得する。 S1022, obtaining big data.

ビッグデータは大量のユーザーによって長時間にわたって累計されたデータであり、例えばインターネットビッグデータとは無数のインターネットユーザーによって長時間にわたって累計されたデータであり、故に、ロボット及び対話過程にとってビッグデータが外部データに属し、本実施例ではロボットがサーバーを通じてビッグデータを取得できる。 Big data is data accumulated over a long period of time by a large number of users. For example, Internet big data is data accumulated over a long period of time by a myriad of Internet users. Therefore, big data is external data for robots and dialogue processes. In this embodiment, the robot can acquire big data through the server.

S1023、ビッグデータから第一小データに関わるデータを得てクリーニングして第一相関データセットとする。
ビッグデータから第一小データに関わるデータを得る:ビッグデータから第一小データとの一致度がデフォルト一致度しきい値より高いパラグラフを検索し、その中に、ビッグデータのあるパラグラフと小データの一致度は小データのワード数で該当パラグラフに表れた小データのワード数を割ることを指す。
In step S1023, data related to the first small data is obtained from the big data and cleaned to obtain a first correlation data set.
Get data related to the first small data from the big data: Search the paragraph where the degree of coincidence with the first small data is higher than the default coincidence threshold from the big data, and the paragraph with the big data and the small data in it The degree of coincidence indicates that the number of small data words shown in the corresponding paragraph is divided by the number of small data words.

データをクリニングする:データは複数の語句で構成される一段落である可能性があり、小データのキーワードの表れた語句をマークし、もしある語句及びその前の語句あるいは次の語句がマークされていなければ、該当語句を削除し、あるいは小データのキーワードの表れた語句をマークし、
もしある語句がマークされていなければ、該当語句を削除し、
その中に、語句は句点あるいは感嘆符あるいは疑問符あるいはその他の文末識別子で終わる語句である。
Clean data: The data may be a single paragraph consisting of multiple words, marked with a word that appears in a small data keyword, and marked with one word and the previous or next word. If not, delete the word or mark the word in the small data keyword,
If a word is not marked, delete the word,
Among them, a phrase is a phrase that ends with a punctuation mark, exclamation mark, question mark, or other end-of-sentence identifier.

S1024、第一相関データセットから第一小データとの正相関度がデフォルト正相関度しきい値より大きいパラグラフをマイニングし、マイニングされたパラグラフおよびその正相関度を正相関パラグラフ集合に保存する。 S1024: Mining a paragraph whose positive correlation degree with the first small data from the first correlation data set is larger than the default positive correlation threshold, and storing the mined paragraph and its positive correlation degree in a positive correlation paragraph set.

正相関度がデフォルト正相関度しきい値より大きいパラグラフを正相関パラグラフと呼び、正相関パラグラフのマイニングは、現有のビッグデータを相関性分析する技術でも実現でき、図3の方式でも実現でき、具体的には以下のステップを含む: Paragraphs whose positive correlation is greater than the default positive correlation threshold are called positive correlation paragraphs, and the mining of positive correlation paragraphs can also be realized with the technique of correlation analysis of existing big data, and can also be realized with the method of FIG. Specifically, it includes the following steps:

S10241、ビッグデータでの第一小データの類似パラグラフの数を得て第一数量とし、mで記録し、 S10241, obtain the number of similar paragraphs of the first small data in the big data as the first quantity, record in m,

S10242、ビッグデータでの第一相関データセット内の各データの類似データの数を統計し、該当データの第二数量とし、nで記録し、 S10242, the number of similar data of each data in the first correlation data set in the big data is statistically recorded as the second quantity of the corresponding data, and recorded by n,

S10243、該当データと第一小データを合併した後で取得したデータのビッグデータでの類似するデータの数を統計し、該当データの第三数量とし、oで記録し、 S10243, the number of similar data in the big data of the data acquired after merging the corresponding data and the first small data is statistically recorded as the third quantity of the corresponding data, recorded in o,

S10244、第一数量m、該当データの第二数量nと第三数量oに基づき、該当データの正相関度を計算し、pcで記録し、   S10244, based on the first quantity m, the second quantity n and the third quantity o of the relevant data, calculate the degree of positive correlation of the relevant data and record it in pc,

具体的には、該当データの正相関度pcの計算公式は以下のように: Specifically, the calculation formula for the positive correlation degree pc of the corresponding data is as follows:

pc=o/((m×n)1/2) (1)   pc = o / ((m × n) 1/2) (1)

S10245、第一相関データセットのすべてのパラグラフと第二小データとの正相関度がデフォルト正相関度しきい値より大きいかどうかを判断し、 S10245, determining whether the positive correlation between all the paragraphs of the first correlation data set and the second small data is greater than the default positive correlation threshold;

S10246、第一小データとの正相関度がデフォルト正相関度しきい値より大きいパラグラフ及びその正相関度を正相関パラグラフ集合に保存し、Z1で記録する。 S10246, the paragraph whose positive correlation degree with the first small data is larger than the default positive correlation degree threshold and the positive correlation degree are stored in the positive correlation paragraph set and recorded in Z1.

正相関度が十分大きければ(即ちデフォルト正相関度しきい値より大きければ)、該当パラグラフと第一小データの組み合わせは大部分の人の合意であり、それによってユーモアパラグラフを合理的にさせる。 If the positive correlation is sufficiently large (ie, greater than the default positive correlation threshold), the combination of the relevant paragraph and the first small data is the consensus of most people, thereby making the humor paragraph rational.

S1025、正相関パラグラフ集合から第二小データとの負相関度がデフォルト負相関度しきい値より大きいパラグラフをマイニングし、マイニングされたパラグラフおよびその正相関度、負相関度を正負相関パラグラフ集合に保存する。 S1025, mining a paragraph whose negative correlation with the second small data is larger than the default negative correlation threshold from the positive correlation paragraph set, and converting the mined paragraph and its positive correlation degree and negative correlation degree into a positive / negative correlation paragraph set. save.

負相関度がデフォルト負相関度しきい値より大きいパラグラフを負相関パラグラフと呼び、負相関パラグラフのマイニングは、現有のビッグデータを相関性分析する技術で実現でき、図4の方式でも実現でき、具体的には以下のステップを含む: Paragraphs whose negative correlation is greater than the default negative correlation threshold are called negative correlation paragraphs, and mining of negative correlation paragraphs can be realized with the technology of analyzing the correlation of existing big data, and can also be realized with the method of FIG. Specifically, it includes the following steps:

S10251、第二小データがビッグデータでの類似パラグラフの数を取得し、第四数量として、pで記録し、 S10251, the second small data obtains the number of similar paragraphs in the big data, and records it as p as the fourth quantity,

S10252、正相関パラグラフ集合Z1内の各データがビッグデータでの類似データの数を統計し、該当データの第五数量とし、qで記録し、 S10252, each piece of data in the positive correlation paragraph set Z1 statistically counts the number of similar data in the big data, sets the fifth quantity of the corresponding data, records with q,

S10253、該当データと第二小データを合併して取得したデータがビッグデータでの類似データの数を統計し、該当データの第六数量として、rで記録し、 S10253, the data obtained by merging the corresponding data and the second small data is the number of similar data in the big data, and recorded as r as the sixth quantity of the corresponding data,

S10254、第四数量p、該当データの第五数量qと第六数量rに基づき、該当データの負相関度を計算して、ncで記録し、 S10254, based on the fourth quantity p, the fifth quantity q and the sixth quantity r of the relevant data, calculate the negative correlation of the relevant data, and record it as nc,

具体的には、該当データの負相関度ncの計算公式は以下のように: Specifically, the calculation formula for the negative correlation nc of the corresponding data is as follows:

nc=1−r/((p×q)1/2) (2) nc = 1-r / ((p × q) 1/2) (2)

S10255、正相関パラグラフ集合Z1内のすべてのパラグラフの第二小データとの負相関度がデフォルト負相関度しきい値より大きいかどうかを判断し、 S10255, determining whether the negative correlation with the second small data of all the paragraphs in the positive correlation paragraph set Z1 is greater than the default negative correlation threshold;

S10256、第二小データとの負相関度がデフォルト負相関度しきい値より大きいパラグラフおよび対応する正相関度、負相関度を正負相関パラグラフ集合に保存し、Z2で記録する。 S10256, the paragraph in which the negative correlation with the second small data is greater than the default negative correlation threshold and the corresponding positive correlation and negative correlation are stored in the positive / negative correlation paragraph set and recorded in Z2.

負相関度が十分大きければ(即ちデフォルト負相関度しきい値より大きければ)、該当パラグラフと第二小データの組み合わせが大部分の人の非コモンセンスであり、それによってユーモアパラグラフを可笑しくさせる。 If the negative correlation is large enough (ie, greater than the default negative correlation threshold), the combination of the relevant paragraph and the second small data is the non-common sense of most people, thereby making the humor paragraph funny.

S1026、正負相関パラグラフ集合の各パラグラフが対応する正相関度と負相関度により、該当パラグラフのユーモアレベルを計算し、ユーモアレベルがデフォルトユーモアしきい値より大きいパラグラフをユーモアパラグラフ集合に保存する。 In step S1026, the humor level of the corresponding paragraph is calculated based on the positive correlation and the negative correlation corresponding to each paragraph of the positive / negative correlation paragraph set, and the paragraph having a humor level larger than the default humor threshold is stored in the humor paragraph set.

本実施例では、正負相関パラグラフ集合Z2から一つのパラグラフおよびその正相関度と負相関度を取得し、その中に、正相関度が80%であり、負相関度が90%であり、正相関度と負相関度により該当パラグラフのユーモアレベルを計算し、ユーモアレベルがデフォルトユーモアしきい値より大きいパラグラフおよびそのユーモアレベルをユーモアパラグラフ集合に保存し、「Z」で記録する。 In this embodiment, one paragraph and its positive correlation and negative correlation are obtained from the positive / negative correlation paragraph set Z2, and the positive correlation is 80% and the negative correlation is 90%. The humor level of the corresponding paragraph is calculated based on the correlation degree and the negative correlation degree, and the paragraph in which the humor level is higher than the default humor threshold and the humor level are stored in the humor paragraph set and recorded as “Z”.

具体的には、該当パラグラフのユーモアレベルhの計算公式は下記のように: Specifically, the formula for calculating the humor level h in the relevant paragraph is as follows:

h=(pc×nc)1/2 (3) h = (pc × nc) 1/2 (3)

ステップS1024とS1025の中の数量統計は、既存のmapreduceモデルを採用し、hadoopあるいはsparkを利用してビッグデータ向けの迅速な統計を行うことである。 The quantity statistics in steps S1024 and S1025 are to adopt an existing mapreduce model and perform quick statistics for big data using hadoop or spark.

図5がユーモアパラグラフ集合を取得する簡易見取り図であり、ビッグデータXから第一小データy1と一致する(正相関)パラグラフ集合Z1をマイニングし、採用するビッグデータ分析過程をZ1=f(X,y1)で記録し、これは正相関階段に対応する。ビッグデータXから第一小データy1に一致し(正相関)、第二小データy2に一致していない(負相関)パラグラフ集合Zをマイニングし、採用するビッグデータ分析過程をg(X,y2∪f(X,y1))で記録し、これは対立統一ユーモアの対立統一階段に対応し、即ちユーモア識別と生成の階段へスクリュー式で上昇する階段である。この二つの階段の過程は分裂されたものではなく、お互いに影響して、有機的に構成されたものである。 FIG. 5 is a simple sketch for obtaining a humor paragraph set. The big data analysis process to be adopted by mining a paragraph set Z1 that coincides with the first small data y1 from the big data X (positive correlation) is Z1 = f (X, Record at y1), which corresponds to a positive correlation step. The big data analysis process adopted by mining the paragraph set Z that matches the first small data y1 from the big data X (positive correlation) and does not match the second small data y2 (negative correlation) is g (X, y2 ∪f (X, y1)), which corresponds to the conflicting unified staircase of conflicting unified humor, that is, the stair that climbs up to the humor identification and generation staircase. The process of these two steps is not divided, but influences each other and is organized organically.

図6が上記ステップS1021〜S1026の簡易見取り図であり、ビッグデータXと第一小データy1に正相関分析を行い、ビッグデータからZ1をマイニングして取得し、それからZ1のビッグデータXと第二小データy2に負相関性分析を行い、ビッグデータからZをマイニングして取得する。 FIG. 6 is a simplified sketch of the above steps S1021 to S1026. A positive correlation analysis is performed on the big data X and the first small data y1, Z1 is mined from the big data, and then the big data X of Z1 and the second data are obtained. A negative correlation analysis is performed on the small data y2, and Z is mined and acquired from the big data.

S1027、ユーモアパラグラフ集合からユーモアレベルの一番大きいユーモアパラグラフを選択し、該当ユーモアパラグラフを出力する。 S1027, the humor paragraph with the highest humor level is selected from the humor paragraph set, and the corresponding humor paragraph is output.

本実施例は、ビッグデータの正負相関分析に基づいてユーモアのあるパラグラフを取得し、ロボットのユーモアレベルを向上させ、また正相関パラグラフと負相関パラグラフが同じであるため、該当パラグラフが合理的で可笑しくて、ユーモア効果を形成し、また、実施例1の後続ステップにおけるユーザー感情識別を通じて、ビッグデータの正負相関分析に基づいて生成されたユーモアパラグラフをスクリーニングし、ユーモアビッグデータ知識ベースにより良い選択肢を提供し、ロボットのユーモア生成能力をさらに向上させる。 In this example, a humorous paragraph is acquired based on the positive / negative correlation analysis of big data, the humor level of the robot is improved, and since the positive correlation paragraph and the negative correlation paragraph are the same, the corresponding paragraph is rational. It is funny and forms a humor effect, and through user emotion identification in the subsequent steps of Example 1, the humor paragraph generated based on the positive and negative correlation analysis of big data is screened, and a better choice for the humor big data knowledge base Provide and further improve the humor generation ability of the robot.

実施例3: Example 3:

本実施例の他のステップが実施例1と同じであり、異なる部分はステップS102がビッグデータの負正相関分析に基づく方法で実現され、図7が示すように、具体的には以下のステップを含む: The other steps of the present embodiment are the same as those of the first embodiment, and different portions are realized by the method in which step S102 is based on the negative / positive correlation analysis of big data. Specifically, as shown in FIG. including:

S1021、ユーザーのデータから一部のデータを第一小データとして抽出し、もう一部のデータを第二小データとして抽出し、このステップの具体的な内容は上記実施例2を参照にできるできる。 S1021, part of the data is extracted as the first small data from the user data, and the other part of the data is extracted as the second small data. The specific contents of this step can be referred to the second embodiment. .

S1022、ビッグデータを取得し、このステップの具体的な内容は上記実施例2を参照にできるできる。 S1022, big data is acquired, and the specific contents of this step can be referred to the above-described second embodiment.

S1023、ビッグデータから第一小データに関わるデータを得てクリーニングして第一相関データセットとし、このステップの具体的な内容は上記実施例2を参照にできるできる。 In step S1023, data related to the first small data is obtained from the big data and cleaned to obtain the first correlation data set. The specific contents of this step can be referred to the above-described second embodiment.

S1024、第一相関データセットから第二小データとの負相関度がデフォルト負相関度しきい値より大きいパラグラフをマイニングし、マイニングされたパラグラフおよびその負相関度を負相関パラグラフ集合に保存する。 S1024: Mining a paragraph in which the negative correlation with the second small data from the first correlation data set is greater than the default negative correlation threshold, and storing the mined paragraph and its negative correlation in a negative correlation paragraph set.

負相関度がデフォルト負相関度しきい値より大きいパラグラフは負相関パラグラフと呼ばれ、負相関パラグラフのマイニングが現有のビッグデータを相関性分析する技術で実現でき、図8の方式を通じても実現でき、具体的には以下のステップを含む: Paragraphs whose negative correlation is greater than the default negative correlation threshold are called negative correlation paragraphs. Mining of negative correlation paragraphs can be realized with the technology of analyzing the correlation of existing big data, and can also be realized through the method of FIG. Specifically, it includes the following steps:

S10241、第二小データがビッグデータでの類似パラグラフの数を得て第一数量として、mで記録し、   S10241, the second small data obtains the number of similar paragraphs in big data and records it as m as the first quantity,

S10242、ビッグデータでの第一相関データセット内の各データの類似データの数を統計し、該当データの第二数量として、nで記録し、 S10242, statistics the number of similar data of each data in the first correlation data set in the big data, recorded as n as the second quantity of the corresponding data,

S10243、該当データを第二データと合併してから取得するデータがビッグデータでの類似データの数を統計し、該当データの第三数量とし、oで記録し、 S10243, the data acquired after merging the corresponding data with the second data is the number of similar data in the big data, the third quantity of the corresponding data, recorded in o,

S10244、第一数量m、該当データの第二数量nと第三数量oに基づき、該当データの負相関度を計算し、ncで記録し、 S10244, based on the first quantity m, the second quantity n and the third quantity o of the relevant data, calculate the negative correlation of the relevant data, record it as nc,

具体的には、該当データの負相関度ncの計算公式は以下のように:
nc=1−o/((m×n)1/2) (4)
Specifically, the calculation formula for the negative correlation nc of the corresponding data is as follows:
nc = 1−o / ((m × n) 1/2) (4)

S10245、第一相関データセットのすべてのパラグラフと第二小データの負相関度がデフォルト負相関度しきい値より大きいかどうかを判断し、 S10245, determine whether the negative correlation of all paragraphs of the first correlation data set and the second small data is greater than the default negative correlation threshold;

S10246、第二小データとの負相関度がデフォルトしきい値より大きいパラグラフおよびその負相関度を負相関パラグラフ集合に保存し、Z1で記録する。 S10246, the paragraph whose negative correlation degree with the second small data is larger than the default threshold and the negative correlation degree are stored in the negative correlation paragraph set, and recorded in Z1.

S1025、負相関パラグラフ集合から第一小データとの正相関度がデフォルト負相関度しきい値より大きいパラグラフをマイニングし、マイニングされたパラグラフおよびその負相関度と正相関度を負正相関パラグラフ集合に保存する。 S1025, mining a paragraph whose positive correlation with the first small data is larger than the default negative correlation threshold from the negative correlation paragraph set, and mining the paragraph and its negative correlation degree and positive correlation degree as a negative positive correlation paragraph set. Save to.

正相関度がデフォルト正相関度しきい値より大きいパラグラフを正相関パラグラフと呼び、正相関パラグラフのマイニングは、現有のビッグデータを相関性分析する技術で実現でき、図9の方式を通じても実現でき、具体的には以下のステップを含む: Paragraphs whose positive correlation is greater than the default positive correlation threshold are called positive correlation paragraphs, and mining of positive correlation paragraphs can be realized with the technology of analyzing the correlation of existing big data, and can also be realized through the method shown in FIG. Specifically, it includes the following steps:

S10251、ビッグデータでの第一小データの類似パラグラフの数を取得し、第四数量として、pで記録し、 S10251, obtain the number of similar paragraphs of the first small data in the big data, and record it as p as the fourth quantity,

S10252、負相関パラグラフ集合Z1の各データがビッグデータでの類似データの数を統計し、該当データの第五数量とし、qで記録し、 S10252, each data of the negative correlation paragraph set Z1 statistically counts the number of similar data in the big data, sets the fifth quantity of the corresponding data, records with q,

S10253、該当データを第一小データと合併して取得したデータがビッグデータでの類似データの数を統計し、該当データの第六数量として、rで記録し、 S10253, the data obtained by merging the corresponding data with the first small data is the number of similar data in the big data, and recorded as r as the sixth quantity of the corresponding data,

S10254、第四数量p、該当データの第五数量qと第六数量rに基づき、該当データの正相関度を計算して、pcで記録し、 S10254, based on the fourth quantity p, the fifth quantity q and the sixth quantity r of the corresponding data, calculate the degree of positive correlation of the corresponding data, and record it as pc.

具体的には、該当データの正相関度pcの計算公式は以下のように: Specifically, the calculation formula for the positive correlation degree pc of the corresponding data is as follows:

pc=r/((p×q)1/2) (5) pc = r / ((p × q) 1/2) (5)

S10255、負相関パラグラフ集合Z1内のすべてのパラグラフと第一小データとの正相関度がデフォルト正相関度しきい値より大きいかどうかを判断し、 S10255, determining whether the positive correlation between all the paragraphs in the negative correlation paragraph set Z1 and the first small data is greater than the default positive correlation threshold;

S10256、第一小データのと正相関度がデフォルト正相関度しきい値より大きいパラグラフおよび対応する負相関度と正相関度を負正相関パラグラフ集合に保存し、Z2で記録する。 S10256, the paragraph of the first small data whose positive correlation is greater than the default positive correlation threshold and the corresponding negative correlation and positive correlation are stored in the negative positive correlation paragraph set and recorded in Z2.

S1026、負正相関パラグラフ集合の各パラグラフが対応する負相関度と正相関度に基づき、該当パラグラフのユーモアレベルを計算し、ユーモアレベルがデフォルトユーモアしきい値より大きいパラグラフをユーモアパラグラフ集合に保存する。 S1026, calculating the humor level of the corresponding paragraph based on the negative correlation level and the positive correlation level corresponding to each paragraph of the negative positive correlation paragraph set, and storing the paragraph whose humor level is higher than the default humor threshold in the humor paragraph set. .

本実施例は、負正相関パラグラフ集合Z2から一つのパラグラフおよび対応する負相関と正相関度度を取得し、その中に、負相関度が90%であり、正相関度80%であり、負相関度と正相関度に基づいて該当パラグラフのユーモアレベルを計算し、ユーモアレベルがデフォルトユーモアしきい値より大きいパラグラフおよびそのユーモアレベルをユーモアパラグラフ集合に保存し、「Z」で記録する。 In the present embodiment, one paragraph and a corresponding negative correlation and a positive correlation degree are obtained from the negative positive correlation paragraph set Z2, in which the negative correlation degree is 90% and the positive correlation degree is 80%. The humor level of the corresponding paragraph is calculated based on the negative correlation degree and the positive correlation degree, the paragraph in which the humor level is greater than the default humor threshold and the humor level are stored in the humor paragraph set and recorded as “Z”.

具体的には、該当パラグラフのユーモアレベルhの計算公式は下記のように:
h=(pc×nc)1/2 (6)
Specifically, the formula for calculating the humor level h in the relevant paragraph is as follows:
h = (pc × nc) 1/2 (6)

ステップS1024とS1025の中の数量統計は、既存のmapreduceモデルを採用し、hadoopあるいはsparkを利用してビッグデータ向けの迅速な統計を行うことである。 The quantity statistics in steps S1024 and S1025 are to adopt an existing mapreduce model and perform quick statistics for big data using hadoop or spark.

図10はユーモアパラグラフ集合を取得する簡易見取り図であり、ビッグデータXから第二小データy2と一致しない(負相関)パラグラフ集合Z1をマイニングし、採用されたビッグデータ分析過程をZ1=g(X,y2)で記録し、これが負相関階段に対応する。ビッグデータXから第一小データy1に一致し(正相関)、第二小データy2に一致しない(負相関)パラグラフ集合Zをマイニングし、採用されたビッグデータ分析過程をf(X,y1∪g(X,y2))で記録し、これは対立統一ユーモアの対立統一階段に対応し、即ちユーモア識別と生成の階段へスクリュー式で上昇する階段である。この二つの階段の過程は分裂されたものではなく、お互いに影響して、有機的に構成されたものである。 FIG. 10 is a simple sketch for obtaining a humor paragraph set, mining a paragraph set Z1 that does not match the second small data y2 (negative correlation) from the big data X, and adopting the adopted big data analysis process as Z1 = g (X , Y2), which corresponds to the negative correlation step. Mining the paragraph set Z that matches the first small data y1 from the big data X (positive correlation) and does not match the second small data y2 (negative correlation), and adopts the big data analysis process adopted as f (X, y1∪ g (X, y2)), which corresponds to the conflicting unified stairs of conflicting unified humor, that is, the stair that rises screwed to the humor identification and generation steps. The process of these two steps is not divided, but influences each other and is organized organically.

図11は上記ステップS1021〜S1026の簡易見取り図であり、ビッグデータXと第二小データy2を負相関性分析し、ビッグデータからZ1をマイニングして取得し、Z1内のビッグデータXと第一小データy1と正相関性分析し、ビッグデータからユーモアパラグラフ集合Zをマイニングして取得する。 FIG. 11 is a simplified sketch of steps S1021 to S1026 described above. Big data X and second small data y2 are subjected to negative correlation analysis, and Z1 is obtained by mining from the big data. A positive correlation analysis with the small data y1 is performed, and the humor paragraph set Z is mined and acquired from the big data.

S1027、ユーモアパラグラフ集合からユーモアレベルの一番大きいユーモアパラグラフを選択し、該当ユーモアパラグラフを出力する。 S1027, the humor paragraph with the highest humor level is selected from the humor paragraph set, and the corresponding humor paragraph is output.

本実施例はビッグデータの負正相関分析に基づいてユーモアのあるパラグラフを取得し、ロボットのユーモアレベルを向上させ、負相関パラグラフが正相関パラグラフと同じなので、該当パラグラフが合理的で可笑しくて、ユーモア効果を形成し、また、実施例1の後続ステップにおけるユーザー感情識別を通じて、ビッグデータの正負相関分析に基づいて生成されたユーモアパラグラフをスクリーニングし、ユーモアビッグデータ知識ベースにより良い選択肢を提供し、ロボットのユーモア生成能力をさらに向上させる。 This example obtains a humorous paragraph based on negative and positive correlation analysis of big data, improves the humor level of the robot, and since the negative correlation paragraph is the same as the positive correlation paragraph, the corresponding paragraph is rational and funny, Form a humor effect, screen the humor paragraph generated based on the positive and negative correlation analysis of big data through user emotion identification in the subsequent steps of Example 1, and provide better choice to the humor big data knowledge base; Further improve the robot's ability to generate humor.

実施例4: Example 4:

図12が示すように、本実施例のステップS101〜S106が実施例1、2あるいは3と同じで、しかし本実施例のユーモア生成に基づく感情対話方法は以下も含む: As FIG. 12 shows, steps S101 to S106 of this embodiment are the same as those of Embodiment 1, 2, or 3, but the emotion dialogue method based on humor generation of this embodiment also includes the following:

S107、ユーモアビッグデータ知識ベース内のデータ及び過去毎回異なる返事への異なるタイプのユーザーのデフォルト感情以外の感情フィードバックに基づいて、過去毎回異なる返事への異なるタイプのユーザーの感情フィードバック関連情報を取得する。 S107, acquiring emotion feedback related information of different types of users to different responses each time based on data in the humor big data knowledge base and emotion feedback other than the default emotions of different types of users to different responses each time in the past .

前記感情フィードバック関連情報はユーザー情報(ユーザータイプを含む)、返事内容、感情フィードバック内容と感情フィードバックタイプを含む。 The emotion feedback related information includes user information (including user type), reply content, emotion feedback content, and emotion feedback type.

前記実施例1から分かるように、ユーモアビッグデータ知識ベース内のデータはユーモアパラグラフ、ユーモアパラグラフが対応する環境情報、ユーモアパラグラフのユーモアレベルおよびユーザーのユーモアパラグラフへの感情フィードバックを含み、ユーモアパラグラフがロボットの返事内容であり、環境情報がユーザー情報を含み、ユーザーのユーモアパラグラフへの感情フィードバックが感情フィードバック内容と感情フィードバック内容タイプを含み、感情フィードバックの内容がユーザーの顔の表情、ユーザーが発した声と/あるいはユーザーの入力したテキストを含み、感情フィードバックタイプがデフォルト感情(楽しい)であり、ユーモアビッグデータ知識ベース内のデータには過去毎回異なるタイプのユーザーから異なるユーモアパラグラフ返事へのデフォルト感情フィードバックが含まれると考えられる。 As can be seen from the first embodiment, the data in the humor big data knowledge base includes the humor paragraph, the environmental information supported by the humor paragraph, the humor level of the humor paragraph, and the emotional feedback to the user's humor paragraph. Response information, environmental information includes user information, emotion feedback to the user's humor paragraph includes emotion feedback content and emotion feedback content type, emotion feedback content is the facial expression of the user, user's voice And / or user-entered text, emotion feedback type is default emotion (fun), and the data in the humor big data knowledge base is different from different types of users each time in the past Default emotional feedback to humor paragraph responses is considered to be included.

ユーモアビッグデータ知識ベース内のデータは、ユーザーがユーモアパラグラフ返事へのデフォルト感情フィードバックを含むが、その他の返事に対してユーザーからフィードバックされた沈黙、怒り、苦しみなどデフォルト感情以外の感情には触れてないため、ユーモアビッグデータ知識ベース内のデータに加え、過去毎回異なるタイプのユーザーが異なる返事へのデフォルト感情以外の感情フィードバックを結びつける必要があり、それで全面的な感情フィードバック関連情報を取得することができる。 The data in the humor big data knowledge base includes default emotion feedback to the user's humor paragraph responses, but touches non-default emotions such as silence, anger, and suffering that the user has fed back to other responses Therefore, in addition to the data in the humor big data knowledge base, different types of users each time must connect emotion feedback other than the default emotion to different replies each time, so that they can get full emotion feedback related information it can.

S108、過去毎回異なる返事への異なるタイプのユーザーの感情フィードバック関連情報を感情フィードバックビッグデータに保存する。 S108, the emotion feedback related information of different types of users for different replies each time in the past is stored in emotion feedback big data.

S109、返事待ちのユーザー情報を取得し、返事待ちのユーザーへの候補返事集合を取得する。 In step S109, user information waiting for a reply is acquired, and a candidate reply set for a user waiting for a reply is acquired.

返事待ちのユーザー情報をUで記録し、返事待ちのユーザーへの候補返事集合をPで記録し、候補返事集合Pの中に返事内容Piが含まれ、その中に、iは1からnまで、nは候補の返事数である。 User information waiting for reply is recorded in U, candidate reply set to the user waiting for reply is recorded in P, reply content Pi is included in candidate reply set P, and i is from 1 to n , N is the number of candidate responses.

S110、予期ユーザー感情フィードバックを取得する。 S110, obtaining expected user emotion feedback.

予期ユーザー感情フィードバックをFで記録し、予期ユーザー感情フィードバックを取得し、例えば:ユーザーが返事を聞いて楽しくなると見込む場合、予期ユーザー感情フィードバックFが楽しいであり、
あるいはユーザーが返事を聞いてさらに苦しくなると見込む場合、予期ユーザー感情フィードバックFが苦しいである。
Anticipatory user sentiment feedback is recorded in F, and expected user sentiment feedback is obtained, for example: If the user expects to hear a reply and expects it to be fun, the expected user sentiment feedback F is fun,
Or, when the user expects to get more painful after hearing the reply, the expected user emotion feedback F is difficult.

S111、感情フィードバックビッグデータから返事待ちのユーザー情報、返事待ちのユーザーの候補返事内の返事内容に最も一致するすべての感情フィードバック記録を検索する。   In S111, the emotion feedback big data is searched for all the emotion feedback records that most closely match the reply information in the user information waiting for reply and the candidate reply of the user waiting for reply.

具体的な検査測定過程は:感情フィードバックビッグデータ内の各感情フィードバック記録のユーザー情報、返事内容を返事待ちのユーザー情報U、返事待ちのユーザーへの候補返事Pの返事内容Piにマッチングさせ、各感情フィードバック記録が返事待ちのユーザー情報U、返事待ちのユーザーへの候補返事Pの返事内容Piとの一致度を取得し、そこから最大一致度が対応する感情フィードバック記録を選択し、返事待ちのユーザー情報U、返事待ちのユーザーへの候補返事Pの返事内容Piに最も一致する感情フィードバック記録として、Riで記録する。 The specific test measurement process is: Matching the user information and reply content of each emotion feedback record in the emotion feedback big data with the user information U waiting for reply and the reply content Pi of the candidate reply P to the user waiting for reply, The sentiment feedback record is obtained from the user information U waiting for a reply, the degree of coincidence with the reply content Pi of the candidate reply P to the user waiting for reply, and the sentiment feedback record corresponding to the maximum coincidence is selected therefrom, and the reply waiting Record as Ri as the emotion feedback record that most closely matches the user information U and the reply content Pi of the candidate reply P to the user waiting for reply.

S112、感情フィードバック記録から感情フィードバックを抽出し、感情フィードバックと予期ユーザー感情フィードバックとの一致度を計算し、Diで記録する。 S112, Emotion feedback is extracted from the emotion feedback record, and the degree of coincidence between the emotion feedback and the expected user emotion feedback is calculated and recorded in Di.

S113、感情フィードバックと予期ユーザー感情フィードバックとの一番大きい一致度に対応する感情フィードバック記録に基づいて、該当感情フィードバック記録の対応する返事内容を取得し、該当返事内容を返事待ちのユーザーへの返事とする。 S113, based on the emotion feedback record corresponding to the greatest degree of coincidence between the emotion feedback and the expected user emotion feedback, the corresponding reply content of the corresponding emotion feedback record is acquired, and the corresponding reply content is returned to the user waiting for reply And

理解できるのは、最大一致度Diが対応する感情フィードバックRi内の感情フィードバックFiが予期ユーザー感情フィードバックFに最も近いため、最大一致度Diが感情フィードバック記録Riと対応し、該当感情フィードバック記録Riが対応する返事内容Piを取得し、該当返事内容Piは必ずすべての候補返事において、予想に最も近いユーザー感情フィードバックFを生成する可能性が一番大きい。 It can be understood that since the emotion feedback Fi in the emotion feedback Ri corresponding to the maximum matching degree Di is closest to the expected user emotion feedback F, the maximum matching degree Di corresponds to the emotion feedback recording Ri, and the corresponding emotion feedback recording Ri is Corresponding reply contents Pi are acquired, and the corresponding reply contents Pi are most likely to generate the user emotion feedback F closest to the prediction in all candidate answers.

本実施例は、ユーモアビッグデータ知識ベース内のデータ、およびユーザーが過去で異なる返事へのデフォルト感情以外の感情フィードバックを通じて、ユーザーの同じな言葉に対して異なる返事をすれば、ユーザーがどんな感情を生ずるのかを予測し、さらに予測結果によりユーザーに特定の感情を生ませる返事を選択する。 This example shows what emotions a user will have if they respond differently to the same words of the user through data in the humor big data knowledge base and emotion feedback other than the default emotion to different responses in the past. It predicts what will happen, and then selects a reply that will give the user a specific feeling based on the prediction result.

本分野の当業者が理解できるのは、上記各実施例の方法の全部または一部のステップがプログラムが関連ハードウェアを指示することによって実現され、対応するプログラムはコンピューターの可読記憶媒体に保存でき、前記の記憶媒体は例えばROM/RAM、磁気ディスクまたはディスクなどのことである。 Those skilled in the art can understand that all or some of the steps of the methods of the above embodiments are realized by a program indicating related hardware, and the corresponding program can be stored in a computer-readable storage medium. The storage medium is, for example, a ROM / RAM, a magnetic disk or a disk.

実施例5: Example 5:

図13が示すように、本実施例はユーモア生成に基づくロボットシステムを提供し、該当システムはユーザーデータ取得モジュール1301、ユーモアパラグラフ生成出力モジュール1302、感情フィードバック監視モジュール1303、第一判断モジュール1304、第二判断モジュール1305及びユーモアビッグデータ知識ベース取得モジュール1306を含み、各モジュールの具体的な機能は下記のように: As shown in FIG. 13, this embodiment provides a robot system based on humor generation, which includes a user data acquisition module 1301, a humor paragraph generation output module 1302, an emotion feedback monitoring module 1303, a first determination module 1304, Including a dual decision module 1305 and a humor big data knowledge base acquisition module 1306, the specific functions of each module are as follows:

前記ユーザーデータ取得モジュール1301は、ユーザーのデータを取得する。 The user data acquisition module 1301 acquires user data.

前記ユーモアパラグラフ生成出力モジュール1302は、ユーザーのデータによって、ユーモアパラグラフを生成して出力し、ユーモアパラグラフが現有のユーモア生成方法により生成され、 The humor paragraph generation / output module 1302 generates and outputs a humor paragraph based on user data, and the humor paragraph is generated by an existing humor generation method,

前記感情フィードバック監視モジュール1303は、出力されたユーモアパラグラフへのユーザーの感情フィードバックを監視し、 The emotion feedback monitoring module 1303 monitors the user's emotion feedback to the output humor paragraph,

前記第一判断モジュール1304は、ユーザーの感情フィードバックがデフォルト感情に識別されると、出力されたユーモアパラグラフがユーモアの特性を持っていると断じ、且つユーザーの感情フィードバックの識別結果でデフォルト感情レベルが大きいほど、出力されたユーモアパラグラフのユーモアレベルが大きくなると断じ、 When the user's emotion feedback is identified as the default emotion, the first determination module 1304 determines that the output humor paragraph has a humor characteristic, and determines the default emotion level based on the identification result of the user's emotion feedback. The larger the, the higher the humor level of the output humor paragraph,

前記第二判断モジュール1305は、ユーザーの感情フィードバックがデフォルト感情以外の感情に識別されると、出力されたユーモアパラグラフがユーモアの特性を持ってないと断じ、 When the user's emotion feedback is identified as an emotion other than the default emotion, the second determination module 1305 determines that the output humor paragraph does not have humor characteristics,

前記ユーモアビッグデータ知識ベース取得モジュール1306は、ユーモアの特性を持っているユーモアパラグラフ、該当ユーモアパラグラフに対応する環境情報、該当ユーモアパラグラフのユーモアレベルおよび該当ユーモアパラグラフに対するユーザーの感情フィードバックをユーモアビッグデータ知識ベースに保存する。   The humor big data knowledge base acquisition module 1306 humor big data knowledge of humor paragraph having humor characteristics, environmental information corresponding to the humor paragraph, humor level of the humor paragraph, and user emotion feedback to the humor paragraph. Save to base.

実施例6: Example 6:

本実施例の他のモジュールは実施例1と同じで、異なる部分はユーモアパラグラフ生成出力モジュール1302の実現にあり、図14が示すように、前記ユーモアパラグラフ生成出力モジュール1302は小データ抽出ユニット13021、ビッグデータ取得ユニット13022、第一相関データセット取得ユニット13023、正相関パラグラフ集合取得ユニット13024、正負相関パラグラフ集合取得ユニット13025、ユーモアパラグラフ集合取得ユニット13026及びユーモアパラグラフ出力ユニット13027を含み、各ユニットの具体的な機能は下記のように: The other modules of the present embodiment are the same as those of the first embodiment, and a different part is in the implementation of the humor paragraph generation / output module 1302. As shown in FIG. 14, the humor paragraph generation / output module 1302 includes a small data extraction unit 13021, Each unit includes a big data acquisition unit 13022, a first correlation data set acquisition unit 13023, a positive correlation paragraph set acquisition unit 13024, a positive / negative correlation paragraph set acquisition unit 13025, a humor paragraph set acquisition unit 13026, and a humor paragraph output unit 13027. Typical features are as follows:

前記小データ抽出ユニット13021は、ユーザーのデータから一部のデータを第一小データとして抽出し、もう一部のデータを第二小データとして抽出する。 The small data extraction unit 13021 extracts some data from the user data as first small data, and extracts some other data as second small data.

前記ビッグデータ取得ユニット13022は、ビッグデータを取得する。 The big data acquisition unit 13022 acquires big data.

前記第一相関データセット取得ユニット13023は、ビッグデータから第一小データに関わるデータを得てクリーニングして第一相関データセットとする。 The first correlation data set acquisition unit 13023 obtains data related to the first small data from the big data and cleans it to obtain a first correlation data set.

前記正相関パラグラフ集合取得ユニット13024は、第一相関データセットから第一小データとの正相関度がデフォルト正相関度しきい値より大きいパラグラフをマイニングし、マイニングされたパラグラフおよびその正相関度を正相関パラグラフ集合に保存し、具体的な過程は実施例2を参照にできるできる。 The positive correlation paragraph set acquisition unit 13024 mines a paragraph whose positive correlation with the first small data is greater than the default positive correlation threshold from the first correlation data set, and obtains the mined paragraph and its positive correlation. The specific process is stored in the positive correlation paragraph set, and the specific process can be referred to the second embodiment.

前記正負相関パラグラフ集合取得ユニット13025は、正相関パラグラフ集合から第二小データとの負相関度がデフォルト負相関度しきい値より大きいパラグラフをマイニングし、マイニングされたパラグラフおよびその正相関度と負相関度を正負相関パラグラフ集合に保存し、具体的な過程は実施例2を参照にできるできる。 The positive / negative correlation paragraph set acquisition unit 13025 mines a paragraph in which the negative correlation with the second small data is greater than the default negative correlation threshold from the positive correlation paragraph set, and the mined paragraph and its positive correlation and negative correlation The degree of correlation is stored in a set of positive and negative correlation paragraphs, and the specific process can be referred to Example 2.

前記ユーモアパラグラフ集合取得ユニット13026は、正負相関パラグラフ集合の各パラグラフが対応する正相関度と負相関度により、該当パラグラフのユーモアレベルを計算し、ユーモアレベルがデフォルトユーモアしきい値より大きいパラグラフをユーモアパラグラフ集合に保存し、具体的な過程は実施例2を参照にできる。 The humor paragraph set acquisition unit 13026 calculates the humor level of the paragraph based on the positive correlation and the negative correlation corresponding to each paragraph of the positive / negative correlation paragraph set, and the humor level is greater than the default humor threshold. It is stored in a paragraph set, and the specific process can be referred to Example 2.

前記ユーモアパラグラフ出力ユニット13027は、ユーモアパラグラフ集合からユーモアレベルの一番大きいユーモアパラグラフを選択し、該当ユーモアパラグラフを出力する。 The humor paragraph output unit 13027 selects the humor paragraph having the highest humor level from the humor paragraph set, and outputs the corresponding humor paragraph.

実施例7: Example 7:

本実施例の他のモジュールは実施例1と同じで、異なる部分がユーモアパラグラフ生成出力モジュール1302の実現にあり、図15が示すように、前記ユーモアパラグラフ生成出力モジュール1302は小データ抽出ユニット13021、ビッグデータ取得ユニット13022、第一相関データセット取得ユニット13023、負相関パラグラフ集合取得ユニット13024、負正相関パラグラフ集合取得ユニット13025、ユーモアパラグラフ集合取得ユニット13026及びユーモアパラグラフ出力ユニット13027を含み、各ユニットの具体的な機能は下記のように: Other modules of the present embodiment are the same as those of the first embodiment, and a different part is in the realization of the humor paragraph generation / output module 1302. As shown in FIG. 15, the humor paragraph generation / output module 1302 includes a small data extraction unit 13021, Each unit includes a big data acquisition unit 13022, a first correlation data set acquisition unit 13023, a negative correlation paragraph set acquisition unit 13024, a negative positive correlation paragraph set acquisition unit 13025, a humor paragraph set acquisition unit 13026, and a humor paragraph output unit 13027. Specific features are as follows:

前記小データ抽出ユニット13021は、ユーザーのデータから一部のデータを第一小データとして抽出し、もう一部のデータを第二小データとして抽出する。 The small data extraction unit 13021 extracts some data from the user data as first small data, and extracts some other data as second small data.

前記ビッグデータ取得ユニット13022は、ビッグデータを取得する。 The big data acquisition unit 13022 acquires big data.

前記第一相関データセット取得ユニット13023は、ビッグデータから第一小データに関わるデータを得てクリーニングして第一相関データセットとする。 The first correlation data set acquisition unit 13023 obtains data related to the first small data from the big data and cleans it to obtain a first correlation data set.

前記負相関パラグラフ集合取得ユニット13024は、第一相関データセットから第二小データとの負相関度がデフォルト負相関度しきい値より大きいパラグラフをマイニングし、マイニングされたパラグラフおよびその負相関度を負相関パラグラフ集合に保存し、具体的な過程は実施例3を参照にできる。 The negative correlation paragraph set acquisition unit 13024 mines a paragraph in which the negative correlation with the second small data is larger than the default negative correlation threshold from the first correlation data set, and determines the mined paragraph and its negative correlation. It is stored in the negative correlation paragraph set, and the specific process can be referred to Example 3.

前記負正相関パラグラフ集合取得ユニット13025は、負相関パラグラフ集合から第一小データとの正相関度がデフォルト正相関度しきい値より大きいパラグラフをマイニングし、マイニングされたパラグラフおよびその負相関度と正相関度を負正相関パラグラフ集合に保存し、具体的な過程は実施例3を参照にできる。 The negative positive correlation paragraph set acquisition unit 13025 mines a paragraph in which the positive correlation with the first small data is greater than the default positive correlation threshold from the negative correlation paragraph set, the mined paragraph and its negative correlation The degree of positive correlation is stored in a set of negative and positive correlation paragraphs, and the specific process can be referred to Example 3.

前記ユーモアパラグラフ集合取得ユニット13026は、負正相関パラグラフ集合の各パラグラフが対応する負相関度と正相関度に基づき、該当パラグラフのユーモアレベルを計算し、ユーモアレベルがデフォルトユーモアしきい値より大きいパラグラフをユーモアパラグラフ集合に保存し、具体的な過程は実施例3を参照にできる。 The humor paragraph set acquisition unit 13026 calculates the humor level of the corresponding paragraph based on the negative correlation and the positive correlation corresponding to each paragraph of the negative positive correlation paragraph set, and the humor level is greater than the default humor threshold. Is stored in a humor paragraph set, and the specific process can be referred to Example 3.

前記ユーモアパラグラフ出力ユニット13027は、ユーモアパラグラフ集合からユーモアレベルの一番大きいユーモアパラグラフを選択し、該当ユーモアパラグラフを出力する。   The humor paragraph output unit 13027 selects the humor paragraph having the highest humor level from the humor paragraph set, and outputs the corresponding humor paragraph.

実施例8: Example 8:

図16が示すように、本実施例のユーザーデータ取得モジュール1301、ユーモアパラグラフ生成出力モジュール1302、感情フィードバック監視モジュール1303、第一判断モジュール1304、第二判断モジュール1305及びユーモアビッグデータ知識ベース取得モジュール1306が実施例5、6または7と同じであり、しかし本実施例のユーモア生成に基づくロボットシステムは感情フィードバック関連情報取得モジュール1307、感情フィードバックビッグデータ取得モジュール1308、候補返事集合取得モジュール1309、予期ユーザー感情フィードバック取得モジュール1310、感情フィードバック記録検索モジュール1311、一致度計算モジュール1312及び返事内容取得モジュール1313を含み、これらのモジュールの具体的な機能は下記のように: As shown in FIG. 16, the user data acquisition module 1301, the humor paragraph generation output module 1302, the emotion feedback monitoring module 1303, the first determination module 1304, the second determination module 1305, and the humor big data knowledge base acquisition module 1306 of the present embodiment. Is the same as in the fifth, sixth or seventh embodiment, but the robot system based on the generation of humor in the present embodiment includes an emotion feedback related information acquisition module 1307, an emotion feedback big data acquisition module 1308, a candidate answer set acquisition module 1309, an expected user An emotion feedback acquisition module 1310, an emotion feedback record search module 1311, a coincidence calculation module 1312, and a reply content acquisition module 1313; Specific functions of these modules are as follows:

前記感情フィードバック関連情報取得モジュール1307は、ユーモアビッグデータ知識ベース内のデータ及び過去毎回異なる返事への異なるタイプのユーザーのデフォルト感情以外の感情フィードバックに基づいて、過去毎回異なる返事への異なるタイプのユーザーの感情フィードバック関連情報を取得し、その中に、前記感情フィードバック関連情報はユーザー情報、返事内容、感情フィードバック内容と感情フィードバックタイプを含み、 The emotion feedback related information acquisition module 1307 is configured to use different types of users for different responses each time in the past based on the data in the humor big data knowledge base and emotion feedback other than the default emotions of different types of users for different responses in the past. The emotion feedback related information, the emotion feedback related information includes user information, reply content, emotion feedback content and emotion feedback type,

前記感情フィードバックビッグデータ取得モジュール1308は、過去毎回異なる返事への異なるタイプのユーザーの感情フィードバック関連情報を感情フィードバックビッグデータに保存し、 The emotion feedback big data acquisition module 1308 stores emotion feedback related information of different types of users to different responses each time in the past in emotion feedback big data,

前記候補返事集合取得モジュール1309は、返事待ちのユーザー情報を取得し、返事待ちのユーザーへの候補返事集合を取得し、 The candidate answer set acquisition module 1309 acquires user information waiting for a reply, acquires a candidate reply set for a user waiting for a reply,

前記予期ユーザー感情フィードバック取得モジュール1310は、予期ユーザー感情フィードバックを取得し、 The expected user emotion feedback acquisition module 1310 acquires expected user emotion feedback,

前記感情フィードバック記録検索モジュール1311は、感情フィードバックビッグデータから返事待ちのユーザー情報及び返事待ちのユーザーへの候補返事集合内の返事内容に最もマッチングするすべての感情フィードバック記録を検索し、具体的に下記のように: The emotion feedback record retrieval module 1311 retrieves all emotion feedback records that most closely match the reply information in the candidate reply set to the user information waiting for reply and the user waiting for reply from the emotion feedback big data. like:

感情フィードバックビッグデータ内の各感情フィードバック記録のユーザー情報、返事内容を返事待ちのユーザー情報、返事待ちのユーザーへの候補返事集合内の返事内容にマッチングさせ、各感情フィードバック記録と返事待ちのユーザー情報、返事待ちのユーザーへの候補返事集合との一致度を取得し、その中から一番大きい一致度の対応する感情フィードバック記録を選択し、返事待ちのユーザー情報や返事待ちのユーザーへの候補返事集合に最も一致する感情フィードバック記録とする。 User information for each emotional feedback record in emotional feedback big data, user response information is matched to the user information waiting for reply, and the answer content in the candidate answer set for the user waiting for reply, each emotion feedback record and user information waiting for reply , Get the degree of match with the candidate reply set for the user waiting for reply, select the corresponding emotion feedback record with the largest match from among them, select the user information waiting for reply and the candidate reply to the user waiting for reply The emotional feedback record that best matches the set.

前記一致度計算モジュール1312は、感情フィードバック記録から感情フィードバックを抽出し、感情フィードバックと予期ユーザー感情フィードバックとの一致度を計算する。 The coincidence calculation module 1312 extracts emotion feedback from the emotion feedback record, and calculates the coincidence between the emotion feedback and the expected user emotion feedback.

前記返事内容取得モジュール1313は、感情フィードバックと予期ユーザー感情フィードバックとの一番大きい一致度に対応する感情フィードバック記録に基づいて、該当感情フィードバック記録が対応する返事内容を取得し、該当返事内容を返事待ちのユーザーへの返事とする。 The reply content acquisition module 1313 acquires the reply content corresponding to the corresponding emotion feedback record based on the emotion feedback record corresponding to the greatest degree of coincidence between the emotion feedback and the expected user emotion feedback, and returns the corresponding reply content. Answer to the waiting user.

ここで説明すべきなのは、前記実施例が提供したロボットシステムはただ前記各機能モジュールの区分によって例を挙げて説明し、実際の応用では、需要に応じて前記機能をそれぞれの機能モジュールに配って完成し、即ち内部構造をそれぞれの機能モジュールに区分し、上記の全部または一部の機能を完成する。 What should be explained here is that the robot system provided in the embodiment is described by taking an example according to the division of each functional module, and in an actual application, the function is distributed to each functional module according to demand. Completion, that is, the internal structure is divided into functional modules, and all or some of the above functions are completed.

理解できるのは、上記の各実施例の提供したロボットシステムに使用される術語「第一」、「第二」 などが各種のモジュールを記述できるが、これらのモジュールが術語の制限を受けないのである。これらの術語は第一モジュールをもう一つのモジュールと区別することしかに用られない。例えば、本発明の範囲から離脱しない場合、第一判断モジュールを第二判断モジュールと呼べ、且つ類似的に、第二判断モジュールを第一判断モジュールと呼べ、第一判断モジュールと第二判断モジュールがいずれかも判断モジュールであるが、同じ判断モジュールではない。 It can be understood that the terms “first” and “second” used in the robot systems provided in the above embodiments can describe various modules, but these modules are not subject to the terminology restrictions. is there. These terms are only used to distinguish one module from another. For example, if not departing from the scope of the present invention, the first judgment module can be called the second judgment module, and similarly, the second judgment module can be called the first judgment module, and the first judgment module and the second judgment module are Either is a decision module, but not the same decision module.

以上に述べたのはただ本発明の具体的な実施方式で、しかし本発明の保護範囲はここに限らないである。全部の創造的な労働を通じなく思いついた変化と取替は本発明の保護範囲にカバーされる。だから本発明の保護範囲は権利要求書が限定される保護範囲を標準とする。 What has been described above is merely a specific implementation method of the present invention, but the protection scope of the present invention is not limited thereto. Changes and replacements that have been conceived not through all creative labor are covered by the protection scope of the present invention. Therefore, the protection scope of the present invention is based on the protection scope in which the rights request is limited.

Claims (2)

ユーモア生成に基づく感情対話方法の特徴は、前記方法がロボットに応用され、以下を含む:
ユーザーのデータを取得し、
ユーザーのデータによって、ユーモアパラグラフを生成して出力し、
出力されたユーモアパラグラフへのユーザーの感情フィードバックを監視し、
ユーザーの感情フィードバックがデフォルト感情に識別されると、出力されたユーモアパラグラフがユーモアの特性を持っていると断じ、ユーザーの感情フィードバック識別の結果でデフォルト感情レベルが大きいほど、出力されたユーモアパラグラフのユーモアレベルが大きくなり、
ユーザーの感情フィードバックがデフォルト感情以外の感情に識別されると、出力されたユーモアパラグラフがユーモアの特性を持ってないと断じ、
ユーモアの特性を持っているユーモアパラグラフ、該当ユーモアパラグラフに対応する環境情報、該当ユーモアパラグラフのユーモアレベルおよび該当ユーモアパラグラフに対するユーザーの感情フィードバックをユーモアビッグデータ知識ベースに保存し、
前記ユーザーのデータによって、ユーモアパラグラフを生成して出力する、具体的に以下を含む:ユーザーのデータから一部のデータを第一小データとして抽出し、もう一部のデータを第二小データとして抽出し、
ビッグデータを取得し、
ビッグデータから第一小データに関わるデータを得てクリーニングして第一相関データセットとし、
第一相関データセットから第一小データとの正相関度がデフォルト正相関度しきい値より大きいパラグラフをマイニングし、マイニングされたパラグラフおよびその正相関度を正相関パラグラフ集合に保存し、
正相関パラグラフ集合から第二小データとの負相関度がデフォルト負相関度しきい値より大きいパラグラフをマイニングし、マイニングされたパラグラフおよびその正相関度と負相関度を正負相関パラグラフ集合に保存し、
正負相関パラグラフ集合の各パラグラフが対応する正相関度と負相関度により、該当パラグラフのユーモアレベルを計算し、ユーモアレベルがデフォルトユーモアしきい値より大きいパラグラフをユーモアパラグラフ集合に保存し、
ユーモアパラグラフ集合からユーモアレベルの一番大きいユーモアパラグラフを選択し、該当ユーモアパラグラフを出力し、
前記ユーザーのデータによって、ユーモアパラグラフを生成して出力する、具体的に以下を含む:ユーザーのデータから一部のデータを第一小データとして抽出し、もう一部のデータを第二小データとして抽出し、
ビッグデータを取得し、
ビッグデータから第一小データに関わるデータを得てクリーニングして第一相関データセットとし、
第一相関データセットから第二小データとの負相関度がデフォルト負相関度しきい値より大きいパラグラフをマイニングし、マイニングされたパラグラフおよびその負相関度を負相関パラグラフ集合に保存し、
負相関パラグラフ集合から第一小データとの正相関度がデフォルト負相関度しきい値より大きいパラグラフをマイニングし、マイニングされたパラグラフおよびその負相関度と正相関度を負正相関パラグラフ集合に保存し、
負正相関パラグラフ集合の各パラグラフが対応する負相関度と正相関度に基づき、該当パラグラフのユーモアレベルを計算し、ユーモアレベルがデフォルトユーモアしきい値より大きいパラグラフをユーモアパラグラフ集合に保存し、
ユーモアパラグラフ集合からユーモアレベルの一番大きいユーモアパラグラフを選択し、該当ユーモアパラグラフを出力し、
前記方法が以下を含む:
ユーモアビッグデータ知識ベース内のデータ及び過去毎回異なる返事への異なるタイプのユーザーのデフォルト感情以外の感情フィードバックに基づいて、過去毎回異なる返事への異なるタイプのユーザーの感情フィードバック関連情報を取得し、その中に、前記感情フィードバック関連情報はユーザー情報、返事内容、感情フィードバック内容と感情フィードバックタイプを含み、
過去毎回異なる返事への異なるタイプのユーザーの感情フィードバック関連情報を感情フィードバックビッグデータに保存し、
返事待ちのユーザー情報を取得し、返事待ちのユーザーへの候補返事集合を取得し、
予期ユーザー感情フィードバックを取得し、
感情フィードバックビッグデータから返事待ちのユーザー情報及び返事待ちのユーザーへの候補返事集合内の返事内容に最もマッチングするすべての感情フィードバック記録を検索し、
感情フィードバック記録から感情フィードバックを抽出し、感情フィードバックと予期ユーザー感情フィードバックとの一致度を計算し、
感情フィードバックと予期ユーザー感情フィードバックとの一番大きい一致度に対応する感情フィードバック記録に基づいて、該当感情フィードバック記録の対応する返事内容を取得し、該当返事内容を返事待ちのユーザーへの返事として、
前記感情フィードバックビッグデータからユーザー情報、候補返事集合の返事内容に最も一致するすべての感情フィードバック記録を検索し、具体的には:
感情フィードバックビッグデータ中の各感情フィードバック記録のユーザー情報、返事内容を返事待ちのユーザー情報、返事待ちのユーザーへの候補返事集合内の返事内容にマッチングさせ、各感情フィードバック記録と返事待ちのユーザー情報、返事待ちのユーザーへの候補返事集合との一致度を取得し、その中から一番大きい一致度の対応する感情フィードバック記録を選択し、返事待ちのユーザー情報や返事待ちのユーザーへの候補返事集合に最も一致する感情フィードバック記録として、
Features of the emotion interaction method based on humor generation include the following when the method is applied to a robot:
Get user data,
Generate and output humor paragraphs based on user data,
Monitor the user's emotional feedback to the output humor paragraph,
When the user's emotion feedback is identified as the default emotion, the output humor paragraph is judged to have humor characteristics, and the higher the default emotion level in the user's emotion feedback identification result, the greater the output humor paragraph. The level of humor increases,
If the user ’s emotional feedback is identified as an emotion other than the default emotion, the output humor paragraph will refrain from having humor characteristics,
Humor paragraph with humor characteristics, environmental information corresponding to the relevant humor paragraph, humor level of the relevant humor paragraph and user emotion feedback for the relevant humor paragraph are stored in the humor big data knowledge base,
Generate and output a humor paragraph based on the user's data, specifically including: Extracting some data from the user's data as first small data and another data as second small data Extract and
Get big data,
Obtain the data related to the first small data from the big data and clean it to make the first correlation data set,
Mining a paragraph in which the positive correlation with the first small data from the first correlation data set is greater than the default positive correlation threshold, storing the mined paragraph and its positive correlation in a positive correlation paragraph set,
Mining a paragraph whose negative correlation with the second small data is greater than the default negative correlation threshold from the positive correlation paragraph set and storing the mined paragraph and its positive and negative correlation degrees in the positive and negative correlation paragraph set ,
Calculate the humor level of the corresponding paragraph based on the positive correlation and negative correlation corresponding to each paragraph of the positive / negative correlation paragraph set, and save the paragraph whose humor level is higher than the default humor threshold in the humor paragraph set,
Select the humor paragraph with the highest humor level from the set of humor paragraphs, output the relevant humor paragraph,
Generate and output a humor paragraph based on the user's data, specifically including: Extracting some data from the user's data as first small data and another data as second small data Extract and
Get big data,
Obtain the data related to the first small data from the big data and clean it to make the first correlation data set,
Mining a paragraph in which the negative correlation with the second small data from the first correlation data set is greater than the default negative correlation threshold, storing the mined paragraph and its negative correlation in a negative correlation paragraph set,
Mines the negative correlation paragraph set that has a positive correlation with the first small data that is greater than the default negative correlation threshold, and saves the mined paragraph and its negative and positive correlation degrees in the negative positive correlation paragraph set. And
Calculate the humor level of the corresponding paragraph based on the negative correlation and the positive correlation corresponding to each paragraph of the negative positive correlation paragraph set, and save the paragraph whose humor level is higher than the default humor threshold in the humor paragraph set,
Select the humor paragraph with the highest humor level from the set of humor paragraphs, output the relevant humor paragraph,
The method includes:
Based on the data in the humor big data knowledge base and the emotion feedback other than the default emotion of different types of users to different responses each time in the past, the emotion feedback related information of different types of users to different responses in the past is obtained and The emotion feedback related information includes user information, reply content, emotion feedback content and emotion feedback type,
Store emotional feedback related information of different types of users for different responses in the past in emotion feedback big data,
Get user information waiting for a reply, get a candidate reply set for users waiting for a reply,
Get anticipatory user sentiment feedback,
Find all sentiment feedback records that most closely match the sentiment feedback big data to the user information awaiting reply and the reply content in the candidate reply set to the waiting reply user,
Extract emotional feedback from emotional feedback records, calculate the degree of agreement between emotional feedback and expected user emotional feedback,
Based on the emotion feedback record corresponding to the greatest degree of agreement between the emotion feedback and the expected user emotion feedback, the corresponding response content of the corresponding emotion feedback record is obtained, and the corresponding response content is returned to the user waiting for the response.
From the sentiment feedback big data, search for all sentiment feedback records that most closely match the user information and the contents of the candidate answer set, specifically:
User information for each emotional feedback record in emotional feedback big data, match the response content to the user information waiting for the response, the response content in the candidate answer set for the user waiting for the response, each emotion feedback record and the user information waiting for the response , Get the degree of match with the candidate reply set for the user waiting for reply, select the corresponding emotion feedback record with the largest match from among them, select the user information waiting for reply and the candidate reply to the user waiting for reply As the emotional feedback record that best matches the set,
ユーモア生成に基づく感情対話方法とロボットシステムであって、前記システムはユーザーデータ取得モジュール、ユーモアパラグラフ生成出力モジュール、感情フィードバック監視モジュール、第一判断モジュール、第二判断モジュール及びユーモアビッグデータ知識ベース取得モジュールを含み、
前記ユーザーデータ取得モジュールは、ユーザーのデータを取得し、
前記ユーモアパラグラフ生成出力モジュールは、ユーザーのデータによって、ユーモアパラグラフを生成して出力し、
前記感情フィードバック監視モジュールは、出力されたユーモアパラグラフへのユーザーの感情フィードバックを監視し、
前記第一判断モジュールは、ユーザーの感情フィードバックがデフォルト感情に識別されると、出力されたユーモアパラグラフがユーモアの特性を持っていると断じ、ユーザーの感情フィードバック識別の結果でデフォルト感情レベルが大きいほど、出力されたユーモアパラグラフのユーモアレベルが大きくなり、
前記第二判断モジュールは、ユーザーの感情フィードバックがデフォルト感情以外の感情に識別されると、出力されたユーモアパラグラフがユーモアの特性を持ってないと断じると断じ、
前記ユーモアビッグデータ知識ベース取得モジュールは、ユーモアの特性を持っているユーモアパラグラフ、該当ユーモアパラグラフに対応する環境情報、該当ユーモアパラグラフのユーモアレベルおよび該当ユーモアパラグラフに対するユーザーの感情フィードバックをユーモアビッグデータ知識ベースに保存し、
前記ユーモアパラグラフ生成出力モジュールは小データ抽出ユニット、ビッグデータ取得ユニット、第一相関データセット取得ユニット、正相関パラグラフ集合取得ユニット、正負相関パラグラフ集合取得ユニット、ユーモアパラグラフ集合取得ユニット及びユーモアパラグラフ出力ユニットを含み、
小データ抽出ユニットは、ユーザーのデータから一部のデータを第一小データとして抽出し、もう一部のデータを第二小データとして抽出し、
前記ビッグデータ取得ユニットは、ビッグデータを取得し、
前記第一相関データセット取得ユニットは、ビッグデータから第一小データに関わるデータを得てクリーニングして第一相関データセットとし、
前記正相関パラグラフ集合取得ユニットは、第一相関データセットから第一小データとの正相関度がデフォルト正相関度しきい値より大きいパラグラフをマイニングし、マイニングされたパラグラフおよびその正相関度を正相関パラグラフ集合に保存し、
前記正負相関パラグラフ集合取得ユニットは、正相関パラグラフ集合から第二小データとの負相関度がデフォルト負相関度しきい値より大きいパラグラフをマイニングし、マイニングされたパラグラフおよびその正相関度と負相関度を正負相関パラグラフ集合に保存し、
前記ユーモアパラグラフ集合取得ユニットは、正負相関パラグラフ集合の各パラグラフが対応する正相関度と負相関度により、該当パラグラフのユーモアレベルを計算し、ユーモアレベルがデフォルトユーモアしきい値より大きいパラグラフをユーモアパラグラフ集合に保存し、
前記ユーモアパラグラフ出力ユニットは、ユーモアパラグラフ集合からユーモアレベルの一番大きいユーモアパラグラフを選択し、該当ユーモアパラグラフを出力し、
前記ユーモアパラグラフ生成出力モジュールは、小データ抽出ユニット、ビッグデータ取得ユニット、第一相関データセット取得ユニット、負相関パラグラフ集合取得ユニット、負正相関パラグラフ集合取得ユニット、ユーモアパラグラフ集合取得ユニット及びユーモアパラグラフ出力ユニットを含み、
前記小データ抽出ユニットは、ユーザーのデータから一部のデータを第一小データとして抽出し、また一部のデータを第二小データとして抽出し、
前記ビッグデータ取得ユニットは、ビッグデータを取得し、
前記第一相関データセット取得ユニットは、ビッグデータから第一小データに関わるデータを得てクリーニングして第一相関データセットとし、
前記負相関パラグラフ集合取得ユニットは、第一相関データセットから第二小データとの負相関度がデフォルト負相関度しきい値より大きいパラグラフをマイニングし、マイニングされたパラグラフおよびその負相関度を負相関パラグラフ集合に保存し、
前記負正相関パラグラフ集合取得ユニットは、負相関パラグラフ集合から第一小データとの正相関度がデフォルト正相関度しきい値より大きいパラグラフをマイニングし、マイニングされたパラグラフおよびその負相関度と正相関度を負正相関パラグラフ集合に保存し、
前記ユーモアパラグラフ集合取得ユニットは、負正相関パラグラフ集合の各パラグラフが対応する負相関度と正相関度に基づき、該当パラグラフのユーモアレベルを計算し、ユーモアレベルがデフォルトユーモアしきい値より大きいパラグラフをユーモアパラグラフ集合に保存し、
前記ユーモアパラグラフ出力ユニットは、ユーモアパラグラフ集合からユーモアレベルの一番大きいユーモアパラグラフを選択し、該当ユーモアパラグラフを出力し、
前記システムは、感情フィードバック関連情報取得モジュール、感情フィードバックビッグデータ取得モジュール、候補返事集合取得モジュール、予期ユーザー感情フィードバック取得モジュール、感情フィードバック記録検索モジュール、一致度計算モジュール及び返事内容取得モジュールを含み
前記感情フィードバック関連情報取得モジュールは、ユーモアビッグデータ知識ベース内のデータ及び過去毎回異なる返事への異なるタイプのユーザーのデフォルト感情以外の感情フィードバックに基づいて、過去毎回異なる返事への異なるタイプのユーザーの感情フィードバック関連情報を取得し、その中に、前記感情フィードバック関連情報はユーザー情報、返事内容、感情フィードバック内容と感情フィードバックタイプを含み、
前記感情フィードバックビッグデータ取得モジュールは、過去毎回異なる返事への異なるタイプのユーザーの感情フィードバック関連情報を感情フィードバックビッグデータに保存し、
前記候補返事集合取得モジュールは、返事待ちのユーザー情報を取得し、返事待ちのユーザーへの候補返事集合を取得し、
前記予期ユーザー感情フィードバック取得モジュールは、予期ユーザー感情フィードバックを取得し、
前記感情フィードバック記録検索モジュールは、感情フィードバックビッグデータから返事待ちのユーザー情報及び返事待ちのユーザーへの候補返事集合内の返事内容に最もマッチングするすべての感情フィードバック記録を検索し、
前記一致度計算モジュールは、感情フィードバック記録から感情フィードバックを抽出し、感情フィードバックと予期ユーザー感情フィードバックとの一致度を計算し、
前記返事内容取得モジュールは、感情フィードバックと予期ユーザー感情フィードバックとの一番大きい一致度に対応する感情フィードバック記録に基づいて、該当感情フィードバック記録が対応する返事内容を取得し、該当返事内容を返事待ちのユーザーへの返事とし、
前記感情フィードバック記録検索モジュールは、具体的には:
感情フィードバックビッグデータ中の各感情フィードバック記録のユーザー情報、返事内容を返事待ちのユーザー情報、返事待ちのユーザーへの候補返事集合内の返事内容にマッチングさせ、各感情フィードバック記録と返事待ちのユーザー情報、返事待ちのユーザーへの候補返事集合との一致度を取得し、その中から一番大きい一致度の対応する感情フィードバック記録を選択し、返事待ちのユーザー情報や返事待ちのユーザーへの候補返事集合に最も一致する感情フィードバック記録とする。
Emotion interaction method and robot system based on humor generation, said system comprising user data acquisition module, humor paragraph generation output module, emotion feedback monitoring module, first determination module, second determination module and humor big data knowledge base acquisition module Including
The user data acquisition module acquires user data,
The humor paragraph generation / output module generates and outputs a humor paragraph according to user data,
The emotion feedback monitoring module monitors the user's emotion feedback to the output humor paragraph,
When the user's emotional feedback is identified as the default emotion, the first determination module determines that the output humor paragraph has humor characteristics, and the user's emotional feedback identification results in a high default emotion level. The higher the humor level of the output humor paragraph,
The second determination module refuses to say that the output humor paragraph has no humor characteristics when the user's emotion feedback is identified as an emotion other than the default emotion,
The humor big data knowledge base acquisition module includes humor paragraphs having humor characteristics, environmental information corresponding to the humor paragraphs, humor levels of the humor paragraphs, and user emotion feedback to the humor paragraphs. Save to
The humor paragraph generation output module includes a small data extraction unit, a big data acquisition unit, a first correlation data set acquisition unit, a positive correlation paragraph set acquisition unit, a positive / negative correlation paragraph set acquisition unit, a humor paragraph set acquisition unit, and a humor paragraph output unit. Including
The small data extraction unit extracts a part of the data from the user data as the first small data and the other part as the second small data.
The big data acquisition unit acquires big data,
The first correlation data set acquisition unit obtains data related to the first small data from the big data and cleans it to obtain a first correlation data set,
The positive correlation paragraph set acquisition unit mines the paragraph in which the positive correlation with the first small data from the first correlation data set is greater than the default positive correlation threshold, and corrects the mined paragraph and its positive correlation. Save in a set of correlated paragraphs,
The positive / negative correlation paragraph set acquisition unit mines a paragraph whose negative correlation with the second small data is larger than the default negative correlation threshold from the positive correlation paragraph set, and the mined paragraph and its positive correlation and negative correlation Store degrees in a positive and negative correlation paragraph set,
The humor paragraph set acquisition unit calculates the humor level of the corresponding paragraph based on the positive correlation and the negative correlation corresponding to each paragraph of the positive / negative correlation paragraph set, and the humor level is greater than the default humor threshold. Save it in a collective,
The humor paragraph output unit selects the humor paragraph with the highest humor level from the humor paragraph set, outputs the corresponding humor paragraph,
The humor paragraph generation output module includes a small data extraction unit, a big data acquisition unit, a first correlation data set acquisition unit, a negative correlation paragraph set acquisition unit, a negative positive correlation paragraph set acquisition unit, a humor paragraph set acquisition unit, and a humor paragraph output Including units,
The small data extraction unit extracts some data from the user's data as first small data, and extracts some data as second small data,
The big data acquisition unit acquires big data,
The first correlation data set acquisition unit obtains data related to the first small data from the big data and cleans it to obtain a first correlation data set,
The negative correlation paragraph set acquisition unit mines a paragraph in which the negative correlation with the second small data from the first correlation data set is greater than the default negative correlation threshold, and negatives the mined paragraph and its negative correlation. Save in a set of correlated paragraphs,
The negative positive correlation paragraph set acquisition unit mines a paragraph in which the positive correlation degree with the first small data is larger than the default positive correlation degree threshold from the negative correlation paragraph set, the mined paragraph and its negative correlation degree and the positive correlation degree. Save the degree of correlation in the negative positive correlation paragraph set,
The humor paragraph set acquisition unit calculates a humor level of a corresponding paragraph based on a negative correlation level and a positive correlation level corresponding to each paragraph of the negative positive correlation paragraph set, and calculates a humor level greater than a default humor threshold. Save it in a humor paragraph set,
The humor paragraph output unit selects the humor paragraph with the highest humor level from the humor paragraph set, outputs the corresponding humor paragraph,
The system includes an emotion feedback related information acquisition module, an emotion feedback big data acquisition module, a candidate reply set acquisition module, an expected user emotion feedback acquisition module, an emotion feedback record search module, a matching degree calculation module, and an answer content acquisition module. Feedback related information acquisition module is based on the data in the humor big data knowledge base and emotion feedback other than the default emotion of different types of users to different responses each time in the past, different types of user emotion feedback to different responses in the past The related information is acquired, and the emotion feedback related information includes user information, reply content, emotion feedback content and emotion feedback type.
The emotion feedback big data acquisition module stores emotion feedback related information of different types of users to different responses each time in the past in emotion feedback big data,
The candidate answer set acquisition module acquires user information waiting for a reply, acquires a candidate answer set for a user waiting for a reply,
The anticipation user emotion feedback acquisition module acquires anticipation user emotion feedback,
The sentiment feedback record search module searches all sentiment feedback records that most closely match the reply information in the candidate answer set to the waiting user information and the waiting reply user information from the sentiment feedback big data,
The coincidence calculation module extracts emotion feedback from the emotion feedback record, calculates the agreement between the emotion feedback and the expected user emotion feedback,
The reply content acquisition module acquires the reply content corresponding to the corresponding emotion feedback record based on the emotion feedback record corresponding to the greatest degree of coincidence between the emotion feedback and the expected user emotion feedback, and waits for the corresponding reply content As a reply to the user
The emotion feedback record search module is specifically:
User information for each emotional feedback record in emotional feedback big data, match the response content to the user information waiting for the response, the response content in the candidate answer set for the user waiting for the response, each emotion feedback record and the user information waiting for the response , Get the degree of match with the candidate reply set for the user waiting for reply, select the corresponding emotion feedback record with the largest match from among them, select the user information waiting for reply and the candidate reply to the user waiting for reply The emotional feedback record that best matches the set.
JP2018158916A 2017-08-28 2018-08-28 Feeling interactive method based on humor creation and robot system Pending JP2019040605A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710749276.3A CN107480291B (en) 2017-08-28 2017-08-28 emotion interaction method based on humor generation and robot system
CN201710749276.3 2017-08-28

Publications (1)

Publication Number Publication Date
JP2019040605A true JP2019040605A (en) 2019-03-14

Family

ID=60602911

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018158916A Pending JP2019040605A (en) 2017-08-28 2018-08-28 Feeling interactive method based on humor creation and robot system

Country Status (2)

Country Link
JP (1) JP2019040605A (en)
CN (2) CN107480291B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109977201B (en) * 2019-01-28 2023-09-22 平安科技(深圳)有限公司 Machine chat method and device with emotion, computer equipment and storage medium
CN111210818B (en) * 2019-12-31 2021-10-01 北京三快在线科技有限公司 Word acquisition method and device matched with emotion polarity and electronic equipment
CN115440232B (en) * 2022-11-08 2023-03-24 深圳市人马互动科技有限公司 Joke segment processing method and device, electronic equipment and computer storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003044088A (en) * 2001-07-27 2003-02-14 Sony Corp Program, recording medium, device and method for voice interaction
US20150371627A1 (en) * 2013-01-25 2015-12-24 Postech Academy-Industry Foundation Voice dialog system using humorous speech and method thereof
CN105955949A (en) * 2016-04-29 2016-09-21 华南师范大学 Big data search-based humorous robot dialogue control method and system

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100825719B1 (en) * 2005-12-09 2008-04-29 한국전자통신연구원 Method for generating emotions and emotions generating robot
KR100880613B1 (en) * 2007-08-10 2009-01-30 주식회사 쿼터뷰 System and method for supporting emotional expression of intelligent robot and intelligent robot system using the same
CN103971131A (en) * 2014-05-13 2014-08-06 华为技术有限公司 Preset facial expression recognition method and device
CN104299225A (en) * 2014-09-12 2015-01-21 姜羚 Method and system for applying facial expression recognition in big data analysis
CN105930372B (en) * 2016-04-12 2019-05-31 华南师范大学 Based on emotional robot dialogue method, system and the robot repeatedly fed back
CN105930374B (en) * 2016-04-12 2019-07-19 华南师范大学 Based on emotional robot dialogue method, system and the robot fed back recently

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003044088A (en) * 2001-07-27 2003-02-14 Sony Corp Program, recording medium, device and method for voice interaction
US20150371627A1 (en) * 2013-01-25 2015-12-24 Postech Academy-Industry Foundation Voice dialog system using humorous speech and method thereof
CN105955949A (en) * 2016-04-29 2016-09-21 华南师范大学 Big data search-based humorous robot dialogue control method and system

Also Published As

Publication number Publication date
CN110674270B (en) 2022-01-28
CN107480291A (en) 2017-12-15
CN110674270A (en) 2020-01-10
CN107480291B (en) 2019-12-10

Similar Documents

Publication Publication Date Title
CN107818798B (en) Customer service quality evaluation method, device, equipment and storage medium
US10635752B2 (en) Method and system for creating interactive inquiry and assessment bots
CN107797984B (en) Intelligent interaction method, equipment and storage medium
US20190122093A1 (en) Artificial intelligence system for supporting communication
Mariooryad et al. Building a naturalistic emotional speech corpus by retrieving expressive behaviors from existing speech corpora
CN105446146B (en) Intelligent terminal control method, system and intelligent terminal based on semantic analysis
WO2018036555A1 (en) Session processing method and apparatus
US8977573B2 (en) System and method for identifying customers in social media
CN110869969A (en) Virtual assistant for generating personalized responses within a communication session
JP2019040605A (en) Feeling interactive method based on humor creation and robot system
CN105574199B (en) Method and device for identifying false search behavior of search engine
KR20150086441A (en) Connecting people based on content and relational distance
CN110765348B (en) Hot word recommendation method and device, electronic equipment and storage medium
JP6913848B2 (en) Emotional dialogue methods and robot systems based on humor identification
CN109615009B (en) Learning content recommendation method and electronic equipment
CN109659009A (en) Motion management method, apparatus and electronic equipment
CN112364234A (en) Automatic grouping system for online discussion
US20120185417A1 (en) Apparatus and method for generating activity history
JP6831522B2 (en) Communication system
Anwar et al. Social relationship analysis using state-of-the-art embeddings
JP6517280B2 (en) Life log utilization system, method and program
CN110858234A (en) Method and device for pushing information according to human emotion
CN112507214B (en) User name-based data processing method, device, equipment and medium
CN106844646A (en) Artificial intelligence reply method and device based on emotional prediction
Timm et al. Dynamic analysis of communication processes using twitter data

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180906

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200414

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200713

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210310

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210330

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20211130