Datasets:

Modalities:
Tabular
Text
Formats:
parquet
Languages:
Portuguese
ArXiv:
Tags:
legal
Libraries:
Datasets
Dask
eduagarcia commited on
Commit
abdb46d
·
verified ·
1 Parent(s): 37d4f41

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +21 -4
README.md CHANGED
@@ -47,10 +47,27 @@ Dataset is composed by six corpora:
47
 
48
  ## Data Collection and Processing
49
 
50
- <!-- This section describes the data collection and processing process such as data selection criteria, filtering and normalization methods, tools and libraries used, etc. -->
51
-
52
- [More Information Needed]
53
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
54
 
55
  ## Citation
56
 
 
47
 
48
  ## Data Collection and Processing
49
 
50
+ LegalPT is deduplicated using [MinHash algorithm](https://dl.acm.org/doi/abs/10.5555/647819.736184) and [Locality Sensitive Hashing](https://dspace.mit.edu/bitstream/handle/1721.1/134231/v008a014.pdf?sequence=2&isAllowed=y), following the approach of [Lee et al. (2022)](http://arxiv.org/abs/2107.06499).
51
+
52
+ We used 5-grams and a signature of size 256, considering two documents to be identical if their Jaccard Similarity exceeded 0.7.
53
+
54
+ Duplicate rate found by the Minhash-LSH algorithm for the LegalPT corpus:
55
+
56
+ | **Corpus** | **Documents** | **Docs. after deduplication** | **Duplicates (%)** |
57
+ |--------------------------|:--------------:|:-----------------------------:|:------------------:|
58
+ | Ulysses-Tesemõ | 2,216,656 | 1,737,720 | 21.61 |
59
+ | MultiLegalPile (PT) | | | |
60
+ | CJPG | 14,068,634 | 6,260,096 | 55.50 |
61
+ | BRCAD-5 | 3,128,292 | 542,680 | 82.65 |
62
+ | EUR-Lex (Caselaw) | 104,312 | 78,893 | 24.37 |
63
+ | EUR-Lex (Contracts) | 11,581 | 8,511 | 26.51 |
64
+ | EUR-Lex (Legislation) | 232,556 | 95,024 | 59.14 |
65
+ | Legal MC4 | 191,174 | 187,637 | 1.85 |
66
+ | ParlamentoPT | 2,670,846 | 2,109,931 | 21.00 |
67
+ | Iudicium Textum | 198,387 | 153,373 | 22.69 |
68
+ | Acordãos TCU | 634,711 | 462,031 | 27.21 |
69
+ | DataSTF | 737,769 | 310,119 | 57.97 |
70
+ | **Total (LegalPT)** | **24,194,918** | **11,946,015** | **50.63** |
71
 
72
  ## Citation
73