Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Screenplay Lexicons
|
| 2 |
+
|
| 3 |
+
This dataset contains lexicon files used for screenplay feature extraction:
|
| 4 |
+
|
| 5 |
+
## Files
|
| 6 |
+
|
| 7 |
+
### 1. Concreteness Ratings (`Concreteness_ratings_Brysbaert_et_al_BRM.txt`)
|
| 8 |
+
- **Source**: Brysbaert et al. (2014) - Behavior Research Methods
|
| 9 |
+
- **Content**: Concreteness ratings for 40,000 English words
|
| 10 |
+
- **Format**: TSV with columns: Word, Bigram, Conc.M, Conc.SD, Unknown, Total, Percent_known, SUBTLEX, Dom_Pos
|
| 11 |
+
- **Size**: ~1.6 MB
|
| 12 |
+
|
| 13 |
+
### 2. Distributional Polarity Lexicon (`DPLp-EN_lrec2016.txt`)
|
| 14 |
+
- **Source**: Distributional Polarity Lexicon (DPLp-EN) from LREC 2016
|
| 15 |
+
- **Content**: Sentiment polarity scores for English words
|
| 16 |
+
- **Format**: TSV with word::pos and positive,negative,neutral scores
|
| 17 |
+
- **Size**: ~4.6 MB
|
| 18 |
+
|
| 19 |
+
## Usage
|
| 20 |
+
|
| 21 |
+
```python
|
| 22 |
+
from huggingface_hub import hf_hub_download
|
| 23 |
+
|
| 24 |
+
# Download concreteness lexicon
|
| 25 |
+
conc_path = hf_hub_download(
|
| 26 |
+
repo_id="Ishaank18/screenplay-lexicons",
|
| 27 |
+
filename="Concreteness_ratings_Brysbaert_et_al_BRM.txt",
|
| 28 |
+
repo_type="dataset"
|
| 29 |
+
)
|
| 30 |
+
|
| 31 |
+
# Download polarity lexicon
|
| 32 |
+
pol_path = hf_hub_download(
|
| 33 |
+
repo_id="Ishaank18/screenplay-lexicons",
|
| 34 |
+
filename="DPLp-EN_lrec2016.txt",
|
| 35 |
+
repo_type="dataset"
|
| 36 |
+
)
|
| 37 |
+
```
|
| 38 |
+
|
| 39 |
+
## Citation
|
| 40 |
+
|
| 41 |
+
If you use these lexicons, please cite the original papers:
|
| 42 |
+
|
| 43 |
+
**Concreteness Ratings:**
|
| 44 |
+
```
|
| 45 |
+
Brysbaert, M., Warriner, A.B., & Kuperman, V. (2014).
|
| 46 |
+
Concreteness ratings for 40 thousand generally known English word lemmas.
|
| 47 |
+
Behavior Research Methods, 46, 904-911.
|
| 48 |
+
```
|
| 49 |
+
|
| 50 |
+
**Distributional Polarity Lexicon:**
|
| 51 |
+
```
|
| 52 |
+
Abdaoui, A., Azé, J., Bringay, S., & Poncelet, P. (2016).
|
| 53 |
+
Feel: French Expanded Emotion Lexicon.
|
| 54 |
+
Language Resources and Evaluation, 50(4), 1-23.
|
| 55 |
+
```
|
| 56 |
+
|
| 57 |
+
## License
|
| 58 |
+
|
| 59 |
+
These lexicons are provided for research purposes. Please refer to the original publications for licensing information.
|