{"id":4542,"date":"2025-05-16T10:14:50","date_gmt":"2025-05-16T08:14:50","guid":{"rendered":"https:\/\/datalchemy.net\/nos-prestations\/automated-consolidation-of-legal-texts\/"},"modified":"2025-08-19T10:18:42","modified_gmt":"2025-08-19T08:18:42","slug":"automated-consolidation-of-legal-texts","status":"publish","type":"projet","link":"https:\/\/datalchemy.net\/en\/our-services\/automated-consolidation-of-legal-texts\/","title":{"rendered":"Automated consolidation of legal texts"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\"><strong>Context<\/strong><\/h2>\n\n<p>The Direction de l&#8217;information l\u00e9gale et administrative (DILA), a department of the French Prime Minister and publisher of Legifrance, is responsible for the daily publication and consolidation of all French legislative texts. To lighten the manual workload of legal experts, the project aims to automate this legal consolidation process by exploiting the initial, modifying and consolidated texts, distributed across three major databases, through a proof of concept (POC). <\/p>\n\n<p>The schedule is very tight, with a 4-month deadline for the project.  <\/p>\n\n<h2 class=\"wp-block-heading\"><strong>Work performed<\/strong><\/h2>\n\n<p>The POC was divided into six parts:<\/p>\n\n<ol class=\"wp-block-list\">\n<li><strong>Data mapping<\/strong>: inventory at different levels (text, article, paragraph).<\/li>\n\n\n\n<li><strong>Dataset constitution<\/strong>: generation of differentials, annotation and structuring of pairs (modifying item \/ original \/ consolidated).<\/li>\n\n\n\n<li><strong>Data architecture<\/strong>: implementation of versioning, development of statistical monitoring and visualization tools.<\/li>\n\n\n\n<li><strong>Flow automation<\/strong>: definition and coding of actions, development of consolidation automaton.<\/li>\n\n\n\n<li><strong>Parsing networks<\/strong>: design and training of models for micro- and macro-parsing, evaluation of modification localization and textual refinement, then final integration into the test tool.<\/li>\n\n\n\n<li>Automatic and manual <strong>testing of results <\/strong>by an experienced legal expert<\/li>\n<\/ol>\n\n<h2 class=\"wp-block-heading\"><strong>Results<\/strong><\/h2>\n\n<p>The POC efficiently consolidates common cases (word replacements, paragraph additions\/deletions, article creations, etc.), with particularly high-performance parsing, while offering a modular architecture that can be tested on the entire dataset. This structure guarantees controlled industrialization: each component can evolve independently, the technologies employed (Python, PyTorch, Flask&#8230;) are open source and proven, and the limited use of deep learning for parsing minimizes the risk of regression. The tool is therefore ready to be transformed into an operational solution for DILA.  <\/p>\n","protected":false},"featured_media":3854,"template":"","meta":{"_acf_changed":false,"inline_featured_image":false},"tags":[226,227,189,186,183,200,197,222],"class_list":["post-4542","projet","type-projet","status-publish","has-post-thumbnail","hentry","tag-bert-en","tag-flask-en","tag-model-training-en","tag-pandas-en","tag-python-en","tag-pytorch-en","tag-synthetic-data-generation-en","tag-test-en"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Automated consolidation of legal texts - Datalchemy<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/datalchemy.net\/en\/our-services\/automated-consolidation-of-legal-texts\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Automated consolidation of legal texts - Datalchemy\" \/>\n<meta property=\"og:description\" content=\"Context The Direction de l&#8217;information l\u00e9gale et administrative (DILA), a department of the French Prime Minister and publisher of Legifrance, is responsible for the daily publication and consolidation of all French legislative texts. To lighten the manual workload of legal experts, the project aims to automate this legal consolidation process by exploiting the initial, modifying [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/datalchemy.net\/en\/our-services\/automated-consolidation-of-legal-texts\/\" \/>\n<meta property=\"og:site_name\" content=\"Datalchemy\" \/>\n<meta property=\"article:modified_time\" content=\"2025-08-19T08:18:42+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/datalchemy.net\/wp-content\/uploads\/2025\/05\/projet-Legifrance.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"1024\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/datalchemy.net\/en\/our-services\/automated-consolidation-of-legal-texts\/\",\"url\":\"https:\/\/datalchemy.net\/en\/our-services\/automated-consolidation-of-legal-texts\/\",\"name\":\"Automated consolidation of legal texts - Datalchemy\",\"isPartOf\":{\"@id\":\"https:\/\/datalchemy.net\/en\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/datalchemy.net\/en\/our-services\/automated-consolidation-of-legal-texts\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/datalchemy.net\/en\/our-services\/automated-consolidation-of-legal-texts\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/datalchemy.net\/wp-content\/uploads\/2025\/05\/projet-Legifrance.png\",\"datePublished\":\"2025-05-16T08:14:50+00:00\",\"dateModified\":\"2025-08-19T08:18:42+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/datalchemy.net\/en\/our-services\/automated-consolidation-of-legal-texts\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/datalchemy.net\/en\/our-services\/automated-consolidation-of-legal-texts\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/datalchemy.net\/en\/our-services\/automated-consolidation-of-legal-texts\/#primaryimage\",\"url\":\"https:\/\/datalchemy.net\/wp-content\/uploads\/2025\/05\/projet-Legifrance.png\",\"contentUrl\":\"https:\/\/datalchemy.net\/wp-content\/uploads\/2025\/05\/projet-Legifrance.png\",\"width\":1024,\"height\":1024,\"caption\":\"automatisation de la consolidation juridique\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/datalchemy.net\/en\/our-services\/automated-consolidation-of-legal-texts\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\/\/datalchemy.net\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Projects\",\"item\":\"https:\/\/datalchemy.net\/en\/our-services\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Automated consolidation of legal texts\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/datalchemy.net\/en\/#website\",\"url\":\"https:\/\/datalchemy.net\/en\/\",\"name\":\"Datalchemy\",\"description\":\"Expertise, accompagnement  et R&amp;D en data et IA\",\"publisher\":{\"@id\":\"https:\/\/datalchemy.net\/en\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/datalchemy.net\/en\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/datalchemy.net\/en\/#organization\",\"name\":\"Datalchemy\",\"url\":\"https:\/\/datalchemy.net\/en\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/datalchemy.net\/en\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/datalchemy.net\/wp-content\/uploads\/2025\/08\/logo-datalchemy.gif\",\"contentUrl\":\"https:\/\/datalchemy.net\/wp-content\/uploads\/2025\/08\/logo-datalchemy.gif\",\"width\":696,\"height\":696,\"caption\":\"Datalchemy\"},\"image\":{\"@id\":\"https:\/\/datalchemy.net\/en\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.linkedin.com\/company\/sas-datalchemy\/\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Automated consolidation of legal texts - Datalchemy","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/datalchemy.net\/en\/our-services\/automated-consolidation-of-legal-texts\/","og_locale":"en_US","og_type":"article","og_title":"Automated consolidation of legal texts - Datalchemy","og_description":"Context The Direction de l&#8217;information l\u00e9gale et administrative (DILA), a department of the French Prime Minister and publisher of Legifrance, is responsible for the daily publication and consolidation of all French legislative texts. To lighten the manual workload of legal experts, the project aims to automate this legal consolidation process by exploiting the initial, modifying [&hellip;]","og_url":"https:\/\/datalchemy.net\/en\/our-services\/automated-consolidation-of-legal-texts\/","og_site_name":"Datalchemy","article_modified_time":"2025-08-19T08:18:42+00:00","og_image":[{"width":1024,"height":1024,"url":"https:\/\/datalchemy.net\/wp-content\/uploads\/2025\/05\/projet-Legifrance.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/datalchemy.net\/en\/our-services\/automated-consolidation-of-legal-texts\/","url":"https:\/\/datalchemy.net\/en\/our-services\/automated-consolidation-of-legal-texts\/","name":"Automated consolidation of legal texts - Datalchemy","isPartOf":{"@id":"https:\/\/datalchemy.net\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/datalchemy.net\/en\/our-services\/automated-consolidation-of-legal-texts\/#primaryimage"},"image":{"@id":"https:\/\/datalchemy.net\/en\/our-services\/automated-consolidation-of-legal-texts\/#primaryimage"},"thumbnailUrl":"https:\/\/datalchemy.net\/wp-content\/uploads\/2025\/05\/projet-Legifrance.png","datePublished":"2025-05-16T08:14:50+00:00","dateModified":"2025-08-19T08:18:42+00:00","breadcrumb":{"@id":"https:\/\/datalchemy.net\/en\/our-services\/automated-consolidation-of-legal-texts\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/datalchemy.net\/en\/our-services\/automated-consolidation-of-legal-texts\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/datalchemy.net\/en\/our-services\/automated-consolidation-of-legal-texts\/#primaryimage","url":"https:\/\/datalchemy.net\/wp-content\/uploads\/2025\/05\/projet-Legifrance.png","contentUrl":"https:\/\/datalchemy.net\/wp-content\/uploads\/2025\/05\/projet-Legifrance.png","width":1024,"height":1024,"caption":"automatisation de la consolidation juridique"},{"@type":"BreadcrumbList","@id":"https:\/\/datalchemy.net\/en\/our-services\/automated-consolidation-of-legal-texts\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/datalchemy.net\/en\/"},{"@type":"ListItem","position":2,"name":"Projects","item":"https:\/\/datalchemy.net\/en\/our-services\/"},{"@type":"ListItem","position":3,"name":"Automated consolidation of legal texts"}]},{"@type":"WebSite","@id":"https:\/\/datalchemy.net\/en\/#website","url":"https:\/\/datalchemy.net\/en\/","name":"Datalchemy","description":"Expertise, accompagnement  et R&amp;D en data et IA","publisher":{"@id":"https:\/\/datalchemy.net\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/datalchemy.net\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/datalchemy.net\/en\/#organization","name":"Datalchemy","url":"https:\/\/datalchemy.net\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/datalchemy.net\/en\/#\/schema\/logo\/image\/","url":"https:\/\/datalchemy.net\/wp-content\/uploads\/2025\/08\/logo-datalchemy.gif","contentUrl":"https:\/\/datalchemy.net\/wp-content\/uploads\/2025\/08\/logo-datalchemy.gif","width":696,"height":696,"caption":"Datalchemy"},"image":{"@id":"https:\/\/datalchemy.net\/en\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.linkedin.com\/company\/sas-datalchemy\/"]}]}},"_links":{"self":[{"href":"https:\/\/datalchemy.net\/en\/wp-json\/wp\/v2\/projet\/4542","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/datalchemy.net\/en\/wp-json\/wp\/v2\/projet"}],"about":[{"href":"https:\/\/datalchemy.net\/en\/wp-json\/wp\/v2\/types\/projet"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/datalchemy.net\/en\/wp-json\/wp\/v2\/media\/3854"}],"wp:attachment":[{"href":"https:\/\/datalchemy.net\/en\/wp-json\/wp\/v2\/media?parent=4542"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/datalchemy.net\/en\/wp-json\/wp\/v2\/tags?post=4542"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}