Home
last modified time | relevance | path

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

/external/libtextclassifier/annotator/
Dfeature-processor.cc139 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 …]
Dannotator.h262 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_;
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;
684 FeatureProcessor::EmbeddingCache embedding_cache = { in TEST_F()
Dfeature-processor.h85 class FeatureProcessor {
94 FeatureProcessor(const FeatureProcessorOptions* options, const UniLib* unilib) in FeatureProcessor() function
Dannotator.cc292 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/
Dnumber.h40 const FeatureProcessor* feature_processor) in NumberAnnotator()
71 const FeatureProcessor* feature_processor_;
Dnumber_test.cc54 FeatureProcessor BuildFeatureProcessor(const UniLib* unilib) { in BuildFeatureProcessor()
77 return FeatureProcessor(feature_processor_options, unilib); in BuildFeatureProcessor()
89 FeatureProcessor feature_processor_;
/external/libtextclassifier/annotator/duration/
Dduration.h61 const FeatureProcessor* feature_processor) in DurationAnnotator()
119 const FeatureProcessor* feature_processor_;
Dduration_test.cc74 FeatureProcessor BuildFeatureProcessor(const UniLib* unilib) { in BuildFeatureProcessor()
97 return FeatureProcessor(feature_processor_options, unilib); in BuildFeatureProcessor()
113 FeatureProcessor feature_processor_;
/external/libtextclassifier/annotator/contact/
Dcontact-engine-dummy.h34 explicit ContactEngine(const FeatureProcessor* feature_processor, in ContactEngine()
/external/libtextclassifier/annotator/installed_app/
Dinstalled-app-engine-dummy.h34 explicit InstalledAppEngine(const FeatureProcessor* feature_processor, in InstalledAppEngine()