Uses of Enum
org.tribuo.util.tokens.Token.TokenType
Packages that use Token.TokenType
Package
Description
Core definitions for tokenization.
Simple fixed rule tokenizers.
Provides an implementation of a Wordpiece tokenizer which implements
to the Tribuo
Tokenizer API.An implementation of a "universal" tokenizer which will split
on word boundaries or character boundaries for languages where
word boundaries are contextual.
-
Uses of Token.TokenType in org.tribuo.util.tokens
Fields in org.tribuo.util.tokens declared as Token.TokenTypeMethods in org.tribuo.util.tokens that return Token.TokenTypeModifier and TypeMethodDescriptionTokenizer.getType()Gets the type of the current token.static Token.TokenTypeReturns the enum constant of this type with the specified name.static Token.TokenType[]Token.TokenType.values()Returns an array containing the constants of this enum type, in the order they are declared.Constructors in org.tribuo.util.tokens with parameters of type Token.TokenTypeModifierConstructorDescriptionToken(String text, int start, int end, Token.TokenType type) Constructs a token. -
Uses of Token.TokenType in org.tribuo.util.tokens.impl
Fields in org.tribuo.util.tokens.impl declared as Token.TokenTypeModifier and TypeFieldDescriptionfinal Token.TokenTypeSplitFunctionTokenizer.SplitResult.tokenTypeThe token type.Methods in org.tribuo.util.tokens.impl that return Token.TokenType -
Uses of Token.TokenType in org.tribuo.util.tokens.impl.wordpiece
Methods in org.tribuo.util.tokens.impl.wordpiece that return Token.TokenType -
Uses of Token.TokenType in org.tribuo.util.tokens.universal
Fields in org.tribuo.util.tokens.universal declared as Token.TokenTypeMethods in org.tribuo.util.tokens.universal that return Token.TokenTypeMethods in org.tribuo.util.tokens.universal with parameters of type Token.TokenType