Searched refs:priority_score (Results 1 - 6 of 6) sorted by relevance

/external/libtextclassifier/
H A Dtypes.h198 float priority_score; member in struct:libtextclassifier2::DatetimeParseResultSpan
205 std::abs(priority_score - other.priority_score) <
226 float priority_score; member in struct:libtextclassifier2::ClassificationResult
228 explicit ClassificationResult() : score(-1.0f), priority_score(-1.0) {}
233 priority_score(arg_score) {}
239 priority_score(arg_priority_score) {}
H A Dmodel_generated.h836 float priority_score; member in struct:libtextclassifier2::RegexModel_::PatternT
842 priority_score(0.0f),
870 float priority_score() const { function in struct:libtextclassifier2::RegexModel_::FLATBUFFERS_FINAL_CLASS
913 void add_priority_score(float priority_score) { argument
914 fbb_.AddElement<float>(Pattern::VT_PRIORITY_SCORE, priority_score, 0.0f);
940 float priority_score = 0.0f,
945 builder_.add_priority_score(priority_score);
960 float priority_score = 0.0f,
969 priority_score,
1140 float priority_score; member in struct:libtextclassifier2::DatetimeModelPatternT
1167 float priority_score() const { function in struct:libtextclassifier2::FLATBUFFERS_FINAL_CLASS
1202 add_priority_score(float priority_score) argument
[all...]
H A Dtext-classifier.cc314 regex_pattern->priority_score(),
584 return classification[0].priority_score;
986 regex_pattern.priority_score};
1290 regex_pattern.priority_score}};
1560 datetime_span.priority_score}};
H A Dtext-classifier.h335 float priority_score; member in struct:libtextclassifier2::TextClassifier::CompiledRegexPattern
H A Dtext-classifier_test.cc205 result->priority_score = score;
272 unpacked_model->regex_model->patterns.back()->priority_score = 1.1;
306 unpacked_model->regex_model->patterns.back()->priority_score = 0.5;
339 unpacked_model->regex_model->patterns.back()->priority_score = 1.1;
/external/libtextclassifier/datetime/
H A Dparser.cc238 parse_result.priority_score = rule.pattern->priority_score();

Completed in 114 milliseconds