Home
last modified time | relevance | path

Searched refs:regex_patterns_ (Results 1 – 5 of 5) sorted by relevance

/external/libtextclassifier/native/utils/
Dtoken-feature-extractor.cc76 regex_patterns_.push_back(std::unique_ptr<UniLib::RegexPattern>( in TokenFeatureExtractor()
139 if (!regex_patterns_.empty()) { in ExtractDenseFeatures()
142 for (int i = 0; i < regex_patterns_.size(); ++i) { in ExtractDenseFeatures()
143 if (!regex_patterns_[i].get()) { in ExtractDenseFeatures()
147 auto matcher = regex_patterns_[i]->Matcher(token_unicode); in ExtractDenseFeatures()
Dtoken-feature-extractor.h93 feature_count += regex_patterns_.size(); in DenseFeaturesCount()
111 std::vector<std::unique_ptr<UniLib::RegexPattern>> regex_patterns_; variable
/external/libtextclassifier/native/annotator/
Dannotator.h519 std::vector<CompiledRegexPattern> regex_patterns_; variable
Dannotator.cc581 regex_patterns_.push_back({ in InitializeRegexModel()
1626 const CompiledRegexPattern& regex_pattern = regex_patterns_[pattern_id]; in RegexClassifyText()
2826 const CompiledRegexPattern& regex_pattern = regex_patterns_[pattern_id]; in RegexChunk()
/external/libabigail/
DChangeLog30769 (corpus::priv::regex_patterns_{fns,vars}_to_{suppress,keep}): New data
30771 (symtab_build_visitor_type::regex_patterns_{fns,vars}_to_{suppress,keep}):