Module: OutriderIntel
- Defined in:
- lib/outrider/intel.rb
Overview
Intel is outrider’s interface for running
statistical analysis libraries against it's data
Class Method Summary collapse
Class Method Details
.word_frequency(words) ⇒ Object
8 9 10 |
# File 'lib/outrider/intel.rb', line 8 def self.word_frequency words words.inject(Hash.new(0)){|p,v| p[v]+=1; p} end |