https://github.com/pderkowski/wikimap_ui
https://github.com/pderkowski/wikimap_ui
node2vec tsne visualization wikipedia word2vec
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/pderkowski/wikimap_ui
- Owner: pderkowski
- License: mit
- Created: 2017-04-01T12:26:57.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2021-06-01T21:45:36.000Z (over 4 years ago)
- Last Synced: 2025-05-13T17:38:27.761Z (8 months ago)
- Topics: node2vec, tsne, visualization, wikipedia, word2vec
- Language: JavaScript
- Size: 7.98 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Interactive map of Wikipedia in your browser
A tool for exploring the map of Wikipedia articles.
[English version](http://wikimap.pioder.com/en)
[Polish version](http://wikimap.pioder.com/pl)
## Requirements
* python 2.7
* nodejs
* elasticsearch
## Installation
1. Clone the repo:
```
git clone git@github.com:pderkowski/wikimap_ui.git
cd wikimap_ui
```
2. Install Python packages from requirements.txt. I recommend using pip and
virtualenv:
```
virtualenv env --no-site-packages
source env/bin/activate
pip install -r requirements.txt
```
3. Install JS packages:
```
npm install
```
4. Create a bundle from the JS sources using webpack:
```
make js
```
## Usage
1. A dataset generated by [wikimap](https://github.com/pderkowski/wikimap) is
required and should be placed in the './data' folder. A small toy dataset is
available
[here](https://drive.google.com/file/d/0BzQFWeoeCMPwd0Q0a3VxRHJMcTQ/view).
2. Start the elasticsearch process.
3. Create indices for data:
```
python ./reset_indices --langs en
```
4. Run the app:
```
python ./run.py
```
The app should be available in the browser at 0.0.0.0:5000