wiki_node_disambiguation
- You can run "Wikification" as easy as possible.
- According to wikipedia, Wikification is
in computer science, entity linking with Wikipedia as the target knowledge base
- According to wikipedia, Wikification is
- You can get disambiguated result with its score.
Please visit Github page also. If you find any bugs and you report it to github issue, I'm glad. Any pull-requests are welcomed.
- Python3.x (checked under )
- I recommend to use "Anaconda" distribution.
python setup.py install
Go to this page and download model file from here.
Or run download_model.sh
You're supposed to have mysql somewhere.
The step until using it.
- start mysql server somewhere
- download latest mysql dump files
- initialize wikipedia database with mysql
To download wikipedia dump files, execute following commands
wget https://dumps.wikimedia.org/jawiki/latest/jawiki-latest-redirect.sql.gz
wget https://dumps.wikimedia.org/jawiki/latest/jawiki-latest-page.sql.gz
gunzip jawiki-latest-redirect.sql.gz
gunzip jawiki-latest-page.sql.gz
To initialize wikipedia database with mysql,
% CREATE DATABASE wikipedia;
% mysql -u [user_name] -p[password] wikipedia < jawiki-latest-redirect.sql
% mysql -u [user_name] -p[password] wikipedia < jawiki-latest-page.sql
- version0.1
- released
- It supports only Japanese wikipedia