Datasets:
Update README.md
Browse files
README.md
CHANGED
@@ -7,6 +7,12 @@ The **Hebrew VAD Lexicon** is an enhanced version of an automatically translated
|
|
7 |
It provides valence, arousal, and dominance (VAD) scores for Hebrew words.
|
8 |
The lexicon was carefully curated by manually reviewing and correcting the automatic translations and enriching the dataset with additional linguistic information.
|
9 |
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
## Details
|
11 |
- **Valence** (or pleasure) measures the positivity or negativity of an emotion.
|
12 |
|
@@ -64,5 +70,26 @@ Each entry contains:
|
|
64 |
|
65 |
- Dominance: The mean dominance score averaged over all corresponding English words.
|
66 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
67 |
## Citation
|
68 |
TBD
|
|
|
7 |
It provides valence, arousal, and dominance (VAD) scores for Hebrew words.
|
8 |
The lexicon was carefully curated by manually reviewing and correcting the automatic translations and enriching the dataset with additional linguistic information.
|
9 |
|
10 |
+
There are two versions of the dataset:
|
11 |
+
|
12 |
+
- **English-Hebrew Mapped VAD Lexicon**: Contains English words with their VAD values and their corresponding Hebrew translations. Each entry includes multiple alternative Hebrew translations for an English word.
|
13 |
+
|
14 |
+
- **Hebrew Aggregated VAD Lexicon**: Contains only Hebrew words with their VAD values. The VAD scores for each Hebrew word are computed as the mean of all occurrences across different English source words.
|
15 |
+
|
16 |
## Details
|
17 |
- **Valence** (or pleasure) measures the positivity or negativity of an emotion.
|
18 |
|
|
|
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 |
+
|
77 |
+
# Load the English-Hebrew mapped lexicon
|
78 |
+
dataset_en_he = load_dataset("GiliGold/hebrew_vad_lexicon", split="english_hebrew")
|
79 |
+
|
80 |
+
# Load the Hebrew aggregated lexicon
|
81 |
+
dataset_he = load_dataset("GiliGold/hebrew_vad_lexicon", split="hebrew_aggregated")
|
82 |
+
|
83 |
+
# View a sample entry
|
84 |
+
print(dataset_he[0])
|
85 |
+
|
86 |
+
# Accessing VAD values for a Hebrew word
|
87 |
+
valence = dataset_he[0]["Valence"]
|
88 |
+
arousal = dataset_he[0]["Arousal"]
|
89 |
+
dominance = dataset_he[0]["Dominance"]
|
90 |
+
|
91 |
+
print(f"Valence: {valence}, Arousal: {arousal}, Dominance: {dominance}")
|
92 |
+
```
|
93 |
+
|
94 |
## Citation
|
95 |
TBD
|