BAREC-TB / README.md
KhalidNElmadani's picture
Update README.md
8b377fe verified
|
Raw History Blame Contribute Delete
3 kB
---
gated: "auto"
extra_gated_fields:
Email: text
First Name: text
Last Name: text
Affiliation: text
What do you plan to use this resource for?: text
I agree to use the data in accordance with the license specified in the dataset card: checkbox
license: cc-by-sa-4.0
language:
- ar
pretty_name: BAREC Treebank
size_categories:
- 100K<n<1M
---
# BAREC Treebank v1.0
## Corpus Summary
**BAREC-TB** is the first dependency treebank of Arabic children’s literature and educational texts.
It consists of 156K words selected from the Foundational subset of the [BAREC Corpus](https://huggingface.co/datasets/CAMeL-Lab/BAREC-Corpus-v1.0).
It is annotated according to the Columbia Arabic Treebank (CATiB) dependency representation.
---
## Languages
- **Arabic** (Modern Standard Arabic)
---
## Corpus Details
The structure of this repository is as follows:
```
.
├── Data/
│ ├── BAREC_TB_metadata.xlsx
│ ├── BAREC_TB_conllx.zip
│ ├── BAREC_TB_splits_conllx.zip
└── README.md
```
### Metadata
The metadata file contains the following fields:
- **File**: Document file name (conllx extension)
- **Source**: Document source
- **Book**: Book title
- **Author**: Author name
- **Domain**: `Arts & Humanities`, `Social Sciences`, or `STEM`
- **Readership Level**: `Foundational`
- **Sentence Count**: Number of sentences in the document
- **Word Count**: Number of words in the document
- **Token Count**: Number of tokens in the document
- **Split**: `Train`, `Dev` or `Test`
### Annotated Files
The corpus includes 320 files annotated in CATiB style.
The files are available at: `Data/BAREC_TB_conllx.zip`.
### Splits
We combine all `Train`, `Dev`, and `Test` documents into one file per split.
You can use these files to replecate our [parsing expirments](https://github.com/CAMeL-Lab/BAREC-TB/).
The split-level files are available at: `Data/BAREC_TB_splits_conllx.zip`.
Our trained parsers are available [here](https://huggingface.co/collections/CAMeL-Lab/barec-treebank).
---
## Usage
You can download the files manually using the Hub’s user interface, or use `snapshot_download` to download all files at once.
```python
from huggingface_hub import snapshot_download
snapshot_download(
repo_id="CAMeL-Lab/BAREC-TB",
repo_type="dataset",
local_dir="path/to/local/dir",
allow_patterns=["Data/*"]
)
```
---
## Citation
If you use BAREC-TB in your work, please cite the following paper:
```
@inproceedings{elmadani-etal-2026-barec-tb,
title = {BAREC-TB: A Dependency Treebank and Parsing Benchmark for Arabic Children’s Texts},
author = {Elmadani, Khalid N. and Adel, Mohamed and AbuOdeh, Muhammed and Faraj, Reem and El-Gizuli, Jamila and Taha-Thomure, Hanada and Habash, Nizar},
booktitle = {Proceedings of The Fourth {A}rabic Natural Language Processing Conference},
month = {October},
year = {2026},
address = {Budapest, Hungary},
publisher = {Association for Computational Linguistics}
}
```