Class BreakIteratorSentenceSplitter

java.lang.Object
smile.nlp.tokenizer.BreakIteratorSentenceSplitter
All Implemented Interfaces:
SentenceSplitter

public class BreakIteratorSentenceSplitter extends Object implements SentenceSplitter
A sentence splitter based on the java.text.BreakIterator, which supports multiple natural languages (selected by locale setting).
  • Constructor Details

    • BreakIteratorSentenceSplitter

      public BreakIteratorSentenceSplitter()
      Constructor for the default locale.
    • BreakIteratorSentenceSplitter

      public BreakIteratorSentenceSplitter(Locale locale)
      Constructor for the given locale.
      Parameters:
      locale - the locale.
  • Method Details