- Natural Language Processing with Python Quick Start Guide
- Nirant Kasliwal
- 155字
- 2021-06-10 18:36:36
Example – text classification workflow
The preceding process is fairly generic. What would it look like for one of the most common natural language applications – text classification?
The following flow diagram was built by Microsoft Azure, and is used here to explain how their own technology fits directly into our workflow template. There are several new words that they have introduced to feature engineering, such as unigrams, TF-IDF, TF, n-grams, and so on:

The main steps in their flow diagram are as follows:
- Step 1: Data preparation
- Step 2: Text pre-processing
- Step 3: Feature engineering:
- Unigrams TF-IDF extraction
- N-grams TF extraction
- Step 4: Train and evaluate models
- Step 5: Deploy trained models as web services
This means that it's time to stop talking and start programming. Let's quickly set up the environment first and then we will work on building our first text classification system in 30 lines of code or less.
推薦閱讀
- Implementing VMware Horizon 7(Second Edition)
- Web Development with MongoDB and Node(Third Edition)
- Tableau 10 Bootcamp
- Java Web開發就該這樣學
- Node Cookbook(Second Edition)
- 快速入門與進階:Creo 4·0全實例精講
- R數據科學實戰:工具詳解與案例分析
- MATLAB GUI純代碼編寫從入門到實戰
- 零基礎C#學習筆記
- Test-Driven iOS Development with Swift
- C++17 By Example
- C/C++代碼調試的藝術
- Flutter從0基礎到App上線
- Scala實用指南
- 網絡工程方案設計與實施(第二版)