Searched defs:confidence (Results 1 - 25 of 43) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/modules/speech/
H A DSpeechRecognitionAlternative.cpp32 SpeechRecognitionAlternative* SpeechRecognitionAlternative::create(const String& transcript, double confidence) argument
34 return new SpeechRecognitionAlternative(transcript, confidence);
37 SpeechRecognitionAlternative::SpeechRecognitionAlternative(const String& transcript, double confidence) argument
39 , m_confidence(confidence)
H A DSpeechRecognitionAlternative.h43 double confidence() const { return m_confidence; } function in class:blink::FINAL
/external/chromium_org/third_party/icu/source/i18n/
H A Dcsmatch.h22 * Any confidence > 0 indicates a possible match, meaning that the input bytes
35 int32_t confidence; member in class:CharsetMatch
H A Dcsrutf8.cpp34 int32_t confidence; local
89 // Cook up some sort of confidence score, based on presense of a BOM
91 confidence = 0;
93 confidence = 100;
95 confidence = 80;
97 confidence = 100;
99 confidence = 80;
102 confidence = 10;
105 confidence = 25;
108 results->set(input, this, confidence);
[all...]
H A Dcsrucode.cpp35 int32_t confidence = 0; local
39 confidence = 100;
43 results->set(textIn, this, confidence);
44 return (confidence > 0);
60 int32_t confidence = 0; local
64 confidence = 100;
68 results->set(textIn, this, confidence);
69 return (confidence > 0);
84 int32_t confidence = 0; local
101 // Cook up some sort of confidence scor
[all...]
H A Dcsr2022.cpp147 int32_t confidence = match_2022(textIn->fInputBytes, local
151 results->set(textIn, this, confidence);
152 return (confidence > 0);
162 int32_t confidence = match_2022(textIn->fInputBytes, local
166 results->set(textIn, this, confidence);
167 return (confidence > 0);
177 int32_t confidence = match_2022(textIn->fInputBytes, local
181 results->set(textIn, this, confidence);
182 return (confidence > 0);
H A Dcsrmbcs.cpp153 int32_t confidence = 0; local
179 return confidence;
187 // We don't have enough data to have any confidence.
189 confidence = 0;
194 confidence = 10;
197 return confidence;
205 confidence = 0;
207 return confidence;
212 // Assess confidence purely on having a reasonable number of
214 confidence
272 int32_t confidence = match_mbcs(det, commonChars_sjis, ARRAY_SIZE(commonChars_sjis)); local
373 int32_t confidence = match_mbcs(det, commonChars_euc_jp, ARRAY_SIZE(commonChars_euc_jp)); local
395 int32_t confidence = match_mbcs(det, commonChars_euc_kr, ARRAY_SIZE(commonChars_euc_kr)); local
447 int32_t confidence = match_mbcs(det, commonChars_big5, ARRAY_SIZE(commonChars_big5)); local
523 int32_t confidence = match_mbcs(det, commonChars_gb_18030, ARRAY_SIZE(commonChars_gb_18030)); local
[all...]
H A Dcsrsbcs.cpp132 // were we were getting a confidence of 135...
889 int32_t confidence = match_sbcs(textIn, ngrams, charMap_8859_1); local
890 if (confidence > bestConfidenceSoFar) {
891 results->set(textIn, this, confidence, name, lang);
892 bestConfidenceSoFar = confidence;
916 int32_t confidence = match_sbcs(textIn, ngrams, charMap_8859_2); local
917 if (confidence > bestConfidenceSoFar) {
918 results->set(textIn, this, confidence, name, lang);
919 bestConfidenceSoFar = confidence;
953 int32_t confidence local
980 int32_t confidence = match_sbcs(textIn, ngrams_8859_6_ar, charMap_8859_6); local
1008 int32_t confidence = match_sbcs(textIn, ngrams_8859_7_el, charMap_8859_7); local
1041 int32_t confidence = match_sbcs(textIn, ngrams_8859_8_I_he, charMap_8859_8); local
1059 int32_t confidence = match_sbcs(textIn, ngrams_8859_8_he, charMap_8859_8); local
1087 int32_t confidence = match_sbcs(textIn, ngrams_8859_9_tr, charMap_8859_9); local
1109 int32_t confidence = match_sbcs(textIn, ngrams_windows_1256, charMap_windows_1256); local
1131 int32_t confidence = match_sbcs(textIn, ngrams_windows_1251, charMap_windows_1251); local
1153 int32_t confidence = match_sbcs(textIn, ngrams_KOI8_R, charMap_KOI8_R); local
1180 int32_t confidence = match_sbcs(textIn, ngrams_IBM424_he_rtl, charMap_IBM424_he); local
1197 int32_t confidence = match_sbcs(textIn, ngrams_IBM424_he_ltr, charMap_IBM424_he); local
1235 int32_t confidence = match_sbcs(textIn, ngrams_IBM420_ar_rtl, charMap_IBM420_ar); local
1252 int32_t confidence = match_sbcs(textIn, ngrams_IBM420_ar_ltr, charMap_IBM420_ar); local
[all...]
/external/icu/icu4c/source/i18n/
H A Dcsmatch.h22 * Any confidence > 0 indicates a possible match, meaning that the input bytes
35 int32_t confidence; member in class:CharsetMatch
H A Dcsrutf8.cpp34 int32_t confidence; local
84 // Cook up some sort of confidence score, based on presence of a BOM
86 confidence = 0;
88 confidence = 100;
90 confidence = 80;
92 confidence = 100;
94 confidence = 80;
97 // accepts ASCII with confidence = 10.
98 confidence = 15;
101 confidence
[all...]
H A Dcsrucode.cpp32 // UTF-16 confidence calculation. Very simple minded, but better than nothing.
33 // Any 8 bit non-control characters bump the confidence up. These have a zero high byte,
38 static int32_t adjustConfidence(UChar codeUnit, int32_t confidence) { argument
40 confidence -= 10;
42 confidence += 10;
44 if (confidence < 0) {
45 confidence = 0;
46 } else if (confidence > 100) {
47 confidence = 100;
49 return confidence;
56 int32_t confidence = 10; local
91 int32_t confidence = 10; local
128 int32_t confidence = 0; local
[all...]
H A Dcsr2022.cpp147 int32_t confidence = match_2022(textIn->fInputBytes, local
151 results->set(textIn, this, confidence);
152 return (confidence > 0);
162 int32_t confidence = match_2022(textIn->fInputBytes, local
166 results->set(textIn, this, confidence);
167 return (confidence > 0);
177 int32_t confidence = match_2022(textIn->fInputBytes, local
181 results->set(textIn, this, confidence);
182 return (confidence > 0);
H A Dcsrmbcs.cpp153 int32_t confidence = 0; local
179 return confidence;
187 // We don't have enough data to have any confidence.
189 confidence = 0;
194 confidence = 10;
197 return confidence;
205 confidence = 0;
207 return confidence;
212 // Assess confidence purely on having a reasonable number of
214 confidence
272 int32_t confidence = match_mbcs(det, commonChars_sjis, ARRAY_SIZE(commonChars_sjis)); local
373 int32_t confidence = match_mbcs(det, commonChars_euc_jp, ARRAY_SIZE(commonChars_euc_jp)); local
395 int32_t confidence = match_mbcs(det, commonChars_euc_kr, ARRAY_SIZE(commonChars_euc_kr)); local
447 int32_t confidence = match_mbcs(det, commonChars_big5, ARRAY_SIZE(commonChars_big5)); local
523 int32_t confidence = match_mbcs(det, commonChars_gb_18030, ARRAY_SIZE(commonChars_gb_18030)); local
[all...]
/external/chromium_org/content/public/common/
H A Dspeech_recognition_result.h18 double confidence; member in struct:content::SpeechRecognitionHypothesis
20 SpeechRecognitionHypothesis() : confidence(0.0) {}
25 confidence(confidence_value) {
/external/chromium_org/third_party/WebKit/Source/platform/text/
H A DTextEncodingDetector.cpp60 // encoding with a highest confidence among the detector-specific
73 // 10 is the minimum confidence value consistent with the codepoint
83 int32_t confidence = ucsdet_getConfidence(matches[i], &status); local
88 if (confidence < kThresold)
/external/chromium_org/base/i18n/
H A Dicu_encoding_detection.cc68 int32_t confidence = ucsdet_getConfidence(matches[i], &get_name_status); local
74 // A confidence level >= 10 means that the encoding is expected to properly
75 // decode the text. Drop all encodings with lower confidence level.
76 if (confidence < 10)
/external/chromium_org/third_party/icu/source/samples/csdet/
H A Dcsdet.c59 int32_t confidence = ucsdet_getConfidence(csm[match], &status); local
65 printf("%s (%s) %d\n", name, lang, confidence);
/external/icu/icu4c/source/samples/csdet/
H A Dcsdet.c59 int32_t confidence = ucsdet_getConfidence(csm[match], &status); local
65 printf("%s (%s) %d\n", name, lang, confidence);
/external/chromium_org/content/browser/speech/
H A Dgoogle_one_shot_remote_engine.cc33 const char* const kConfidenceString = "confidence";
132 // It is not an error if the 'confidence' field is missing.
133 double confidence = 0.0; local
134 hypothesis_value->GetDouble(kConfidenceString, &confidence);
136 confidence));
H A Dgoogle_streaming_remote_engine_unittest.cc144 float confidence = result.is_provisional ? 0.0F : (i * 0.1F); local
146 base::UTF8ToUTF16("hypothesis"), confidence));
291 // Simulate a protobuf message with an intermediate result without confidence,
427 proto_alternative->set_confidence(hypothesis.confidence);
477 hyp_a.confidence != hyp_b.confidence) {
/external/chromium_org/content/shell/renderer/test_runner/
H A Dmock_web_speech_recognizer.cc41 float confidence)
44 confidence_(confidence) {}
183 float confidence) {
185 mock_confidences_.push_back(confidence);
39 ResultTask(MockWebSpeechRecognizer* mock, const blink::WebString transcript, float confidence) argument
182 AddMockResult(const blink::WebString& transcript, float confidence) argument
/external/deqp/modules/glshared/
H A DglsCalibration.hpp61 float confidence; member in struct:deqp::gls::LineParametersWithConfidence
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/
H A DUtils.java332 * Returns the confidence level for given statistics:
341 * @return a value telling caller the level of confidence of the provided value
361 * Get an icon image corresponding to a given level of confidence and explanation.
363 * @param confidence the confiden level
364 * @param hasExplanation flags indicates whether the confidence may be tempered by an explanation
367 public static String getImage(int confidence, boolean scenarioFailed, boolean hasExplanation) { argument
373 } else if ((confidence & ERR) != 0) {
378 } else if ((confidence & NAN) != 0) {
380 } else if ((confidence & ERR) != 0) {
/external/chromium_org/chrome/browser/predictors/
H A Dautocomplete_action_predictor.cc177 const double confidence = CalculateConfidence(user_text, match, &is_in_db); local
178 DCHECK(confidence >= 0.0 && confidence <= 1.0);
183 // Multiple enties with the same URL are fine as the confidence may be
185 tracked_urls_.push_back(std::make_pair(match.destination_url, confidence));
187 confidence * 100);
190 // Map the confidence to an action.
193 if (confidence >= kConfidenceCutoff[i]) {
410 // Check against tracked urls and log accuracy for the confidence we
/external/neven/
H A DFaceDetector_jni.cpp41 float confidence; member in struct:FaceData
49 jfieldID confidence; member in struct:FaceOffsets
83 fdata->confidence = (float)btk_DCR_confidence(hdcr) / (1 << 24);
107 gFaceOffsets.confidence = _env->GetFieldID(faceClass, "mConfidence", "F");
268 _env->SetFloatField(face, gFaceOffsets.confidence, faceData.confidence);

Completed in 4001 milliseconds

12