From: David Garamond Date: 2005-04-12T11:09:06+09:00 Subject: Re: [ANN| Bayesian Classification for Ruby Lucas Carlson wrote: > Due to popular demand, #train has been added. If you are using gem, try > gem update classifier. Now you can do anything from: > > b.train "Interesting", "here are some good words. I hope you love them" > > to > > b.train :Interesting, "here are some good words. I hope you love them" > > Also, lowercase categories and categories with spaces are now supported. I'd even suggest removing the individual #train_... methods. It makes the API simpler, and how many characters do they save anyway. Plus consider these use cases: 1) category names are changed; 2) name of categories contain whitespaces, etc; 3) there are 1000+ categories. -- dave