EdonFetaji/slvesnik-mk-sq
Службен весник MK–SQ Legal Parallel Corpus 293,612 Macedonian–Albanian sentence pairs from the Official Gazette of the Republic of North Macedonia (Службен весник), 2001–2025. from datasets import load_dataset ds = load_dataset("EdonFetaji/slvesnik-mk-sq") print(ds["test"][0]["mk_text"], ds["test"][0]["sq_text"]) Splits The split is issue-disjoint: assignment happens at the level of the source PDF, so no gazette issue contributes to more than one split. Gazette… See the full description on the dataset page: https://huggingface.co/datasets/EdonFetaji/slvesnik-mk-sq.
Службен весник MK–SQ Legal Parallel Corpus
293,612 Macedonian–Albanian sentence pairs from the Official Gazette of the Republic of North Macedonia (Службен весник), 2001–2025.
from datasets import load_dataset
ds = load_dataset("EdonFetaji/slvesnik-mk-sq")
print(ds["test"][0]["mk_text"], ds["test"][0]["sq_text"])Splits
The split is issue-disjoint: assignment happens at the level of the source PDF, so no gazette issue contributes to more than one split. Gazette text is formulaic and repeats across issues, so a sentence-level random split leaks badly. Deduplication is global — one row per normalised pair across the whole corpus — so no evaluation text also appears in train.
Fields
Personal data
The gazette's classified section publishes material that identifies individuals. Two treatments were applied before release.
Structured identifiers were replaced with placeholders. Each is the same string on both sides of the pair, so replacement keeps the alignment intact:
Rows whose content is a person's identity were removed — 2,016 pairs: lost-document notices, sanctions-list entries and "born on" records. These are mostly name, and names cannot be located reliably by regex across Cyrillic and Latin at once, so redacting the numbers would have left the name behind while looking sanitised.
Detection was a recall-oriented heuristic. It is not a guarantee in either direction; if you find residual personal data, please open a discussion.
Known limitations
- The source is OCR. Segments from scanned issues carry recognition errors. A character-level repair was applied to the Albanian side:
[mis-decoded asë(24,991 occurrences) and Cyrillic homoglyphs inside Latin words. - Alignment is automatic. No subset has been manually verified.
- `quality_confidence` is a heuristic, not a human judgement.
- `sonar_cosine` is null on `is_high_quality` rows, which were never scored.
- The split is issue-disjoint but not chronological; issues are assigned by a hash of the filename, so all years appear in all three splits.
Provenance
Built from the published PDF issues of Службен весник: layout analysis, OCR where there is no text layer, then bilingual component matching. source_pdf, issue_key, mk_page and sq_page locate every pair in its source issue.
Licence
Two layers, and they are not the same.
Contents. The Macedonian and Albanian text is drawn from the Official Gazette of the Republic of North Macedonia. Official texts of a political, legislative, administrative and judicial nature, and their official translations, are excluded from protection under the Macedonian Law on Copyright and Related Rights. The Albanian side of the gazette is such an official translation, so no copyright is claimed over either side, and none is granted here.
This compilation. The selection, extraction, alignment, SONAR scoring, redaction, splits and derived columns represent substantial investment and are released under CC-BY-4.0. Attribution is to this compilation, not to the gazette text.
The code that produced it is licensed separately; see the project repository.
Citation
@misc{slvesnik_mk_sq,
title = {Службен весник MK--SQ Legal Parallel Corpus},
author = {Edon Fetaji, VEZILKA},
year = {09.2026},
howpublished = {Hugging Face Datasets},
url = {https://huggingface.co/datasets/EdonFetaji/slvesnik-mk-sq}
}Contact
Corrections and takedown requests: fetaji.ed@gmail.com
