require 'text/hyphen'
require 'tactful_tokenizer'

module Metrics

  class Accessibility

    def initialize(language)
    end

    def self.split_to_words(text)
      []
    end

  end
end

require 'text/hyphen'
require 'tactful_tokenizer'

module Metrics

  class Accessibility

    def initialize(language)
    end

    def self.split_to_words(text)
      text.split /\W+/
    end

  end
end

Implement split text into words method
Implement split text into words method

I just implemented the split text into words method of the accessibility
metric and it seems to work as expected.

Signed-off-by: Konrad Reiche <4ff0213f56e2082fcd8c882d04c546881c579ce4@gmail.com>
