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

Function ScoreOneScriptSpan

internal/scoreonescriptspan.cc:1302–1333  ·  view source on GitHub ↗

Score one scriptspan into doc_tote and vec, updating scoringcontext Inputs: One scriptspan of perhaps 40-60KB, all same script lower-case letters and single ASCII spaces. First character is a space to allow simple begining-of-word detect. End of buffer has three spaces and NUL to allow easy scan-to-end-of-word. Scoring context of scoring tables flags running boosts Outputs: Updated doc_tote giving

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

DetectLanguageSummaryV2Function · 0.85

Calls 6

ULScriptCodeFunction · 0.85
ULScriptRecognitionTypeFunction · 0.85
ScoreEntireScriptSpanFunction · 0.85
ScoreCJKScriptSpanFunction · 0.85
ScoreQuadScriptSpanFunction · 0.85
GetHtmlEscapedTextFunction · 0.70

Tested by

no test coverage detected