This repository contains the code for the paper: What About the Precedent:An Information-Theoretic Analysis of Common Law
The ECtHR dataset used in the paper comes courtesy of Chalkidis et al.: Chalkidis, I., Androutsopoulos, I., and Aletras, N.(2019). Neural legal judgment prediction in English. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pages 4317–4323, Florence, Italy. Associationfor Computational Linguistics
You can recreate our Facts/Arguments split on their scrape of HUDOC database using our 'format_ECHR.py' The model itself can be trained using 'precedent_longformer.py'