net9.0
namespace Microsoft.ML.Tokenizers
{
public sealed class BertTokenizer : WordPieceTokenizer
{
public IReadOnlyList<int>! EncodeToIds(string! text, int maxTokenCount, bool addSpecialTokens, out string? normalizedText, out int charsConsumed, bool considerPreTokenization = true, bool considerNormalization = true);
}
}
.NET | 5.06.07.08.09.0 |
---|---|
.NET Core | 2.02.12.23.03.1 |
.NET Framework | 4.6.14.6.24.74.7.14.7.24.84.8.1 |
.NET Standard | 2.02.1 |
Information specific to net9.0 | |
Assembly | Microsoft.ML.Tokenizers , Version=1.0.0.0, PublicKeyToken=cc7b13ffcd2ddd51 |
Referencing | Your project needs a package reference to |
Package | Microsoft.ML.Tokenizers (1.0.0) net8.0 |
Platform Restrictions | This API is supported on all platforms. |