Now that I took Stanford's Machine Learning class though, I think I might just duplicate what this guy did for our bot.
Twss.js
41–50 of 55 posts
Re: Twss.js
#42What exactly is Node.js specific about this?
Re: Twss.js
#43Soon to be implemented in all IRC bots the world over
Re: Twss.js
#44Now I'm just waiting for someone to make a Twitter bot that randomly samples tweets and responds to them with this...
Re: Twss.js
#45Re: Twss.js
#46Earlier quoted context omitted.
Sure, why not -- http://pulse.w3counter.com:8080/
It seems to be returning a lot of false positives, at least with the default options. "Good morning" = true, "How are you?" = true
> "You need to use Gauss-Jordan elimination."
> That's what she said.
Re: Twss.js
#47What exactly is Node.js specific about this?
Using exports, NPM package, and an executable that depends on /usr/bin/node? What's your point?
Just write "X for JavaScript", dammit.
That said, this doesn't appear to have any Node.js specific dependencies, it could be used in any CommonJS environment.
Re: Twss.js
#48I'm still looking for a classifier that will take a phrase, determine if and what the "In Soviet Russia X Y you" response would be. Anyone?
Yakov Smirnoff is a structural joke. You would need to parse sentences, pattern match, transform it, and then do some kind of regression on the phrase to get its humor quotient.
The Stanford Parser for structural parsing, then some custom pattern matching and transforming code, might get you somewhere.
Re: Twss.js
#49Earlier quoted context omitted.
Using exports, NPM package, and an executable that depends on /usr/bin/node? What's your point?
I just hate when people release JavaScript libraries that needlessly depend on specific platforms. For awhile that dependency was usually jQuery, then with the rise of server-side JavaScript it was the DOM in general, now it appears to be Node.js. Just write "X for JavaScript", dammit. That said, this doesn't appear to have any Node.js specific dependencies, it could be used in any CommonJS environment.
But you're totally correct. This could've easily be written in any language.
Re: Twss.js
#50Earlier quoted context omitted.
Using exports, NPM package, and an executable that depends on /usr/bin/node? What's your point?
I just hate when people release JavaScript libraries that needlessly depend on specific platforms. For awhile that dependency was usually jQuery, then with the rise of server-side JavaScript it was the DOM in general, now it appears to be Node.js. Just write "X for JavaScript", dammit. That said, this doesn't appear to have any Node.js specific dependencies, it could be used in any CommonJS environment.