I always wanted to have all laws to be easy to interpret or at least try to track their changes over time to better understand what’s going on.
So I’ve built OpenNorme for the Italian legal corpus here: a single git repo with all laws from 1861 to today with daily scraping from an official api.
https://github.com/dej611/italian-laws-history
After every update the github pages is rebuilt with the new data, so you can see some trends in there with some aggs and nice charts. Also, had some fun to build a clippy clone with an in browser SLM.
I love this! I've thought about doing something similar where I'm from (Australia).. it looks like you had an API to start with? I think in Australia it would come down to a bunch of scraping and calculating differences between word documents manually, which is what put me off initially. Maybe I should take another look now that we have powerful AI assistants.
Yes, I’ve used an official API service built go give always the latest version in forceof a law.
My scraper leveraged that instead to build an archeology dataset
How do you identify the actual changes in legal content from formatting or metadata changes when tracking API Updates? Do you use any automated validation to avoid false changes?
Not at this point yet.
The consolidation is used as is from the Normattiva data source. As far as I know they are pretty good at cleaning up things like actual content for recent text.
It may be a good follow up tho.
Comments (1,123) 974 threads
Show all comments
Showing thread 140 of 974
After every update the github pages is rebuilt with the new data, so you can see some trends in there with some aggs and nice charts. Also, had some fun to build a clippy clone with an in browser SLM.