NewsLab
Oct 27 17:39 UTC

Show HN: Open Dataset of the Lebanese Law (huggingface.co)

2 points|by nizarmah||0 comments|Read full story on huggingface.co
Hey folks! I made it easier for builders to use the lebanese legislation through: a public DB, API, and MCP.

The Lebanese University has an archive of all laws dating back to 1904 (legallaw.ul.edu.lb). People and AI can barely find it and navigate it. It also had outdated articles.

Now, more people are using it. Builders for their startups, lawyers for their work, and students for their bar prep. I'm still trying to get it trusted by authorities.

The database includes the edges between every law, article, ruling and Gazette issue. You can easily identify how they influence one another.

Articles are versioned, so you can see how it was affected by other laws from the date it was published.

100k unofficial english translations were added using LLMs. They aren't accurate, but they help with search and SEO/AEO/GEO. We're working on producing legally accurate translations.

47k rulings were PDFs, some handwritten. We converted all of them to text using OCR, flagging handwritten files. We're working on an HTR model specifically for those to increase the confidence.

Today, other datasets in Lebanon charge for this data. I'm doing it as a public service. I want change in my country. And, lately, I think it's through helping builders. Yet, what I'm doing is legally wrong, but hopefully morally acceptable.

Comments (0)

No comments returned
No comments yet.