Home
last modified time | relevance | path

Searched refs:chargram_orders (Results 1 – 8 of 8) sorted by relevance

/external/libtextclassifier/native/utils/
Dtoken-feature-extractor_test.cc40 options.chargram_orders = std::vector<int>{1, 2, 3}; in TEST_F()
110 options.chargram_orders = std::vector<int>{}; in TEST_F()
139 options.chargram_orders = std::vector<int>{1, 2, 3}; in TEST_F()
209 options.chargram_orders = std::vector<int>{}; in TEST_F()
240 options.chargram_orders = std::vector<int>{1, 2}; in TEST_F()
275 options.chargram_orders = std::vector<int>{1, 2}; in TEST_F()
299 options.chargram_orders = std::vector<int>{1, 2}; in TEST_F()
323 options.chargram_orders = std::vector<int>{1, 2}; in TEST_F()
347 options.chargram_orders = std::vector<int>{1, 2}; in TEST_F()
367 options.chargram_orders = std::vector<int>{1, 2}; in TEST_F()
[all …]
Dtoken-feature-extractor.cc205 result.reserve(options_.chargram_orders.size() * feature_word.size()); in ExtractCharactergramFeaturesAscii()
207 if (options_.chargram_orders.empty()) { in ExtractCharactergramFeaturesAscii()
211 for (int chargram_order : options_.chargram_orders) { in ExtractCharactergramFeaturesAscii()
269 result.reserve(options_.chargram_orders.size() * feature_word.size()); in ExtractCharactergramFeaturesUnicode()
271 if (options_.chargram_orders.empty()) { in ExtractCharactergramFeaturesUnicode()
275 for (int chargram_order : options_.chargram_orders) { in ExtractCharactergramFeaturesUnicode()
Dtoken-feature-extractor.h36 std::vector<int> chargram_orders; member
/external/libtextclassifier/native/actions/
Dfeature-processor.cc25 if (options->chargram_orders() != nullptr) { in BuildTokenFeatureExtractorOptions()
26 for (int order : *options->chargram_orders()) { in BuildTokenFeatureExtractorOptions()
27 extractor_options.chargram_orders.push_back(order); in BuildTokenFeatureExtractorOptions()
Dactions_model.fbs177 chargram_orders:[int];
Dactions-suggestions_test.cc1423 options_->chargram_orders = {1}; in EmbeddingTest()
/external/libtextclassifier/native/annotator/
Dfeature-processor.cc59 if (options->chargram_orders() != nullptr) { in BuildTokenFeatureExtractorOptions()
60 for (int order : *options->chargram_orders()) { in BuildTokenFeatureExtractorOptions()
61 extractor_options.chargram_orders.push_back(order); in BuildTokenFeatureExtractorOptions()
Dmodel.fbs692 chargram_orders:[int];