Searched refs:priority_score (Results 1 – 19 of 19) sorted by relevance
314 float priority_score; member317 : target_classification_score(-1.0), priority_score(-1.0) {} in DatetimeParseResultSpan()322 const float priority_score) { in DatetimeParseResultSpan()326 this->priority_score = priority_score; in DatetimeParseResultSpan()333 std::abs(priority_score - other.priority_score) <377 float priority_score; member392 priority_score(-1.0) {} in ClassificationResult()400 priority_score(arg_score) {} in ClassificationResult()409 priority_score(arg_priority_score) {} in ClassificationResult()
127 << value.priority_score << " {"; in operator <<()150 fabs(priority_score - other.priority_score) < 0.001 && in operator ==()177 << result.priority_score << ")"; in operator <<()
243 priority_score:float = 0;306 priority_score:float = 0;404 // GrammarDatetimeModel's priority_score446 priority_score:float = 0;474 priority_score:float = 0;848 priority_score:float = 0;906 priority_score:float = 0;982 priority_score:float;
451 model_->grammar_datetime_model()->priority_score())); in ValidateAndInitialize()799 return classification[0].priority_score; in GetPriorityScore()1584 (*classification_results)[0].priority_score *= entry->value(); in ModelClassifyText()1620 regex_pattern.config->priority_score()}); in RegexClassifyText()1733 classification_results->back().priority_score = in DatetimeClassifyText()1734 datetime_span.priority_score; in DatetimeClassifyText()2624 regex_pattern.config->priority_score()}}; in RegexChunk()2914 datetime_span.priority_score); in DatetimeChunk()
122 datetime_parse_result_span.priority_score = annotator_priority_score_; in Parse()124 datetime_parse_result_span.priority_score = in Parse()125 grammar_datetime_parse_result_span.priority_score; in Parse()
260 : options_->priority_score())); in FindAll()281 const float priority_score) const { in CreateAnnotatedSpan()285 classification.priority_score = priority_score; in CreateAnnotatedSpan()
113 float priority_score) const;
242 return a.priority_score > b.priority_score || in RankActions()243 (a.priority_score >= b.priority_score && a.score > b.score); in RankActions()
30 suggestion->priority_score = action->priority_score(); in FillSuggestionFromSpec()
70 float priority_score = 0.f; member
305 priority_score:float = 0;
217 best_interpretation->priority_score() < in GetBestValidInterpretation()218 rule_classification_result->priority_score()) { in GetBestValidInterpretation()273 classification->priority_score = interpretation->priority_score(); in InstantiateClassificationInterpretation()
71 classification_result->priority_score = options_->priority_score(); in ClassifyText()
37 void SetPriorityScore(float priority_score) {} in SetPriorityScore() argument
206 classification.priority_score = options_->priority_score(); in FindDurationStartingAt()
253 instance->priority_score = date.GetAnnotatorPriorityScore(); in FillDateInstance()263 instance->priority_score = range.GetAnnotatorPriorityScore(); in FillDateRangeInstance()
378 EXPECT_FLOAT_EQ(datetime_parse_result_span.priority_score, 0.5) in TEST_F()
254 parse_result.priority_score = rule.pattern->priority_score(); in HandleParseMatch()
576 Push(action.priority_score); in PushAction()609 action.priority_score = Read<float>(/*index=*/kIndexStackTop); in ReadAction()