wiki_node_disambiguation - - -
What’s this ?
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
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.
Requirement
Python3.x (checked under )
I recommend to use “Anaconda” distribution.
Setup
python setup.py install
Get wikipedia entity vector model
Go to this page and download model file from here. Or run download_model.sh
To those who uses interface.predict_japanese_wiki_names()
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
Change logs
version0.1
released
It supports only Japanese wikipedia
Metadata
Release files for word2vec-wikification-py 0.17
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| word2vec_wikification_py-0.17.tar.gz | 30.5 kB | Without provenance | Details |
Release files / word2vec_wikification_py-0.17.tar.gz
| Download URL | word2vec_wikification_py-0.17.tar.gz |
|---|---|
| Size | 30.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b8bc5ebf8eb42c44eacd6b457cc382b86b82a84015d9fe59962368370916bff0
|
|
BLAKE2b-256 checksum How to use checksums |
2859830fe954b5f1022aed380a06aa8414808cced333c049e71b5a3b02e58510
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for word2vec-wikification-py 0.17
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.