GithubHelp home page GithubHelp logo

manoloesparta / wikigraph Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 121 KB

๐Ÿ“ˆ How far is a Wikipedia article from another one?

License: MIT License

CMake 4.83% C++ 59.29% Python 35.87%
python cpp wikipedia graphs

wikigraph's Introduction

Wikigraph

Wikigraph

Version License C++ Python

How far is X article from Y article?

This program was inspired on how far is the Mexico wikipedia article from any other article through clicking other hyperlinks. The implementation was made in two parts, the first one is web scrapper made with python that will download all the hyperlinks in a wikipedia article and store them in a file with named with the title of the article.

Requirements

g++
cmake
python3 & pip

Run it locally

In order to scrap wikipedia articles you should

pip instal -r requirements.txt
python collect.py

And to search

mkdir build && cd build
cmake ..
make
./wiki

Contributing

Feel free to make pull requests. Check out the issues tab in order to see what's pending

License

This project is under the MIT License

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.