MCPcopy Create free account
hub / github.com/google/sentencepiece / GetScript

Function GetScript

src/unicode_script.cc:37–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35} // namespace
36
37ScriptType GetScript(char32 c) {
38 static GetScriptInternal sc;
39 return sc.GetScript(c);
40}
41} // namespace unicode_script
42} // namespace sentencepiece

Callers 2

GetScriptTypeFunction · 0.85
IsValidSentencePieceMethod · 0.85

Calls 1

GetScriptMethod · 0.80

Tested by 1

GetScriptTypeFunction · 0.68