Datasets:
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,37 +1,77 @@
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
-
|
| 5 |
-
|
| 6 |
-
-
|
| 7 |
-
|
| 8 |
-
-
|
| 9 |
-
|
| 10 |
-
-
|
| 11 |
-
|
| 12 |
-
-
|
| 13 |
-
|
| 14 |
-
-
|
| 15 |
-
|
| 16 |
-
- name: state
|
| 17 |
-
dtype: string
|
| 18 |
-
- name: city
|
| 19 |
-
dtype: string
|
| 20 |
-
- name: county
|
| 21 |
-
dtype: string
|
| 22 |
-
- name: document_id
|
| 23 |
-
dtype: string
|
| 24 |
-
- name: source_index
|
| 25 |
-
dtype: int64
|
| 26 |
-
splits:
|
| 27 |
-
- name: train
|
| 28 |
-
num_bytes: 5401159224
|
| 29 |
-
num_examples: 3027628
|
| 30 |
-
download_size: 2044428838
|
| 31 |
-
dataset_size: 5401159224
|
| 32 |
configs:
|
| 33 |
-
- config_name: default
|
| 34 |
-
data_files:
|
| 35 |
-
- split: train
|
| 36 |
-
path: data/train-*
|
| 37 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
pretty_name: LOCUS v1.0
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
task_categories:
|
| 6 |
+
- text-classification
|
| 7 |
+
size_categories:
|
| 8 |
+
- 1M<n<10M
|
| 9 |
+
tags:
|
| 10 |
+
- law
|
| 11 |
+
- legal-nlp
|
| 12 |
+
- local-government
|
| 13 |
+
- municipal-law
|
| 14 |
+
- ordinances
|
| 15 |
+
- classification
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
configs:
|
| 17 |
+
- config_name: default
|
|
|
|
|
|
|
|
|
|
| 18 |
---
|
| 19 |
+
|
| 20 |
+
# LOCUS v1.0
|
| 21 |
+
|
| 22 |
+
## Dataset Summary
|
| 23 |
+
LOCUS v1.0 is a chunk-level dataset of U.S. municipal and county law text labeled by legal function. Each eligible chunk is assigned a `function`, a binary `is_substantive` label, and all substantive provisions are assigned a `topic`.
|
| 24 |
+
The dataset is intended for legal text research, local-law structure analysis, substantive filtering, and downstream taxonomy refinement.
|
| 25 |
+
|
| 26 |
+
## Dataset Structure
|
| 27 |
+
The unit of analysis is a text chunk derived from local law documents.
|
| 28 |
+
|
| 29 |
+
## Scale
|
| 30 |
+
Approximate scope for v1.0:
|
| 31 |
+
- Total rows: `3,027,628`
|
| 32 |
+
- Approximate substantive rows: `1,746,737`
|
| 33 |
+
- Approximate non-substantive rows: `1,280,869`
|
| 34 |
+
- Header-only rows excluded from model inference: `952,494`
|
| 35 |
+
|
| 36 |
+
## Label Schema
|
| 37 |
+
|
| 38 |
+
### Function
|
| 39 |
+
Allowed values:
|
| 40 |
+
- `Context`
|
| 41 |
+
- `Rules`
|
| 42 |
+
- `Process`
|
| 43 |
+
- `Enforcement`
|
| 44 |
+
- `Structural`
|
| 45 |
+
|
| 46 |
+
### Substantive Indicator
|
| 47 |
+
The released dataset enforces the following deterministic rule:
|
| 48 |
+
- `is_substantive = 1` for `Rules` and `Enforcement`
|
| 49 |
+
- `is_substantive = 0` for `Context`, `Process`, and `Structural`
|
| 50 |
+
|
| 51 |
+
### Topic
|
| 52 |
+
Used only when `is_substantive = 1`.
|
| 53 |
+
|
| 54 |
+
Allowed values:
|
| 55 |
+
- `Buildings`
|
| 56 |
+
- `Business`
|
| 57 |
+
- `Nuisance`
|
| 58 |
+
- `Zoning`
|
| 59 |
+
- `Other`
|
| 60 |
+
|
| 61 |
+
## Recommended Uses
|
| 62 |
+
LOCUS v1.0 is appropriate for:
|
| 63 |
+
- legal text classification research
|
| 64 |
+
- local law structure analysis
|
| 65 |
+
- substantive versus non-substantive filtering
|
| 66 |
+
- downstream taxonomy refinement
|
| 67 |
+
- weakly supervised or human-in-the-loop legal NLP workflows
|
| 68 |
+
|
| 69 |
+
## Out-of-Scope Uses
|
| 70 |
+
LOCUS v1.0 should not be treated as:
|
| 71 |
+
- legal advice
|
| 72 |
+
- a substitute for human legal review
|
| 73 |
+
- a complete census of all U.S. local law
|
| 74 |
+
- a fully human-validated benchmark without additional auditing
|
| 75 |
+
|
| 76 |
+
## Citation
|
| 77 |
+
|