DetectedLanguage (Solr 3.6.2 API)
Keywords: org.apache.solr.update.processor.DetectedLanguage class

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.solr.update.processor
Class DetectedLanguage

    java.lang.Object
      org.apache.solr.update.processor.DetectedLanguage

    public class DetectedLanguage

extends Object

Bean holding a language and a detection certainty

Method Summary
`Double` | `getCertainty()` Returns the detected certainty for this language
`String` | `getLangCode()` Returns the detected language code

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Method Detail

### getLangCode

    public String getLangCode()

  Returns the detected language code

  Returns:
    language code as a string

### getCertainty

    public 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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD