Description Usage Arguments Value Examples
This function should be called for a single text. It returns a data.frame with one row for each character in the play. The data.frame contains information about the number of scenes in which a character is actively speaking or passively mentions. Please note that the information about passive presence is derived from coreference resolved texts, which is a difficult task and not entirely reliable. The plays included in the package feature manually annotated coreferences (and thus, the presence is calculated on the basis of very well data).
1 |
drama |
A single drama |
passiveOnlyWhenNotActive |
Logical. If true (default), passive presence is only counted if a character is not actively present in the scene. |
QDHasCharacter, data.frame. Columns actives
, passives
and
scenes
show the
absolute number of scenes in which a character is actively/passively present, or the
total number of scenes in the play. The column presence
is calculated as
(actives-passives)/scenes.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.