Module io.annot8.components.text
Class DetectLanguageSettings
- java.lang.Object
-
- io.annot8.components.text.processors.settings.DetectLanguageSettings
-
- All Implemented Interfaces:
io.annot8.core.settings.Settings
public class DetectLanguageSettings extends java.lang.Object implements io.annot8.core.settings.Settings
-
-
Constructor Summary
Constructors Constructor Description DetectLanguageSettings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<com.optimaize.langdetect.profiles.LanguageProfile>getLanguageProfiles()com.optimaize.langdetect.ngram.NgramExtractorgetNgramExtractor()com.optimaize.langdetect.text.TextObjectFactorygetTextObjectFactory()voidsetLanguageProfiles(java.util.List<com.optimaize.langdetect.profiles.LanguageProfile> languageProfiles)voidsetNgramExtractor(com.optimaize.langdetect.ngram.NgramExtractor ngramExtractor)voidsetTextObjectFactory(com.optimaize.langdetect.text.TextObjectFactory textObjectFactory)booleanvalidate()
-
-
-
Method Detail
-
validate
public boolean validate()
- Specified by:
validatein interfaceio.annot8.core.settings.Settings
-
getLanguageProfiles
public java.util.List<com.optimaize.langdetect.profiles.LanguageProfile> getLanguageProfiles()
-
setLanguageProfiles
public void setLanguageProfiles(java.util.List<com.optimaize.langdetect.profiles.LanguageProfile> languageProfiles)
-
getNgramExtractor
public com.optimaize.langdetect.ngram.NgramExtractor getNgramExtractor()
-
setNgramExtractor
public void setNgramExtractor(com.optimaize.langdetect.ngram.NgramExtractor ngramExtractor)
-
getTextObjectFactory
public com.optimaize.langdetect.text.TextObjectFactory getTextObjectFactory()
-
setTextObjectFactory
public void setTextObjectFactory(com.optimaize.langdetect.text.TextObjectFactory textObjectFactory)
-
-