blob: 701e2d56cd3d20a3e10405b56e6a636bb299bb37 [file] [log] [blame]
PACKAGE uima.ruta.example;
// import the types of this type system:
TYPESYSTEM types.BibtexTypeSystem;
// simpified rules for extracting the title
DECLARE TitleStopper;
PM W{REGEXP("in", true) -> MARK(TitleStopper)};
// annotate everything between the Author (and an optional a punctation mark) and
Author PM? ANY+?{-> MARK(Title)} TitleStopper;