Searched refs:FeatureProcessor (Results 1 – 13 of 13) sorted by relevance
/aosp_15_r20/external/libtextclassifier/native/annotator/ |
H A D | feature-processor.cc | 139 void FeatureProcessor::StripTokensFromOtherLines( in StripTokensFromOtherLines() 150 void FeatureProcessor::StripTokensFromOtherLines( in StripTokensFromOtherLines() 178 std::string FeatureProcessor::GetDefaultCollection() const { in GetDefaultCollection() 189 std::vector<Token> FeatureProcessor::Tokenize(const std::string& text) const { in Tokenize() 193 std::vector<Token> FeatureProcessor::Tokenize( in Tokenize() 198 bool FeatureProcessor::LabelToSpan(const int label, in LabelToSpan() 248 bool FeatureProcessor::LabelToTokenSpan(const int label, in LabelToTokenSpan() 258 bool FeatureProcessor::SpanToLabel(const CodepointSpan& span, in SpanToLabel() 323 int FeatureProcessor::TokenSpanToLabel(const TokenSpan& token_span) const { in TokenSpanToLabel() 443 int FeatureProcessor::FindCenterToken(const CodepointSpan& span, in FindCenterToken() [all …]
|
H A D | annotator.h | 234 const FeatureProcessor* SelectionFeatureProcessorForTests() const; 235 const FeatureProcessor* ClassificationFeatureProcessorForTests() const; 309 FeatureProcessor::EmbeddingCache* embedding_cache, 327 FeatureProcessor::EmbeddingCache* embedding_cache, 452 std::unique_ptr<const FeatureProcessor> selection_feature_processor_; 453 std::unique_ptr<const FeatureProcessor> classification_feature_processor_;
|
H A D | feature-processor_test.cc | 52 class TestingFeatureProcessor : public FeatureProcessor { 54 using FeatureProcessor::CountIgnoredSpanBoundaryCodepoints; 55 using FeatureProcessor::FeatureProcessor; 56 using FeatureProcessor::SpanToLabel; 57 using FeatureProcessor::StripTokensFromOtherLines; 58 using FeatureProcessor::supported_codepoint_ranges_; 59 using FeatureProcessor::SupportedCodepointsRatio; 759 FeatureProcessor::EmbeddingCache embedding_cache = { in TEST_F()
|
H A D | feature-processor.h | 99 class FeatureProcessor { 108 explicit FeatureProcessor(const FeatureProcessorOptions* options, in FeatureProcessor() function
|
H A D | annotator.cc | 348 new FeatureProcessor(model_->selection_feature_options(), unilib_)); in ValidateAndInitialize() 383 classification_feature_processor_.reset(new FeatureProcessor( in ValidateAndInitialize() 1449 FeatureProcessor::EmbeddingCache* embedding_cache, in ModelClassifyText() 1470 FeatureProcessor::EmbeddingCache* embedding_cache, in ModelClassifyText() 2065 FeatureProcessor::EmbeddingCache embedding_cache; in ModelAnnotate() 2113 const FeatureProcessor* Annotator::SelectionFeatureProcessorForTests() const { in SelectionFeatureProcessorForTests() 2117 const FeatureProcessor* Annotator::ClassificationFeatureProcessorForTests() in ClassificationFeatureProcessorForTests()
|
/aosp_15_r20/external/libtextclassifier/native/annotator/vocab/ |
H A D | vocab-annotator-impl.h | 35 const VocabModel *model, const FeatureProcessor &feature_processor, 51 const FeatureProcessor &feature_processor, 65 const FeatureProcessor &feature_processor_;
|
H A D | vocab-annotator-impl.cc | 30 const FeatureProcessor& feature_processor, const UniLib& unilib, in VocabAnnotator() 39 const VocabModel* model, const FeatureProcessor& feature_processor, in Create()
|
/aosp_15_r20/external/libtextclassifier/native/annotator/duration/ |
H A D | duration_test.cc | 98 std::unique_ptr<FeatureProcessor> BuildFeatureProcessor(const UniLib* unilib) { in BuildFeatureProcessor() 121 return std::unique_ptr<FeatureProcessor>( in BuildFeatureProcessor() 122 new FeatureProcessor(feature_processor_options, unilib)); in BuildFeatureProcessor() 138 std::unique_ptr<FeatureProcessor> feature_processor_; 606 std::unique_ptr<FeatureProcessor> feature_processor_;
|
H A D | duration.h | 68 const FeatureProcessor* feature_processor, in DurationAnnotator() 132 const FeatureProcessor* feature_processor_;
|
/aosp_15_r20/external/libtextclassifier/native/annotator/person_name/ |
H A D | person-name-engine-dummy.h | 35 explicit PersonNameEngine(const FeatureProcessor* feature_processor, in PersonNameEngine()
|
/aosp_15_r20/external/libtextclassifier/native/annotator/experimental/ |
H A D | experimental-dummy.h | 37 const FeatureProcessor& feature_processor, in ExperimentalAnnotator()
|
/aosp_15_r20/external/libtextclassifier/native/annotator/installed_app/ |
H A D | installed-app-engine-dummy.h | 34 explicit InstalledAppEngine(const FeatureProcessor* feature_processor, in InstalledAppEngine()
|
/aosp_15_r20/external/libtextclassifier/native/annotator/contact/ |
H A D | contact-engine-dummy.h | 35 explicit ContactEngine(const FeatureProcessor* feature_processor, in ContactEngine()
|