Home
last modified time | relevance | path

Searched refs:FeatureProcessor (Results 1 – 13 of 13) sorted by relevance

/aosp_15_r20/external/libtextclassifier/native/annotator/
H A Dfeature-processor.cc139 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 Dannotator.h234 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 Dfeature-processor_test.cc52 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 Dfeature-processor.h99 class FeatureProcessor {
108 explicit FeatureProcessor(const FeatureProcessorOptions* options, in FeatureProcessor() function
H A Dannotator.cc348 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 Dvocab-annotator-impl.h35 const VocabModel *model, const FeatureProcessor &feature_processor,
51 const FeatureProcessor &feature_processor,
65 const FeatureProcessor &feature_processor_;
H A Dvocab-annotator-impl.cc30 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 Dduration_test.cc98 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 Dduration.h68 const FeatureProcessor* feature_processor, in DurationAnnotator()
132 const FeatureProcessor* feature_processor_;
/aosp_15_r20/external/libtextclassifier/native/annotator/person_name/
H A Dperson-name-engine-dummy.h35 explicit PersonNameEngine(const FeatureProcessor* feature_processor, in PersonNameEngine()
/aosp_15_r20/external/libtextclassifier/native/annotator/experimental/
H A Dexperimental-dummy.h37 const FeatureProcessor& feature_processor, in ExperimentalAnnotator()
/aosp_15_r20/external/libtextclassifier/native/annotator/installed_app/
H A Dinstalled-app-engine-dummy.h34 explicit InstalledAppEngine(const FeatureProcessor* feature_processor, in InstalledAppEngine()
/aosp_15_r20/external/libtextclassifier/native/annotator/contact/
H A Dcontact-engine-dummy.h35 explicit ContactEngine(const FeatureProcessor* feature_processor, in ContactEngine()