wikigame

command module
v0.0.0-...-d3e0cf2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 23, 2015 License: Apache-2.0 Imports: 7 Imported by: 0

README

Wikipedia game solver
-----------------------

Find the shortest path between any two wikipedia pages.

Idea
====

In a single pass, import page titles and links from wikipedia's xml dump.
Given two pages, find the shortest path between them using A* search.

Should not require enough memory to load all of the data. To do this, store
the mapping of page titles and links in boltdb.

Usage
======

1. Get latest English wikipedia pages dump from http://meta.wikimedia.org/wiki/Data_dump_torrents#enwiki
2. Import data with ``bzcat enwiki-*-pages-articles.xml.bz2 | wikigame -import=true``



Dependencies
============

http://github.com/boltdb/bolt - used to persist data on disk

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL