menu
arrow_back

Using the Translation API with C#

Using the Translation API with C#

45 分钟 5 个积分

GSP255

Google Cloud Self-Paced Labs

Overview

Google Cloud Translation API provides a simple programmatic interface for dynamically translating an arbitrary string into any supported language using state-of-the-art Neural Machine Translation. It can also be used to detect language in cases where the source language is unknown.

In this lab you will focus on using the Translation API with C#. You will learn how to list available languages, translate text, and detect the language of a given text.

What you'll learn

  • How to use the Cloud Shell

  • How to enable the Translation API

  • How to Authenticate API requests

  • How to install the Google Cloud client library for C#

  • How to list available languages

  • How to translate text

  • How to detect language

What you'll need

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

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