Class LanguageDetectorFactory

java.lang.Object
opennlp.tools.util.BaseToolFactory
opennlp.tools.langdetect.LanguageDetectorFactory

public class LanguageDetectorFactory extends BaseToolFactory
Default factory used by LanguageDetector.

Extend this class to change the Language Detector behaviour, such as the LanguageDetectorContextGenerator. The default DefaultLanguageDetectorContextGenerator will use char n-grams of size 1 to 3 and the following normalizers: