CN109145096A - 基于规则库的个性化日常陪护机器人自动问答系统 - Google Patents

基于规则库的个性化日常陪护机器人自动问答系统 Download PDF

Info

Publication number
CN109145096A
CN109145096A CN201710497375.7A CN201710497375A CN109145096A CN 109145096 A CN109145096 A CN 109145096A CN 201710497375 A CN201710497375 A CN 201710497375A CN 109145096 A CN109145096 A CN 109145096A
Authority
CN
China
Prior art keywords
rule
question answering
daily
attending
aiml
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
CN201710497375.7A
Other languages
English (en)
Inventor
仲国强
刘汉卿
庄园
刘雨桐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ocean University of China
Original Assignee
Ocean University of China
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 Ocean University of China filed Critical Ocean University of China
Priority to CN201710497375.7A priority Critical patent/CN109145096A/zh
Publication of CN109145096A publication Critical patent/CN109145096A/zh
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

自然语言场景下的对话一直是人工智能领域一个重要的研究课题,随着人工智能逐渐走向大众、逐渐走向工业生产的前线,人们对这类对话系统的认识、需求也在逐步提高,并且有了个性化定制自动对话系统的需要。当前基于规则的自动对话系统主要是依赖于AIML(人工智能标记语言)框架,然而当前社会上还没有针对该框架的大规模的中文对话规则库,本作品设计出一个比较完整的、针对AIML的中文规则库,并结合其他的框架搭建出一个可以进行自动问答的系统。该对话系统可以应用于日常陪护机器人聊天的场景,并且借助内部的机制实现机器人个性化服务的功能。

Description

基于规则库的个性化日常陪护机器人自动问答系统
技术领域
本发明涉及人工智能领域的自动问答技术、自然语言处理领域中的分词技术和问答规则构建技术,以及机器人领域的智能服务机器人技术。
背景技术
1.Python语言(版本号为2.7)及GUI库Tkinter
本发明采用Python语言开发,版本为2.7,界面使用Python开源的Tkinter库实现。运行环境为Ubuntu14.04。
2.对话实现框架AIML(版本号1.0)
AIML是Artificial Intelligence Markup Language的缩写,意为人工智能标记语言,是一种用于响应规则库的开源框架。我们的自动问答系统通过使用AIML框架,搭建了一个基于规则库的自动问答系统。本作品中使用的是开源Python版本AIML框架,参考网站:http://www.alicebot.org/aiml.html。
3.结巴分词软件
分词软件是用来对没有分词的汉语语言文本进行分词的,本作品采用的是开源的Python版本结巴分词,参见:https://github.com/fxsjy/jieba。
附图说明
图1是对话系统界面图;图2是系统多轮次对话效果展示图;图3是系统百科知识对话效果展示图;图4是系统歧义分词对话效果图;图5是系统学习模式对话效果展示图。
发明内容
本发明首先通过开源的AIML框架、结巴分词以及Tkinter库,在Ubuntu操作系统下搭建了一个模拟对话的界面系统,具体界面效果见说明书附图1。
然后根据维基百科上的分类索引,创建了共8个.aiml核心规则库,同时,增加另外的1个规则库用来存储日常的对话。这9个规则库文件定义了对话过程中,机器程序响应用户输入的规则,也是本发明中的独创部分。
数据测试
对话内容可以包括以下几个方面:(1)基本的日常陪护式对话。如“你好”、“再见”、“你来自哪里”等。(2)幽默的个性对话,即机器会根据用户输入,展现其本身的个性。如当用户输入“跳个舞”、“唱首歌”、“讲个笑话”等时,机器会有幽默的个性化回复。(3)多轮次对话。如用户输入“你喜欢什么水果”时,可进行2-3轮互动问答。对话效果见说明书附图2。(4)百科知识对话,即我们通过编辑各种话题的聊天规则,覆盖了生活、艺术、地理、人文、自然、社会和工程等众多领域,能够满足日常的陪护对话需求。如用户输入“无名指戴戒指什么意思”、“学计算机怎么样”、“你知道中国海洋大学吗”等时,机器会给出相关的回复。对话效果见说明书附图3。(5)有歧义的分词对话。如“研究生是什么”、“研究生命是什么”。歧义对话见说明书附图4。(6)学习模式的对话,即我们通过特定的模式对用户输入进行记录,并将该记录加入到本地的规则库中,实现了用户定制个性化陪护问答系统的学习功能。如“Q问题A答案”模式。对话学习效果见说明书附图5。
发明特点
1.规则库覆盖范围广泛
本发明中的对话规则覆盖了日常陪护中大部分的话题,涉及人文、社会、自然和工程等众多领域,满足了日常陪护机器人自动问答功能的需求。
2.个性化的问答响应模式
本发明的个性化体现在两方面。一方面是该问答系统自身的回复规则体现了一些个性化特点,即我们通过设置对话规则表现该系统的拟人化特征;另一方面,我们通过设置学习功能,让用户可以“教”问答系统对话的方式,展现针对每个用户的个性化特点。
3.易于扩展的对话功能
在对话规则中,可以调用外部的程序,实现功能的扩充,并且这些功能的使用是以自然语言的形式呈现的。例如,用户可以通过询问“现在几点了?”获取到当前的时间,其内部实现机制就是首先找到相关规则,然后该规则调用外部程序获取当前时间返回给用户。这就实现了对话系统功能的扩展。

