Package org.mitre.jcarafe.util

Examples of org.mitre.jcarafe.util.Annotation.typ()


    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);
  }
   
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.