org.apache.solr.update.processor
Class DetectedLanguage

java.lang.Object
  extended by 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


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