david-mccullars/text_rank

View on GitHub
lib/text_rank/tokenizer/whitespace.rb

Summary

Maintainability
A
0 mins
Test Coverage
module TextRank
  module Tokenizer

    ##
    # A tokenizer regex that preserves single whitespace characters as a token. Use
    # this if one or more of your TokenFilter classes need whitespace in order to
    # make decisions.
    ##
    # rubocop:disable Naming/ConstantName
    Whitespace = /\s/
    # rubocop:enable Naming/ConstantName

  end
end