HomeSort by relevance Sort by last modified time
    Searched refs:hypotheses (Results 1 - 11 of 11) sorted by null

  /external/chromium_org/content/browser/speech/
google_one_shot_remote_engine_unittest.cc 82 "{\"status\":0,\"hypotheses\":"
85 EXPECT_EQ(1U, result().hypotheses.size());
86 EXPECT_EQ(ASCIIToUTF16("123456"), result().hypotheses[0].utterance);
87 EXPECT_EQ(0.9, result().hypotheses[0].confidence);
91 "{\"status\":0,\"hypotheses\":["
95 EXPECT_EQ(2u, result().hypotheses.size());
96 EXPECT_EQ(ASCIIToUTF16("hello"), result().hypotheses[0].utterance);
97 EXPECT_EQ(0.9, result().hypotheses[0].confidence);
98 EXPECT_EQ(ASCIIToUTF16("123456"), result().hypotheses[1].utterance);
99 EXPECT_EQ(0.5, result().hypotheses[1].confidence)
    [all...]
google_streaming_remote_engine_unittest.cc 106 // result with two hypotheses.
111 result.hypotheses.push_back(
113 result.hypotheses.push_back(
142 result.hypotheses.push_back(
160 result.hypotheses.push_back(
187 result.hypotheses.push_back(
227 result.hypotheses.push_back(
304 result.hypotheses.push_back(
420 for (size_t i = 0; i < result.hypotheses.size(); ++i) {
423 const SpeechRecognitionHypothesis& hypothesis = result.hypotheses[i]
    [all...]
google_one_shot_remote_engine.cc 30 const char* const kHypothesesString = "hypotheses";
89 // Get the hypotheses.
92 VLOG(1) << "ParseServerResponse: Missing hypotheses attribute.";
98 VLOG(1) << "ParseServerResponse: Unexpected hypotheses type "
107 // final result, consisting of one fragment (with one or more hypotheses).
134 result->hypotheses.push_back(SpeechRecognitionHypothesis(utterance,
139 result->hypotheses.clear();
speech_recognizer_impl_android.cc 159 result.hypotheses.push_back(SpeechRecognitionHypothesis(
google_streaming_remote_engine.cc 459 result.hypotheses.push_back(hypothesis);
speech_recognizer_impl.cc 724 results_are_empty = result.hypotheses.empty();
  /external/chromium_org/content/public/common/
speech_recognition_result.h 33 SpeechRecognitionHypothesisArray hypotheses; member in struct:content::SpeechRecognitionResult
  /external/chromium_org/content/renderer/
input_tag_speech_dispatcher.cc 95 WebKit::WebSpeechInputResultArray webkit_result(result.hypotheses.size());
96 for (size_t i = 0; i < result.hypotheses.size(); ++i) {
97 webkit_result[i].assign(result.hypotheses[i].utterance,
98 result.hypotheses[i].confidence);
speech_recognition_dispatcher.cc 195 const size_t num_hypotheses = result.hypotheses.size();
199 transcripts[i] = result.hypotheses[i].utterance;
200 confidences[i] = static_cast<float>(result.hypotheses[i].confidence);
  /external/chromium_org/content/common/
speech_recognition_messages.h 33 IPC_STRUCT_TRAITS_MEMBER(hypotheses)
118 // Maximum number of hypotheses allowed for each results.
  /external/chromium_org/content/public/test/
fake_speech_recognition_manager.cc 149 result.hypotheses.push_back(SpeechRecognitionHypothesis(

Completed in 1720 milliseconds