Sha256: 7c785a9fcf7a57091ed9dd3278117a0c6fafbb2e5e3092fd8c68a7739fe5af91

Contents?: true

Size: 727 Bytes

Versions: 13

Compression:

Stored size: 727 Bytes

Contents

module TextRank
  ##
  # The graph strategy is the heart of the TextRank algorithm.  Strategies
  # determine how a stream of potential tokens are transformed into a graph of
  # unique tokens in such a way that the PageRank algorithm provides meaningful
  # results.
  #
  # The standard TextRank approach uses co-occurence of tokens within a fixed-size
  # window, and that strategy will likely suffice for most applications.  However,
  # there are many variations of TextRank, e.g.:
  #
  # * SingleRank
  # * ExpandRank
  # * ClusterRank
  #
  # @see http://www.hlt.utdallas.edu/~vince/papers/coling10-keyphrase.pdf
  ##
  module GraphStrategy

    autoload :Coocurrence, 'text_rank/graph_strategy/coocurrence'

  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
text_rank-1.3.1 lib/text_rank/graph_strategy.rb
text_rank-1.3.0 lib/text_rank/graph_strategy.rb
text_rank-1.2.9 lib/text_rank/graph_strategy.rb
text_rank-1.2.5 lib/text_rank/graph_strategy.rb
text_rank-1.2.4 lib/text_rank/graph_strategy.rb
text_rank-1.2.3 lib/text_rank/graph_strategy.rb
text_rank-1.2.2 lib/text_rank/graph_strategy.rb
text_rank-1.2.0 lib/text_rank/graph_strategy.rb
text_rank-1.1.7 lib/text_rank/graph_strategy.rb
text_rank-1.1.6 lib/text_rank/graph_strategy.rb
text_rank-1.1.5 lib/text_rank/graph_strategy.rb
text_rank-1.1.1 lib/text_rank/graph_strategy.rb
text_rank-1.1.0 lib/text_rank/graph_strategy.rb