Datasets:
id stringlengths 16 43 | title stringlengths 16 1.53k | text stringlengths 258 1.07M | source_url stringlengths 31 229 | source_type stringclasses 2
values | jurisdiction stringclasses 1
value | country stringclasses 1
value | language stringclasses 2
values | eli stringclasses 0
values | date stringclasses 15
values | date_issued stringlengths 10 10 ⌀ | retrieved_at stringdate 2026-09-09 08:16:13 2026-10-25 09:30:50 | license stringclasses 13
values | law_status stringclasses 1
value | identifier stringlengths 13 64 | official_identifier stringlengths 13 64 | article_count int32 0 1.18k | json_path stringlengths 37 88 ⌀ | metadata_json stringlengths 931 2.51k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
tg-constitution-consolidee-derniere-version | REPUBLIQUE TOGOLAISE | REPUBLIQUE TOGOLAISE
Travail-Liberté-Patrie
LA CONSTITUTION DE LA IVe REPUBLIQUE
Adoptée par Référendum le 27 septembre 1992
Promulguée le 14 octobre 1992
Révisée par la loi n°2002-029 du 31 décembre 2002
modifiée par la loi n°2007-008 du 07 février 2007
... | https://assemblee-nationale.tg/wp-content/uploads/2021/05/constitution-consolidee-derniere-version.pdf | jo_togo_official | TG | Togo | fr | null | null | null | 2026-09-09T08:16:21Z | République Togolaise — Journal Officiel (jo.gouv.tg) / Ministère des Finances (finances.gouv.tg) / Ministère de la Justice (justice.gouv.tg) / SGG / Primature / Assemblée nationale. Authentic Journal Officiel / official text prevails. Not legal advice. | current | constitution-consolidee-derniere-version | constitution-consolidee-derniere-version | 112 | /workspace/legal-corpora/tg/instruments/tg-constitution-consolidee-derniere-version.json | {"schema_version":"collection_record.v1","record_type":"law","law_identifier":"constitution-consolidee-derniere-version","document_type":"statute","is_current":true,"canonical_law_url":"https://assemblee-nationale.tg/wp-content/uploads/2021/05/constitution-consolidee-derniere-version.pdf","article_extraction_status":"o... |
tg-constitution-expose | LE PREMIER MINISTRE REPUBLIQUE TOGOLAISE | LE PREMIER MINISTRE REPUBLIQUE TOGOLAISE
Travail- Liberté - Patrie
EXPOSE DES MOTIFS DE PROJET DE LOI PORTANT
MODIFICATION DES DISPOSITIONS DES ARTICLES 59,60 ET 100
DE LA CONSTITUTION DU 14 OCTOBRE 199... | https://assemblee-nationale.tg/wp-content/uploads/2021/10/constitution-expose.pdf | jo_togo_official | TG | Togo | fr | null | null | null | 2026-09-10T08:53:11Z | République Togolaise — Journal Officiel (jo.gouv.tg) / Ministère des Finances (finances.gouv.tg) / Ministère de la Justice (justice.gouv.tg) / SGG / Primature / Assemblée nationale. Authentic Journal Officiel / official text prevails. Not legal advice. | current | constitution-expose | constitution-expose | 0 | /workspace/legal-corpora/tg/instruments/tg-constitution-expose.json | {"schema_version":"collection_record.v1","record_type":"law","law_identifier":"constitution-expose","document_type":"statute","is_current":true,"canonical_law_url":"https://assemblee-nationale.tg/wp-content/uploads/2021/10/constitution-expose.pdf","article_extraction_status":"missing","metadata":{"collector":"collect_t... |
tg-constitution-loi-an | ASSEMBLEE NATIONALE REPUBLIQUE TOGOLAISE | ASSEMBLEE NATIONALE REPUBLIQUE TOGOLAISE
---------------
SIXIEME LEGISLATURE Travail-Liberté-Patrie
--------------- ------------
SECRETARIAT GENERAL
---------------
Direction des Services Législatifs
---------------
Division des Sé... | https://assemblee-nationale.tg/wp-content/uploads/2021/10/constitution-LOI-AN.pdf | jo_togo_official | TG | Togo | fr | null | null | null | 2026-09-10T08:53:11Z | République Togolaise — Journal Officiel (jo.gouv.tg) / Ministère des Finances (finances.gouv.tg) / Ministère de la Justice (justice.gouv.tg) / SGG / Primature / Assemblée nationale. Authentic Journal Officiel / official text prevails. Not legal advice. | current | constitution-loi-an | constitution-loi-an | 30 | /workspace/legal-corpora/tg/instruments/tg-constitution-loi-an.json | {"schema_version":"collection_record.v1","record_type":"law","law_identifier":"constitution-loi-an","document_type":"statute","is_current":true,"canonical_law_url":"https://assemblee-nationale.tg/wp-content/uploads/2021/10/constitution-LOI-AN.pdf","article_extraction_status":"ok","metadata":{"collector":"collect_tg.py"... |
tg-constitution-projet-de-loi | LE PREMIER MINISTRE REPUBLIQUE TOGOLAISE | .•
LE PREMIER MINISTRE REPUBLIQUE TOGOLAISE
Travail - Liberté - Patrie
PROJET DE LOI
PORTANT MODIFICATION DES ARTICLES
59, 60, et 100 DE LA CONSTITUTION DU... | https://assemblee-nationale.tg/wp-content/uploads/2021/10/constitution-projet-de-loi.pdf | jo_togo_official | TG | Togo | fr | null | null | null | 2026-09-10T08:53:13Z | République Togolaise — Journal Officiel (jo.gouv.tg) / Ministère des Finances (finances.gouv.tg) / Ministère de la Justice (justice.gouv.tg) / SGG / Primature / Assemblée nationale. Authentic Journal Officiel / official text prevails. Not legal advice. | current | constitution-projet-de-loi | constitution-projet-de-loi | 4 | /workspace/legal-corpora/tg/instruments/tg-constitution-projet-de-loi.json | {"schema_version":"collection_record.v1","record_type":"law","law_identifier":"constitution-projet-de-loi","document_type":"statute","is_current":true,"canonical_law_url":"https://assemblee-nationale.tg/wp-content/uploads/2021/10/constitution-projet-de-loi.pdf","article_extraction_status":"ok","metadata":{"collector":"... |
tg-constitution-rapport | ASSEMBLEE NATIONALE REPUBLIQUE TOGOLAISE | ASSEMBLEE NATIONALE REPUBLIQUE TOGOLAISE
----------- Travail – Liberté - Patrie
ème
VI LEGISLATURE -------------
------------
SECRETARIAT GENERAL
-------... | https://assemblee-nationale.tg/wp-content/uploads/2021/10/constitution-rapport.pdf | jo_togo_official | TG | Togo | fr | null | null | null | 2026-09-10T08:53:13Z | République Togolaise — Journal Officiel (jo.gouv.tg) / Ministère des Finances (finances.gouv.tg) / Ministère de la Justice (justice.gouv.tg) / SGG / Primature / Assemblée nationale. Authentic Journal Officiel / official text prevails. Not legal advice. | current | constitution-rapport | constitution-rapport | 0 | /workspace/legal-corpora/tg/instruments/tg-constitution-rapport.json | {"schema_version":"collection_record.v1","record_type":"law","law_identifier":"constitution-rapport","document_type":"statute","is_current":true,"canonical_law_url":"https://assemblee-nationale.tg/wp-content/uploads/2021/10/constitution-rapport.pdf","article_extraction_status":"missing","metadata":{"collector":"collect... |
tg-constitution-tab | "ASSEMBLEE NATIONALE REPUBLIQUE TOGOLA(...TRUNCATED) | "ASSEMBLEE NATIONALE REPUBLIQUE TOGOLA(...TRUNCATED) | https://assemblee-nationale.tg/wp-content/uploads/2021/10/constitution-TAB.pdf | jo_togo_official | TG | Togo | fr | null | null | null | 2026-09-10T08:53:14Z | "République Togolaise — Journal Officiel (jo.gouv.tg) / Ministère des Finances (finances.gouv.tg(...TRUNCATED) | current | constitution-tab | constitution-tab | 19 | /workspace/legal-corpora/tg/instruments/tg-constitution-tab.json | "{\"schema_version\":\"collection_record.v1\",\"record_type\":\"law\",\"law_identifier\":\"constitut(...TRUNCATED) |
tg-constitution1 | REPUBLIQUE TOGOLAISE | "REPUBLIQUE TOGOLAISE\n Travail-Liberté-Patrie\n\n\n\n\nLA CONSTITUTION DE LA IVe REPUB(...TRUNCATED) | https://www.assemblee-nationale.tg/images/2015/pdf/Constitution1.pdf | jo_togo_official | TG | Togo | fr | null | null | null | 2026-09-09T08:16:22Z | "République Togolaise — Journal Officiel (jo.gouv.tg) / Ministère des Finances (finances.gouv.tg(...TRUNCATED) | current | constitution1 | constitution1 | 112 | /workspace/legal-corpora/tg/instruments/tg-constitution1.json | "{\"schema_version\":\"collection_record.v1\",\"record_type\":\"law\",\"law_identifier\":\"constitut(...TRUNCATED) |
tg-jo-jo_02_03_202671eanneen13bis | "71e Année N° 13 Bis NUMERO SPECIAL (...TRUNCATED) | "71e Année N° 13 Bis NUMERO SPECIAL (...TRUNCATED) | https://jo.gouv.tg/sites/default/files/JO/JO_02_03_2026%2071E%20ANNEE%20N%C2%B0%2013%20BIS_.pdf | jo_togo_official | TG | Togo | fr | null | null | null | 2026-09-09T08:16:26Z | "République Togolaise — Journal Officiel (jo.gouv.tg) / Ministère des Finances (finances.gouv.tg(...TRUNCATED) | current | jo-jo_02_03_202671eanneen13bis_ | jo-jo_02_03_202671eanneen13bis_ | 133 | /workspace/legal-corpora/tg/instruments/tg-jo-jo_02_03_202671eanneen13bis.json | "{\"schema_version\":\"collection_record.v1\",\"record_type\":\"law\",\"law_identifier\":\"jo-jo_02_(...TRUNCATED) |
tg-jo-jo_02_12_202570eanneen112bis | "70e Année N° 112 Bis NUMERO SPECIAL (...TRUNCATED) | "70e Année N° 112 Bis NUMERO SPECIAL (...TRUNCATED) | https://jo.gouv.tg/sites/default/files/JO/JO_02_12_2025%20-%2070E%20ANNEE%20N%C2%B0%20112%20BIS_.pdf | jo_togo_official | TG | Togo | fr | null | null | null | 2026-09-09T08:16:29Z | "République Togolaise — Journal Officiel (jo.gouv.tg) / Ministère des Finances (finances.gouv.tg(...TRUNCATED) | current | jo-jo_02_12_202570eanneen112bis_ | jo-jo_02_12_202570eanneen112bis_ | 45 | /workspace/legal-corpora/tg/instruments/tg-jo-jo_02_12_202570eanneen112bis.json | "{\"schema_version\":\"collection_record.v1\",\"record_type\":\"law\",\"law_identifier\":\"jo-jo_02_(...TRUNCATED) |
tg-jo-jo_03_12_202570eanneen114bis | "70e Année N° 114 bis NUMERO SPECIAL (...TRUNCATED) | "70e Année N° 114 bis NUMERO SPECIAL (...TRUNCATED) | https://jo.gouv.tg/sites/default/files/JO/JO_03_12_2025%20-%2070E%20ANNEE%20N%C2%B0%20114%20BIS_.pdf | jo_togo_official | TG | Togo | fr | null | null | null | 2026-09-09T08:16:44Z | "République Togolaise — Journal Officiel (jo.gouv.tg) / Ministère des Finances (finances.gouv.tg(...TRUNCATED) | current | jo-jo_03_12_202570eanneen114bis_ | jo-jo_03_12_202570eanneen114bis_ | 79 | /workspace/legal-corpora/tg/instruments/tg-jo-jo_03_12_202570eanneen114bis.json | "{\"schema_version\":\"collection_record.v1\",\"record_type\":\"law\",\"law_identifier\":\"jo-jo_03_(...TRUNCATED) |
Togo Laws and Journal Officiel (jo.gouv.tg / Finances / Justice)
Research snapshot of official national legislation from Journal Officiel (jo.gouv.tg) + Finances (finances.gouv.tg) + Justice (justice.gouv.tg) + SGG / Primature / Assemblée nationale (CDX).
Not legal advice. The official gazette / authentic source prevails over this corpus.
Snapshot
| Field | Value |
|---|---|
| Snapshot date | 2026-09-18 |
| Coverage | catalog-backed incomplete (thin deepen tip∪local; jo.gouv.tg live+CDX; finances/justice lean; AN CDX only) |
| Source | Journal Officiel (jo.gouv.tg) + Finances (finances.gouv.tg) + Justice (justice.gouv.tg) + SGG / Primature / Assemblée nationale (CDX) |
| Collector | scrapers/collect_tg.py |
| Laws / instruments | 711 |
| Articles | 22,844 |
| Language | fr |
| Jurisdiction | Togo |
| License | tg-jo-gouv-justice-official-texts |
Contents
data/laws.parquet— one row per instrument.data/articles.parquet— article/section rows for the same snapshot.scrapers/collect_tg.py— research collector used to build this snapshot.scrapers/tg_b1/— complete code of batch tg_b1 (see its README);scrapers/requirements.txt— pinned Python packages.scrapers/tg_b2/— complete code of batch tg_b2:README.md,articles_tg.py,br_waiting.sh,challenge_detector_v2.py,collect_tg.py,drops_tg_b2.py,finalize_tg.py,finalize_tg_b2.py,fix_tg_b2.py,ocr_tg.py,pages_tg.py,pii_scan_tg.py,pipeline_tg.sh,readme_tg.py,readme_tg_b2.py,requirements.txt,robots_guard.py,run_b2.sh,split_tg.py,split_tg_b2.py,stage_resume_tg.sh,stage_tg.py,stage_tg_b2.py,tg_net.py,validate_split_tg.py,verify_tg.py,verify_tg_b2.py,webmail_tg.py.manifests/— known gaps, drops, changed ids, code records (tg_b1_code.json,tg_b2_code.json), PII scan notes, webmail redactions, and the jo.gouv.tg robots.txt snapshot of 2026-10-25 (tg_b2_robots_snapshot_jo.gouv.tg_2026-10-25.json).MANIFEST.md,SHA256SUMS— per-batch manifest and checksums of every file in the repository.
License / reuse
République Togolaise — jo.gouv.tg / finances.gouv.tg / justice.gouv.tg / Assemblée nationale. Authentic Journal Officiel / official text prevails. Not legal advice..
This dataset is not legal advice. The official source prevails.
Source
Known gaps
Thin deepen 2026-09-17 PT: collect_tg.py MAX_NEW=60 (ok=60 skip=109 fail=2) official JO / finances / justice PDFs live-first + Wayback/CDX of *.gouv.tg; OCR fra for scans; Assemblée via CDX only (no WAF bypass). Hub tip merge endomorphosis/ipfs_togo_laws@55674538e079e267cfa9c35b1e27ae68d834ee76 (110 laws / 8201 arts) unioned with local (170 instruments after +60) by stable id, prefer longer/nonempty text — merged laws ≥110, no Hub tip regress. Not AfricanLII / Droit-Afrique. No WARC. Country code tg = Togo (distinct from Tajikistan tj). Not legal advice.
Batch 2 update (2026-10-16, Africa & Middle East lane)
Additive update on top of endomorphosis/ipfs_togo_laws@7556eafc30c9: laws/articles 204/11,128 -> 205/11,388 (205/11388). New instruments: 1 (+260 article rows). Every row that was already in this dataset is kept; only this lane's own tg-cc- rows may carry title or language repairs (title repairs kept: 0, language repairs: 0).
- Source: Common Crawl captures (index -> WARC records) of official government, parliament, gazette and regulator hosts for this country; no live requests. Court and news sites are excluded.
- New rows must be a single law instrument. News and press items, speeches, reports and plans, forms, tenders and notices, bills and drafts, court rulings, web stubs, budget tables and whole gazette issues (over about 200k characters, or carrying several instruments) are rejected, and rows that duplicate a row already here (same text, or same URL ignoring tracking parameters) are dropped.
- The pack was audited before release (row-level checks against the base commit, title review). Rows the audit rejected were removed, bad titles were rewritten from the document text, and lane title changes judged wrong were reverted to the earlier title. Counts: restored 1.
- Article rows are an exact partition of the law text at numbered article/section markers; laws with no clean markers have no article rows.
- Per-row provenance (source URL, crawl, dropped candidates and reasons, title/language repairs, audit fixes) is in
provenance/changes.json; file hashes inMANIFEST.json. - Research compilation of public legal texts. The official gazette / authentic text prevails. Not legal advice.
Batch tg_b1 update (Journal Officiel: Lois)
Diff-limited append on top of endomorphosis/ipfs_togo_laws@cb6eb31145a7: laws/articles 205/11,388 -> 611/19,394 (new laws 406, new article rows 8,006). Every row already in the dataset is kept unchanged; new rows follow them.
- Source: the 'Lois' listing of the official Journal Officiel de la République Togolaise site (https://jo.gouv.tg/Lois) and the JO issue PDFs it links (jo.gouv.tg/sites/default/files/JO/). Laws only (lois, lois organiques, lois constitutionnelles): decrees, ordinances and other texts are not included. Live official pages only; robots.txt checked on every hop (disallowed paths and files skipped); 10 s between requests; no archives, logins or forms.
- One JO issue often prints several texts. Each law is cut from its issue at its printed 'LOI N° ...' heading and ends at the next printed heading of any text (page-range splitter); page bounds and issue offsets are in
metadata_json.bounds. Two-column pages are rebuilt column by column; running heads, page numbers and the masthead are removed. - New rows carry
source_type=jo_togo_official, idstg-jo-loi-YYYY-NNN(ortg-jo-loi-organique-...), andmetadata_json.batch=tg_b1(listing node, listing date, issue PDF + sha256, printed heading, bounds, OCR stats). date_issuedis the date printed in the law's own heading (its date of promulgation);dateis left empty. The listing's number and date are checked against the printed heading; mismatches are listed inmanifests/known_gaps.json(the printed value is used).- Duplicates dropped: a law listed twice and laws already present as single-law rows in this dataset (same number + year); see
manifests/tg_b1_drops.jsonl. 87 new laws come from JO issues that the dataset already holds as whole-issue rows; they are kept as per-law rows and listed inmanifests/known_gaps.json. - Every new article
textis a verbatim slicelaws.text[char_start:char_end](offsets in the article'smetadata_json, ascending). Headings with no body are not articles (listed inmanifests/known_gaps.json); articles printed only as 'Abrogé', 'Supprimé' and the like are kept withmetadata_json.body_status=repealed_placeholder. - Free-webmail addresses are redacted as
[redacted-webmail](manifests/webmail_redactions.json, offsets only). scrapers/tg_b1/: complete code for this batch with a how-to-run README; pinned versions inscrapers/requirements.txt; file hashes inmanifests/tg_b1_code.json;SHA256SUMScovers every file of the pack.
License / reuse (batch tg_b1)
Laws of the Togolese Republic as published in the Journal Officiel de la République Togolaise on the official site jo.gouv.tg (Secrétariat Général du Gouvernement). Described, not quoted: the site's 'À propos' page presents the online Journal Officiel as a free public-access service, set up so that citizens can consult the official texts in line with Togo's 2016 law on freedom of access to information and public documentation; it states no prohibitive reuse terms. Official legislative texts are public acts; the printed Journal Officiel remains the authoritative version and these extracted copies are for information only. Terms page: https://jo.gouv.tg/apropos . Not legal advice.
OCR and text quality (batch tg_b1)
- Text source: the PDF's own text layer (pdftotext word boxes, column-aware) for 156 laws; tesseract OCR (fra+eng, 300 dpi, psm 4, per column) for 250 laws from scanned issues.
- DEGRADED means: OCR mean word confidence below 80. OCR text may contain recognition errors; the printed JO is authoritative.
- Whole-text fallback (no usable numbered articles, or one article dominating): 59 laws (listed in
manifests/known_gaps.json).
DEGRADED items:
- Loi n° 1960-014 Portant approbation du compte administratif du budget général du Togo pour l'exercice 1957, (
tg-jo-loi-1960-014, OCR confidence 78.03) - Loi n° 2006-012 Autorisant la ratification du protocole A/P4/A/03 de la CEDEAO sur l'énergie, signé à ABUJA le 28 Mai 2003 (
tg-jo-loi-2006-012, OCR confidence 69.24)
Known gaps (batch tg_b1)
- Laws not on the site's Lois listing, laws whose issue PDF is missing, unreachable or excluded by robots.txt, and laws whose printed heading could not be found in the issue are not included.
- The /Lois listing reports 970 entries, but its pages are not stably ordered: paging through all of them returned 701 distinct entries (others repeated across pages). Laws never shown by the pager are not in this batch.
- Drops by reason: duplicate_law_in_batch 13, duplicate_of_tip 3, fetch_not_pdf_ct=text/html;_charset=utf-8 35, no_law_number_in_listing 6, no_page_text (OCR not done) 1, printed_heading_not_found_in_issue 237.
How to run (batch tg_b1)
See scrapers/tg_b1/README.md. In short: pip install -r scrapers/requirements.txt, install poppler-utils and tesseract with the fra language, then TG_WORK=<work dir> bash scrapers/tg_b1/pipeline_tg.sh. Progress goes to <work dir>/status.txt; the pipeline only stages files locally and never uploads.
Batch tg_b2 update (Journal Officiel: Lois, heading re-match)
Diff-limited append on top of endomorphosis/ipfs_togo_laws@b31d0e1619db: laws/articles 611/19,394 -> 711/22,844 (new laws 100, new article rows 3,450). Every row already in the dataset is kept unchanged; new rows follow them.
- Batch tg_b2 revisits the laws that batch tg_b1 dropped because their printed heading was not found in the issue. It re-reads the issue text already extracted for tg_b1 with a wider heading matcher (OCR/text-layer forms such as 'LO1 No', 'LOI W', 'LOI Ne', 'LOI UNIFORME N°') and, when the printed number is garbled, a title match (the printed title must contain at least 80 % of the listing title's content words;
metadata_json.matched_by=title,printed_number_garbled= true, the listing number is used). Requests to jo.gouv.tg in this batch: 0. - Source: the 'Lois' listing of the official Journal Officiel de la République Togolaise site (https://jo.gouv.tg/Lois) and the JO issue PDFs it links (jo.gouv.tg/sites/default/files/JO/). Laws only (lois, lois organiques, lois constitutionnelles): decrees, ordinances and other texts are not included. This batch made no network requests: it re-processed, offline, the JO issue PDFs and page text that batch tg_b1 had already fetched from the live official site in October 2026 (tg_b1 checked robots.txt on every hop and kept 10 s between requests; robots snapshot of 2026-10-25 in
manifests/tg_b2_robots_snapshot_jo.gouv.tg_2026-10-25.json). No archives, logins or forms. - One JO issue often prints several texts. Each law is cut from its issue at its printed 'LOI N° ...' heading and ends at the next printed heading of any text (page-range splitter); page bounds and issue offsets are in
metadata_json.bounds. Two-column pages are rebuilt column by column; running heads, page numbers and the masthead are removed. - New rows carry
source_type=jo_togo_official, idstg-jo-loi-YYYY-NNN(ortg-jo-loi-organique-...), andmetadata_json.batch=tg_b2(listing node, listing date, issue PDF + sha256, printed heading, bounds, OCR stats). date_issuedis the date printed in the law's own heading (its date of promulgation);dateis left empty. The listing's number and date are checked against the printed heading; mismatches are listed inmanifests/known_gaps.json(the printed value is used).- Duplicates dropped: a law listed twice and laws already present as single-law rows in this dataset (same number + year); see
manifests/tg_b2_drops.jsonl. 2 new laws come from JO issues that the dataset already holds as whole-issue rows; they are kept as per-law rows and listed inmanifests/known_gaps.json. - Every new article
textis a verbatim slicelaws.text[char_start:char_end](offsets in the article'smetadata_json, ascending). Headings with no body are not articles (listed inmanifests/known_gaps.json); articles printed only as 'Abrogé', 'Supprimé' and the like are kept withmetadata_json.body_status=repealed_placeholder. - Free-webmail addresses are redacted as
[redacted-webmail](manifests/webmail_redactions.json, offsets only). scrapers/tg_b2/: complete code for this batch with a how-to-run README; pinned versions inscrapers/requirements.txt; file hashes inmanifests/tg_b2_code.json;SHA256SUMScovers every file of the repository after this append (files carried unchanged from the parent included).
License / reuse (batch tg_b2)
Laws of the Togolese Republic as published in the Journal Officiel de la République Togolaise on the official site jo.gouv.tg (Secrétariat Général du Gouvernement). Described, not quoted: the site's 'À propos' page presents the online Journal Officiel as a free public-access service, set up so that citizens can consult the official texts in line with Togo's 2016 law on freedom of access to information and public documentation; it states no prohibitive reuse terms. Official legislative texts are public acts; the printed Journal Officiel remains the authoritative version and these extracted copies are for information only. Terms page: https://jo.gouv.tg/apropos . Not legal advice.
OCR and text quality (batch tg_b2)
- Text source: the PDF's own text layer (pdftotext word boxes, column-aware) for 60 laws; tesseract OCR (fra+eng, 300 dpi, psm 4, per column) for 40 laws from scanned issues.
- DEGRADED means: OCR mean word confidence below 80. OCR text may contain recognition errors; the printed JO is authoritative.
- Whole-text fallback (no usable numbered articles, or one article dominating): 26 laws (listed in
manifests/known_gaps.json).
DEGRADED items:
- Loi n° 1960-013 Portant approbation du compte administratif du budget local du territoire du Togo pour l'exercice 1956, (
tg-jo-loi-1960-013, OCR confidence 78.03). Same scanned page as batch tg_b1's DEGRADED itemtg-jo-loi-1960-014(two different laws printed on one JO page, one OCR pass, hence the same confidence); both rows are kept, seeshared_source_pageinmanifests/known_gaps.json.
Known gaps (batch tg_b2)
- Laws not on the site's Lois listing, laws whose issue PDF is missing, unreachable or excluded by robots.txt, and laws whose printed heading could not be found in the issue are not included.
- The /Lois listing reports 970 entries, but its pages are not stably ordered: paging through all of them returned 701 distinct entries (others repeated across pages). Laws never shown by the pager are not in this batch.
- Drops by reason: duplicate_law_in_batch 5, duplicate_of_tip 8, number_and_title_not_found_in_issue 45, number_in_issue_but_not_as_line_start_heading (two-column merge / sommaire / no articles) 79.
How to run (batch tg_b2)
See scrapers/tg_b2/README.md. In short: pip install -r scrapers/requirements.txt, install poppler-utils and tesseract with the fra language, then TG_WORK=<work dir> bash scrapers/tg_b2/pipeline_tg.sh. Progress goes to <work dir>/status.txt; the pipeline only stages files locally and never uploads.
Takedown / contact
Rows are official public legal texts (Journal Officiel de la République Togolaise). To request removal or correction of a record (rights holders, the publishing site, or anyone named in a text), open a discussion at https://huggingface.co/datasets/endomorphosis/ipfs_togo_laws/discussions with the row id and the reason. Removal requests are reviewed promptly.
- Downloads last month
- 356