@Test public void shouldCalculatePhoneticAttributesForWordsEndingWithArabicAyn() { assertThat(EnumSet.of(FLC, LLC, LVU, LVF, LLNotVless), equalTo(phoneticsAnalyzer.calculatePhoneticAttributes(new TurkishSequence("cami"), EnumSet.of(LexemeAttribute.EndsWithAyn)))); assertThat(EnumSet.of(FLC, LLC, LVR, LVB, LLNotVless), equalTo(phoneticsAnalyzer.calculatePhoneticAttributes(new TurkishSequence("mevzu"), EnumSet.of(LexemeAttribute.EndsWithAyn)))); }
public EnumSet<PhoneticAttribute> calculatePhoneticAttributes(final String surface, Collection<LexemeAttribute> lexemeAttributes) { return this.calculatePhoneticAttributes(new TurkishSequence(surface), lexemeAttributes); }
PhoneticsAnalyzer { public EnumSet<PhoneticAttribute> calculatePhoneticAttributes(final String surface, Collection<LexemeAttribute> lexemeAttributes) { return this.calculatePhoneticAttributes(new TurkishSequence(surface), lexemeAttributes); } }
PhoneticsAnalyzer { public EnumSet<PhoneticAttribute> calculatePhoneticAttributes(final String surface, Collection<LexemeAttribute> lexemeAttributes) { return this.calculatePhoneticAttributes(new TurkishSequence(surface), lexemeAttributes); }  }
PhoneticsAnalyzer { public EnumSet<PhoneticAttribute> calculatePhoneticAttributes(final String surface, Collection<LexemeAttribute> lexemeAttributes) { return this.calculatePhoneticAttributes(new TurkishSequence(surface), lexemeAttributes); }  EnumSet<PhoneticAttribute> calculatePhoneticAttributes(final String surface, Collection<LexemeAttribute> lexemeAttributes); EnumSet<PhoneticAttribute> calculatePhoneticAttributes(final TurkishSequence surface, Collection<LexemeAttribute> lexemeAttributes); ImmutableSet<PhoneticAttribute> calculateNewPhoneticAttributes(Set<PhoneticAttribute> phoneticAttributes, char charToApply); ImmutableSet<PhoneticAttribute> calculateNewPhoneticAttributes(ImmutableSet<PhoneticAttribute> phoneticAttributes, String suffixForm); }
PhoneticsAnalyzer { public EnumSet<PhoneticAttribute> calculatePhoneticAttributes(final String surface, Collection<LexemeAttribute> lexemeAttributes) { return this.calculatePhoneticAttributes(new TurkishSequence(surface), lexemeAttributes); }  EnumSet<PhoneticAttribute> calculatePhoneticAttributes(final String surface, Collection<LexemeAttribute> lexemeAttributes); EnumSet<PhoneticAttribute> calculatePhoneticAttributes(final TurkishSequence surface, Collection<LexemeAttribute> lexemeAttributes); ImmutableSet<PhoneticAttribute> calculateNewPhoneticAttributes(Set<PhoneticAttribute> phoneticAttributes, char charToApply); ImmutableSet<PhoneticAttribute> calculateNewPhoneticAttributes(ImmutableSet<PhoneticAttribute> phoneticAttributes, String suffixForm);  }