摘要
探讨了中文聊天机器人原型系统的设计方式,提出了采用中文分词与关键词语匹配算法。从中文句子中抽取关键词,形成规则库与规则树。聊天时,采用带回溯的深度优先算法,找到最佳匹配路径,给出回答。
The Chinese word segmentation and the matching algorithm based on keywords are adopted for the prototype design of Chinese chat robots.These keywords are extracted from Chinese sentences to create a lot of rule database and rule trees.A highly restricted version of depth-first search,also known as backtracking,is used to find some best matching paths and give a reply.
出处
《沙洲职业工学院学报》
2007年第2期5-9,共5页
Journal of Shazhou Professional Institute of Technology