Searched refs:FeatureProcessor (Results 1 – 13 of 13) sorted by relevance
/external/libtextclassifier/native/annotator/ |
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 …]
|
D | annotator.h | 231 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_;
|
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()
|
D | feature-processor.h | 99 class FeatureProcessor { 108 explicit FeatureProcessor(const FeatureProcessorOptions* options, in FeatureProcessor() function
|
D | annotator.cc | 342 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/ |
D | vocab-annotator-impl.h | 35 const VocabModel *model, const FeatureProcessor &feature_processor, 51 const FeatureProcessor &feature_processor, 65 const FeatureProcessor &feature_processor_;
|
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()
|
/external/libtextclassifier/native/annotator/duration/ |
D | duration.h | 68 const FeatureProcessor* feature_processor, in DurationAnnotator() 132 const FeatureProcessor* feature_processor_;
|
D | duration_test.cc | 77 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/ |
D | person-name-engine-dummy.h | 35 explicit PersonNameEngine(const FeatureProcessor* feature_processor, in PersonNameEngine()
|
/external/libtextclassifier/native/annotator/installed_app/ |
D | installed-app-engine-dummy.h | 34 explicit InstalledAppEngine(const FeatureProcessor* feature_processor, in InstalledAppEngine()
|
/external/libtextclassifier/native/annotator/experimental/ |
D | experimental-dummy.h | 37 const FeatureProcessor& feature_processor, in ExperimentalAnnotator()
|
/external/libtextclassifier/native/annotator/contact/ |
D | contact-engine-dummy.h | 35 explicit ContactEngine(const FeatureProcessor* feature_processor, in ContactEngine()
|