EnglishRoberta.Tokenize(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Tokenize a sequence string to a list of tokens.
public override System.Collections.Generic.IReadOnlyList<Microsoft.ML.Tokenizers.Token> Tokenize (string sequence);
override this.Tokenize : string -> System.Collections.Generic.IReadOnlyList<Microsoft.ML.Tokenizers.Token>
Public Overrides Function Tokenize (sequence As String) As IReadOnlyList(Of Token)
Parameters
- sequence
- String
The sequence to tokenize.
Returns
The list of tokens generated from the sequence tokenization.