Home
last modified time | relevance | path

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

/external/libtextclassifier/
Dtoken-feature-extractor_test.cc34 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 …]
Dtoken-feature-extractor.cc206 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()
Dtoken-feature-extractor.h36 std::vector<int> chargram_orders; member
Dmodel_generated.h2434 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 …]
Dfeature-processor.cc36 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()
Dmodel.fbs476 chargram_orders:[int];