MCPcopy Create free account
hub / github.com/CLD2Owners/cld2 / SummaryBufferToVector

Function SummaryBufferToVector

internal/scoreonescriptspan.cc:389–509  ·  view source on GitHub ↗

Add n elements of summarybuffer to resultchunk vector: Each element is letters-only text [offset..offset+bytes) This maps back to original[Back(offset)..Back(offset+bytes)) We go out of our way to minimize the variation in the ResultChunkVector, so that the caller has fewer but more meaningful spans in different languages, for the likely purpose of translation or spell-check. The language of eac

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

ProcessHitBufferFunction · 0.85

Calls 11

minintFunction · 0.85
PriorVecLangFunction · 0.85
SameCloseSetFunction · 0.85
NextChunkLangFunction · 0.85
ItemToVectorFunction · 0.85
DumpWindowMethod · 0.80
emptyMethod · 0.80
sizeMethod · 0.80
GetBufferStartMethod · 0.80
GetHtmlEscapedTextFunction · 0.70
MapBackMethod · 0.45

Tested by

no test coverage detected