FreqDist

Build Status

Provides a Frequency Distribution data structure, which can keep track of the number of times an object appears in some context.

Example

``` use freqdist::{Distribution, FrequencyDistribution};

let mut fdist = FrequencyDistribution::new();

fdist.insert("hello"); fdist.insert("hello"); fdist.insert("goodbyte");

assert_eq!(*fdist.get("hello").unwrap(), 2); ```

TODO