Ejemplo n.º 1
0
 private Thing getParentFromPreposition(CSVEntry csvEntry) {
   if ("text".equals(csvEntry.getNature())) {
     return new Entity("text");
   } else {
     return new Entity(classesEntity, "ideograph", Collections.emptyList());
   }
 }
Ejemplo n.º 2
0
 private boolean descriptionNeedsSpecialHandling(CSVEntry nature) {
   return "text".equals(nature.getNature()) || nature.getDescription().contains("ideograph");
 }