UNPKG

@amjur/courts-db-ts

Version:

TypeScript port of the Python courts-db library for legal court identification

101 lines (92 loc) 4.45 kB
{ "md": "M(id(dle)?)? ?D(ist)?((r?ict)?)? ?(((of|for|to|if) ?){1,2})? ?", "wd": "W(est)?(ern)? ?D(ist(r?ict)?)? ?(((of|for|to|if) ?){1,2})? ?", "sd": "S(o)?(ur?th?erh?n)? ?D(ist(r?ict)?)? ?(((of|for|to|if) ?){1,2})? ?", "ed": "Ea?(st)?(ern)? ?D(ist(r?ict)?)? ?((((of|for|to|if) ?){1,2})|to)? ?", "nd": "N(o)?(rth)?(e?rn?)? ?D(ist(r?ict)?)? ?(((of|for|to|if) ?){1,2})? ?", "cd": "C(ent)?(ral)? ?D(ist(rict)?)? ?(((of|for|to|if) ?){1,2})? ?", "d": "D(ist?(rict)?)? ?(Court)? ?(((of|for|to|if) ?){1,2})? ?", "usa": "(((U\\.? ?S\\.? ?)|(Unite(d|s)? State(s|d)?)) ?)", "usdc": "(U(nite(d|s))? S(tate(s|d))?)? ?Dist(s)?(rict)? ?(For The)? ?Court ?(for|of)? ?(the)? ?", "usdca": "Unite(t)?(d|s) State(s|d)? District Court of Appea(l|r)s? ?", "uscoa": "U(nite(t)?(d|s))? S(tate(s|d)?)? ?(of)? ?Court (of)? ?(of|on|to)? ?Appea(l|r)s? ?((for ?(the)?)|(of the))?", "coa": "Courts? (ofr?t?)? ?App?eals? ?(of?r?t?)? ?", "ccoa": "Circuit Courts? ?(of|af)? ?(the)? ?Appeals? ?(of ?)? ?(for the)?", "usbap": "United States Bankruptcy (court)? ?Appellate Panels? ?(of|for) ?(the)?", "usbc": "United States Bankruptcy Court ?(Fo?0?r)? ?(The)? ?", "usbcd": "United States (Bankruptcy|District) Court (Fo?0?r)? ?(The)? ?(d(istrict)?)? ?(of)? ?", "usbcmd": "United States (Bankruptcy|District) Court (Fo?0?r)? ?(The)? ?(M(id(dle)?)? ?D(ist)?((r?ict)?)?)? ?(of)? ?", "usbcwd": "United States (Bankruptcy|District) Court (Fo?0?r)? ?(The)? ?(W(est)?(ern)? ?D(ist(r?ict)?)?)? ?(of)? ?", "usbcsd": "United States (Bankruptcy|District) Court (Fo?0?r)? ?(The)? ?(S(o)?(ur?th?erh?n)? ?D(ist(r?ict)?)?)? ?(of)? ?", "usbced": "United States (Bankruptcy|District) Court (Fo?0?r)? ?(The)? ?(Ea?(st)?(ern)? ?D(ist(r?ict)?)?)? ?(of)? ?", "usbcnd": "United States (Bankruptcy|District) Court (Fo?0?r)? ?(The)? ?(N(o)?(rth)?(e?rn?)? ?D(ist(r?ict)?)?)? ?(of)? ?", "usbccd": "United States (Bankruptcy|District) Court (Fo?0?r)? ?(The)? ?(C(ent)?(ral)? ?D(ist(rict)?)?)? ?(of)? ?", "app": "Appellate Court ?(of)? ?", "al": "Ala(bama)?(\\b|$)", "ak": "A(la)?k(sa)?(\\b|$)", "az": "A(ri)?z(ona)??(\\b|$)", "ar": "Ark?(ansas)?(\\b|$)", "ca": "Cal?i?f?(ornia)?(\\b|$)", "co": "Colo?(rado)?(\\b|$)", "ct": "Conn(ecticut)?(\\b|$)", "de": "Delaware|Del|DE", "dc": "D(istrict) (of )?C(olumbia)(\\b|$)", "fl": "Fl(orid)?a?(\\b|$)", "ga": "G(eorgi)?a(\\b|$)", "hi": "Hawaii|haw|hi", "id": "Idaho", "ia": "Iowa|IA(\\b|$)", "il": "(Illinois|Illinons|Ill(inois))(\\b|$)", "in": "Ind(iana)?(\\b|$)", "ks": "Kans?(as)?(\\b|$)", "ky": "K(entuck)?y(\\b|$)", "la": "(Louisiana|Louisians|Lousiana|La)(\\b|$)", "me": "Maine|ME", "maryland": "Maryland|Md", "ma": "Ma(ss(achusetts)?)?(\\b|$)", "mi": "Mich(igan)?(\\b|$)|\\bmi(\\b|$)", "mn": "Minn(esota)?(\\b|$)", "ms": "Mississippi|Miss|MS(\\b|$)", "mo": "(Missouri|Mo)(\\b|$)", "mt": "Montana|Mont|MT", "ne": "Neb?(raska)?(\\b|$)", "nv": "Nevada|Nev|NV", "nh": "New Hampshire|N ?H", "nj": "New Jersey|N J|NJ", "nm": "N(ew)? Mex(ico)?(\\b|$)|N ?M(\\b|$)", "ny": "N(ew)? ?Y(ork)?(\\b|$)", "nc": "North Carolina|N ?C", "ndak": "N(orth)? D(ak)?(ota)?(\\b|$)", "oh": "Ohio|OH", "ok": "Ok(la)?(homa)?(\\b|$)", "or": "Oregon|Ore|Or", "pa": "(P(a|(ennsylvania))|Penna?)(\\b|$)", "ri": "R(hode)? I(sland)?(\\b|$)", "sc": "S(\\.|(ou(r)?th))? C(\\.|(arolina))?(\\b|$)", "sdak": "S(outh)? D(ak)?(ota)?(\\b|$)", "tn": "(Tenn(esseee?)?|Tn)(\\b|$)", "tx": "Te?x(as)?(\\b|$)", "ut": "Utah(\\b|$)|Ut(\\b|$)", "vt": "V(ermon)?t?(\\b|$)", "va": "V(irgini?)?a(\\b|$)", "wa": "Washington|Wash|WA(\\b|$)", "wv": "W(est) V(a|(irginia))(\\b|$)", "wi": "Wis?(consin)?(\\b|$)", "wy": "Wyo?(ming)?(\\b|$)", "sup": "Supreme Court ?(of ?)? ?(the)? ?", "sjc": "Supreme Judicial Court ?(of)? ?", "super": "Superior Court ?(of?)? ?", "supct": "Sup(reme)? C(our)?t", "n1": "(First|One|1st|1)", "n2": "(Second|Two|2nd|2)", "n3": "(Third|Three|3rd|3)", "n4": "(Fou?rth|Four|4th|4)", "n5": "(Fifth|Five|5th|5)", "n6": "(Sixth|Six|6th|6)", "n7": "(Seventh|Seven|7th|7)", "n8": "(Eighth|Eight|8th|8|Eigth|Eighth)", "n9": "(Ninth|Nine|9th|9)", "n10": "(Tenth|Ten|10th|10)", "n11": "(Eleventh|Eleven|11th|11)", "bw": "([A-Za-z]+)" }