Live data from Hacker News

Twss.js

github.com

51–55 of 55 posts

Re: Twss.js

#51
post #36

I think your negative sample set is a little biased. Since all the phrases start with verbs like "was in the car" or "went to the park", these kinds of phrases are given lower probabilities. For example: > twss.prob("was on a stiff pole"); 0.016050826334564946 Only 1.6% chance of that's what she said?!? EDIT: Counter example: > twss.prob("that's one stiff pole"); 0.9767718880285885

[deleted]

Re: Twss.js

#53
I was wondering if anyone knew of a place where I could learn about this stuff in general. I know nothing about unigrams, bigrams, trigrams, tf-idf, Bayesian filtering, etc. Maths - while not awful - is not my strongest point, but I think I could grok a well-written tutorial to this stuff (with code examples!).

I was hoping/wondering if anyone knew of sites I could start learning about this from? I find this very interesting, and I'm sure it could be highly useful and applicable to many different types of problems...

Re: Twss.js

#54
post #28

I'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?

A first approximation might just taking the simple permutation's such as

You can X Y Y X you

and find the probability that it is an english sentence

Post reply on HN