Skip to content

interjection = F does not provide repression of interjections #10

@ToadyToadyToady

Description

@ToadyToadyToady

Hi,
I would like to inform you,
when I created a partition

coi_cdu <- partition("GERMAPARL",
                   parliamentary_group = "CDU/CSU",
                   year  = 1996:2000,
                   interjection= F,
                   encoding = "latin1",
                   p_attribute = c("word", "pos"),
                   role = c("mp", "government"))

and use kwic() and cooccurrences()

kwic(coi_cdu, query = '".*[Ss]taatsbürger.*"', regex = T, cqp = T)

cooccurrences(coi_cdu, query = '".*[Ss]taatsbürger.*"', # vary the query
              cqp = T,
              regex = T) %>%
  subset(count_coi >= 4) %>%
  subset(ll >= 10.83) %>%
  subset(pos %in% c("ADJA", "VVFIN", "VVINF", "VVIZU", "VVPP", "NN", "APPRART", "ART")) %>%
  subset(!word %in% c("''", ",", "``", ":", "[", "]", ")", "(")) %>%
  dotplot(cex = 0.8)

one can search for Beifall as a collocation although interjections are excluded. Actually, the interjection is included. I think it is an OCR error but im not sure. The same result occurs when using interjection = F within kwic() and cooccurrences() to guarantee the argument is given.

Kind regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions