Using the Natural Language API to classify unstructured text Reviews

34916 reviews

There was a script error for python version. The script belong to an older version of python it seems

Monika A. · Reviewed over 5 years ago

Ivan T. · Reviewed over 5 years ago

I kept getting an error: AttributeError: module 'google.cloud.language' has no attribute 'types' when trying to run the classify-text.py file.

Jason B. · Reviewed over 5 years ago

Arka S. · Reviewed over 5 years ago

Santiago V. · Reviewed over 5 years ago

Code would not execute without modification

Adrian S. · Reviewed over 5 years ago

E-Zon N. · Reviewed over 5 years ago

Rodrigo O. · Reviewed over 5 years ago

khaohun s. · Reviewed over 5 years ago

It's seems python scripts has broken. Not able to complete

Santhosh S. · Reviewed over 5 years ago

Srikanth R. · Reviewed over 5 years ago

Code wasn't updated.

Edwin T. · Reviewed over 5 years ago

Adarsh D. · Reviewed over 5 years ago

Mohit H. · Reviewed over 5 years ago

Jose A. · Reviewed over 5 years ago

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. · Reviewed over 5 years ago

Eric B. · Reviewed over 5 years ago

good

Vishal G. · Reviewed over 5 years ago

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

Diogo A. · Reviewed over 5 years ago

Liliya S. · Reviewed over 5 years ago

July B. · Reviewed over 5 years ago

Sourav G. · Reviewed over 5 years ago

Naipal S. · Reviewed over 5 years ago

Divyang S. · Reviewed over 5 years ago

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

Lei Y. · Reviewed over 5 years ago

We do not ensure the published reviews originate from consumers who have purchased or used the products. Reviews are not verified by Google.