org.opoo.press.impl
类 SimpleRelatedPostsFinder
java.lang.Object
org.opoo.press.impl.SimpleRelatedPostsFinder
- 所有已实现的接口:
- Initializable, RelatedPostsFinder
public class SimpleRelatedPostsFinder
- extends Object
- implements RelatedPostsFinder, Initializable
Simple algorithm for finding related posts.
It is not recommended to use this finder, just for demo.
- 从以下版本开始:
- 1.0.2
- 作者:
- Alex Lin
- 另请参见:
CosineSimilarityRelatedPostsFinder
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleRelatedPostsFinder
public SimpleRelatedPostsFinder(Site site)
SimpleRelatedPostsFinder
public SimpleRelatedPostsFinder()
initialize
public void initialize(Site site)
- 指定者:
- 接口
Initializable 中的 initialize
findRelatedPosts
public List<Post> findRelatedPosts(Post post)
- 指定者:
- 接口
RelatedPostsFinder 中的 findRelatedPosts
findRelatedPosts
public List<Post> findRelatedPosts(Post post,
int size)
- 指定者:
- 接口
RelatedPostsFinder 中的 findRelatedPosts
Copyright © 2013-2014 Opoo.org. All Rights Reserved.