MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / GetScript

Method GetScript

external/sentencepiece/src/unicode_script.cc:29–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27 GetScriptInternal() { InitTable(&smap_); }
28
29 ScriptType GetScript(char32 c) const {
30 return port::FindWithDefault(smap_, c, ScriptType::U_Common);
31 }
32
33 private:
34 absl::flat_hash_map<char32, ScriptType> smap_;

Callers 1

GetScriptFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected