Home
last modified time | relevance | path

Searched refs:ClassificationResult (Results 1 – 25 of 53) sorted by relevance

123

/external/libtextclassifier/native/annotator/duration/
Dduration_test.cc122 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/
Dnumber_test-include.cc117 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/
Dtranslate_test.cc76 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/
Dranker_test.cc96 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 …]
Dactions-suggestions_test.cc155 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/
Dimage_classifier.h72 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);
Dimage_classifier.cc390 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/
Dtypes.h432 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 …]
Dtypes.cc161 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 <<()
Dannotator.cc748 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 …]
Dannotator.h195 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;
Dtypes-test-util.h36 TC3_DECLARE_PRINT_OPERATOR(ClassificationResult)
/external/libtextclassifier/native/annotator/vocab/
Dvocab-annotator-impl.cc66 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()
Dvocab-annotator-impl.h46 ClassificationResult *result) const;
58 ClassificationResult *classification_result,
/external/libtextclassifier/native/annotator/contact/
Dcontact-engine-dummy.h45 ClassificationResult* classification_result) const { in ClassifyText()
56 ClassificationResult* classification_result) const {} in AddContactMetadataToKnowledgeClassificationResult()
/external/libtextclassifier/jni/com/google/android/textclassifier/
DAnnotatorModel.java202 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/
Dgrammar-annotator.h51 ClassificationResult* classification_result) const;
78 ClassificationResult* classification) const;
Dgrammar-annotator.cc121 ClassificationResult classification; in InstantiateAnnotatedSpanFromDerivation()
135 ClassificationResult* classification) const { in InstantiateClassificationFromDerivation()
270 ClassificationResult* classification_result) const { in ClassifyText()
Dgrammar-annotator_test.cc186 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/
Dintent-generator.cc48 const ClassificationResult& classification, in AnnotatorJniEnvironment()
68 const ClassificationResult& classification_;
174 const jstring device_locales, const ClassificationResult& classification, in GenerateIntents()
/external/libtextclassifier/native/utils/
Dlua-utils.h315 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/
Dparse-tree.h148 const ClassificationResult* arg_annotation) in AnnotationNode()
152 const ClassificationResult* annotation;
/external/tflite-support/tensorflow_lite_support/examples/task/vision/desktop/
Dimage_classifier_demo.cc85 void DisplayResult(const ClassificationResult& result) { in DisplayResult()
134 ASSIGN_OR_RETURN(ClassificationResult result, in Classify()
/external/libtextclassifier/native/annotator/person_name/
Dperson-name-engine-dummy.h44 ClassificationResult* classification_result) const { in ClassifyText()
/external/libtextclassifier/native/annotator/installed_app/
Dinstalled-app-engine-dummy.h43 ClassificationResult* classification_result) const { in ClassifyText()

123