健康饮食知识图谱和问答系统构建研究OA
Research on the Construction of Healthy Diet Knowledge Graph and Q&A System
为满足人们对健康饮食知识的了解,文章采用网络爬虫工具在权威饮食网站上获取数据,对数据进行预处理后批量导入Neo4j数据库中,构建饮食知识图谱,在此基础上设计并实现问答系统.首先针对用户提出的问题进行问题理解,再基于Spark环境的朴素贝叶斯分类器训练出的问题模板,通过匹配的结果从Neo4j数据库中获取问题的答案.知识图谱与健康饮食的结合既满足了人们对健康饮食的不断追求,也增进了人们对传统医学中"药食同源"理论的理解.
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.
赵同明;钱佳琛;王翔;蒋效伟;杨玉
江苏海洋大学 计算机工程学院,江苏 连云港 222005
计算机与自动化
知识图谱健康饮食网络爬虫朴素贝叶斯问答系统
Knowledge Graphhealthy dietweb crawlerNaive BayesQ&A system
《现代信息科技》 2024 (006)
7-10 / 4
全国高等院校计算机基础教育研究会教学研究项目(2023-AFCEC-307);江苏省计算机学会教学类项目(JSCS2022028);江苏省大学生创新创业项目(202211641027Z);江苏海洋大学教学改革项目(JGX2022033)
评论