I am experiencing some problems using the TextBlob library. I'm trying to run a very simple piece of code like this:
from textblob import TextBlob
text1 = TextBlob('I looked for Mary and Samantha at the bus station')
a = text1.detect_language()
print(a)
And it continually gives me this error:
``
639 class HTTPDefaultErrorHandler(BaseHandler):
640 def http_error_default(self, req, fp, code, msg, hdrs):
--> 641 raise HTTPError(req.full_url, code, msg, hdrs, fp)
642
643 class HTTPRedirectHandler(BaseHandler):
HTTPError: HTTP Error 400: Bad Request
``
oh try using:
that works for me