Home
last modified time | relevance | path

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

/external/libtextclassifier/annotator/
Dtypes.h194 float priority_score; member
200 std::abs(priority_score - other.priority_score) <
223 float priority_score; member
233 explicit ClassificationResult() : score(-1.0f), priority_score(-1.0) {} in ClassificationResult()
238 priority_score(arg_score) {} in ClassificationResult()
244 priority_score(arg_priority_score) {} in ClassificationResult()
Dtypes.cc58 << result.priority_score << ")"; in operator <<()
Dmodel.fbs226 priority_score:float = 0;
287 priority_score:float = 0;
635 priority_score:float = 0;
661 priority_score:float = 0;
Dannotator.cc623 return classification[0].priority_score; in GetPriorityScore()
1389 regex_pattern.config->priority_score()}); in RegexClassifyText()
1465 classification_results->back().priority_score = in DatetimeClassifyText()
1466 datetime_span.priority_score; in DatetimeClassifyText()
2066 regex_pattern.config->priority_score()}}; in RegexChunk()
2343 datetime_span.priority_score); in DatetimeChunk()
/external/libtextclassifier/annotator/number/
Dnumber.cc42 classification_result->priority_score = options_->priority_score(); in ClassifyText()
69 classification.priority_score = options_->priority_score(); in FindAll()
/external/libtextclassifier/actions/
Dranker.cc242 return a.priority_score > b.priority_score || in RankActions()
243 (a.priority_score >= b.priority_score && a.score > b.score); in RankActions()
Dtypes.h71 float priority_score; member
Dactions-suggestions_test.cc125 mapping->action->priority_score = 2.0; in TEST_F()
511 rule_action->action->priority_score = 1.0f; in TEST_F()
521 rule_action->action->priority_score = 1.0f; in TEST_F()
572 rule_action->action->priority_score = 1.0f; in TEST_F()
582 rule_action->action->priority_score = 1.0f; in TEST_F()
733 action->priority_score = 1.0f; in TEST_F()
814 code_group->text_reply->priority_score = 1.0f; in TEST_F()
918 action->priority_score = 2.0f; in TEST_F()
Dlua-utils.cc268 lua_pushnumber(env->state(), action.priority_score); in PushAction()
290 action.priority_score = in ReadAction()
Dactions-suggestions.cc574 suggestion.priority_score = in SuggestionFromSpec()
575 action != nullptr ? action->priority_score() : default_priority_score; in SuggestionFromSpec()
Dactions_model.fbs270 priority_score:float = 0;
/external/libtextclassifier/annotator/duration/
Dduration.cc178 classification.priority_score = options_->priority_score(); in FindDurationStartingAt()
/external/libtextclassifier/annotator/datetime/
Dparser.cc251 parse_result.priority_score = rule.pattern->priority_score(); in HandleParseMatch()