Como usar a API Natural Language para classificar textos não estruturados avaliações

35481 avaliações

Python code was invalid

Pierre B. · Revisado há almost 6 years

Khamchand S. · Revisado há almost 6 years

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. · Revisado há almost 6 years

ok

Gerardo A. · Revisado há almost 6 years

Vijayakumaran J. · Revisado há almost 6 years

In Task 6: Classifying news data and storing the result in BigQuery SELECT * FROM `news_classification_dataset.article_data` Last Course you mentioned that is a good practice to don't use 'SELECT *', you should regularize this good practice in all your videos.

Jorge E. · Revisado há almost 6 years

Siddaraju N. · Revisado há almost 6 years

Kenneth S. · Revisado há almost 6 years

Roman U. · Revisado há almost 6 years

Leung S. · Revisado há almost 6 years

Good content but very poor application performance. Taking almost a minute for each click response. Also end lab response returned 504 error.

Dev K. · Revisado há almost 6 years

MORRISDARREN B. · Revisado há almost 6 years

Andrea G. · Revisado há almost 6 years

André F. · Revisado há almost 6 years

Pradeep B. · Revisado há almost 6 years

Adhya, S. · Revisado há almost 6 years

Atithi C. · Revisado há almost 6 years

raghav m. · Revisado há almost 6 years

Debabrat D. · Revisado há almost 6 years

Gopinath K. · Revisado há almost 6 years

Sasha M. · Revisado há almost 6 years

Easy to follow instrucctions.

Diego H. · Revisado há almost 6 years

Alicia Judith A. · Revisado há almost 6 years

none

Lian Huat W. · Revisado há almost 6 years

Muthukumar S. · Revisado há almost 6 years

Não garantimos que as avaliações publicadas sejam de consumidores que compraram ou usaram os produtos. As avaliações não são verificadas pelo Google.