use of zemberek.core.turkish.RootAttribute in project zemberek-nlp by ahmetaa.
the class DictionaryItem method printAttributes.
private void printAttributes(StringBuilder sb, EnumSet<RootAttribute> attrs) {
if (attrs != null && !attrs.isEmpty()) {
sb.append("; A:");
} else {
return;
}
int i = 0;
for (RootAttribute attribute : attrs) {
sb.append(attribute.name());
if (i++ < attrs.size() - 1) {
sb.append(", ");
}
}
sb.append("]");
}
Aggregations