/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 | 48 ModeFlag mode, AnnotationUsecase annotation_usecase, in Parse() argument 52 annotation_usecase, anchor_start_end); in Parse() 58 ModeFlag mode, AnnotationUsecase annotation_usecase, in Parse() argument 101 (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 | 51 ModeFlag mode, AnnotationUsecase annotation_usecase, 58 ModeFlag mode, AnnotationUsecase annotation_usecase,
|
D | regex-parser.cc | 123 ModeFlag mode, AnnotationUsecase annotation_usecase, in Parse() argument 127 annotation_usecase, anchor_start_end); in Parse() 134 ModeFlag mode, AnnotationUsecase annotation_usecase, bool anchor_start_end, in FindSpansUsingLocales() argument 151 (1 << annotation_usecase)) == 0) { in FindSpansUsingLocales() 176 ModeFlag mode, AnnotationUsecase annotation_usecase, in Parse() argument 184 reference_timezone, mode, annotation_usecase, in Parse()
|
/external/libtextclassifier/native/annotator/knowledge/ |
D | knowledge-engine-dummy.h | 43 AnnotationUsecase annotation_usecase, in ClassifyText() argument 50 Status Chunk(const std::string& text, AnnotationUsecase annotation_usecase, in Chunk() argument 60 AnnotationUsecase annotation_usecase, in ChunkMultipleSpans() argument
|
/external/libtextclassifier/native/annotator/number/ |
D | number.cc | 34 AnnotationUsecase annotation_usecase, in ClassifyText() argument 42 if (!FindAll(substring_selected, annotation_usecase, ModeFlag_CLASSIFICATION, in ClassifyText() 220 AnnotationUsecase annotation_usecase, in FindAll() argument 256 if (((1 << annotation_usecase) & options_->enabled_annotation_usecases()) != in FindAll() 269 ((1 << annotation_usecase) & in FindAll()
|
D | number.h | 56 AnnotationUsecase annotation_usecase, 61 AnnotationUsecase annotation_usecase, ModeFlag mode,
|
/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 | 839 if (options.annotation_usecase != in SuggestSelection() 911 is_entity_type_enabled, options.annotation_usecase, in SuggestSelection() 919 options.annotation_usecase, in SuggestSelection() 927 ->Chunk(context, options.annotation_usecase, in SuggestSelection() 948 !number_annotator_->FindAll(context_unicode, options.annotation_usecase, in SuggestSelection() 956 context_unicode, tokens, options.annotation_usecase, in SuggestSelection() 1117 bool DoSourcesConflict(AnnotationUsecase annotation_usecase, in DoSourcesConflict() argument 1123 switch (annotation_usecase) { in DoSourcesConflict() 1225 options.annotation_usecase == in ResolveConflict() 1227 (options.annotation_usecase == in ResolveConflict() [all …]
|
D | annotator_test-include.cc | 1261 options.annotation_usecase = AnnotationUsecase_ANNOTATION_USECASE_RAW; in TEST_F() 1282 options.annotation_usecase = AnnotationUsecase_ANNOTATION_USECASE_SMART; in TEST_F() 1293 options.annotation_usecase = AnnotationUsecase_ANNOTATION_USECASE_RAW; in VerifyAnnotatesDurationsInRawMode() 1313 options.annotation_usecase = AnnotationUsecase_ANNOTATION_USECASE_RAW; in VerifyDurationAndRelativeTimeCanOverlapInRawMode() 1866 options.annotation_usecase = AnnotationUsecase_ANNOTATION_USECASE_SMART; in TEST_F() 1887 options.annotation_usecase = AnnotationUsecase_ANNOTATION_USECASE_SMART; in TEST_F() 1906 options.annotation_usecase = AnnotationUsecase_ANNOTATION_USECASE_SMART; in TEST_F() 1925 options.annotation_usecase = AnnotationUsecase_ANNOTATION_USECASE_SMART; in TEST_F() 1945 options.annotation_usecase = AnnotationUsecase_ANNOTATION_USECASE_SMART; in TEST_F() 1981 options.annotation_usecase = AnnotationUsecase_ANNOTATION_USECASE_SMART; in TEST_F() [all …]
|
D | types.h | 530 AnnotationUsecase annotation_usecase = ANNOTATION_USECASE_SMART; member 551 this->annotation_usecase == other.annotation_usecase &&
|
D | annotator.h | 399 const AnnotationUsecase& annotation_usecase, 408 AnnotationUsecase annotation_usecase,
|
/external/libtextclassifier/native/annotator/duration/ |
D | duration.h | 85 AnnotationUsecase annotation_usecase, 90 AnnotationUsecase annotation_usecase, ModeFlag mode,
|
D | duration.cc | 127 AnnotationUsecase annotation_usecase, in ClassifyText() argument 130 ((options_->enabled_annotation_usecases() & (1 << annotation_usecase))) == in ClassifyText() 156 AnnotationUsecase annotation_usecase, in FindAll() argument 160 ((options_->enabled_annotation_usecases() & (1 << annotation_usecase))) == in FindAll()
|
/external/libtextclassifier/native/actions/ |
D | actions-suggestions.cc | 1107 options.annotation_usecase = in AnnotationOptionsForMessage() 1108 model_->annotation_actions_spec()->annotation_usecase(); in AnnotationOptionsForMessage()
|
D | actions_model.fbs | 398 annotation_usecase:AnnotationUsecase = ANNOTATION_USECASE_SMART;
|