python - 'u' is prepended to all text in TextBlob -


this question has answer here:

i using textblob processing textual data.

my code is:

from textblob import textblob wiki = textblob("python high-level, general-purpose programming language.") wiki.tags 

i getting output as:

[(u'python', u'nnp'), (u'is', u'vbz'), (u'a', u'dt'), (u'high-level', u'jj'), (u'general-purpose', u'jj'), (u'programming', u'nn'), (u'language', u'nn')] 

instead of:

[('python', 'nnp'), ('is', 'vbz'), ('a', 'dt'), ('high-level', 'jj'), ('general-purpose', 'jj'), ('programming', 'nn'), ('language', 'nn')] 

what might reason letter 'u' getting prepended each word?

i'm working on ubuntu 14.04.2 python 2.7.6 version.

this unicode format representation python. not make affect while storing string or doing string manipulations. more, better have sign shows format representing , convention followed python.


Comments

Popular posts from this blog

javascript - Create websocket without connecting -

how to do line continuation in perl debugger for entering raw multi-line text (EOT)? -

android - Linear layout children not scrolling -