FlyweightPrototype<SpamDetector<T>>
, java.io.Serializable
public interface SpamDetector<T> extends FlyweightPrototype<SpamDetector<T>>, java.io.Serializable
An instance of this class accept an object representing features of a web page or set of web pages, and returns an estimate for the spammicity.
Modifier and Type | Method | Description |
---|---|---|
double |
estimate(T t) |
Estimates the spam score associated with a given information object.
|
copy
double estimate(T t)
t
- an object specify the spam-detection data.t
(a number between 0 and 1, where 1 means surely spam).