Package com.yahoo.language.opennlp
Class LanguageDetectorFactory
java.lang.Object
opennlp.tools.util.BaseToolFactory
opennlp.tools.langdetect.LanguageDetectorFactory
com.yahoo.language.opennlp.LanguageDetectorFactory
public class LanguageDetectorFactory
extends opennlp.tools.langdetect.LanguageDetectorFactory
Overrides the UrlCharSequenceNormalizer, which has a bad regex, until fixed: https://issues.apache.org/jira/browse/OPENNLP-1350
- Author:
- jonmv
-
Field Summary
Fields inherited from class opennlp.tools.util.BaseToolFactory
artifactProvider
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionopennlp.tools.langdetect.LanguageDetectorContextGenerator
Methods inherited from class opennlp.tools.langdetect.LanguageDetectorFactory
create, init, validateArtifactMap
Methods inherited from class opennlp.tools.util.BaseToolFactory
create, create, createArtifactMap, createArtifactSerializersMap, createManifestEntries, init
-
Constructor Details
-
LanguageDetectorFactory
public LanguageDetectorFactory()
-
-
Method Details
-
getContextGenerator
public opennlp.tools.langdetect.LanguageDetectorContextGenerator getContextGenerator()- Overrides:
getContextGenerator
in classopennlp.tools.langdetect.LanguageDetectorFactory
-