Using the Natural Language API to classify unstructured text Reviews
35477 reviews
Sumit K. · Reviewed almost 6 years ago
Mohammad Abu N. · Reviewed almost 6 years ago
Syed Hasan A. · Reviewed almost 6 years ago
fasha f. · Reviewed almost 6 years ago
Fu Cheng S. · Reviewed almost 6 years ago
Félix D. · Reviewed almost 6 years ago
Manoj R. · Reviewed almost 6 years ago
TH L. · Reviewed almost 6 years ago
program only run with python version 2.7
mukesh s. · Reviewed almost 6 years ago
Omar S. · Reviewed almost 6 years ago
Mita A. · Reviewed almost 6 years ago
mukesh s. · Reviewed almost 6 years ago
python script has an error
Michael K. · Reviewed almost 6 years ago
Felipe S. · Reviewed almost 6 years ago
Kalyan K. · Reviewed almost 6 years ago
Python script needs refreshment. Tried rewriting the code to match language_v1 but still errors occured. ValueError: Protocol message Document has no "type" field.
Radoslaw R. · Reviewed almost 6 years ago
Error in the classify-text.py script: 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'
Eberto B. · Reviewed almost 6 years ago
Michaella S. · Reviewed almost 6 years ago
I was getting following error; 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'
Iftikhar U. · Reviewed almost 6 years ago
luis d. · Reviewed almost 6 years ago
Mohammed Azam M. · Reviewed almost 6 years ago
Massimo M. · Reviewed almost 6 years ago
This didnt work for me: python3 classify-text.py An error was produced: ImportError: cannot import name 'enums' from 'google.cloud.language' (/usr/local/lib/python3.7/dist-packages/google/cloud/language/__init__.py) I used this instead: python classify-text.py
Ngo S. · Reviewed almost 6 years ago
Vitthal M. · Reviewed almost 6 years ago
Sjoerd L. · Reviewed almost 6 years ago
We do not ensure the published reviews originate from consumers who have purchased or used the products. Reviews are not verified by Google.