Home
last modified time | relevance | path

Searched refs:annotation_usecase (Results 1 – 19 of 19) sorted by relevance

/external/libtextclassifier/native/annotator/datetime/testing/
Dbase-parser-test.cc35 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()
Dbase-parser-test.h35 AnnotationUsecase annotation_usecase =
46 AnnotationUsecase annotation_usecase =
56 AnnotationUsecase annotation_usecase =
/external/libtextclassifier/native/annotator/datetime/
Dgrammar-parser.cc48 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()
Dparser.h45 ModeFlag mode, AnnotationUsecase annotation_usecase,
52 ModeFlag mode, AnnotationUsecase annotation_usecase,
Dregex-parser.h55 ModeFlag mode, AnnotationUsecase annotation_usecase,
62 ModeFlag mode, AnnotationUsecase annotation_usecase,
80 ModeFlag mode, AnnotationUsecase annotation_usecase,
Dgrammar-parser.h51 ModeFlag mode, AnnotationUsecase annotation_usecase,
58 ModeFlag mode, AnnotationUsecase annotation_usecase,
Dregex-parser.cc123 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/
Dknowledge-engine-dummy.h43 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/
Dnumber.cc34 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()
Dnumber.h56 AnnotationUsecase annotation_usecase,
61 AnnotationUsecase annotation_usecase, ModeFlag mode,
/external/libtextclassifier/native/annotator/
Dannotator_jni_common.cc94 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()
Dannotator.cc839 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 …]
Dannotator_test-include.cc1261 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 …]
Dtypes.h530 AnnotationUsecase annotation_usecase = ANNOTATION_USECASE_SMART; member
551 this->annotation_usecase == other.annotation_usecase &&
Dannotator.h399 const AnnotationUsecase& annotation_usecase,
408 AnnotationUsecase annotation_usecase,
/external/libtextclassifier/native/annotator/duration/
Dduration.h85 AnnotationUsecase annotation_usecase,
90 AnnotationUsecase annotation_usecase, ModeFlag mode,
Dduration.cc127 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/
Dactions-suggestions.cc1107 options.annotation_usecase = in AnnotationOptionsForMessage()
1108 model_->annotation_actions_spec()->annotation_usecase(); in AnnotationOptionsForMessage()
Dactions_model.fbs398 annotation_usecase:AnnotationUsecase = ANNOTATION_USECASE_SMART;