Package org.apache.solr.update.processor
Class DetectedLanguage
java.lang.Object
org.apache.solr.update.processor.DetectedLanguage
Bean holding a language and a detection certainty
-
Method Summary
Modifier and TypeMethodDescriptionReturns the detected certainty for this languageReturns the detected language code
-
Method Details
-
getLangCode
Returns the detected language code- Returns:
- language code as a string
-
getCertainty
Returns the detected certainty for this language- Returns:
- certainty as a value between 0.0 and 1.0 where 1.0 is 100% certain
-