Posted By: postmodern
Date: 2008-10-13 00:24
Summary: raingrams 0.1.1 Released
Project: Raingrams
raingrams version 0.1.1 has been released!
Raingrams is a flexible and general-purpose ngrams library written in Ruby.
Raingrams supports ngram sizes greater than 1, text/non-text grams, multiple
parsing styles and open/closed vocabulary models.
Changes:
* Improved the parsing abilities of Model#parse_sentence and
Model#parse_text.
* Fixed a bug in Model#has_ngram?.
* Fixed a bug in Model#ngrams_starting_with.
* Removed Model#probability_of_gram, for now atleast.
* Renamed Ngram#includes? to Ngram#includes_all?.
* Renamed Model#ngrams_including to Model#ngrams_including_all.
* Renamed Model#frequencies_of_ngrams to Model#frequency_of_ngrams.
* Added the following methods:
* Ngram#includs_any?.
* Model.open.
* Model.train_with_paragraph.
* Model.train_with_text.
* Model.train_with_file.
* Model.train_with_url.
* Model#has_gram.
* Model#ngrams_including_all.
* Model#ngrams_from_paragraph.
* Model#train_with_paragraph.
* Model#train_with_file.
* Model#train_with_url.
* Model#frequency_of_ngram.
* Model#frequencies_for.
* Model#frequencies_of_ngrams.
* Model#save.
|
|