inst/pickle/speeches/README.md

Pickle Versions of Speech Text

This directory contains serialized (Python "pickle"d) versions of the list of speeches for the plays, indexed by the keys used for the XML files.

When the speeches for a play are generated, in plain text, for a play, the list of Speech objects is serialized to this directory, provided it doesn't already exist there and provided that the user has permission to store the file.

The serialized file will automatically be unserialized when getSpeeches() is called again in a subsequent R session for the corresponding play, avoiding having to scan the XML tree repeatedly.

(Regardless of permissions, parsed plays are stored for the current session in .playsTable)



johnmchambers/shakespeare documentation built on May 19, 2019, 5:16 p.m.