All Projects → thunlp → PathNRE

thunlp / PathNRE

Licence: MIT license
Source code and dataset of EMNLP2017 paper "Incorporating Relation Paths in Neural Relation Extraction".

Programming Languages

C++
36643 projects - #6 most used programming language

Projects that are alternatives of or similar to PathNRE

Att-BLSTM-relation-extraction
Implementation of Attention-Based Bidirectional Long Short-Term Memory Networks for Relation Classification.
Stars: ✭ 60 (+42.86%)
Mutual labels:  relation-extraction
relation-extraction-rnn
Bi-directional LSTM model for relation extraction
Stars: ✭ 22 (-47.62%)
Mutual labels:  relation-extraction
pynsett
A programmable relation extraction tool
Stars: ✭ 25 (-40.48%)
Mutual labels:  relation-extraction
SENet-for-Weakly-Supervised-Relation-Extraction
No description or website provided.
Stars: ✭ 39 (-7.14%)
Mutual labels:  relation-extraction
Ask2Transformers
A Framework for Textual Entailment based Zero Shot text classification
Stars: ✭ 102 (+142.86%)
Mutual labels:  relation-extraction
m3gm
Max-Margin Markov Graph Models for WordNet (EMNLP 2018)
Stars: ✭ 40 (-4.76%)
Mutual labels:  relation-extraction
lima
The Libre Multilingual Analyzer, a Natural Language Processing (NLP) C++ toolkit.
Stars: ✭ 75 (+78.57%)
Mutual labels:  relation-extraction
KGPool
[ACL 2021] KGPool: Dynamic Knowledge Graph Context Selection for Relation Extraction
Stars: ✭ 33 (-21.43%)
Mutual labels:  relation-extraction
HNRE
Hierarchical Neural Relation Extraction
Stars: ✭ 93 (+121.43%)
Mutual labels:  relation-extraction
InformationExtractionSystem
Information Extraction System can perform NLP tasks like Named Entity Recognition, Sentence Simplification, Relation Extraction etc.
Stars: ✭ 27 (-35.71%)
Mutual labels:  relation-extraction
R-BERT
Pytorch re-implementation of R-BERT model
Stars: ✭ 59 (+40.48%)
Mutual labels:  relation-extraction
dialogre
Dialogue-Based Relation Extraction
Stars: ✭ 124 (+195.24%)
Mutual labels:  relation-extraction
Relation-Classification
Relation Classification - SEMEVAL 2010 task 8 dataset
Stars: ✭ 46 (+9.52%)
Mutual labels:  relation-extraction
ReQuest
Indirect Supervision for Relation Extraction Using Question-Answer Pairs (WSDM'18)
Stars: ✭ 26 (-38.1%)
Mutual labels:  relation-extraction
knodle
A PyTorch-based open-source framework that provides methods for improving the weakly annotated data and allows researchers to efficiently develop and compare their own methods.
Stars: ✭ 76 (+80.95%)
Mutual labels:  relation-extraction
spert
PyTorch code for SpERT: Span-based Entity and Relation Transformer
Stars: ✭ 572 (+1261.9%)
Mutual labels:  relation-extraction
CogIE
CogIE: An Information Extraction Toolkit for Bridging Text and CogNet. ACL 2021
Stars: ✭ 47 (+11.9%)
Mutual labels:  relation-extraction
FDDC
Named Entity Recognition & Relation Extraction 实体命名识别与关系分类
Stars: ✭ 29 (-30.95%)
Mutual labels:  relation-extraction
VERSE
Vancouver Event and Relation System for Extraction
Stars: ✭ 13 (-69.05%)
Mutual labels:  relation-extraction
Shukongdashi
使用知识图谱,自然语言处理,卷积神经网络等技术,基于python语言,设计了一个数控领域故障诊断专家系统
Stars: ✭ 109 (+159.52%)
Mutual labels:  relation-extraction

PathNRE

Codes and Dataset for EMNLP2017 paper ‘‘Incorporating Relation Paths in Neural Relation Extraction’’.

Cite

If you use the codes or dataset, please cite the following paper:

[Zeng et al., 2017] Wenyuan Zeng, Yankai Lin, Zhiyuan Liu, and Maosong Sun. Incorporating Relation Paths in Neural Relation Extraction. In Proceedings of EMNLP.

Codes

The source codes of baselines and our methods are put in the folders CNN+rand/, CNN+max/, Path+rand/, Path+max/ respectively.

Dataset

You could find the download link and description of the dataset from data folder. To run the model, you need to download and unzip the dataset, and put it into the folder of this repository.

Train

For training, you need to type the following command in each model folder:

g++ train_cnn.cpp -o Train -O3 -pthread
./Train

The training model file will be saved in folder ./out/ .

Test

For testing, you need to type the following command in each model folder:

g++ work.cpp -o Test -O3 -pthread
./Test

The testing result which reports the precision/recall curve will be shown in ./out/pr.txt.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].