Description Usage Details Python Functions
[Python Documentation] Return a list of the speeches in the XML object "play". Each element of the list is an object of class "Speech" with fields "title", "act", "scene" and "data" (the list of lines of text in the speech). The argument can alternatively be an Act or Scene object to obtain a list of speeches from just that act or scene.
1 | getSpeeches_Python(..., .ev = XRPython::RPython(), .get = NA)
|
The argument "tokens" determines whether the original text or a list of tokens is returned; if it is True, the argument "tokenCase" determines whether upper/lower case is distinguished in the tokesn.
getSpeeches(play, tokens =, tokenCase =)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.