Searched refs:span_of_interest (Results 1 – 6 of 6) sorted by relevance
/external/libtextclassifier/native/annotator/pod_ner/ |
D | utils.h | 48 const CodepointSpan &span_of_interest, const std::vector<Token> &tokens, 124 const CodepointSpan &span_of_interest);
|
D | utils.cc | 118 const CodepointSpan &span_of_interest, const std::vector<Token> &tokens, in FindWordpiecesWindowAroundSpan() argument 122 span_of_interest, tokens, word_starts, num_wordpieces); in FindWordpiecesWindowAroundSpan() 158 const CodepointSpan &span_of_interest) in WindowGenerator() argument 165 span_of_interest, tokens, token_starts, wordpiece_indices.size(), in WindowGenerator()
|
D | pod-ner-impl.h | 71 const CodepointSpan &span_of_interest,
|
D | pod-ner-impl.cc | 397 const UnicodeText &context, const CodepointSpan &span_of_interest, in AnnotateAroundSpanOfInterest() argument 423 sliding_window_num_wordpieces_overlap_, span_of_interest); in AnnotateAroundSpanOfInterest()
|
/external/libtextclassifier/native/annotator/ |
D | annotator.h | 368 bool ModelChunk(int num_tokens, const TokenSpan& span_of_interest, 377 int num_tokens, const TokenSpan& span_of_interest, 386 int num_tokens, const TokenSpan& span_of_interest,
|
D | annotator.cc | 2894 bool Annotator::ModelChunk(int num_tokens, const TokenSpan& span_of_interest, in ModelChunk() argument 2904 IntersectTokenSpans(span_of_interest.Expand( in ModelChunk() 2915 num_tokens, span_of_interest, inference_span, cached_features, in ModelChunk() 2920 if (!ModelClickContextScoreChunks(num_tokens, span_of_interest, in ModelChunk() 2979 int num_tokens, const TokenSpan& span_of_interest, in ModelClickContextScoreChunks() argument 2987 for (int batch_start = span_of_interest.first; in ModelClickContextScoreChunks() 2988 batch_start < span_of_interest.second; batch_start += max_batch_size) { in ModelClickContextScoreChunks() 2990 std::min(batch_start + max_batch_size, span_of_interest.second); in ModelClickContextScoreChunks() 3049 int num_tokens, const TokenSpan& span_of_interest, in ModelBoundsSensitiveScoreChunks() argument 3066 scored_chunks->reserve(span_of_interest.Size()); in ModelBoundsSensitiveScoreChunks() [all …]
|