Datasets:
Update README.md
Browse files
README.md
CHANGED
@@ -70,28 +70,7 @@ Each entry contains:
|
|
70 |
|
71 |
- Dominance: The mean dominance score averaged over all corresponding English words.
|
72 |
|
73 |
-
## Usage
|
74 |
-
```python
|
75 |
-
from datasets import load_dataset
|
76 |
-
vad_dataset = load_dataset("GiliGold/hebrew_vad_lexicon")
|
77 |
-
print(dataset)
|
78 |
|
79 |
-
# Load the English-Hebrew mapped lexicon
|
80 |
-
dataset_en_he = vad_dataset["english_hebrew"]
|
81 |
-
# Load the Hebrew aggregated lexicon
|
82 |
-
dataset_he = vad_dataset["hebrew_aggregated"]
|
83 |
-
|
84 |
-
|
85 |
-
# View a sample entry
|
86 |
-
print(dataset_he[0])
|
87 |
-
|
88 |
-
# Accessing VAD values for a Hebrew word
|
89 |
-
valence = dataset_he[0]["Valence"]
|
90 |
-
arousal = dataset_he[0]["Arousal"]
|
91 |
-
dominance = dataset_he[0]["Dominance"]
|
92 |
-
|
93 |
-
print(f"Valence: {valence}, Arousal: {arousal}, Dominance: {dominance}")
|
94 |
-
```
|
95 |
|
96 |
## Citation
|
97 |
TBD
|
|
|
70 |
|
71 |
- Dominance: The mean dominance score averaged over all corresponding English words.
|
72 |
|
|
|
|
|
|
|
|
|
|
|
73 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
74 |
|
75 |
## Citation
|
76 |
TBD
|