AFET: Automatic Fine-Grained Entity Typing by Hierarchical Partial-Label Embedding
- 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
We will take Ubuntu for example.
- python 2.7
$ sudo apt-get install python
- stanford coreNLP 3.5.2 and its python wrapper. Please put the library in folder DataProcessor/.
$ 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 our model in folder Model.
$ cd Model/
$ make
Please put the data files in corresponding subdirectories in Data/. You could download Wiki, OntoNotes, BBN in Google Drive.
Run AFET for fine-grained entity typing on BBN dataset
$ ./run.sh
Dataset to run on.
Data="BBN"