Some steps for encoding corpora can be performed by calling CWB utilities from the command line, which requires an installation of the CWB, either as part of the CWB package, or using the default installation location of the CWB.
cwb_install(url_cwb = cwb_get_url())cwb_get_url()
cwb_get_bindir()
cwb_is_installed()
The URL from where the CWB can be downloaded.
cwb_get_url
will return the URL for downloading the
appropriate binary (Linux / macOS / Windows) of the Corpus Workbench.
cwb_get_bindir
will return the directory where the cwb
utility programs reside. If cwb_install()
has been used to install
the CWB, the function returns the directory within the cwbtools
package. Alternatively, a check for a local installation is performed.
cwb_is_installed
will check whether the CWB is installed.