Skip to content

About

A simple algorithm for linking entities mentioned in text to entities in a knowledge base.

Topics

Resources

Stars

4 stars

Watchers

2 watching

Forks

Latest commit

 

History

12 Commits

Folders and files

Repository files navigation

Entitylink

image

An algorithm for linking a mention in text to an entity in wikidata.

Prerequisites

  1. Python https://www.python.org/downloads/
  2. Pip (add pip to system path) - most versions of python do this automatically. Run pip on the command prompt to see if it's installed

Warnings

  1. The project installs dependencies automatically if prerequisites are installed well.
  2. This has been tested only on windows and may break on linux

Download or Clone Project

Download and Unzip

image

Clone

git clone https://github.com/Davidwarchy/entitylink.git

Run

To get entities from wikidata into our local database 'source.db'

py run.py

Output

You can check the entities that have matches with

py utils.py

The output is shown in output.xlsx as in below:

image

About

A simple algorithm for linking entities mentioned in text to entities in a knowledge base.

Topics

Resources

Stars

4 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages