Dataset Viewer
Auto-converted to Parquet Duplicate
id
int64
title
string
slug
string
legislation_no
string
status
string
implemented_at
string
pdf_url
string
web_url
string
categories
list
text_content
string
268
ދިވެހިރާއްޖޭގެ ހައިކޯޓުގެ މަދަނީ އިޖުރާއަތުގެ ގަވާއިދު
dhivehiraaajeyge-haikoatuge-madhanee-ijuraaathuge-gavaaidhu
2022/R-101
published
2022-06-15T19:00:00.000000Z
https://mvlaw.gov.mv/dv/legislations/268/consolidations/1221/pdf
https://mvlaw.gov.mv/dv/legislations/268/consolidations/1221
[ "ގަވާއިދު", "ޤާނޫނުގެ ދަށުން ހަދާ ގަވާއިދުތައް" ]
[އިބްތިދާއީ ކަންކަން] [ތަޢާރުފު] މިއީ، ޤާނޫނު ނަންބަރު 32/2021 (މަދަނީ އިޖުރާއަތުގެ ޤާނޫނު) ގެ ދަށުން، ދިވެހިރާއްޖޭގެ ހައިކޯޓަށް ހުށަހެޅޭ މައްސަލަތައް ކުރިޔަށް ގެންދިއުމުގައި ޢަމަލުކުރާނެ ގޮތް ބަޔާންކޮށް އެ ޤާނޫނުގެ 425 ވަނަ މާއްދާގެ (ހ) ގެ ދަށުން ހަދައިފައިވާ ގަވާއިދެވެ. [ނަން] މި ގަވާއިދަށް ކިޔާނީ، "ދިވެހިރާއްޖޭގެ ...
69
މިލްކުވެރިކަން ބަދަލުކުރުމުގެ ޤާނޫނު
milkuverikan-badhalukurumuge-aanoonu
9/68
published
1968-06-30T19:00:00.000000Z
https://mvlaw.gov.mv/dv/legislations/69/consolidations/951/pdf
https://mvlaw.gov.mv/dv/legislations/69/consolidations/951
[ "ޤާނޫނު", "ވޮލިއުމް VII - ބިންބިމާއި މުދާ" ]
[ ] ސަރުކާރު ފިޔަވައި، ޝަރީޢަތް މެދުވެރިކޮށްގެން، ދިނުމަކުން، ހިބައަކުން، ވިއްކުމަކުން، މިލްކެއް އެހެން ފަރާތަކަށް ބަދަލުކުރާނަމަ، އެކަން ޝަރީޢަތަށް ހުށަހަޅަންވާނީ ތިރީގައިމިވާ ނުކުތާތަކާ އެއްގޮތަށެވެ. ދޭ ފަރާތުގެ ނުވަތަ ވިއްކާ ފަރާތުގެ މިލްކެއް ކަމުގައިވުން. ދޭ ފަރާތް ނުވަތަ ވިއްކާ ފަރާތް ޝަރީޢަތުގެ މަޖިލީހަށް ޙާޟިރުވ...
177
ހިޔުމަން ރައިޓްސް ކޮމިޝަނުގެ ޤާނޫނު
hiyuman-raits-komishanuge-aanoonu
6/2006
published
2006-08-17T07:00:00.000000Z
https://mvlaw.gov.mv/dv/legislations/177/consolidations/911/pdf
https://mvlaw.gov.mv/dv/legislations/177/consolidations/911
[ "ޤާނޫނު", "ވޮލިއުމް I - ދުސްތޫރީ އަދި އިދާރީ" ]
[ތަޢާރުފާއި ނަން] މިއީ، "ހިޔުމަން ރައިޓްސް ކޮމިޝަން އޮފް ދަ މޯލްޑިވްސް" ގެ ނަމުގައި ކޮމިޝަނެއް އުފައްދައި، އެކޮމިޝަނުގެ މަޤްޞަދުތަކާއި މަސްއޫލިއްޔަތުތަކާއި، ބާރުތައް އެކަށައަޅައި، އެކަންކަމާގުޅޭ އުސޫލުތައް ބަޔާން ކުރުމުގެ ޤާނޫނެވެ. މިޤާނޫނަށް ކިޔާނީ، "ހިޔުމަން ރައިޓްސް ކޮމިޝަނުގެ ޤާނޫނު" އެވެ. [ކޮމިޝަނުގެ މަޤްޞަދުތައް...
178
ދިވެހިރާއްޖޭގެ އިމިގްރޭޝަންގެ ޤާނޫނު 
dhivehiraaajeyge-imigreyshange-aanoonu
1/2007
published
2007-04-01T07:00:00.000000Z
https://mvlaw.gov.mv/dv/legislations/178/consolidations/1278/pdf
https://mvlaw.gov.mv/dv/legislations/178/consolidations/1278
[ "ޤާނޫނު", "ވޮލިއުމް VI - ދަތުރުފަތުރާއި މުވާޞަލާތު" ]
"[ތަޢާރުފާއި ނަން]\nމިއީ، ދިވެހި ރައްޔިތުން ރާއްޖޭންބޭ(...TRUNCATED)
287
އިންޝުއަރެންސްއާބެހޭ ޤާނޫނު
inshuarensaabehey-aanoonu
13/2025
published
2025-08-28T07:00:00.000000Z
https://mvlaw.gov.mv/dv/legislations/287/consolidations/1292/pdf
https://mvlaw.gov.mv/dv/legislations/287/consolidations/1292
[ "ވޮލިއުމް V - ވިޔަފާރިއާއި އިޤްތިޞާދު" ]
"[ފެށުން]\n\n[ތަޢާރުފާއި ނަން]\nމިއީ، ދިވެހިރާއްޖޭގައި ހަ(...TRUNCATED)
186
"ރައްޔިތުންގެ މަޖިލީހުގެ އިންތިޚާބީ ދާއިރާތައް ކަނޑަ(...TRUNCATED)
rahyithunge-majileehuge-inthiaabee-dhaairaathah-kandaelhumaabehey-aanoonu
1/2009
published
2009-02-09T19:00:00.000000Z
https://mvlaw.gov.mv/dv/legislations/186/consolidations/222/pdf
https://mvlaw.gov.mv/dv/legislations/186/consolidations/222
[ "ޤާނޫނު", "ވޮލިއުމް I - ދުސްތޫރީ އަދި އިދާރީ" ]
"[ތަޢާރުފާއި ނަން]\nމިއީ، ރައްޔިތުންގެ މަޖިލީހުގެ މެން(...TRUNCATED)
97
ދިވެހިރާއްޖޭގެ ޖަލުތަކާއި ޕެރޯލްގެ ޤާނޫނު
dhivehiraaajeyge-jaluthakaai-peroalge-aanoonu
14/2013
published
2014-01-23T07:00:00.000000Z
https://mvlaw.gov.mv/dv/legislations/97/consolidations/973/pdf
https://mvlaw.gov.mv/dv/legislations/97/consolidations/973
[ "ޤާނޫނު", "ވޮލިއުމް VIII - ކުށާއި ޝަރީޢަތް" ]
"[އިބްތިދާއީ މާއްދާތައް]\n\n[ތަޢާރުފާއި ނަން]\nމި ޤާނޫނަކ(...TRUNCATED)
190
"ކުޑަކުދިންނަށް ޖިންސީ ގޯނާކުރާ މީހުންނާމެދު ޚާއްޞަ އ(...TRUNCATED)
kudakudhinnah-jinsee-goanaakuraa-meehunnaamedhu-aaaa-usooluthakakah-amalukurumuge-aanoonu
12/2009
published
2009-11-12T07:00:00.000000Z
https://mvlaw.gov.mv/dv/legislations/190/consolidations/226/pdf
https://mvlaw.gov.mv/dv/legislations/190/consolidations/226
[ "ޤާނޫނު", "ވޮލިއުމް VIII - ކުށާއި ޝަރީޢަތް" ]
"[ތަޢާރުފާއި މަޤްޞަދު]\n\n[ތަޢާރުފާއި ނަން]\nމިއީ، ކުޑަކު(...TRUNCATED)
127
ދިވެހިރާއްޖޭގެ ޤައުމީ އަރުޝީފުގެ ޤާނޫނު
dhivehiraaajeyge-aumee-arusheefuge-aanoonu
16/2011
published
2011-12-30T19:00:00.000000Z
https://mvlaw.gov.mv/dv/legislations/127/consolidations/152/pdf
https://mvlaw.gov.mv/dv/legislations/127/consolidations/152
[ "ޤާނޫނު", "ވޮލިއުމް I - ދުސްތޫރީ އަދި އިދާރީ" ]
"[ ފެށުން]\n\n[ތަޢާރުފާއި ނަން]\nމިއީ ދިވެހި ދައުލަތުގެ ރަ(...TRUNCATED)
109
ވަޒީފާއާބެހޭ ޤާނޫނު
vazeefaaaabehey-aanoonu
2/2008
published
2008-07-08T18:00:00.000000Z
https://mvlaw.gov.mv/dv/legislations/109/consolidations/1250/pdf
https://mvlaw.gov.mv/dv/legislations/109/consolidations/1250
[ "ޤާނޫނު", "ވޮލިއުމް I - ދުސްތޫރީ އަދި އިދާރީ" ]
"[ތަޢާރުފާއި ނަން]\nމި ޤާނޫނަކީ ދިވެހިރާއްޖޭގައި، ވަޒީ(...TRUNCATED)
End of preview. Expand in Data Studio

Maldivian Legal Corpus (V1.1)

Open, structured corpus of Maldivian laws published on HuggingFace — sourced from the official MVLaw portal maintained by the Attorney General's Office of the Maldives.

Dataset summary

235 published Maldivian laws in Dhivehi (ދިވެހި), spanning from 1932 to 2025.

Stat Value
Total laws 235 (215 Train / 20 Test)
Total sections ~14,000 (12,742 Train / 1,246 Test)
Estimated Dhivehi tokens ~3,000,000
Average chars per law ~50,000
Average sections per law ~59
Language Dhivehi (dv)
Source mvlaw.gov.mv
License CC-BY-4.0

Why this dataset matters

Dhivehi is a critically low-resource language spoken by ~340,000 people in the Maldives. This dataset enables:

  • LLM pretraining / fine-tuning on Dhivehi legal text.
  • Legal RAG systems for Maldivian law (granular section-level chunking).
  • Translation research — Dhivehi ↔ English legal translation.
  • Legal NLP benchmarking for a low-resource language.
  • Civic tech — searchable Maldivian law for citizens and lawyers.

Dataset structure

Configurations

  1. default (Laws): Full legal documents (1 row = 1 Law).
  2. sections (Granular): Broken down by Articles/Chapters (1 row = 1 Section).

Fields (default config)

Field Type Description
id int Unique legislation ID from MVLaw
title string Law title in Dhivehi
slug string URL-safe identifier
legislation_no string Official law number (e.g. 17/2021)
status string Always published in this release
implemented_at string Enactment date (ISO 8601)
pdf_url string Direct URL to official PDF
web_url string URL to law on MVLaw portal
categories list[string] Category tags (e.g. ["ޤާނޫނު", "ވޮލިއުމް VIII"])
text_content string Full law text in Dhivehi with [section heading] markers

How to use

1. Load full laws

from datasets import load_dataset

ds = load_dataset("d3b4g/maldivian-legal-corpus", split="train")
print(ds[0]["title"])

2. Load granular sections (for RAG)

from datasets import load_dataset

ds_sections = load_dataset("d3b4g/maldivian-legal-corpus", "sections", split="train")
print(ds_sections[0]["section_title"])

3. Load test split for evaluation

from datasets import load_dataset

ds_test = load_dataset("d3b4g/maldivian-legal-corpus", split="test")

Known limitations

  • 18 laws excluded — scanned image-only PDFs (mostly pre-1970). OCR versions will be added in V2.
  • 2 laws excluded — failed to fetch at scrape time; will be re-scraped.
  • No English translations — An English translation is planned for V2.
  • Arabic-numeral law numbers — some very old laws use Arabic-Indic numerals (e.g. .٨/ ٣ ١).

Data source & provenance

All laws are sourced from mvlaw.gov.mv, the official Maldivian laws portal maintained by the Attorney General's Office of the Republic of Maldives. Data was collected via web scraping in 2025.

License

This dataset is released under CC-BY-4.0. Underlying laws are public government documents. Please cite this dataset if you use it in research.

Citation

@dataset{maldivian_legal_corpus_2025,
  author    = {d3b4g},
  title     = {Maldivian Legal Corpus},
  year      = {2025},
  publisher = {HuggingFace},
  url       = {https://huggingface.co/datasets/d3b4g/maldivian-legal-corpus},
  note      = {235 published Maldivian laws in Dhivehi, sourced from mvlaw.gov.mv}
}

Roadmap

  • v1.1: Add sections config with one row per article (DONE)
  • v2: Add English translations
Downloads last month
45