JPH01161479A - Natural language interactive device - Google Patents
Natural language interactive deviceInfo
- Publication number
- JPH01161479A JPH01161479A JP62318716A JP31871687A JPH01161479A JP H01161479 A JPH01161479 A JP H01161479A JP 62318716 A JP62318716 A JP 62318716A JP 31871687 A JP31871687 A JP 31871687A JP H01161479 A JPH01161479 A JP H01161479A
- Authority
- JP
- Japan
- Prior art keywords
- expression
- sentence
- person
- natural language
- storage device
- 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
Links
- 230000002452 interceptive effect Effects 0.000 title abstract 2
- 230000014509 gene expression Effects 0.000 claims abstract description 55
- 241001122315 Polites Species 0.000 claims abstract description 12
- 239000000284 extract Substances 0.000 abstract description 9
- 230000003993 interaction Effects 0.000 abstract description 5
- 238000010586 diagram Methods 0.000 description 4
Landscapes
- Document Processing Apparatus (AREA)
- Machine Translation (AREA)
Abstract
Description
【発明の詳細な説明】
産業上の利用分野
本発明は自然言語による対話を行う際に、対話の相手及
び文に会場する人物の、装jをの所属する集団及び装置
と対話する相手の所属する集団に対する所属関係に従っ
て、対話のおいて及びその登場人物に対する′!!!切
な敬語表現及び丁寧表現を生成する自然言語対話装置に
関する。DETAILED DESCRIPTION OF THE INVENTION Field of Industrial Application The present invention is directed to the use of a natural language dialogue, in which the conversation partner and the person present in the conversation, the group and device to which they belong, and the group and apparatus to which the dialogue partner belongs. ′ in the dialogue and its characters according to their affiliation with the group they are in! ! ! This invention relates to a natural language dialogue device that generates polite honorific expressions and polite expressions.
従来の技術
従来の敬語表現や丁寧表現を用いた文を生成する装置で
は利用者もしくは特定の人物に対し無条件に画一的に敬
語表現を使うと言うものであり、例えば目上の人間であ
っても自分の身内であれば、外部の人との会話では敬語
を使わないというような敬語使用の原則に基づいた処理
は行えなかった。Conventional technology Conventional devices that generate sentences using honorific expressions or polite expressions use honorific expressions unconditionally and uniformly for the user or a specific person. Even if the incident was within one's own family, it could not be handled based on the principle of using honorific language, such as not using honorific language in conversations with outsiders.
発明が解決しようとする問題点
一般に会話においては、同一の人物に対してもその人物
と話者との社会的帰属関係や聞き手との社会的関係によ
り尊敬表現や丁寧表現を使ったり、使わなかったりする
。しかし、従来の装置では登場する人物に対し直情に尊
敬表現、丁寧表現を使うかどうかを指定していたため、
登場人物と間き手との関係に従って表現を適切に変える
ことができなかった。Problems that the invention aims to solve In general, in conversation, expressions of respect or politeness may or may not be used toward the same person depending on the social affiliation relationship between that person and the speaker and the social relationship with the listener. or However, with conventional devices, it was necessary to specify whether to use expressions of respect, respect, or politeness for the characters appearing.
It was not possible to change the expression appropriately according to the relationship between the characters and the characters.
問題点を解決するための手段
本発明の自然言語対話装置は装置の所属する集団及び対
話する相手の所属する集団を記憶する主体帰属記憶装置
と文に登場する人物の所属する集団を記憶する一般帰属
記憶装置と特定の帰属関係を持つ人物に対しどのような
敬語表現及び丁寧表現を用いるべきかという規則を記憶
する表現記憶装置とその規則に基づき生成する自然言語
文の表現を決定する表現決定装置を有するものである。Means for Solving the Problems The natural language dialogue device of the present invention has a subject attribution storage device that stores the group to which the device belongs and the group to which the person with whom the device is interacting belongs, and a general group that stores the group to which the person appearing in the sentence belongs. Attribution storage device, an expression storage device that stores rules for what kind of honorific expressions and polite expressions should be used for a person with a specific attribution relationship, and an expression that determines the expression of a natural language sentence to be generated based on the rules. It has a determining device.
作用
文を生成する際に、表現決定装置が装置自身及び対話す
る相手の所属する集団を主体帰属記憶装置から抽出し、
文に登場する人物の所属する集団を前記一般帰属記憶装
置から抽出し、ざらにそのような帰属関係を持つ人物に
対して用いるべき尊敬表現及び丁寧表現を前記表現記憶
装置より抽出し、その表TMに基づき自然言語文を生成
することにより、対話する相手及び登場する人物に対し
、適切な尊敬表現及び丁寧表現を用いた自然言語文を生
成することが可能になる。When generating an action sentence, the expression determining device extracts the group to which the device itself and the interacting partner belong from the subject attribution storage device,
The group to which the person appearing in the sentence belongs is extracted from the general attribution storage device, the respectful expressions and polite expressions that should be used for the person who has such an attribution relationship are extracted from the expression storage device, and the table thereof is extracted. By generating a natural language sentence based on TM, it becomes possible to generate a natural language sentence using appropriate expressions of respect and politeness for the person with whom the user interacts and the characters appearing.
実施例
第1図の実施例では、人力装置lより対話する相手が自
然言語文を人力し、その自然言語入力文を人力文解析装
置2が解析する。解析の結果を元に応答文生成装置3は
入力文に対する応答文の表現を生成し、表現決定装置4
は主体帰属記憶装置5より装置自身と対話する相手の所
属関係を抽出し、ざらに応答文に登場する人物の所属関
係を一般帰属記憶装置6から抽出し、登場人物及び対話
の相手に対する表現を表現記憶装置7より抽出し、その
表現に基づき応答文の表現を実際の応答文に変換し、出
力装置8に出力する。Embodiment In the embodiment shown in FIG. 1, a person with whom one is interacting manually writes a natural language sentence using a human-powered device 1, and the human-powered sentence analysis device 2 analyzes the natural language input sentence. Based on the results of the analysis, the response sentence generation device 3 generates a response sentence expression for the input sentence, and the expression determination device 4 generates a response sentence expression for the input sentence.
extracts the affiliation relationship between the device itself and the person it interacts with from the subject attribution storage device 5, roughly extracts the affiliation relationship of the person appearing in the response sentence from the general attribution storage device 6, and expresses the expressions for the characters and the conversation partner. Based on the expression extracted from the expression storage device 7, the expression of the response sentence is converted into an actual response sentence and output to the output device 8.
第2図は主体帰属記憶装置5の内容を具体的に示したも
のであり、装置がB会社のD部のF課に所属すること、
対話の相手はA家、及びC会社のE部の0課に所属する
ことを示す。FIG. 2 specifically shows the contents of the subject attribution storage device 5, and shows that the device belongs to Section F of Department D of Company B;
This indicates that the conversation partner belongs to Family A and Section 0 of Department E of Company C.
第3図は一般帰属記憶装置6の内容を具体的に示したも
のであり、「升目jという人がB会社り部F課に所属す
ること、 r高橋Aという人がX会社Y部Z課に所属す
ることを示す。Figure 3 specifically shows the contents of the general attribution storage device 6, and it says, ``A person named J belongs to Section F, Department, Department of Company B, and ``A person named A Takahashi belongs to Section Z, Department Y, Company X.'' Indicates that the person belongs to.
以下第1〜第3図に示す実施例での実際の装置の動作を
次に示す例に対し説明する。The actual operation of the apparatus in the embodiment shown in FIGS. 1 to 3 will be explained below with reference to the following example.
対話の相手:「升目さんはいらつしゃいまずか。」装置
:「升目はただいま席をはずしております。」
人力装置1からの文の入力を人力文解析装置2が解析し
、その結果「升目jという人物の存在が尋ねられている
ことが判明する。これに基づき応答文生成装置3は「升
目」が今は不在であることを述べることを決定する。表
現決定装置4は主体帰属記憶装置5から装置自身と対話
相手の所属関係を抽出し、さらに表現決定装置4は一般
帰属記憶装置6から「升目」の所属関係を抽出する。表
現記憶装置7には例えば「対話の相手が装置自身と異な
−る会社に所属する場合には装置自身と同じ会社に所属
する人物に対しては丁寧表Elを用いない」というよう
な規則が書かれており、表現決定装置はこれらの規則を
参照し、対話相手に対し尊敬表現を用いること、 「升
目jに対しては丁寧表現を用いないこと等を決定し、こ
れに基づき上記の例のような応答文を生成する。Dialogue partner: "Mr. Masume, would you like to come?" Device: "Mr. Masume is currently away from his seat." The sentence input from the human-powered device 1 is analyzed by the human-powered sentence analysis device 2, and the result is " It turns out that the existence of a person named square j is being asked.Based on this, the response sentence generation device 3 decides to state that ``square'' is currently absent. The expression determining device 4 extracts the affiliation relationship between the device itself and the dialogue partner from the subject attribution storage device 5, and furthermore, the expression determination device 4 extracts the affiliation relationship of “square” from the general attribution storage device 6. For example, the expression storage device 7 has a rule such as ``If the other party in the conversation belongs to a company different from the device itself, polite expression El should not be used for a person who belongs to the same company as the device itself.'' The expression determining device refers to these rules and decides to use respectful expressions for the dialogue partner, and not to use polite expressions for square j, etc. Based on this, the expression determination device uses the above example. Generate a response sentence like .
第4図の実施例は、主体帰属記憶装置及び一般帰属記憶
装置の記憶内容を入力文解析部の解析結果により書き換
える例である。装置が不特定の相手との対話を行う場合
には主体帰属記憶装置5にあらかじめ対話する相手の所
属情報を記憶しておくことは不可能である。この場合に
、相手からの入力文により対話の相手を同定し、さらに
相手の所属関係を決定することが必要である。例えば、
対話の開始時に次のような質問応答を行う。The embodiment shown in FIG. 4 is an example in which the stored contents of the subject attribution storage device and the general attribution storage device are rewritten based on the analysis results of the input sentence analysis section. When the device interacts with an unspecified party, it is impossible to store in advance the affiliation information of the party to be interacted with in the subject attribution storage device 5. In this case, it is necessary to identify the conversation partner based on an input sentence from the other party, and further determine the affiliation of the other party. for example,
At the beginning of the dialogue, ask and answer questions such as the following:
装置 : 「どちら様でしょうか。」対話の相手
: 「高橋と申します。」
人力文解析装置2が相手からの入力文を解析した結果、
対話の相手がr高橋、fiであることがわかる。人力文
解析装置2はこの情報を記憶管理装置9に送る。記憶管
理装置9は一般帰属記憶装置6から「高橋Jという人物
の所属関係を抽出し、これを主体帰属記憶装@5の対話
相手に関する所属関係情報として登録する。これによ、
す、その後の相手に対する応答には適切な敬語表現を用
いることができる。Device: “Who are you?” Interaction partner: “My name is Takahashi.” As a result of human-powered sentence analysis device 2 analyzing the input sentence from the other party,
It turns out that the conversation partners are r Takahashi and fi. The human sentence analysis device 2 sends this information to the storage management device 9. The storage management device 9 extracts the affiliation relationship of the person named Takahashi J from the general attribution storage device 6 and registers this as the affiliation relationship information regarding the dialogue partner in the subject attribution storage device @5.
Afterwards, you can use appropriate honorific expressions in your responses to the other person.
また、対話に登場した人物に関する情報が一般帰属記憶
装置6に記憶されていないこともありうる。この場合に
も、入力文の解析の結果に基づき適当な情報を一般帰属
記憶装置に追加することが考えられる。Further, it is possible that information regarding the person who appeared in the dialogue is not stored in the general attribution storage device 6. In this case as well, it is conceivable to add appropriate information to the general attribution storage device based on the result of analyzing the input sentence.
次に例を示す。For example:
対話の相手= 「うちの社の引出がそちらにうかがって
おりませんでしょうか。」
装置 : 「引出さんという方はこちらにはきてお
られませんが。」
人力文解析装置2は相手からの入力文を解析し、r引用
jという人物が対話の相手と同一の会社に所属している
という情報をえる。人力文解析装置はこの情報を記憶管
理装置9に送り、記憶管理装置9は「引出jに関する情
報が一般帰属記憶装置6に記憶されていない場合、その
情報を一般帰属記憶装置に追加する。これによりその後
の対話にその人物が登場した場合に適切な敬語表現が可
能となる。Dialogue partner = ``Isn't Drawer from our company listening to you?'' Device: ``Mr. Drawer is not here.'' Human-powered sentence analysis device 2 asks the other person. The input sentence is analyzed, and information is obtained that the person named rquotej belongs to the same company as the person with whom the conversation is taking place. The human sentence analysis device sends this information to the storage management device 9, and the storage management device 9 says, ``If the information regarding drawer j is not stored in the general attribution storage device 6, add that information to the general attribution storage device. This makes it possible to use appropriate honorific expressions when that person appears in subsequent dialogue.
なお上記の第4図の例は表現決定装置4の動きに関して
は第1図の例と同様である。Note that the example shown in FIG. 4 above is similar to the example shown in FIG. 1 with regard to the movement of the expression determining device 4.
発明の効果
上記装置を用いることにより、装置自身、対話の相手、
対話に登場する人物に対してその所属間係を記憶し、さ
らにそれらの関係からどのような表現を用いるべきかと
いう情報を記憶することにより、各々の社会的関係に基
づき適切な敬語表現を用いた対話文を生成することが可
能になる。Effects of the invention By using the above device, the device itself, the conversation partner,
By memorizing the affiliations of people appearing in dialogue, and further memorizing information on what expressions should be used based on those relationships, it is possible to use appropriate honorific expressions based on each social relationship. It becomes possible to generate dialogue sentences that
第1図には本発明の一実施例の自然言語対話装置の概念
図、第2図には同自然言語対話装置における主体帰属記
憶装置の概念図、第3図は同装置における一般帰属記憶
装置の概念図、また第4図は本発明の他の実施例の概念
図である。
l:・・人力装置、2・・・人力文解析装置;3・・・
応答文生成装置、4・・・表現決定装置、5・・・主体
帰属記憶装置、6・・・一般帰属記憶装置、7・・・表
現記憶装置、8・・・出力装置、9・・・記憶管理装置
。FIG. 1 is a conceptual diagram of a natural language dialogue device according to an embodiment of the present invention, FIG. 2 is a conceptual diagram of a subject attribution storage device in the same natural language dialogue device, and FIG. 3 is a conceptual diagram of a general attribution storage device in the same device. FIG. 4 is a conceptual diagram of another embodiment of the present invention. l:...Human power device, 2...Human power sentence analysis device; 3...
Response sentence generation device, 4... Expression determining device, 5... Subject attribution storage device, 6... General attribution storage device, 7... Expression storage device, 8... Output device, 9... Storage management device.
Claims (1)
する社会的集団及びその装置と対話する相手の所属する
社会的集団を記憶する対話主体帰属記憶装置と生成され
る文に登場する人物の所属する社会的集団を記憶する一
般帰属記憶装置と各々の所属関係を持つ人物に対しどの
ような敬語表現及び丁寧表現を用いるべきかという規則
を記憶する表現記憶装置とその規則に基づき生成される
自然言語文の表現を決定する表現決定装置を有し、自然
言語文を生成する際に対話する相手及び文に登場する人
物に対し適切な敬語表現及び丁寧表現を生成することを
特徴とする自然言語対話装置。In a device that performs dialogue using natural language sentences, a dialogue subject attribution memory device that stores the social group to which the device belongs and the social group to which the person with whom the device interacts belongs, and the affiliation of the person appearing in the generated sentence. A general attribution memory device that remembers social groups, an expression memory device that stores rules about what kind of honorific expressions and polite expressions should be used for people who belong to each group, and nature generated based on those rules. A natural language device characterized by having an expression determining device that determines the expression of a natural language sentence, and generating appropriate polite expressions and polite expressions for the person with whom it interacts and the person appearing in the sentence when generating a natural language sentence. Language dialogue device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP62318716A JPH01161479A (en) | 1987-12-18 | 1987-12-18 | Natural language interactive device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP62318716A JPH01161479A (en) | 1987-12-18 | 1987-12-18 | Natural language interactive device |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH01161479A true JPH01161479A (en) | 1989-06-26 |
Family
ID=18102175
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP62318716A Pending JPH01161479A (en) | 1987-12-18 | 1987-12-18 | Natural language interactive device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH01161479A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH03210660A (en) * | 1990-01-16 | 1991-09-13 | Matsushita Electric Ind Co Ltd | Method and device for processing japanese word |
US7584842B2 (en) | 2002-10-10 | 2009-09-08 | Seaquist Closures Foreign, Inc. | Two-part vessels |
JP2014071769A (en) * | 2012-09-28 | 2014-04-21 | Toshiba Corp | Expression conversion device, method and program |
-
1987
- 1987-12-18 JP JP62318716A patent/JPH01161479A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH03210660A (en) * | 1990-01-16 | 1991-09-13 | Matsushita Electric Ind Co Ltd | Method and device for processing japanese word |
US7584842B2 (en) | 2002-10-10 | 2009-09-08 | Seaquist Closures Foreign, Inc. | Two-part vessels |
JP2014071769A (en) * | 2012-09-28 | 2014-04-21 | Toshiba Corp | Expression conversion device, method and program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Clark et al. | What makes a good conversation? Challenges in designing truly conversational agents | |
CN112818107B (en) | Conversation robot for daily life and chat method thereof | |
McKinley et al. | Memory for conversation and the development of common ground | |
KR20210061126A (en) | Apparatus and method for providing chatbot service for psychological counselling | |
Deepika et al. | Jollity Chatbot-a contextual AI assistant | |
Shiomi et al. | A robot that encourages self-disclosure by hug | |
Thosani et al. | A self learning chat-bot from user interactions and preferences | |
Huddar et al. | Dexter the college FAQ chatbot | |
Chandel et al. | Chatbot: efficient and utility-based platform | |
Masson et al. | NAO robot, transmitter of social cues: what impacts? The example with “endowment effect” | |
Ghoshal et al. | Chatbot for mental health diagnosis using NLP and deep learning | |
Gupta et al. | Conversational artificial intelligence in healthcare | |
JPH01161479A (en) | Natural language interactive device | |
Cerrato et al. | Engagement in dialogue with social robots | |
Bejarano et al. | Understanding and influencing user mental models of robot identity | |
JP6643077B2 (en) | Dialogue systems and programs | |
Tracey et al. | Applying NLP to build a cold reading chatbot | |
Jung et al. | Voice control system and multiplatform use: Specialist vs. generalist? | |
Afriani | Linguistic politeness in Palembangnese directives in Indonesia and its implications for university teaching and learning | |
Walsh et al. | Personal power and agency when dealing with interactive voice response systems and alternative modalities | |
Schneider | Recommended by Google Home: The Effects of Gender Stereotypes and Conformity When Interacting with Voice Assistants | |
Briggs et al. | Modeling blame to avoid positive face threats in natural language generation | |
Sayed et al. | Digital intelligent virtual assistant (DIVA) with natural speech and accent recognition | |
Vadhera et al. | Chatbot on COVID-19 for sustaining good health during the pandemic | |
Chete et al. | A Conversational Artificial Intelligence Chatbot to Deliver Telehealth Information on Covid-19 |