eyecite icon indicating copy to clipboard operation
eyecite copied to clipboard

Feature: Add comprehensive parsers for new citation types

Open BuffaloJames opened this issue 5 months ago • 5 comments

  • Add 8 new citation types: constitutions, regulations, court rules, bills, session laws, journals, scientific IDs, AG opinions
  • Support all 50 states with state-specific regex patterns
  • Maintain 100% backward compatibility
  • Add comprehensive test coverage

Adds functionality to detect and classify constitutional citations, administrative regulations, court rules, legislative documents, journal articles, scientific identifiers, and state attorney general opinions across all U.S. jurisdictions.

Files tested successfully:

  • case_Democracy.txt: 235 citations detected
  • case_NC.txt: 103 citations detected
  • opinion.txt: 168 citations detected
  • Alabama and Kentucky AG opinion files processed

BuffaloJames avatar Sep 18 '25 13:09 BuffaloJames

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Sep 18 '25 13:09 CLAassistant

@BuffaloJames, this is very cool and has ignited a conversation about doing more with these kinds of content in our systems.

It looks like there are some errors in the tests. Do you want to take a look and see what you can see, before we start digging in?

mlissner avatar Sep 18 '25 22:09 mlissner

Sure thing. Let me dig into these issues.

BuffaloJames avatar Sep 19 '25 15:09 BuffaloJames

Status: Successfully pushed to https://github.com/BuffaloJames/eyecite.git

  • Branch: main

  • Commits Pushed:

    • 21e16ee: "Fix test failures and update changelog"
    • a15d7d5: "Fix AG opinion citation detection"

BuffaloJames avatar Sep 19 '25 17:09 BuffaloJames

That's looking a little better. Still have some linting problems and we need you to sign the CLA too, if you can, James.

mlissner avatar Sep 19 '25 18:09 mlissner