Coder Social home page Coder Social logo

qq547276542 / agriculture_knowledgegraph Goto Github PK

View Code? Open in Web Editor NEW
3.9K 169.0 1.6K 334.69 MB

农业知识图谱(AgriKG):农业领域的信息检索,命名实体识别,关系抽取,智能问答,辅助决策

License: GNU General Public License v3.0

Python 89.71% Jupyter Notebook 10.22% Shell 0.06%
knowledge-graph named-entity-recognition relation-extraction question-answering

agriculture_knowledgegraph's Issues

请问关系提取是如何实现的?

请问关系提取实现的具体代码在哪一部分,想学习下
看了ppt, 中提到用有监督学习的模式发现关系,可是看了md好像没有提及此部分。
谢谢~

cypher语句有问题,导致报exception

按照流程走下来,在任意页面上,点击按钮,均报exception
22_17_55__07_14_2019
22_17_17__07_14_2019

debug发现,cypher语句进行查询时,导致了exception
请问是怎么回事呢?

如何识别出特定邻域的命名实体

通常现成的库只能识别出人名、地名、机构名等实体,但是对于特定的领域来说,只有这三类实体往往是不够的,请问您是如何识别出特定领域(农业领域)的命名实体的呢?能介绍一下算法吗?
谢谢。

NEO4J的语句有一处小错误

导入实体属性(数据来源: 互动百科)环节:
原来为:
LOAD CSV WITH HEADRS FROM "file:///attributes.csv" AS line
应该为:
LOAD CSV WITH HEADERS FROM "file:///attributes.csv" AS line
写错啦~

感谢开源!

问题请教

你好,请问下楼主知识图谱补全是怎么做的呢

启动django时报错

Neo.ClientError.Statement.SyntaxError: Invalid input 'u': expected 't/T', 'e/E' or 'n/N' (line 1, column 2 (offset: 1))
"sudo sh django_server_start.sh"

模型下载失败

KNN-predict上的自行下载中文模型的链接点击后显示:This XML file does not appear to have any style information associated with it. The document tree is shown below.

关于py2neo的问题

新版的py2neo在使用实体识别时会提示'Graph' object has no attribute 'find_one'。新版的py2neo已经更换了api,如果可以的话,能否给出你们使用的py2neo的版本。

并建议提供requirement.txt,方便快速的使用pip下载对应版本的包。

谢谢!

wikidataAnalyse

您好,wikidataSpider下没有wikidataAnalyse的目录,看介绍说attributes.csv是这个目录下的extractEntityAttribute.py得到的

实体列表的获取

你好,我看程序最终获得的实体列表merge_table3.txt中实体数量很多,与dfs_tree_crawler中爬虫爬取的实体数量差很大。
我想问下最终得到merge_table3.txt还经历了哪些步骤,谢谢~

请教关于实体存储的方法

最近认真拜读了这个项目,感觉很有学习意义和落地指导作用.
但是在看实体的信息的时候,注意到baseInfoKeyList和baseInfoValueList是用"##"分割的.
我所疑惑的是为什么不作为property存储?是出于项目需求还是一般惯例?
多谢分享这么优秀的项目.

pyfasttext

您好,官方已经不再维护pyfasttext,pip无法安装,不知道这个问题怎么解决

项目实现

你好,能否做个相关视频教程,演示一下全流程的实现过程?付费也没关系,你这个案例很典型。谢谢。

图谱演示

你好,请问问答界面上的图谱演示(推理过程)是这么实现的呢?

实体类别 是否可以扩展?

您好,实体类别 是否可以扩展?
机构名里是否可以再继续细分?譬如说:

  1. “A公司起诉B公司”。那么A和B都是机构名,但是我想继续细分:A公司是原告,B公司是被告
    如果可以的话,是不是只要在标注的时候进行扩展?

请教

我想问一下,比如一个句子中出现了多个实体你是怎么识别他们之间的关系呢?
比如一个句子出现了3个实体,那你怎么判断他们之间的关系呢?
还要就是在进行测试的时候识别出来的实体和关系类别不匹配怎么办?
比如识别出来实体1 实体2 关系类别 可是可能识别出来的实体类别并不是改中关系类型的实体。

关于问答

请问问答是这么实现的?是基于模板还是神经网络呢

MyCrawler

MyCrawler中爬虫的链接现在应该是不可以用了,他们的网站有很大的改版把,不知道作者最开始爬取的是哪个网站?

Syntax error in try.py and 'unicode' was removed in Python 3

flake8 testing of https://github.com/qq547276542/Agriculture_KnowledgeGraph on Python 3.6.3

$ flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics

./demo/static/assets/jquery-file-upload/server/gae-python/main.py:70:38: F821 undefined name 'unicode'
            if type(fieldStorage) is unicode:
                                     ^
./wikidataSpider/wikidataCrawler/try.py:1:1: E999 SyntaxError: invalid syntax
<!DOCTYPE html>
^
1     E999 SyntaxError: invalid syntax
1     F821 undefined name 'unicode'
2

在调试智能问答时无法返回答案

在demo 的question_answering.py文件中,有一个方法
elif(xingzhengjibie == "镇"):
upper_address = get_xian_address(address)
if(len(ret_dict) == 0 and upper_address!=0):
ret_dict = get_xian_plant(upper_address,ret_dict)
if(len(ret_dict) >0 ):
ret_dict['list'].append({'entity1':address,'rel':'属于','entity2':upper_address,'entity1_type':'地点','entity2_type':'地点'})
其中get_xian_address(address)返回值为空,所以导致问答界面检索不出答案,请问这个方法可以改进吗?

demo链接无效?

你们项目里面提供的demo链接无法打开
demo

是否更新了链接,能否提供,实际体验下?

标记相关的几个问题

1、从代码看mongo有两个collection,一个是train_data,一个是test_data,前者在readme里说明了怎么准备,请问后者从哪里得到
2、我看修改tag只是写到txt里,而显示实体详情里,分类则是使用predict里的标签,那么这个修改如何奏效

请指教,谢谢

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.