menu
arrow_back

Classify Text into Categories with the Natural Language API

Classify Text into Categories with the Natural Language API

시간 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

Join Qwiklabs to read the rest of this lab...and more!

  • Get temporary access to the Google Cloud Console.
  • Over 200 labs from beginner to advanced levels.
  • Bite-sized so you can learn at your own pace.
Join to Start This Lab
점수

—/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