OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:hypothesis
(Results
1 - 4
of
4
) sorted by null
/external/chromium_org/content/browser/speech/
google_one_shot_remote_engine.cc
110
const base::Value*
hypothesis
= NULL;
local
111
if (!hypotheses_list->Get(index, &
hypothesis
)) {
112
LOG(WARNING) << "ParseServerResponse: Unable to read
hypothesis
value.";
115
DCHECK(
hypothesis
);
116
if (!
hypothesis
->IsType(base::Value::TYPE_DICTIONARY)) {
118
<<
hypothesis
->GetType();
123
static_cast<const base::DictionaryValue*>(
hypothesis
);
google_streaming_remote_engine.cc
450
SpeechRecognitionHypothesis
hypothesis
;
local
452
hypothesis
.confidence = ws_alternative.confidence();
454
hypothesis
.confidence = ws_result.stability();
458
hypothesis
.utterance = UTF8ToUTF16(ws_alternative.transcript());
460
result.hypotheses.push_back(
hypothesis
);
google_streaming_remote_engine_unittest.cc
115
SpeechRecognitionHypothesis(UTF8ToUTF16("
hypothesis
1"), 0.1F));
117
SpeechRecognitionHypothesis(UTF8ToUTF16("
hypothesis
2"), 0.2F));
146
SpeechRecognitionHypothesis(UTF8ToUTF16("
hypothesis
"), confidence));
191
SpeechRecognitionHypothesis(UTF8ToUTF16("
hypothesis
"), 1.0F));
426
const SpeechRecognitionHypothesis&
hypothesis
= result.hypotheses[i];
local
427
proto_alternative->set_confidence(
hypothesis
.confidence);
428
proto_alternative->set_transcript(UTF16ToUTF8(
hypothesis
.utterance));
/external/chromium_org/content/test/
mock_google_streaming_server.cc
94
const SpeechRecognitionHypothesis&
hypothesis
= result.hypotheses[i];
local
95
proto_alternative->set_confidence(
hypothesis
.confidence);
96
proto_alternative->set_transcript(UTF16ToUTF8(
hypothesis
.utterance));
Completed in 27 milliseconds