Home
last modified time | relevance | path

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

/external/libtextclassifier/smartselect/
Dtypes.h32 using CodepointIndex = int; variable
37 using CodepointSpan = std::pair<CodepointIndex, CodepointIndex>;
48 CodepointIndex start;
49 CodepointIndex end;
58 Token(const std::string& arg_value, CodepointIndex arg_start, in Token()
59 CodepointIndex arg_end) in Token()
Dfeature-processor.h189 bool SpanToLabel(const std::pair<CodepointIndex, CodepointIndex>& span,
Dfeature-processor.cc156 const CodepointIndex last_line_begin_index = in StripTokensFromOtherLines()
158 const CodepointIndex last_line_end_index = in StripTokensFromOtherLines()
210 std::pair<CodepointIndex, CodepointIndex>* span) const { in LabelToSpan() argument
247 const std::pair<CodepointIndex, CodepointIndex>& span, in SpanToLabel() argument
Dtext-classification-model.cc318 std::pair<CodepointIndex, CodepointIndex> selection = in BestSelectionSpan()