saos-tm.extractor.cc-appealed-judgment-links
Module contains algorithm for extraction of a reference (if it appears in text) to appeal in Polish case law - specifically Common Courts.
extract-appeal-or-grievance-judgment-link
(extract-appeal-or-grievance-judgment-link s)
Extracts reference to appeal if it occurrs in a given string s
and if the appeal is in form of appeal or grievance. It works better and is tested on texts with html tags, but it also works (but possibly worse) on plain text.
The result is a map containing keys:
:caseNo
- case number of the referenced appeal:date
- date of the referenced judgment:court
- name of court that lead the referenced appeal:judgmentType
- type of the referenced judgment:appellant
- description of a person who lodged the appeal:appealType
- type of appeal (it can be appeal, grievance or complaint)
Example:
(extract-appeal-or-grievance-judgment-link "sprawy z powództwa J. J.
przeciwko Skarbowi Państwa – Prezesowi Sądu Okręgowego w Warszawie,
Prezesowi Sądu Apelacyjnego w Warszawie oraz A. T. o zapłatę
na skutek apelacji powoda od wyroku Sądu Okręgowego w Krakowie
z dnia 22 maja 2013 r. sygn. akt I C 1772/11")
{:caseNo "I C 1772/11", :date "22 maja 2013 r.",
:court "Sądu Okręgowego w Krakowie", :judgmentType "wyroku",
:appellant "powoda", :appealType "apelacji"}
It uses appeal-indicators
to localize the place of appeal appearance in text. Then it extracts appeal with extract-appeal-or-grievance
function by means of rules and regexes.
extract-complaint-judgment-link
(extract-complaint-judgment-link s)
Analogous function to extract-appeal-or-grievance-judgment-link
, but for extraction of appeals in form of complaints.