/external/libtextclassifier/native/annotator/datetime/testing/ |
D | base-parser-test.cc | 35 AnnotationUsecase annotation_usecase) { in HasNoResult() argument 39 ModeFlag_ANNOTATION, annotation_usecase, anchor_start_end); in HasNoResult() 52 const std::string& locales, AnnotationUsecase annotation_usecase) { in ParsesCorrectly() argument 72 ModeFlag_ANNOTATION, annotation_usecase, anchor_start_end); in ParsesCorrectly() 125 const std::string& locales, AnnotationUsecase annotation_usecase) { in ParsesCorrectly() argument 129 annotation_usecase); in ParsesCorrectly()
|
D | base-parser-test.h | 35 AnnotationUsecase annotation_usecase = 46 AnnotationUsecase annotation_usecase = 56 AnnotationUsecase annotation_usecase =
|
/external/libtextclassifier/native/annotator/datetime/ |
D | grammar-parser.cc | 45 ModeFlag mode, AnnotationUsecase annotation_usecase, in Parse() argument 49 annotation_usecase, anchor_start_end); in Parse() 55 ModeFlag mode, AnnotationUsecase annotation_usecase, in Parse() argument 94 (1 << annotation_usecase)) == 0) { in Parse()
|
D | parser.h | 45 ModeFlag mode, AnnotationUsecase annotation_usecase, 52 ModeFlag mode, AnnotationUsecase annotation_usecase,
|
D | regex-parser.h | 55 ModeFlag mode, AnnotationUsecase annotation_usecase, 62 ModeFlag mode, AnnotationUsecase annotation_usecase, 80 ModeFlag mode, AnnotationUsecase annotation_usecase,
|
D | grammar-parser.h | 49 ModeFlag mode, AnnotationUsecase annotation_usecase, 56 ModeFlag mode, AnnotationUsecase annotation_usecase,
|
D | regex-parser.cc | 122 ModeFlag mode, AnnotationUsecase annotation_usecase, in Parse() argument 126 annotation_usecase, anchor_start_end); in Parse() 133 ModeFlag mode, AnnotationUsecase annotation_usecase, bool anchor_start_end, in FindSpansUsingLocales() argument 150 (1 << annotation_usecase)) == 0) { in FindSpansUsingLocales() 175 ModeFlag mode, AnnotationUsecase annotation_usecase, in Parse() argument 183 reference_timezone, mode, annotation_usecase, in Parse()
|
/external/libtextclassifier/native/annotator/knowledge/ |
D | knowledge-engine-dummy.h | 41 AnnotationUsecase annotation_usecase, in ClassifyText() argument 48 Status Chunk(const std::string& text, AnnotationUsecase annotation_usecase, in Chunk() argument 58 AnnotationUsecase annotation_usecase, in ChunkMultipleSpans() argument
|
/external/libtextclassifier/native/annotator/number/ |
D | number.cc | 33 AnnotationUsecase annotation_usecase, in ClassifyText() argument 41 if (!FindAll(substring_selected, annotation_usecase, &results)) { in ClassifyText() 218 AnnotationUsecase annotation_usecase, in FindAll() argument 253 if (((1 << annotation_usecase) & options_->enabled_annotation_usecases()) != in FindAll() 266 ((1 << annotation_usecase) & in FindAll()
|
D | number.h | 56 AnnotationUsecase annotation_usecase, 61 AnnotationUsecase annotation_usecase,
|
/external/libtextclassifier/native/annotator/ |
D | annotator_jni_common.cc | 94 int32 annotation_usecase, in FromJavaOptionsInternal() 145 options.annotation_usecase = in FromJavaOptionsInternal() 146 static_cast<AnnotationUsecase>(annotation_usecase); in FromJavaOptionsInternal() 192 int32 annotation_usecase, in FromJavaSelectionOptions() 230 options.annotation_usecase = in FromJavaSelectionOptions() 231 static_cast<AnnotationUsecase>(annotation_usecase); in FromJavaSelectionOptions()
|
D | annotator.cc | 819 if (options.annotation_usecase != in SuggestSelection() 891 is_entity_type_enabled, options.annotation_usecase, in SuggestSelection() 899 options.annotation_usecase, in SuggestSelection() 907 ->Chunk(context, options.annotation_usecase, in SuggestSelection() 927 !number_annotator_->FindAll(context_unicode, options.annotation_usecase, in SuggestSelection() 934 options.annotation_usecase, in SuggestSelection() 1092 bool DoSourcesConflict(AnnotationUsecase annotation_usecase, in DoSourcesConflict() argument 1098 switch (annotation_usecase) { in DoSourcesConflict() 1200 options.annotation_usecase == in ResolveConflict() 1202 (options.annotation_usecase == in ResolveConflict() [all …]
|
D | annotator_test-include.cc | 1289 options.annotation_usecase = AnnotationUsecase_ANNOTATION_USECASE_RAW; in TEST_F() 1310 options.annotation_usecase = AnnotationUsecase_ANNOTATION_USECASE_SMART; in TEST_F() 1321 options.annotation_usecase = AnnotationUsecase_ANNOTATION_USECASE_RAW; in VerifyAnnotatesDurationsInRawMode() 1341 options.annotation_usecase = AnnotationUsecase_ANNOTATION_USECASE_RAW; in VerifyDurationAndRelativeTimeCanOverlapInRawMode() 1894 options.annotation_usecase = AnnotationUsecase_ANNOTATION_USECASE_SMART; in TEST_F() 1915 options.annotation_usecase = AnnotationUsecase_ANNOTATION_USECASE_SMART; in TEST_F() 1934 options.annotation_usecase = AnnotationUsecase_ANNOTATION_USECASE_SMART; in TEST_F() 1953 options.annotation_usecase = AnnotationUsecase_ANNOTATION_USECASE_SMART; in TEST_F() 1973 options.annotation_usecase = AnnotationUsecase_ANNOTATION_USECASE_SMART; in TEST_F() 2009 options.annotation_usecase = AnnotationUsecase_ANNOTATION_USECASE_SMART; in TEST_F() [all …]
|
D | types.h | 526 AnnotationUsecase annotation_usecase = ANNOTATION_USECASE_SMART; member 547 this->annotation_usecase == other.annotation_usecase &&
|
D | annotator.h | 396 const AnnotationUsecase& annotation_usecase, 405 AnnotationUsecase annotation_usecase,
|
/external/libtextclassifier/native/annotator/duration/ |
D | duration.h | 85 AnnotationUsecase annotation_usecase, 90 AnnotationUsecase annotation_usecase,
|
D | duration.cc | 126 AnnotationUsecase annotation_usecase, in ClassifyText() argument 129 (1 << annotation_usecase))) == 0) { in ClassifyText() 153 AnnotationUsecase annotation_usecase, in FindAll() argument 156 (1 << annotation_usecase))) == 0) { in FindAll()
|
/external/libtextclassifier/native/actions/ |
D | actions-suggestions.cc | 1066 options.annotation_usecase = in AnnotationOptionsForMessage() 1067 model_->annotation_actions_spec()->annotation_usecase(); in AnnotationOptionsForMessage()
|
D | actions_model.fbs | 373 annotation_usecase:AnnotationUsecase = ANNOTATION_USECASE_SMART;
|