corpusStats,KorAPConnection-method {RKorAPClient} | R Documentation |
Fetch information about a (virtual) corpus
Description
Fetch information about a (virtual) corpus
Usage
## S4 method for signature 'KorAPConnection'
corpusStats(kco, vc = "", verbose = kco@verbose, as.df = FALSE)
Arguments
kco |
|
vc |
string describing the virtual corpus. An empty string (default) means the whole corpus, as far as it is license-wise accessible. |
verbose |
logical. If |
as.df |
return result as data frame instead of as S4 object? |
Value
KorAPCorpusStats
object with the slots documents
, tokens
, sentences
, paragraphs
Examples
## Not run:
kco <- new("KorAPConnection")
corpusStats(kco, "pubDate in 2017 & textType=/Zeitung.*/")
## End(Not run)
[Package RKorAPClient version 0.8.1 Index]