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

Sentence

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

Represents a sentence in the input document.

interface Sentence {
sentiment?: Sentiment;
text?: TextSpan;
}

§Properties

§
sentiment?: Sentiment
[src]

For calls to AnalyzeSentiment or if AnnotateTextRequest.Features.extract_document_sentiment is set to true, this field will contain the sentiment for the sentence.

§

The sentence text.