justmars / citation-utils Goto Github PK
View Code? Open in Web Editor NEWDocket citation regexes from Philippine Supreme Court decisions
Home Page: https://lawsql.com
License: BSD 3-Clause "New" or "Revised" License
Docket citation regexes from Philippine Supreme Court decisions
Home Page: https://lawsql.com
License: BSD 3-Clause "New" or "Revised" License
citation-utils limited in scope; can just be merged under citation-dockets
Will need to reconstruct the regex strings at some point since this source string results in a function that hangs:
text = "Civil Cases Nos. 4247-L, 2395-L, 2367-L, 2812-L, 4160-L, 4550-L, 4470-L, 4475-L, 4442-L, 4362-L, 4377-L, 4394-L, 2581-L, 268-L, 2799-L, 4641-L, 2995-L, 3025-L, 3031-L, 3090-L, 3042-L, 2520-L, 4669-L, 4649-L, 4693-L, 4654-L, 4605-L, 4602-L, 2507-L, ASA-VII-05-1147, 2177-L, 2396-L, 4037-L, 2487-L, 2260-L, 2059-L, 2845-L, 4299-L, 4078-L, 4054-L, 4604-L, 4522-L, 2589-L, CAD Case No. 17, LRC Rec. No. 946, Lot Nos. 1741 and 1810, CAD Case No. 20, LRC Rec. No. 1004, Lot Nos. 4563, 4565-66, 4591, 4592, 4595, 4597-98, 4600-602 and 4604-06, CAD Case No. 20 LRC Rec. No.1004, Lot No. 4354, CAD Case No. 20 LRC Rec. No.1004, Lot No. 4998, CAD Case No. 20 LRC Rec. No.1008, Lot No. 3019, CAD Case No. 21 LRC Rec. No.1008, Lot No. 5545, CAD Case No. 21 LRC Rec. No.1008, Lot No. 5252, CAD Case No. 22 LRC Rec. No.1018, Lot No. 6233, CAD Case No. 22 LRC Rec. No.1081, Lot No. 6391, CAD Case No. 22 LRC Rec. No.1018, Lot No. 6025, 6073, 6060 and 6132, CAD Case No. 22 LRC Rec. No.1018, Lot Nos. 6669, 6671 and 6672, CAD Case No. 22 LRC Rec. No.1018, Lot No. 6354, CAD Case No. 19 LRC Rec. No.1003, Lot Nos. 2036 and 2042, CAD Case No. 19, LRC Rec. No.1003, Lot No. 2843, CAD Case No. 19, LRC Rec. No.1003, Lot No. 2948,Lot no. 5350, Lot No. 5511, Lot No. 5138, CAD Case No. 21, LRC Rec. No.1008, Lot No. 5619, CAD Case No. 19, LRC Rec. No.1003, Lot No. 2044, CAD Case No. 15 , Lot No. 3757, Lot No. 3389, Lot Nos. 3430, 3023 and 3176, CAD Case No. 2, LRC Rec. No.1018, Lot Nos. 6433, 6482 and 6514, CAD Case No. 17 LRC Rec. No.946, Lot No. 1793, and Lot No. 3013."
list(CountedCitation.from_source(subtext2))
Expansive v. narrow scope of serial numbers.
Long citations are required in decisions. Shorter citations are required for databases. It's necessary however to map the long citations to the short version, e.g.
long | short (stored in db) |
---|---|
gr 111,112,113,114 and 115, sept. 17, 2011 | gr 111, 2011-09-17 |
Characteristics of long citations
Characteristics of short citations
See types and their examples from data parsed so far from https://sc.judiciary.gov.ph/decisions/
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.