|
--- |
|
pretty_name: Tricoteuses Codes Juridiques Training Dataset |
|
configs: |
|
- config_name: default |
|
data_files: |
|
- path: data/*parquet |
|
split: train |
|
- config_name: code_minier |
|
data_files: |
|
- path: data/code_minier.parquet |
|
split: train |
|
- config_name: code_des_instruments_monetaires_et_des_medailles |
|
data_files: |
|
- path: data/code_des_instruments_monetaires_et_des_medailles.parquet |
|
split: train |
|
- config_name: code_disciplinaire_et_penal_de_la_marine_marchande |
|
data_files: |
|
- path: data/code_disciplinaire_et_penal_de_la_marine_marchande.parquet |
|
split: train |
|
- config_name: code_general_des_collectivites_territoriales |
|
data_files: |
|
- path: data/code_general_des_collectivites_territoriales.parquet |
|
split: train |
|
- config_name: code_des_impositions_sur_les_biens_et_services |
|
data_files: |
|
- path: data/code_des_impositions_sur_les_biens_et_services.parquet |
|
split: train |
|
- config_name: code_du_domaine_de_l_etat |
|
data_files: |
|
- path: data/code_du_domaine_de_l_etat.parquet |
|
split: train |
|
- config_name: code_penitentiaire |
|
data_files: |
|
- path: data/code_penitentiaire.parquet |
|
split: train |
|
- config_name: code_de_l_aviation_civile |
|
data_files: |
|
- path: data/code_de_l_aviation_civile.parquet |
|
split: train |
|
- config_name: code_de_l_action_sociale_et_des_familles |
|
data_files: |
|
- path: data/code_de_l_action_sociale_et_des_familles.parquet |
|
split: train |
|
- config_name: code_de_la_consommation |
|
data_files: |
|
- path: data/code_de_la_consommation.parquet |
|
split: train |
|
- config_name: code_general_des_impots_annexe_ii |
|
data_files: |
|
- path: data/code_general_des_impots_annexe_ii.parquet |
|
split: train |
|
- config_name: code_des_pensions_militaires_d_invalidite_et_des_victimes_de_guerre |
|
data_files: |
|
- path: data/code_des_pensions_militaires_d_invalidite_et_des_victimes_de_guerre.parquet |
|
split: train |
|
- config_name: code_du_sport |
|
data_files: |
|
- path: data/code_du_sport.parquet |
|
split: train |
|
- config_name: code_general_des_impots_annexe_iii |
|
data_files: |
|
- path: data/code_general_des_impots_annexe_iii.parquet |
|
split: train |
|
- config_name: code_de_la_famille_et_de_l_aide_sociale |
|
data_files: |
|
- path: data/code_de_la_famille_et_de_l_aide_sociale.parquet |
|
split: train |
|
- config_name: code_de_la_legion_d_honneur_de_la_medaille_militaire_et_de_l_ordre_national_du_merite |
|
data_files: |
|
- path: data/code_de_la_legion_d_honneur_de_la_medaille_militaire_et_de_l_ordre_national_du_merite.parquet |
|
split: train |
|
- config_name: code_rural_et_de_la_peche_maritime |
|
data_files: |
|
- path: data/code_rural_et_de_la_peche_maritime.parquet |
|
split: train |
|
- config_name: code_de_la_justice_penale_des_mineurs |
|
data_files: |
|
- path: data/code_de_la_justice_penale_des_mineurs.parquet |
|
split: train |
|
- config_name: code_general_de_la_fonction_publique |
|
data_files: |
|
- path: data/code_general_de_la_fonction_publique.parquet |
|
split: train |
|
- config_name: code_des_ports_maritimes |
|
data_files: |
|
- path: data/code_des_ports_maritimes.parquet |
|
split: train |
|
- config_name: code_de_la_construction_et_de_l_habitation |
|
data_files: |
|
- path: data/code_de_la_construction_et_de_l_habitation.parquet |
|
split: train |
|
- config_name: code_de_justice_militaire_nouveau |
|
data_files: |
|
- path: data/code_de_justice_militaire_nouveau.parquet |
|
split: train |
|
- config_name: code_general_des_impots_annexe_iv |
|
data_files: |
|
- path: data/code_general_des_impots_annexe_iv.parquet |
|
split: train |
|
- config_name: code_de_la_securite_sociale |
|
data_files: |
|
- path: data/code_de_la_securite_sociale.parquet |
|
split: train |
|
- config_name: code_de_la_route |
|
data_files: |
|
- path: data/code_de_la_route.parquet |
|
split: train |
|
- config_name: code_des_communes |
|
data_files: |
|
- path: data/code_des_communes.parquet |
|
split: train |
|
- config_name: code_du_cinema_et_de_l_image_animee |
|
data_files: |
|
- path: data/code_du_cinema_et_de_l_image_animee.parquet |
|
split: train |
|
- config_name: code_rural_ancien |
|
data_files: |
|
- path: data/code_rural_ancien.parquet |
|
split: train |
|
- config_name: code_de_la_securite_interieure |
|
data_files: |
|
- path: data/code_de_la_securite_interieure.parquet |
|
split: train |
|
- config_name: code_de_la_propriete_intellectuelle |
|
data_files: |
|
- path: data/code_de_la_propriete_intellectuelle.parquet |
|
split: train |
|
language: |
|
- fr |
|
task_categories: |
|
- text-generation |
|
- text2text-generation |
|
tags: |
|
- legal |
|
- text-generation |
|
- conditional-text-generation |
|
size_categories: |
|
- 100K<n<1M |
|
license: cc-by-4.0 |
|
--- |
|
|
|
# Légifrance Legislative Text Dataset |
|
|
|
## Dataset Description |
|
|
|
The Légifrance Legislative Text Dataset is a structured collection of French legislative and regulatory texts extracted from the [Légifrance platform](https://www.legifrance.gouv.fr/). |
|
This dataset provides machine-readable access to consolidated legal codes, with a particular focus on maintaining the integrity of French linguistic features while providing additional metadata and quality signals. |
|
The data in this dataset comes from the Git repository [Git Tricoteuses — La loi sous git - Codes juridiques consolidés](https://git.tricoteuses.fr/tricoteuses/a_propos) |
|
|
|
### Languages |
|
|
|
French (fr) |
|
|
|
## Intended Uses & Limitations |
|
|
|
### Intended Uses |
|
|
|
- Legal text analysis and research |
|
- Natural Language Processing tasks on French legislative documents |
|
- Legal information retrieval systems |
|
- Analysis of French regulatory frameworks |
|
|
|
### Limitations |
|
|
|
- Limited to French legislative texts |
|
- Dependent on the structure of source Légifrance documents |
|
- Quality of text extraction depends on the consistency of source markdown formatting |
|
|
|
## Dataset Structure |
|
|
|
### Data Fields |
|
|
|
- `source`: string - Source of the text (e.g., "Code de la sécurité sociale") |
|
- `id`: string - Unique identifier of the legislative text |
|
- `date_debut`: string - Corresponds to the effective date of the article. |
|
- `date_fin`: string - Indicates the date on which the article will be deleted or replaced. |
|
- `url`: string - Direct link to the text on Légifrance |
|
- `extra`: JSON string containing: |
|
- `État`: string - Status of the text |
|
- `Type`: string - Type of legislative text |
|
- `quality_signals`: JSON string containing: |
|
- `character_count`: Total number of characters |
|
- `word_count`: Total number of words |
|
- `text`: string - The main content of the legislative text |
|
|
|
**Remarks**: |
|
|
|
- For an article currently in force, with no scheduled date for its repeal or replacement, `date_fin` is set to '2999-01-01'. |
|
|
|
- For an article whose enforcement is deferred without a specific date, `date_debut` is then assigned '2222-02-22'. |
|
|
|
- If `date_fin` is specified and differs from '2999-01-01', the reference URL for the upcoming version of the article is constructed as `id`/`date_fin`. |
|
- For example, as of today, the article with `id` = 'LEGIARTI000046809143' and `date_fin` set to '2025-07-01' has its upcoming version accessible at the following URL: |
|
<https://www.legifrance.gouv.fr/codes/article_lc/LEGIARTI000046809143/2025-07-01> |
|
|
|
### Data Splits |
|
|
|
The dataset is provided as a single split without train/validation/test partitioning. |
|
|
|
## Dataset Creation |
|
|
|
### Source Data |
|
|
|
The data comes from the availability of legal texts as open data, retrieved by the [tricoteuses-legifrance](https://git.tricoteuses.fr/logiciels/tricoteuses-legifrance) project. |
|
|
|
The dataset is created from Markdown files containing French legislative texts, each with YAML front matter metadata. |
|
|
|
## Considerations for Using the Data |
|
|
|
### Social Impact |
|
|
|
- Improves accessibility to French legislative texts |
|
- Enables computational analysis of legal documents |
|
- Supports transparency in legal research |
|
|
|
### Legal Considerations |
|
|
|
- Usage should comply with Légifrance terms of service |
|
- Attribution should be provided to the original source |
|
- Users should verify the current validity of legal texts |
|
|
|
## Additional Information |
|
|
|
### Dataset Curators |
|
|
|
This dataset is programmatically curated from official Légifrance sources. |
|
|
|
### Licensing Information |
|
|
|
Users should refer to Légifrance's licensing terms for the original content. |
|
|
|
### Citation Information |
|
|
|
When using this dataset, please cite both: |
|
|
|
1. The original Légifrance source |
|
2. This dataset processing implementation |
|
|
|
### Contributions |
|
|
|
Contributions to improve the dataset processing can be made through the repository's issue tracker or pull requests. |