This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from google.cloud import language_v1 | |
from google.cloud.language_v1 import enums | |
import six | |
def sample_analyze_sentiment(content): | |
client = language_v1.LanguageServiceClient() | |
# content = 'Your text to analyze, e.g. Hello, world!' |