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.cc45 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()
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.h49 ModeFlag mode, AnnotationUsecase annotation_usecase,
56 ModeFlag mode, AnnotationUsecase annotation_usecase,
Dregex-parser.cc122 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/
Dknowledge-engine-dummy.h41 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/
Dnumber.cc33 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()
Dnumber.h56 AnnotationUsecase annotation_usecase,
61 AnnotationUsecase annotation_usecase,
/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.cc819 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 …]
Dannotator_test-include.cc1289 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 …]
Dtypes.h526 AnnotationUsecase annotation_usecase = ANNOTATION_USECASE_SMART; member
547 this->annotation_usecase == other.annotation_usecase &&
Dannotator.h396 const AnnotationUsecase& annotation_usecase,
405 AnnotationUsecase annotation_usecase,
/external/libtextclassifier/native/annotator/duration/
Dduration.h85 AnnotationUsecase annotation_usecase,
90 AnnotationUsecase annotation_usecase,
Dduration.cc126 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/
Dactions-suggestions.cc1066 options.annotation_usecase = in AnnotationOptionsForMessage()
1067 model_->annotation_actions_spec()->annotation_usecase(); in AnnotationOptionsForMessage()
Dactions_model.fbs373 annotation_usecase:AnnotationUsecase = ANNOTATION_USECASE_SMART;