Categories: None [Edit]

jekyll-related-posts

https://rubygems.org/gems/jekyll-related-posts
https://github.com/alfanick/jekyll-related-posts
Proper related posts plugin for Jekyll - uses document correlation matrix on TF-IDF (optionally with Latent Semantic Indexing). Each document is tokenized and stemmed, every word found is treated as keyword for analysis (except for some stop words). TF-IDF matrix for the whole site is calculated (including extra provided weights), then if given accuraccy is lower than 1.0, LSI algorithm is used to compute new simplified vector space. Document correlation matrix is created using dot product of the matrix and its transpose. For each of the post' related documents are inserted into priority queue (sorted by score from document correlation matrix), assuming the score is greater than minimal required score. Selected few bests related posts are retrieven from the queue. Liquid template for each post is rendered and <related-posts /> is replaced with the outcomes of algorithm.

Total

Ranking: 81,230 of 191,254
Downloads: 11,457

Daily

Ranking: 52,956 of 191,174
Downloads: 1

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,275,668,462bundler
389123,574,063liquid
1,16239,094,620jekyll
2,5897,575,748fast-stemmer
5,2771,321,058pqueue
6,609758,841stopwords-filter
10,531276,901tokenizer
14,982136,417nmatrix
44,81526,527nmatrix-lapacke

Owners

#GravatarHandle
1iconamadeusz