Datasets:
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,44 +1,90 @@
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
dtype: string
|
| 16 |
-
- name: polarity
|
| 17 |
-
dtype: string
|
| 18 |
-
- name: from
|
| 19 |
-
dtype: int64
|
| 20 |
-
- name: to
|
| 21 |
-
dtype: int64
|
| 22 |
-
- name: span
|
| 23 |
-
dtype: string
|
| 24 |
-
- name: span_from
|
| 25 |
-
dtype: int64
|
| 26 |
-
- name: span_to
|
| 27 |
-
dtype: int64
|
| 28 |
-
splits:
|
| 29 |
-
- name: train
|
| 30 |
-
num_bytes: 42821933
|
| 31 |
-
num_examples: 69795
|
| 32 |
-
- name: test
|
| 33 |
-
num_bytes: 10678302
|
| 34 |
-
num_examples: 17644
|
| 35 |
-
download_size: 42962062
|
| 36 |
-
dataset_size: 53500235
|
| 37 |
-
configs:
|
| 38 |
-
- config_name: default
|
| 39 |
-
data_files:
|
| 40 |
-
- split: train
|
| 41 |
-
path: data/train-*
|
| 42 |
-
- split: test
|
| 43 |
-
path: data/test-*
|
| 44 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
language:
|
| 3 |
+
- ar
|
| 4 |
+
license: other
|
| 5 |
+
license_name: see-provenance
|
| 6 |
+
task_categories:
|
| 7 |
+
- token-classification
|
| 8 |
+
- text-classification
|
| 9 |
+
tags:
|
| 10 |
+
- aspect-based-sentiment-analysis
|
| 11 |
+
- absa
|
| 12 |
+
- arabic
|
| 13 |
+
- dialectal-arabic
|
| 14 |
+
- semeval-2016
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
---
|
| 16 |
+
|
| 17 |
+
# Jeeran — SemEval-2016 Task 5 (Arabic) adaptation
|
| 18 |
+
|
| 19 |
+
Aspect-based sentiment annotations over Jeeran reviews (Jordanian/Levantine
|
| 20 |
+
dialectal Arabic, 29 business domains), rendered in the **SemEval-2016 Task 5
|
| 21 |
+
subtask 1** format so that tooling written for `SemEval2016_arabic` runs unchanged.
|
| 22 |
+
|
| 23 |
+
## Contents
|
| 24 |
+
|
| 25 |
+
| split | reviews | sentences | opinions |
|
| 26 |
+
|---|--:|--:|--:|
|
| 27 |
+
| train | 43420 | 69795 | 182788 |
|
| 28 |
+
| test | 10851 | 17644 | 45520 |
|
| 29 |
+
|
| 30 |
+
Raw SemEval XML lives under `semeval_xml/`; the `datasets` view has one row per
|
| 31 |
+
sentence with a nested `opinions` list.
|
| 32 |
+
|
| 33 |
+
## Fields
|
| 34 |
+
|
| 35 |
+
Per opinion:
|
| 36 |
+
|
| 37 |
+
| field | description |
|
| 38 |
+
|---|---|
|
| 39 |
+
| `target` | opinion target expression — verbatim substring of `text` |
|
| 40 |
+
| `from` / `to` | character offsets of `target` in `text` |
|
| 41 |
+
| `category` | Jeeran aspect category (flat Arabic label, 80 values) |
|
| 42 |
+
| `polarity` | `positive` / `negative` / `neutral` |
|
| 43 |
+
| `span` / `span_from` / `span_to` | the original human-annotated evaluative span the target was extracted from |
|
| 44 |
+
|
| 45 |
+
## How it differs from SemEval-2016 Arabic hotels
|
| 46 |
+
|
| 47 |
+
* **`category` is not `ENTITY#ATTRIBUTE`.** SemEval's 34 `E#A` labels are
|
| 48 |
+
hotel-specific; Jeeran spans many business domains, so the original flat Arabic
|
| 49 |
+
aspect label is kept verbatim rather than forced into an invented entity scheme.
|
| 50 |
+
* **No implicit (`NULL`) targets.** SemEval marks implicit aspects with
|
| 51 |
+
`target="NULL"`; here opinions without an explicit target noun phrase are dropped.
|
| 52 |
+
* **Sentences are opinion-bearing only.** Segments carrying no annotated span are
|
| 53 |
+
not emitted, and segments are merged where a span straddles a boundary, so no
|
| 54 |
+
span is ever split across sentences.
|
| 55 |
+
|
| 56 |
+
## Provenance and annotation quality
|
| 57 |
+
|
| 58 |
+
| layer | source |
|
| 59 |
+
|---|---|
|
| 60 |
+
| `span`, `span_from`/`span_to`, `polarity` | **human** annotation (inline `[[…]]` / `{…}` markup in the Jeeran corpus) |
|
| 61 |
+
| `category` | **model-generated** (Gemma) — known to be noisy |
|
| 62 |
+
| `target`, `from`/`to` | **model-extracted** from the human span (Gemma), accepted only when a verbatim contiguous substring of it |
|
| 63 |
+
|
| 64 |
+
### Target extraction outcome (286,957 candidate opinions)
|
| 65 |
+
|
| 66 |
+
| status | share | kept? |
|
| 67 |
+
|---|--:|---|
|
| 68 |
+
| target extracted and verified | 79.56% | yes |
|
| 69 |
+
| no explicit target noun phrase | 19.41% | dropped |
|
| 70 |
+
| model would not copy verbatim | 1.03% | dropped |
|
| 71 |
+
|
| 72 |
+
Extracted targets average **1.53 words** (SemEval-2016 Arabic gold: 1.20;
|
| 73 |
+
the Jeeran spans they came from: 5.18), so the target slot is comparable in shape
|
| 74 |
+
to SemEval rather than clause-like.
|
| 75 |
+
|
| 76 |
+
Every retained opinion is offset-verified: `text[from:to] == target` and the target
|
| 77 |
+
lies inside its own `span`. Verified on the released files, 0 exceptions.
|
| 78 |
+
|
| 79 |
+
Two caveats for anyone using this:
|
| 80 |
+
|
| 81 |
+
* Dropping targetless opinions is **not uniform across categories** — it removes
|
| 82 |
+
speech-act labels preferentially (نصيحة 66%, ذم 36%, مدح عام 23%, vs الموقع 5%),
|
| 83 |
+
so the category distribution differs from the source corpus.
|
| 84 |
+
* ~4.7% of targets are enumerations (brand or name lists) kept as a single target
|
| 85 |
+
where SemEval convention would emit one opinion per item.
|
| 86 |
+
|
| 87 |
+
## Licensing
|
| 88 |
+
|
| 89 |
+
The underlying reviews were collected from Jeeran; this repository does not assert
|
| 90 |
+
a license over them. Consult the source terms before redistribution or commercial use.
|