MCPcopy Create free account
hub / github.com/aboSamoor/pycld2 / GetOneScriptSpanLower

Method GetOneScriptSpanLower

cld2/internal/getonescriptspan.cc:1061–1067  ·  view source on GitHub ↗

Copy next run of same-script non-tag letters to buffer [NUL terminated] Force Latin, Cyrillic, Greek scripts to be lowercase Buffer ALWAYS has leading space and trailing space space space NUL

Source from the content-addressed store, hash-verified

1059// Force Latin, Cyrillic, Greek scripts to be lowercase
1060// Buffer ALWAYS has leading space and trailing space space space NUL
1061bool ScriptScanner::GetOneScriptSpanLower(LangSpan* span) {
1062 bool ok = GetOneScriptSpan(span);
1063 if (ok) {
1064 LowerScriptSpan(span);
1065 }
1066 return ok;
1067}
1068
1069
1070// Maps byte offset in most recent GetOneScriptSpan/Lower

Callers 1

DetectLanguageSummaryV2Function · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected