/external/libtextclassifier/native/annotator/number/ |
D | number_test-include.cc | 138 ClassificationResult classification_result; in TEST_F() local 141 AnnotationUsecase_ANNOTATION_USECASE_RAW, &classification_result)); in TEST_F() 143 EXPECT_EQ(classification_result.collection, "number"); in TEST_F() 144 EXPECT_EQ(classification_result.numeric_value, 12345); in TEST_F() 145 EXPECT_FLOAT_EQ(classification_result.numeric_double_value, 12345); in TEST_F() 150 ClassificationResult classification_result; in TEST_F() local 153 AnnotationUsecase_ANNOTATION_USECASE_RAW, &classification_result)); in TEST_F() 157 ClassificationResult classification_result; in TEST_F() local 160 AnnotationUsecase_ANNOTATION_USECASE_RAW, &classification_result)); in TEST_F() 162 EXPECT_EQ(classification_result.collection, "number"); in TEST_F() [all …]
|
D | number.cc | 35 ClassificationResult* classification_result) const { in ClassifyText() 36 TC3_CHECK(classification_result != nullptr); in ClassifyText() 60 *classification_result = result.classification[0]; in ClassifyText()
|
D | number.h | 57 ClassificationResult* classification_result) const;
|
/external/libtextclassifier/native/annotator/ |
D | annotator_jni.cc | 132 const ClassificationResult& classification_result, bool generate_intents) { in ClassificationResultWithIntentsToJObject() argument 135 JniHelper::NewStringUTF(env, classification_result.collection.c_str())); in ClassificationResultWithIntentsToJObject() 138 if (classification_result.datetime_parse_result.IsSet()) { in ClassificationResultWithIntentsToJObject() 143 classification_result.datetime_parse_result.time_ms_utc, in ClassificationResultWithIntentsToJObject() 144 classification_result.datetime_parse_result.granularity)); in ClassificationResultWithIntentsToJObject() 149 classification_result.serialized_knowledge_result; in ClassificationResultWithIntentsToJObject() 162 if (!classification_result.contact_name.empty()) { in ClassificationResultWithIntentsToJObject() 165 env, classification_result.contact_name.c_str())); in ClassificationResultWithIntentsToJObject() 169 if (!classification_result.contact_given_name.empty()) { in ClassificationResultWithIntentsToJObject() 173 env, classification_result.contact_given_name.c_str())); in ClassificationResultWithIntentsToJObject() [all …]
|
D | annotator.cc | 1643 std::vector<ClassificationResult>* classification_result) const { in RegexClassifyText() 1668 classification_result->push_back( in RegexClassifyText() 1674 &classification_result->back().serialized_entity_data)) { in RegexClassifyText() 2135 const ClassificationResult& classification_result) { in RemoveNotEnabledEntityTypes() argument 2137 classification_result.collection); in RemoveNotEnabledEntityTypes() 2155 for (auto& classification_result : candidate.classification) { in AddContactMetadataToKnowledgeClassificationResults() local 2157 &classification_result); in AddContactMetadataToKnowledgeClassificationResults()
|
D | annotator.h | 340 std::vector<ClassificationResult>* classification_result) const;
|
/external/libtextclassifier/native/annotator/vocab/ |
D | vocab-annotator-impl.cc | 69 ClassificationResult classification_result; in Annotate() local 73 trigger_on_beginner_words, &classification_result, &stripped_span); in Annotate() 75 results->push_back(AnnotatedSpan{stripped_span, {classification_result}}); in Annotate() 94 bool trigger_on_beginner_words, ClassificationResult* classification_result, in ClassifyTextInternal() argument 129 *classification_result = in ClassifyTextInternal()
|
D | vocab-annotator-impl.h | 58 ClassificationResult *classification_result,
|
/external/libtextclassifier/native/annotator/translate/ |
D | translate.cc | 37 ClassificationResult* classification_result) const { in ClassifyText() 75 classification_result->collection = Collections::Translate(); in ClassifyText() 76 classification_result->score = options_->score(); in ClassifyText() 77 classification_result->priority_score = options_->priority_score(); in ClassifyText() 78 classification_result->serialized_entity_data = in ClassifyText()
|
D | translate.h | 41 ClassificationResult* classification_result) const;
|
/external/libtextclassifier/native/annotator/contact/ |
D | contact-engine-dummy.h | 45 ClassificationResult* classification_result) const { in ClassifyText() argument 56 ClassificationResult* classification_result) const {} in AddContactMetadataToKnowledgeClassificationResult() argument
|
/external/libtextclassifier/native/annotator/person_name/ |
D | person-name-engine-dummy.h | 44 ClassificationResult* classification_result) const { in ClassifyText() argument
|
/external/libtextclassifier/native/annotator/installed_app/ |
D | installed-app-engine-dummy.h | 43 ClassificationResult* classification_result) const { in ClassifyText() argument
|
/external/libtextclassifier/native/annotator/grammar/ |
D | grammar-annotator.h | 51 ClassificationResult* classification_result) const;
|
D | grammar-annotator.cc | 270 ClassificationResult* classification_result) const { in ClassifyText() 320 input_context, best_match, best_interpretation, classification_result); in ClassifyText()
|
/external/libtextclassifier/native/annotator/knowledge/ |
D | knowledge-engine-dummy.h | 46 ClassificationResult* classification_result) const { in ClassifyText() argument
|
/external/libtextclassifier/native/annotator/duration/ |
D | duration.cc | 128 ClassificationResult* classification_result) const { in ClassifyText() 150 *classification_result = annotated_span.classification[0]; in ClassifyText()
|
D | duration.h | 86 ClassificationResult* classification_result) const;
|
/external/libtextclassifier/native/actions/ |
D | actions-suggestions.cc | 1211 const ClassificationResult& classification_result = in SuggestActionsFromAnnotations() local 1219 action_annotation.entity = classification_result; in SuggestActionsFromAnnotations() 1220 action_annotation.name = classification_result.collection; in SuggestActionsFromAnnotations()
|
/external/tensorflow/tensorflow/lite/g3doc/inference_with_metadata/task_library/ |
D | image_classifier.md | 215 classification_result = classifier.classify(image)
|
D | overview.md | 195 classification_result = classifier.classify(image)
|