8000 GitHub - dingsheng-ong/zipf-analysis
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

License

Notifications You must be signed in to change notification settings

dingsheng-ong/zipf-analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
< 8000 div class="d-flex flex-shrink-0 gap-2">

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zipf Analysis

DOI


This repository contains code to observe whether books adhere to Zipf's law, as done in support of the paper "Zipf analysis of 19th-century English-language books", V. Dracula, to appear in Annals of Computational Linguistics,2022.

This script will automatically pull the full text of the two books to process (Frankenstein and Dracula) from Project Gutenberg (gutenberg.org) and place them into the data directory. Internet access is required for this to work.

To run this code, you will need the pandas package installed.

To reproduce the figures in the publication, run the command:

$ bash bin/run_analysis.sh

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published
0