
Last chance! 50% off unlimited learning
Sale ends in
Plot method for S4 objects of class kRp.tagged
,
plots the frequencies of tagged word classes.
plot(x, y, ...)# S4 method for kRp.tagged,missing
plot(x, what = "wclass", ...)
An object of class kRp.tagged
From the generic plot
function, ignored for koRpus class objects.
Any other argument suitable for plot()
Character string, valid options are:
"wclass"
:Barplot of distribution of word classes
"letters"
:Line plot of distribution of word length in letters
# NOT RUN {
tagged.results <- treetag("~/my.data/sample_text.txt", treetagger="manual", lang="en",
TT.options=list(path="~/bin/treetagger", preset="en"))
plot(tagged.results)
# }
Run the code above in your browser using DataLab