Conventions
Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "With the TfidfVectorizer method, we can convert the collection of documents in our corpus to a matrix of TF-IDF features"
A block of code is set as follows:
vectorizer = TfidfVectorizer()
X = vectorizer.fit_transform(corpus)
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: "Morphological analysis: Focused on the words of a sentence and analyzing its morphemes"