Japec is a JAPE-to-Java compiler, packaged as a processing resource for GATE 3.1+. The processing resource (Ontotext Japec Transducer) is designed as a replacement for the standard JAPE Transducer, provided for optimized performance. The implementation is based on finite state machines and the compiler uses the standard algorithms for determination and minimization in order to achieve better performance. The actual compiler is a standalone executable written in Haskell because it involves complicated algorithms with dynamic data structures. The processing resource wraps the compiler and translates the grammar under the hood.
Japec is proven to be 2 to 5 times faster than the standard JAPE Transducer. The code of Japec is donated to the GATE project and community under the LGPL licence. The GATE team have adopted Japec internally, and are now working with Ontotext to port Japec to Java for release 4 of the system.
Current version, Japec v0.2 (3 Mar 2006): Source, Binary.
Presentation: JapecPres.pdf
Japec is an open-source project. Please, read Japec's Licence Agreement.