Conventions

In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.

Code words in text are shown as follows: "Now we want to split para into sentences. First we need to import the sentence tokenization function, and then we can call it with the paragraph as an argument."

A block of code is set as follows:

 >>> para = "Hello World. It's good to see you. Thanks for buying this book."
 >>> from nltk.tokenize import sent_tokenize
 >>> sent_tokenize(para)

New terms and important words are shown in bold.

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.220.201.187