lib/coh-metrix-port/metrics/tag_set.rb
# Return all non-punctuation tokens of the text in a single list.
Return all non-punctuation tokens of the text in a single list.
Return all non - punctuation tokens of the text in a single list .
def all_words
      result = []
      tagged_words.each do |word|
        result << word[0] unless is_punctuation([ word[0], word[1] ])
      end
      result
    end
def all_words result = [ ] tagged_words . each do | word | result << word [ 0 ] unless is_punctuation ( [ word [ 0 ] , word [ 1 ] ] ) end result end
Return all non-punctuation tokens of the text in a single list.
Return all non - punctuation tokens of the text in a single list .