Closed nilsreiter closed 5 years ago
Root cause are utterances without speaker assignments. E.g., line 1976 in ksd1.0.UtterancesWithTokens
.
This can be fixed after loading with this line:
drama$text <- drama$text[!is.na(bad$text$Speaker.figure_id),]
This:
library(DramaAnalysis)
drama <- loadDrama("ksd1.0", defaultCollection = "qd")
drama$text <- drama$text[!is.na(drama$text$Speaker.figure_id),]
presence(drama)
works well (but some utterances are skipped)
This is a duplicate of #157
Works well:
doesn't work:
Error message:
Discovered by @pagelj