Datasets:
File size: 2,930 Bytes
ed1f181 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 | ---
language:
- pt
dataset_info:
features:
- name: type
dtype: string
- name: tribunal
dtype: string
- name: filename
dtype: string
- name: numero_processo
dtype: string
- name: relator
dtype: string
- name: orgao_julgador
dtype: string
- name: data_publicacao
dtype: string
- name: data_julgamento
dtype: string
- name: classe_judicial
dtype: string
- name: ementa
dtype: string
- name: text
dtype: string
splits:
- name: jurisprudencia
num_bytes: 23992108096
num_examples: 1253266
- name: jurisprudencia_trabalhista
num_bytes: 2969799589
num_examples: 286850
- name: peticao
num_bytes: 2332409850
num_examples: 250721
download_size: 14913785734
dataset_size: 29294317535
configs:
- config_name: default
data_files:
- split: jurisprudencia
path: data/jurisprudencia-*
- split: jurisprudencia_trabalhista
path: data/jurisprudencia_trabalhista-*
- split: peticao
path: data/peticao-*
---
# Dataset Card for Processos
**Version:** 2.1.0
## Dataset Structure
<!-- This section provides a description of the dataset fields, and additional information about the dataset structure such as criteria used to create the splits, relationships between data points, etc. -->
O repositório está organizado da seguinte forma:
```bash
jurisprudencia
├── tjdft
├── tjrs
└── tjsc
jurisprudencia_trabalhista
├── trt1_acordaos
└── trt1_sentencas
peticao
├── tjes
├── tjma
├── tjmg
├── tjpa
├── tjpb
└── tjrj
```
O formato dos dados é o apresentado a seguir:
```python
@dataclass
class Registro:
type: Type = None
tribunal: str = None
filename: str = None
numero_processo: str = None
relator: str = None
orgao_julgador: str = None
data_publicacao: MyDatetime = None
data_julgamento: MyDatetime = None
classe_judicial: str = None
ementa: str = None
text: str = None
class Type(Enum):
PETICOES = 'peticao'
JURISPRUDENCIA = 'jurisprudencia'
JURISPRUDENCIA_TRABALHISTA = 'jurisprudencia_trabalhista'
```
## Uses
<!-- Address questions around how the dataset is intended to be used. -->
Para carregar o dataset completo utilize o comando abaixo:
```python
from datasets import load_dataset, concatenate_datasets
dataset = concatenate_datasets(load_dataset("corejur/processos", revision="2.1.0").values())
```
Para carregar um tipo específico de processo, utilize o comando abaixo: (de acordo com os `Type`)
```python
from datasets import load_dataset
load_dataset("corejur/processos", split='jurisprudencia_trabalhista', revision="2.1.0")
```
Para carregar o dataset como streaming, utilizar:
```python
from datasets import load_dataset
load_dataset("corejur/processos", split='jurisprudencia_trabalhista', revision="2.1.0", streaming=True)
``` |