News for hackers. Stuff that matters.
Re:Show HN: TextBlob, Natural language processing made simpl... by sixQuarks on Saturday August 10, 2013 @05:45PM (#6192792)
Can someone explain what this does in layman's terms? I'm a biz guy, not a coder, but I'm interested in the use cases. thanks
Re:Show HN: TextBlob, Natural language processing made simpl... by sloria on Saturday August 10, 2013 @05:53PM (#6192820)
This is an extension to the Python programming language that makes it easier to analyze and manipulate text.

For example, an analyst might use sentiment analysis to see whether Facebook posts about a product are "positive" or "negative" in tone.

As another example, I hacked together this online sentiment analyzer using TextBlob: https://textfeel.herokuapp.com/

See also: NLP (Wikipedia): https://en.wikipedia.org/wiki/Natural_language_processing NLTK (a python library for NLP): http://nltk.org/ Twitter opinion mining using pattern: http://www.clips.ua.ac.be/pages/pattern-examples-elections

Re:Show HN: TextBlob, Natural language processing made simpl... by sixQuarks on Saturday August 10, 2013 @08:19PM (#6193189)
OK, so it's mostly to analyze text that's already been written? Can it also write natural language text based on data inputs?
Re:Show HN: TextBlob, Natural language processing made simpl... by ux-app on Saturday August 10, 2013 @09:01PM (#6193297)
> Can it also write natural language text based on data inputs?

from the features list it doesn't seem to.

What you're referring to is text generated using a Markov Chain algorithm. This will generate text that seems at first glance to be human generated. On closer inspection you'll find that it only follows common linguistic patterns, the actual content is gibberish.

Re:Show HN: TextBlob, Natural language processing made simpl... by random42 on Sunday August 11, 2013 @01:25PM (#6195484)
This sounds interesting. Can you specify an example usecase (what would be the input data and how would generated natural language look like), and I will try to see if I can do it.
Re:Show HN: TextBlob, Natural language processing made simpl... by sixQuarks on Sunday August 11, 2013 @09:06PM (#6197111)
For example, financial data would be used as input to generate a daily stock market overview. Something along the lines of:

"Today, the Dow hit a high of 16,200, marking the first time it has crossed the 16,000 barrier. blah blah blah, etc"

Basically, use data points to create a market overview where readers wouldn't know that it was computer generated. That's one idea.

Re:Show HN: TextBlob, Natural language processing made simpl... by afandian on Sunday August 11, 2013 @04:48PM (#6196268)
I think the only use case is spam. But it's a big one.
Re:Show HN: TextBlob, Natural language processing made simpl... by Al-Khwarizmi on Sunday August 11, 2013 @01:13PM (#6195448)
Natural language generation is also an NLP task, but this particular library doesn't seem to tackle it at the moment.
Re:Show HN: TextBlob, Natural language processing made simpl... by matiasb on Sunday August 11, 2013 @06:41AM (#6194636)
Good hack, now I'm following your github!
Re:Show HN: TextBlob, Natural language processing made simpl... by MWil on Saturday August 10, 2013 @05:58PM (#6192838)
I'm having deja vu, do you post this in every NLP-related topic?

(posting before I commentstalk you to confirm, this is just as much to test my memory as anything else)

edit: maybe not...damn, I swear I've seen this exact phrase in several NLP threads

Re:Show HN: TextBlob, Natural language processing made simpl... by tomrod on Saturday August 10, 2013 @06:22PM (#6192900)
I wonder if an NLP-driven scraper could confirm your deja-vu... ;)
Re:Show HN: TextBlob, Natural language processing made simpl... by sixQuarks on Saturday August 10, 2013 @08:19PM (#6193190)
Nope, my first time asking this.