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.
DaveVinson/Social-structure-info-density
master
Name already in use
Code
-
Clone
Use Git or checkout with SVN using the web URL.
Work fast with our official CLI. Learn more.
- Open with GitHub Desktop
- Download ZIP
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
*************************************************************************************** *************************************************************************************** ******** 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.”
About
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.