Sprache mit Google APIs analysieren: Challenge-Lab Rezensionen

31611 Rezensionen

Pawan K. · Vor etwa ein Jahr überprüft

Ajay J. · Vor etwa ein Jahr überprüft

Ajoy G. · Vor etwa ein Jahr überprüft

Akanksha P. · Vor etwa ein Jahr überprüft

Andres Felipe P. · Vor etwa ein Jahr überprüft

ROUNAK M. · Vor etwa ein Jahr überprüft

Uday Sankar D. · Vor etwa ein Jahr überprüft

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. · Vor etwa ein Jahr überprüft

Anish K. · Vor etwa ein Jahr überprüft

Renish A. · Vor etwa ein Jahr überprüft

Vineet M. · Vor etwa ein Jahr überprüft

Mr Java S. · Vor etwa ein Jahr überprüft

Mohammad Nabeel G. · Vor etwa ein Jahr überprüft

ANKIT P. · Vor etwa ein Jahr überprüft

Hemraj S. · Vor etwa ein Jahr überprüft

Mayank G. · Vor etwa ein Jahr überprüft

Ammar I. · Vor etwa ein Jahr überprüft

Souvik D. · Vor etwa ein Jahr überprüft

Moupiya M. · Vor etwa ein Jahr überprüft

Pardeep K. · Vor mehr als ein Jahr überprüft

Thunugunta R. · Vor mehr als ein Jahr überprüft

Karan K. · Vor mehr als ein Jahr überprüft

Saptarshi S. · Vor mehr als ein Jahr überprüft

Sakshi A. · Vor mehr als ein Jahr überprüft

Ankita Kumari G. · Vor mehr als ein Jahr überprüft

Wir können nicht garantieren, dass die veröffentlichten Rezensionen von Verbrauchern stammen, die die Produkte gekauft oder genutzt haben. Die Rezensionen werden von Google nicht überprüft.