• Home
  • Raw
  • Download

Lines Matching refs:CodepointSpan

46 int CountDigits(const std::string& str, CodepointSpan selection_indices) {  in CountDigits()
61 CodepointSpan TextClassificationModel::StripPunctuation( in StripPunctuation()
62 CodepointSpan selection, const std::string& context) const { in StripPunctuation()
235 const std::string& context, CodepointSpan span, in InferInternal()
238 std::vector<CodepointSpan>* selection_label_spans) const { in InferInternal()
272 CodepointSpan TextClassificationModel::SuggestSelection( in SuggestSelection()
273 const std::string& context, CodepointSpan click_indices) const { in SuggestSelection()
295 CodepointSpan result; in SuggestSelection()
312 std::pair<CodepointSpan, float> BestSelectionSpan( in BestSelectionSpan()
313 CodepointSpan original_click_indices, const std::vector<float>& scores, in BestSelectionSpan()
314 const std::vector<CodepointSpan>& selection_label_spans) { in BestSelectionSpan()
338 std::pair<CodepointSpan, float>
340 const std::string& context, CodepointSpan click_indices) const { in SuggestSelectionInternal()
346 std::vector<CodepointSpan> selection_label_spans; in SuggestSelectionInternal()
367 CodepointSpan TextClassificationModel::SuggestSelectionSymmetrical( in SuggestSelectionSymmetrical()
368 const std::string& context, CodepointSpan click_indices) const { in SuggestSelectionSymmetrical()
385 std::vector<std::pair<CodepointSpan, float>> proposals; in SuggestSelectionSymmetrical()
395 CodepointSpan span; in SuggestSelectionSymmetrical()
400 std::vector<CodepointSpan> selection_label_spans; in SuggestSelectionSymmetrical()
418 [](std::pair<CodepointSpan, float> a, std::pair<CodepointSpan, float> b) { in SuggestSelectionSymmetrical() argument
454 CodepointSpan selection_indices, in ClassifyText()