Description Details Author(s) References
This package contains classes and functions to support text analysis of Shakespeare's plays. The package is based on the XML encoding of the plays created by Jon Bosak and available, for example, from http://www.ibiblio.org/xml/examples/shakespeare/.
The package also is an example of an interface from R to Python using the XR interface structure described in the book Extending R.
The structure and tools occupy a middle ground between the highly recursive format of XML and the unstructured text typically used in Python natural language tools. Functions and classes in the package “flatten” the XML structure to make analysis in R easier, while retaining structural information about acts, scenes and speakers.
John M. Chambers
Chambers, John M. (2016) Extending R, Chapman & Hall/CRC.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.