CoolFace
Datasetpublic

r-three/shakespeare-complete-works

Shakespeare Complete Works Dataset This dataset contains the complete works of William Shakespeare, including: The Sonnets (154 sonnets) Plays (Tragedies, Comedies, Histories) Poems Dataset Structure Each entry contains: work: The title of the work section: Specific section (e.g., "Sonnet 1") if applicable text: The actual text content type: Type of work (sonnet, play, poem) id: Unique identifier Usage from datasets import load_dataset dataset… See the full description on the dataset page: https://huggingface.co/datasets/r-three/shakespeare-complete-works.

sourceHugging Facecc0-1.0updated 1y agoView on Hugging Face
0likes149downloads
Dataset Card

Shakespeare Complete Works Dataset

This dataset contains the complete works of William Shakespeare, including:

  • The Sonnets (154 sonnets)
  • Plays (Tragedies, Comedies, Histories)
  • Poems

Dataset Structure

Each entry contains:

  • work: The title of the work
  • section: Specific section (e.g., "Sonnet 1") if applicable
  • text: The actual text content
  • type: Type of work (sonnet, play, poem)
  • id: Unique identifier

Usage

python
from datasets import load_dataset

dataset = load_dataset("r-three/shakespeare-complete-works")

# Access a sonnet
print(dataset['train'][0])

Source

Public domain works by William Shakespeare.

Citation

bibtex