Get terms in partition or corpus.
Get terms in partition
or corpus.
## S4 method for signature 'slice' terms(x, p_attribute, regex = NULL, ...) ## S4 method for signature 'partition' terms(x, p_attribute, regex = NULL, ...) ## S4 method for signature 'subcorpus' terms(x, p_attribute, regex = NULL, ...) ## S4 method for signature 'character' terms(x, p_attribute, regex = NULL, robust = FALSE, ...)
x |
an atomic |
p_attribute |
the p-attribute to be analyzed |
regex |
regular expression(s) to filter results |
... |
for backward compatibility |
robust |
logical, whether to check for potential failures |
use("polmineR") session <- partition("GERMAPARLMINI", date = "2009-10-27") words <- terms(session, "word") terms(session, p_attribute = "word", regex = "^Arbeit.*") terms(session, p_attribute = "word", regex = c("Arbeit.*", ".*arbeit")) terms("GERMAPARLMINI", p_attribute = "word") terms("GERMAPARLMINI", p_attribute = "word", regex = "^Arbeit.*")
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.