Skip to main content

Pattern matching Philippine Supreme Court citations.

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

citation_utils-0.5.0.tar.gz (23.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

citation_utils-0.5.0-py3-none-any.whl (33.5 kB view details)

Uploaded Python 3

File details

Details for the file citation_utils-0.5.0.tar.gz.

File metadata

  • Download URL: citation_utils-0.5.0.tar.gz
  • Upload date:
  • Size: 23.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.22

File hashes

Hashes for citation_utils-0.5.0.tar.gz
Algorithm Hash digest
SHA256 02af160b9ef4eb7c02317d4d91412e9ca865c600c3876f6627f495a2bcad7662
MD5 bb42eddee3e8f44f1475de3c438e0721
BLAKE2b-256 4524716f482289b6c78d6b6648a19bea430d69b347b9d2a98e613dbb0cb88b97

See more details on using hashes here.

File details

Details for the file citation_utils-0.5.0-py3-none-any.whl.

File metadata

File hashes

Hashes for citation_utils-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 38b264f5efcb7474ceb01d6c83f730f9cb204dba743d8fcbc653729bcae69e26
MD5 48a4a0cec3dbd65367abf9e3b6ed3d6f
BLAKE2b-256 9ffd6c8dbedee86b2ac99c764289fc0d34c7945c081a3d896cf302338ad67395

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page