- Hands-On Natural Language Processing with Python
- Rajesh Arumugam Rajalingappaa Shanmugamani
- 150字
- 2021-08-13 16:01:36
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: "The pip installer can be used to install NLTK, with an optional installation of numpy."
A block of code is set as follows:
>>> large_words = dict([(k,v) for k,v in frequency_dist.items() if len(k)>3])
>>> frequency_dist = nltk.FreqDist(large_words)
>>> frequency_dist.plot(50,cumulative=False)
Any command-line input or output is written as follows:
import nltk
nltk.download()
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: "Navigate to stopwords and install it for future use."
Warnings or important notes appear like this.
Tips and tricks appear like this.
推薦閱讀
- 數據庫程序員面試筆試真題與解析
- 算法訓練營:入門篇(全彩版)
- 青少年美育趣味課堂:XMind思維導圖制作
- Wireshark Network Security
- C語言最佳實踐
- The Computer Vision Workshop
- 微信公眾平臺開發:從零基礎到ThinkPHP5高性能框架實踐
- C++ Application Development with Code:Blocks
- Android嵌入式系統程序開發(基于Cortex-A8)
- 編程的原則:改善代碼質量的101個方法
- 程序員的英語
- PhantomJS Cookbook
- Mastering Node.js
- Python Django Web從入門到項目實戰(視頻版)
- Web前端開發精品課:HTML5 Canvas開發詳解