Searched refs:classification_result (Results 1 – 12 of 12) sorted by relevance
94 ClassificationResult classification_result; in TEST_F() local97 AnnotationUsecase_ANNOTATION_USECASE_RAW, &classification_result)); in TEST_F()99 EXPECT_EQ(classification_result.collection, "number"); in TEST_F()100 EXPECT_EQ(classification_result.numeric_value, 12345); in TEST_F()104 ClassificationResult classification_result; in TEST_F() local107 AnnotationUsecase_ANNOTATION_USECASE_RAW, &classification_result)); in TEST_F()165 ClassificationResult classification_result; in TEST_F() local168 AnnotationUsecase_ANNOTATION_USECASE_RAW, &classification_result)); in TEST_F()171 classification_result, in TEST_F()177 ClassificationResult classification_result; in TEST_F() local[all …]
30 ClassificationResult* classification_result) const { in ClassifyText()39 TC3_CHECK(classification_result != nullptr); in ClassifyText()40 classification_result->collection = Collections::Number(); in ClassifyText()41 classification_result->score = options_->score(); in ClassifyText()42 classification_result->priority_score = options_->priority_score(); in ClassifyText()43 classification_result->numeric_value = parsed_value; in ClassifyText()
52 ClassificationResult* classification_result) const;
122 const ClassificationResult& classification_result, bool generate_intents) { in ClassificationResultWithIntentsToJObject() argument124 env->NewStringUTF(classification_result.collection.c_str()); in ClassificationResultWithIntentsToJObject()127 if (classification_result.datetime_parse_result.IsSet()) { in ClassificationResultWithIntentsToJObject()130 classification_result.datetime_parse_result.time_ms_utc, in ClassificationResultWithIntentsToJObject()131 classification_result.datetime_parse_result.granularity); in ClassificationResultWithIntentsToJObject()136 classification_result.serialized_knowledge_result; in ClassificationResultWithIntentsToJObject()147 if (!classification_result.contact_name.empty()) { in ClassificationResultWithIntentsToJObject()149 env->NewStringUTF(classification_result.contact_name.c_str()); in ClassificationResultWithIntentsToJObject()153 if (!classification_result.contact_given_name.empty()) { in ClassificationResultWithIntentsToJObject()155 env->NewStringUTF(classification_result.contact_given_name.c_str()); in ClassificationResultWithIntentsToJObject()[all …]
1361 std::vector<ClassificationResult>* classification_result) const { in RegexClassifyText()1386 classification_result->push_back( in RegexClassifyText()1392 &classification_result->back().serialized_entity_data)) { in RegexClassifyText()1758 const ClassificationResult& classification_result) { in RemoveNotEnabledEntityTypes() argument1760 classification_result.collection); in RemoveNotEnabledEntityTypes()
369 std::vector<ClassificationResult>* classification_result) const;
43 ClassificationResult* classification_result) const { in ClassifyText() argument
35 ClassificationResult* classification_result) const { in ClassifyText() argument
84 ClassificationResult* classification_result) const { in ClassifyText()103 *classification_result = annotated_span.classification[0]; in ClassifyText()
75 ClassificationResult* classification_result) const;
1084 const ClassificationResult& classification_result = in SuggestActionsFromAnnotations() local1092 action_annotation.entity = classification_result; in SuggestActionsFromAnnotations()1093 action_annotation.name = classification_result.collection; in SuggestActionsFromAnnotations()