Analyze Speech & Language with Google APIs: Challenge Lab Ulasan
11708 ulasan
Fahmi Q. · Diulas 28 hari lalu
PUJA Y. · Diulas 28 hari lalu
Manisk K. · Diulas 28 hari lalu
Sagar H. · Diulas 28 hari lalu
Great
Rajani K. · Diulas 28 hari lalu
Bhushan P. · Diulas 28 hari lalu
Venkata R. · Diulas 28 hari lalu
Subhadip G. · Diulas 28 hari lalu
Sagar G. · Diulas 28 hari lalu
Amit D. · Diulas 28 hari lalu
nice
ADITYA D. · Diulas 28 hari lalu
gran b. · Diulas 28 hari lalu
Sharath G. · Diulas 28 hari lalu
Zakk L. · Diulas 28 hari lalu
Rhehan M. · Diulas 28 hari lalu
Shubham S. · Diulas 28 hari lalu
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. · Diulas 28 hari lalu
Rajesh S. · Diulas 28 hari lalu
Manish J. · Diulas 28 hari lalu
Kavya T. · Diulas 29 hari lalu
Kavya T. · Diulas 29 hari lalu
Viren K. · Diulas 29 hari lalu
Angad B. · Diulas 29 hari lalu
Inam A. · Diulas 29 hari lalu
Raj K. · Diulas 29 hari lalu
Kami tidak dapat memastikan bahwa ulasan yang dipublikasikan berasal dari konsumen yang telah membeli atau menggunakan produk terkait. Ulasan tidak diverifikasi oleh Google.