Giter Site home page Giter Site logo

ned-graphs's Introduction

Code and Dataset for Named Entity Disambiguation using Deep Learning on Graphs

This repository contains the code and dataset for the paper "Named Entity Disambiguation using Deep Learning on Graphs". The full paper can be found here.

Installation

The main requirements are installed with:

virtualenv --python=/usr/bin/python3 .env
source .env/bin/activate
pip install -r requirements.txt

Download the glove vector files

cd data
wget http://nlp.stanford.edu/data/glove.840B.300d.zip
unzip glove.840B.300d.zip
echo "2196017 300" | cat - glove.840B.300d.txt > glove_2.2M.txt
cd ..

One must also unzip the mapping of the wikidata nodes

cd data
bunzip2 x*
cat x* > wikidata_items.csv
cd ..

Running the models

In order to train the system

cd <MODEL_NAME>
python -m wikidata_query.train

Similarly for testing

cd <MODEL_NAME>
python -m wikidata_query.test

Citing the paper


@ARTICLE{2018arXiv181009164C,
   author = {{Cetoli}, A. and {Akbari}, M. and {Bragaglia}, S. and {O'Harney}, A.~D. and 
	{Sloan}, M.},
    title = "{Named Entity Disambiguation using Deep Learning on Graphs}",
  journal = {ArXiv e-prints},
archivePrefix = "arXiv",
   eprint = {1810.09164},
 primaryClass = "cs.CL",
 keywords = {Computer Science - Computation and Language},
     year = 2018,
    month = oct,
   adsurl = {http://adsabs.harvard.edu/abs/2018arXiv181009164C},
  adsnote = {Provided by the SAO/NASA Astrophysics Data System}
}

ned-graphs's People

Watchers

James Cloos avatar  avatar

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.