Claims (2)

1.一套用于自动问答系统的核心规则库,其特征是使用AIML标签编写规则,其核心内容是若干后缀为 .aiml后缀的xml格式文件,其定义了自动问答的模式规则。
2.根据权利要求1所述的自动问答规则库,其特征在于:通过特殊的规则制定和学习功能使问答系统具有个性化的特征;通过调用特定编写程序的规则,实现除对话以外的一些功能扩展,包括查询当前时间等;通过将自动问答规则库嵌入日常陪护机器人的自动问答系统,实现日常陪护机器人的自动问答功能。
CN201710497375.7A 2017-06-27 2017-06-27 基于规则库的个性化日常陪护机器人自动问答系统 Pending CN109145096A (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710497375.7A CN109145096A (zh) 2017-06-27 2017-06-27 基于规则库的个性化日常陪护机器人自动问答系统

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710497375.7A CN109145096A (zh) 2017-06-27 2017-06-27 基于规则库的个性化日常陪护机器人自动问答系统

Publications (1)

Publication Number Publication Date
CN109145096A true CN109145096A (zh) 2019-01-04

Family

ID=64804930

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710497375.7A Pending CN109145096A (zh) 2017-06-27 2017-06-27 基于规则库的个性化日常陪护机器人自动问答系统

Country Status (1)

Country Link
CN (1) CN109145096A (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113282727A (zh) * 2021-06-03 2021-08-20 北京捷通华声科技股份有限公司 问答处理方法、装置、计算机可读存储介质及处理器

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1735027A (zh) * 2004-08-13 2006-02-15 上海赢思软件技术有限公司 一种聊天机器人系统
CN101076060A (zh) * 2007-03-30 2007-11-21 腾讯科技(深圳)有限公司 一种聊天机器人系统及自动聊天方法
CN104104790A (zh) * 2013-04-10 2014-10-15 威盛电子股份有限公司 语音操控方法与移动终端装置
CN105512228A (zh) * 2015-11-30 2016-04-20 北京光年无限科技有限公司 一种基于智能机器人的双向问答数据处理方法和系统
US20170060839A1 (en) * 2015-09-01 2017-03-02 Casio Computer Co., Ltd. Dialogue control device, dialogue control method and non-transitory computer-readable information recording medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1735027A (zh) * 2004-08-13 2006-02-15 上海赢思软件技术有限公司 一种聊天机器人系统
CN101076060A (zh) * 2007-03-30 2007-11-21 腾讯科技(深圳)有限公司 一种聊天机器人系统及自动聊天方法
CN104104790A (zh) * 2013-04-10 2014-10-15 威盛电子股份有限公司 语音操控方法与移动终端装置
US20170060839A1 (en) * 2015-09-01 2017-03-02 Casio Computer Co., Ltd. Dialogue control device, dialogue control method and non-transitory computer-readable information recording medium
CN105512228A (zh) * 2015-11-30 2016-04-20 北京光年无限科技有限公司 一种基于智能机器人的双向问答数据处理方法和系统

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
丛祯垣: "孕妇保健智能语音手机问答系统", 《浙江大学 硕士学位论文》 *
李曼: "基于交互式问答的日常对话系统", 《哈尔滨工业大学 工学硕士学位论文》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113282727A (zh) * 2021-06-03 2021-08-20 北京捷通华声科技股份有限公司 问答处理方法、装置、计算机可读存储介质及处理器
CN113282727B (zh) * 2021-06-03 2024-04-16 北京捷通华声科技股份有限公司 问答处理方法、装置、计算机可读存储介质及处理器

Similar Documents

Publication Publication Date Title
Lebeuf et al. Software bots
CN109313667B (zh) 构建特定于状态的多轮上下文语言理解系统的系统和方法
CN102750270B (zh) 扩充的对话理解代理
Martin Digital literacy and the “digital society”
Jokinen Constructive dialogue modelling: Speech interaction and rational agents
Paliwal et al. Ai chatbots: Transforming the digital world
Farrell et al. Symbiotic cognitive computing
Garrido et al. Smart tourist information points by combining agents, semantics and AI techniques
Mabunda et al. Pathbot: An intelligent chatbot for guiding visitors and locating venues
Perucci On stealing viewpoints
Lotherington Language in digital motion: From ABCs to intermediality and why this matters for language learning
CN109145096A (zh) 基于规则库的个性化日常陪护机器人自动问答系统
Walton Theatres of artificial intelligence and the overlooked performances of computing
Vitali et al. 4. The role of design in the era of conversational interfaces
Coutaz et al. HCI and software engineering: Designing for user interface plasticity
Floyd Selves and Forms of Life in the Digital Age: A Philosophical Exploration of Apparatgeist
Barzilai et al. Just a natural talk? the rise of intelligent personal assistants and the (hidden) legacy of ubiquitous computing
Mabunda An intelligent chatbot for guiding visitors and locating venues
Nordvall Down the Rabbit Hole: Hololive Myth, community, and digital geographies
Shah et al. Unveiling the Future: Exploring Conversational AI
THOMAS XUEMING LANG From field to office: the politics of corporate ethnography
Nishimura et al. MMDAE: Dialog scenario editor for MMDAgent on the web browser
Bunz Conversational Interface
Firth et al. New Technologies
Dashti et al. A conceptual usability framework for mobile service consumers

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190104