ceyhunemreozturk commited on
Commit
41756ba
1 Parent(s): 65f6046

Added Judgment Prediction Dataset for Turkish Court of Cassation

Browse files

The dataset includes 1290 court case decision texts from the Turkish Court of Cassation. Each sample has one label, which is the ruling of the court. The possible rulings are "Violation" and "No violation". There are 1290 samples. 1141 of these samples are labeled as "Violation". Paper URL: https://www.sciencedirect.com/science/article/abs/pii/S0306457321001692.

Files changed (1) hide show
  1. lextreme.py +29 -0
lextreme.py CHANGED
@@ -4012,6 +4012,34 @@ _MAPA_FINE = {
4012
  }
4013
 
4014
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4015
  class LEXTREME(datasets.GeneratorBasedBuilder):
4016
  """LEXTREME: A Multilingual Legal Benchmark for Natural Language Understanding. Version 1.0"""
4017
  BUILDER_CONFIGS = [
@@ -4024,6 +4052,7 @@ class LEXTREME(datasets.GeneratorBasedBuilder):
4024
  LextremeConfig(name="greek_legal_code_chapter", **_GREEK_LEGAL_CODE_CHAPTER),
4025
  LextremeConfig(name="greek_legal_code_subject", **_GREEK_LEGAL_CODE_SUBJECT),
4026
  LextremeConfig(name="online_terms_of_service_unfairness_levels", **_ONLINE_TERMS_OF_SERVICE_UNFAIRNESS_LEVELS),
 
4027
  # MLTC tasks
4028
  LextremeConfig(name="online_terms_of_service_clause_topics", **_ONLINE_TERMS_OF_SERVICE_CLAUSE_TOPICS),
4029
  LextremeConfig(name="covid19_emergency_event", **_COVID19_EMERGENCY_EVENT),
 
4012
  }
4013
 
4014
 
4015
+ _TURKISH_CONSTITUTIONAL_COURT_DECISIONS_JUDGMENT = {
4016
+ "task_type": TaskType.SLTC,
4017
+ "hf_hub_name": "KocLab-Bilkent/turkish-constitutional-court",
4018
+ "language": "tr",
4019
+ "input_col": "Text",
4020
+ "label_col": "Label",
4021
+ "url": "https://github.com/koc-lab/law-turk",
4022
+ "description":
4023
+ """
4024
+ The dataset includes 1290 court case decision texts from the Turkish Court of Cassation. Each sample has one label, which is the ruling of the court. The possible rulings are "Violation" and "No violation". There are 1290 samples. 1141 of these samples are labeled as "Violation".
4025
+ """
4026
+ ,
4027
+ "citation":
4028
+ """
4029
+ @article{mumcuoglu21natural,
4030
+ title = {{Natural language processing in law: Prediction of outcomes in the higher courts of Turkey}},
4031
+ journal = {Information Processing \& Management},
4032
+ volume = {58},
4033
+ number = {5},
4034
+ year = {2021},
4035
+ author = {Mumcuoğlu, Emre and Öztürk, Ceyhun E. and Ozaktas, Haldun M. and Koç, Aykut}
4036
+ }
4037
+ """
4038
+ ,
4039
+ "label_classes": ["Violation", "No violation"],
4040
+ }
4041
+
4042
+
4043
  class LEXTREME(datasets.GeneratorBasedBuilder):
4044
  """LEXTREME: A Multilingual Legal Benchmark for Natural Language Understanding. Version 1.0"""
4045
  BUILDER_CONFIGS = [
 
4052
  LextremeConfig(name="greek_legal_code_chapter", **_GREEK_LEGAL_CODE_CHAPTER),
4053
  LextremeConfig(name="greek_legal_code_subject", **_GREEK_LEGAL_CODE_SUBJECT),
4054
  LextremeConfig(name="online_terms_of_service_unfairness_levels", **_ONLINE_TERMS_OF_SERVICE_UNFAIRNESS_LEVELS),
4055
+ LextremeConfig(name="turkish_constitutional_court_decisions_judgment", **_TURKISH_CONSTITUTIONAL_COURT_DECISIONS_JUDGMENT),
4056
  # MLTC tasks
4057
  LextremeConfig(name="online_terms_of_service_clause_topics", **_ONLINE_TERMS_OF_SERVICE_CLAUSE_TOPICS),
4058
  LextremeConfig(name="covid19_emergency_event", **_COVID19_EMERGENCY_EVENT),