
Last chance! 50% off unlimited learning
Sale ends in
# NOT RUN {
use("polmineR.sampleCorpus")
p <- partition("PLPRBTTXT", list(text_type="speech"))
y <- context(p, query = "Integration", pAttribute = "word")
y <- context(p, query = "Integration", pAttribute = "word", positivelist = "Bildung")
y <- context(
p, query = "Integration", pAttribute = "word",
positivelist = c("[aA]rbeit.*", "Ausbildung"), regex = TRUE
)
# }
Run the code above in your browser using DataLab