Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

AnnotateTextRequestFeatures

import type { AnnotateTextRequestFeatures } from "https://googleapis.deno.dev/v1/language:v2.ts";

All available features. Setting each one to true will enable that specific analysis for the input.

interface AnnotateTextRequestFeatures {
classifyText?: boolean;
extractDocumentSentiment?: boolean;
extractEntities?: boolean;
moderateText?: boolean;
}

§Properties

§
classifyText?: boolean
[src]

Optional. Classify the full document into categories.

§
extractDocumentSentiment?: boolean
[src]

Optional. Extract document-level sentiment.

§
extractEntities?: boolean
[src]

Optional. Extract entities.

§
moderateText?: boolean
[src]

Optional. Moderate the document for harmful and sensitive categories.