Home
last modified time | relevance | path

Searched refs:span_of_interest (Results 1 – 6 of 6) sorted by relevance

/external/libtextclassifier/native/annotator/pod_ner/
Dutils.h48 const CodepointSpan &span_of_interest, const std::vector<Token> &tokens,
124 const CodepointSpan &span_of_interest);
Dutils.cc118 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()
Dpod-ner-impl.h71 const CodepointSpan &span_of_interest,
Dpod-ner-impl.cc397 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/
Dannotator.h368 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,
Dannotator.cc2894 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 …]