/external/libtextclassifier/native/annotator/duration/ |
D | duration_test.cc | 122 ClassificationResult classification; in TEST_F() 128 AllOf(Field(&ClassificationResult::collection, "duration"), in TEST_F() 129 Field(&ClassificationResult::duration_ms, 15 * 60 * 1000))); in TEST_F() 133 ClassificationResult classification; in TEST_F() 139 AllOf(Field(&ClassificationResult::collection, "duration"), in TEST_F() 140 Field(&ClassificationResult::duration_ms, 15 * 60 * 1000))); in TEST_F() 144 ClassificationResult classification; in TEST_F() 163 Field(&ClassificationResult::collection, "duration"), in TEST_F() 164 Field(&ClassificationResult::duration_ms, in TEST_F() 182 Field(&ClassificationResult::collection, "duration"), in TEST_F() [all …]
|
/external/libtextclassifier/native/annotator/number/ |
D | number_test-include.cc | 117 ClassificationResult classification_result; in TEST_F() 128 ClassificationResult classification_result; in TEST_F() 140 ClassificationResult classification_result; in TEST_F() 192 ClassificationResult classification_result; in TEST_F() 205 ClassificationResult classification_result; in TEST_F() 220 ClassificationResult classification_result; in TEST_F() 231 ClassificationResult classification_result; in TEST_F() 242 ClassificationResult classification_result; in TEST_F() 249 ClassificationResult classification_result; in TEST_F() 260 ClassificationResult classification_result; in TEST_F() [all …]
|
/external/libtextclassifier/native/annotator/translate/ |
D | translate_test.cc | 76 ClassificationResult classification; in TEST_F() 82 AllOf(Field(&ClassificationResult::collection, "translate"))); in TEST_F() 94 ClassificationResult classification; in TEST_F() 99 AllOf(Field(&ClassificationResult::collection, "translate"))); in TEST_F() 115 ClassificationResult classification; in TEST_F() 123 ClassificationResult classification; in TEST_F() 129 AllOf(Field(&ClassificationResult::collection, "translate"))); in TEST_F() 134 ClassificationResult classification; in TEST_F()
|
/external/libtextclassifier/native/actions/ |
D | ranker_test.cc | 96 annotation.entity = ClassificationResult("address", 0.5); in TEST() 107 annotation.entity = ClassificationResult("address", 1.0); in TEST() 118 annotation.entity = ClassificationResult("phone", 0.5); in TEST() 148 annotation.entity = ClassificationResult("address", 0.5); in TEST() 159 annotation.entity = ClassificationResult("address", 1.0); in TEST() 170 annotation.entity = ClassificationResult("phone", 0.5); in TEST() 202 annotation.entity = ClassificationResult("phone", 1.0); in TEST() 213 annotation.entity = ClassificationResult("code", 1.0); in TEST() 277 annotation.entity = ClassificationResult("phone", 1.0); in TEST() 307 annotation.entity = ClassificationResult("phone", 1.0); in TEST() [all …]
|
D | actions-suggestions_test.cc | 155 annotation.classification = {ClassificationResult("address", 1.0)}; in TEST_F() 200 annotation.classification = {ClassificationResult("address", 1.0)}; in TEST_F() 257 annotation.classification = {ClassificationResult("address", 1.0)}; in TEST_F() 283 flight_annotation.classification = {ClassificationResult("flight", 2.5)}; in TEST_F() 286 flight_annotation2.classification = {ClassificationResult("flight", 3.0)}; in TEST_F() 289 email_annotation.classification = {ClassificationResult("email", 2.0)}; in TEST_F() 324 flight_annotation.classification = {ClassificationResult("flight", 2.5)}; in TEST_F() 327 flight_annotation2.classification = {ClassificationResult("flight", 3.0)}; in TEST_F() 330 email_annotation.classification = {ClassificationResult("email", 2.0)}; in TEST_F() 375 flight_annotation.classification = {ClassificationResult("flight", 2.0)}; in TestSuggestActionsFromAnnotations() [all …]
|
/external/tflite-support/tensorflow_lite_support/cc/task/vision/ |
D | image_classifier.h | 72 class ImageClassifier : public BaseVisionTaskApi<ClassificationResult> { 96 tflite::support::StatusOr<ClassificationResult> Classify( 110 tflite::support::StatusOr<ClassificationResult> Classify( 123 tflite::support::StatusOr<ClassificationResult> Postprocess( 153 absl::Status FillResultsFromLabelMaps(ClassificationResult* result);
|
D | image_classifier.cc | 390 StatusOr<ClassificationResult> ImageClassifier::Classify( in Classify() 398 StatusOr<ClassificationResult> ImageClassifier::Classify( in Classify() 403 StatusOr<ClassificationResult> ImageClassifier::Postprocess( in Postprocess() 413 ClassificationResult result; in Postprocess() 529 ClassificationResult* result) { in FillResultsFromLabelMaps()
|
/external/libtextclassifier/native/annotator/ |
D | types.h | 432 struct ClassificationResult { struct 459 explicit ClassificationResult() in ClassificationResult() argument 466 ClassificationResult(const std::string& arg_collection, float arg_score) in ClassificationResult() function 474 ClassificationResult(const std::string& arg_collection, float arg_score, in ClassificationResult() function 483 bool operator!=(const ClassificationResult& other) const { 487 bool operator==(const ClassificationResult& other) const; 637 const ClassificationResult& a, const ClassificationResult& b); 641 const ClassificationResult& result); 646 const std::vector<ClassificationResult>& results); 656 std::vector<ClassificationResult> classification; [all …]
|
D | types.cc | 161 bool ClassificationResult::operator==(const ClassificationResult& other) const { in operator ==() 170 const ClassificationResult& a, const ClassificationResult& b) { in ClassificationResultsEqualIgnoringScoresAndSerializedEntityData() 189 const ClassificationResult& result) { in operator <<() 197 const std::vector<ClassificationResult>& results) { in operator <<() 199 for (const ClassificationResult& result : results) { in operator <<()
|
D | annotator.cc | 748 const ClassificationResult& classification) const { in FilteredForClassification() 762 const std::vector<ClassificationResult>& classification) { in ClassifiedAsOther() 770 const std::vector<ClassificationResult>& classification) const { in GetPriorityScore() 1155 std::vector<ClassificationResult> classification; in ResolveConflict() 1410 std::vector<ClassificationResult>* classification_results) { in SortClassificationResults() 1412 [](const ClassificationResult& a, const ClassificationResult& b) { in SortClassificationResults() 1424 std::vector<ClassificationResult>* classification_results, in ModelClassifyText() 1445 std::vector<ClassificationResult>* classification_results, in ModelClassifyText() 1617 std::vector<ClassificationResult>* classification_result) const { in RegexClassifyText() 1676 std::vector<ClassificationResult>* classification_results) const { in DatetimeClassifyText() [all …]
|
D | annotator.h | 195 std::vector<ClassificationResult> ClassifyText( 307 std::vector<ClassificationResult>* classification_results, 325 std::vector<ClassificationResult>* classification_results, 337 std::vector<ClassificationResult>* classification_result) const; 344 std::vector<ClassificationResult>* classification_results) const; 412 const ClassificationResult& classification) const; 435 const std::vector<ClassificationResult>& classification) const;
|
D | types-test-util.h | 36 TC3_DECLARE_PRINT_OPERATOR(ClassificationResult)
|
/external/libtextclassifier/native/annotator/vocab/ |
D | vocab-annotator-impl.cc | 66 ClassificationResult classification_result; in Annotate() 81 bool trigger_on_beginner_words, ClassificationResult* result) const { in ClassifyText() 91 bool trigger_on_beginner_words, ClassificationResult* classification_result, in ClassifyTextInternal() 124 ClassificationResult("dictionary", model_->target_classification_score(), in ClassifyTextInternal()
|
D | vocab-annotator-impl.h | 46 ClassificationResult *result) const; 58 ClassificationResult *classification_result,
|
/external/libtextclassifier/native/annotator/contact/ |
D | contact-engine-dummy.h | 45 ClassificationResult* classification_result) const { in ClassifyText() 56 ClassificationResult* classification_result) const {} in AddContactMetadataToKnowledgeClassificationResult()
|
/external/libtextclassifier/jni/com/google/android/textclassifier/ |
D | AnnotatorModel.java | 202 public ClassificationResult[] classifyText( in classifyText() 213 public ClassificationResult[] classifyText( in classifyText() 334 public static final class ClassificationResult { class in AnnotatorModel 357 public ClassificationResult( in ClassificationResult() method in AnnotatorModel.ClassificationResult 509 private final ClassificationResult[] classification; 511 AnnotatedSpan(int startIndex, int endIndex, ClassificationResult[] classification) { in AnnotatedSpan() 525 public ClassificationResult[] getClassification() { in getClassification() 536 private final ClassificationResult[] topicalityResults; 538 Annotations(AnnotatedSpan[][] annotatedSpans, ClassificationResult[] topicalityResults) { in Annotations() 547 public ClassificationResult[] getTopicalityResults() { in getTopicalityResults() [all …]
|
/external/libtextclassifier/native/annotator/grammar/ |
D | grammar-annotator.h | 51 ClassificationResult* classification_result) const; 78 ClassificationResult* classification) const;
|
D | grammar-annotator.cc | 121 ClassificationResult classification; in InstantiateAnnotatedSpanFromDerivation() 135 ClassificationResult* classification) const { in InstantiateClassificationFromDerivation() 270 ClassificationResult* classification_result) const { in ClassifyText()
|
D | grammar-annotator_test.cc | 186 ClassificationResult result; in TEST_F() 250 ClassificationResult result; in TEST_F() 302 ClassificationResult result; in TEST_F() 534 ClassificationResult result; in TEST_F()
|
/external/libtextclassifier/native/utils/intents/ |
D | intent-generator.cc | 48 const ClassificationResult& classification, in AnnotatorJniEnvironment() 68 const ClassificationResult& classification_; 174 const jstring device_locales, const ClassificationResult& classification, in GenerateIntents()
|
/external/libtextclassifier/native/utils/ |
D | lua-utils.h | 315 void PushAnnotation(const ClassificationResult& classification, 317 void PushAnnotation(const ClassificationResult& classification, 357 ClassificationResult ReadClassificationResult( 591 static const ClassificationResult* GetAnnotationByName( in GetAnnotationByName() 592 const std::vector<ClassificationResult>& annotations, StringPiece name) { in GetAnnotationByName() 594 for (const ClassificationResult& annotation : annotations) { in GetAnnotationByName()
|
/external/libtextclassifier/native/utils/grammar/parsing/ |
D | parse-tree.h | 148 const ClassificationResult* arg_annotation) in AnnotationNode() 152 const ClassificationResult* annotation;
|
/external/tflite-support/tensorflow_lite_support/examples/task/vision/desktop/ |
D | image_classifier_demo.cc | 85 void DisplayResult(const ClassificationResult& result) { in DisplayResult() 134 ASSIGN_OR_RETURN(ClassificationResult result, in Classify()
|
/external/libtextclassifier/native/annotator/person_name/ |
D | person-name-engine-dummy.h | 44 ClassificationResult* classification_result) const { in ClassifyText()
|
/external/libtextclassifier/native/annotator/installed_app/ |
D | installed-app-engine-dummy.h | 43 ClassificationResult* classification_result) const { in ClassifyText()
|