searchSpeeches: List of Lines Matching Specified Text in a List of Speeches

Description Usage Python Functions

Description

[Python Documentation] Given a character string, text, and a list of speeches, returns a parallel list each element of which is the list of matching lines in the speech, as returned by the findText() method. The arguments token and ignoreCase are passed to that method. If token is True, the match will be against the word tokens constructed for the speech list when the corresponding play was intialized. Otherwise the match is against the text of the lines. The default for argument ignoreCase is True if tokens is True else False.

Usage

1
searchSpeeches(..., .ev = XRPython::RPython(), .get = NA)

Python Functions

searchSpeeches(text, speeches, tokens =, ignoreCase =)


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