/external/libtextclassifier/native/annotator/pod_ner/ |
D | pod-ner-impl_test.cc | 105 std::unique_ptr<PodNerAnnotator> annotator = in TEST_F() local 107 ASSERT_TRUE(annotator != nullptr); in TEST_F() 111 ASSERT_TRUE(annotator->Annotate( in TEST_F() 118 ASSERT_TRUE(annotator->Annotate( in TEST_F() 128 std::unique_ptr<PodNerAnnotator> annotator = in TEST_F() local 130 ASSERT_TRUE(annotator != nullptr); in TEST_F() 134 ASSERT_TRUE(annotator->Annotate(UTF8ToUnicodeText(""), &annotations)); in TEST_F() 187 std::unique_ptr<PodNerAnnotator> annotator = in TEST_F() local 189 ASSERT_TRUE(annotator != nullptr); in TEST_F() 195 ASSERT_TRUE(annotator->Annotate(UTF8ToUnicodeText(multi_word_location), in TEST_F() [all …]
|
D | pod-ner-impl.cc | 198 std::unique_ptr<PodNerAnnotator> annotator(new PodNerAnnotator(unilib)); in Create() local 199 annotator->tokenizer_ = std::move(tokenizer); in Create() 200 annotator->lowercase_input_ = model->lowercase_input(); in Create() 201 annotator->logits_index_in_output_tensor_ = in Create() 203 annotator->append_final_period_ = model->append_final_period(); in Create() 206 annotator->labels_.clear(); in Create() 208 annotator->labels_.emplace_back(); in Create() 209 annotator->labels_.back().boise_type = label->boise_type(); in Create() 210 annotator->labels_.back().mention_type = label->mention_type(); in Create() 211 annotator->labels_.back().collection_id = label->collection_id(); in Create() [all …]
|
/external/libtextclassifier/native/annotator/grammar/ |
D | grammar-annotator_test.cc | 66 GrammarAnnotator annotator(CreateGrammarAnnotator(serialized_model)); in TEST_F() local 69 EXPECT_TRUE(annotator.Annotate( in TEST_F() 109 GrammarAnnotator annotator(CreateGrammarAnnotator(serialized_model)); in TEST_F() local 112 EXPECT_TRUE(annotator.Annotate( in TEST_F() 152 GrammarAnnotator annotator(CreateGrammarAnnotator(serialized_model)); in TEST_F() local 155 EXPECT_TRUE(annotator.Annotate( in TEST_F() 184 GrammarAnnotator annotator(CreateGrammarAnnotator(serialized_model)); in TEST_F() local 187 EXPECT_TRUE(annotator.ClassifyText( in TEST_F() 240 GrammarAnnotator annotator(CreateGrammarAnnotator(serialized_model)); in TEST_F() local 242 EXPECT_FALSE(annotator.ClassifyText( in TEST_F() [all …]
|
/external/libtextclassifier/native/ |
D | JavaTests.bp | 22 "annotator/pod_ner/pod-ner-impl_test.cc", 23 "annotator/datetime/regex-parser_test.cc", 24 "annotator/datetime/grammar-parser_test.cc", 25 "annotator/datetime/datetime-grounder_test.cc", 30 "annotator/number/number_test-include.cc", 31 "annotator/annotator_test-include.cc", 32 "annotator/grammar/grammar-annotator_test.cc", 33 "annotator/grammar/test-utils.cc",
|
D | FlatBufferHeaders.bp | 47 srcs: ["annotator/person_name/person_name_model.fbs"], 48 out: ["annotator/person_name/person_name_model_generated.h"], 54 srcs: ["annotator/datetime/datetime.fbs"], 55 out: ["annotator/datetime/datetime_generated.h"], 61 srcs: ["annotator/experimental/experimental.fbs"], 62 out: ["annotator/experimental/experimental_generated.h"], 68 srcs: ["annotator/entity-data.fbs"], 69 out: ["annotator/entity-data_generated.h"], 75 srcs: ["annotator/model.fbs"], 76 out: ["annotator/model_generated.h"],
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/ |
D | SectionAnnotator.java | 44 @Nonnull public final DexAnnotator annotator; field in SectionAnnotator 52 public SectionAnnotator(@Nonnull DexAnnotator annotator, @Nonnull MapItem mapItem) { in SectionAnnotator() argument 53 this.annotator = annotator; in SectionAnnotator() 54 this.dexFile = annotator.dexFile; in SectionAnnotator()
|
D | EncodedArrayItem.java | 43 …public static SectionAnnotator makeAnnotator(@Nonnull DexAnnotator annotator, @Nonnull MapItem map… in makeAnnotator() argument 44 return new SectionAnnotator(annotator, mapItem) { in makeAnnotator()
|
D | ClassDefItem.java | 56 …public static SectionAnnotator makeAnnotator(@Nonnull DexAnnotator annotator, @Nonnull MapItem map… in makeAnnotator() argument 57 return new SectionAnnotator(annotator, mapItem) { in makeAnnotator() 61 classDataAnnotator = annotator.getAnnotator(ItemType.CLASS_DATA_ITEM); in makeAnnotator()
|
D | StringDataItem.java | 44 …public static SectionAnnotator makeAnnotator(@Nonnull DexAnnotator annotator, @Nonnull MapItem map… in makeAnnotator() argument 45 return new SectionAnnotator(annotator, mapItem) { in makeAnnotator()
|
D | AnnotationSetItem.java | 46 …public static SectionAnnotator makeAnnotator(@Nonnull DexAnnotator annotator, @Nonnull MapItem map… in makeAnnotator() argument 47 return new SectionAnnotator(annotator, mapItem) { in makeAnnotator()
|
D | AnnotationSetRefList.java | 46 …public static SectionAnnotator makeAnnotator(@Nonnull DexAnnotator annotator, @Nonnull MapItem map… in makeAnnotator() argument 47 return new SectionAnnotator(annotator, mapItem) { in makeAnnotator()
|
D | CallSiteIdItem.java | 49 …public static SectionAnnotator makeAnnotator(@Nonnull DexAnnotator annotator, @Nonnull MapItem map… in makeAnnotator() argument 50 return new SectionAnnotator(annotator, mapItem) { in makeAnnotator()
|
D | MethodHandleItem.java | 49 …public static SectionAnnotator makeAnnotator(@Nonnull DexAnnotator annotator, @Nonnull MapItem map… in makeAnnotator() argument 50 return new SectionAnnotator(annotator, mapItem) { in makeAnnotator()
|
D | AnnotationItem.java | 47 …public static SectionAnnotator makeAnnotator(@Nonnull DexAnnotator annotator, @Nonnull MapItem map… in makeAnnotator() argument 48 return new SectionAnnotator(annotator, mapItem) { in makeAnnotator()
|
D | TypeIdItem.java | 45 …public static SectionAnnotator makeAnnotator(@Nonnull DexAnnotator annotator, @Nonnull MapItem map… in makeAnnotator() argument 46 return new SectionAnnotator(annotator, mapItem) { in makeAnnotator()
|
D | ClassDataItem.java | 45 …public static SectionAnnotator makeAnnotator(@Nonnull DexAnnotator annotator, @Nonnull MapItem map… in makeAnnotator() argument 46 return new SectionAnnotator(annotator, mapItem) { in makeAnnotator() 50 codeItemAnnotator = annotator.getAnnotator(ItemType.CODE_ITEM); in makeAnnotator()
|
D | TypeListItem.java | 46 …public static SectionAnnotator makeAnnotator(@Nonnull DexAnnotator annotator, @Nonnull MapItem map… in makeAnnotator() argument 47 return new SectionAnnotator(annotator, mapItem) { in makeAnnotator()
|
D | MapItem.java | 74 …public static SectionAnnotator makeAnnotator(@Nonnull DexAnnotator annotator, @Nonnull MapItem map… in makeAnnotator() argument 75 return new SectionAnnotator(annotator, mapItem) { in makeAnnotator()
|
D | FieldIdItem.java | 49 …public static SectionAnnotator makeAnnotator(@Nonnull DexAnnotator annotator, @Nonnull MapItem map… in makeAnnotator() argument 50 return new SectionAnnotator(annotator, mapItem) { in makeAnnotator()
|
D | StringIdItem.java | 46 …public static SectionAnnotator makeAnnotator(@Nonnull DexAnnotator annotator, @Nonnull MapItem map… in makeAnnotator() argument 47 return new SectionAnnotator(annotator, mapItem) { in makeAnnotator()
|
D | ProtoIdItem.java | 49 …public static SectionAnnotator makeAnnotator(@Nonnull DexAnnotator annotator, @Nonnull MapItem map… in makeAnnotator() argument 50 return new SectionAnnotator(annotator, mapItem) { in makeAnnotator()
|
D | MethodIdItem.java | 49 …public static SectionAnnotator makeAnnotator(@Nonnull DexAnnotator annotator, @Nonnull MapItem map… in makeAnnotator() argument 50 return new SectionAnnotator(annotator, mapItem) { in makeAnnotator()
|
/external/libtextclassifier/jni/com/google/android/textclassifier/ |
D | ActionsSuggestionsModel.java | 91 Conversation conversation, ActionSuggestionOptions options, AnnotatorModel annotator) { in suggestActions() argument 96 (annotator != null ? annotator.getNativeAnnotatorPointer() : 0), in suggestActions() 107 AnnotatorModel annotator) { in suggestActionsWithIntents() argument 112 (annotator != null ? annotator.getNativeAnnotatorPointer() : 0), in suggestActionsWithIntents()
|
/external/libtextclassifier/native/annotator/person_name/ |
D | person_name_model.fbs | 22 // Person name which is considered by the person name annotator. This 32 // Decides if the person name annotator is enabled. 36 // List of all person names which are considered by the person name annotator.
|
/external/smali/baksmali/src/main/java/org/jf/baksmali/ |
D | DumpCommand.java | 104 DexAnnotator annotator = new DexAnnotator(rawDexFile, consoleWidth); in dump() local 105 annotator.writeAnnotations(writer); in dump()
|