HomeSort by relevance Sort by last modified time
    Searched refs:hypotheses (Results 1 - 12 of 12) 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(base::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(base::ASCIIToUTF16("hello"), result().hypotheses[0].utterance);
97 EXPECT_EQ(0.9, result().hypotheses[0].confidence);
98 EXPECT_EQ(base::ASCIIToUTF16("123456"), result().hypotheses[1].utterance);
99 EXPECT_EQ(0.5, result().hypotheses[1].confidence)
    [all...]
google_streaming_remote_engine_unittest.cc 109 // result with two hypotheses.
114 result.hypotheses.push_back(
116 result.hypotheses.push_back(
145 result.hypotheses.push_back(SpeechRecognitionHypothesis(
163 result.hypotheses.push_back(
190 result.hypotheses.push_back(
230 result.hypotheses.push_back(
307 result.hypotheses.push_back(
423 for (size_t i = 0; i < result.hypotheses.size(); ++i) {
426 const SpeechRecognitionHypothesis& hypothesis = result.hypotheses[i]
    [all...]
google_one_shot_remote_engine.cc 31 const char* const kHypothesesString = "hypotheses";
90 // Get the hypotheses.
93 VLOG(1) << "ParseServerResponse: Missing hypotheses attribute.";
99 VLOG(1) << "ParseServerResponse: Unexpected hypotheses type "
108 // final result, consisting of one fragment (with one or more hypotheses).
135 result->hypotheses.push_back(SpeechRecognitionHypothesis(utterance,
140 result->hypotheses.clear();
speech_recognition_browsertest.cc 179 result.hypotheses.push_back(SpeechRecognitionHypothesis(
speech_recognizer_impl_android.cc 159 result.hypotheses.push_back(SpeechRecognitionHypothesis(
google_streaming_remote_engine.cc 444 result.hypotheses.push_back(hypothesis);
speech_recognizer_impl.cc 728 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/common/
speech_recognition_messages.h 35 IPC_STRUCT_TRAITS_MEMBER(hypotheses)
59 // Maximum number of hypotheses allowed for each results.
  /external/chromium_org/content/test/
mock_google_streaming_server.cc 91 for (size_t i = 0; i < result.hypotheses.size(); ++i) {
94 const SpeechRecognitionHypothesis& hypothesis = result.hypotheses[i];
116 "{\"status\":0,\"hypotheses\":""[{\"unknownkey\":\"hello\"}]}";
  /external/chromium_org/content/renderer/
speech_recognition_dispatcher.cc 200 const size_t num_hypotheses = result.hypotheses.size();
204 transcripts[i] = result.hypotheses[i].utterance;
205 confidences[i] = static_cast<float>(result.hypotheses[i].confidence);
  /external/chromium_org/content/public/test/
fake_speech_recognition_manager.cc 147 result.hypotheses.push_back(SpeechRecognitionHypothesis(

Completed in 359 milliseconds