Learn R Programming

koRpus (version 0.04-40)

set.kRp.env: A function to set information on your koRpus environmenton

Description

The function set.kRp.env can be called once before any of the analysing functions. It writes information on your session environment regarding the koRpus package, e.g. path to a local TreeTagger installation, to a hidden environment.

Usage

set.kRp.env(TT.cmd = NULL, lang = NULL,
    TT.options = NULL)

Arguments

TT.cmd
A character string pointing to the tagger command you want to use for basic text analysis, or "manual" if you want to set TT.options as well. Set to "tokenize" to use
lang
A character string specifying a valid language.
TT.options
A list with arguments to be used as TT.options by treetag.

Value

  • Returns an invisible NULL.

Details

To get the contents of the hitten environment, the function get.kRp.env can be used.

See Also

get.kRp.env

Examples

Run this code
set.kRp.env(TT.cmd="~/bin/treetagger/cmd/tree-tagger-german", lang="de")
get.kRp.env(TT.cmd=TRUE)

Run the code above in your browser using DataLab