/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/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/ |
D | annotator.cc | 1357 const CodepointSpan& selection_indices, in CopyCachedTokens() argument 1360 cached_tokens.begin(), cached_tokens.end(), selection_indices.first, in CopyCachedTokens() 1365 cached_tokens.begin(), cached_tokens.end(), selection_indices.second, in CopyCachedTokens() 1421 const CodepointSpan& selection_indices, const BaseOptions& options, in ModelClassifyText() argument 1429 CodepointSpanToUnicodeTextRange(context_unicode, selection_indices); in ModelClassifyText() 1432 /*line=*/nullptr, selection_indices, options, in ModelClassifyText() 1442 const CodepointSpan& selection_indices, const BaseOptions& options, in ModelClassifyText() argument 1467 *tokens = internal::CopyCachedTokens(cached_tokens, selection_indices, in ModelClassifyText() 1473 context_unicode, span_begin, span_end, selection_indices, in ModelClassifyText() 1478 CodepointSpanToTokenSpan(*tokens, selection_indices); in ModelClassifyText() [all …]
|
D | annotator.h | 196 const std::string& context, const CodepointSpan& selection_indices, 304 const CodepointSpan& selection_indices, const BaseOptions& options, 322 const CodepointSpan& selection_indices, const BaseOptions& options, 336 const std::string& context, const CodepointSpan& selection_indices, 342 const std::string& context, const CodepointSpan& selection_indices, 580 const CodepointSpan& selection_indices,
|
D | annotator_jni.cc | 131 const std::string& context, const CodepointSpan& selection_indices, in ClassificationResultWithIntentsToJObject() argument 276 options->reference_time_ms_utc, context, selection_indices, in ClassificationResultWithIntentsToJObject() 306 const std::string& context, const CodepointSpan& selection_indices, in ClassificationResultsWithIntentsToJObjectArray() argument 357 selection_indices, classification_result[i], in ClassificationResultsWithIntentsToJObjectArray()
|
/external/libtextclassifier/native/utils/intents/ |
D | intent-generator.cc | 176 const CodepointSpan selection_indices, const jobject context, in GenerateIntents() argument 192 .UTF8Substring(selection_indices.first, selection_indices.second); in GenerateIntents()
|
D | intent-generator.h | 55 const 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/experimental/ |
D | experimental-dummy.h | 50 bool ClassifyText(const UnicodeText& 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/duration/ |
D | duration.cc | 125 const UnicodeText& context, CodepointSpan selection_indices, in ClassifyText() argument 134 UnicodeText::Substring(context, selection_indices.first, in ClassifyText() 135 selection_indices.second, /*do_copy=*/false); in ClassifyText()
|
D | duration.h | 84 bool ClassifyText(const UnicodeText& context, CodepointSpan selection_indices,
|
/external/libtextclassifier/native/annotator/knowledge/ |
D | knowledge-engine-dummy.h | 40 Status ClassifyText(const std::string& text, CodepointSpan selection_indices, in ClassifyText() argument
|