public String formatOnlyIgs() { StringBuilder sb = new StringBuilder(); for (InflectionalGroup ig : inflectionalGroups) { sb.append(ig.formatNoSurface()); } return sb.toString(); }
public String formatNoSurface() { StringBuilder sb = new StringBuilder("[(").append(dictionaryItem.lemma).append(") "); for (InflectionalGroup ig : inflectionalGroups) { sb.append(ig.formatNoSurface()); } sb.append("]"); return sb.toString(); }