CSI-lab commited on
Commit
8e3160a
·
verified ·
1 Parent(s): 28255aa

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +127 -3
README.md CHANGED
@@ -1,3 +1,127 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ license: mit
5
+ size_categories:
6
+ - 10K<n<100K
7
+ task_categories:
8
+ - text-generation
9
+ - question-answering
10
+ - fill-mask
11
+ - text-retrieval
12
+ tags:
13
+ - legal
14
+ - statutory-law
15
+ - us-law
16
+ - washington-state
17
+ pretty_name: Washington State Law (RCW) 2026
18
+ ---
19
+ The Revised Code of Washington (RCW) - 2026 Edition
20
+ ====================================================================
21
+
22
+ Dataset Summary
23
+ ---------------
24
+
25
+ The Revised Code of Washington (RCW) 2026 Edition dataset is a comprehensive, structured corpus containing the full text of all permanent laws in force in the State of Washington as of 2026. This dataset provides the statutory provisions in a standardized, machine-readable format, designed specifically to facilitate legal Natural Language Processing (NLP) research.
26
+
27
+ This release curates the official legislative texts into a clean JSON array structure, isolating the statutory section numbers, titles, and underlying legislative text (including statutory notes and citations). It serves as a foundational resource for training, fine-tuning, and evaluating language models on highly structured, domain-specific legal language.
28
+
29
+ Motivation and Intended Use
30
+ ---------------------------
31
+
32
+ The intersection of artificial intelligence and law requires robust, high-quality public-domain datasets. While federal laws (e.g., the U.S. Code) are frequently modeled, state-level statutory frameworks represent a critical, albeit under-resourced, domain for legal AI research.
33
+
34
+ **Intended Use Cases:**
35
+
36
+ * **Language Model Pre-training and Adaptation:** Continual pre-training or fine-tuning of Large Language Models (LLMs) to improve comprehension of statutory drafting conventions and legal terminology.
37
+
38
+ * **Information Retrieval (IR):** Developing and evaluating dense retrieval systems for legal search and semantic matching.
39
+
40
+ * **Question Answering (QA):** Providing a reliable knowledge base for retrieval-augmented generation (RAG) and open-domain statutory QA.
41
+
42
+ * **Legal Text Summarization:** Generating accessible summaries of complex statutory provisions.
43
+
44
+ * **Network Analysis:** Analyzing cross-references and citations within the text to map the dependency structure of state law.
45
+
46
+
47
+ Dataset Structure
48
+ -----------------
49
+
50
+ The dataset is distributed as a single, contiguous JSON array. Each element in the array represents a unique section of the RCW.
51
+
52
+ ### Data Fields:
53
+ | Field | Description |
54
+ | --- | --- |
55
+ | `rcw_number` | The official, hierarchical section identifier of the Revised Code of Washington (e.g., "1.04.010"), corresponding to Title, Chapter, and Section |
56
+ | `title` | The official heading or catchline of the statutory section |
57
+ | `text` | The complete, unabridged statutory text including legislative histories, notes, and citations |
58
+
59
+ ### Data Instances:
60
+ A representative sample from the dataset:
61
+ ```json
62
+ [
63
+ {
64
+ "rcw_number": "1.04.010",
65
+ "title": "Revised Code of Washington enacted.",
66
+ "text": "The ninety-one titles with chapters and sections designated as the \"Revised Code of Washington\" ..."
67
+ }
68
+ ]
69
+ ```
70
+
71
+ Data Collection and Preprocessing Methodology
72
+ ---------------------------------------------
73
+
74
+ **Data Source:** The data was systematically acquired by scraping the publicly accessible, official repositories of the Washington State Legislature for the 2026 legislative year.
75
+
76
+ **Preprocessing Pipeline:**
77
+
78
+ 1. **Extraction:** HTML/XML hierarchies were parsed to isolate individual sections, ensuring no omission of sub-sections or appended notes.
79
+
80
+ 2. **Text Normalization:** Extraneous web formatting, navigational elements, and visual artifacts were stripped. Unicode anomalies were normalized.
81
+
82
+ 3. **Structural Alignment:** Sections were programmatically validated against the official RCW table of contents to ensure completeness and strict adherence to the Title.Chapter.Section naming convention.
83
+
84
+ 4. **Validation:** A random subset of entries was manually audited against the official legislative website to verify extraction fidelity.
85
+
86
+
87
+ Limitations and Potential Biases
88
+ --------------------------------
89
+
90
+ Researchers should be aware of the following structural and conceptual limitations when utilizing this dataset:
91
+
92
+ * **Temporal Scope:** This dataset reflects the statutory law as of the 2026 edition. Laws are subject to amendment, repeal, or judicial invalidation. It does not capture legislative changes enacted post-2026.
93
+
94
+ * **Absence of Case Law:** The RCW represents statutory law only. In the U.S. common law system, the interpretation and enforcement of these statutes are heavily dictated by judicial precedent (case law) and agency regulations, neither of which are included in this corpus.
95
+
96
+ * **Jurisdictional Specificity:** The linguistic patterns, definitions, and legal frameworks present in this dataset are highly specific to Washington State. Models trained exclusively on this dataset may experience performance degradation when applied to the legal frameworks of other states or federal jurisdictions.
97
+
98
+
99
+ Legal and Ethical Considerations
100
+ --------------------------------
101
+
102
+ ### Licensing and Public Domain Status
103
+
104
+ In accordance with U.S. copyright law and the "Edicts of Government" doctrine (reaffirmed by the Supreme Court in _Georgia v. Public.Resource.Org, Inc._, 140 S. Ct. 1498 (2020)), the official statutes and laws of a state are not subject to copyright protection. Consequently, this dataset of the Revised Code of Washington is released into the **Public Domain**.
105
+
106
+ Users are free to copy, modify, distribute, and perform the work, even for commercial purposes, without requesting permission.
107
+
108
+ ### Responsible Use
109
+
110
+ **Not a Substitute for Legal Counsel:** This dataset is provided strictly for academic, research, and computational purposes. Machine learning models trained or evaluated on this data **must not** be deployed to provide automated legal advice, counsel, or definitive legal interpretations to the public.
111
+
112
+ The application of statutory law to specific factual scenarios requires the independent professional judgment of a qualified attorney. Developers utilizing this dataset for downstream applications should implement robust safeguards and user-facing disclaimers to prevent the unauthorized or misleading practice of law.
113
+
114
+ Citation
115
+ --------
116
+
117
+ If you use this dataset in your research, please cite it as follows:
118
+ ```bibtex
119
+ @misc{rcw_dataset_2026,
120
+ author = {Shlok, Tomar},
121
+ title = {Revised Code of Washington (RCW) Dataset - 2026 Edition},
122
+ year = {2026},
123
+ publisher = {Hugging Face},
124
+ howpublished={\url{https://huggingface.co/CSI-lab/Law_RCW_Dataset}},
125
+ note = {A structured corpus of the 2026 Revised Code of Washington for Legal NLP.}
126
+ }
127
+ ```