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

Function ScoreQuadScriptSpan

internal/scoreonescriptspan.cc:1231–1277  ·  view source on GitHub ↗

Score RTypeMany scriptspan into doc_tote and vec, updating scoringcontext We have a scriptspan with all lowercase text in one script. Look up quadgrams and octagrams, saving the hits in three parallel vectors. Score from those vectors in chunks, toting each chunk to get a single language, and combining into the overall document score. The hit vectors in general are not big enough to handle and ent

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

ScoreOneScriptSpanFunction · 0.85

Calls 4

GetQuadHitsFunction · 0.85
GetOctaHitsFunction · 0.85
ProcessHitBufferFunction · 0.85
SpliceHitBufferFunction · 0.85

Tested by

no test coverage detected