Main content

Home

Menu

Loading wiki pages...

View
Wiki Version:
The files provided in this Open Science Framework repository document the methods, data, and analyses reported in 'Word embeddings reveal growing moral concern for people, animals, and the environment'. The files included are: **calculating_cosines_historic_models.ipynb**. A Python 2 notebook documenting how to compute the cosine similarity between words denoting people, animals, and the environment and words denoting concern and indifference. The data are extracted from the Histwords All English (1800s-1990s) models (https://nlp.stanford.edu/projects/histwords/) and the resulting scores are saved in comma-delineated files. The notebook can be opened and run in Google Colab (https://colab.research.google.com/). **cosines.csv**. A comma-delineated file collating the cosine similarity scores provided by the Python notebooks above. **analysis_script.R**. An R script file documenting the main analyses utilizing the data in 'cosines.csv'.
OSF does not support the use of Internet Explorer. For optimal performance, please switch to another browser.
Accept
This website relies on cookies to help provide a better user experience. By clicking Accept or continuing to use the site, you agree. For more information, see our Privacy Policy and information on cookie use.
Accept
×

Start managing your projects on the OSF today.

Free and easy to use, the Open Science Framework supports the entire research lifecycle: planning, execution, reporting, archiving, and discovery.