Skip to content

Docket citation regexes from Philippine Supreme Court decisions

License

Notifications You must be signed in to change notification settings

justmars/citation-utils

Repository files navigation

citation-utils

Github CI

Regex formula of Philippine Supreme Court citations in docket format (with reports); utilized in the LawSQL dataset.

Documentation

See documentation, building on top of citation-report.

Caveats

DocketCategory

Each DocketCategory has its own nuanced regex patterns identifying its category, serial_text, and date

Adding new Citation types

Recently, the JIB was added as a new category. This means creating a new CitationConstructor object with distinct objectts.

Adding new DocketRules

There are are AM and BM docket numbers that represent rules rather than decisions.

DocketReports

Based on a CiteableDocument, construct a temp object prior to formation of Citation. This temp object is either:

  1. A combination of a Docket object with its Report object; or
  2. A solo, undocketed Report.