In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning.
Code words in text, database table names, folder names, filenames, file extensions, path names, dummy URLs, user input, and Twitter handles are shown as follows: "The nltk library provides some inbuilt corpuses."
A block of code is set as follows:
import nltk
from nltk.corpus import brown as cb
from nltk.corpus import gutenberg as cg
Any command-line input or output is written as follows:
pip install nltk or sudo pip install nltk
New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this: "This will open an additional dialog window, where you can choose specific libraries, but in our case, click on All packages, and you can choose the path where the packages reside. Wait till all the packages are downloaded."