title: Android SpeechRecognizer "confidence" values are confusing
body: <p>I'm using the SpeechRecognizer via Intent:</p>
  
  <pre><code>Intent i = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);
  i.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL,
          RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);
  
  i.putExtra(RecognizerIntent.EXTRA_PROMPT,
          "straight talk please");
  
  i.putExtra(RecognizerIntent.EXTRA_MAX_RESULTS, 5);
  i.putExtra(RecognizerIntent.EXTRA_LANGUAGE, 
              "en-US";
  
  startActivityForResult(i, 0);
  </code></pre>
  
  <p>And I get the results in onActivityResults() like this:</p>
  
  <pre><code>protected void onActivityResult(int requestCode, int resultCode, Intent data) {
  
      if (requestCode == 0 &amp;&amp; resultCode == RESULT_OK) {
  
          // List with the results from the Voice Recognition API
          ArrayList&lt;String&gt; results = data
                  .getStringArrayListExtra(RecognizerIntent.EXTRA_RESULTS);
  
          // The confidence array
          float[] confidence = data.getFloatArrayExtra(
                  RecognizerIntent.EXTRA_CONFIDENCE_SCORES);
  
          // The confidence results       
          for (int i = 0; i &lt; confidence.length; i++) {
              Log.v("oAR", "confidence[" + i + "] = " + confidence[i]);
          }
      }
  
      super.onActivityResult(requestCode, resultCode, data);
  }
  </code></pre>
  
  <p>But the float array always returns 0.0 as result, but the first element like this:</p>
  
  <pre><code>confidence[0] = any value between 0 and 1
  confidence[1] = 0.0
  confidence[2] = 0.0
  and so on
  </code></pre>
  
  <p>I would expect that every result has a confidence value between 0 and 1. Otherwise it seems pretty useless, because the result with the highest confidence will be the first element by default, without using the <code>EXTRA_CONFIDENCE_SCORES</code>. Is there something I'm missing? </p>
  
  <p>Furthermore the <code>RecognizerIntent.EXTRA_CONFIDENCE_SCORES</code> is supposed to be used in <code>API Level 14++</code>. But it doesn't matter on which API above 8 I use it the result stays the same. Are the docs out of date in that point?</p>