Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
37
ScriptType GetScript(char32 c) {
38
static GetScriptInternal sc;
39
return sc.GetScript(c);
40
}
41
} // namespace unicode_script
42
} // namespace sentencepiece
Callers
2
GetScriptType
Function · 0.85
IsValidSentencePiece
Method · 0.85
Calls
1
GetScript
Method · 0.80
Tested by
1
GetScriptType
Function · 0.68