A library for finding the link between two wikipedia pages.
Project description
# Wiki Wormhole ## Description This python library leverages graphs and artificial intelligence to find the path from a start wikipedia page to a destination wikipedia page.
## Installation Install wikiwormhole through pip package manager. ` pip install wikiwormhole ` Then run the setup script to accomplish the following: - Generate config.yaml script for the pageviews api (How many pageviews does a wikipedia page have). - Download pre-trained Word2Vec model using Gensim. - Download corpus of stop words (insignificant words) to help embed titles using natural language toolkit (NLTK). ` python setup_wormhole.py <config-path> <download-path> ` Here config path is where the new config-yaml will be created. The download path is where the Word2Vec model weights and NLTK corpus will be downloaded on your system.
The final step in installation is providing a personal website and email in the config.yaml file. Once filled you’ll be able to use the pageviews API.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file wikiwormhole-0.0.1.tar.gz
.
File metadata
- Download URL: wikiwormhole-0.0.1.tar.gz
- Upload date:
- Size: 10.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b7b311842720debbb94a53caf908ee7c189490bd3b3b339809182d9f0d51f6a |
|
MD5 | bfbf5b0622729c5ab62ac7c08caae55d |
|
BLAKE2b-256 | 892ea75be6522817e8ee25a8d6db59a5cc8839f78b1c2bb775a62fbe4ebcc468 |
File details
Details for the file wikiwormhole-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: wikiwormhole-0.0.1-py3-none-any.whl
- Upload date:
- Size: 13.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ded1de1c4adb5c1e2fe922e8ec11bb4c2c787ee438b6dab40f8f7a819dd9a2e |
|
MD5 | 7c9112008946dc3234671701441d2059 |
|
BLAKE2b-256 | b9eb0d72d9a599f04e8eb111d1f05a424f14a9eed79fc9b2756e773566cc92c4 |