germaparl_get_version: Get GERMAPARL version

Description Usage Arguments Value See Also

View source: R/GermaParl.R

Description

germaparl_get_version is an auxiliary function that extracts the version of the GERMAPARL corpus from the registry.

Usage

1
2
3
4
germaparl_get_version(
  registry_dir = Sys.getenv("CORPUS_REGISTRY"),
  sample = FALSE
)

Arguments

registry_dir

Path to the registry directory.

sample

If TRUE, work with GERMAPARLSAMPLE corpus, if FALSE (default), use GERMAPARL corpus.

Value

The return value is the version of the corpus (class numeric_version). If the corpus has not yet been installed, NULL is returned, and a warning message is issued.

See Also

See the examples section of the overview documentation of the GermaParl package for an example.


GermaParl documentation built on Oct. 23, 2020, 8:27 p.m.