Using the Natural Language API to classify unstructured text Reviews

35478 reviews

Mihaela O. · Reviewed ما يقرب من 6 سنوات ago

János T. · Reviewed ما يقرب من 6 سنوات ago

Walter O. · Reviewed ما يقرب من 6 سنوات ago

Thorsten R. · Reviewed ما يقرب من 6 سنوات ago

András D. · Reviewed ما يقرب من 6 سنوات ago

OSCAR S. · Reviewed ما يقرب من 6 سنوات ago

Dimitris P. · Reviewed ما يقرب من 6 سنوات 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 ما يقرب من 6 سنوات 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 ما يقرب من 6 سنوات ago

issue in script, had to fix manually

Eric B. · Reviewed ما يقرب من 6 سنوات ago

Huang J. · Reviewed ما يقرب من 6 سنوات ago

Ankur A. · Reviewed ما يقرب من 6 سنوات ago

Lars B. · Reviewed ما يقرب من 6 سنوات ago

good

chdsfdf s. · Reviewed ما يقرب من 6 سنوات ago

Oscar V. · Reviewed ما يقرب من 6 سنوات ago

LTI S. · Reviewed ما يقرب من 6 سنوات ago

Abhishek N. · Reviewed ما يقرب من 6 سنوات ago

Python code error: AttributeError: module 'google.cloud.language' has no attribute 'types'

Peter H. · Reviewed ما يقرب من 6 سنوات ago

Sergey M. · Reviewed ما يقرب من 6 سنوات ago

Ramon A. · Reviewed ما يقرب من 6 سنوات ago

Wanda K. · Reviewed ما يقرب من 6 سنوات ago

good

เจตรินทร์ ข. · Reviewed ما يقرب من 6 سنوات ago

Python code was invalid

Pierre B. · Reviewed ما يقرب من 6 سنوات ago

Khamchand S. · Reviewed ما يقرب من 6 سنوات ago

This was an interesting lab, but unfortunately, running classify-text.py with python3 results in the following error: student_03_0124b10b6b17@cloudshell:~ (qwiklabs-gcp-03-75c6632da366)$ 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' python2 worked fine though.

Calvin Y. · Reviewed ما يقرب من 6 سنوات ago

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