Skip to content

VasimPatel/WikipediaGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WikipediaGame

AI using Standord NLP GloVe that plays the Wikipedia game. Given a Wikipedia entry, reach another Wikipedia entry by clicking Wikipedia links.

Word similarity using: https://nlp.stanford.edu/projects/glove/

Download training set from http://nlp.stanford.edu/data/glove.6B.zip and extract to wiki-data/

Run using Python 3: python main.py SOURCE DEST

Where SOURCE and DESK are the desired beginning and ending Wikipedia pages.

Python dependencies: dataclasses nltk (must also nltk.download("stopwords") and nltk.download("punkt")) queue typing

NOTE: Must use exact Wikipedia link ending for SOURCE and DEST (otherwise, program will not terminate)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages