[CWB] CEQL standalone code
Stefan Evert
stefanML at collocations.de
Fri Jul 12 08:48:36 CEST 2013
> I am wondering whether there is any standalone CEQL Parser (in Perl or Php) which I can reuse for our interface (the parallel corpus ParaSol). I have tried teasing out the relevant code from CWB-Web, but did not succeed in getting the code to work properly. Is there maybe an easy way to do this?
Yes, it's part of the Perl-CWB package. Once you've installed the package, see "perldoc CWB::CEQL" for some information, and "perldoc CWB::CEQL::Parser" for an intimidating description of how the grammar formalism works (rules are Perl subroutines).
The SYNOPSIS section of the CWB::CEQL manpage should give you a working baseline CEQL parser.
Best wishes,
Stefan
More information about the CWB
mailing list