The function get.kRp.env returns information on your session environment regarding the koRpus package,
e.g.
where your local TreeTagger installation resides, if it was set before using
set.kRp.env.
get.kRp.env(..., errorIfUnset = TRUE)A character string or list, possibly including:
Path information for the TreeTagger command
The specified language
A list with options for treetag
The specified hyphenation cache file for hyphen
Named parameters to get from the koRpus environment. Valid arguments are:
Logical, whether the set tagger command should be returned.
Logical, whether the set language should be returned.
Logical,
whether the set TT.options for treetag should be returned.
Logical,
whether the set hyphenation cache file for hyphen should be returned.
Logical, whether tag descriptions should be added directly to tagged text objects.
Logical, if TRUE and the desired property is not set at all,
the function will fail with an error message.
For the most part,
get.kRp.env is a convenient wrapper for getOption.
set.kRp.env
set.kRp.env(lang="en")
get.kRp.env(lang=TRUE)
Run the code above in your browser using DataLab