Skip to content
forked from harangju/wikinet

Code for "The network structure of scientific revolutions"

License

Notifications You must be signed in to change notification settings

erteich/wikinet

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WikiNet

This repository contains code for analysis used in Ju et al. (2020).

Getting started

  1. In the terminal, git clone https://github.com/harangju/wikinet.git
  2. cd wikinet
  3. conda env create -f environment.yml
  4. jupyter notebook

Data

Wikipedia XML dumps are available at https://dumps.wikimedia.org/enwiki. Only two files are required for reproduction: (1) enwiki-DATE-pages-articles-multistream.xml.bz2 and (2) enwiki-DATE-pages-articles-multistream-index.txt.bz2, where DATE is the date of the dump. Both files are multistreamed versions of the zipped files, which allow the user to access an article without unpacking the whole file. In this study, we used the archived zipped file from August 1, 2019, which is available here.

Other options

  • gensim added a WikiCorpus class that parses through Wikipedia dumps.

About

Code for "The network structure of scientific revolutions"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 96.2%
  • Python 3.7%
  • Shell 0.1%