public class CosineSimilarityRelatedPostsFinder extends Object implements RelatedPostsFinder, ConfigAware
| Constructor and Description |
|---|
CosineSimilarityRelatedPostsFinder() |
| Modifier and Type | Method and Description |
|---|---|
List<Post> |
findRelatedPosts(Post post) |
List<Post> |
findRelatedPosts(Post post,
int size) |
void |
setConfig(Config config) |
public List<Post> findRelatedPosts(Post post)
findRelatedPosts in interface RelatedPostsFinderpublic List<Post> findRelatedPosts(Post post, int size)
findRelatedPosts in interface RelatedPostsFinderpublic void setConfig(Config config)
setConfig in interface ConfigAwareCopyright © 2014-2015 Opoo.org. All Rights Reserved.