关于“Analyze Speech & Language with Google APIs: Challenge Lab”的评价
正在加载…
未找到任何结果。

    关于“Analyze Speech & Language with Google APIs: Challenge Lab”的评价

    评论

    Krishnakumari s. · 评论18 days之前

    Manish Kumar Yadav G. · 评论18 days之前

    Abhijit B. · 评论18 days之前

    Teri B. · 评论18 days之前

    Chayan S. · 评论18 days之前

    Gourab S. · 评论18 days之前

    Deep S. · 评论18 days之前

    Hari y. · 评论18 days之前

    Kamlesh M. · 评论18 days之前

    Mesh G. · 评论18 days之前

    Nirmal K. · 评论18 days之前

    Neelabh M. · 评论18 days之前

    Sruthi B. · 评论18 days之前

    jhg

    Biranchi B. · 评论18 days之前

    Smiriti K. · 评论18 days之前

    Rahul j. · 评论18 days之前

    sagar n. · 评论18 days之前

    Roopa S. · 评论18 days之前

    Thusitha P. · 评论18 days之前

    Rudranil C. · 评论18 days之前

    I was able to get the sentiment through python code. Not sure why it was not recognized. I have made the following change to code: def analyze(movie_review_filename): client = language_v1.LanguageServiceClient() file = open(movie_review_filename, "r") fcontent = file.read() document = language_v1.Document( content=fcontent, type_=language_v1.Document.Type.PLAIN_TEXT ) response = client.analyze_sentiment(request={'document': document}) sentiment = response.document_sentiment print(f"Text: {fcontent}") print(f"Sentiment: {sentiment.score}, {sentiment.magnitude}") Output for Sentiment: Sentiment: 0.20000000298023224, 4.599999904632568

    Augustine P. · 评论19 days之前

    Aman C. · 评论19 days之前

    Kunal P. · 评论19 days之前

    Ariel R. · 评论19 days之前

    bubg p. · 评论19 days之前

    我们无法确保发布的评价来自已购买或已使用产品的消费者。评价未经 Google 核实。