Sha256: 33efe3046afa186ec53f27db46b39b38d652ded8c4fc86f6d84699c03cd3f677

Contents?: true

Size: 1.07 KB

Versions: 1

Compression:

Stored size: 1.07 KB

Contents

TWSS
====

Because automation knows no bounds... including lowbrow comedy.

TWSS is a simple Bayes classifer trained off of a Twitter #twss search.

Installation
------------

    gem install twss

Usage
-----

    require 'rubygems'
    require 'twss'
    TWSS("hey, did you resolve that ticket?") # => false
    TWSS("not yet, it's taking a while") # => false
    TWSS("well hurry up, you're not going fast enough") # => true

You can also adjust the scoring threshold for your comedic customization.  The
lower the value, the more "obscure" the jokes can be.

    TWSS.treshold = 2.0

It's far from perfect, but it's accurate enough to be funny.  I'll probably
continue tweaking it some (increase the training set size and whatnot).  I'm not
being all that scientific about, so we'll see :).


Goals
-----

There's a few mashups I'd like to see:

 * IRC bot (obviously)
 * Maybe a news feed filter (TWSS in the News, for instance)

For the love of all things good in this world, please don't make a Twitter
bot out of this. #ihatetwitterbots

Forks, patches, and tests welcome!

Have fun!

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
twss-0.0.1 README.markdown