Пример #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;
 }
Пример #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;
 }