HomeSort by relevance Sort by last modified time
    Searched refs:confidence (Results 1 - 25 of 138) sorted by null

1 2 3 4 5 6

  /external/chromium_org/third_party/WebKit/Source/modules/speech/
SpeechRecognitionAlternative.cpp 32 SpeechRecognitionAlternative* SpeechRecognitionAlternative::create(const String& transcript, double confidence)
34 return new SpeechRecognitionAlternative(transcript, confidence);
37 SpeechRecognitionAlternative::SpeechRecognitionAlternative(const String& transcript, double confidence)
39 , m_confidence(confidence)
SpeechRecognitionAlternative.idl 31 readonly attribute float confidence;
SpeechRecognitionAlternative.h 42 double confidence() const { return m_confidence; } function in class:WebCore::SpeechRecognitionAlternative
  /external/icu/icu4c/source/i18n/
csrucode.cpp 32 // 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) {
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...]
csrutf8.cpp 34 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;
96 // Plain ASCII. Confidence must be > 10, it's more likely than UTF-16, which
97 // accepts ASCII with confidence = 10.
98 confidence = 15
    [all...]
csmatch.cpp 22 : textIn(NULL), confidence(0), fCharsetName(NULL), fLang(NULL)
31 confidence = conf;
56 return confidence;
csr2022.cpp 147 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);
csmatch.h 22 * Any confidence > 0 indicates a possible match, meaning that the input bytes
35 int32_t confidence; member in class:CharsetMatch
csrmbcs.cpp 153 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 = 30 + doubleByteCharCount - 20*badCharCount
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/
speech_recognition_result.h 18 double confidence; member in struct:content::SpeechRecognitionHypothesis
20 SpeechRecognitionHypothesis() : confidence(0.0) {}
25 confidence(confidence_value) {
  /external/chromium_org/third_party/icu/source/i18n/
csrutf8.cpp 33 int32_t confidence; local
88 // Cook up some sort of confidence score, based on presense of a BOM
90 confidence = 0;
92 confidence = 100;
94 confidence = 80;
96 confidence = 100;
98 confidence = 80;
101 confidence = 10;
104 confidence = 25;
107 return confidence;
    [all...]
csrucode.cpp 79 int32_t confidence = 0; local
96 // Cook up some sort of confidence score, based on presense of a BOM
99 confidence = 100;
101 confidence = 80;
103 confidence = 100;
105 confidence = 80;
108 confidence = 25;
111 return confidence;
csmatch.cpp 22 : csr(0), confidence(0)
31 confidence = conf;
46 return confidence;
csmatch.h 25 int32_t confidence; member in class:CharsetMatch
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/
xcodeproj_unittest.py 38 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):
xml_unittest.py 38 def __call__(self, line_number, category, confidence, message):
39 self._handle_style_error(self, line_number, category, confidence, message)
47 def handle_style_error(mock_error_handler, line_number, category, confidence, message):
48 self.fail('Unexpected error: %d %s %d %s' % (line_number, category, confidence, message))
56 def handle_style_error(mock_error_handler, line_number, category, confidence, message):
python_unittest.py 49 def _mock_handle_style_error(line_number, category, confidence,
51 error = (line_number, category, confidence, message)
common_unittest.py 48 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)
text_unittest.py 43 def error_for_test(line_number, category, confidence, message):
54 def error_for_test(line_number, category, confidence, message):
jsonchecker_unittest.py 38 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):
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/style/
error_handlers_unittest.py 76 def _call_error_handler(self, handle_error, confidence, line_number=100):
80 confidence=confidence,
126 confidence = 1
129 confidence,
132 self._call_error_handler(error_handler, confidence)
144 confidence = 5
147 self._call_error_handler(error_handler, confidence)
154 self._call_error_handler(error_handler, confidence)
166 self._call_error_handler(error_handler, confidence)
    [all...]
  /external/chromium_org/chrome/browser/resources/predictors/
autocomplete_action_predictor.js 55 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/third_party/WebKit/Source/platform/text/
TextEncodingDetector.cpp 60 // 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/icu/icu4c/source/samples/csdet/
csdet.c 59 int32_t confidence = ucsdet_getConfidence(csm[match], &status); local
65 printf("%s (%s) %d\n", name, lang, confidence);
  /frameworks/av/media/libmedia/
CharacterEncodingDetector.cpp 113 // since 'buf' is empty, ICU would return a UTF-8 matcher with low confidence, so
130 // the ISO detector reports a confidence of 0, while the GB18030 detector reports
131 // a confidence of 10 with no invalid characters)
199 ALOGV("@@@@ recognized charset: %s for %s confidence %d",
275 * - recalculate the starting confidence level for multibyte encodings using a different
279 * - signal to the caller whether this match is considered good: confidence > 15, and confidence
294 int confidence = ucsdet_getConfidence(ucma[i], &status); local
295 ALOGV("%zu: %s %d", i, encname, confidence);
304 int confidence = ucsdet_getConfidence(matches[0], &status) local
321 int confidence = ucsdet_getConfidence(matches[i], &status); local
    [all...]

Completed in 1443 milliseconds

1 2 3 4 5 6