Searched refs:FeatureProcessor (Results 1 – 11 of 11) sorted by relevance
/external/libtextclassifier/annotator/ |
D | feature-processor.cc | 139 void FeatureProcessor::StripTokensFromOtherLines( in StripTokensFromOtherLines() 147 void FeatureProcessor::StripTokensFromOtherLines( in StripTokensFromOtherLines() 180 std::string FeatureProcessor::GetDefaultCollection() const { in GetDefaultCollection() 191 std::vector<Token> FeatureProcessor::Tokenize(const std::string& text) const { in Tokenize() 195 std::vector<Token> FeatureProcessor::Tokenize( in Tokenize() 200 bool FeatureProcessor::LabelToSpan( in LabelToSpan() 250 bool FeatureProcessor::LabelToTokenSpan(const int label, in LabelToTokenSpan() 260 bool FeatureProcessor::SpanToLabel( in SpanToLabel() 325 int FeatureProcessor::TokenSpanToLabel(const TokenSpan& span) const { in TokenSpanToLabel() 432 int FeatureProcessor::FindCenterToken(CodepointSpan span, in FindCenterToken() [all …]
|
D | annotator.h | 262 const FeatureProcessor* SelectionFeatureProcessorForTests() const; 263 const FeatureProcessor* ClassificationFeatureProcessorForTests() const; 340 FeatureProcessor::EmbeddingCache* embedding_cache, 349 FeatureProcessor::EmbeddingCache* embedding_cache, 357 FeatureProcessor::EmbeddingCache* embedding_cache, 468 std::unique_ptr<const FeatureProcessor> selection_feature_processor_; 469 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; 684 FeatureProcessor::EmbeddingCache embedding_cache = { in TEST_F()
|
D | feature-processor.h | 85 class FeatureProcessor { 94 FeatureProcessor(const FeatureProcessorOptions* options, const UniLib* unilib) in FeatureProcessor() function
|
D | annotator.cc | 292 new FeatureProcessor(model_->selection_feature_options(), unilib_)); in ValidateAndInitialize() 327 classification_feature_processor_.reset(new FeatureProcessor( in ValidateAndInitialize() 1118 FeatureProcessor::EmbeddingCache* embedding_cache, in ModelClassifyText() 1192 FeatureProcessor::EmbeddingCache* embedding_cache, in ModelClassifyText() 1204 FeatureProcessor::EmbeddingCache* embedding_cache, in ModelClassifyText() 1664 FeatureProcessor::EmbeddingCache embedding_cache; in ModelAnnotate() 1736 const FeatureProcessor* Annotator::SelectionFeatureProcessorForTests() const { in SelectionFeatureProcessorForTests() 1740 const FeatureProcessor* Annotator::ClassificationFeatureProcessorForTests() in ClassificationFeatureProcessorForTests()
|
/external/libtextclassifier/annotator/number/ |
D | number.h | 40 const FeatureProcessor* feature_processor) in NumberAnnotator() 71 const FeatureProcessor* feature_processor_;
|
D | number_test.cc | 54 FeatureProcessor BuildFeatureProcessor(const UniLib* unilib) { in BuildFeatureProcessor() 77 return FeatureProcessor(feature_processor_options, unilib); in BuildFeatureProcessor() 89 FeatureProcessor feature_processor_;
|
/external/libtextclassifier/annotator/duration/ |
D | duration.h | 61 const FeatureProcessor* feature_processor) in DurationAnnotator() 119 const FeatureProcessor* feature_processor_;
|
D | duration_test.cc | 74 FeatureProcessor BuildFeatureProcessor(const UniLib* unilib) { in BuildFeatureProcessor() 97 return FeatureProcessor(feature_processor_options, unilib); in BuildFeatureProcessor() 113 FeatureProcessor feature_processor_;
|
/external/libtextclassifier/annotator/contact/ |
D | contact-engine-dummy.h | 34 explicit ContactEngine(const FeatureProcessor* feature_processor, in ContactEngine()
|
/external/libtextclassifier/annotator/installed_app/ |
D | installed-app-engine-dummy.h | 34 explicit InstalledAppEngine(const FeatureProcessor* feature_processor, in InstalledAppEngine()
|