menu
arrow_back

Classify Text into Categories with the Natural Language API

Classify Text into Categories with the Natural Language API

1 个小时 7 个积分

GSP063

Google Cloud Self-Paced Labs

Overview

The Cloud Natural Language API lets you extract entities from text, perform sentiment and syntactic analysis, and classify text into categories. In this lab, we'll focus on text classification. Using a database of 700+ categories, this API feature makes it easy to classify a large dataset of text.

What you'll learn

  • Creating a Natural Language API request and calling the API with curl

  • Using the NL API's text classification feature

  • Using text classification to understand a dataset of news articles

What you'll need

  • A Google Cloud Platform Project

  • A Browser, such Chrome or Firefox

加入 Qwiklabs 即可阅读本实验的剩余内容…以及更多精彩内容!

  • 获取对“Google Cloud Console”的临时访问权限。
  • 200 多项实验,从入门级实验到高级实验,应有尽有。
  • 内容短小精悍,便于您按照自己的节奏进行学习。
加入以开始此实验
分数

—/100

Create an API Key

运行步骤

/ 25

Create a request to Classify a news article

运行步骤

/ 25

Check the Entity Analysis response

运行步骤

/ 25

Create a new Dataset and table for categorized text data

运行步骤

/ 25