Example #1
0
 public static Annotation getContainedProperName(Annotation np, Document doc) {
   Annotation cont = ContainsProperName.getValue(np, doc);
   if (cont.getId() < 0) return null;
   else return cont;
 }
Example #2
0
 public static boolean containsProperName(Annotation np, Document doc) {
   Annotation cont = ContainsProperName.getValue(np, doc);
   if (cont.getId() < 0) return false;
   else return true;
 }