View source on GitHub |
Splits a string into tokens, and joins them back.
tfds.deprecated.text.Tokenizer(
alphanum_only=True, reserved_tokens=None
)
Attributes | |
---|---|
alphanum_only
|
|
reserved_tokens
|
Methods
join
join(
tokens
)
Joins tokens into a string.
load_from_file
@classmethod
load_from_file( filename_prefix )
save_to_file
save_to_file(
filename_prefix
)
tokenize
tokenize(
s
)
Splits a string into tokens.