Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 944 Bytes

README.md

File metadata and controls

34 lines (24 loc) · 944 Bytes

Wikipedia Connection Discovery

Code base forked from: https://github.com/Mgancita/wikipedia_connection_finder/

About

Web crawling application which finds the most efficient internal wikipedia webpage connection between two wikipedia webpages based on supplied keywords.

It is intended for use in knowledge graph generation and idea linkage. Students and researchers are encouraged to test and critique this use case.

Requirements

  • Python 3+

    • wikipedia
    • bs4
    • networkx
    • requests
    • urllib.parse
  • Python 2 may be used by replacing urllib.parse with urllib in both ./requirements.txt and ./modules/functions.py

Usage

Install dependencies:

pip install -r requirements.txt

Run:

python3 main.py

Test with any of the word pairs in the results-images folder.

To do

  • Asynchronous Discovery
  • Indexing
  • N words
  • Explore wikipedia module for opportunities to optimise