Home
last modified time | relevance | path

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

/aosp_15_r20/external/libtextclassifier/native/actions/
H A 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()
H A Dactions_model.fbs186 regexp_features:[string];
/aosp_15_r20/out/soong/.intermediates/external/libtextclassifier/native/libtextclassifier_fbgen_actions_actions_model/gen/actions/
Dactions_model_generated.h814 std::vector<std::string> regexp_features{};
879 const flatbuffers::Vector<flatbuffers::Offset<flatbuffers::String>> *regexp_features() const { in regexp_features() function
926 verifier.VerifyVector(regexp_features()) && in Verify()
927 verifier.VerifyVectorOfStrings(regexp_features()) && in Verify()
973 …atbuffers::Offset<flatbuffers::Vector<flatbuffers::Offset<flatbuffers::String>>> regexp_features) { in add_regexp_features()
974 fbb_.AddOffset(ActionsTokenFeatureProcessorOptions::VT_REGEXP_FEATURES, regexp_features); in add_regexp_features()
1027 …buffers::Offset<flatbuffers::Vector<flatbuffers::Offset<flatbuffers::String>>> regexp_features = 0,
1047 builder_.add_regexp_features(regexp_features);
1071 const std::vector<flatbuffers::Offset<flatbuffers::String>> *regexp_features = nullptr,
1085 …auto regexp_features__ = regexp_features ? _fbb.CreateVector<flatbuffers::Offset<flatbuffers::Stri…
[all …]
/aosp_15_r20/external/libtextclassifier/native/utils/
H A Dtoken-feature-extractor.h48 std::vector<std::string> regexp_features; member
H A 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()
H A Dtoken-feature-extractor.cc75 for (const std::string& pattern : options.regexp_features) { in TokenFeatureExtractor()
/aosp_15_r20/external/libtextclassifier/native/annotator/
H A Dfeature-processor.cc71 extractor_options.regexp_features.push_back(regexp_feature->str()); in BuildTokenFeatureExtractorOptions()