Como usar a API Natural Language para classificar textos não estruturados avaliações

35477 avaliações

Mohit H. · Revisado há almost 6 years

Jose A. · Revisado há almost 6 years

Terrible experience. Task 6 gives this error. Got article files from GCS, sending them to the NL API (this will take ~2 minutes)... Traceback (most recent call last): File "classify-text.py", line 33, in <module> nl_response = classify_text(article_text) File "classify-text.py", line 17, in classify_text document=language.types.Document( AttributeError: module 'google.cloud.language' has no attribute 'types' Read through the documentation trying to fix this, nothing works.

Kamila K. · Revisado há almost 6 years

Eric B. · Revisado há almost 6 years

good

Vishal G. · Revisado há almost 6 years

The instructions said Io run the python script with python3. But it only runs with Python 2.

Diogo A. · Revisado há almost 6 years

Liliya S. · Revisado há almost 6 years

July B. · Revisado há almost 6 years

Sourav G. · Revisado há almost 6 years

Naipal S. · Revisado há almost 6 years

Divyang S. · Revisado há almost 6 years

cannot import name 'enums' from 'google.cloud.language' (/usr/local/lib/python3.7/dist-packages/google/cloud/language/__init__.py)

Lei Y. · Revisado há almost 6 years

Archana S. · Revisado há almost 6 years

Wojciech S. · Revisado há almost 6 years

Chan N. · Revisado há almost 6 years

Kiran E. · Revisado há almost 6 years

Thatavarthy S. · Revisado há almost 6 years

Deep P. · Revisado há almost 6 years

Leonel A. · Revisado há almost 6 years

Daniela S. · Revisado há almost 6 years

I don´t know how to create the request.json

Miguel Á. · Revisado há almost 6 years

Christian L. · Revisado há almost 6 years

Felisberto M. · Revisado há almost 6 years

Anastasiia Z. · Revisado há almost 6 years

Sarah D. · Revisado há almost 6 years

Não garantimos que as avaliações publicadas sejam de consumidores que compraram ou usaram os produtos. As avaliações não são verificadas pelo Google.