- 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.
推薦閱讀
- PostgreSQL for Data Architects
- Offer來了:Java面試核心知識點精講(原理篇)
- Java程序設(shè)計與實踐教程(第2版)
- 精通Linux(第2版)
- C語言程序設(shè)計同步訓(xùn)練與上機指導(dǎo)(第三版)
- “笨辦法”學(xué)C語言
- Spring Boot實戰(zhàn)
- Getting Started with Nano Server
- Apache Camel Developer's Cookbook
- R Data Science Essentials
- Mastering Adobe Captivate 7
- 跟小樓老師學(xué)用Axure RP 9:玩轉(zhuǎn)產(chǎn)品原型設(shè)計
- HTML 5與CSS 3權(quán)威指南(第4版·上冊)
- Building an E-Commerce Application with MEAN
- 大學(xué)計算機基礎(chǔ)