Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Find partial citations for decisions that don't yet have full citations, e.g. 22 U.S. ____ (2002) #30

Open
mlissner opened this issue Mar 2, 2021 · 4 comments

Comments

@mlissner
Copy link
Member

mlissner commented Mar 2, 2021

Back in 2014, in freelawproject/courtlistener#1601, @brianwc lamented that we don't handle partial citations very well. His example was:

The Supreme Court often cites its recent cases that don't yet have a full U.S. citation like so:

Bullcoming v. New Mexico, 564 U. S. ___ (2011).

We have Bullcoming v. New Mexico, know it is a SCOTUS case, and know it was filed in 2011.

Alas, we never got the citator working on these. I'm not sure it's worth the effort to do so now, but I thought I'd file an issue so we could track it as a gap in functionality.

@mattdahl
Copy link
Contributor

mattdahl commented Mar 3, 2021

Relinking my old PR on this: freelawproject/courtlistener#1226

On the parsing side, I think this may be as simple as allowing "__" to be a valid page number here: https://github.com/freelawproject/eyecite/blob/master/eyecite/utils.py#L31

@mlissner
Copy link
Member Author

mlissner commented Mar 4, 2021

Yeah, I think we should start by focusing on the parsing side first. On the matching side, we have competing proposals of either:

  1. Building up a list of all possible volumes for all reporters; or
  2. Just doing lookups based on ± 1-2 years from the date of the opinion.

I actually think number two is more practical and less fragile. I'd say if we revisit this once the parser is done, that we take that approach.

@devlux76
Copy link

devlux76 commented Dec 20, 2021

I'm volunteering to pitch in on a solution to this if you'll have me.
I'm a 2YL, just finished up my "electronic legal research" and "legal analysis & writing (a.k.a how to cite bluebook)" courses. I got decent grades. I'm also a moderately competent coder. I've got some spare time on my hands before it's back to law school.

I have some ideas I'd like to lay down. Just don't want to step on anyone's toes.

@mlissner
Copy link
Member Author

Go, go, go, @devlux76. We'd love the help. I think I highlighted one other issue that would be a good first-bug, but this would be a good one too, I think.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants