Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Python NLTK Bayesian Classifier for word sense disambiguation - 92% accuracy. Parent comment
- In naive Bayes classification, model parameters can usually be estimated using relative frequencies in the training data.
- WordPunctTokenizer is a very simple tokenizer that makes anything matching \w+ and [^\w\s]+ a separate token.
- Extracting Bigrams from a list of tokens is trivial.
Of course, using NLTK will be very helpful in many situations, but this is hardly a testament to NLTK.
There are no comments on this comment yet.
- In naive Bayes classification, model parameters can usually be estimated using relative frequencies in the training data.
- WordPunctTokenizer is a very simple tokenizer that makes anything matching \w+ and [^\w\s]+ a separate token.
- Extracting Bigrams from a list of tokens is trivial.
Of course, using NLTK will be very helpful in many situations, but this is hardly a testament to NLTK.