Class: RMMSeg::SVWLRule
- Inherits:
-
Object
- Object
- RMMSeg::SVWLRule
- Defined in:
- lib/rmmseg/svwl_rule.rb
Overview
Smallest variance of word length rule.
Class Method Summary collapse
Class Method Details
.filter(chunks) ⇒ Object
6 7 8 9 10 |
# File 'lib/rmmseg/svwl_rule.rb', line 6 def self.filter(chunks) chunks.take_highest { |a, b| Chunk::variance(b) <=> Chunk::variance(a) } end |