1.Getting started with NLTK(PYTHON)
import nltk
nltk.download()
2. Searching Text
text.concordance("a") word to be searched
text.similar("a") words used in the similar context
text.common_contexts(["a","b"]) examine the context shared by two or more words
text.dispersion_plot(["a","b","c"]) plot word density
text.generate() generate random text based on text data
3. Counting Vocabulary
len(text) number of word in a text
set(text) number of word type
text.count frequency of word