# File lib/mirimiri/document.rb, line 34 def format_words wo = [] @doc_content.split.each do |w| w.split(/\W/).each do |sw| wo.push(sw.downcase) if sw =~ /[a-zA-Z]/ end end wo end