Searched refs:chargram_orders (Results 1 – 6 of 6) sorted by relevance
/external/libtextclassifier/ |
D | token-feature-extractor_test.cc | 34 options.chargram_orders = std::vector<int>{1, 2, 3}; in TEST() 105 options.chargram_orders = std::vector<int>{}; in TEST() 135 options.chargram_orders = std::vector<int>{1, 2, 3}; in TEST() 206 options.chargram_orders = std::vector<int>{}; in TEST() 238 options.chargram_orders = std::vector<int>{1, 2}; in TEST() 274 options.chargram_orders = std::vector<int>{1, 2}; in TEST() 299 options.chargram_orders = std::vector<int>{1, 2}; in TEST() 324 options.chargram_orders = std::vector<int>{1, 2}; in TEST() 349 options.chargram_orders = std::vector<int>{1, 2}; in TEST() 370 options.chargram_orders = std::vector<int>{1, 2}; in TEST() [all …]
|
D | token-feature-extractor.cc | 206 result.reserve(options_.chargram_orders.size() * feature_word.size()); in ExtractCharactergramFeaturesAscii() 208 if (options_.chargram_orders.empty()) { in ExtractCharactergramFeaturesAscii() 212 for (int chargram_order : options_.chargram_orders) { in ExtractCharactergramFeaturesAscii() 270 result.reserve(options_.chargram_orders.size() * feature_word.size()); in ExtractCharactergramFeaturesUnicode() 272 if (options_.chargram_orders.empty()) { in ExtractCharactergramFeaturesUnicode() 276 for (int chargram_order : options_.chargram_orders) { in ExtractCharactergramFeaturesUnicode()
|
D | token-feature-extractor.h | 36 std::vector<int> chargram_orders; member
|
D | model_generated.h | 2434 std::vector<int32_t> chargram_orders; member 2536 const flatbuffers::Vector<int32_t> *chargram_orders() const { in chargram_orders() function 2622 verifier.Verify(chargram_orders()) && in Verify() 2687 void add_chargram_orders(flatbuffers::Offset<flatbuffers::Vector<int32_t>> chargram_orders) { in add_chargram_orders() 2688 fbb_.AddOffset(FeatureProcessorOptions::VT_CHARGRAM_ORDERS, chargram_orders); in add_chargram_orders() 2784 flatbuffers::Offset<flatbuffers::Vector<int32_t>> chargram_orders = 0, 2825 builder_.add_chargram_orders(chargram_orders); 2852 const std::vector<int32_t> *chargram_orders = nullptr, 2885 chargram_orders ? _fbb.CreateVector<int32_t>(*chargram_orders) : 0, 3584 …= chargram_orders(); if (_e) { _o->chargram_orders.resize(_e->size()); for (flatbuffers::uoffset_t… in UnPackTo() [all …]
|
D | feature-processor.cc | 36 if (options->chargram_orders() != nullptr) { in BuildTokenFeatureExtractorOptions() 37 for (int order : *options->chargram_orders()) { in BuildTokenFeatureExtractorOptions() 38 extractor_options.chargram_orders.push_back(order); in BuildTokenFeatureExtractorOptions()
|
D | model.fbs | 476 chargram_orders:[int];
|