Analyze Speech & Language with Google APIs: Challenge Lab Reviews
11708 reviews
Last task progress was not tracked correctly and even though I completed it, that was not detected by your lab check. (env) student-02-21b6918075ef@lab-vm:~$ gsutil cp gs://cloud-samples-tests/natural-language/sentiment-samples.tgz . Copying gs://cloud-samples-tests/natural-language/sentiment-samples.tgz... / [1 files][ 1.3 KiB/ 1.3 KiB] Operation completed over 1 objects/1.3 KiB. (env) student-02-21b6918075ef@lab-vm:~$ tar -xvzf sentiment-samples.tgz reviews/ reviews/bladerunner-neutral.txt reviews/bladerunner-neg.txt reviews/bladerunner-mixed.txt reviews/bladerunner-pos.txt (env) student-02-21b6918075ef@lab-vm:~$ python sentiment_analysis.py reviews/bladerunner-mixed.txt Sentence 0 has a sentiment score of -0.4000000059604645 Sentence 1 has a sentiment score of 0.0 Sentence 2 has a sentiment score of 0.5 Sentence 3 has a sentiment score of 0.10000000149011612 Sentence 4 has a sentiment score of 0.10000000149011612 Sentence 5 has a sentiment score of -0.699999988079071 Sentence 6 has a sentiment score of 0.699999988079071 Sentence 7 has a sentiment score of -0.4000000059604645 Sentence 8 has a sentiment score of 0.20000000298023224 Sentence 9 has a sentiment score of -0.800000011920929 Sentence 10 has a sentiment score of 0.4000000059604645 Overall Sentiment: score of 0.0 with magnitude of 4.699999809265137 (env) student-02-21b6918075ef@lab-vm:~$ python sentiment_analysis.py reviews/bladerunner-neg.txt Sentence 0 has a sentiment score of 0.10000000149011612 Sentence 1 has a sentiment score of -0.8999999761581421 Sentence 2 has a sentiment score of -0.800000011920929 Sentence 3 has a sentiment score of -0.800000011920929 Sentence 4 has a sentiment score of -0.800000011920929 Overall Sentiment: score of -0.6000000238418579 with magnitude of 3.5 (env) student-02-21b6918075ef@lab-vm:~$ python sentiment_analysis.py reviews/bladerunner-pos.txt Sentence 0 has a sentiment score of 0.699999988079071 Sentence 1 has a sentiment score of 0.20000000298023224 Sentence 2 has a sentiment score of 0.699999988079071 Sentence 3 has a sentiment score of -0.10000000149011612 Sentence 4 has a sentiment score of 0.0 Sentence 5 has a sentiment score of -0.6000000238418579 Sentence 6 has a sentiment score of -0.10000000149011612 Sentence 7 has a sentiment score of 0.5 Sentence 8 has a sentiment score of 0.4000000059604645 Sentence 9 has a sentiment score of 0.8999999761581421 Overall Sentiment: score of 0.20000000298023224 with magnitude of 4.599999904632568 (env) student-02-21b6918075ef@lab-vm:~$ python sentiment_analysis.py reviews/bladerunner-neutral1.txt Traceback (most recent call last): File "/home/student-02-21b6918075ef/sentiment_analysis.py", line 50, in <module> analyze(args.movie_review_filename) File "/home/student-02-21b6918075ef/sentiment_analysis.py", line 27, in analyze with open(movie_review_filename, 'r') as file: FileNotFoundError: [Errno 2] No such file or directory: 'reviews/bladerunner-neutral1.txt' (env) student-02-21b6918075ef@lab-vm:~$ python sentiment_analysis.py reviews/bladerunner-neutral.txt Sentence 0 has a sentiment score of 0.6000000238418579 Sentence 1 has a sentiment score of 0.20000000298023224 Sentence 2 has a sentiment score of 0.6000000238418579 Overall Sentiment: score of 0.4000000059604645 with magnitude of 1.399999976158142 (env) student-02-21b6918075ef@lab-vm:~$
kiran m. · Reviewed 21 days ago
Anish K. · Reviewed 21 days ago
Renish A. · Reviewed 21 days ago
Vineet M. · Reviewed 22 days ago
Mr Java S. · Reviewed 22 days ago
Mohammad Nabeel G. · Reviewed 22 days ago
ANKIT P. · Reviewed 22 days ago
Hemraj S. · Reviewed 22 days ago
Mayank G. · Reviewed 22 days ago
Ammar I. · Reviewed 22 days ago
Souvik D. · Reviewed 22 days ago
Moupiya M. · Reviewed 22 days ago
Pardeep K. · Reviewed 22 days ago
Thunugunta R. · Reviewed 22 days ago
Karan K. · Reviewed 22 days ago
Saptarshi S. · Reviewed 22 days ago
Sakshi A. · Reviewed 22 days ago
Ankita Kumari G. · Reviewed 22 days ago
OMKAR P. · Reviewed 22 days ago
roshan r. · Reviewed 22 days ago
Archit J. · Reviewed 22 days ago
Tharik A. · Reviewed 22 days ago
smriti k. · Reviewed 22 days ago
Aryan K. · Reviewed 22 days ago
Muhamad A. · Reviewed 22 days ago
We do not ensure the published reviews originate from consumers who have purchased or used the products. Reviews are not verified by Google.