Difference between from nltk import word_tokenize and from nltk.tokenize import word_tokenize? What is the difference between the word_tokenize, one imported directly from nltk and the other being imported from tokenize package of nltk?
So basically
from nltk import word_tokenize
and
from nltk.tokenize import word_tokenize
from nltk import word_tokenize is basing to the same tokenizeAPI as both are the same with the usage and I don't see any difference in the results which they give.