--- language: - ne license: other license_name: government-public-domain-np multilinguality: - monolingual size_categories: - 10K Exact counts depend on `MIN_CHARS`/`MAX_CHARS` settings at generation time. ### Fields | Field | Type | Description | |-------|------|-------------| | `text` | string | Cleaned Nepali text chunk (300тАУ1200 chars) | | `id` | string | Unique chunk ID тАФ format: `mof-{source_id}-{chunk_id}` | | `chunk_global_id` | int | Global chunk index across all sources | | `chunk_local_id` | int | Chunk index within its source file | | `source_id` | int | Source block number | | `source_filename` | string | Inner PDF/source filename | | `outer_file` | string | Outer merged file this source came from | | `fiscal_year` | string | Fiscal year extracted from filename (e.g. `2073-74`) | | `char_count` | int | Character count of this chunk | | `nepali_char_ratio` | float | Fraction of Devanagari characters (0.0тАУ1.0) | | `content_type` | string | Semantic content category (see below) | | `language` | string | ISO 639-1: `ne` (Nepali) | | `script` | string | ISO 15924: `Deva` (Devanagari) | | `domain` | string | `government_finance` | | `country` | string | `NP` (Nepal) | | `organization` | string | `Ministry of Finance, Nepal (MoF)` | | `document_type` | string | `ministry_progress_report` | | `license` | string | `public_domain_gov_np` | | `dataset_version` | string | `1.0` | | `created_date` | string | Date dataset was generated (YYYY-MM-DD) | ### Content Types | Value | Description | |-------|-------------| | `report_narrative` | Main body text of progress reports | | `policy_text` | Budget policy, legal, or regulatory passages | | `table_data` | Numeric, expenditure, or tabular content | | `table_of_contents` | TOC sections with page references | | `abbreviations` | Abbreviation or glossary lists | | `appendix` | Annexure / appendix / schedule sections | | `other` | Miscellaneous short passages | --- ## Source Documents | Fiscal Year | Document | |-------------|----------| | 2072/73 | рдордиреНрддреНрд░рд╛рд▓рдпрдЧрдд рдкреНрд░рдЧрддрд┐ рд╡рд┐рд╡рд░рдг (Ministry-wise Progress Report) | | 2073/74 | Ministrywise Progress 2073-74 | | 2074/75 | рдкреНрд░рдЧрддрд┐ рд╡рд┐рд╡рд░рдг рд╕рдореНрдкрд╛рджрди | | 2075/76 | рдордиреНрддреНрд░рд╛рд▓рдпрдЧрдд рдкреНрд░рдЧрддрд┐ рд╡рд┐рд╡рд░рдг реирежренрел | | 2076/77 | рдордиреНрддреНрд░рд╛рд▓рдпрдЧрдд рдкреНрд░рдЧрддрд┐ 2076 | | 2077/78 | рдордиреНрддреНрд░рд╛рд▓рдпрдЧрдд рдкреНрд░рдЧрддрд┐ рд╡рд┐рд╡рд░рдг_2077 | | 2078/79 | рдордиреНрддреНрд░рд╛рд▓рдпрдЧрдд рдкреНрд░рдЧрддрд┐ рд╡рд┐рд╡рд░рдг реирежренрео-ренреп | | 2079/80 | рдордиреНрддреНрд░рд╛рд▓рдпрдЧрдд рдкреНрд░рдЧрддрд┐ рд╡рд┐рд╡рд░рдг реирежренрео | | 2080/81 | MoF Annual Report 2080.81 | | Various | рдПрдХреАрдХреГрдд рд╡рд┐рддреНрддреАрдп рд╡рд┐рд╡рд░рдг (NPSAS-based Integrated Financial Report) | --- ## Data Collection & Processing ### Source All documents were sourced from [mof.gov.np](https://www.mof.gov.np) тАФ the official website of the Ministry of Finance, Government of Nepal. Documents are publicly available government publications. The raw text was pre-extracted from PDFs and merged into a single `.txt` file with `FILE:` / `рдлрд╛рдЗрд▓:` section headers. ### File Structure The source file has a nested structure handled automatically by the parser: ``` FILE: merged_nepalimof1.txt тЖР outer wrapper file рдлрд╛рдЗрд▓: actualpdf1.txt тЖР inner source (parsed as individual block) рдлрд╛рдЗрд▓: actualpdf2.txt тЖР inner source FILE: MoF Annual Report 2080.81.txt тЖР direct content block ``` Each inner block or direct content block becomes a separate source in the dataset, traceable via `source_id`, `source_filename`, and `outer_file`. ### Cleaning Pipeline | Step | What was removed / fixed | |------|--------------------------| | English-only lines | Lines with zero Nepali characters and >5 chars (tables of contents in English, headings, footnotes) | | `[Page N]` markers | Extractor-inserted page labels | | `(cid:N)` sequences | Corrupt PDF glyph encoding artifacts | | TOC dot leaders | Runs of 4+ dots collapsed to `тАж` | | Unicode replacement char `U+FFFD` | Bad bytes from encoding errors | | Private-use area chars `U+E000тАУU+F8FF` | PDF internal glyph references | | Box-drawing chars `тФА` | Separator line artifacts | | Cedilla `┬╕` | OCR noise character | | OCR space injection тАФ Rule 1 | Space inserted before a vowel sign (matra); matras cannot start a Nepali word. Example: `рд╕рд╢реБ рд╛рд╕рд┐` тЖТ `рд╕рд╢реБрд╛рд╕рд┐` | | OCR space injection тАФ Rule 2 | Matra + space + 1тАУ2 char Devanagari fragment = mid-word OCR split. Example: `рдХрд╛рдпрд╣рд┐ рд░реВ` тЖТ `рдХрд╛рдпрд╣рд┐рд░реВ` | | Double spaces | Collapsed to single space | | NFC normalization | Unicode canonical composition applied | ### Chunking Strategy - Lines filtered for Nepali content, then grouped into paragraphs - Paragraphs merged until chunk reaches **300тАУ1200 characters** - Any chunk where less than 30% of characters are Devanagari is discarded - Very short final segments are appended to the previous chunk > Note: The Nepali threshold is set slightly lower (30%) than the MoHA/Law Commission datasets because MoF reports mix Devanagari numerals, budget codes, and some English ministry acronyms within otherwise Nepali sentences. --- ## Example Row ```json { "text": "рдиреЗрдкрд╛рд▓рдХреЛ рд╕рдВрд╡рд┐рдзрд╛рдирдХреЛ рдзрд╛рд░рд╛ резрезреп рдХреЛ рдЙрдкрдзрд╛рд░рд╛ (реи) рдорд╛ рдкреНрд░рддреНрдпреЗрдХ рдЖрд░реНрдерд┐рдХ рд╡рд░реНрд╖рдХреЛ рд╡рд╛рд░реНрд╖рд┐рдХ рдЕрдиреБрдорд╛рди рд╡реНрдпрд╡рд╕реНрдерд╛рдкрд┐рдХрд╛ рд╕рдВрд╕рдж рд╕рдордХреНрд╖ рдкреЗрд╢ рдЧрд░реНрджрд╛ рдЕрдШрд┐рд▓реНрд▓реЛ рдЖрд░реНрдерд┐рдХ рд╡рд░реНрд╖рдорд╛ рдкреНрд░рддреНрдпреЗрдХ рдордиреНрддреНрд░рд╛рд▓рдпрд▓рд╛рдИ рдЫреБрдЯреНрдпрд╛рдЗрдПрдХреЛ рд░рдХрдо рд░ рддреНрдпрд╕реНрддреЛ рдЦрд░реНрдЪ рдЕрдиреБрд╕рд╛рд░рдХреЛ рд▓рдХреНрд╖реНрдп рд╣рд╛рд╕рд┐рд▓ рднрдпреЛ рд╡рд╛ рднрдПрди рддреНрдпрд╕рдХреЛ рд╡рд┐рд╡рд░рдг рдкрдирд┐ рд╕рд╛рдереИ рдкреЗрд╢ рдЧрд░реНрдиреБрдкрд░реНрдиреЗ рд╡реНрдпрд╡рд╕реНрдерд╛ рд░рд╣реЗрдХреЛ рдЫред", "id": "mof-002-0001", "chunk_global_id": 12, "chunk_local_id": 1, "source_id": 2, "source_filename": "Ministrywise Progress 2073-74_20170530090116.pdf", "outer_file": "merged_nepalimof1 (1).txt", "fiscal_year": "2073-74", "char_count": 298, "nepali_char_ratio": 0.8523, "content_type": "policy_text", "language": "ne", "script": "Deva", "domain": "government_finance", "country": "NP", "organization": "Ministry of Finance, Nepal (MoF)", "document_type": "ministry_progress_report", "license": "public_domain_gov_np", "dataset_version": "1.0", "created_date": "2025-04-26" } ``` --- ## Comparison with Related Nepali Government Datasets | | MoHA Nepal | Law Commission | **MoF Nepal** | |--|--|--|--| | Organization | Ministry of Home Affairs | Nepal Law Commission | **Ministry of Finance** | | Domain | `government` | `legal` | **`government_finance`** | | Topic | Security, administration | Law reform, legislation | **Budget, expenditure, fiscal policy** | | Fiscal years | 2076/77тАУ2082/83 | 2067/68тАУ2081/82 | **2072/73тАУ2080/81** | | English mixing | Minimal | Moderate | **Moderate (budget codes, acronyms)** | | Nepali threshold | 35% | 35% | **30%** | --- ## Intended Uses - **Financial NLP** тАФ Nepali budget and fiscal policy text understanding - **Language model pre-training** тАФ Nepali government finance domain corpus - **Named entity recognition** тАФ Ministry names, program names, fiscal year detection in Nepali - **Summarization** тАФ Ministry-wise progress summarization in Nepali - **Low-resource NLP** тАФ Nepali financial/government language is extremely under-resourced - **Cross-lingual research** тАФ paired with English MoF documents for translation tasks --- ## Limitations - OCR quality varies by year тАФ documents from 2072/73 and 2073/74 have higher noise levels due to older scanning - Budget tables (`table_data` chunks) may have incomplete rows due to PDF multi-column extraction - Some English budget codes and acronyms (e.g. `MTEF`, `PEFA`, `NPSAS`) are retained within otherwise Nepali sentences - Fiscal year detection from filenames is heuristic тАФ some chunks may show `(unknown)` fiscal year - The corpus does not include the actual budget law (`Appropriation Act`) text, only progress reports --- ## License All source documents are official publications of the Ministry of Finance, Government of Nepal, and are in the public domain under Nepal's government open publication policy. Released for research and educational use. --- ## Citation ```bibtex @dataset{mof_nepal_nepali_2025, title = {Ministry of Finance Nepal -- Nepali Government Finance Corpus}, author = {Ministry of Finance, Nepal (source) and dataset contributors}, year = {2025}, url = {https://huggingface.co/datasets/YOUR_USERNAME/mof-nepal-nepali}, note = {Extracted and cleaned from mof.gov.np official ministry-wise progress reports} } ``` --- ## Contact For questions about this dataset, open a discussion on the dataset page. For questions about the source documents, visit [mof.gov.np](https://www.mof.gov.np).