Using the Natural Language API to classify unstructured text Ulasan
35478 ulasan
Mihaela O. · Diulas hampir 6 tahun lalu
János T. · Diulas hampir 6 tahun lalu
Walter O. · Diulas hampir 6 tahun lalu
Thorsten R. · Diulas hampir 6 tahun lalu
András D. · Diulas hampir 6 tahun lalu
OSCAR S. · Diulas hampir 6 tahun lalu
Dimitris P. · Diulas hampir 6 tahun lalu
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. · Diulas hampir 6 tahun lalu
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. · Diulas hampir 6 tahun lalu
issue in script, had to fix manually
Eric B. · Diulas hampir 6 tahun lalu
Huang J. · Diulas hampir 6 tahun lalu
Ankur A. · Diulas hampir 6 tahun lalu
Lars B. · Diulas hampir 6 tahun lalu
good
chdsfdf s. · Diulas hampir 6 tahun lalu
Oscar V. · Diulas hampir 6 tahun lalu
LTI S. · Diulas hampir 6 tahun lalu
Abhishek N. · Diulas hampir 6 tahun lalu
Python code error: AttributeError: module 'google.cloud.language' has no attribute 'types'
Peter H. · Diulas hampir 6 tahun lalu
Sergey M. · Diulas hampir 6 tahun lalu
Ramon A. · Diulas hampir 6 tahun lalu
Wanda K. · Diulas hampir 6 tahun lalu
good
เจตรินทร์ ข. · Diulas hampir 6 tahun lalu
Python code was invalid
Pierre B. · Diulas hampir 6 tahun lalu
Khamchand S. · Diulas hampir 6 tahun lalu
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. · Diulas hampir 6 tahun lalu
Kami tidak dapat memastikan bahwa ulasan yang dipublikasikan berasal dari konsumen yang telah membeli atau menggunakan produk terkait. Ulasan tidak diverifikasi oleh Google.