Arguments
txt.file
A character vector pointing to the file with the text to be analyzed.
udhr.path
A character string,
either pointing to the directory where you unzipped the translations of the
Universal Declaration of Human Rights, or to the ZIP file containing them.
comp.length
Numeric value,
giving the number of characters to be used of txt
to estimate the language.
keep.udhr
Logical,
whether all the UDHR translations should be kept in the resulting object.
quiet
Logical. If FALSE
, short status messages will be shown.
in.mem
Logical. If TRUE
,
the gzip compression will remain in memory (using memCompress
), which
is probably the faster method. Otherwise temporary files are created and automatically removed on exit.
format
Either "file" or "obj". If the latter,
txt.file
is not interpreted as a file path but the text to analyze itself.