sukhrobnurali commited on
Commit
a90193f
·
verified ·
1 Parent(s): ce702c3

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +80 -20
README.md CHANGED
@@ -1,30 +1,90 @@
1
- # Constitution of the Republic of Uzbekistan (Parallel Dataset)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
 
3
- This dataset contains the latest version of Constitution of the Republic of Uzbekistan in three languages:
4
- - **Uzbek** (uz)
5
- - **Russian** (ru)
6
- - **English** (en)
7
 
 
8
 
9
- ## Structure
 
 
 
10
 
11
- The dataset is provided in JSONL format.
12
- Each line is a JSON object representing one article of the constitution, aligned across the three languages.
13
 
14
- ### Fields
15
 
16
- - `id`: The article number.
17
- - `text_uz`: Text of the article in Uzbek.
18
- - `chapter_uz`: Chapter title in Uzbek.
19
- - `part_uz`: Part title in Uzbek.
20
- - `text_ru`: Text of the article in Russian.
21
- - `chapter_ru`: Chapter title in Russian.
22
- - `part_ru`: Part title in Russian.
23
- - `text_en`: Text of the article in English.
24
- - `chapter_en`: Chapter title in English.
25
- - `part_en`: Part title in English.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
26
 
27
  ## Usage
28
 
29
- You can load this dataset using the Hugging Face `datasets` library:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
30
 
 
 
1
+ ---
2
+ language:
3
+ - uz
4
+ - ru
5
+ - en
6
+ license: other
7
+ task_categories:
8
+ - translation
9
+ - text-retrieval
10
+ - text-generation
11
+ tags:
12
+ - legal
13
+ - constitution
14
+ - law
15
+ - uzbekistan
16
+ - parallel-corpus
17
+ pretty_name: Uzbekistan Constitution (Trilingual)
18
+ size_categories:
19
+ - n<1K
20
+ configs:
21
+ - config_name: default
22
+ data_files:
23
+ - split: train
24
+ path: data/constitution.jsonl
25
+ ---
26
 
27
+ # Constitution of the Republic of Uzbekistan (Trilingual Dataset)
 
 
 
28
 
29
+ ## Dataset Summary
30
 
31
+ This dataset contains the **Constitution of the Republic of Uzbekistan** (New Edition, adopted via referendum on April 30, 2023) aligned in three languages:
32
+ * 🇺🇿 **Uzbek** (Latin script)
33
+ * 🇷🇺 **Russian**
34
+ * 🇬🇧 **English**
35
 
36
+ The data was carefully scraped and processed from the official National Database of Legislation of the Republic of Uzbekistan. It serves as a high-quality parallel corpus for legal NLP tasks, machine translation, and constitutional analysis.
 
37
 
38
+ ## Dataset Structure
39
 
40
+ The dataset is provided in **JSONL** format (`constitution.jsonl`). Each row represents a single Article of the constitution, perfectly aligned across all three languages.
41
+
42
+ ### Data Fields
43
+
44
+ | Field | Description | Example |
45
+ | :--- | :--- | :--- |
46
+ | `article_number` | The unique number of the article. | `"1"` |
47
+ | `text_uz` | Content of the article in Uzbek. | `"Oʻzbekiston — boshqaruvning..."` |
48
+ | `chapter_uz` | Chapter title in Uzbek (includes context). | `"I bob. Davlat suvereniteti"` |
49
+ | `part_uz` | Part title in Uzbek (includes context). | `"BIRINCHI BOʻLIM. ASOSIY PRINSIPLAR"` |
50
+ | `text_ru` | Content of the article in Russian. | `"Узбекистан — суверенное..."` |
51
+ | `chapter_ru` | Chapter title in Russian. | `"Глава I. Государственный суверенитет"` |
52
+ | `part_ru` | Part title in Russian. | `"РАЗДЕЛ ПЕРВЫЙ. ОСНОВНЫЕ ПРИНЦИПЫ"` |
53
+ | `text_en` | Content of the article in English. | `"Uzbekistan is a sovereign..."` |
54
+ | `chapter_en` | Chapter title in English. | `"Chapter I. State Sovereignty"` |
55
+ | `part_en` | Part title in English. | `"PART ONE. FUNDAMENTAL PRINCIPLES"` |
56
+
57
+ ### Sample Data
58
+
59
+ ```json
60
+ {
61
+ "article_number": "1",
62
+ "text_uz": "Oʻzbekiston — boshqaruvning respublika shakliga ega boʻlgan suveren, demokratik, huquqiy, ijtimoiy va dunyoviy davlat...",
63
+ "text_ru": "Узбекистан — суверенное, демократическое, правовое, социальное и светское государство...",
64
+ "text_en": "Uzbekistan is a sovereign democratic, legal, social and secular state...",
65
+ "part_uz": "BIRINCHI BOʻLIM. ASOSIY PRINSIPLAR"
66
+ }
67
+ ```
68
 
69
  ## Usage
70
 
71
+ ### Loading with Hugging Face Datasets
72
+
73
+ ```python
74
+ from datasets import load_dataset
75
+
76
+ dataset = load_dataset("sukhrobnurali/uzbek_constitution")
77
+ # dataset = load_dataset("json", data_files="data/constitution.jsonl") # For local loading
78
+
79
+ print(dataset["train"][0])
80
+ ```
81
+
82
+ ### Applications
83
+ * **Machine Translation:** Parallel legal text for training/finetuning translation models (Uzbek-English, Uzbek-Russian).
84
+ * **RAG (Retrieval-Augmented Generation):** Reliable ground truth for legal Q&A bots.
85
+ * **Legal Analysis:** Comparative studies of constitutional terminology across languages.
86
+
87
+
88
+ ## License
89
 
90
+ This dataset is a derivative work of public legal documents. According to the Law of the Republic of Uzbekistan "On Copyright and Related Rights" (Article 8), official documents (laws, resolutions, decisions, etc.) and their official translations are not objects of copyright.