Opinie (Using the Natural Language API to classify unstructured text)
35478 opinii
Mihaela O. · Sprawdzono prawie 6 lat temu
János T. · Sprawdzono prawie 6 lat temu
Walter O. · Sprawdzono prawie 6 lat temu
Thorsten R. · Sprawdzono prawie 6 lat temu
András D. · Sprawdzono prawie 6 lat temu
OSCAR S. · Sprawdzono prawie 6 lat temu
Dimitris P. · Sprawdzono prawie 6 lat temu
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. · Sprawdzono prawie 6 lat temu
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. · Sprawdzono prawie 6 lat temu
issue in script, had to fix manually
Eric B. · Sprawdzono prawie 6 lat temu
Huang J. · Sprawdzono prawie 6 lat temu
Ankur A. · Sprawdzono prawie 6 lat temu
Lars B. · Sprawdzono prawie 6 lat temu
good
chdsfdf s. · Sprawdzono prawie 6 lat temu
Oscar V. · Sprawdzono prawie 6 lat temu
LTI S. · Sprawdzono prawie 6 lat temu
Abhishek N. · Sprawdzono prawie 6 lat temu
Python code error: AttributeError: module 'google.cloud.language' has no attribute 'types'
Peter H. · Sprawdzono prawie 6 lat temu
Sergey M. · Sprawdzono prawie 6 lat temu
Ramon A. · Sprawdzono prawie 6 lat temu
Wanda K. · Sprawdzono prawie 6 lat temu
good
เจตรินทร์ ข. · Sprawdzono prawie 6 lat temu
Python code was invalid
Pierre B. · Sprawdzono prawie 6 lat temu
Khamchand S. · Sprawdzono prawie 6 lat temu
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. · Sprawdzono prawie 6 lat temu
Nie gwarantujemy, że publikowane opinie pochodzą od konsumentów, którzy dane produkty kupili lub ich używali. Google nie weryfikuje opinii.