Opinions¶
A document that resolves legal issues in a case and posits legal holdings.
Usually an opinion must have
type="majority"to create holdings binding on any courts.- Parameters
type – the opinion’s attitude toward the court’s disposition of the case. e.g.
majority,dissenting,concurring,concurring in the resultauthor – name of the judge who authored the opinion, if identified
text –
Return repr(self).
- Return type
Return str(self).
Normalize Opinion author names by removing punctuation.
- Return type
Get set of position selectors for text in Opinion.
- Return type
Get text using a
TextQuoteSelector.- Parameters
selector (
TextQuoteSelector) – a selector referencing a text passage in theOpinion.- Return type
- Returns
the text referenced by the selector, or
Noneif the text can’t be found.
Holdings with objects storing the Holdings’ links to Opinion text.
Add a term that can be found in self’s holdings, with the term’s anchors to the text.
- Return type
Get the anchors for a term.
- Return type
Add EnactmentPassage with text anchors, if it isn’t a duplicate.
- Return type
Get the anchors for a term.
- Return type