Skip to main content

documents

Creates, updates, deletes, gets or lists a documents resource.

Overview

Namedocuments
TypeResource
Idgoogle.language.documents

Fields

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

NameAccessible byRequired ParamsDescription
analyze_entitiesEXECFinds named entities (currently proper names and common nouns) in the text along with entity types, probability, mentions for each entity, and other properties.
analyze_sentimentEXECAnalyzes the sentiment of the provided text.
annotate_textEXECA convenience method that provides all features in one call.
classify_textEXECClassifies a document into categories.
moderate_textEXECModerates a document for harmful and sensitive categories.