What is the alternative to torchtext.legacy.data in new version?

Looks like it has been removed from new version, i been following book that uses torchtext.legacy.data and i am stuck as i don’t find it in new version.