Modifier and Type | Method and Description |
---|---|
protected abstract List<DetectedLanguage> |
LanguageIdentifierUpdateProcessor.detectLanguage(Reader solrDocReader)
Detects language(s) from a reader, typically based on some fields in SolrInputDocument
Classes wishing to implement their own language detection module should override this method.
|
protected List<DetectedLanguage> |
OpenNLPLangDetectUpdateProcessor.detectLanguage(Reader solrDocReader) |
protected List<DetectedLanguage> |
LangDetectLanguageIdentifierUpdateProcessor.detectLanguage(Reader solrDocReader)
Detects language(s) from a reader, typically based on some fields in SolrInputDocument
Classes wishing to implement their own language detection module should override this method.
|
protected List<DetectedLanguage> |
TikaLanguageIdentifierUpdateProcessor.detectLanguage(Reader solrDocReader) |
protected List<DetectedLanguage> |
LanguageIdentifierUpdateProcessor.detectLanguage(SolrInputDocument doc)
Detects language(s) from all configured fields
|
Modifier and Type | Method and Description |
---|---|
protected String |
LanguageIdentifierUpdateProcessor.resolveLanguage(List<DetectedLanguage> languages,
String fallbackLang)
Chooses a language based on the list of candidates detected
|
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.