Home
last modified time | relevance | path

Searched refs:capturing_match (Results 1 – 2 of 2) sorted by relevance

/external/libtextclassifier/native/actions/
Dgrammar-actions.cc135 const grammar::Match* capturing_match = it->second; in InstantiateActionsFromMatch() local
137 message_codepoint_offsets[capturing_match->codepoint_span.first] in InstantiateActionsFromMatch()
139 message_codepoint_offsets[capturing_match->codepoint_span.second] in InstantiateActionsFromMatch()
141 message_codepoint_offsets[capturing_match->codepoint_span in InstantiateActionsFromMatch()
163 /*span=*/capturing_match->codepoint_span, group, in InstantiateActionsFromMatch()
168 capturing_match, grammar::Match::kAnnotationMatch); in InstantiateActionsFromMatch()
/external/libtextclassifier/native/annotator/grammar/
Dgrammar-annotator.cc317 const grammar::Match* capturing_match = it->second; in InstantiateClassificationInterpretation() local
319 text[capturing_match->codepoint_span.first].utf8_data(), in InstantiateClassificationInterpretation()
320 text[capturing_match->codepoint_span.second].utf8_data() - in InstantiateClassificationInterpretation()
321 text[capturing_match->codepoint_span.first].utf8_data()); in InstantiateClassificationInterpretation()