Home
last modified time | relevance | path

Searched refs:regexp_features (Results 1 – 6 of 6) sorted by relevance

/external/libtextclassifier/native/actions/
Dfeature-processor.cc34 if (options->regexp_features() != nullptr) { in BuildTokenFeatureExtractorOptions()
35 for (const auto regexp_feature : *options->regexp_features()) { in BuildTokenFeatureExtractorOptions()
36 extractor_options.regexp_features.push_back(regexp_feature->str()); in BuildTokenFeatureExtractorOptions()
Dactions_model.fbs186 regexp_features:[string];
/external/libtextclassifier/native/utils/
Dtoken-feature-extractor.h48 std::vector<std::string> regexp_features; member
Dtoken-feature-extractor_test.cc370 options.regexp_features.push_back("^[a-z]+$"); // all lower case. in TEST_F()
371 options.regexp_features.push_back("^[0-9]+$"); // all digits. in TEST_F()
Dtoken-feature-extractor.cc75 for (const std::string& pattern : options.regexp_features) { in TokenFeatureExtractor()
/external/libtextclassifier/native/annotator/
Dfeature-processor.cc71 extractor_options.regexp_features.push_back(regexp_feature->str()); in BuildTokenFeatureExtractorOptions()