How grascii/datasets works
This repository packages four Gregg shorthand image datasets and scripts for preparing their labels and publishing them. The user-facing workflow is to provide dictionary sources and an image dataset, normalize dictionary entries, generate image metadata, then load the image folder and push it to Hugging Face. The README identifies the four historical word and phrase collections. The script excerpts establish the preparation and upload behavior; the specific dataset-directory wiring is not shown, so shared script edges represent their parameterized inputs rather than a fixed run configuration.
Main entry points: metadata.py Metadata generator · push.py Dataset uploader · gregg-preanniversary-words Preanniversary words · gregg-preanniversary-phrases Preanniversary phrases
Components 10
Dataset assets
- Preanniversary words
images/gregg-preanniversary-words - Preanniversary phrases
images/gregg-preanniversary-phrases - Anniversary words
images/gregg-anniversary-words - Anniversary phrases
images/gregg-anniversary-phrases - Dictionary sources
dictionaries - Normalized dictionary
dictionaries
Dataset preparation
- Dictionary normalizer
scripts/dictionary.py - Metadata generator
scripts/metadata.py
Publishing
- Dataset uploader
scripts/push.py
Other components
- Hugging Face
Connections 16
- Dictionary normalizer → Dictionary sources: reads sources
scripts/dictionary.py - Dictionary normalizer → Normalized dictionary: builds dictionary
scripts/dictionary.py - Metadata generator → Normalized dictionary: loads entries
scripts/metadata.py - Metadata generator → Preanniversary words: scans images
scripts/metadata.py - Metadata generator → Preanniversary phrases: scans images
scripts/metadata.py - Metadata generator → Anniversary words: scans images
scripts/metadata.py - Metadata generator → Anniversary phrases: scans images
scripts/metadata.py - Metadata generator → Preanniversary words: writes metadata
scripts/metadata.py - Metadata generator → Preanniversary phrases: writes metadata
scripts/metadata.py - Metadata generator → Anniversary words: writes metadata
scripts/metadata.py - Metadata generator → Anniversary phrases: writes metadata
scripts/metadata.py - Dataset uploader → Preanniversary words: loads image folder
scripts/push.py - Dataset uploader → Preanniversary phrases: loads image folder
scripts/push.py - Dataset uploader → Anniversary words: loads image folder
scripts/push.py - Dataset uploader → Anniversary phrases: loads image folder
scripts/push.py - Dataset uploader → Hugging Face: pushes dataset
scripts/push.py