Package opennlp.tools.sentdetect.lang

# Class Factory

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

public class Factory extends Object

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final char[]`
  `defaultEosCharacters`
  `static final char[]`
  `jpnEosCharacters`
  `static final char[]`
  `ptEosCharacters`
  `static final char[]`
  `thEosCharacters`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Factory()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `EndOfSentenceScanner`
  `createEndOfSentenceScanner(char[] customEOSCharacters)`
  `EndOfSentenceScanner`
  `createEndOfSentenceScanner(String languageCode)`
  `SDContextGenerator`
  `createSentenceContextGenerator(String languageCode)`
  `SDContextGenerator`
  `createSentenceContextGenerator(String languageCode, Set<String> abbreviations)`
  `SDContextGenerator`
  `createSentenceContextGenerator(Set<String> abbreviations, char[] customEOSCharacters)`
  `char[]`
  `getEOSCharacters(String languageCode)`

  ### Methods inherited from class java.lang.Object

  `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## 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)