public class LanguageDetectorFactory extends BaseToolFactory
LanguageDetectorContextGenerator.
 The default DefaultLanguageDetectorContextGenerator will use char n-grams of
 size 1 to 3 and the following normalizers:
 | Constructor and Description | 
|---|
| LanguageDetectorFactory() | 
| Modifier and Type | Method and Description | 
|---|---|
| static LanguageDetectorFactory | create(String subclassName) | 
| LanguageDetectorContextGenerator | getContextGenerator() | 
| void | init() | 
| void | validateArtifactMap()Validates the parsed artifacts. | 
create, create, createArtifactMap, createArtifactSerializersMap, createManifestEntriespublic LanguageDetectorContextGenerator getContextGenerator()
public static LanguageDetectorFactory create(String subclassName) throws InvalidFormatException
InvalidFormatExceptionpublic void init()
public void validateArtifactMap()
                         throws InvalidFormatException
BaseToolFactoryInvalidFormatException.
 Note:
 Subclasses should generally invoke super.validateArtifactMap at the beginning
 of this method.validateArtifactMap in class BaseToolFactoryInvalidFormatExceptionCopyright © 2018 The Apache Software Foundation. All rights reserved.