An algorithm for linking a mention in text to an entity in wikidata.
- Python https://www.python.org/downloads/
- 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
- The project installs dependencies automatically if prerequisites are installed well.
- This has been tested only on windows and may break on linux
git clone https://github.com/Davidwarchy/entitylink.git
To get entities from wikidata into our local database 'source.db'
py run.py
You can check the entities that have matches with
py utils.py
The output is shown in output.xlsx as in below: