Skip to content

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

Notifications You must be signed in to change notification settings

Davidwarchy/entitylink

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages