- Natural Language Processing with Python Quick Start Guide
- Nirant Kasliwal
- 141字
- 2021-06-10 18:36:33
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 pd
import 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 page earlier."
Warnings or important notes appear like this.
Tips and tricks appear like this.