Home
last modified time | relevance | path

Searched refs:CodepointIndex (Results 1 – 3 of 3) sorted by relevance

/external/libtextclassifier/
Dtypes.h39 using CodepointIndex = int; variable
45 using CodepointSpan = std::pair<CodepointIndex, CodepointIndex>;
123 CodepointIndex start;
124 CodepointIndex end;
133 Token(const std::string& arg_value, CodepointIndex arg_start, in Token()
134 CodepointIndex arg_end) in Token()
Dfeature-processor.cc150 const CodepointIndex last_line_begin_index = in StripTokensFromOtherLines()
152 const CodepointIndex last_line_end_index = in StripTokensFromOtherLines()
210 std::pair<CodepointIndex, CodepointIndex>* span) const { in LabelToSpan() argument
269 const std::pair<CodepointIndex, CodepointIndex>& span, in SpanToLabel() argument
299 const CodepointIndex tokens_start = tokens[click_position - span_left].start; in SpanToLabel()
300 const CodepointIndex tokens_end = tokens[click_position + span_right].end; in SpanToLabel()
Dfeature-processor.h233 bool SpanToLabel(const std::pair<CodepointIndex, CodepointIndex>& span,