Class Factory

java.lang.Object
opennlp.tools.sentdetect.lang.Factory

public class Factory extends Object
  • Field Details

    • ptEosCharacters

      public static final char[] ptEosCharacters
    • defaultEosCharacters

      public static final char[] defaultEosCharacters
    • thEosCharacters

      public static final char[] thEosCharacters
    • jpnEosCharacters

      public static final char[] jpnEosCharacters
  • Constructor Details

    • Factory

      public Factory()
  • Method Details

    • createEndOfSentenceScanner

      public EndOfSentenceScanner createEndOfSentenceScanner(String languageCode)
    • createEndOfSentenceScanner

      public EndOfSentenceScanner createEndOfSentenceScanner(char[] customEOSCharacters)
    • createSentenceContextGenerator

      public SDContextGenerator createSentenceContextGenerator(String languageCode, Set<String> abbreviations)
    • createSentenceContextGenerator

      public SDContextGenerator createSentenceContextGenerator(Set<String> abbreviations, char[] customEOSCharacters)
    • createSentenceContextGenerator

      public SDContextGenerator createSentenceContextGenerator(String languageCode)
    • getEOSCharacters

      public char[] getEOSCharacters(String languageCode)