Which method is used for text tokenization in NLTK?
-
A
sentence_split()
-
B
word_tokenize()
Correct answer
-
C
text_split()
-
D
tokenize_words()
Correct answer
B. word_tokenize()
16 views
Explanation
The word_tokenize() function in NLTK is used to split text into individual words or tokens.
Doubts & discussion
Not sure why the answer is B? Ask here and get an explanation.
Ask a doubt about this MCQ