Home
last modified time | relevance | path

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

/external/libtextclassifier/native/annotator/grammar/
Dgrammar-annotator.cc240 const GrammarModel_::RuleClassificationResult* best_interpretation = nullptr; in SuggestSelection() local
251 if (best_interpretation == nullptr || in SuggestSelection()
253 best_interpretation->priority_score()) { in SuggestSelection()
254 best_interpretation = interpretation; in SuggestSelection()
259 if (best_interpretation == nullptr) { in SuggestSelection()
264 best_interpretation, result); in SuggestSelection()
296 const GrammarModel_::RuleClassificationResult* best_interpretation = nullptr; in ClassifyText() local
307 if (best_interpretation == nullptr || in ClassifyText()
309 best_interpretation->priority_score()) { in ClassifyText()
310 best_interpretation = interpretation; in ClassifyText()
[all …]