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

Function LScript4

cld2/internal/lang_script.cc:552–557  ·  view source on GitHub ↗

Map script into Latin, Cyrillic, Arabic, Other

Source from the content-addressed store, hash-verified

550
551// Map script into Latin, Cyrillic, Arabic, Other
552int LScript4(ULScript ulscript) {
553 if (ulscript == ULScript_Latin) {return 0;}
554 if (ulscript == ULScript_Cyrillic) {return 1;}
555 if (ulscript == ULScript_Arabic) {return 2;}
556 return 3;
557}
558
559} // namespace CLD2
560

Callers 2

SetChunkSummaryFunction · 0.85
FlushFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected