@Override
 protected TextAnnotation makeTextAnnotation() throws Exception {
   return taBuilder.createTextAnnotation(fileId, "1", newFileText.toString());
 }
コード例 #2
0
 @Override
 public void labelData() {
   textAnnotation = tab.createTextAnnotation(data);
   nerAnnotator.addView(textAnnotation);
   view = textAnnotation.getView(nerAnnotator.getViewName());
 }