Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

interjection = F does not provide repression of interjections #10

Open
KevinGlock opened this issue Sep 30, 2019 · 0 comments
Open

interjection = F does not provide repression of interjections #10

KevinGlock opened this issue Sep 30, 2019 · 0 comments

Comments

@KevinGlock
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant