/external/libtextclassifier/native/annotator/translate/ |
D | translate.cc | 33 const UnicodeText& context, CodepointSpan selection_indices, in ClassifyText() argument 43 confidences = BackoffDetectLanguages(context, selection_indices); in ClassifyText() 103 const UnicodeText& context, CodepointSpan selection_indices) const { in BackoffDetectLanguages() 106 if (selection_indices.second - selection_indices.first < min_text_size && in BackoffDetectLanguages() 112 UnicodeText::Substring(context, selection_indices.first, in BackoffDetectLanguages() 113 selection_indices.second, /*do_copy=*/false); in BackoffDetectLanguages() 122 context, selection_indices, min_text_size); in BackoffDetectLanguages()
|
D | translate.h | 39 bool ClassifyText(const UnicodeText& context, CodepointSpan selection_indices, 54 const UnicodeText& context, CodepointSpan selection_indices) const;
|
/external/libtextclassifier/native/annotator/ |
D | annotator.cc | 711 int CountDigits(const std::string& str, CodepointSpan selection_indices) { in CountDigits() argument 716 if (i >= selection_indices.first && i < selection_indices.second && in CountDigits() 1336 CodepointSpan selection_indices, InterpreterManager* interpreter_manager, in ModelClassifyText() argument 1340 selection_indices, interpreter_manager, in ModelClassifyText() 1346 CodepointSpan selection_indices, in CopyCachedTokens() argument 1349 cached_tokens.begin(), cached_tokens.end(), selection_indices.first, in CopyCachedTokens() 1354 cached_tokens.begin(), cached_tokens.end(), selection_indices.second, in CopyCachedTokens() 1410 CodepointSpan selection_indices, InterpreterManager* interpreter_manager, in ModelClassifyText() argument 1415 selection_indices, interpreter_manager, in ModelClassifyText() 1422 CodepointSpan selection_indices, InterpreterManager* interpreter_manager, in ModelClassifyText() argument [all …]
|
D | annotator.h | 187 const std::string& context, CodepointSpan selection_indices, 295 const std::vector<Locale>& locales, CodepointSpan selection_indices, 305 CodepointSpan selection_indices, InterpreterManager* interpreter_manager, 313 CodepointSpan selection_indices, InterpreterManager* interpreter_manager, 325 const std::string& context, CodepointSpan selection_indices, 331 const std::string& context, CodepointSpan selection_indices, 537 CodepointSpan selection_indices,
|
D | annotator_jni.cc | 131 const std::string& context, const CodepointSpan& selection_indices, in ClassificationResultWithIntentsToJObject() argument 259 options->reference_time_ms_utc, context, selection_indices, in ClassificationResultWithIntentsToJObject() 288 const std::string& context, const CodepointSpan& selection_indices, in ClassificationResultsWithIntentsToJObjectArray() argument 329 selection_indices, classification_result[i], in ClassificationResultsWithIntentsToJObjectArray()
|
/external/libtextclassifier/native/annotator/number/ |
D | number.cc | 32 const UnicodeText& context, CodepointSpan selection_indices, in ClassifyText() argument 38 context, selection_indices.first, selection_indices.second); in ClassifyText() 54 if (result.span.first + selection_indices.first == in ClassifyText() 55 selection_indices.first && in ClassifyText() 56 result.span.second + selection_indices.first == in ClassifyText() 57 selection_indices.second) { in ClassifyText()
|
D | number.h | 55 bool ClassifyText(const UnicodeText& context, CodepointSpan selection_indices,
|
/external/libtextclassifier/native/annotator/duration/ |
D | duration.cc | 106 const UnicodeText& context, CodepointSpan selection_indices, in ClassifyText() argument 115 UnicodeText::Substring(context, selection_indices.first, in ClassifyText() 116 selection_indices.second, /*do_copy=*/false); in ClassifyText()
|
D | duration.h | 84 bool ClassifyText(const UnicodeText& context, CodepointSpan selection_indices,
|
/external/libtextclassifier/native/annotator/person_name/ |
D | person-name-engine-dummy.h | 43 bool ClassifyText(const std::string& context, CodepointSpan selection_indices, in ClassifyText() argument
|
/external/libtextclassifier/native/annotator/installed_app/ |
D | installed-app-engine-dummy.h | 42 bool ClassifyText(const std::string& context, CodepointSpan selection_indices, in ClassifyText() argument
|
/external/libtextclassifier/native/annotator/contact/ |
D | contact-engine-dummy.h | 44 bool ClassifyText(const std::string& context, CodepointSpan selection_indices, in ClassifyText() argument
|
/external/libtextclassifier/native/annotator/knowledge/ |
D | knowledge-engine-dummy.h | 39 bool ClassifyText(const std::string& text, CodepointSpan selection_indices, in ClassifyText() argument
|
/external/libtextclassifier/native/utils/intents/ |
D | intent-generator.h | 38 const CodepointSpan selection_indices,
|
D | intent-generator.cc | 876 const CodepointSpan selection_indices, const jobject context, in GenerateIntents() argument 892 .UTF8Substring(selection_indices.first, selection_indices.second); in GenerateIntents()
|