Question: I am using python 2.7 and this is my code. I've got to use Textblob and Textblob isn't importing into Python 3.5 from textblob import

I am using python 2.7 and this is my code.

I've got to use Textblob and Textblob isn't importing into Python 3.5

from textblob import TextBlob

userInput = TextBlob raw_input("Type sentence: ")

translation = userInput.translate(to='es') print (translation)I am using python 2.7 and this is my code. I've got

It's not working.

Question 2. (40 points) Write a pseudocode for a program that allows users to translate text from English to one of the following two language: Spanish, and Arabic. The users should be able to type the text in English then choose one of the two languages. The program should then display the translated sentence (in the selected language) along with the sentiment level of the English text. The program should also displays the length of the original English sentence and the length of non-English sentence (10 points) Write the python program. (30 points) N.B. Your code should show appropriate use of naming conventions. Make sure you use clear comments throughout your program. Use appropriate if conditions to minimize errors. 1. 2

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!