Learn R Programming

koRpus (version 0.04-40)

get.kRp.env: Get koRpus session environment

Description

The function get.kRp.env returns information on your session environment regarding the koRpus package, e.g. A function to get information on your koRpus environment

Usage

get.kRp.env(TT.cmd = FALSE, lang = FALSE,
    TT.options = FALSE)

Arguments

TT.cmd
Logical, whether the set tagger command should be returned.
lang
Logical, whether the set language should be returned.
TT.options
Logical, whether the set TT.options for treetag should be returned.

Value

  • A character string or list, possibly including:
  • TT.cmdPath information for the TreeTagger command
  • langThe specified language
  • TT.optionsA list with options for treetag
  • If the desired property is not set at all, the function will fail with an error message.

Details

where your local TreeTagger installation resides, if it was set before using set.kRp.env.

See Also

set.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