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

Method ToString

external/sentencepiece/src/bpe_model_trainer.cc:31–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29namespace bpe {
30
31std::string Trainer::Symbol::ToString() const {
32 return string_util::UnicodeTextToUTF8(chars);
33}
34
35Trainer::Symbol *Trainer::GetCharSymbol(char32 c) {
36 const uint64_t freq = port::FindWithDefault(required_chars_, c, 1);

Callers 1

TrainMethod · 0.45

Calls 1

UnicodeTextToUTF8Function · 0.85

Tested by

no test coverage detected