lib/rseg.rb in rseg-0.1.6 vs lib/rseg.rb in rseg-0.1.7

- old
+ new

@@ -54,11 +54,11 @@ def input=(input) @input = input end def segment - @words.clear + @words = [] @input.chars.each do |origin| char = filter(origin) process(char, origin) end @@ -133,6 +133,6 @@ def init_engines @engines ||= [Dict, English, Number, Name].map do |engine_klass| engine_klass.new end end -end \ No newline at end of file +end