Class Features (2.15.0)

Features(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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

Attributes

Name Description
extract_entities bool
Optional. Extract entities.
extract_document_sentiment bool
Optional. Extract document-level sentiment.
classify_text bool
Optional. Classify the full document into categories.
moderate_text bool
Optional. Moderate the document for harmful and sensitive categories.