Datasets:
image imagewidth (px) 1.06k 1.06k | text stringlengths 107 2.88k | xml stringlengths 1.57k 16.2k |
|---|---|---|
האָט פֿאַרלוירן זײַן מאַמע.
„דער טאַטע האָט זיך קיינמאָל ניט אומגעקערט אַהין‟, — האָט געזאָגט
ביטער מיסיס דאָבראָווסקי.
הינטער דעם פֿענצטער פֿון איר צימער האָט זיך געפּליאָסקעט דער
אומענדלעכער בלויער אָקעאַן, וואָס האָט זיך צונויפֿגעגאָסן מיטן
אומענדלעכן בלויען הימל.
די צעשפּרייטע דאָ און דאָרט וואָלקנדלעך האָבן מיר דע... | <?xml version='1.0' encoding='utf-8'?>
<alto xmlns="http://www.loc.gov/standards/alto/ns-v4#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.loc.gov/standards/alto/ns-v4# http://www.loc.gov/standards/alto/v4/alto-4-3.xsd">
<Description>
<MeasurementUnit>pixel</Measurem... | |
פֿאָלק פֿײַערדיקע שלאַנגען, און זײ האָבן געביסן דאָס פֿאָלק, און
עס איז געשטאָרבן אַ סך פֿאָלק פֿון ישׂראל. 7 איז דאָס פֿאָלק
געקומען צו משהן, און זײ האָבן געזאָגט: מיר האָבן געזינדיקט װאָס
מיר האָבן גערעדט אַקעגן גאָט און אַקעגן דיר; זײַ מתפּלל צו גאָט,
ער זאָל אָפּטאָן פֿון אונדז די שלאַנגען. האָט משה מתפּלל געװען
פֿ... | <?xml version='1.0' encoding='utf-8'?>
<alto xmlns="http://www.loc.gov/standards/alto/ns-v4#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.loc.gov/standards/alto/ns-v4# http://www.loc.gov/standards/alto/v4/alto-4-3.xsd">
<Description>
<MeasurementUnit>pixel</Measurem... | |
דעם וועלכער לעבט לעלמי עולמים וועלכער האט באשאפן דעם הימל און
וואס עס געפינט זיך דערין און די ערד און וואס עס איז אויף איר און דעם ים
און וואס עס געפינט זיך אין אים אז עס וועט מער נישט זיין קיין צייט 7 נאר
אין די טעג פון דעם קול פון דעם זיבעטן מלאך ווען ער וועט בלאזן וועט
פארענדיקט ווערן דער סוד פון ה׳ ווי ער האט מבשר ... | <?xml version='1.0' encoding='utf-8'?>
<alto xmlns="http://www.loc.gov/standards/alto/ns-v4#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.loc.gov/standards/alto/ns-v4# http://www.loc.gov/standards/alto/v4/alto-4-3.xsd">
<Description>
<MeasurementUnit>pixel</Measurem... | |
פּלשתּים האָבן זיך אַרױסגעשטעלט אַקעגן ישׂראל, און די מלחמה האָט זיך
פֿאַרשפּרײט, און ישׂראל איז געשלאָגן געװאָרן פֿאַר די פּלשתּים; און זײ האָבן
געטײט אין דער שלאַכט אױפֿן פֿעלד אַרום פֿיר טױזנט מאַן. 3 און אַז דאָס פֿאָלק
איז צוריקגעקומען אין לאַגער, האָבן די עלטסטע פֿון ישׂראל געזאָגט: פֿאַר װאָס
האָט אונדז הײַנט גא... | <?xml version='1.0' encoding='utf-8'?>
<alto xmlns="http://www.loc.gov/standards/alto/ns-v4#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.loc.gov/standards/alto/ns-v4# http://www.loc.gov/standards/alto/v4/alto-4-3.xsd">
<Description>
<MeasurementUnit>pixel</Measurem... | |
אויסדערוויילטער אים זאלט איר הערן 36 און בשעת דאס קול איז
געהערט געווארן האט ישוע זיך געפונען איינער אליין און זיי האבן
געשוויגן און אין יענע טעג האבן זיי קיינעם גארנישט דערציילט פון דעם
וואס זיי האבן געזען 37 און עס איז געשען צומארגנס ווען זיי זענען
אראפגעשטיגן פונם בארג איז אים אנטקעגנגעקומען א גרויסער המון
מענטשן 38... | <?xml version='1.0' encoding='utf-8'?>
<alto xmlns="http://www.loc.gov/standards/alto/ns-v4#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.loc.gov/standards/alto/ns-v4# http://www.loc.gov/standards/alto/v4/alto-4-3.xsd">
<Description>
<MeasurementUnit>pixel</Measurem... | |
זיך פֿאַר מיר אָנגענומען, און האָט אױך מײַן קָול צוגעהערט, און
מיר געגעבן אַ זון; דרום האָט זי גערופֿן זײַן נאָמען דָן. 7 און
בלהָה, רחלס דינסט, איז װידער טראָגעדיק געװאָרן, און האָט
יעקבן געבאָרן אַ צװײטן זון. 8 און רחל האָט געזאָגט: שטאַרקע
ראַנגלענישן האָב איך זיך געראַנגלט מיט מײַן שװעסטער, און איך
בין בײַגעקומען; ... | <?xml version='1.0' encoding='utf-8'?>
<alto xmlns="http://www.loc.gov/standards/alto/ns-v4#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.loc.gov/standards/alto/ns-v4# http://www.loc.gov/standards/alto/v4/alto-4-3.xsd">
<Description>
<MeasurementUnit>pixel</Measurem... | |
וואָלט אויף אַ קול אַרומגעטראַכט זײַן אָנגעזעטיקט און
אינטערעסאַנט לעבן, דערמאָנט ער באַגעגענישן מיט אַ סך
מענטשן — אי באַוווּסטע, אי פּשוטע, מיט וועלכע דער גורל האָט
אים צונויפֿגעפֿירט.
דער נאָמען יעווגעני קיסין איז באַקאַנט איבער דער גאָרער
וועלט.
כ׳רוף בכּיוון נישט אָן דאָס וואָרט „פּיאַניסט‟, ווײַל אויב אָנצוּווײַז... | <?xml version='1.0' encoding='utf-8'?>
<alto xmlns="http://www.loc.gov/standards/alto/ns-v4#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.loc.gov/standards/alto/ns-v4# http://www.loc.gov/standards/alto/v4/alto-4-3.xsd">
<Description>
<MeasurementUnit>pixel</Measurem... | |
21 און אַז איר װעט אײַך צעטײלן דאָס דאָזיקע לאַנד לױט די
שבֿטים פֿון ישׂראל, 22 איז, זאָלט איר עס אױסװאַרפֿן פֿאַר אַ
נחלה צו אײַך, און צו די פֿרעמדע װאָס װױנען צװישן אײַך, װאָס
האָבן געבאָרן קינדער צװישן אײַך; און זײ זאָלן בײַ אײַך זײַן אַזױ
װי אײַנגעבאָרענע צװישן די קינדער פֿון ישׂראל; גלײַך מיט אײַך
זאָל זײ פֿאַלן א... | <?xml version='1.0' encoding='utf-8'?>
<alto xmlns="http://www.loc.gov/standards/alto/ns-v4#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.loc.gov/standards/alto/ns-v4# http://www.loc.gov/standards/alto/v4/alto-4-3.xsd">
<Description>
<MeasurementUnit>pixel</Measurem... | |
געקומען פֿונעם ווײַטן ניו־יאָרק, פֿון אַן אַנדער וועלט און צײַט.
צום 100־יאָריקן געבוירן־טאָג פֿונען בעסאַראַבער ייִדישן שרײַבער האָב איך
געמאַכט וועגן אים אַ באַזונדערן פֿילם.
עס האָט אויסגעזען, אַז גאָרנישט האָט זיך אַרום נישט געביטן — דער זעלבער
טײַך, די זעלבע שישמאַנס קערניצע מיט ציכטיק־קאַלטער וואַסער, אַז די ציין... | <?xml version='1.0' encoding='utf-8'?>
<alto xmlns="http://www.loc.gov/standards/alto/ns-v4#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.loc.gov/standards/alto/ns-v4# http://www.loc.gov/standards/alto/v4/alto-4-3.xsd">
<Description>
<MeasurementUnit>pixel</Measurem... | |
גלאַט נײטיק פֿאַר יעדן, װאָס רעדט צו דער װעלט אין נאָמען פֿון אַ גאַנצן פֿאָלק,
װאָס קיסין איז מסוגל און האָט דאָס רעכט צו טאָן.
זאָל ער זיך ספּראַװען מיט דעם און װערן אַ גרױסער דענקער, װי אױך אַ
גרױסער שרײַבער. פּ.ק.
אַ ביסל שאָקירט, האָב איך אָנגעשריבן דער גרינדערין און מאָדעראַטאָרין פֿון דער
װעבזײַט, װי באַאומרויִ... | <?xml version='1.0' encoding='utf-8'?>
<alto xmlns="http://www.loc.gov/standards/alto/ns-v4#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.loc.gov/standards/alto/ns-v4# http://www.loc.gov/standards/alto/v4/alto-4-3.xsd">
<Description>
<MeasurementUnit>pixel</Measurem... |
Dataset Card for Yiddish Synthetic Pangoline Dataset
Dataset Summary
The Yiddish Synthetic Pangoline Dataset is a comprehensive collection of synthetic Yiddish document images generated using a custom implementation of Pangoline, a text-to-image synthesis tool. The dataset contains high-quality synthetic Yiddish text rendered as images, along with corresponding ground truth text and ALTO-XML layout annotations. This dataset is designed for training and evaluating Yiddish OCR models, document layout analysis systems, and text recognition algorithms.
Dataset Details
Dataset Sources
- Repository: https://huggingface.co/datasets/johnlockejrr/yid_synth_pangoline
- Source Library: The Yiddish Translation of the TaNaKh by Yehoyesh Shloyme Blumgarten, Yiddish New Testament, https://github.com/New-Languages-for-NLP/yiddish
- Generation Tool: Custom Pangoline implementation
Uses
Direct Use
This dataset is intended for:
- OCR Model Training: Training Yiddish optical character recognition models
- Document Layout Analysis: Developing systems for understanding document structure and layout
- Text Recognition Research: Advancing Yiddish text recognition algorithms
- Synthetic Data Studies: Research on synthetic data generation and its applications
- Multilingual OCR: Cross-lingual OCR model development
Out-of-Scope Use
- Commercial OCR Products: Without proper licensing verification
- Biometric or Personal Identification: The dataset contains synthetic text, not real personal documents
- Training Models for Deceptive Purposes: Any use intended to deceive or mislead
Dataset Structure
The dataset is organized with the following structure:
Dataset Split: train/validation/test (85%/10%/5%)
├── image: High-resolution synthetic Yiddish document images (JPG format)
├── text: Ground truth Yiddish text content (TXT format)
└── xml: ALTO-XML layout annotations (XML format)
Data Fields
- image: PIL Image object containing the synthetic Yiddish document
- text: String containing the ground truth Yiddish text
- xml: String containing ALTO-XML formatted layout annotations
Dataset Statistics
- Total Files: 75,432 samples
- Training Set: 64,116 samples (85%)
- Validation Set: 7,543 samples (10%)
- Test Set: 3,772 samples (5%)
- Total Dataset Size: 28 GB
- Image Format: JPG (compressed for efficiency)
- Text Encoding: UTF-8
- XML Format: ALTO v4.3 standard
Dataset Creation
Curation Rationale
This dataset was created to address the scarcity of high-quality Yiddish OCR training data. Traditional OCR datasets often lack sufficient Yiddish text samples, making it challenging to develop robust Yiddish text recognition systems. By generating synthetic data using Pangoline, we can create a large-scale dataset with perfect ground truth annotations.
Source Data
Data Collection and Processing
- Text Source: The Yiddish Translation of the TaNaKh by Yehoyesh Shloyme Blumgarten, Yiddish New Testament, https://github.com/New-Languages-for-NLP/yiddish
- Synthetic Generation: Custom Pangoline implementation generated document images
- Layout Annotation: ALTO-XML annotations were automatically generated during synthesis
- Quality Control: Images were processed and optimized for training purposes
- Dataset Assembly: Files were organized and split using the
create_hf_dataset.pyscript
Who are the source data producers?
- Custom Pangoline: Generated synthetic document images and layout annotations
- Dataset Creator: John Locke Jr. - assembled and curated the final dataset
Annotations
Annotation process
The annotations were automatically generated during the synthetic document creation process:
- Text Extraction: Ground truth text was extracted from source documents
- Layout Detection: Pangoline generated precise layout information
- ALTO-XML Generation: Layout data was formatted according to ALTO v4.3 standard
- Coordinate Scaling: Coordinates were adjusted for optimal training
Annotation Format
The dataset uses ALTO-XML (Analyzed Layout and Text Object) format, which includes:
- Page-level metadata: Dimensions, language, measurement units
- Text blocks: Hierarchical organization of text content
- Text lines: Individual line-level annotations
- Coordinate information: Precise bounding boxes and baselines
- Content strings: Actual text content for each element
Bias, Risks, and Limitations
Potential Biases
- Font Bias: Synthetic generation may favor certain font styles or rendering approaches
- Layout Patterns: Generated layouts may not fully represent the diversity of real Yiddish documents
- Text Content: The Yiddish Translation of the TaNaKh by Yehoyesh Shloyme Blumgarten, Yiddish New Testament, https://github.com/New-Languages-for-NLP/yiddish
Risks and Limitations
- Synthetic Nature: Models trained on this data may not generalize perfectly to real-world documents
- Domain Specificity: Performance may vary across different document types and styles
- Language Coverage: Focuses specifically on Yiddish text recognition
Recommendations
- Validation: Always validate model performance on real Yiddish documents
- Data Augmentation: Consider combining with real document data when available
- Cross-Domain Testing: Test models across different document types and sources
- Regular Updates: Consider periodic updates with new synthetic data
Citation
If you use this dataset, please cite it as follows:
@dataset{yiddish_synthetic_pangoline_2025,
title={Yiddish Synthetic Pangoline Dataset},
author={John Locke Jr.},
year={2025},
url={https://huggingface.co/datasets/johnlockejrr/yid_synth_pangoline},
note={Synthetic Yiddish document dataset generated using custom Pangoline implementation}
}
Glossary
- ALTO-XML: Analyzed Layout and Text Object XML format for describing document layout and content
- Pangoline: Text-to-image synthesis tool for generating document images
- OCR: Optical Character Recognition - technology for converting images of text into machine-readable text
- Synthetic Data: Artificially generated data used for training machine learning models
More Information
Technical Details
- Image Resolution: Optimized for OCR training (typically 1060x1500 pixels)
- Text Encoding: UTF-8 with proper Yiddish character support
- Coordinate System: Pixel-based coordinates in ALTO-XML format
- File Organization: Each sample consists of three files with matching basenames
Usage Examples
from datasets import load_dataset
# Load the dataset
dataset = load_dataset("johnlockejrr/yid_synth_pangoline")
# Access training data
train_data = dataset["train"]
print(f"Training samples: {len(train_data)}")
# Example usage
sample = train_data[0]
image = sample["image"]
text = sample["text"]
xml = sample["xml"]
Related Work
This dataset builds upon research in:
- Synthetic data generation for OCR
- Yiddish text processing and recognition
- Document layout analysis
- Multilingual OCR systems
Dataset Card Authors
- John Locke Jr. - Dataset creator and curator
Dataset Card Contact
- Repository: https://huggingface.co/datasets/johnlockejrr/yid_synth_pangoline
- Issues: Please report any issues or questions through the Hugging Face dataset repository
This dataset card was created to provide comprehensive information about the Yiddish Synthetic Pangoline Dataset. For questions or contributions, please refer to the dataset repository.
- Downloads last month
- 241