Home
last modified time | relevance | path

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

/external/libtextclassifier/native/annotator/
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 …]
Dannotator.h231 const FeatureProcessor* SelectionFeatureProcessorForTests() const;
232 const FeatureProcessor* ClassificationFeatureProcessorForTests() const;
306 FeatureProcessor::EmbeddingCache* embedding_cache,
324 FeatureProcessor::EmbeddingCache* embedding_cache,
449 std::unique_ptr<const FeatureProcessor> selection_feature_processor_;
450 std::unique_ptr<const FeatureProcessor> classification_feature_processor_;
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()
Dfeature-processor.h99 class FeatureProcessor {
108 explicit FeatureProcessor(const FeatureProcessorOptions* options, in FeatureProcessor() function
Dannotator.cc342 new FeatureProcessor(model_->selection_feature_options(), unilib_)); in ValidateAndInitialize()
377 classification_feature_processor_.reset(new FeatureProcessor( in ValidateAndInitialize()
1423 FeatureProcessor::EmbeddingCache* embedding_cache, in ModelClassifyText()
1444 FeatureProcessor::EmbeddingCache* embedding_cache, in ModelClassifyText()
1977 FeatureProcessor::EmbeddingCache embedding_cache; in ModelAnnotate()
2109 const FeatureProcessor* Annotator::SelectionFeatureProcessorForTests() const { in SelectionFeatureProcessorForTests()
2113 const FeatureProcessor* Annotator::ClassificationFeatureProcessorForTests() in ClassificationFeatureProcessorForTests()
/external/libtextclassifier/native/annotator/vocab/
Dvocab-annotator-impl.h35 const VocabModel *model, const FeatureProcessor &feature_processor,
51 const FeatureProcessor &feature_processor,
65 const FeatureProcessor &feature_processor_;
Dvocab-annotator-impl.cc30 const FeatureProcessor& feature_processor, const UniLib& unilib, in VocabAnnotator()
39 const VocabModel* model, const FeatureProcessor& feature_processor, in Create()
/external/libtextclassifier/native/annotator/duration/
Dduration.h68 const FeatureProcessor* feature_processor, in DurationAnnotator()
132 const FeatureProcessor* feature_processor_;
Dduration_test.cc77 std::unique_ptr<FeatureProcessor> BuildFeatureProcessor(const UniLib* unilib) { in BuildFeatureProcessor()
100 return std::unique_ptr<FeatureProcessor>( in BuildFeatureProcessor()
101 new FeatureProcessor(feature_processor_options, unilib)); in BuildFeatureProcessor()
117 std::unique_ptr<FeatureProcessor> feature_processor_;
534 std::unique_ptr<FeatureProcessor> feature_processor_;
/external/libtextclassifier/native/annotator/person_name/
Dperson-name-engine-dummy.h35 explicit PersonNameEngine(const FeatureProcessor* feature_processor, in PersonNameEngine()
/external/libtextclassifier/native/annotator/installed_app/
Dinstalled-app-engine-dummy.h34 explicit InstalledAppEngine(const FeatureProcessor* feature_processor, in InstalledAppEngine()
/external/libtextclassifier/native/annotator/experimental/
Dexperimental-dummy.h37 const FeatureProcessor& feature_processor, in ExperimentalAnnotator()
/external/libtextclassifier/native/annotator/contact/
Dcontact-engine-dummy.h35 explicit ContactEngine(const FeatureProcessor* feature_processor, in ContactEngine()