6 7 8 9 10
# File 'lib/ikku/parser.rb', line 6 def parse(text) mecab.enum_parse(text).map do |mecab_node| Node.new(mecab_node) end.select(&:analyzable?) end