Using the Natural Language API to classify unstructured text Rezensionen

35478 Rezensionen

Mihaela O. · Vor fast 6 Jahre überprüft

János T. · Vor fast 6 Jahre überprüft

Walter O. · Vor fast 6 Jahre überprüft

Thorsten R. · Vor fast 6 Jahre überprüft

András D. · Vor fast 6 Jahre überprüft

OSCAR S. · Vor fast 6 Jahre überprüft

Dimitris P. · Vor fast 6 Jahre überprüft

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. · Vor fast 6 Jahre überprüft

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. · Vor fast 6 Jahre überprüft

issue in script, had to fix manually

Eric B. · Vor fast 6 Jahre überprüft

Huang J. · Vor fast 6 Jahre überprüft

Ankur A. · Vor fast 6 Jahre überprüft

Lars B. · Vor fast 6 Jahre überprüft

good

chdsfdf s. · Vor fast 6 Jahre überprüft

Oscar V. · Vor fast 6 Jahre überprüft

LTI S. · Vor fast 6 Jahre überprüft

Abhishek N. · Vor fast 6 Jahre überprüft

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

Peter H. · Vor fast 6 Jahre überprüft

Sergey M. · Vor fast 6 Jahre überprüft

Ramon A. · Vor fast 6 Jahre überprüft

Wanda K. · Vor fast 6 Jahre überprüft

good

เจตรินทร์ ข. · Vor fast 6 Jahre überprüft

Python code was invalid

Pierre B. · Vor fast 6 Jahre überprüft

Khamchand S. · Vor fast 6 Jahre überprüft

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. · Vor fast 6 Jahre überprüft

Wir können nicht garantieren, dass die veröffentlichten Rezensionen von Verbrauchern stammen, die die Produkte gekauft oder genutzt haben. Die Rezensionen werden von Google nicht überprüft.