@Test public void testDoubleQuotes() throws IOException { TurkishSentenceExtractor e = TurkishSentenceExtractor .builder() .doNotSplitInDoubleQuotes() .useDefaultModel().build(); Assert.assertEquals( "\"Merhaba! Bugün hava çok güzel. Ne dersin?\" dedi tavşan.|Havucu kemirirken.", markBoundariesParagraph( e, "\"Merhaba! Bugün hava çok güzel. Ne dersin?\" dedi tavşan. Havucu kemirirken.")); Assert.assertEquals( "\"Buna hakkı yok!\" diye öfkeyle konuşmaya başladı Baba Kurt.", markBoundariesParagraph( e, "\"Buna hakkı yok!\" diye öfkeyle konuşmaya başladı Baba Kurt.")); }
public static Builder builder() { return new Builder(); }
TurkishSentenceExtractor extends PerceptronSegmenter { public static Builder builder() { return new Builder(); } }
TurkishSentenceExtractor extends PerceptronSegmenter { public static Builder builder() { return new Builder(); } private  TurkishSentenceExtractor(FloatValueMap<String> weights); private  TurkishSentenceExtractor(FloatValueMap<String> weights,
      boolean doNotSplitInDoubleQuotes); }
TurkishSentenceExtractor extends PerceptronSegmenter { public static Builder builder() { return new Builder(); } private  TurkishSentenceExtractor(FloatValueMap<String> weights); private  TurkishSentenceExtractor(FloatValueMap<String> weights,
      boolean doNotSplitInDoubleQuotes); static Builder builder(); List<String> fromParagraphs(Collection<String> paragraphs); List<String> fromParagraph(String paragraph); List<String> fromDocument(String document); char[] getBoundaryCharacters(); }
TurkishSentenceExtractor extends PerceptronSegmenter { public static Builder builder() { return new Builder(); } private  TurkishSentenceExtractor(FloatValueMap<String> weights); private  TurkishSentenceExtractor(FloatValueMap<String> weights,
      boolean doNotSplitInDoubleQuotes); static Builder builder(); List<String> fromParagraphs(Collection<String> paragraphs); List<String> fromParagraph(String paragraph); List<String> fromDocument(String document); char[] getBoundaryCharacters(); static final TurkishSentenceExtractor DEFAULT; }