Annotation[] annots = decoderPipeline.processRawStringAsAnnotList(s);
List<LightAnnot> alist = new ArrayList<LightAnnot>();
int i = 0;
for (i = 0; i < annots.length; i++) {
Annotation ann = annots[i];
alist.add(new LightAnnot(ann.st(),ann.en(),ann.typ().toString()));
}
return (alist);
}
}