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: 79,489 of 183,471
Downloads: 10,530

Daily

Ranking: 61,367 of 183,459
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
12,455,829,279bundler
39694,122,392liquid
1,12631,166,080jekyll
2,5206,011,586fast-stemmer
5,0001,141,339pqueue
6,216680,034stopwords-filter
10,158238,062tokenizer
14,359123,463nmatrix
43,90724,139nmatrix-lapacke

Owners

#GravatarHandle
1iconamadeusz