CoolFace
Datasetpublic

ranjitraut/nepal-constitution-dataset

Nepal Constitution Dataset Dataset Description This dataset contains the Constitution of Nepal (२०७२), organized section-wise for easy access, analysis, and use in NLP and legal tech applications. It is designed to support legal research, educational purposes, and the development of AI-driven tools for the Nepali legal system. Note: This dataset is released for research purposes only. Any other unwanted use can lead to the violation of the intended terms of use… See the full description on the dataset page: https://huggingface.co/datasets/ranjitraut/nepal-constitution-dataset.

sourceHugging Facecc-by-nc-4.0updated 1mo agoView on Hugging Face
0likes43downloads
Dataset Card

Nepal Constitution Dataset

Dataset Description

This dataset contains the Constitution of Nepal (२०७२), organized section-wise for easy access, analysis, and use in NLP and legal tech applications. It is designed to support legal research, educational purposes, and the development of AI-driven tools for the Nepali legal system.

Note: This dataset is released for research purposes only. Any other unwanted use can lead to the violation of the intended terms of use and may result in legal action or revocation of access rights.

Features

  • Section-wise organization: Each article and schedule is provided as a separate entry.
  • Comprehensive coverage: Includes all articles, parts, and schedules of the Constitution of Nepal, 2072.

Use Cases

  • Legal research and analysis
  • NLP model training (e.g., legal chatbots, document classification, question-answering)
  • Text-to-speech applications for accessibility
  • Educational resources for law students and practitioners

Dataset Structure

Data Fields

FieldTypeDescription
partstringPart number and title
articlestringArticle number and title
contentstringFull text of the article (Nepali)

Example

json
{
  "part": "भाग १: प्रारम्भिक",
  "article": "धारा १: नेपालको संविधान",
  "content": "यो संविधान नेपालको सर्वोच्च कानुन हो र यसको प्रारम्भदेखि नै अन्य सबै कानुनको तुलनामा प्राथमिकता पाउनेछ।"
}

Usage

Load the dataset with the Hugging Face datasets library:

python
from datasets import load_dataset

# Load the full dataset
dataset = load_dataset("ranjitraut/nepal-constitution-dataset", split="train")

# Streaming for large-scale use
streamed = load_dataset("ranjitraut/nepal-constitution-dataset", split="train", streaming=True)
for example in streamed:
    print(example["part"], example["article"])

Creation Methodology

  • Source Data: Sourced from the official Constitution of Nepal, 2072 and other authoritative legal repositories.
  • Processing: Text extraction, section-wise splitting, cleaning, and validation by legal experts.
  • Language: Primarily in Nepali (Devanagari script).

Considerations

Social Impact

  • Promotes transparency, accessibility, and digital preservation of Nepal’s constitutional law.
  • Supports the development of AI tools for legal aid, education, and public awareness.

Limitations

  • Covers only the Constitution of Nepal, 2072; does not include amendments after the dataset’s publication date.
  • Potential OCR errors in scanned documents.
  • Always verify with official sources for critical legal applications.

Recommendations

  • Use this dataset as a foundation for legal research, NLP projects, or educational tools.
  • Cross-reference with the latest official constitutional texts for up-to-date information.

Citation

If you use this dataset, please cite it as:

@dataset{ranjitraut_nepal_constitution_dataset,
  author={Ranjit Raut},
  title={Nepal Constitution Dataset},
  year={2026},
  url={https://huggingface.co/datasets/ranjitraut/nepal-constitution-dataset}
}

License

This dataset is licensed under the Fair Non-Commercial Research License.