Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/google/sentencepiece
/ GetScriptInternal
Method
GetScriptInternal
src/unicode_script.cc:26–26 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
24
class GetScriptInternal {
25
public:
26
GetScriptInternal() { InitTable(&smap_); }
27
28
ScriptType GetScript(char32 c) const {
29
return port::FindWithDefault(smap_, c, ScriptType::U_Common);
Callers
nothing calls this directly
Calls
1
InitTable
Function · 0.85
Tested by
no test coverage detected