Vinson, D.W., & Dale, R. (accepted). Social structure relates to linguistic information density. Jones, M. N. (Ed.). Big Data in Cognitive Science: From Methods to Insights. Psychology Press: Taylor & Francis.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
analysis
Vinson_dale_jones-eds-2016.pdf
readme.txt

readme.txt

***************************************************************************************
***************************************************************************************
******** Social structure relates to linguistic information density  ******************
****************** All files were written by David W. Vinson **************************
***************** PLEASE DO NOT DISTRIBUTE WITHOUT PERMISSION *************************
***************************************************************************************
***************************************************************************************

------------------------------ 
-------- Included ------------
Analysis: “0-main_script.R“ and “Data” folder
Data: *most* files used for analysis (.Rdata, .csv). Links to free files below
Manuscript: "Vinson_dale_jones-eds-2016.pdf"
Data: "data" folder
This README
------------------------------ 
------------------------------ 

The “analysis” folder contains all scripts and the “data” folder (below). First use the “ngram_builder.py” to build the frequency tables needed for future analysis (these files are already in the “data” folder). All other scripts are linked within the “0-main-script.R” file. Use this file as a reference to other code and analyses. It will point to scripts that show you how to build local social networks from yelp reviews “build.nets.R” and how to quantify the language of reviews using information theoretic tools “get.reviews.R”. As well as analyzing those reviews to assess the relationship between linguistic structure and network structure. 

The “data” folder nested within the ‘analysis’ folder contains all data necessary to replicate our findings detailed in the manuscript.  Many of the scripts below help build some of the files within the “data” folder. You do not need to rebuild these files from scratch, though you can if you like. You will need access to free data on Yelp’s website to do this: yelp.com/datset_challenge/


“Manuscript”:  Vinson, D.W., & Dale, R. (2016). Social structure relates to linguistic information density. Jones, M. N. (Ed.). Big Data in Cognitive Science: From Methods to Insights. Psychology Press: Taylor & Francis.”