- Python Text Processing with NLTK 2.0 Cookbook: LITE
- Jacob Perkins
- 129字
- 2021-04-02 19:43:16
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.
推薦閱讀
- 軟件定義數據中心:技術與實踐
- 中文版CorelDRAW X7基礎培訓教程(移動學習版)
- Microsoft SharePoint 2010 Administration Cookbook
- 人臉識別算法與案例分析
- 中文版AutoCAD 2022基礎教程
- 圖像處理中的數學修煉(第2版)
- iPhone Applications Tune/Up
- After Effects影視特效立體化教程:After Effects 2021(微課版)
- 中文版AutoCAD 2022從入門到精通
- 中文版Premiere Pro CS6視頻編輯(慕課版)
- MATLAB在日常計算中的應用
- 電腦寫作與定制五筆(第2版)
- Flash with Drupal
- SolidWorks 2020中文版入門、精通與實戰
- Photoshop人像攝影后期處理技法100問