text stringlengths 3 35.7M | source stringclasses 1
value | metadata dict |
|---|---|---|
"<h1>ืึดืึฐืึผึทืึพืขึนื ืื ืชึผึปืึผึทืช ืึฐืฉืึธืจึดืื</h1>\nืืฉื ืืืื ืืืฆื(...TRUNCATED) | Otzaria Library | {"title":"ืืืืึพืขื ืื ืชืืช ืืฉืจืื","author":"","book_name":"ืืืืึพืขื ืื ืชืืช(...TRUNCATED) |
"<h1>ืึทืขึฒืฉืึตื ืฉืึดืึฐืฉืืึนื</h1>\nืืฉื ืืืื ืืืฆืื\n<p>[ืืืื ืฉืืืืช(...TRUNCATED) | Otzaria Library | {"title":"ืืขืฉื ืฉืืฉืื","author":"","book_name":"ืืขืฉื ืฉืืฉืื","category":"ืืืฉืืช (...TRUNCATED) |
"<h1>ืืขืจืืช ืขื ืืืืึพืขื ืื ืชืืช ืืฉืจืื</h1>\n<sup style=\"color: #2563eb; font-w(...TRUNCATED) | Otzaria Library | {"title":"ืืขืจืืช ืขื ืืืืึพืขื ืื ืชืืช ืืฉืจืื","author":"","book_name":"ืืขืจืืช(...TRUNCATED) |
"<h1>ืืขืจืืช ืขื ืืขืฉื ืฉืืฉืื</h1>\n<sup style=\"color: #2563eb; font-weight: bold;\">1</(...TRUNCATED) | Otzaria Library | {"title":"ืืขืจืืช ืขื ืืขืฉื ืฉืืฉืื","author":"","book_name":"ืืขืจืืช ืขื ืืขืฉื ืฉ(...TRUNCATED) |
"<h1>ืืืฉืจืื ืชืืืื</h1>\nืืฉื ืืืื ืืืฆืื\n<h2 id=\"ืฉืืจืืืืืืช\">ืฉืืจ (...TRUNCATED) | Otzaria Library | {"title":"ืืืฉืจืื ืชืืืื","author":"","book_name":"ืืืฉืจืื ืชืืืื","category":"ื(...TRUNCATED) |
"<h1>ืืขืจืืช ืขื ืกืคืจ ืืขืฆืืื</h1>\n<sup style=\"color: #2563eb; font-weight: bold;\">1</(...TRUNCATED) | Otzaria Library | {"title":"ืืขืจืืช ืขื ืกืคืจ ืืขืฆืืื","author":"","book_name":"ืืขืจืืช ืขื ืกืคืจ ืืข(...TRUNCATED) |
"<h1>ืกืคืจ ืืขืฆืืื</h1>\nืืืจืื ืืื ืขืืจื\n<h2 id=\"ืขืืขื ืื ืืืืืขืืืืื(...TRUNCATED) | Otzaria Library | {"title":"ืกืคืจ ืืขืฆืืื","author":"","book_name":"ืกืคืจ ืืขืฆืืื","category":"ืืืฉืืช (...TRUNCATED) |
"<h1>ืกืื ืงืืืื ื ืื ืืืื ื</h1>\nืื ืฆืืื ืืืคืก\n<p><strong>ืืขื ืืื โ (...TRUNCATED) | Otzaria Library | {"title":"ืกืื ืงืืืื ื ืื ืืืื ื","author":"","book_name":"ืกืื ืงืืืื ื ืื ื(...TRUNCATED) |
"<h1>ืืขืจืืช ืขื ืกืื ืงืืืื ื ืื ืืืื ื</h1>\n<sup style=\"color: #2563eb; font-wei(...TRUNCATED) | Otzaria Library | {"title":"ืืขืจืืช ืขื ืกืื ืงืืืื ื ืื ืืืื ื","author":"","book_name":"ืืขืจืืช (...TRUNCATED) |
"<h1>ืืขืจืืช ืขื ืจืืืคื ืืื</h1>\n<sup style=\"color: #2563eb; font-weight: bold;\">1</su(...TRUNCATED) | Otzaria Library | {"title":"ืืขืจืืช ืขื ืจืืืคื ืืื","author":"","book_name":"ืืขืจืืช ืขื ืจืืืคื ื(...TRUNCATED) |
Judaic Texts Corpus
Dataset Summary
Judaic Texts Corpus is a machine-readable Hebrew and Aramaic corpus of Judaic texts derived from the Otzaria library release archives. It is intended for language-model training, retrieval, search, digital humanities research, and other NLP workflows that need structured access to rabbinic and traditional Jewish texts.
The current dataset build is produced from the official Otzaria/otzaria-library release assets, which package the Otzaria text library and its conversion scripts.
otzaria_latest.zipotzaria_dicta_latest.zip
Each row represents one source text file. The original source path, collection,
book title, author metadata, release tag, and licensing note are preserved in the
metadata struct.
Supported Tasks
This dataset can be used for:
- Hebrew and Aramaic language modeling
- Retrieval-augmented generation over Judaic texts
- Text classification and clustering
- Question answering over source texts
- Corpus analysis and digital humanities research
Dataset Structure
Data Files
The dataset uses a single configuration named default.
data/*.parquet
The dataset has one split:
train
Dataset sizes and row counts are intentionally not hard-coded in this card. They are computed by the Hugging Face Dataset Viewer from the uploaded Parquet files.
Data Fields
Each row has the following top-level fields:
text(string): The full text extracted from a source.txtfile.source(string): The source label for this corpus. Current builds useOtzaria Library.metadata(struct): Structured metadata about the source text.
The metadata struct contains:
title(string): Display title from the Otzaria metadata when available, otherwise the filename-derived book name.author(string): Author name when available.book_name(string): Book name derived from the source filename.category(string): Category path derived from the source path.source_collection(string): Top-level source collection inside the release archive.source_path(string): Relative path of the original text file inside the release archive.file_hash(string): Hash from the release manifest when available.github_release(string): Otzaria release tag used for the build, for examplelibrary-143.pub_date(string): Publication date metadata when available.pub_place(string): Publication place metadata when available.comp_date(string): Composition date metadata when available.comp_place(string): Composition place metadata when available.description(string): Hebrew description from the source metadata when available.license_note(string): Per-row licensing note derived from the source collection.
Data Instance
{
"text": "ืืืืืชื ืงืืจืื ืืช ืฉืืข ืืขืจืืืช...",
"source": "Otzaria Library",
"metadata": {
"title": "ืืจืืืช",
"author": "",
"book_name": "ืืจืืืช",
"category": "ืชืืืื/ืืืื",
"source_collection": "sefariaToOtzaria",
"source_path": "sefariaToOtzaria/sefaria_export/ืกืคืจืื/ืืืฆืจืื/ืชืืืื/ืืจืืืช.txt",
"file_hash": "abc123",
"github_release": "library-143",
"pub_date": "",
"pub_place": "",
"comp_date": "",
"comp_place": "",
"description": "",
"license_note": "Source collection: sefariaToOtzaria. Verify licensing against the original source terms."
}
}
How to Use
from datasets import load_dataset
dataset = load_dataset("NHLOCAL/judaic-texts-corpus")
print(dataset["train"][0])
The metadata column is a nested struct. For example:
row = dataset["train"][0]
print(row["text"])
print(row["metadata"]["title"])
print(row["metadata"]["source_path"])
Dataset Creation
Source Data
The source material comes from the official Otzaria release archives published
by Otzaria/otzaria-library. The
dataset builder streams .txt files directly from the release archives and
writes sharded Parquet files.
Otzaria aggregates and converts books from multiple projects and collections.
The source collection is preserved in metadata.source_collection, and the
original path is preserved in metadata.source_path so users can trace each row
back to its upstream collection.
Processing
The build pipeline:
- Downloads the selected Otzaria release assets.
- Extracts
files_manifest.jsonandmetadata.jsonfromotzaria_latest.zip. - Streams
.txtfiles fromotzaria_latest.zipandotzaria_dicta_latest.zip. - Trims empty text, skips non-text files, and removes duplicate texts by SHA-256 hash of the normalized text content.
- Writes Parquet shards with the schema declared in this dataset card.
Versioning
The metadata.github_release field records the upstream Otzaria release tag
used to build each row. This keeps the dataset aligned with Otzaria's original
release numbering, such as library-143.
Considerations for Using the Data
Licensing
The code in this repository is released under the Apache License 2.0. The text
content is not covered by a single dataset-wide license. It comes from multiple
upstream collections, and each row should be evaluated according to its
metadata.source_collection, metadata.source_path, and original source terms.
The dataset card declares cc-by-4.0 as the general license for this dataset
package and metadata. This declaration does not override the license or usage
terms of the underlying source texts.
Original Otzaria project content is generally distributed under Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0), unless another license is specified for a source collection. Imported collections keep their own license terms.
The main source-collection terms are:
| Source collection | Upstream license / rights note |
|---|---|
sefariaToOtzaria |
Sefaria texts: GPL-3.0. Otzaria scripts and processing: CC BY-NC-SA 4.0. |
DictaToOtzaria |
Dicta texts: Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0). Otzaria scripts and processing: CC BY-NC-SA 4.0. |
pninimToOtzaria |
Pninim texts, including corrected versions: GNU Free Documentation License v1.3 (GNU FDL v1.3). Otzaria scripts and processing: CC BY-NC-SA 4.0. |
ToratEmetToOtzaria |
Torat Emet texts: Creative Commons Attribution-NonCommercial-ShareAlike 2.5 (CC BY-NC-SA 2.5). Otzaria scripts and processing: CC BY-NC-SA 4.0. |
wikisourceToOtzaria |
Wikisource texts follow Wikisource license terms. Otzaria scripts and processing: CC BY-NC-SA 4.0. |
wikiJewishBooksToOtzaria |
Texts from the collaborative Jewish books archive require explicit permission from that source. Otzaria scripts and processing: CC BY-NC-SA 4.0. |
Ben-YehudaToOtzaria |
Texts follow Project Ben-Yehuda's license terms. Otzaria scripts and processing: CC BY-NC-SA 4.0. |
OraytaToOtzaria |
Texts follow their original source license. Otzaria scripts and processing: CC BY-NC-SA 4.0. |
OnYourWayToOtzaria |
Texts follow their original source license. Otzaria scripts and processing: CC BY-NC-SA 4.0. |
tashmaToOtzaria |
Tashma texts: all rights reserved by Tashma. Otzaria scripts and processing: CC BY-NC-SA 4.0. |
or-breslev |
Texts and scripts: CC BY-NC-SA 4.0. |
MoreBooks |
Texts and scripts: CC BY-NC-SA 4.0. This collection includes books created or edited by Otzaria contributors and editors. |
extraBooks |
Mixed sources. Some content is CC BY-NC-SA 4.0; other content remains under original source licenses. Check each book individually. |
Do not assume that all rows are covered by a single license. Check
metadata.source_collection, metadata.source_path, and
metadata.license_note, and verify the terms of the original source collection
before using the content. This summary is informational and is not legal advice.
Limitations
This is a large aggregated corpus built from many source collections. Some texts may contain formatting artifacts, transcription errors, OCR mistakes, duplicated material not caught by exact text hashing, or inconsistent source metadata.
The dataset is provided as a research and engineering resource. Users are responsible for validating fitness, accuracy, and legal suitability for their own use case.
Citation
If you use this dataset, cite the dataset and the upstream Otzaria project:
@dataset{judaic_texts_corpus,
author = {NHLOCAL},
title = {Judaic Texts Corpus},
publisher = {Hugging Face},
year = {2026},
url = {https://huggingface.co/datasets/NHLOCAL/judaic-texts-corpus}
}
Credits and Acknowledgements
This dataset builds on the Otzaria project and the Otzaria library maintainers, who collect, convert, organize, and publish the source library.
Acknowledgements also go to the upstream text projects and collections included in the Otzaria release archives:
- Sefaria
- Dicta Library
- Pninim
- Torat Emet
- Hebrew Wikisource
- The collaborative Jewish books archive
- Project Ben-Yehuda
- Orayta
- OnYourWay / ืืืืืชื ืืืจื
- Tashma
- Or Breslev
- Otzaria contributors and editors who created, corrected, or organized additional books through the Otzaria project and editing site
This dataset is a machine-readable packaging of those sources. Preserve attribution to Otzaria and to the relevant original source collections when using or redistributing content.
- Downloads last month
- 280