CWB is a collection of open-source tools for managing and querying large text corpora (ranging from 10 million to 2 billion words) with linguistic annotations. Its central component is the flexible and efficient query processor CQP. (Citation: homepage)

APIs in Perl, C, Python, R and via CQPweb web interface (http://cwb.sourceforge.net/doc_perl.php)