Giter VIP home page Giter VIP logo

wikipediasentencecrawler's Introduction

Wikipedia Sentence Crawler

NOTICE: This script is for slow scans of Wikipedia articles. Be sure to keep the delay between article connections. This script isn't setup to bog down Wikipedia, rather download a couple thousand sentences of English. Read the Wikipedia documentation on Database Downloads for more information as there as many other (better) ways to get Wikipedia article data. http://en.wikipedia.org/wiki/Wikipedia:Database_download#Why_not_just_retrieve_data_from_wikipedia.org_at_runtime.3F

This Python class takes in an initial Wikipedia article URL path parses the article for viabale sentences to log as well as linages to other Wikipedia articles. Once the page has been parsed and logged to a text file (output.txt), the next page in the queue is parsed as well and so on. All logged page URL's are logged into parsedarticlelog.txt.

Example Command Line Usage: python WikipediaSentenceCrawler.py --start '/wiki/Special:Export/Jurassic_Park_(film)'

wikipediasentencecrawler's People

Contributors

fisherinnovation avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.