https://github.com/cty20010831/uchicago_ma_thesis_divergent-semantic-integration
This repository contains the code to calculate DSI in my MA thesis.
https://github.com/cty20010831/uchicago_ma_thesis_divergent-semantic-integration
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (10.3%) to scientific vocabulary
Repository
This repository contains the code to calculate DSI in my MA thesis.
Basic Info
- Host: GitHub
- Owner: cty20010831
- Language: Python
- Default Branch: main
- Size: 271 KB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
Code to Calculate Divergent Semantic Integration (DSI)
This repository contains code from Johnson et al.'s (2022) paper Divergent semantic integration (DSI): Extracting creativity from narratives with distributional semantic modeling.
Github Repo Navigation
The following is the top-level directory layout of this repo:
.
├── DSI.py # Main python script to calculate DSI score
├── environment.yml # Configure the environment and installing required packages
├── pyDSI tutorial # A detailed tutorial on how to calculate DSI score
├── study1_OSF FINAL.csv # The original result file from the authors' paper (can also be used to test the code in the first place)
├── README.md
Environment Activation and Code Running
After installing miniconda, the first step is to create the virtual environment:
bash
conda env create -f environment.yml
The next step is to activate the created environment:
bash
conda activate dsi
The next step is to run DSI.py file (using the Python interpreter located at the virtual environment):
bash
python DSI.py
Note: I have updated the input and output csv file in DSI.py file to \user_text folder.
References
@article{johnson2023divergent,
title={Divergent semantic integration (DSI): Extracting creativity from narratives with distributional semantic modeling},
author={Johnson, Dan R and Kaufman, James C and Baker, Brendan S and Patterson, John D and Barbot, Baptiste and Green, Adam E and van Hell, Janet and Kennedy, Evan and Sullivan, Grace F and Taylor, Christa L and others},
journal={Behavior Research Methods},
volume={55},
number={7},
pages={3726--3759},
year={2023},
publisher={Springer}
}
Owner
- Login: cty20010831
- Kind: user
- Repositories: 1
- Profile: https://github.com/cty20010831
GitHub Events
Total
- Push event: 3
Last Year
- Push event: 3
Dependencies
- transformers *