Datasets:
ArXiv:
License:
Add metadata, link to paper and GitHub repository
#1
by nielsr HF Staff - opened
README.md
CHANGED
|
@@ -1,7 +1,47 @@
|
|
| 1 |
---
|
| 2 |
license: cc-by-sa-4.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
| 4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
### Data Splits
|
| 6 |
|
| 7 |
| Split | Description |
|
|
|
|
| 1 |
---
|
| 2 |
license: cc-by-sa-4.0
|
| 3 |
+
task_categories:
|
| 4 |
+
- token-classification
|
| 5 |
+
language:
|
| 6 |
+
- ba
|
| 7 |
+
tags:
|
| 8 |
+
- turkic
|
| 9 |
+
- universal-dependencies
|
| 10 |
+
- silver-standard
|
| 11 |
---
|
| 12 |
|
| 13 |
+
# TurkicNLP Bashkir UD Dataset
|
| 14 |
+
|
| 15 |
+
This dataset is part of the work presented in the paper [TurkicNLP: An NLP Toolkit for Turkic Languages](https://huggingface.co/papers/2602.19174).
|
| 16 |
+
|
| 17 |
+
- **Paper:** [https://huggingface.co/papers/2602.19174](https://huggingface.co/papers/2602.19174)
|
| 18 |
+
- **Repository:** [https://github.com/turkic-nlp/turkicnlp](https://github.com/turkic-nlp/turkicnlp)
|
| 19 |
+
|
| 20 |
+
## Sample Usage
|
| 21 |
+
|
| 22 |
+
You can use the `turkicnlp` library to process text using the models associated with this project:
|
| 23 |
+
|
| 24 |
+
```python
|
| 25 |
+
import turkicnlp
|
| 26 |
+
|
| 27 |
+
# Download models for Bashkir
|
| 28 |
+
turkicnlp.download("bak")
|
| 29 |
+
|
| 30 |
+
# Build a pipeline
|
| 31 |
+
nlp = turkicnlp.Pipeline("bak", processors=["tokenize", "pos", "lemma", "depparse"])
|
| 32 |
+
|
| 33 |
+
# Process text
|
| 34 |
+
doc = nlp("Мин мәктәпкә барҙым")
|
| 35 |
+
|
| 36 |
+
# Access annotations
|
| 37 |
+
for sentence in doc.sentences:
|
| 38 |
+
for word in sentence.words:
|
| 39 |
+
print(f"{word.text}\t{word.lemma}\t{word.upos}\t{word.feats}")
|
| 40 |
+
|
| 41 |
+
# Export to CoNLL-U
|
| 42 |
+
print(doc.to_conllu())
|
| 43 |
+
```
|
| 44 |
+
|
| 45 |
### Data Splits
|
| 46 |
|
| 47 |
| Split | Description |
|