9 references to DummyPrefix
Microsoft.ML.Tokenizers (9)
Model\SentencePieceTokenizer.cs (4)
1558
char prefixSuffixChar = EscapeWhiteSpaces ? SentencePieceNormalizer.
DummyPrefix
: ' ';
1658
Debug.Assert(sb[suffixIndex] == SentencePieceNormalizer.
DummyPrefix
);
1674
return EscapeWhiteSpaces ? sb.ToString(SentencePieceNormalizer.
DummyPrefix
, ' ') : sb.ToString();
1807
char prefixSuffixChar = EscapeWhiteSpaces ? SentencePieceNormalizer.
DummyPrefix
: ' ';
Normalizer\SentencePieceNormalizer.cs (5)
124
span[bufferIndex++] = EscapeWhiteSpaces ?
DummyPrefix
: ' ';
135
span[bufferIndex++] = EscapeWhiteSpaces ?
DummyPrefix
: c;
160
span[bufferIndex++] = EscapeWhiteSpaces ?
DummyPrefix
: ' ';
199
span[bufferIndex++] = EscapeWhiteSpaces ?
DummyPrefix
: ' ';
238
span[currentBufferIndex + 1] = EscapeWhiteSpaces ?
DummyPrefix
: ' ';