Skip to content

Data and transformation script overrides for Leaves of Grass TEI

Notifications You must be signed in to change notification settings

whitmanarchive/whitman-leaves_of_grass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Whitman Archive Leaves of Grass Data Repo

This is a data repository designed to work with the CDRH's Datura Ruby gem.

It contains TEI-XML files for seven Leaves of Grass editions. For TEI-XML and scripts specific to the 1855 edition used for the Variorum, please see the Variorum data repository.

Scripts

This repo shares its Ruby gem dependencies with all other Whitman data repos via the Gemfile in the whitman-scripts repo

This repo also has works-related documents which require post-ing with threads: 1 in config/public.yml or config/private.yml to not break writing to ../whitman-scripts/source/json/works_and_items.json

This repo has sub-documents so HTML generation also requires threads: 1

For information about populating the CDRH API or generating HTML views, see Datura's documentation.

Poem identifier

Poems are encoded throughout the editions as <lg type="poem"> and <lg type="cluster">. Most of these poems also carry a unique identifier.

You may run a command to check if there are poems missing an identifier and if any poems have a duplicate identifier.

This command assumes you have Ruby installed. Check .ruby-version to find the preferred version.

bundle install

./scripts/poem_identifier.rb

About

Data and transformation script overrides for Leaves of Grass TEI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages