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