Sha256: a03fb856d70835476c4245a7704b7656b8e6f8d7eaf1fa648d50eb171e2c3a88

Contents?: true

Size: 210 Bytes

Versions: 7

Compression:

Stored size: 210 Bytes

Contents

require_relative 'tokenizer'
require_relative 'accumulator'

Wukong.dataflow(:word_count) do
  tokenizer(min_length: 3) > sort(label: 'first_sort') > accumulator > sort(on: 1, numeric: true, reverse: true)
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
ul-wukong-4.1.1 examples/basic/word_count/word_count.rb
ul-wukong-4.1.0 examples/basic/word_count/word_count.rb
wukong-4.0.0 examples/basic/word_count/word_count.rb
wukong-3.0.1 examples/basic/word_count/word_count.rb
wukong-3.0.0 examples/basic/word_count/word_count.rb
wukong-3.0.0.pre3 examples/basic/word_count/word_count.rb
wukong-3.0.0.pre2 examples/word_count/word_count.rb