Searched refs:chargram_orders (Results 1 – 8 of 8) sorted by relevance
/external/libtextclassifier/native/utils/ |
D | token-feature-extractor_test.cc | 40 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 …]
|
D | token-feature-extractor.cc | 205 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()
|
D | token-feature-extractor.h | 36 std::vector<int> chargram_orders; member
|
/external/libtextclassifier/native/actions/ |
D | feature-processor.cc | 25 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()
|
D | actions_model.fbs | 177 chargram_orders:[int];
|
D | actions-suggestions_test.cc | 1423 options_->chargram_orders = {1}; in EmbeddingTest()
|
/external/libtextclassifier/native/annotator/ |
D | feature-processor.cc | 59 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()
|
D | model.fbs | 692 chargram_orders:[int];
|