GATE application code snippets

Post your GATE application code snippets here. These will typically be JAPE annotation rules. (GATE source code is available at the GATE site.) Code posted here is understood to be free and freely usable, with attribution required where that matters, but without warranty.

Edit this page and insert code via a linked page behind descriptive text that you insert below. Use the "page link wizard" icon and follow the instructions. Please post only tested, working code; this page isn't for collaborative development. And thanks for sharing!

Iterate through a set of items within an annotation and annotate each one with the same information (Diana Maynard).

Find an annotation of one type and copy modified versions of its features to all contained annotations of a specified type (Diana Maynard)

Using a regular expression on content of an annotation to add a new annotation (Thomas Heitz)

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License