Language
import { Language } from "https://googleapis.deno.dev/v1/language:v2.ts";
Provides natural language understanding technologies, such as sentiment analysis, entity recognition, entity sentiment analysis, and other text annotations, to developers.
class Language {}
§Methods
§
documentsAnalyzeEntities(req: AnalyzeEntitiesRequest): Promise<AnalyzeEntitiesResponse>
[src]Finds named entities (currently proper names and common nouns) in the text along with entity types, probability, mentions for each entity, and other properties.
§
documentsAnalyzeSentiment(req: AnalyzeSentimentRequest): Promise<AnalyzeSentimentResponse>
[src]Analyzes the sentiment of the provided text.
§
documentsAnnotateText(req: AnnotateTextRequest): Promise<AnnotateTextResponse>
[src]A convenience method that provides all features in one call.
§
documentsClassifyText(req: ClassifyTextRequest): Promise<ClassifyTextResponse>
[src]Classifies a document into categories.
§
documentsModerateText(req: ModerateTextRequest): Promise<ModerateTextResponse>
[src]Moderates a document for harmful and sensitive categories.