首页|健康饮食知识图谱和问答系统构建研究

健康饮食知识图谱和问答系统构建研究

扫码查看
为满足人们对健康饮食知识的了解,文章采用网络爬虫工具在权威饮食网站上获取数据,对数据进行预处理后批量导入Neo4j数据库中,构建饮食知识图谱,在此基础上设计并实现问答系统。首先针对用户提出的问题进行问题理解,再基于Spark环境的朴素贝叶斯分类器训练出的问题模板,通过匹配的结果从Neo4j数据库中获取问题的答案。知识图谱与健康饮食的结合既满足了人们对健康饮食的不断追求,也增进了人们对传统医学中"药食同源"理论的理解。
Research on the Construction of Healthy Diet Knowledge Graph and Q&A System
In order to meet people's understanding of healthy diet knowledge,this paper uses web crawler tools to obtain data on authoritative diet websites,preprocesses the data,and then imports it in batches into the Neo4j database to construct a diet Knowledge Graph.Based on this,a Q&A system is designed and implemented.Firstly,understand the questions raised by users,and then use the problem template trained by the Naive Bayes classifier in the Spark environment to obtain the answers to the questions from the Neo4j database through the matched results.The combination of Knowledge Graph and healthy diet not only satisfies people's continuous pursuit for healthy diet,but also enhances their understanding of the theory of"medicine and food are the same source"in traditional medicine.

Knowledge Graphhealthy dietweb crawlerNaive BayesQ&A system

赵同明、钱佳琛、王翔、蒋效伟、杨玉

展开 >

江苏海洋大学 计算机工程学院,江苏 连云港 222005

知识图谱 健康饮食 网络爬虫 朴素贝叶斯 问答系统

全国高等院校计算机基础教育研究会教学研究项目江苏省计算机学会教学类项目江苏省大学生创新创业训练计划江苏海洋大学教学改革项目

2023-AFCEC-307JSCS2022028202211641027ZJGX2022033

2024

现代信息科技
广东省电子学会

现代信息科技

ISSN:2096-4706
年,卷(期):2024.8(6)
  • 11