powered by
Plot method for S4 objects of class kRp.tagged-class, plots the frequencies of tagged word classes.
kRp.tagged-class
plot(x, y, ...)# S4 method for kRp.tagged,missing plot(x, what = "wclass", ...)
# S4 method for kRp.tagged,missing plot(x, what = "wclass", ...)
An object of class kRp.tagged
kRp.tagged
From the generic plot function, ignored for koRpus class objects.
plot
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