/AFET

AFET: Automatic Fine-Grained Entity Typing

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

AFET

AFET: Automatic Fine-Grained Entity Typing by Hierarchical Partial-Label Embedding

Publication

  • Xiang Ren, Wenqi He, Meng Qu, Lifu Huang, Heng Ji, Jiawei Han, "AFET: Automatic Fine-Grained Entity Typing by Hierarchical Partial-Label Embedding”, EMNLP, 2016

Requirements

We will take Ubuntu for example.

  • python 2.7
$ sudo apt-get install python
$ cd DataProcessor/
$ sudo pip install pexpect unidecode
$ git clone git://github.com/dnc1994/stanford-corenlp-python.git
$ cd stanford-corenlp-python
$ python setup.py install
$ cd corenlp
$ wget http://nlp.stanford.edu/software/stanford-corenlp-full-2015-04-20.zip
$ unzip stanford-corenlp-full-2015-04-20.zip

Build

Build our model in folder Model.

$ cd Model/
$ make

Dataset

Please put the data files in corresponding subdirectories in Data/. You could download Wiki, OntoNotes, BBN in Google Drive.

Default Run

Run AFET for fine-grained entity typing on BBN dataset

$ ./run.sh  

Parameters - run.sh

Dataset to run on.

Data="BBN"