Package org.alfresco.solr.query
Class AbstractQParser.DetectedLanguage
- java.lang.Object
-
- org.alfresco.solr.query.AbstractQParser.DetectedLanguage
-
- Enclosing class:
- AbstractQParser
public class AbstractQParser.DetectedLanguage extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.DoublegetCertainty()Returns the detected certainty for this languagejava.lang.StringgetLangCode()Returns the detected language code
-
-
-
Method Detail
-
getLangCode
public java.lang.String getLangCode()
Returns the detected language code- Returns:
- language code as a string
-
getCertainty
public java.lang.Double 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
-
-