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

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `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

Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.