Lines Matching refs:selection_indices
1357 const CodepointSpan& selection_indices, in CopyCachedTokens() argument
1360 cached_tokens.begin(), cached_tokens.end(), selection_indices.first, in CopyCachedTokens()
1365 cached_tokens.begin(), cached_tokens.end(), selection_indices.second, in CopyCachedTokens()
1421 const CodepointSpan& selection_indices, const BaseOptions& options, in ModelClassifyText() argument
1429 CodepointSpanToUnicodeTextRange(context_unicode, selection_indices); in ModelClassifyText()
1432 /*line=*/nullptr, selection_indices, options, in ModelClassifyText()
1442 const CodepointSpan& selection_indices, const BaseOptions& options, in ModelClassifyText() argument
1467 *tokens = internal::CopyCachedTokens(cached_tokens, selection_indices, in ModelClassifyText()
1473 context_unicode, span_begin, span_end, selection_indices, in ModelClassifyText()
1478 CodepointSpanToTokenSpan(*tokens, selection_indices); in ModelClassifyText()
1528 *tokens, extraction_span, selection_indices, in ModelClassifyText()
1616 const std::string& context, const CodepointSpan& selection_indices, in RegexClassifyText() argument
1620 .UTF8Substring(selection_indices.first, selection_indices.second); in RegexClassifyText()
1674 const std::string& context, const CodepointSpan& selection_indices, in DatetimeClassifyText() argument
1683 .UTF8Substring(selection_indices.first, selection_indices.second); in DatetimeClassifyText()
1701 if (CodepointSpan(datetime_span.span.first + selection_indices.first, in DatetimeClassifyText()
1702 datetime_span.span.second + selection_indices.first) == in DatetimeClassifyText()
1703 selection_indices) { in DatetimeClassifyText()
1721 const std::string& context, const CodepointSpan& selection_indices, in ClassifyText() argument
1762 if (!IsValidSpanInput(context_unicode, selection_indices)) { in ClassifyText()
1764 << selection_indices.first << " " << selection_indices.second; in ClassifyText()
1777 ->ClassifyText(context, selection_indices, options.annotation_usecase, in ClassifyText()
1781 candidates.push_back({selection_indices, {knowledge_result}}); in ClassifyText()
1791 context, selection_indices, &contact_result)) { in ClassifyText()
1792 candidates.push_back({selection_indices, {contact_result}}); in ClassifyText()
1798 person_name_engine_->ClassifyText(context, selection_indices, in ClassifyText()
1800 candidates.push_back({selection_indices, {person_name_result}}); in ClassifyText()
1808 installed_app_engine_->ClassifyText(context, selection_indices, in ClassifyText()
1810 candidates.push_back({selection_indices, {installed_app_result}}); in ClassifyText()
1815 if (!RegexClassifyText(context, selection_indices, ®ex_results)) { in ClassifyText()
1819 candidates.push_back({selection_indices, {result}}); in ClassifyText()
1829 if (!DatetimeClassifyText(context, selection_indices, options, in ClassifyText()
1834 candidates.push_back({selection_indices, std::move(datetime_results)}); in ClassifyText()
1842 number_annotator_->ClassifyText(context_unicode, selection_indices, in ClassifyText()
1845 candidates.push_back({selection_indices, {number_annotator_result}}); in ClassifyText()
1851 duration_annotator_->ClassifyText(context_unicode, selection_indices, in ClassifyText()
1854 candidates.push_back({selection_indices, {duration_annotator_result}}); in ClassifyText()
1861 translate_annotator_->ClassifyText(context_unicode, selection_indices, in ClassifyText()
1864 candidates.push_back({selection_indices, {translate_annotator_result}}); in ClassifyText()
1871 selection_indices, &grammar_annotator_result)) { in ClassifyText()
1872 candidates.push_back({selection_indices, {grammar_annotator_result}}); in ClassifyText()
1877 pod_ner_annotator_->ClassifyText(context_unicode, selection_indices, in ClassifyText()
1879 candidates.push_back({selection_indices, {pod_ner_annotator_result}}); in ClassifyText()
1885 context_unicode, selection_indices, detected_text_language_tags, in ClassifyText()
1888 candidates.push_back({selection_indices, {vocab_annotator_result}}); in ClassifyText()
1892 experimental_annotator_->ClassifyText(context_unicode, selection_indices, in ClassifyText()
1907 selection_indices, options, &interpreter_manager, in ClassifyText()
1912 candidates.push_back({selection_indices, std::move(model_results)}); in ClassifyText()