Frequency-Distribution is a project mainly written in Ruby, based on the MIT license.
http://en.wikipedia.org/wiki/Frequency_distribution
= Conditional Frequency Distribution
== Install
gem sources -a http://rubygems.org sudo gem install frequency_distribution
== How To Use require 'rubygems' require 'frequency_distribution'
happy_text = %w{when happy things happen it makes me happy} sad_text = %w{when sad things happen it makes me sad}
conditions = {:happy => happy_text, :sad => sad_text} cfd = FrequencyDistribution.new(conditions, "happy", "sad")
results = cfd.proces
results[:happy]["happy"]
cfd.to_tabulation
== Note on Patches/Pull Requests
== Copyright
Copyright (c) 2010 Red Davis. See LICENSE for details.