The CWB/Perl API and tools
The CWB/Perl API is a complete, officially supported API for the IMS Open Corpus Workbench, which can be installed from CPAN or downloaded here.
All CWB users are encouraged to install the CWB/Perl packages, because they include several useful command-line scripts
(cwb-make
, cwb-regedit
) and are required by various Web GUIs (including BNCweb and the Europarl GUI).
However, CWB/Perl is not supported on Windows.
CWB/Perl packages and modules available
The packages/modules included in CWB/Perl are:
- CWB - basic package, includes these additional modules:
- CWB::CEQL - CEQL parser
- CWB::CQP - interface to a child CQP process
- CWB::Encoder - tools for encoding CWB corpora
- CWB::CL - Perl language bindings for the low-level C API of the Corpus Library
- CWB::CQI - client/server libraries for the CQi, includes these modules:
- CWB::CQI::Client - CQi client (reference implementation)
- CWB::CQI::IOClient - alternative CQi client
- CWB::CQI::Server - provides a CQi server
- CWB::Web - basic Web interface for running queries on CWB servers
The latter three require the basic CWB package, but there are no interdependencis among them.
How to install
- Installation instructions are available here
- Information on accessing the modules in the repository is here
Read more
To learn more about CWB/Perl, see:
- The explanation of its advantages in the Corpus Encoding Manual
- https://metacpan.org/dist/CWB - official page for the Perl package on CPAN. The packages' internal documentation can be browsed here.