Searched refs:confidence (Results 1 - 25 of 81) sorted by relevance

1234

/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.idl31 readonly attribute float confidence;
H A DSpeechRecognitionAlternative.h43 double confidence() const { return m_confidence; } function in class:blink::FINAL
/external/icu/icu4c/source/i18n/
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 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 Dcsmatch.cpp22 : textIn(NULL), confidence(0), fCharsetName(NULL), fLang(NULL)
31 confidence = conf;
56 return confidence;
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 Dcsmatch.h22 * Any confidence > 0 indicates a possible match, meaning that the input bytes
35 int32_t confidence; member in class:CharsetMatch
/external/chromium_org/third_party/icu/source/i18n/
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 Dcsmatch.cpp22 : textIn(NULL), confidence(0), fCharsetName(NULL), fLang(NULL)
31 confidence = conf;
56 return confidence;
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 Dcsmatch.h22 * Any confidence > 0 indicates a possible match, meaning that the input bytes
35 int32_t confidence; member in class:CharsetMatch
/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/Tools/Scripts/webkitpy/style/
H A Derror_handlers_unittest.py75 def _call_error_handler(self, handle_error, confidence, line_number=100):
79 confidence=confidence,
125 confidence = 1
128 confidence,
131 self._call_error_handler(error_handler, confidence)
143 confidence = 5
146 self._call_error_handler(error_handler, confidence)
153 self._call_error_handler(error_handler, confidence)
165 self._call_error_handler(error_handler, confidence)
[all...]
H A Derror_handlers.py31 __call__(self, line_number, category, confidence, message):
43 confidence: An integer between 1 and 5 inclusive that represents the
44 application's level of confidence in the error. The value
134 def __call__(self, line_number, category, confidence, message):
144 confidence_in_error=confidence,
157 confidence_in_error=confidence,
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/
H A Dxcodeproj_unittest.py38 def __call__(self, line_number, category, confidence, message):
39 self.handler(self, line_number, category, confidence, message)
47 def handler(error_handler, line_number, category, confidence, message):
48 self.fail('Unexpected error: %d %s %d %s' % (line_number, category, confidence, message))
57 def handler(error_handler, line_number, category, confidence, message):
H A Djsonchecker_unittest.py38 def __call__(self, line_number, category, confidence, message):
39 self._handle_style_error(self, line_number, category, confidence, message)
57 def handle_style_error(mock_error_handler, line_number, category, confidence, message):
58 self.fail('Unexpected error: %d %s %d %s' % (line_number, category, confidence, message))
66 def handle_style_error(mock_error_handler, line_number, category, confidence, message):
H A Dxml_unittest.py37 def __call__(self, line_number, category, confidence, message):
38 self._handle_style_error(self, line_number, category, confidence, message)
46 def handle_style_error(mock_error_handler, line_number, category, confidence, message):
47 self.fail('Unexpected error: %d %s %d %s' % (line_number, category, confidence, message))
55 def handle_style_error(mock_error_handler, line_number, category, confidence, message):
H A Dpython_unittest.py49 def _mock_handle_style_error(line_number, category, confidence,
51 error = (line_number, category, confidence, message)
H A Dcommon_unittest.py48 def _mock_style_error_handler(self, line_number, category, confidence,
51 error = (line_number, category, confidence, message)
105 def style_error_handler(line_number, category, confidence, message):
107 self.assertEqual(confidence, 5)
/external/chromium_org/chrome/browser/resources/predictors/
H A Dautocomplete_action_predictor.js55 if (!filter.checked || entry.confidence > 0) {
57 row.className = (entry.confidence > 0.8 ? 'action-prerender' :
58 (entry.confidence > 0.5 ? 'action-preconnect' :
69 entry.confidence;
/external/chromium_org/tools/auto_bisect/
H A Dbisect_results.py14 """Calculates a confidence score.
16 This score is a percentage which represents our degree of confidence in the
30 # If an empty list was passed, that also implies zero confidence.
67 A list of [current_rev, previous_rev, confidence] for other places where
78 confidence = ConfidenceScore(previous_values, [current_values])
90 # Only report potential regressions with high confidence.
91 if is_same_direction and confidence > 50:
92 other_regressions.append([current_id, previous_id, confidence])
114 'confidence': For performance bisects, it is a confidence tha
[all...]

Completed in 1656 milliseconds

1234