Using the Natural Language API to classify unstructured text Reviews

34920 reviews

Rodrigo V. · Reviewed over 5 years ago

thx

Vibhor G. · Reviewed over 5 years ago

Reese P. · Reviewed over 5 years ago

Prakash D. · Reviewed over 5 years ago

I got the error below when I did the Lab for the first time (while running the classify-text.py script). "AttributeError: module 'google.cloud.language' has no attribute 'types'" Worked on the second time though.

Rauno V. · Reviewed over 5 years ago

I Got the error below while running the classify-text.py script and wasn't able to complete the Lab. "AttributeError: module 'google.cloud.language' has no attribute 'types'"

Rauno V. · Reviewed over 5 years ago

Tsz Yan L. · Reviewed over 5 years ago

james m. · Reviewed over 5 years ago

Chris M. · Reviewed over 5 years ago

student_03_d583e6458b56@cloudshell:~ (qwiklabs-gcp-03-f826e762a620)$ python3 classify-text.py 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 32, 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'

Eduardo V. · Reviewed over 5 years ago

Vladislav P. · Reviewed over 5 years ago

Kakar, R. · Reviewed over 5 years ago

Nuno C. · Reviewed over 5 years ago

Vasco S. · Reviewed over 5 years ago

Sofiane M. · Reviewed over 5 years ago

Kai L. · Reviewed over 5 years ago

Mihaela O. · Reviewed over 5 years ago

János T. · Reviewed over 5 years ago

Walter O. · Reviewed over 5 years ago

Thorsten R. · Reviewed over 5 years ago

András D. · Reviewed over 5 years ago

OSCAR S. · Reviewed over 5 years ago

Dimitris P. · Reviewed over 5 years ago

student_03_d583e6458b56@cloudshell:~ (qwiklabs-gcp-03-f826e762a620)$ python3 classify-text.py 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 32, 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'

Eduardo V. · Reviewed over 5 years ago

Getting 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 32, 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'

Krishna S. · 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.