Python for Law
ABOUTPORTFOLIOARCHIVESCATEGORIES

  • CATLEX: Populating a Factor Flowchart Using LLMs

    Jun 29, 2025 About 2 mins

    At the 2025 International Conference on Artificial Intelligence and Law, I was very impressed by a demonstration of CATLEX, which includes LLM-assisted extraction of legal doctrines, and a flowchart-like view that diagrams a court’s legal reasoning process in resolving a legal issue. CATLEX relies on a corpus of disability-claim decisions issue... Read More

  • Comparing Some Opinion Text with CollateX

    Nov 17, 2024 About 4 mins

    I tried out the CollateX Python library to see if it seems useful for visualizing similar text passages about legal doctrines, especially caselaw. I used a very simple example dataset consisting of a holding from Loper Bright Enterprises v. Raimondo (the opinion that abolished Chevron deference) and two passages from later opinions restating the... Read More

  • A Python Package for Legal Case Based Reasoning

    Jul 2, 2023 About 5 mins

    In June I was lucky enough to be sent to Braga, Portugal to represent Cornell Legal Information Institute at the 19th ICAIL conference (International Conference on Artificial Intelligence and Law). The core of this conference is an academic community rooted in knowledge-heavy AI approaches, many of them with lineage extending back at least to th... Read More

  • Serializing Legal Rules with Pydantic

    Oct 27, 2021 About 2 mins

    I’ve released version 0.9 of AuthoritySpoke. In my last blog post about AuthoritySpoke, I wrote that I had decided not to migrate all its data serialization code to Pydantic. In this post, I’ll explain why I changed my mind and did just that. Basically, I became tired of the proliferation of messy data loading code in the AuthoritySpoke reposit... Read More

  • Using the Caselaw Access Project API

    Aug 15, 2021 About 4 mins

    The Caselaw Access Project is one of the two best resources for free programmatic access to American caselaw data (along with CourtListener). It has a great, user-friendly website, and thoughtful documentation aimed as several different audiences. And it has a more dramatic story than most legal tech projects, in which archivists at Harvard’s la... Read More

Prev 1/4 Next
  • All17
  • APIs 4
  • AuthoritySpoke 5
  • BetterRules 1
  • Courts-DB 1
  • Django 1
  • Docassemble 1
  • Eyecite 1
  • Hypothesis 1
  • ICAIL 1
  • Justopinion 1
  • L4 1
  • Legislice 2
  • MLang 1
  • Nettlesome 2
  • OpenFisca 1
  • Pint 1
  • Reporters-DB 1
  • Sympy 1
  • USLM 1
  • Z3 2
  • caselaw 4
  • collation 1
  • explainability 2
  • legislation 5
  • reasoning 2
  • semantics 1
  • taxation 2
Copyright 2020-2024 Matt Carey
Powered by Jekyll & Yat Theme
Icons made by Freepik from www.flaticon.com
Subscribe via RSS