Proyectos
Ver en GitHub
lixiang0/WEB_KG
lixiang0/WEB_KG has 952 GitHub stars and 195 forks. Star changes are not measured yet. Last checked 2026-11-14 14:15 UTC. Last push 2020-07-20.
Crecimiento de estrellas medido
- in 24h
- Recopilando historial
- in 7 days
- Recopilando historial
- in 15 days
- Recopilando historial
- in 1 month
- Recopilando historial
Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.
Acerca de
爬取百度百科中文页面,抽取三元组信息,构建中文知识图谱
Herramientas de desarrolloREADME.md
Original开源web知识图谱项目
- 爬取百度百科中文页面
- 解析三元组和网页内容
- 构建中文知识图谱
- 构建百科bot(构建中)
update 20200720
Windows上的部署参考如何在Windows上部署,感谢LMY-nlp0701!
update 20191121
- 迁移代码到爬虫框架scrapy
- 优化了抽取部分代码
- 数据持久化迁移到mongodb
- 修复chatbot失效问题
- 开放neo4j后台界面,可以查看知识图谱成型效果
Tips
环境
- python 3.6
- re:url正则匹配
- scrapy:网页爬虫和网页解析
- neo4j:知识图谱图数据库,安装可以参考链接
- pip install neo4j-driver:neo4j python驱动
- pip install pymongodb:mongodb的python支持
- mongodb数据库:安装参考链接
代码执行:
cd WEB_KG/baike
scrapy crawl baike
执行界面(按ctrl+c停止):

知识图谱效果图

mongodb存储的网页内容

mongodb存储的三元组

neo4j后台界面

