@Test public void shouldFormatWithDerivationGrouping() { { final MorphemeContainer result = getFirstParseResult("kitaba"); assertThat(MorphemeContainerFormatter.formatMorphemeContainerWithDerivationGrouping(result), equalTo("(1,\"kitap+Noun+A3sg+Pnon+Dat\")")); } { final MorphemeContainer result = getFirstParseResult("yaptırtmayı"); assertThat(MorphemeContainerFormatter.formatMorphemeContainerWithDerivationGrouping(result), equalTo("(1,\"yap+Verb\")(2,\"Verb+Caus\")(3,\"Verb+Caus+Pos\")(4,\"Noun+Inf+A3sg+Pnon+Acc\")")); } { final MorphemeContainer result = getFirstParseResult("kitaba"); assertThat(MorphemeContainerFormatter.formatMorphemeContainerWithDerivationGrouping(result, false), equalTo("(\"kitap+Noun+A3sg+Pnon+Dat\")")); } { final MorphemeContainer result = getFirstParseResult("yaptırtmayı"); assertThat(MorphemeContainerFormatter.formatMorphemeContainerWithDerivationGrouping(result, false), equalTo("(\"yap+Verb\")(\"Verb+Caus\")(\"Verb+Caus+Pos\")(\"Noun+Inf+A3sg+Pnon+Acc\")")); } }
public static String formatMorphemeContainerWithDerivationGrouping(MorphemeContainer morphemeContainer) { return formatMorphemeContainerWithDerivationGrouping(morphemeContainer, true); }
MorphemeContainerFormatter { public static String formatMorphemeContainerWithDerivationGrouping(MorphemeContainer morphemeContainer) { return formatMorphemeContainerWithDerivationGrouping(morphemeContainer, true); } }
MorphemeContainerFormatter { public static String formatMorphemeContainerWithDerivationGrouping(MorphemeContainer morphemeContainer) { return formatMorphemeContainerWithDerivationGrouping(morphemeContainer, true); }  }
MorphemeContainerFormatter { public static String formatMorphemeContainerWithDerivationGrouping(MorphemeContainer morphemeContainer) { return formatMorphemeContainerWithDerivationGrouping(morphemeContainer, true); }  static String formatMorphemeContainer(final MorphemeContainer morphemeContainer); @SuppressWarnings("UnusedDeclaration") static Collection<String> formatMorphemeContainers(final Collection<MorphemeContainer> morphemeContainers); static List<String> formatMorphemeContainers(final List<MorphemeContainer> morphemeContainers); static String formatMorphemeContainerWithForms(final MorphemeContainer morphemeContainer); static String formatMorphemeContainerWithDerivationGrouping(MorphemeContainer morphemeContainer); static String formatMorphemeContainerWithDerivationGrouping(MorphemeContainer morphemeContainer, boolean addIndices); static String formatMorphemeContainerDetailed(MorphemeContainer morphemeContainer); static Collection<String> formatMorphemeContainersWithDerivationGrouping(Collection<MorphemeContainer> morphemeContainers); }
MorphemeContainerFormatter { public static String formatMorphemeContainerWithDerivationGrouping(MorphemeContainer morphemeContainer) { return formatMorphemeContainerWithDerivationGrouping(morphemeContainer, true); }  static String formatMorphemeContainer(final MorphemeContainer morphemeContainer); @SuppressWarnings("UnusedDeclaration") static Collection<String> formatMorphemeContainers(final Collection<MorphemeContainer> morphemeContainers); static List<String> formatMorphemeContainers(final List<MorphemeContainer> morphemeContainers); static String formatMorphemeContainerWithForms(final MorphemeContainer morphemeContainer); static String formatMorphemeContainerWithDerivationGrouping(MorphemeContainer morphemeContainer); static String formatMorphemeContainerWithDerivationGrouping(MorphemeContainer morphemeContainer, boolean addIndices); static String formatMorphemeContainerDetailed(MorphemeContainer morphemeContainer); static Collection<String> formatMorphemeContainersWithDerivationGrouping(Collection<MorphemeContainer> morphemeContainers);  }