Sha256: 714b98f7c2afcdc4c26f1de70ae27bc643d26f4b248b4fd89b358db369c52e54
Contents?: true
Size: 709 Bytes
Versions: 2
Compression:
Stored size: 709 Bytes
Contents
module TextRank ## # Rank filters are post-process filters which can filter, enhance, or modify # the results of the PageRank algorithm. A common use case is to collapse highly # ranked tokens which are found to be adjacent in the original text. Other # filters might modify the PageRank scores with some sort of external modifier. # Another use might be to remove collapsed tokens which are not desired (since # token filters only operate on a single, non-collapsed token). # # Rank filters are applied as a chain, so care should be taken to use them # in the desired order. ## module RankFilter autoload :CollapseAdjacent, 'text_rank/rank_filter/collapse_adjacent' end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
text_rank-1.1.1 | lib/text_rank/rank_filter.rb |
text_rank-1.1.0 | lib/text_rank/rank_filter.rb |