Conventions used

There are a number of text conventions used throughout this book.

CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "I used the sed syntax."

A block of code is set as follows:

url = 'http://www.gutenberg.org/ebooks/1661.txt.utf-8'file_name = 'sherlock.txt'

Any command-line input or output is written as follows:

import pandas as pdimport numpy as np

Bold: Indicates a new term, an important word, or words that you see onscreen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "The Prediction: pos is actually a result from the file I uploaded to this ...

Get Natural Language Processing with Python Quick Start Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.