Auxiliary function to detect whether GERMAPARL is installed or not.
germaparl_is_installed(
registry_dir = Sys.getenv("CORPUS_REGISTRY"),
sample = FALSE
)
Path to the registry directory.
A logical
value. If FALSE
(default), the
GERMAPARL corpus will be used, if TRUE
, the GERMAPARLSAMPLE corpus
will be used.
TRUE
if the corpus has been installed, and FALSE
if not.
See the examples section of the overview documentation of the GermaParl package for an example.