Hiya, just quickly wondering if anyone know about a good tool for comparing Privacy policies against each other? Im currently downloading each PP, then using self-hosted StirlingPDF to compare 1 on 1. However, I am looking for a more efficient tool, to compare multiple at the time, if there are any. Any tool that can handle multiple PDFs or HTML files and look at the differences between them kinda tool.
Appreciate any suggestions! 🕵️
Are you looking for a tool that can diff legal documents line by line or clause by clause? If the latter I’d bet an LLM with a large context size could do a pretty good job, especially if you used a script (or another pass through the LLM) to break them down into like sections so that could just compare e.g. all Controlling Law sections with each other and all IP Indemnification sections with each other.
Now that I think about it, tuning the prompt (and keeping the temperature very low, like 0) you could probably get it to return everything from proper diffs to summaries of conceptual differences. And it could definitely do multiples at once if you were to break them into like pieces ahead of time.
Preferably line by line. Kind of like what Github does whenever you apply a commit, it will make a red line for what is removed and a green line for what is added code. I could look into LLMs though, but was hoping to find a quick n dirty tool to do the job.
Like a diff checker?
https://www.diffchecker.com/
This is pretty close to what im looking for actually, thanks for sharing! :)
Glad to help!
After reading this, I’m thinking whether converting the PDFs to markdown and diffing them with a text difftool could work.
If you go this route, you may want to test with different diff algorithms. Git has multiple too, but I don’t remember right now which I found to be the best
Thanks for the tip!
Now that I’m at my computer, I was able to find the diff alg I was thinking about: it’s
histogram
.Here’s an issue from gitea about when they changed the default git diff alg to this one: https://github.com/go-gitea/gitea/issues/23255
And here’s an article I have found earlier about some of the available git diff algorithms, and when they are too be used: https://luppeng.wordpress.com/2020/10/10/when-to-use-each-of-the-git-diff-algorithms/
thanks very much for sharing ☘️