HomeSort by relevance Sort by last modified time
    Searched refs:NGramModel (Results 1 - 4 of 4) sorted by null

  /external/libtextclassifier/actions/
ngram-model.h 29 class NGramModel {
31 static std::unique_ptr<NGramModel> Create(
45 NGramModel(const NGramLinearRegressionModel* model,
ngram-model.cc 63 std::unique_ptr<NGramModel> NGramModel::Create(
73 return std::unique_ptr<NGramModel>(new NGramModel(model, tokenizer, unilib));
76 NGramModel::NGramModel(const NGramLinearRegressionModel* model,
90 bool NGramModel::IsNGramMatch(const uint32* tokens, size_t num_tokens,
114 uint64 NGramModel::GetNumSkipGrams(int num_tokens, int max_ngram_length,
140 std::pair<int, int> NGramModel::GetFirstTokenMatches(uint32 token_hash) const {
149 bool NGramModel::Eval(const UnicodeText& text, float* score) const
    [all...]
actions-suggestions.h 294 std::unique_ptr<const NGramModel> ngram_model_;
actions-suggestions.cc 337 ngram_model_ = NGramModel::Create(model_->low_confidence_ngram_model(),
    [all...]

Completed in 324 milliseconds